diff --git a/resources/dist/js/meerkat.min.js b/resources/dist/js/meerkat.min.js index 6feb41ee..762f60e6 100644 --- a/resources/dist/js/meerkat.min.js +++ b/resources/dist/js/meerkat.min.js @@ -1,3 +1,3 @@ /*! For license information please see meerkat.min.js.LICENSE.txt */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("meerkat",[],e):"object"==typeof exports?exports.meerkat=e():t.meerkat=e()}(window,(function(){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=207)}([function(t,e,n){var r=n(107),i=n(30),o=n(219);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(12),i=n(31),o=n(26),a=n(19),s=n(128),u=n(18),c=n(85),l=n(23),f=n(146),p=n(45),d=n(58),m=n(134),h=n(17),y=n(63).f,v=n(41).f,b=n(29).f,g=n(222),w=n(109).trim,S="Number",_=a[S],k=s[S],P=_.prototype,O=a.TypeError,j=u("".slice),x=u("".charCodeAt),E=function(t){var e=m(t,"number");return"bigint"==typeof e?e:T(e)},T=function(t){var e,n,r,i,o,a,s,u,c=m(t,"number");if(d(c))throw O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=w(c),43===(e=x(c,0))||45===e){if(88===(n=x(c,2))||120===n)return NaN}else if(48===e){switch(x(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=j(c,2)).length,s=0;si)return NaN;return parseInt(o,r)}return+c},C=c(S,!_(" 0o1")||!_("0b1")||_("+0x1")),A=function(t){return p(P,t)&&h((function(){g(t)}))},R=function(t){var e=arguments.length<1?0:_(E(t));return A(this)?f(Object(e),this,R):e};R.prototype=P,C&&!i&&(P.constructor=R),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:R});var D=function(t,e){for(var n,r=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)l(e,n=r[i])&&!l(t,n)&&b(t,n,v(e,n))};i&&k&&D(s[S],k),(C||i)&&D(s[S],_)},function(t,e,n){"use strict";var r=n(37),i=n(111),o=n(70),a=n(46),s=n(29).f,u=n(112),c=n(113),l=n(31),f=n(26),p="Array Iterator",d=a.set,m=a.getterFor(p);t.exports=u(Array,"Array",(function(t,e){d(this,{type:p,target:r(t),index:0,kind:e})}),(function(){var t=m(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,c(void 0,!0)):c("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(t){}},function(t,e,n){n(210),n(214),n(215),n(216),n(218)},function(t,e,n){"use strict";var r=n(12),i=n(26),o=n(19),a=n(18),s=n(23),u=n(20),c=n(45),l=n(28),f=n(64),p=n(138),d=o.Symbol,m=d&&d.prototype;if(i&&u(d)&&(!("description"in m)||void 0!==d().description)){var h={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(m,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(y,d),y.prototype=m,m.constructor=y;var v="Symbol(test)"==String(d("test")),b=a(m.valueOf),g=a(m.toString),w=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),_=a("".slice);f(m,"description",{configurable:!0,get:function(){var t=b(this);if(s(h,t))return"";var e=g(t),n=v?_(e,7,-1):S(e,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:y})}},function(t,e,n){n(99)("iterator")},function(t,e,n){"use strict";var r=n(149).charAt,i=n(28),o=n(46),a=n(112),s=n(113),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?s(void 0,!0):(t=r(n,i),e.index+=t.length,s(t,!1))}))},function(t,e,n){var r=n(19),i=n(150),o=n(151),a=n(2),s=n(52),u=n(21),c=u("iterator"),l=u("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(t[l]||s(t,l,e),i[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var d in i)p(r[d]&&r[d].prototype,d);p(o,"DOMTokenList")},function(t,e,n){var r=n(99),i=n(136);r("toPrimitive"),i()},function(t,e,n){var r=n(23),i=n(30),o=n(209),a=n(21)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},function(t,e,n){var r=n(12),i=n(26),o=n(29).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},function(t,e,n){var r=n(12),i=n(163);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},function(t,e,n){var r=n(19),i=n(41).f,o=n(52),a=n(30),s=n(101),u=n(138),c=n(85);t.exports=function(t,e){var n,l,f,p,d,m=t.target,h=t.global,y=t.stat;if(n=h?r:y?r[m]||s(m,{}):(r[m]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=i(n,l))&&d.value:n[l],!c(h?l:m+(y?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,t)}}},function(t,e,n){n(12)({target:"Object",stat:!0},{setPrototypeOf:n(90)})},function(t,e,n){var r=n(12),i=n(17),o=n(33),a=n(91),s=n(148);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},function(t,e,n){var r=n(12),i=n(32),o=n(68),a=n(163),s=n(153),u=n(24),c=n(25),l=n(43),f=n(17),p=i("Reflect","construct"),d=Object.prototype,m=[].push,h=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),y=!f((function(){p((function(){}))})),v=h||y;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var n=arguments.length<3?t:s(arguments[2]);if(y&&!h)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return o(m,r,e),new(o(a,t,r))}var i=n.prototype,f=l(c(i)?i:d),v=o(t,f,e);return c(v)?v:f}})},function(t,e,n){n(12)({target:"Object",stat:!0,sham:!n(26)},{create:n(43)})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(56),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(76))},function(t,e,n){var r=n(132),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},function(t,e,n){var r=n(19),i=n(49),o=n(23),a=n(77),s=n(50),u=n(130),c=r.Symbol,l=i("wks"),f=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(l,t)||(l[t]=s&&o(c,t)?c[t]:f("Symbol."+t)),l[t]}},function(t,e,n){var r=n(56),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){var r=n(18),i=n(33),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},function(t,e,n){var r=n(25),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},function(t,e,n){var r=n(20),i=n(132),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(17);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(26),i=n(60).EXISTS,o=n(18),a=n(64),s=Function.prototype,u=o(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(c.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(t){return""}}})},function(t,e,n){var r=n(86),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e,n){var r=n(26),i=n(131),o=n(133),a=n(24),s=n(79),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(20),i=n(29),o=n(137),a=n(101);t.exports=function(t,e,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(r(n)&&o(n,c,s),s.global)u?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(19),i=n(20),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(36),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){var r=n(20),i=n(51),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},function(t,e,n){var r=n(18),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},function(t,e,n){var r=n(39),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},function(t,e,n){var r=n(81),i=n(36);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r=n(12),i=n(119);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e){t.exports=function(t){return null==t}},function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e,n){var r=n(26),i=n(22),o=n(103),a=n(61),s=n(37),u=n(79),c=n(23),l=n(131),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=u(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!i(o.f,t,e),t[e])}},function(t,e,n){var r=n(83);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,i=n(24),o=n(140),a=n(106),s=n(62),u=n(141),c=n(78),l=n(80),f="prototype",p="script",d=l("IE_PROTO"),m=function(){},h=function(t){return"<"+p+">"+t+""},y=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;v="undefined"!=typeof document?document.domain&&r?y(r):(e=c("iframe"),n="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):y(r);for(var i=a.length;i--;)delete v[f][a[i]];return v()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[f]=i(t),n=new m,m[f]=null,n[d]=t):n=v(),void 0===e?n:o.f(n,e)}},function(t,e,n){var r;!function(e){"use strict";function i(){}var o=i.prototype,a=e.EventEmitter;function s(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}function c(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!=typeof t)&&c(t.listener)}o.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},o.flattenListeners=function(t){var e,n=[];for(e=0;ee?t.substr(0,e-1)+n:t}},{key:"hasValue",value:function(t){return!1!==l.hasValue(t)&&"String"===t.constructor.name&&0!==t.trim().length}},{key:"withDefault",value:function(t,e){return b.hasValue(t)?t:e}},{key:"finish",value:function(t,e){return b.endsWith(t,e)?t:t+e}},{key:"start",value:function(t,e){return b.startsWith(t,e)?t:e+t}},{key:"startsWith",value:function(t,e){return t.substr(0,e.length)===e}},{key:"endsWith",value:function(t,e){return t.substr(t.length-e.length)===e}},{key:"format",value:function(t){for(var e=t,n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r="{"+n+"}";e=e.replace(r,n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}return e}},{key:"ucFirst",value:function(t){return!1===b.hasValue(t)?t:1===t.length?t.toUpperCase():t.charAt(0).toUpperCase()+t.slice(1)}}],(n=null)&&v(e.prototype,n),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),g=b;function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function S(t,e){for(var n=0;n0}},{key:"hasMethod",value:function(t){return l.isFunction(this.handler[t])}},{key:"redirectTo",value:function(t){this.methodRedirects.push(t)}},{key:"reactsToInstance",value:function(t){return this.reactsToCurrentSyncInstance=t,this}},{key:"clearRedirects",value:function(){this.methodRedirects=[]}},{key:"_invokeMethod",value:function(t,e){this.handler[t](e)}},{key:"triggerRedirects",value:function(t){if(this.hasRedirects())for(var e=0;e0)for(var a=0;a0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},function(t,e,n){var r=n(32),i=n(20),o=n(45),a=n(130),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},function(t,e,n){var r=n(34),i=n(39);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},function(t,e,n){var r=n(26),i=n(23),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){var r=n(139),i=n(106).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(137),i=n(29);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},function(t,e,n){var r=n(29).f,i=n(23),o=n(21)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(35),i=n(18);t.exports=function(t){if("Function"===r(t))return i(t)}},function(t,e,n){var r=n(35);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(56),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},function(t,e,n){var r=n(18);t.exports=r([].slice)},function(t,e){t.exports={}},function(t,e,n){var r=n(19);t.exports=r.Promise},function(t,e,n){var r=n(19),i=n(71),o=n(20),a=n(85),s=n(102),u=n(21),c=n(232),l=n(158),f=n(31),p=n(57),d=i&&i.prototype,m=u("species"),h=!1,y=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===p)return!0;if(f&&(!d.catch||!d.finally))return!0;if(!p||p<51||!/native code/.test(t)){var n=new i((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[m]=r,!(h=n.then((function(){}))instanceof r))return!0}return!e&&(c||l)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:h}},function(t,e,n){"use strict";var r=n(34),i=TypeError,o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw i("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";var r=n(68),i=n(22),o=n(18),a=n(166),s=n(17),u=n(24),c=n(20),l=n(39),f=n(82),p=n(83),d=n(28),m=n(36),h=n(243),y=n(59),v=n(244),b=n(167),g=n(21)("replace"),w=Math.max,S=Math.min,_=o([].concat),k=o([].push),P=o("".indexOf),O=o("".slice),j="$0"==="a".replace(/./,"$0"),x=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(t,e,n){var o=x?"$":"$0";return[function(t,n){var r=m(this),o=l(t)?void 0:y(t,g);return o?i(o,t,r,n):i(e,d(r),t,n)},function(t,i){var a=u(this),s=d(t);if("string"==typeof i&&-1===P(i,o)&&-1===P(i,"$<")){var l=n(e,a,s,i);if(l.done)return l.value}var m=c(i);m||(i=d(i));var y=a.global;if(y){var g=a.unicode;a.lastIndex=0}for(var j=[];;){var x=b(a,s);if(null===x)break;if(k(j,x),!y)break;""===d(x[0])&&(a.lastIndex=h(s,p(a.lastIndex),g))}for(var E,T="",C=0,A=0;A=C&&(T+=O(s,C,D)+F,C=D+R.length)}return T+O(s,C)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!j||x)},function(t,e,n){n(261),n(263)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(18),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},function(t,e,n){var r=n(19),i=n(25),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(134),i=n(58);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e,n){var r=n(49),i=n(77),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(18),i=n(17),o=n(35),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},function(t,e,n){var r=n(212);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},function(t,e,n){var r=n(82),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(17),i=n(20),o=/#|\.prototype\./,a=function(t,e){var n=u[s(t)];return n==l||n!=c&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){var r=n(107),i=n(20),o=n(35),a=n(21)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:u?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){"use strict";var r=n(79),i=n(29),o=n(61);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(53),i=n(18),o=n(81),a=n(33),s=n(42),u=n(144),c=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(m,h,y,v){for(var b,g,w=a(m),S=o(w),_=r(h,y),k=s(S),P=0,O=v||u,j=e?O(m,k):n||p?O(m,0):void 0;k>P;P++)if((d||P in S)&&(g=_(b=S[P],P,w),t))if(e)j[P]=g;else if(g)switch(t){case 3:return!0;case 5:return b;case 6:return P;case 2:c(j,b)}else switch(t){case 4:return!1;case 7:c(j,b)}return f?-1:i||l?l:j}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){var r=n(18),i=n(17),o=n(20),a=n(86),s=n(32),u=n(102),c=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),m=!p.exec(c),h=function(t){if(!o(t))return!1;try{return f(c,l,t),!0}catch(t){return!1}},y=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(p,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||i((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},function(t,e,n){var r=n(220),i=n(24),o=n(221);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){var r=n(23),i=n(20),o=n(33),a=n(80),s=n(148),u=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=o(t);if(r(e,u))return e[u];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof c?l:null}},function(t,e,n){(function(e){var r=n(35);t.exports=void 0!==e&&"process"==r(e)}).call(this,n(226))},function(t,e,n){var r=n(53),i=n(22),o=n(24),a=n(51),s=n(159),u=n(42),c=n(45),l=n(160),f=n(117),p=n(161),d=TypeError,m=function(t,e){this.stopped=t,this.result=e},h=m.prototype;t.exports=function(t,e,n){var y,v,b,g,w,S,_,k=n&&n.that,P=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),j=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),E=r(e,k),T=function(t){return y&&p(y,"normal",t),new m(!0,t)},C=function(t){return P?(o(t),x?E(t[0],t[1],T):E(t[0],t[1])):x?E(t,T):E(t)};if(O)y=t.iterator;else if(j)y=t;else{if(!(v=f(t)))throw d(a(t)+" is not iterable");if(s(v)){for(b=0,g=u(t);g>b;b++)if((w=C(t[b]))&&c(h,w))return w;return new m(!1)}y=l(t,v)}for(S=O?t.next:y.next;!(_=i(S,y)).done;){try{w=C(_.value)}catch(t){p(y,"throw",t)}if("object"==typeof w&&w&&c(h,w))return w}return new m(!1)}},function(t,e,n){var r=n(18),i=n(30),o=Date.prototype,a="Invalid Date",s="toString",u=r(o[s]),c=r(o.getTime);String(new Date(NaN))!=a&&i(o,s,(function(){var t=c(this);return t==t?u(this):a}))},function(t,e,n){"use strict";var r=n(60).PROPER,i=n(30),o=n(24),a=n(28),s=n(17),u=n(245),c="toString",l=RegExp.prototype[c],f=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=r&&l.name!=c;(f||p)&&i(RegExp.prototype,c,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(12),i=n(67),o=n(89),a=n(25),s=n(105),u=n(42),c=n(37),l=n(87),f=n(21),p=n(124),d=n(69),m=p("slice"),h=f("species"),y=Array,v=Math.max;r({target:"Array",proto:!0,forced:!m},{slice:function(t,e){var n,r,f,p=c(this),m=u(p),b=s(t,m),g=s(void 0===e?m:e,m);if(i(p)&&(n=p.constructor,(o(n)&&(n===y||i(n.prototype))||a(n)&&null===(n=n[h]))&&(n=void 0),n===y||void 0===n))return d(p,b,g);for(r=new(void 0===n?y:n)(v(g-b,0)),f=0;bl;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(82),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r={};r[n(21)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(139),i=n(106);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(18),i=n(36),o=n(28),a=n(110),s=r("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,c,"$1")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){var r=n(21),i=n(43),o=n(29).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){"use strict";var r=n(12),i=n(22),o=n(31),a=n(60),s=n(20),u=n(223),c=n(91),l=n(90),f=n(65),p=n(52),d=n(30),m=n(21),h=n(70),y=n(147),v=a.PROPER,b=a.CONFIGURABLE,g=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,S=m("iterator"),_="keys",k="values",P="entries",O=function(){return this};t.exports=function(t,e,n,a,m,y,j){u(n,e,a);var x,E,T,C=function(t){if(t===m&&I)return I;if(!w&&t in D)return D[t];switch(t){case _:case k:case P:return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",R=!1,D=t.prototype,M=D[S]||D["@@iterator"]||m&&D[m],I=!w&&M||C(m),N="Array"==e&&D.entries||M;if(N&&(x=c(N.call(new t)))!==Object.prototype&&x.next&&(o||c(x)===g||(l?l(x,g):s(x[S])||d(x,S,O)),f(x,A,!0,!0),o&&(h[A]=O)),v&&m==k&&M&&M.name!==k&&(!o&&b?p(D,"name",k):(R=!0,I=function(){return i(M,this)})),m)if(E={values:C(k),keys:y?I:C(_),entries:C(P)},j)for(T in E)(w||R||!(T in D))&&d(D,T,E[T]);else r({target:e,proto:!0,forced:w||R},E);return o&&!j||D[S]===I||d(D,S,I,{name:m}),h[e]=I,E}},function(t,e){t.exports=function(t,e){return{value:t,done:e}}},function(t,e,n){var r=n(12),i=n(224);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},function(t,e,n){var r=n(45),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var r=n(86),i=n(59),o=n(39),a=n(70),s=n(21)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[r(t)]}},function(t,e,n){var r=n(21)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r,i,o=n(22),a=n(18),s=n(28),u=n(165),c=n(240),l=n(49),f=n(43),p=n(46).get,d=n(241),m=n(242),h=l("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,b=a("".charAt),g=a("".indexOf),w=a("".replace),S=a("".slice),_=(i=/b*/g,o(y,r=/a/,"a"),o(y,i,"a"),0!==r.lastIndex||0!==i.lastIndex),k=c.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(_||P||k||d||m)&&(v=function(t){var e,n,r,i,a,c,l,d=this,m=p(d),O=s(t),j=m.raw;if(j)return j.lastIndex=d.lastIndex,e=o(v,j,O),d.lastIndex=j.lastIndex,e;var x=m.groups,E=k&&d.sticky,T=o(u,d),C=d.source,A=0,R=O;if(E&&(T=w(T,"y",""),-1===g(T,"g")&&(T+="g"),R=S(O,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==b(O,d.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,A++),n=new RegExp("^(?:"+C+")",T)),P&&(n=new RegExp("^"+C+"$(?!\\s)",T)),_&&(r=d.lastIndex),i=o(y,E?n:d,R),E?i?(i.input=S(i.input,A),i[0]=S(i[0],A),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:_&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),P&&i&&i.length>1&&o(h,i[0],n,(function(){for(a=1;a1?arguments[1]:void 0,r=e.length,i=void 0===n?r:h(s(n),r),o=u(t);return d?d(e,o,i):m(e,i-o.length,i)===o}})},function(t,e,n){var r=n(247),i=TypeError;t.exports=function(t){if(r(t))throw i("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(21)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r,i=n(12),o=n(66),a=n(41).f,s=n(83),u=n(28),c=n(121),l=n(36),f=n(122),p=n(31),d=o("".startsWith),m=o("".slice),h=Math.min,y=f("startsWith");i({target:"String",proto:!0,forced:!!(p||y||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!y},{startsWith:function(t){var e=u(l(this));c(t);var n=s(h(arguments.length>1?arguments[1]:void 0,e.length)),r=u(t);return d?d(e,r,n):m(e,n,n+r.length)===r}})},function(t,e,n){var r=n(17),i=n(21),o=n(57),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";var r=n(12),i=n(17),o=n(67),a=n(25),s=n(33),u=n(42),c=n(259),l=n(87),f=n(144),p=n(124),d=n(21),m=n(57),h=d("isConcatSpreadable"),y=m>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(t){var e,n,r,i,o,a=s(this),p=f(a,0),d=0;for(e=-1,r=arguments.length;e1?arguments[1]:void 0)}})},function(t,e,n){var r;t.exports=(r=n(264),function(t){var e=r,n=e.lib,i=n.WordArray,o=n.Hasher,a=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],u=t[e+1],d=t[e+2],m=t[e+3],h=t[e+4],y=t[e+5],v=t[e+6],b=t[e+7],g=t[e+8],w=t[e+9],S=t[e+10],_=t[e+11],k=t[e+12],P=t[e+13],O=t[e+14],j=t[e+15],x=o[0],E=o[1],T=o[2],C=o[3];x=c(x,E,T,C,a,7,s[0]),C=c(C,x,E,T,u,12,s[1]),T=c(T,C,x,E,d,17,s[2]),E=c(E,T,C,x,m,22,s[3]),x=c(x,E,T,C,h,7,s[4]),C=c(C,x,E,T,y,12,s[5]),T=c(T,C,x,E,v,17,s[6]),E=c(E,T,C,x,b,22,s[7]),x=c(x,E,T,C,g,7,s[8]),C=c(C,x,E,T,w,12,s[9]),T=c(T,C,x,E,S,17,s[10]),E=c(E,T,C,x,_,22,s[11]),x=c(x,E,T,C,k,7,s[12]),C=c(C,x,E,T,P,12,s[13]),T=c(T,C,x,E,O,17,s[14]),x=l(x,E=c(E,T,C,x,j,22,s[15]),T,C,u,5,s[16]),C=l(C,x,E,T,v,9,s[17]),T=l(T,C,x,E,_,14,s[18]),E=l(E,T,C,x,a,20,s[19]),x=l(x,E,T,C,y,5,s[20]),C=l(C,x,E,T,S,9,s[21]),T=l(T,C,x,E,j,14,s[22]),E=l(E,T,C,x,h,20,s[23]),x=l(x,E,T,C,w,5,s[24]),C=l(C,x,E,T,O,9,s[25]),T=l(T,C,x,E,m,14,s[26]),E=l(E,T,C,x,g,20,s[27]),x=l(x,E,T,C,P,5,s[28]),C=l(C,x,E,T,d,9,s[29]),T=l(T,C,x,E,b,14,s[30]),x=f(x,E=l(E,T,C,x,k,20,s[31]),T,C,y,4,s[32]),C=f(C,x,E,T,g,11,s[33]),T=f(T,C,x,E,_,16,s[34]),E=f(E,T,C,x,O,23,s[35]),x=f(x,E,T,C,u,4,s[36]),C=f(C,x,E,T,h,11,s[37]),T=f(T,C,x,E,b,16,s[38]),E=f(E,T,C,x,S,23,s[39]),x=f(x,E,T,C,P,4,s[40]),C=f(C,x,E,T,a,11,s[41]),T=f(T,C,x,E,m,16,s[42]),E=f(E,T,C,x,v,23,s[43]),x=f(x,E,T,C,w,4,s[44]),C=f(C,x,E,T,k,11,s[45]),T=f(T,C,x,E,j,16,s[46]),x=p(x,E=f(E,T,C,x,d,23,s[47]),T,C,a,6,s[48]),C=p(C,x,E,T,b,10,s[49]),T=p(T,C,x,E,O,15,s[50]),E=p(E,T,C,x,y,21,s[51]),x=p(x,E,T,C,k,6,s[52]),C=p(C,x,E,T,m,10,s[53]),T=p(T,C,x,E,S,15,s[54]),E=p(E,T,C,x,u,21,s[55]),x=p(x,E,T,C,g,6,s[56]),C=p(C,x,E,T,j,10,s[57]),T=p(T,C,x,E,v,15,s[58]),E=p(E,T,C,x,P,21,s[59]),x=p(x,E,T,C,h,6,s[60]),C=p(C,x,E,T,_,10,s[61]),T=p(T,C,x,E,d,15,s[62]),E=p(E,T,C,x,w,21,s[63]),o[0]=o[0]+x|0,o[1]=o[1]+E|0,o[2]=o[2]+T|0,o[3]=o[3]+C|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+i+a;return(s<>>32-o)+e}function l(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+i+a;return(s<>>32-o)+e}function f(t,e,n,r,i,o,a){var s=t+(e^n^r)+i+a;return(s<>>32-o)+e}function p(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+i+a;return(s<>>32-o)+e}e.MD5=o._createHelper(u),e.HmacMD5=o._createHmacHelper(u)}(Math),r.MD5)},function(t,e,n){var r=n(19);t.exports=r},function(t,e,n){var r=n(21);e.f=r},function(t,e,n){var r=n(50);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(26),i=n(17),o=n(78);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},function(t,e,n){var r=n(26),i=n(17);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var r=n(22),i=n(25),o=n(58),a=n(59),s=n(135),u=n(21),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,u=a(t,l);if(u){if(void 0===e&&(e="default"),n=r(u,t,e),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},function(t,e,n){var r=n(22),i=n(20),o=n(25),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},function(t,e,n){var r=n(22),i=n(32),o=n(21),a=n(30);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return r(n,this)}),{arity:1})}},function(t,e,n){var r=n(18),i=n(17),o=n(20),a=n(23),s=n(26),u=n(60).CONFIGURABLE,c=n(102),l=n(46),f=l.enforce,p=l.get,d=String,m=Object.defineProperty,h=r("".slice),y=r("".replace),v=r([].join),b=s&&!i((function(){return 8!==m((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===h(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?m(t,"name",{value:e,configurable:!0}):t.name=e),b&&n&&a(n,"arity")&&t.length!==n.arity&&m(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return a(r,"source")||(r.source=v(g,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&p(this).source||c(this)}),"toString")},function(t,e,n){var r=n(23),i=n(211),o=n(41),a=n(29);t.exports=function(t,e,n){for(var s=i(e),u=a.f,c=o.f,l=0;lc;)i(r,n=e[c++])&&(~a(l,n)||u(l,n));return l}},function(t,e,n){var r=n(26),i=n(133),o=n(29),a=n(24),s=n(37),u=n(108);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=u(e),c=i.length,l=0;c>l;)o.f(t,n=i[l++],r[n]);return t}},function(t,e,n){var r=n(32);t.exports=r("document","documentElement")},function(t,e,n){var r=n(35),i=n(37),o=n(63).f,a=n(143),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},function(t,e,n){var r=n(105),i=n(42),o=n(87),a=Array,s=Math.max;t.exports=function(t,e,n){for(var u=i(t),c=r(e,u),l=r(void 0===n?u:n,u),f=a(s(l-c,0)),p=0;c=d?t?"":void 0:(r=u(f,p))<55296||r>56319||p+1===d||(l=u(f,p+1))<56320||l>57343?t?s(f,p):r:t?c(f,p,p+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(78)("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},function(t,e,n){"use strict";var r=n(32),i=n(64),o=n(21),a=n(26),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(89),i=n(51),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a constructor")}},function(t,e,n){var r,i,o,a,s=n(19),u=n(68),c=n(53),l=n(20),f=n(23),p=n(17),d=n(141),m=n(69),h=n(78),y=n(155),v=n(156),b=n(92),g=s.setImmediate,w=s.clearImmediate,S=s.process,_=s.Dispatch,k=s.Function,P=s.MessageChannel,O=s.String,j=0,x={},E="onreadystatechange";p((function(){r=s.location}));var T=function(t){if(f(x,t)){var e=x[t];delete x[t],e()}},C=function(t){return function(){T(t)}},A=function(t){T(t.data)},R=function(t){s.postMessage(O(t),r.protocol+"//"+r.host)};g&&w||(g=function(t){y(arguments.length,1);var e=l(t)?t:k(t),n=m(arguments,1);return x[++j]=function(){u(e,void 0,n)},i(j),j},w=function(t){delete x[t]},b?i=function(t){S.nextTick(C(t))}:_&&_.now?i=function(t){_.now(C(t))}:P&&!v?(a=(o=new P).port2,o.port1.onmessage=A,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(R)?(i=R,s.addEventListener("message",A,!1)):i=E in h("script")?function(t){d.appendChild(h("script"))[E]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:g,clear:w}},function(t,e){var n=TypeError;t.exports=function(t,e){if(t1?arguments[1]:void 0)}}),o(a)},function(t,e,n){"use strict";var r,i=n(19),o=n(68),a=n(20),s=n(262),u=n(40),c=n(69),l=n(155),f=i.Function,p=/MSIE .\./.test(u)||s&&((r=i.Bun.version.split(".")).length<3||0==r[0]&&(r[1]<3||3==r[1]&&0==r[2]));t.exports=function(t,e){var n=e?2:1;return p?function(r,i){var s=l(arguments.length,1)>n,u=a(r)?r:f(r),p=s?c(arguments,n):[],d=s?function(){o(u,this,p)}:u;return e?t(d,i):t(d)}:t}},function(t,e,n){"use strict";var r=n(12),i=n(104).includes,o=n(17),a=n(111);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(t,e,n){"use strict";var r=n(12),i=n(18),o=n(121),a=n(36),s=n(28),u=n(122),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(12),i=n(177);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,n){"use strict";var r=n(88).forEach,i=n(98)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var r=n(19),i=n(150),o=n(151),a=n(177),s=n(52),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var c in i)i[c]&&u(r[c]&&r[c].prototype);u(o)},function(t,e,n){var r=n(12),i=n(18),o=n(62),a=n(25),s=n(23),u=n(29).f,c=n(63),l=n(142),f=n(278),p=n(77),d=n(280),m=!1,h=p("meta"),y=0,v=function(t){u(t,h,{value:{objectID:"O"+y++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},m=!0;var t=c.f,e=i([].splice),n={};n[h]=1,t(n).length&&(c.f=function(n){for(var r=t(n),i=0,o=r.length;i3)){if(m)return!0;if(y)return y<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:e+r,v:n})}for(v.sort((function(t,e){return e.v-t.v})),r=0;rc(n)?1:-1}}(t)),n=s(i),r=0;r"undefined"!=typeof self&&self&&e in self?self:"undefined"!=typeof window&&window&&e in window?window:void 0!==t&&t&&e in t?t:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0,i=["Headers","Request","Response","ReadableStream","fetch","AbortController","FormData"];for(const t of i)Object.defineProperty(n,t,{get(){const e=r(t),n=e&&e[t];return"function"==typeof n?n.bind(e):n}});const o=t=>null!==t&&"object"==typeof t,a="function"==typeof n.AbortController,s="function"==typeof n.ReadableStream,u="function"==typeof n.FormData,c=(t,e)=>{const r=new n.Headers(t||{}),i=e instanceof n.Headers,o=new n.Headers(e||{});for(const[t,e]of o)i&&"undefined"===e||void 0===e?r.delete(t):r.set(t,e);return r},l=(...t)=>{let e={},n={};for(const r of t){if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(o(r)){for(let[t,n]of Object.entries(r))o(n)&&Reflect.has(e,t)&&(n=l(e[t],n)),e={...e,[t]:n};o(r.headers)&&(n=c(n,r.headers))}e.headers=n}return e},f=["get","post","put","patch","head","delete"],p={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},d=[413,429,503],m=Symbol("stop");class h extends Error{constructor(t){super(t.statusText||String(0===t.status||t.status?t.status:"Unknown response error")),this.name="HTTPError",this.response=t}}class y extends Error{constructor(t){super("Request timed out"),this.name="TimeoutError",this.request=t}}const v=t=>new Promise((e=>setTimeout(e,t))),b=t=>f.includes(t)?t.toUpperCase():t,g={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:d},w=(t={})=>{if("number"==typeof t)return{...g,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...g,...t,afterStatusCodes:d}},S=2147483647;class _{constructor(t,e={}){if(this._retryCount=0,this._input=t,this._options={credentials:this._input.credentials||"same-origin",...e,headers:c(this._input.headers,e.headers),hooks:l({beforeRequest:[],beforeRetry:[],afterResponse:[]},e.hooks),method:b(e.method||this._input.method),prefixUrl:String(e.prefixUrl||""),retry:w(e.retry),throwHttpErrors:!1!==e.throwHttpErrors,timeout:void 0===e.timeout?1e4:e.timeout,fetch:e.fetch||n.fetch},"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof n.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(a&&(this.abortController=new n.AbortController,this._options.signal&&this._options.signal.addEventListener("abort",(()=>{this.abortController.abort()})),this._options.signal=this.abortController.signal),this.request=new n.Request(this._input,this._options),this._options.searchParams){const t="?"+new URLSearchParams(this._options.searchParams).toString(),e=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,t);!(u&&this._options.body instanceof n.FormData||this._options.body instanceof URLSearchParams)||this._options.headers&&this._options.headers["content-type"]||this.request.headers.delete("content-type"),this.request=new n.Request(new n.Request(e,this.request),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type","application/json"),this.request=new n.Request(this.request,{body:this._options.body}));const r=async()=>{if(this._options.timeout>S)throw new RangeError("The `timeout` option cannot be greater than 2147483647");await v(1);let t=await this._fetch();for(const e of this._options.hooks.afterResponse){const r=await e(this.request,this._options,t.clone());r instanceof n.Response&&(t=r)}if(!t.ok&&this._options.throwHttpErrors)throw new h(t);if(this._options.onDownloadProgress){if("function"!=typeof this._options.onDownloadProgress)throw new TypeError("The `onDownloadProgress` option must be a function");if(!s)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return this._stream(t.clone(),this._options.onDownloadProgress)}return this._options.parseJson&&(t.json=async()=>this._options.parseJson(await t.text())),t},i=this._options.retry.methods.includes(this.request.method.toLowerCase())?this._retry(r):r();for(const[t,n]of Object.entries(p))i[t]=async()=>{this.request.headers.set("accept",this.request.headers.get("accept")||n);const r=(await i).clone();if("json"===t){if(204===r.status)return"";if(e.parseJson)return e.parseJson(await r.text())}return r[t]()};return i}_calculateRetryDelay(t){if(this._retryCount++,this._retryCountthis._options.retry.maxRetryAfter?0:t}if(413===t.response.status)return 0}return.3*2**(this._retryCount-1)*1e3}return 0}async _retry(t){try{return await t()}catch(e){const n=Math.min(this._calculateRetryDelay(e),S);if(0!==n&&this._retryCount>0){await v(n);for(const t of this._options.hooks.beforeRetry){if(await t({request:this.request,options:this._options,error:e,response:e.response.clone(),retryCount:this._retryCount})===m)return}return this._retry(t)}if(this._options.throwHttpErrors)throw e}}async _fetch(){for(const t of this._options.hooks.beforeRequest){const e=await t(this.request,this._options);if(e instanceof Request){this.request=e;break}if(e instanceof Response)return e}return!1===this._options.timeout?this._options.fetch(this.request.clone()):(t=this.request.clone(),e=this.abortController,n=this._options,new Promise(((r,i)=>{const o=setTimeout((()=>{e&&e.abort(),i(new y(t))}),n.timeout);n.fetch(t).then(r).catch(i).then((()=>{clearTimeout(o)}))})));var t,e,n}_stream(t,e){const r=Number(t.headers.get("content-length"))||0;let i=0;return new n.Response(new n.ReadableStream({start(n){const o=t.body.getReader();e&&e({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array),async function t(){const{done:a,value:s}=await o.read();if(a)n.close();else{if(e){i+=s.byteLength;e({percent:0===r?0:i/r,transferredBytes:i,totalBytes:r},s)}n.enqueue(s),t()}}()}}))}}const k=(...t)=>{for(const e of t)if((!o(e)||Array.isArray(e))&&void 0!==e)throw new TypeError("The `options` argument must be an object");return l({},...t)},P=t=>{const e=(e,n)=>new _(e,k(t,n));for(const n of f)e[n]=(e,r)=>new _(e,k(t,r,{method:n}));return e.HTTPError=h,e.TimeoutError=y,e.create=t=>P(k(t)),e.extend=e=>P(k(t,e)),e.stop=m,e};e.a=P()}).call(this,n(76))},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ titleMessage }}

{{ actionState.unauthorizedMessage }}

EC-{{ actionState.missingPermission }}: {{ transErrorCode(actionState.missingPermission) }}

{{ actionState.message }}

{{ progressMessage }}

{{ trans(\'errors.process_long_process\') }}

{{ actionState.abandonMessage }}

{{ errorMessage }}

{{ this.actionState.clientErrorMessage }}

{{ this.actionState.repeatedFailureMessage }}

{{ trans(\'errors.loading_error_log\') }}

{{ trans(\'errors.no_error_details\') }}

{{ trans(\'errors.submit_error_report_request\') }}

'},function(t,e){t.exports='
{{ displayText }}
'},function(t,e){t.exports='
'},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ trans(\'display.header_author\') }} {{ trans(\'display.header_comment\') }}
{{ trans(\'display.header_author\') }}
{{ trans(\'display.header_comment\') }}

{{ trans(\'display.thread_single_response\') }} {{ comments.threads[0].name | meerkatTruncate(75) }}

'},function(t,e){t.exports='

{{ comment.localDateFormatted }}

'},function(t,e){t.exports='
{{ trans(\'display.thread_multiple_response\') }} {{ comment.getThreadName() | meerkatTruncate(25) }}
'},function(t,e){t.exports=' '},function(t,e){t.exports='
{{ trans(\'display.author_in_reply_to\') }}:
{{ author.name | meerkatTruncate(15) }}
'},function(t,e){t.exports='
'},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ manager.orders[column] }}
'},function(t,e){t.exports='

{{ trans(\'filters.no_data\') }}

{{ trans(\'filters.no_data_filter\') }}

'},function(t,e){t.exports='

{{ trans(\'display.header_configure\') }}

{{ trans(\'config.server_changes_warning_title\') }}

{{ trans(\'config.server_changes_warning_message\') }} {{ trans(\'config.server_changes_warning_reload_prompt\') }}

{{ trans(\'config.managed_notice\') }}

'},function(t,e){t.exports='

{{ trans(\'config.preferences_desc\') }}

{{ trans(\'config.avatar_desc\') }}

{{ trans(\'config.per_page_desc\') }}

{{ trans(\'config.publishing_desc\') }}

{{ trans(\'config.publish_auto_desc\') }}

{{ trans(\'config.only_accept_comments_from_authenticated_users_desc\') }}

{{ trans(\'config.publish_user_auto_desc\') }}

{{ trans(\'config.close_threads_desc\') }}

'},function(t,e){t.exports='

{{ trans(\'config.spam_general_desc\') }}

{{ trans(\'config.auto_check_spam_desc\') }}

{{ trans(\'config.auto_delete_spam_desc\') }}

{{ trans(\'config.check_all_spam_guards_desc\') }}

{{ trans(\'config.unpublish_on_guard_failures_desc\') }}

{{ trans(\'config.submit_moderator_results_desc\') }}

{{ trans(\'config.spam_guards_desc\') }}

{{ trans(\'config.table_spam_guard\') }} {{ trans(\'config.table_enabled\') }}
{{ guard.name }}

{{ trans(\'config.akismet_desc\') }}

{{ trans(\'config.akismet_api_key_desc\') }}

{{ trans(\'config.akismet_front_page_desc\') }}

{{ state.currentMessage }}

'},function(t,e){t.exports='

{{ trans(\'config.ip_filter_desc\') }}

{{ trans(\'config.ip_filter_blocked_desc\') }} {{ trans(\'config.ip_filter_managed_notice\') }} {{ trans(\'config.ip_filter_view_defaults\') }}

{{ trans(\'config.ip_filter_default_title\') }}

{{ trans(\'config.ip_filter_default_desc\') }}

  • {{ address }}
'},function(t,e){t.exports='

{{ trans(\'config.permissions_desc\') }}

{{ trans(\'config.table_user_group\') }} {{ trans(\'config.table_all\') }} {{ trans(\'config.table_view_comments\') }} {{ trans(\'config.table_approve\') }} {{ trans(\'config.table_unapprove\') }} {{ trans(\'config.table_edit\') }} {{ trans(\'config.table_reply\') }} {{ trans(\'config.table_report_ham\') }} {{ trans(\'config.table_report_spam\') }} {{ trans(\'config.table_delete\') }}
{{ perm.name }}
'},function(t,e){t.exports='

{{ trans(\'config.word_filter_desc\') }}

{{ trans(\'config.word_filter_banned_desc\') }} {{ trans(\'config.word_filter_managed_notice\') }} {{ trans(\'config.word_filter_view_defaults\') }}

{{ trans(\'config.word_filter_default_title\') }}

{{ trans(\'config.word_filter_default_desc\') }}

  • {{ word }}
'},function(t,e){t.exports="

{{ trans('config.privacy_desc') }}

{{ trans('config.privacy_table_data') }} {{ trans('config.privacy_table_enabled') }}
{{ trans('config.privacy_store_user_agent_desc') }}
{{ trans('config.privacy_store_user_ip_desc') }}
{{ trans('config.privacy_store_referrer_desc') }}
"},function(t,e){t.exports='

{{ trans(\'config.email_general_desc\') }}

{{ trans(\'config.email_send_mail_desc\') }}

{{ trans(\'config.email_check_spam_guard_desc\') }}

{{ trans(\'config.email_addresses_desc\') }} {{ trans(\'config.email_addresses_notice\') }} {{ trans(\'config.email_addresses_view_defaults\') }}

{{ trans(\'config.email_addresses_default_title\') }}

{{ trans(\'config.email_addresses_default_desc\') }}

  • {{ address }}
'},function(t,e,n){t.exports=n(301)},function(t,e,n){var r=n(19),i=n(20),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},function(t,e,n){"use strict";var r=n(24),i=n(135),o=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw o("Incorrect hint");return i(this,t)}},function(t,e,n){"use strict";var r=n(12),i=n(19),o=n(22),a=n(18),s=n(31),u=n(26),c=n(50),l=n(17),f=n(23),p=n(45),d=n(24),m=n(37),h=n(79),y=n(28),v=n(61),b=n(43),g=n(108),w=n(63),S=n(142),_=n(84),k=n(41),P=n(29),O=n(140),j=n(103),x=n(30),E=n(64),T=n(49),C=n(80),A=n(62),R=n(77),D=n(21),M=n(129),I=n(99),N=n(136),L=n(65),F=n(46),V=n(88).forEach,q=C("hidden"),H="Symbol",B="prototype",U=F.set,Z=F.getterFor(H),$=Object[B],z=i.Symbol,W=z&&z[B],J=i.TypeError,G=i.QObject,Y=k.f,K=P.f,Q=S.f,X=j.f,tt=a([].push),et=T("symbols"),nt=T("op-symbols"),rt=T("wks"),it=!G||!G[B]||!G[B].findChild,ot=u&&l((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y($,e);r&&delete $[e],K(t,e,n),r&&t!==$&&K($,e,r)}:K,at=function(t,e){var n=et[t]=b(W);return U(n,{type:H,tag:t,description:e}),u||(n.description=e),n},st=function(t,e,n){t===$&&st(nt,e,n),d(t);var r=h(e);return d(n),f(et,r)?(n.enumerable?(f(t,q)&&t[q][r]&&(t[q][r]=!1),n=b(n,{enumerable:v(0,!1)})):(f(t,q)||K(t,q,v(1,{})),t[q][r]=!0),ot(t,r,n)):K(t,r,n)},ut=function(t,e){d(t);var n=m(e),r=g(n).concat(pt(n));return V(r,(function(e){u&&!o(ct,n,e)||st(t,e,n[e])})),t},ct=function(t){var e=h(t),n=o(X,this,e);return!(this===$&&f(et,e)&&!f(nt,e))&&(!(n||!f(this,e)||!f(et,e)||f(this,q)&&this[q][e])||n)},lt=function(t,e){var n=m(t),r=h(e);if(n!==$||!f(et,r)||f(nt,r)){var i=Y(n,r);return!i||!f(et,r)||f(n,q)&&n[q][r]||(i.enumerable=!0),i}},ft=function(t){var e=Q(m(t)),n=[];return V(e,(function(t){f(et,t)||f(A,t)||tt(n,t)})),n},pt=function(t){var e=t===$,n=Q(e?nt:m(t)),r=[];return V(n,(function(t){!f(et,t)||e&&!f($,t)||tt(r,et[t])})),r};c||(z=function(){if(p(W,this))throw J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),n=function(t){this===$&&o(n,nt,t),f(this,q)&&f(this[q],e)&&(this[q][e]=!1),ot(this,e,v(1,t))};return u&&it&&ot($,e,{configurable:!0,set:n}),at(e,t)},x(W=z[B],"toString",(function(){return Z(this).tag})),x(z,"withoutSetter",(function(t){return at(R(t),t)})),j.f=ct,P.f=st,O.f=ut,k.f=lt,w.f=S.f=ft,_.f=pt,M.f=function(t){return at(D(t),t)},u&&(E(W,"description",{configurable:!0,get:function(){return Z(this).description}}),s||x($,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),V(g(rt),(function(t){I(t)})),r({target:H,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?b(t):ut(b(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:lt}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ft}),N(),L(z,H),A[q]=!0},function(t,e,n){var r=n(32),i=n(18),o=n(63),a=n(84),s=n(24),u=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?u(e,n(t)):e}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},function(t,e,n){var r=n(67),i=n(89),o=n(25),a=n(21)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},function(t,e,n){var r=n(12),i=n(32),o=n(23),a=n(28),s=n(49),u=n(145),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(c,e))return c[e];var n=i("Symbol")(e);return c[e]=n,l[n]=e,n}})},function(t,e,n){var r=n(12),i=n(23),o=n(58),a=n(51),s=n(49),u=n(145),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(i(c,t))return c[t]}})},function(t,e,n){var r=n(12),i=n(32),o=n(68),a=n(22),s=n(18),u=n(17),c=n(20),l=n(58),f=n(69),p=n(217),d=n(50),m=String,h=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),b=s("".charCodeAt),g=s("".replace),w=s(1..toString),S=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,P=!d||u((function(){var t=i("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),O=u((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),j=function(t,e){var n=f(arguments),r=p(e);if(c(r)||void 0!==t&&!l(t))return n[1]=function(t,e){if(c(r)&&(e=a(r,this,m(t),e)),!l(e))return e},o(h,null,n)},x=function(t,e,n){var r=v(n,e-1),i=v(n,e+1);return y(_,t)&&!y(k,i)||y(k,t)&&!y(_,r)?"\\u"+w(b(t,0),16):t};h&&r({target:"JSON",stat:!0,arity:3,forced:P||O},{stringify:function(t,e,n){var r=f(arguments),i=o(P?j:h,null,r);return O&&"string"==typeof i?g(i,S,x):i}})},function(t,e,n){var r=n(18),i=n(67),o=n(20),a=n(35),s=n(28),u=r([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,n=[],r=0;ra;)for(var h,y=f(arguments[a++]),v=p?m(s(y),p(y)):s(y),b=v.length,g=0;b>g;)h=v[g++],r&&!o(d,y,h)||(n[h]=y[h]);return n}:p},function(t,e,n){"use strict";var r,i,o,a=n(12),s=n(31),u=n(92),c=n(19),l=n(22),f=n(30),p=n(90),d=n(65),m=n(152),h=n(34),y=n(20),v=n(25),b=n(115),g=n(227),w=n(154).set,S=n(228),_=n(231),k=n(116),P=n(157),O=n(46),j=n(71),x=n(72),E=n(73),T="Promise",C=x.CONSTRUCTOR,A=x.REJECTION_EVENT,R=x.SUBCLASSING,D=O.getterFor(T),M=O.set,I=j&&j.prototype,N=j,L=I,F=c.TypeError,V=c.document,q=c.process,H=E.f,B=H,U=!!(V&&V.createEvent&&c.dispatchEvent),Z="unhandledrejection",$=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},z=function(t,e){var n,r,i,o=e.value,a=1==e.state,s=a?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&K(e),e.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===t.promise?c(F("Promise-chain cycle")):(r=$(n))?l(r,n,u,c):u(n)):c(o)}catch(t){f&&!i&&f.exit(),c(t)}},W=function(t,e){t.notified||(t.notified=!0,S((function(){for(var n,r=t.reactions;n=r.get();)z(n,t);t.notified=!1,e&&!t.rejection&&G(t)})))},J=function(t,e,n){var r,i;U?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},!A&&(i=c["on"+t])?i(r):t===Z&&_("Unhandled promise rejection",n)},G=function(t){l(w,c,(function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=k((function(){u?q.emit("unhandledRejection",r,n):J(Z,n,r)})),t.rejection=u||Y(t)?2:1,e.error))throw e.value}))},Y=function(t){return 1!==t.rejection&&!t.parent},K=function(t){l(w,c,(function(){var e=t.facade;u?q.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},Q=function(t,e,n){return function(r){t(e,r,n)}},X=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},tt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw F("Promise can't be resolved itself");var r=$(e);r?S((function(){var n={done:!1};try{l(r,e,Q(tt,n,t),Q(X,n,t))}catch(e){X(n,e,t)}})):(t.value=e,t.state=1,W(t,!1))}catch(e){X({done:!1},e,t)}}};if(C&&(L=(N=function(t){b(this,L),h(t),l(r,this);var e=D(this);try{t(Q(tt,e),Q(X,e))}catch(t){X(e,t)}}).prototype,(r=function(t){M(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(t,e){var n=D(this),r=H(g(this,N));return n.parent=!0,r.ok=!y(t)||t,r.fail=y(e)&&e,r.domain=u?q.domain:void 0,0==n.state?n.reactions.add(r):S((function(){z(r,n)})),r.promise})),i=function(){var t=new r,e=D(t);this.promise=t,this.resolve=Q(tt,e),this.reject=Q(X,e)},E.f=H=function(t){return t===N||undefined===t?new i(t):B(t)},!s&&y(j)&&I!==Object.prototype)){o=I.then,R||f(I,"then",(function(t,e){var n=this;return new N((function(t,e){l(o,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}p&&p(I,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),d(N,T,!1,!0),m(T)},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f1)for(var n=1;n>>0||(d(p,n)?16:10))}:c},function(t,e,n){var r=n(17),i=n(19).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},function(t,e,n){var r=n(17),i=n(19).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(17),i=n(19).RegExp;t.exports=r((function(){var t=i("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},function(t,e,n){"use strict";var r=n(149).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(18),i=n(33),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,p){var d=n+t.length,m=r.length,h=l;return void 0!==f&&(f=i(f),h=c),s(p,h,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,n);case"'":return u(e,d);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>m){var p=o(l/10);return 0===p?i:p<=m?void 0===r[p-1]?a(s,1):r[p-1]+a(s,1):i}c=r[l-1]}return void 0===c?"":c}))}},function(t,e,n){var r=n(22),i=n(23),o=n(45),a=n(165),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},function(t,e,n){var r=n(60).PROPER,i=n(17),o=n(110);t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||r&&o[t].name!==t}))}},function(t,e,n){var r=n(25),i=n(35),o=n(21)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(55),i=r.slice,o=r.pluck,a=r.each,s=r.bind,u=r.create,c=r.isList,l=r.isFunction,f=r.isObject;t.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!c(t)&&(t=[t]),e&&!c(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;var o=[function(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}].concat(e);return t.apply(r,o)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(c(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;t&&(t.warn?t.warn:t.log).apply(t,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},h=u(m,p,{plugins:[]});return h.raw={},a(h,(function(t,e){l(t)&&(h.raw[e]=s(h,t))})),a(t,(function(t){h._addStorage(t)})),a(e,(function(t){h._addPlugin(t)})),h}},function(t,e,n){t.exports=[n(250),n(251),n(252),n(253),n(254),n(255)]},function(t,e,n){var r=n(55).Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){var r=n(55).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},function(t,e,n){var r=n(55).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(s)return;var n=c(t);a((function(t){t.setAttribute(n,e),t.save(i)}))},read:function(t){if(s)return;var e=c(t),n=null;return a((function(t){n=t.getAttribute(e)})),n},each:function(t){a((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];t(e.getAttribute(i.name),i.name)}}))},remove:function(t){var e=c(t);a((function(t){t.removeAttribute(e),t.save(i)}))},clearAll:function(){a((function(t){var e=t.XMLDocument.documentElement.attributes;t.load(i);for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(i)}))}};var i="storejs",o=r.document,a=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var t,e,n,r="script";try{(e=new ActiveXObject("htmlfile")).open(),e.write("<"+r+">document.w=window'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(e){n=o.createElement("div"),t=o.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load(i),e.apply(this,r),t.removeChild(n)}}(),s=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(u,"___")}},function(t,e,n){var r=n(55),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!c(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:u,clearAll:function(){s((function(t,e){u(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function u(t){t&&c(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},function(t,e,n){var r=n(55).Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e){t.exports={name:"memoryStorage",read:function(t){return n[t]},write:function(t,e){n[t]=e},each:function(t){for(var e in n)n.hasOwnProperty(e)&&t(n[e],e)},remove:function(t){delete n[t]},clearAll:function(t){n={}}};var n={}},function(t,e,n){t.exports=function(){return n(257),{}}},function(module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,a,s=gap,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof rep&&(u=rep.call(e,t,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;n9007199254740991)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";function r(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=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 p=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(c(Error)),d=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return o(e,t),e}(p),m=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return o(e,t),e}(p),h=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return o(e,t),e}(p),y=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(p),v=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return o(e,t),e}(p),b=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(p),g=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return o(e,t),e}(p),w="numeric",S="short",_="long",k={year:w,month:w,day:w},P={year:w,month:S,day:w},O={year:w,month:S,day:w,weekday:S},j={year:w,month:_,day:w},x={year:w,month:_,day:w,weekday:_},E={hour:w,minute:w},T={hour:w,minute:w,second:w},C={hour:w,minute:w,second:w,timeZoneName:S},A={hour:w,minute:w,second:w,timeZoneName:_},R={hour:w,minute:w,hour12:!1},D={hour:w,minute:w,second:w,hour12:!1},M={hour:w,minute:w,second:w,hour12:!1,timeZoneName:S},I={hour:w,minute:w,second:w,hour12:!1,timeZoneName:_},N={year:w,month:w,day:w,hour:w,minute:w},L={year:w,month:w,day:w,hour:w,minute:w,second:w},F={year:w,month:S,day:w,hour:w,minute:w},V={year:w,month:S,day:w,hour:w,minute:w,second:w},q={year:w,month:S,day:w,weekday:S,hour:w,minute:w},H={year:w,month:_,day:w,hour:w,minute:w,timeZoneName:S},B={year:w,month:_,day:w,hour:w,minute:w,second:w,timeZoneName:S},U={year:w,month:_,day:w,weekday:_,hour:w,minute:w,timeZoneName:_},Z={year:w,month:_,day:w,weekday:_,hour:w,minute:w,second:w,timeZoneName:_};function $(t){return void 0===t}function z(t){return"number"==typeof t}function W(t){return"number"==typeof t&&t%1==0}function J(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function G(){return!$(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 W(t)&&t>=e&&t<=n}function et(t,e){void 0===e&&(e=2);var n=t<0?"-":"",r=n?-1*t:t;return""+n+(r.toString().length=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=J();if(s&&G()){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 pt(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 dt(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)]=dt(o)}return r}function ht(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return""+i+et(n,2)+":"+et(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+et(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 bt(t){return JSON.stringify(t,Object.keys(t).sort())}var gt=["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"],St=["J","F","M","A","M","J","J","A","S","O","N","D"];function _t(t){switch(t){case"narrow":return[].concat(St);case"short":return[].concat(wt);case"long":return[].concat(gt);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 kt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Pt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ot=["M","T","W","T","F","S","S"];function jt(t){switch(t){case"narrow":return[].concat(Ot);case"short":return[].concat(Pt);case"long":return[].concat(kt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var xt=["AM","PM"],Et=["Before Christ","Anno Domini"],Tt=["BC","AD"],Ct=["B","A"];function At(t){switch(t){case"narrow":return[].concat(Ct);case"short":return[].concat(Tt);case"long":return[].concat(Et);default:return null}}function Rt(t,e){for(var n,r="",i=f(t);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=e(o.val)}return r}var Dt={D:k,DD:P,DDD:j,DDDD:x,t:E,tt:T,ttt:C,tttt:A,T:R,TT:D,TTT:M,TTTT:I,f:N,ff:F,fff:H,ffff:U,F:L,FF:V,FFF:B,FFFF:Z},Mt=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;o0&&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 Dt[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&&G(),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 xt[t.hour<12?0:1]}(e):a({hour:"numeric",hour12:!0},"dayperiod")},c=function(t,n){return i?function(t,e){return _t(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 jt(e)[t.weekday-1]}(e,t):a(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},f=function(t){return i?function(t,e){return At(e)[t.year<0?0:1]}(e,t):a({era:t},"era")};return Rt(t.parseFormat(n),(function(n){switch(n){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":case"E":return r.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);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 f("short");case"GG":return f("long");case"GGGGG":return f("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 function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n}(n)}}))},e.formatDurationFromString=function(e,n){var r,i=this,o=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}},a=t.parseFormat(n),s=a.reduce((function(t,e){var n=e.literal,r=e.val;return n?t:t.concat(r)}),[]),u=e.shiftTo.apply(e,s.map(o).filter((function(t){return t})));return Rt(a,(r=u,function(t){var e=o(t);return e?i.num(r.get(e),t.length):t}))},t}(),It=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}(),Nt=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new g},e.formatOffset=function(t,e){throw new g},e.offset=function(t){throw new g},e.equals=function(t){throw new g},i(t,[{key:"type",get:function(){throw new g}},{key:"name",get:function(){throw new g}},{key:"universal",get:function(){throw new g}},{key:"isValid",get:function(){throw new g}}]),t}(),Lt=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 ht(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 J()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Lt&&(Lt=new e),Lt}}]),e}(Nt),Vt=RegExp("^"+vt.source+"$"),qt={};var Ht={year:0,month:1,day:2,hour:3,minute:4,second:5};var Bt={},Ut=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 Bt[t]||(Bt[t]=new e(t)),Bt[t]},e.resetCache=function(){Bt={},qt={}},e.isValidSpecifier=function(t){return!(!t||!t.match(Vt))},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(0|[+-]\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 ht(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(n=this.name,qt[n]||(qt[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),qt[n]),i=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i=0?l:1e3+l))/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}(Nt),Zt=null,$t=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(pt(n[1],n[2]))}return null},i(e,null,[{key:"utcInstance",get:function(){return null===Zt&&(Zt=new e(0)),Zt}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return ht(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"+ht(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(Nt),zt=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}(Nt);function Wt(t,e){var n;if($(t)||null===t)return e;if(t instanceof Nt)return t;if("string"==typeof t){var r=t.toLowerCase();return"local"===r?e:"utc"===r||"gmt"===r?$t.utcInstance:null!=(n=Ut.parseGMTOffset(t))?$t.instance(n):Ut.isValidSpecifier(r)?Ut.create(t):$t.parseSpecifier(r)||new zt(t)}return z(t)?$t.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new zt(t)}var Jt=function(){return Date.now()},Gt=null,Yt=null,Kt=null,Qt=null,Xt=!1,te=function(){function t(){}return t.resetCaches=function(){fe.resetCache(),Ut.resetCache()},i(t,null,[{key:"now",get:function(){return Jt},set:function(t){Jt=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){Gt=t?Wt(t):null}},{key:"defaultZone",get:function(){return Gt||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=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&&J()){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=J(),t.zone.universal&&this.hasIntl){var i=t.offset/60*-1,o=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i,a=Ut.isValidZone(o);0!==t.offset&&a?(r=o,this.dt=t):(r="UTC",n.timeZoneName?this.dt=t:this.dt=0===t.offset?t:mr.fromMillis(t.ts+60*t.offset*1e3))}else"local"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name);if(this.hasIntl){var s=Object.assign({},this.opts);r&&(s.timeZone=r),this.dtf=ne(e,s)}}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(bt(Q(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case bt(k):return"M/d/yyyy";case bt(P):return"LLL d, yyyy";case bt(O):return"EEE, LLL d, yyyy";case bt(j):return"LLLL d, yyyy";case bt(x):return"EEEE, LLLL d, yyyy";case bt(E):return"h:mm a";case bt(T):return"h:mm:ss a";case bt(C):case bt(A):return"h:mm a";case bt(R):return"HH:mm";case bt(D):return"HH:mm:ss";case bt(M):case bt(I):return"HH:mm";case bt(N):return"M/d/yyyy, h:mm a";case bt(F):return"LLL d, yyyy, h:mm a";case bt(H):return"LLLL d, yyyy, h:mm a";case bt(U):return e;case bt(L):return"M/d/yyyy, h:mm:ss a";case bt(V):return"LLL d, yyyy, h:mm:ss a";case bt(q):return"EEE, d LLL yyyy, h:mm a";case bt(B):return"LLLL d, yyyy, h:mm:ss a";case bt(Z):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return e}}(this.opts),e=fe.create("en-US");return Mt.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&G()?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 J()?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(J()){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=J()&&G(),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,_t,(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=mr.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,jt,(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=mr.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 xt}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[mr.utc(2016,11,13,9),mr.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,At,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[mr.utc(-40,1,1),mr.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()||J()&&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(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||J()&&"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function pe(){for(var t=arguments.length,e=new Array(t),n=0;n1?e-1:0),r=1;r3?kt.indexOf(t)+1:Pt.indexOf(t)+1),s}var Me=/^(?:(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 Ie(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],p=t[11],d=De(n,o,i,r,a,s,u);return e=c?Re[c]:l?0:pt(f,p),[d,new $t(e)]}var Ne=/^(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$/,Le=/^(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$/,Fe=/^(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 Ve(t){var e=t[1],n=t[2],r=t[3];return[De(e,t[4],r,n,t[5],t[6],t[7]),$t.utcInstance]}function qe(t){var e=t[1],n=t[2],r=t[3],i=t[4],o=t[5],a=t[6];return[De(e,t[7],n,r,i,o,a),$t.utcInstance]}var He=pe(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ge),Be=pe(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ge),Ue=pe(/(\d{4})-?(\d{3})/,ge),Ze=pe(be),$e=de(Oe,je,xe),ze=de(we,je,xe),We=de(Se,je,xe),Je=de(je,xe);var Ge=de(je);var Ye=pe(/(\d{4})-(\d\d)-(\d\d)/,ke),Ke=pe(_e),Qe=de(Oe,je,xe,Ee),Xe=de(je,xe,Ee);var tn={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}},en=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}},tn),nn=365.2425,rn=30.436875,on=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},tn),an=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sn=an.slice(0).reverse();function un(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 ln(r)}function cn(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}var ln=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?on:en,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,[Ce,Ae])}(e),i=r[0];if(i){var o=Object.assign(i,n);return t.fromObject(o)}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(t){return me(t,[Te,Ge])}(e),i=r[0];if(i){var o=Object.assign(i,n);return t.fromObject(o)}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 It?e:new It(e,n);if(te.throwOnInvalid)throw new h(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 v(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?Mt.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.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var i=n.toFormat(r);return t.includePrefix&&(i="T"+i),i},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(t){if(!this.isValid)return this;for(var e,n=fn(t),r={},i=f(an);!(e=i()).done;){var o=e.value;(X(n.values,o)||X(this.values,o))&&(r[o]=n.get(o)+this.get(o))}return un(this,{values:r},!0)},e.minus=function(t){if(!this.isValid)return this;var e=fn(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=0){i=l;var p=0;for(var d in s)p+=this.matrix[d][l]*s[d],s[d]=0;z(u[l])&&(p+=u[l]);var m=Math.trunc(p);for(var h in a[l]=m,s[l]=p-m,u)an.indexOf(h)>an.indexOf(l)&&cn(this.matrix,u,h,a,l)}else z(u[l])&&(s[l]=u[l])}for(var y in s)0!==s[y]&&(a[i]+=y===i?s[y]:s[y]/this.matrix[i][y]);return un(this,{values:a},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);et},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+this.e?this.e:c;a.push(t.fromDateTimes(s,l)),s=l,u+=1}return a},e.splitBy=function(e){var n=fn(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,o=1,a=[];i+this.e?this.e:s,a.push(t.fromDateTimes(i,r)),i=r,o+=1}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.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=r?null:t.fromDateTimes(n,r)},e.union=function(e){if(!this.isValid)return this;var n=this.se.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=f((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=0){var f;r=c;var p,d=l(t,e);(i=t.plus(((f={})[c]=d,f)))>e?(t=t.plus(((p={})[c]=d-1,p)),d-=1):t=i,o[c]=d}}return[t,o,i,r]}(t,e,n),o=i[0],a=i[1],s=i[2],u=i[3],c=e-o,l=n.filter((function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0}));if(0===l.length){var f;if(s0?(p=ln.fromMillis(c,r)).shiftTo.apply(p,l).plus(d):d}var bn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},wn=bn.hanidec.replace(/[\[|\]]/g,"").split("");function Sn(t,e){var n=t.numberingSystem;return void 0===e&&(e=""),new RegExp(""+bn[n||"latn"]+e)}var _n="missing Intl.DateTimeFormat.formatToParts support";function kn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){var n=t[0];return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n=a&&r<=s&&(e+=r-a)}}return parseInt(e,10)}return e}(n))}}}var Pn="( |"+String.fromCharCode(160)+")",On=new RegExp(Pn,"g");function jn(t){return t.replace(/\./g,"\\.?").replace(On,Pn)}function xn(t){return t.replace(/\./g,"").replace(On," ").toLowerCase()}function En(t,e){return null===t?null:{regex:RegExp(t.map(jn).join("|")),deser:function(n){var r=n[0];return t.findIndex((function(t){return xn(r)===xn(t)}))+e}}}function Tn(t,e){return{regex:t,deser:function(t){return pt(t[1],t[2])},groups:e}}function Cn(t){return{regex:t,deser:function(t){return t[0]}}}var An={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Rn=null;function Dn(t,e){if(t.literal)return t;var n=Mt.macroTokenToFormatOpts(t.val);if(!n)return t;var r=Mt.create(e,n).formatDateTimeParts((Rn||(Rn=mr.fromMillis(1555555555555)),Rn)).map((function(t){return function(t,e,n){var r=t.type,i=t.value;if("literal"===r)return{literal:!0,val:i};var o=n[r],a=An[r];return"object"==typeof a&&(a=a[o]),a?{literal:!1,val:a}:void 0}(t,0,n)}));return r.includes(void 0)?t:r}function Mn(t,e,n){var r=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return Dn(t,e)})))}(Mt.parseFormat(n),t),i=r.map((function(e){return n=e,i=Sn(r=t),o=Sn(r,"{2}"),a=Sn(r,"{3}"),s=Sn(r,"{4}"),u=Sn(r,"{6}"),c=Sn(r,"{1,2}"),l=Sn(r,"{1,3}"),f=Sn(r,"{1,6}"),p=Sn(r,"{1,9}"),d=Sn(r,"{2,4}"),m=Sn(r,"{4,6}"),h=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},y=function(t){if(n.literal)return h(t);switch(t.val){case"G":return En(r.eras("short",!1),0);case"GG":return En(r.eras("long",!1),0);case"y":return kn(f);case"yy":case"kk":return kn(d,lt);case"yyyy":case"kkkk":return kn(s);case"yyyyy":return kn(m);case"yyyyyy":return kn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(c);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(o);case"MMM":return En(r.months("short",!0,!1),1);case"MMMM":return En(r.months("long",!0,!1),1);case"LLL":return En(r.months("short",!1,!1),1);case"LLLL":return En(r.months("long",!1,!1),1);case"o":case"S":return kn(l);case"ooo":case"SSS":return kn(a);case"u":return Cn(p);case"a":return En(r.meridiems(),0);case"E":case"c":return kn(i);case"EEE":return En(r.weekdays("short",!1,!1),1);case"EEEE":return En(r.weekdays("long",!1,!1),1);case"ccc":return En(r.weekdays("short",!0,!1),1);case"cccc":return En(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Tn(new RegExp("([+-]"+c.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Tn(new RegExp("([+-]"+c.source+")("+o.source+")?"),2);case"z":return Cn(/[a-z_+-/]{1,256}?/i);default:return h(t)}}(n)||{invalidReason:_n},y.token=n,y;var n,r,i,o,a,s,u,c,l,f,p,d,m,h,y})),o=i.find((function(t){return t.invalidReason}));if(o)return{input:e,tokens:r,invalidReason:o.invalidReason};var a=function(t){return["^"+t.map((function(t){return t.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"")+"$",t]}(i),s=a[0],u=a[1],c=RegExp(s,"i"),l=function(t,e,n){var r=t.match(e);if(r){var i={},o=1;for(var a in n)if(X(n,a)){var s=n[a],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(o,o+u))),o+=u}return[r,i]}return[r,{}]}(e,c,u),f=l[0],p=l[1],d=p?function(t){var e;return e=$(t.Z)?$(t.z)?null:Ut.create(t.z):new $t(t.Z),$(t.q)||(t.M=3*(t.q-1)+1),$(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),$(t.u)||(t.S=rt(t.u)),[Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{}),e]}(p):[null,null],m=d[0],h=d[1];if(X(p,"a")&&X(p,"H"))throw new y("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:f,matches:p,result:m,zone:h}}var In=[0,31,59,90,120,151,181,212,243,273,304,334],Nn=[0,31,60,91,121,152,182,213,244,274,305,335];function Ln(t,e){return new It("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Fn(t,e,n){var r=new Date(Date.UTC(t,e-1,n)).getUTCDay();return 0===r?7:r}function Vn(t,e,n){return n+(ot(t)?Nn:In)[e-1]}function qn(t,e){var n=ot(t)?Nn:In,r=n.findIndex((function(t){return tct(n)?(e=n+1,s=1):e=n,Object.assign({weekYear:e,weekNumber:s,weekday:a},yt(t))}function Bn(t){var e,n=t.weekYear,r=t.weekNumber,i=t.weekday,o=Fn(n,1,4),a=at(n),s=7*r+i-o-3;s<1?s+=at(e=n-1):s>a?(e=n+1,s-=at(n)):e=n;var u=qn(e,s),c=u.month,l=u.day;return Object.assign({year:e,month:c,day:l},yt(t))}function Un(t){var e=t.year,n=Vn(e,t.month,t.day);return Object.assign({year:e,ordinal:n},yt(t))}function Zn(t){var e=t.year,n=qn(e,t.ordinal),r=n.month,i=n.day;return Object.assign({year:e,month:r,day:i},yt(t))}function $n(t){var e=W(t.year),n=tt(t.month,1,12),r=tt(t.day,1,st(t.year,t.month));return e?n?!r&&Ln("day",t.day):Ln("month",t.month):Ln("year",t.year)}function zn(t){var e=t.hour,n=t.minute,r=t.second,i=t.millisecond,o=tt(e,0,23)||24===e&&0===n&&0===r&&0===i,a=tt(n,0,59),s=tt(r,0,59),u=tt(i,0,999);return o?a?s?!u&&Ln("millisecond",i):Ln("second",r):Ln("minute",n):Ln("hour",e)}var Wn="Invalid DateTime",Jn=864e13;function Gn(t){return new It("unsupported zone",'the zone "'+t.name+'" is not supported')}function Yn(t){return null===t.weekData&&(t.weekData=Hn(t.c)),t.weekData}function Kn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new mr(Object.assign({},n,e,{old:n}))}function Qn(t,e,n){var r=t-60*e*1e3,i=n.offset(r);if(e===i)return[r,e];r-=60*(i-e)*1e3;var o=n.offset(r);return i===o?[r,i]:[t-60*Math.min(i,o)*1e3,Math.max(i,o)]}function Xn(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function tr(t,e,n){return Qn(ut(t),e,n)}function er(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),o=Object.assign({},t.c,{year:r,month:i,day:Math.min(t.c.day,st(r,i))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),a=ln.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=Qn(ut(o),n,t.zone),u=s[0],c=s[1];return 0!==a&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function nr(t,e,n,r,i){var o=n.setZone,a=n.zone;if(t&&0!==Object.keys(t).length){var s=e||a,u=mr.fromObject(Object.assign(t,n,{zone:s,setZone:void 0}));return o?u:u.setZone(a)}return mr.invalid(new It("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function rr(t,e,n){return void 0===n&&(n=!0),t.isValid?Mt.create(fe.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ir(t,e){var n=e.suppressSeconds,r=void 0!==n&&n,i=e.suppressMilliseconds,o=void 0!==i&&i,a=e.includeOffset,s=e.includePrefix,u=void 0!==s&&s,c=e.includeZone,l=void 0!==c&&c,f=e.spaceZone,p=void 0!==f&&f,d=e.format,m=void 0===d?"extended":d,h="basic"===m?"HHmm":"HH:mm";r&&0===t.second&&0===t.millisecond||(h+="basic"===m?"ss":":ss",o&&0===t.millisecond||(h+=".SSS")),(l||a)&&p&&(h+=" "),l?h+="z":a&&(h+="basic"===m?"ZZZ":"ZZ");var y=rr(t,h);return u&&(y="T"+y),y}var or={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ar={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ur=["year","month","day","hour","minute","second","millisecond"],cr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function fr(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new v(t);return e}function pr(t,e){for(var n,r=f(ur);!(n=r()).done;){var i=n.value;$(t[i])&&(t[i]=or[i])}var o=$n(t)||zn(t);if(o)return mr.invalid(o);var a=te.now(),s=tr(t,e.offset(a),e),u=s[0],c=s[1];return new mr({ts:u,zone:e,o:c})}function dr(t,e,n){var r=!!$(n.round)||n.round,i=function(t,i){return t=it(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,i)},o=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return i(o(n.unit),n.unit);for(var a,s=f(n.units);!(a=s()).done;){var u=a.value,c=o(u);if(Math.abs(c)>=1)return i(c,u)}return i(t>e?-0:0,n.units[n.units.length-1])}var mr=function(){function t(t){var e=t.zone||te.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new It("invalid input"):null)||(e.isValid?null:Gn(e));this.ts=$(t.ts)?te.now():t.ts;var r=null,i=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var o=[t.old.c,t.old.o];r=o[0],i=o[1]}else{var a=e.offset(this.ts);r=Xn(this.ts,a),r=(n=Number.isNaN(r.year)?new It("invalid input"):null)?null:r,i=n?null:a}this._zone=e,this.loc=t.loc||fe.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(e,n,r,i,o,a,s){return $(e)?t.now():pr({year:e,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},te.defaultZone)},t.utc=function(e,n,r,i,o,a,s){return $(e)?new t({ts:te.now(),zone:$t.utcInstance}):pr({year:e,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},$t.utcInstance)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r,i=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);if(Number.isNaN(i))return t.invalid("invalid input");var o=Wt(n.zone,te.defaultZone);return o.isValid?new t({ts:i,zone:o,loc:fe.fromObject(n)}):t.invalid(Gn(o))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),z(e))return e<-Jn||e>Jn?t.invalid("Timestamp out of range"):new t({ts:e,zone:Wt(n.zone,te.defaultZone),loc:fe.fromObject(n)});throw new b("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),z(e))return new t({ts:1e3*e,zone:Wt(n.zone,te.defaultZone),loc:fe.fromObject(n)});throw new b("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=Wt(e.zone,te.defaultZone);if(!n.isValid)return t.invalid(Gn(n));var r=te.now(),i=n.offset(r),o=mt(e,fr,["zone","locale","outputCalendar","numberingSystem"]),a=!$(o.ordinal),s=!$(o.year),u=!$(o.month)||!$(o.day),c=s||u,l=o.weekYear||o.weekNumber,p=fe.fromObject(e);if((c||a)&&l)throw new y("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new y("Can't mix ordinal dates with month/day");var d,m,h=l||o.weekday&&!c,v=Xn(r,i);h?(d=cr,m=ar,v=Hn(v)):a?(d=lr,m=sr,v=Un(v)):(d=ur,m=or);for(var b,g=!1,w=f(d);!(b=w()).done;){var S=b.value;$(o[S])?o[S]=g?m[S]:v[S]:g=!0}var _=h?function(t){var e=W(t.weekYear),n=tt(t.weekNumber,1,ct(t.weekYear)),r=tt(t.weekday,1,7);return e?n?!r&&Ln("weekday",t.weekday):Ln("week",t.week):Ln("weekYear",t.weekYear)}(o):a?function(t){var e=W(t.year),n=tt(t.ordinal,1,at(t.year));return e?!n&&Ln("ordinal",t.ordinal):Ln("year",t.year)}(o):$n(o),k=_||zn(o);if(k)return t.invalid(k);var P=tr(h?Bn(o):a?Zn(o):o,i,n),O=new t({ts:P[0],zone:n,o:P[1],loc:p});return o.weekday&&c&&e.weekday!==O.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+O.toISO()):O},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[He,$e],[Be,ze],[Ue,We],[Ze,Je])}(t);return nr(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return me(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Me,Ie])}(t);return nr(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ne,Ve],[Le,Ve],[Fe,qe])}(t);return nr(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),$(e)||$(n))throw new b("fromFormat requires an input string and a format");var i=r,o=i.locale,a=void 0===o?null:o,s=i.numberingSystem,u=void 0===s?null:s,c=function(t,e,n){var r=Mn(t,e,n);return[r.result,r.zone,r.invalidReason]}(fe.fromOpts({locale:a,numberingSystem:u,defaultToEN:!0}),e,n),l=c[0],f=c[1],p=c[2];return p?t.invalid(p):nr(l,f,r,"format "+n,e)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ye,Qe],[Ke,Xe])}(t);return nr(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new b("need to specify a reason the DateTime is invalid");var r=e instanceof It?e:new It(e,n);if(te.throwOnInvalid)throw new d(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOpts=function(t){void 0===t&&(t={});var e=Mt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone($t.instance(t),e)},e.toLocal=function(){return this.setZone(te.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,o=void 0!==i&&i,a=r.keepCalendarTime,s=void 0!==a&&a;if((e=Wt(e,te.defaultZone)).equals(this.zone))return this;if(e.isValid){var u=this.ts;if(o||s){var c=e.offset(this.ts);u=tr(this.toObject(),c,e)[0]}return Kn(this,{ts:u,zone:e})}return t.invalid(Gn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,i=e.outputCalendar;return Kn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=mt(t,fr,[]),r=!$(n.weekYear)||!$(n.weekNumber)||!$(n.weekday),i=!$(n.ordinal),o=!$(n.year),a=!$(n.month)||!$(n.day),s=o||a,u=n.weekYear||n.weekNumber;if((s||i)&&u)throw new y("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&i)throw new y("Can't mix ordinal dates with month/day");r?e=Bn(Object.assign(Hn(this.c),n)):$(n.ordinal)?(e=Object.assign(this.toObject(),n),$(n.day)&&(e.day=Math.min(st(e.year,e.month),e.day))):e=Zn(Object.assign(Un(this.c),n));var c=tr(e,this.o,this.zone);return Kn(this,{ts:c[0],o:c[1]})},e.plus=function(t){return this.isValid?Kn(this,er(this,fn(t))):this},e.minus=function(t){return this.isValid?Kn(this,er(this,fn(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=ln.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);e.month=3*(r-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?Mt.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wn},e.toLocaleString=function(t){return void 0===t&&(t=k),this.isValid?Mt.create(this.loc.clone(t),t).formatDateTime(this):Wn},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?Mt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){return void 0===t&&(t={}),this.isValid?this.toISODate(t)+"T"+this.toISOTime(t):null},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n="basic"===(void 0===e?"extended":e)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),rr(this,n)},e.toISOWeekDate=function(){return rr(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=void 0!==n&&n,i=e.suppressSeconds,o=void 0!==i&&i,a=e.includeOffset,s=void 0===a||a,u=e.includePrefix,c=void 0!==u&&u,l=e.format;return ir(this,{suppressSeconds:o,suppressMilliseconds:r,includeOffset:s,includePrefix:c,format:void 0===l?"extended":l})},e.toRFC2822=function(){return rr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return rr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return rr(this,"yyyy-MM-dd")},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,i=e.includeZone;return ir(this,{includeOffset:r,includeZone:void 0!==i&&i,spaceZone:!0})},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():Wn},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return ln.invalid(this.invalid||t.invalid,"created by diffing an invalid DateTime");var r,i=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),o=(r=e,Array.isArray(r)?r:[r]).map(ln.normalizeUnit),a=t.valueOf()>this.valueOf(),s=vn(a?this:t,a?t:this,o,i);return a?s.negate():s},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?mn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({zone:this.zone}),r=e.padding?thisthis.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ot(this.year)}},{key:"daysInMonth",get:function(){return st(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?at(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return k}},{key:"DATE_MED",get:function(){return P}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return O}},{key:"DATE_FULL",get:function(){return j}},{key:"DATE_HUGE",get:function(){return x}},{key:"TIME_SIMPLE",get:function(){return E}},{key:"TIME_WITH_SECONDS",get:function(){return T}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return C}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return A}},{key:"TIME_24_SIMPLE",get:function(){return R}},{key:"TIME_24_WITH_SECONDS",get:function(){return D}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return M}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return I}},{key:"DATETIME_SHORT",get:function(){return N}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED",get:function(){return F}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return q}},{key:"DATETIME_FULL",get:function(){return H}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return B}},{key:"DATETIME_HUGE",get:function(){return U}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return Z}}]),t}();function hr(t){if(mr.isDateTime(t))return t;if(t&&t.valueOf&&z(t.valueOf()))return mr.fromJSDate(t);if(t&&"object"==typeof t)return mr.fromObject(t);throw new b("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=mr,e.Duration=ln,e.FixedOffsetZone=$t,e.IANAZone=Ut,e.Info=hn,e.Interval=mn,e.InvalidZone=zt,e.LocalZone=Ft,e.Settings=te,e.VERSION="1.28.0",e.Zone=Nt},function(t,e,n){var r=n(12),i=n(19),o=n(173)(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==o},{setInterval:o})},function(t,e){t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},function(t,e,n){var r=n(12),i=n(19),o=n(173)(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==o},{setTimeout:o})},function(t,e,n){(function(e){var r;t.exports=(r=r||function(t,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e&&e.crypto&&(i=e.crypto),!i)try{i=n(265)}catch(t){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},u=s.lib={},c=u.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=u.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=e!=r?e:4*t.length},toString:function(t){return(t||p).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},d=f.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},m=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},h=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=m.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,c=t.min(4*u,o);if(u){for(var f=0;f1?arguments[1]:void 0,y=void 0!==h;y&&(h=r(h,m>2?arguments[2]:void 0));var v,b,g,w,S,_,k=p(e),P=0;if(!k||this===d&&s(k))for(v=c(e),b=n?new this(v):d(v);v>P;P++)_=y?h(e[P],P):e[P],l(b,P,_);else for(S=(w=f(e,k)).next,b=n?new this:[];!(g=i(S,w)).done;P++)_=y?a(w,h,[g.value,P],!0):g.value,l(b,P,_);return b.length=P,b}},function(t,e,n){var r=n(24),i=n(161);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(22),i=n(166),o=n(24),a=n(39),s=n(36),u=n(273),c=n(28),l=n(59),f=n(167);i("search",(function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:l(e,t);return i?r(i,e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;u(s,0)||(r.lastIndex=0);var l=f(r,i);return u(r.lastIndex,s)||(r.lastIndex=s),null===l?-1:l.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(12),i=n(66),o=n(104).indexOf,a=n(98),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:o(this,t,e)}})},function(t,e,n){n(276)},function(t,e,n){"use strict";n(277)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(281))},function(t,e,n){"use strict";var r=n(12),i=n(19),o=n(18),a=n(85),s=n(30),u=n(179),c=n(93),l=n(115),f=n(20),p=n(39),d=n(25),m=n(17),h=n(118),y=n(65),v=n(146);t.exports=function(t,e,n){var b=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),w=b?"set":"add",S=i[t],_=S&&S.prototype,k=S,P={},O=function(t){var e=o(_[t]);s(_,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!d(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return g&&!d(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!d(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!f(S)||!(g||_.forEach&&!m((function(){(new S).entries().next()})))))k=n.getConstructor(e,t,b,w),u.enable();else if(a(t,!0)){var j=new k,x=j[w](g?{}:-0,1)!=j,E=m((function(){j.has(1)})),T=h((function(t){new S(t)})),C=!g&&m((function(){for(var t=new S,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((k=e((function(t,e){l(t,_);var n=v(new S,t,k);return p(e)||c(e,n[w],{that:n,AS_ENTRIES:b}),n}))).prototype=_,_.constructor=k),(E||C)&&(O("delete"),O("has"),b&&O("get")),(C||x)&&O(w),g&&_.clear&&delete _.clear}return P[t]=k,r({global:!0,constructor:!0,forced:k!=S},P),y(k,t),g||n.setStrong(k,t,b),k}},function(t,e,n){var r=n(17),i=n(25),o=n(35),a=n(279),s=Object.isExtensible,u=r((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!=o(t))&&(!s||s(t)))}:s},function(t,e,n){var r=n(17);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},function(t,e,n){var r=n(17);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){"use strict";var r=n(43),i=n(64),o=n(282),a=n(53),s=n(115),u=n(39),c=n(93),l=n(112),f=n(113),p=n(152),d=n(26),m=n(179).fastKey,h=n(46),y=h.set,v=h.getterFor;t.exports={getConstructor:function(t,e,n,l){var f=t((function(t,i){s(t,p),y(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),d||(t.size=0),u(i)||c(i,t[l],{that:t,AS_ENTRIES:n})})),p=f.prototype,h=v(e),b=function(t,e,n){var r,i,o=h(t),a=g(t,e);return a?a.value=n:(o.last=a={index:i=m(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},g=function(t,e){var n,r=h(t),i=m(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(p,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=this,n=h(e),r=g(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),o(p,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),d&&i(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);l(t,e,(function(t,e){y(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?f("keys"==e?n.key:"values"==e?n.value:[n.key,n.value],!1):(t.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),p(e)}}},function(t,e,n){var r=n(30);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(51),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+r(e)+" of "+r(t))}},function(t,e,n){var r=n(143),i=Math.floor,o=function(t,e){var n=t.length,u=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,u),e),o(r(t,u),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a=0;n--){var r=Math.pow(10,3*(n+1));if(r<=t){1e3===(t=Math.round(t*e/r)/e)&&ne?t.substr(0,e-1)+n:t}},{key:"hasValue",value:function(t){return!1!==o.hasValue(t)&&"String"===t.constructor.name&&0!==t.trim().length}},{key:"withDefault",value:function(t,e){return v.hasValue(t)?t:e}},{key:"finish",value:function(t,e){return v.endsWith(t,e)?t:t+e}},{key:"start",value:function(t,e){return v.startsWith(t,e)?t:e+t}},{key:"startsWith",value:function(t,e){return t.substr(0,e.length)===e}},{key:"endsWith",value:function(t,e){return t.substr(t.length-e.length)===e}},{key:"format",value:function(t){for(var e=t,n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r="{"+n+"}";e=e.replace(r,n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}return e}},{key:"ucFirst",value:function(t){return!1===v.hasValue(t)?t:1===t.length?t.toUpperCase():t.charAt(0).toUpperCase()+t.slice(1)}}],(n=null)&&y(e.prototype,n),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),b=v;n(97);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function w(t,e){for(var n=0;n0&&(n.partialSuccess=!0),n}}],(n=null)&&J(e.prototype,n),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(R);Q.ApiComments="comments";var X=Q;function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}function et(t,e){for(var n=0;n'+n+"";t.html(r)})))}}},{key:"addLinkToPackage",value:function(t,e){vt.ContextJquery("body").bind("DOMSubtreeModified",function(){xt(this.runActualLinkCheck(t,e),250)}.bind(this))}}])&&Tt(e.prototype,n),r&&Tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function At(t){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(t)}function Rt(t,e){for(var n=0;n0?(this.countDisplay=ju.NumberFormatter.abbreviate(this.count,2),this.shouldDisplay=!0):this.shouldDisplay=!1)}},created:function(){Be.Instance.on("updated",this.updateDisplay.bind(this))}},Ze=n(185),$e=n.n(Ze);n(125),n(168),n(266);function ze(t){return function(t){if(Array.isArray(t))return We(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return We(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return We(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1&&this.$emit("per-page-updated",t)}},methods:{getWindowStart:function(){return m.get(1,this.visibleRangeWindow+2)},getWindowEnd:function(){return m.get(this.pageData.totalPages-(this.visibleRangeWindow+2),this.pageData.totalPages)},getRangeStart:function(){return m.get(1,2)},getRangeEnd:function(){return m.get(this.pageData.totalPages-1,this.pageData.totalPages)},getRangeAdjacent:function(){return m.get(this.pageData.currentPage-this.rangeItemsPerSide,this.pageData.currentPage+this.rangeItemsPerSide)},hasPage:function(t){return null!==this.pageData&&(t>=1&&t<=this.pageData.totalPages)},moveToPage:function(t){null!==this.pageData&&(this.pageData.currentPage=t,this.$emit("page-updated",t))},updatePerPage:function(t){this.$emit("per-page-updated",t.target.value),t.preventDefault()},movePrevious:function(){null!==this.pageData&&1!==this.pageData.currentPage&&this.moveToPage(this.pageData.currentPage-1)},moveNext:function(){null!==this.pageData&&this.pageData.currentPage!==this.pageData.totalPages&&this.moveToPage(this.pageData.currentPage+1)},shouldUseSmallSlider:function(){return!0===this.displayPerPage&&this.pageData.totalPages<=this.instancePerPage&&this.pageData.totalPages<=10||this.pageData.totalPages<2*this.rangePerSide+6},shouldUseBeginningSlider:function(){return this.pageData.currentPage<=this.visibleRangeWindow},shouldUseEndSlider:function(){return this.pageData.currentPage>this.pageData.totalPages-this.visibleRangeWindow},updateVisibleRange:function(t){this.visibleRangeWindow=2*t},makeRangeItem:function(t){var e=new Fr;return e.pageNumber=t,null!==this.pageData&&this.pageData.currentPage===t&&(e.isSelected=!0),e},makeRangeArray:function(t){for(var e=[],n=0;n1},shouldDisplayPerPageSelection:function(){return null!==this.perPageOptions&&0!==this.perPageOptions.length&&(null!==this.pageData&&this.pageData.totalItems>=this.perPageOptions[0])},visibleRange:function(){if(null===this.pageData)return[];return this.shouldUseSmallSlider()?this.makeRangeArray(m.get(1,this.pageData.totalPages)):this.shouldUseBeginningSlider()?this.buildSeparatedRangeItems([this.getWindowStart(),this.getRangeEnd()]):this.shouldUseEndSlider()?this.buildSeparatedRangeItems([this.getRangeStart(),this.getWindowEnd()]):this.buildSeparatedRangeItems([this.getRangeStart(),this.getRangeAdjacent(),this.getRangeEnd()])},hasPrevious:function(){return null!==this.pageData&&this.pageData.currentPage>1},hasNext:function(){return null!==this.pageData&&this.pageData.currentPage=this.pageData.totalPages}},created:function(){this.instancePerPage=this.perPage,this.updateVisibleRange(this.rangeItemsPerSide)}};function Hr(t){return Hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(t)}function Br(t,e){for(var n=0;n0){var t=new fn(this.comment);this.confirm(t).onConfirm(function(t){this.$emit("reply-canceled",this.comment),this.comment.cancelReply()}.bind(this))}else this.$emit("reply-canceled",this.comment),this.comment.cancelReply()}},mounted:function(){this.$refs.markdownEditor.focus()},created:function(){this.$keys.bind("esc",this.cancel)}},Co=n(196),Ao=n.n(Co);function Ro(t){return Ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ro(t)}function Do(t,e){for(var n=0;ne.order?1:-1})),a=[],s={};for(var u in this.columns)this.columns[u]!==t.None&&(i+=1);for(var c=0;c0&&(r+=1),this.columns)if(this.columns[l]!==t.None){var f=r;void 0!==n[l]&&(f=n[l]),e.push({column:l,order:f}),r+=1}e=e.sort((function(t,e){return t.order>e.order?1:-1})),r=0;for(var p=0;p1,this.buildSortString()}},{key:"buildSortIndex",value:function(){var e=0,n=[],r={};for(var i in this.columns)this.columns[i]!==t.None&&(n.push({column:i,order:e}),r[i]=e+1),e+=1;this.orders=r,this.sortIndex=n,this.hasMultipleOrders=this.sortIndex.length>1,this.buildSortString()}}])&&sa(e.prototype,n),r&&sa(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();ua.Asc=1,ua.Desc=-1,ua.None=0;var ca=ua,la=n(197),fa=n.n(la);n(294);var pa={template:fa.a,props:{column:{type:String,default:null},manager:{type:Object,default:null},respondToClick:{type:Boolean,default:!0}},methods:{updateManager:function(){!0===this.respondToClick&&(this.manager.toggleColumn(this.column),this.$emit("order-changed"))}}},da=n(198),ma=n.n(da);n(295);var ha={template:ma.a,mixins:[Je],props:{totalCount:{type:Number,default:0}}},ya=n(48);n(296);var va={mixins:[Je,rn],template:Ni.a,components:{"table-filters":oa,"author-display":Vi,"comment-display":jo,"comment-editor":pn,"reply-editor":To,"sort-indicator":pa,"empty-indicator":ha},props:{loading:{type:Boolean,default:!1},comments:{type:Object,default:null},displayFocusMode:{type:Boolean,default:!1},activeFilterId:{type:Number,default:0}},data:function(){return{sortManager:null,currentAction:null,avatarDriver:null,state:{totalCount:0},permissions:null,handlers:{edit:zr,reply:Qr},singleSelectTranslation:this.trans("actions.select_comment"),canUseBulkActions:!1,currentBulkAction:"approve",bulkHandlers:{approve:ii,unapprove:li,delete:yi,"mark-spam":_i,"mark-ham":Ei,"remove-spam":Mi}}},computed:{hasData:function(){return!1!==o.hasValue(this.comments)&&this.comments.comments.length>0},shouldDisplayThread:function(){return!1!==o.hasValue(this.comments)&&this.comments.threads.length>1},hasCommentResponse:function(){return o.hasValue(this.comments)},selectedCount:function(){var t=0;if(!1===o.hasValue(this.comments))return t;for(var e=0;e0&&this.$emit("data-update-requested"))},exitFocusMode:function(){this.displayFocusMode=!1},clearData:function(){this.closeAllActionDialogs([]),this.comments.clear()},updateSortFromHeader:function(t){b.hasValue(t)&&(this.sortManager.toggleColumn(t),this.updateStateFromOrder())},setSortString:function(t){this.sortManager.setSortString(t)},updateStateFromOrder:function(){this.$emit("order-changed",this.sortManager)},onConfigAvatarUpdated:function(t){o.hasValue(t)&&t.length>0&&(this.avatarDriver=te.getDriverName(t[0]))},onConfigUserAvailable:function(){this.permissions=vt.getPermissions(),(this.permissions.canApproveComments||this.permissions.canEditComments||this.permissions.canRemoveComments||this.permissions.canReportAsHam||this.permissions.canReportAsSpam||this.permissions.canUnApproveComments)&&(this.canUseBulkActions=!0)},onFilterChange:function(t){this.$emit("filter-changed",t)},onSearchUpdated:function(t){this.$emit("search-updated",t)},closeAllActionDialogs:function(t){this.forceDismissBulkActions(),this.$refs.commentDisplay.forEach((function(t){t.forceDismiss()}))},getSelectedIds:function(){for(var t=[],e=this.comments.comments.getSelected(),n=0;n-1&&this.state.lastPerPageRequest===t||(this.state.lastPerPageRequest=t,this.searchOptions.resultsPerPage=t,this.loadCommentData().then(function(){this.$nextTick((function(){vt.scrollTop()}))}.bind(this)))},updateQueryWithPage:function(t){this.state.lastPageRequest!==t&&(this.state.lastPageRequest=t,this.searchOptions.page=t,this.loadCommentData())},onRefreshRequested:function(){this.loadCommentData()},loadCommentData:function(){return!1===this.state.hasLoadedInitial&&(this.state.loadingInitial=!0),this.state.loadingData=!0,new Promise(function(t,e){this.commentRepo.search(this.searchOptions).then(function(e){!1===this.state.hasLoadedInitial&&(this.state.hasLoadedInitial=!0,this.state.loadingInitial=!1),this.commentData=e,this.state.initialSortString=e.sortString,this.state.loadingData=!1,t()}.bind(this)).catch((function(t){e(t)}))}.bind(this))},applyFromDefaultFilter:function(t){if(this.defaultFilters.includes(t)){var e=(n=t,r=new qo,i=new zo,a=new Qo,s=new ia,(u={})[r.internalName]=r,u[i.internalName]=i,u[a.internalName]=a,u[s.internalName]=s,o.hasValue(u[n])?u[n]:null);null!==e&&(this.state.activeFilterId=e.id,this.state.activeFilterName=e.internalName,this.onFilterChanged(e))}var n,r,i,a,s,u}},created:function(){this.spamTaskObserver=new xa,this.spamTaskObserver.on("error",this.onSpamTaskError.bind(this)),this.spamTaskObserver.on("complete",this.onSpamTaskComplete.bind(this)),this.spamTaskObserver.on("canceled",this.onSpamTaskCanceled.bind(this)),this.permissions=vt.getPermissions(),this.permissions.canReportAsHam&&this.permissions.canReportAsSpam&&(this.canCheckForSpam=!0);var t=S.currentLastValue().toLowerCase();this.applyFromDefaultFilter(t),window.onpopstate=function(t){if(null!==t.state&&null!==t.state.urlPath){var e=S.lastValue(t.state.urlPath);this.applyFromDefaultFilter(e)}}.bind(this),Ms.Hubs.config().handledBy(this),Ms.Hubs.comments().handledBy(this),this.loadCommentData(),this.state.initialPerPage=vt.UserPreferences.cp_per_page,this.searchOptions.resultsPerPage=this.state.initialPerPage}},Ns=n(199),Ls=n.n(Ns),Fs=n(200),Vs={mixins:[Je],template:n.n(Fs).a,props:{settings:{type:Object,default:null}},data:function(){return{autoPublish:!0,autoClose:!1,closeDays:2}}},qs=n(201),Hs={mixins:[Je],template:n.n(qs).a,components:{loader:bn},props:{settings:{type:Object,default:null}},computed:{hasAkismetSettings:function(){var t=this.$parent.settings.items["akismet.api_key"].value,e=this.$parent.settings.items["akismet.front_page"].value;return t.trim().length>0&&e.trim().length>0}},methods:{validateConfiguration:function(){var t=this.$parent.settings.items["akismet.api_key"].value,e=this.$parent.settings.items["akismet.front_page"].value;this.state.currentMessage=this.trans("config.validate_akismet_validating"),this.state.isValidating=!0,Ds.Instance.validateAkismet(t,e).then(function(t){this.state.currentMessage=t.message,this.state.isValidating=!1}.bind(this)).catch(function(){this.state.currentMessage=this.trans("config.validate_akismet_failure"),this.state.isValidating=!1}.bind(this))},guardUpdated:function(){this.$parent.updateGuardConfiguration()}},data:function(){return{state:{currentMessage:"",isValidating:!1}}}},Bs=n(202),Us={mixins:[Je],template:n.n(Bs).a,props:{settings:{type:Object,default:null}},data:function(){return{showDefaults:!1}}},Zs=n(203),$s={mixins:[Je],template:n.n(Zs).a,props:{settings:{type:Object,default:null}},methods:{checkPermissions:function(t){t.permissions.hasAllPermissions?(t.permissions.canApproveComments=!0,t.permissions.canEditComments=!0,t.permissions.canRemoveComments=!0,t.permissions.canReplyToComments=!0,t.permissions.canReportAsHam=!0,t.permissions.canReportAsSpam=!0,t.permissions.canUnApproveComments=!0,t.permissions.canViewComments=!0):(t.permissions.canApproveComments=!1,t.permissions.canEditComments=!1,t.permissions.canRemoveComments=!1,t.permissions.canReplyToComments=!1,t.permissions.canReportAsHam=!1,t.permissions.canReportAsSpam=!1,t.permissions.canUnApproveComments=!1,t.permissions.canViewComments=!1,t.permissions.hasAllPermissions=!1)}},data:function(){return{}}},zs=n(204),Ws={mixins:[Je],template:n.n(zs).a,props:{settings:{type:Object,default:null}},data:function(){return{showDefaults:!1}}},Js=n(205),Gs={mixins:[Je],template:n.n(Js).a,data:function(){return{showDefaults:!1}},props:{settings:{type:Object,default:null}}},Ys=n(206),Ks={mixins:[Je],template:n.n(Ys).a,data:function(){return{showDefaults:!1}},props:{settings:{type:Object,default:null}}};function Qs(t){return Qs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qs(t)}function Xs(t,e){for(var n=0;nr?1:0})),this.avatarOptions=e},updateGuardConfiguration:function(){this.wordFilterEnabled=this.hasGuardEnabled("WordFilterSpamGuard"),this.ipFilterEnabled=this.hasGuardEnabled("IpFilterSpamGuard"),this.akismetFilterEnabled=this.hasGuardEnabled("AkismetSpamGuard")},hasGuardEnabled:function(t){if(null===this.settings)return!1;for(var e=0;e0)for(var n=0;n2)if(c=w(c),43===(e=x(c,0))||45===e){if(88===(n=x(c,2))||120===n)return NaN}else if(48===e){switch(x(c,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=j(c,2)).length,s=0;si)return NaN;return parseInt(o,r)}return+c},C=c(S,!_(" 0o1")||!_("0b1")||_("+0x1")),A=function(t){return p(P,t)&&h((function(){g(t)}))},R=function(t){var e=arguments.length<1?0:_(E(t));return A(this)?f(Object(e),this,R):e};R.prototype=P,C&&!i&&(P.constructor=R),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:R});var D=function(t,e){for(var n,r=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)l(e,n=r[i])&&!l(t,n)&&b(t,n,v(e,n))};i&&k&&D(s[S],k),(C||i)&&D(s[S],_)},function(t,e,n){"use strict";var r=n(37),i=n(111),o=n(70),a=n(46),s=n(29).f,u=n(112),c=n(113),l=n(31),f=n(26),p="Array Iterator",d=a.set,m=a.getterFor(p);t.exports=u(Array,"Array",(function(t,e){d(this,{type:p,target:r(t),index:0,kind:e})}),(function(){var t=m(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,c(void 0,!0)):c("keys"==n?r:"values"==n?e[r]:[r,e[r]],!1)}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&f&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(t){}},function(t,e,n){n(210),n(214),n(215),n(216),n(218)},function(t,e,n){"use strict";var r=n(12),i=n(26),o=n(19),a=n(18),s=n(23),u=n(20),c=n(45),l=n(28),f=n(64),p=n(138),d=o.Symbol,m=d&&d.prototype;if(i&&u(d)&&(!("description"in m)||void 0!==d().description)){var h={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),e=c(m,this)?new d(t):void 0===t?d():d(t);return""===t&&(h[e]=!0),e};p(y,d),y.prototype=m,m.constructor=y;var v="Symbol(test)"==String(d("test")),b=a(m.valueOf),g=a(m.toString),w=/^Symbol\((.*)\)[^)]+$/,S=a("".replace),_=a("".slice);f(m,"description",{configurable:!0,get:function(){var t=b(this);if(s(h,t))return"";var e=g(t),n=v?_(e,7,-1):S(e,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:y})}},function(t,e,n){n(99)("iterator")},function(t,e,n){"use strict";var r=n(149).charAt,i=n(28),o=n(46),a=n(112),s=n(113),u="String Iterator",c=o.set,l=o.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=l(this),n=e.string,i=e.index;return i>=n.length?s(void 0,!0):(t=r(n,i),e.index+=t.length,s(t,!1))}))},function(t,e,n){var r=n(19),i=n(150),o=n(151),a=n(2),s=n(52),u=n(21),c=u("iterator"),l=u("toStringTag"),f=a.values,p=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(t[l]||s(t,l,e),i[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var d in i)p(r[d]&&r[d].prototype,d);p(o,"DOMTokenList")},function(t,e,n){var r=n(99),i=n(136);r("toPrimitive"),i()},function(t,e,n){var r=n(23),i=n(30),o=n(209),a=n(21)("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},function(t,e,n){var r=n(12),i=n(26),o=n(29).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},function(t,e,n){var r=n(12),i=n(163);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},function(t,e,n){var r=n(19),i=n(41).f,o=n(52),a=n(30),s=n(101),u=n(138),c=n(85);t.exports=function(t,e){var n,l,f,p,d,m=t.target,h=t.global,y=t.stat;if(n=h?r:y?r[m]||s(m,{}):(r[m]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=i(n,l))&&d.value:n[l],!c(h?l:m+(y?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,t)}}},function(t,e,n){n(12)({target:"Object",stat:!0},{setPrototypeOf:n(90)})},function(t,e,n){var r=n(12),i=n(17),o=n(33),a=n(91),s=n(148);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},function(t,e,n){var r=n(12),i=n(32),o=n(68),a=n(163),s=n(153),u=n(24),c=n(25),l=n(43),f=n(17),p=i("Reflect","construct"),d=Object.prototype,m=[].push,h=f((function(){function t(){}return!(p((function(){}),[],t)instanceof t)})),y=!f((function(){p((function(){}))})),v=h||y;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var n=arguments.length<3?t:s(arguments[2]);if(y&&!h)return p(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return o(m,r,e),new(o(a,t,r))}var i=n.prototype,f=l(c(i)?i:d),v=o(t,f,e);return c(v)?v:f}})},function(t,e,n){n(12)({target:"Object",stat:!0,sham:!n(26)},{create:n(43)})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(56),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(76))},function(t,e,n){var r=n(132),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},function(t,e,n){var r=n(19),i=n(49),o=n(23),a=n(77),s=n(50),u=n(130),c=r.Symbol,l=i("wks"),f=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(l,t)||(l[t]=s&&o(c,t)?c[t]:f("Symbol."+t)),l[t]}},function(t,e,n){var r=n(56),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},function(t,e,n){var r=n(18),i=n(33),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},function(t,e,n){var r=n(25),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},function(t,e,n){var r=n(20),i=n(132),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},function(t,e,n){var r=n(17);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var r=n(26),i=n(60).EXISTS,o=n(18),a=n(64),s=Function.prototype,u=o(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=o(c.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(t){return""}}})},function(t,e,n){var r=n(86),i=String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,e,n){var r=n(26),i=n(131),o=n(133),a=n(24),s=n(79),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(20),i=n(29),o=n(137),a=n(101);t.exports=function(t,e,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(r(n)&&o(n,c,s),s.global)u?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(19),i=n(20),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(36),i=Object;t.exports=function(t){return i(r(t))}},function(t,e,n){var r=n(20),i=n(51),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},function(t,e,n){var r=n(18),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},function(t,e,n){var r=n(39),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},function(t,e,n){var r=n(81),i=n(36);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r=n(12),i=n(119);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(t,e){t.exports=function(t){return null==t}},function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e,n){var r=n(26),i=n(22),o=n(103),a=n(61),s=n(37),u=n(79),c=n(23),l=n(131),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=u(e),l)try{return f(t,e)}catch(t){}if(c(t,e))return a(!i(o.f,t,e),t[e])}},function(t,e,n){var r=n(83);t.exports=function(t){return r(t.length)}},function(t,e,n){var r,i=n(24),o=n(140),a=n(106),s=n(62),u=n(141),c=n(78),l=n(80),f="prototype",p="script",d=l("IE_PROTO"),m=function(){},h=function(t){return"<"+p+">"+t+""},y=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;v="undefined"!=typeof document?document.domain&&r?y(r):(e=c("iframe"),n="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):y(r);for(var i=a.length;i--;)delete v[f][a[i]];return v()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(m[f]=i(t),n=new m,m[f]=null,n[d]=t):n=v(),void 0===e?n:o.f(n,e)}},function(t,e,n){var r;!function(e){"use strict";function i(){}var o=i.prototype,a=e.EventEmitter;function s(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}function c(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!=typeof t)&&c(t.listener)}o.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},o.flattenListeners=function(t){var e,n=[];for(e=0;ee?t.substr(0,e-1)+n:t}},{key:"hasValue",value:function(t){return!1!==l.hasValue(t)&&"String"===t.constructor.name&&0!==t.trim().length}},{key:"withDefault",value:function(t,e){return b.hasValue(t)?t:e}},{key:"finish",value:function(t,e){return b.endsWith(t,e)?t:t+e}},{key:"start",value:function(t,e){return b.startsWith(t,e)?t:e+t}},{key:"startsWith",value:function(t,e){return t.substr(0,e.length)===e}},{key:"endsWith",value:function(t,e){return t.substr(t.length-e.length)===e}},{key:"format",value:function(t){for(var e=t,n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r="{"+n+"}";e=e.replace(r,n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}return e}},{key:"ucFirst",value:function(t){return!1===b.hasValue(t)?t:1===t.length?t.toUpperCase():t.charAt(0).toUpperCase()+t.slice(1)}}],(n=null)&&v(e.prototype,n),r&&v(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),g=b;function w(t){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},w(t)}function S(t,e){for(var n=0;n0}},{key:"hasMethod",value:function(t){return l.isFunction(this.handler[t])}},{key:"redirectTo",value:function(t){this.methodRedirects.push(t)}},{key:"reactsToInstance",value:function(t){return this.reactsToCurrentSyncInstance=t,this}},{key:"clearRedirects",value:function(){this.methodRedirects=[]}},{key:"_invokeMethod",value:function(t,e){this.handler[t](e)}},{key:"triggerRedirects",value:function(t){if(this.hasRedirects())for(var e=0;e0)for(var a=0;a0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},function(t,e,n){var r=n(32),i=n(20),o=n(45),a=n(130),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},function(t,e,n){var r=n(34),i=n(39);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},function(t,e,n){var r=n(26),i=n(23),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports={}},function(t,e,n){var r=n(139),i=n(106).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(137),i=n(29);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},function(t,e,n){var r=n(29).f,i=n(23),o=n(21)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(35),i=n(18);t.exports=function(t){if("Function"===r(t))return i(t)}},function(t,e,n){var r=n(35);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(56),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},function(t,e,n){var r=n(18);t.exports=r([].slice)},function(t,e){t.exports={}},function(t,e,n){var r=n(19);t.exports=r.Promise},function(t,e,n){var r=n(19),i=n(71),o=n(20),a=n(85),s=n(102),u=n(21),c=n(232),l=n(158),f=n(31),p=n(57),d=i&&i.prototype,m=u("species"),h=!1,y=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===p)return!0;if(f&&(!d.catch||!d.finally))return!0;if(!p||p<51||!/native code/.test(t)){var n=new i((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};if((n.constructor={})[m]=r,!(h=n.then((function(){}))instanceof r))return!0}return!e&&(c||l)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:h}},function(t,e,n){"use strict";var r=n(34),i=TypeError,o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw i("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";var r=n(68),i=n(22),o=n(18),a=n(166),s=n(17),u=n(24),c=n(20),l=n(39),f=n(82),p=n(83),d=n(28),m=n(36),h=n(243),y=n(59),v=n(244),b=n(167),g=n(21)("replace"),w=Math.max,S=Math.min,_=o([].concat),k=o([].push),P=o("".indexOf),O=o("".slice),j="$0"==="a".replace(/./,"$0"),x=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(t,e,n){var o=x?"$":"$0";return[function(t,n){var r=m(this),o=l(t)?void 0:y(t,g);return o?i(o,t,r,n):i(e,d(r),t,n)},function(t,i){var a=u(this),s=d(t);if("string"==typeof i&&-1===P(i,o)&&-1===P(i,"$<")){var l=n(e,a,s,i);if(l.done)return l.value}var m=c(i);m||(i=d(i));var y=a.global;if(y){var g=a.unicode;a.lastIndex=0}for(var j=[];;){var x=b(a,s);if(null===x)break;if(k(j,x),!y)break;""===d(x[0])&&(a.lastIndex=h(s,p(a.lastIndex),g))}for(var E,T="",C=0,A=0;A=C&&(T+=O(s,C,D)+F,C=D+R.length)}return T+O(s,C)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!j||x)},function(t,e,n){n(261),n(263)},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(18),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},function(t,e,n){var r=n(19),i=n(25),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var r=n(134),i=n(58);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},function(t,e,n){var r=n(49),i=n(77),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},function(t,e,n){var r=n(18),i=n(17),o=n(35),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},function(t,e,n){var r=n(212);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},function(t,e,n){var r=n(82),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(17),i=n(20),o=/#|\.prototype\./,a=function(t,e){var n=u[s(t)];return n==l||n!=c&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){var r=n(107),i=n(20),o=n(35),a=n(21)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:u?o(e):"Object"==(r=o(e))&&i(e.callee)?"Arguments":r}},function(t,e,n){"use strict";var r=n(79),i=n(29),o=n(61);t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var r=n(53),i=n(18),o=n(81),a=n(33),s=n(42),u=n(144),c=i([].push),l=function(t){var e=1==t,n=2==t,i=3==t,l=4==t,f=6==t,p=7==t,d=5==t||f;return function(m,h,y,v){for(var b,g,w=a(m),S=o(w),_=r(h,y),k=s(S),P=0,O=v||u,j=e?O(m,k):n||p?O(m,0):void 0;k>P;P++)if((d||P in S)&&(g=_(b=S[P],P,w),t))if(e)j[P]=g;else if(g)switch(t){case 3:return!0;case 5:return b;case 6:return P;case 2:c(j,b)}else switch(t){case 4:return!1;case 7:c(j,b)}return f?-1:i||l?l:j}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(t,e,n){var r=n(18),i=n(17),o=n(20),a=n(86),s=n(32),u=n(102),c=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),m=!p.exec(c),h=function(t){if(!o(t))return!1;try{return f(c,l,t),!0}catch(t){return!1}},y=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(p,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||i((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},function(t,e,n){var r=n(220),i=n(24),o=n(221);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},function(t,e,n){var r=n(23),i=n(20),o=n(33),a=n(80),s=n(148),u=a("IE_PROTO"),c=Object,l=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=o(t);if(r(e,u))return e[u];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof c?l:null}},function(t,e,n){(function(e){var r=n(35);t.exports=void 0!==e&&"process"==r(e)}).call(this,n(226))},function(t,e,n){var r=n(53),i=n(22),o=n(24),a=n(51),s=n(159),u=n(42),c=n(45),l=n(160),f=n(117),p=n(161),d=TypeError,m=function(t,e){this.stopped=t,this.result=e},h=m.prototype;t.exports=function(t,e,n){var y,v,b,g,w,S,_,k=n&&n.that,P=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_RECORD),j=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),E=r(e,k),T=function(t){return y&&p(y,"normal",t),new m(!0,t)},C=function(t){return P?(o(t),x?E(t[0],t[1],T):E(t[0],t[1])):x?E(t,T):E(t)};if(O)y=t.iterator;else if(j)y=t;else{if(!(v=f(t)))throw d(a(t)+" is not iterable");if(s(v)){for(b=0,g=u(t);g>b;b++)if((w=C(t[b]))&&c(h,w))return w;return new m(!1)}y=l(t,v)}for(S=O?t.next:y.next;!(_=i(S,y)).done;){try{w=C(_.value)}catch(t){p(y,"throw",t)}if("object"==typeof w&&w&&c(h,w))return w}return new m(!1)}},function(t,e,n){var r=n(18),i=n(30),o=Date.prototype,a="Invalid Date",s="toString",u=r(o[s]),c=r(o.getTime);String(new Date(NaN))!=a&&i(o,s,(function(){var t=c(this);return t==t?u(this):a}))},function(t,e,n){"use strict";var r=n(60).PROPER,i=n(30),o=n(24),a=n(28),s=n(17),u=n(245),c="toString",l=RegExp.prototype[c],f=s((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=r&&l.name!=c;(f||p)&&i(RegExp.prototype,c,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(12),i=n(67),o=n(89),a=n(25),s=n(105),u=n(42),c=n(37),l=n(87),f=n(21),p=n(124),d=n(69),m=p("slice"),h=f("species"),y=Array,v=Math.max;r({target:"Array",proto:!0,forced:!m},{slice:function(t,e){var n,r,f,p=c(this),m=u(p),b=s(t,m),g=s(void 0===e?m:e,m);if(i(p)&&(n=p.constructor,(o(n)&&(n===y||i(n.prototype))||a(n)&&null===(n=n[h]))&&(n=void 0),n===y||void 0===n))return d(p,b,g);for(r=new(void 0===n?y:n)(v(g-b,0)),f=0;bl;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(82),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r={};r[n(21)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(139),i=n(106);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(18),i=n(36),o=n(28),a=n(110),s=r("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,c,"$1")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){var r=n(21),i=n(43),o=n(29).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){"use strict";var r=n(12),i=n(22),o=n(31),a=n(60),s=n(20),u=n(223),c=n(91),l=n(90),f=n(65),p=n(52),d=n(30),m=n(21),h=n(70),y=n(147),v=a.PROPER,b=a.CONFIGURABLE,g=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,S=m("iterator"),_="keys",k="values",P="entries",O=function(){return this};t.exports=function(t,e,n,a,m,y,j){u(n,e,a);var x,E,T,C=function(t){if(t===m&&I)return I;if(!w&&t in D)return D[t];switch(t){case _:case k:case P:return function(){return new n(this,t)}}return function(){return new n(this)}},A=e+" Iterator",R=!1,D=t.prototype,M=D[S]||D["@@iterator"]||m&&D[m],I=!w&&M||C(m),N="Array"==e&&D.entries||M;if(N&&(x=c(N.call(new t)))!==Object.prototype&&x.next&&(o||c(x)===g||(l?l(x,g):s(x[S])||d(x,S,O)),f(x,A,!0,!0),o&&(h[A]=O)),v&&m==k&&M&&M.name!==k&&(!o&&b?p(D,"name",k):(R=!0,I=function(){return i(M,this)})),m)if(E={values:C(k),keys:y?I:C(_),entries:C(P)},j)for(T in E)(w||R||!(T in D))&&d(D,T,E[T]);else r({target:e,proto:!0,forced:w||R},E);return o&&!j||D[S]===I||d(D,S,I,{name:m}),h[e]=I,E}},function(t,e){t.exports=function(t,e){return{value:t,done:e}}},function(t,e,n){var r=n(12),i=n(224);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},function(t,e,n){var r=n(45),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw i("Incorrect invocation")}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){var r=n(86),i=n(59),o=n(39),a=n(70),s=n(21)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[r(t)]}},function(t,e,n){var r=n(21)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r,i,o=n(22),a=n(18),s=n(28),u=n(165),c=n(240),l=n(49),f=n(43),p=n(46).get,d=n(241),m=n(242),h=l("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,b=a("".charAt),g=a("".indexOf),w=a("".replace),S=a("".slice),_=(i=/b*/g,o(y,r=/a/,"a"),o(y,i,"a"),0!==r.lastIndex||0!==i.lastIndex),k=c.BROKEN_CARET,P=void 0!==/()??/.exec("")[1];(_||P||k||d||m)&&(v=function(t){var e,n,r,i,a,c,l,d=this,m=p(d),O=s(t),j=m.raw;if(j)return j.lastIndex=d.lastIndex,e=o(v,j,O),d.lastIndex=j.lastIndex,e;var x=m.groups,E=k&&d.sticky,T=o(u,d),C=d.source,A=0,R=O;if(E&&(T=w(T,"y",""),-1===g(T,"g")&&(T+="g"),R=S(O,d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==b(O,d.lastIndex-1))&&(C="(?: "+C+")",R=" "+R,A++),n=new RegExp("^(?:"+C+")",T)),P&&(n=new RegExp("^"+C+"$(?!\\s)",T)),_&&(r=d.lastIndex),i=o(y,E?n:d,R),E?i?(i.input=S(i.input,A),i[0]=S(i[0],A),i.index=d.lastIndex,d.lastIndex+=i[0].length):d.lastIndex=0:_&&i&&(d.lastIndex=d.global?i.index+i[0].length:r),P&&i&&i.length>1&&o(h,i[0],n,(function(){for(a=1;a1?arguments[1]:void 0,r=e.length,i=void 0===n?r:h(s(n),r),o=u(t);return d?d(e,o,i):m(e,i-o.length,i)===o}})},function(t,e,n){var r=n(247),i=TypeError;t.exports=function(t){if(r(t))throw i("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(21)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r,i=n(12),o=n(66),a=n(41).f,s=n(83),u=n(28),c=n(121),l=n(36),f=n(122),p=n(31),d=o("".startsWith),m=o("".slice),h=Math.min,y=f("startsWith");i({target:"String",proto:!0,forced:!!(p||y||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!y},{startsWith:function(t){var e=u(l(this));c(t);var n=s(h(arguments.length>1?arguments[1]:void 0,e.length)),r=u(t);return d?d(e,r,n):m(e,n,n+r.length)===r}})},function(t,e,n){var r=n(17),i=n(21),o=n(57),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";var r=n(12),i=n(17),o=n(67),a=n(25),s=n(33),u=n(42),c=n(259),l=n(87),f=n(144),p=n(124),d=n(21),m=n(57),h=d("isConcatSpreadable"),y=m>=51||!i((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(t){var e,n,r,i,o,a=s(this),p=f(a,0),d=0;for(e=-1,r=arguments.length;e1?arguments[1]:void 0)}})},function(t,e,n){var r;t.exports=(r=n(264),function(t){var e=r,n=e.lib,i=n.WordArray,o=n.Hasher,a=e.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var r=e+n,i=t[r];t[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=t[e+0],u=t[e+1],d=t[e+2],m=t[e+3],h=t[e+4],y=t[e+5],v=t[e+6],b=t[e+7],g=t[e+8],w=t[e+9],S=t[e+10],_=t[e+11],k=t[e+12],P=t[e+13],O=t[e+14],j=t[e+15],x=o[0],E=o[1],T=o[2],C=o[3];x=c(x,E,T,C,a,7,s[0]),C=c(C,x,E,T,u,12,s[1]),T=c(T,C,x,E,d,17,s[2]),E=c(E,T,C,x,m,22,s[3]),x=c(x,E,T,C,h,7,s[4]),C=c(C,x,E,T,y,12,s[5]),T=c(T,C,x,E,v,17,s[6]),E=c(E,T,C,x,b,22,s[7]),x=c(x,E,T,C,g,7,s[8]),C=c(C,x,E,T,w,12,s[9]),T=c(T,C,x,E,S,17,s[10]),E=c(E,T,C,x,_,22,s[11]),x=c(x,E,T,C,k,7,s[12]),C=c(C,x,E,T,P,12,s[13]),T=c(T,C,x,E,O,17,s[14]),x=l(x,E=c(E,T,C,x,j,22,s[15]),T,C,u,5,s[16]),C=l(C,x,E,T,v,9,s[17]),T=l(T,C,x,E,_,14,s[18]),E=l(E,T,C,x,a,20,s[19]),x=l(x,E,T,C,y,5,s[20]),C=l(C,x,E,T,S,9,s[21]),T=l(T,C,x,E,j,14,s[22]),E=l(E,T,C,x,h,20,s[23]),x=l(x,E,T,C,w,5,s[24]),C=l(C,x,E,T,O,9,s[25]),T=l(T,C,x,E,m,14,s[26]),E=l(E,T,C,x,g,20,s[27]),x=l(x,E,T,C,P,5,s[28]),C=l(C,x,E,T,d,9,s[29]),T=l(T,C,x,E,b,14,s[30]),x=f(x,E=l(E,T,C,x,k,20,s[31]),T,C,y,4,s[32]),C=f(C,x,E,T,g,11,s[33]),T=f(T,C,x,E,_,16,s[34]),E=f(E,T,C,x,O,23,s[35]),x=f(x,E,T,C,u,4,s[36]),C=f(C,x,E,T,h,11,s[37]),T=f(T,C,x,E,b,16,s[38]),E=f(E,T,C,x,S,23,s[39]),x=f(x,E,T,C,P,4,s[40]),C=f(C,x,E,T,a,11,s[41]),T=f(T,C,x,E,m,16,s[42]),E=f(E,T,C,x,v,23,s[43]),x=f(x,E,T,C,w,4,s[44]),C=f(C,x,E,T,k,11,s[45]),T=f(T,C,x,E,j,16,s[46]),x=p(x,E=f(E,T,C,x,d,23,s[47]),T,C,a,6,s[48]),C=p(C,x,E,T,b,10,s[49]),T=p(T,C,x,E,O,15,s[50]),E=p(E,T,C,x,y,21,s[51]),x=p(x,E,T,C,k,6,s[52]),C=p(C,x,E,T,m,10,s[53]),T=p(T,C,x,E,S,15,s[54]),E=p(E,T,C,x,u,21,s[55]),x=p(x,E,T,C,g,6,s[56]),C=p(C,x,E,T,j,10,s[57]),T=p(T,C,x,E,v,15,s[58]),E=p(E,T,C,x,P,21,s[59]),x=p(x,E,T,C,h,6,s[60]),C=p(C,x,E,T,_,10,s[61]),T=p(T,C,x,E,d,15,s[62]),E=p(E,T,C,x,w,21,s[63]),o[0]=o[0]+x|0,o[1]=o[1]+E|0,o[2]=o[2]+T|0,o[3]=o[3]+C|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,e,n,r,i,o,a){var s=t+(e&n|~e&r)+i+a;return(s<>>32-o)+e}function l(t,e,n,r,i,o,a){var s=t+(e&r|n&~r)+i+a;return(s<>>32-o)+e}function f(t,e,n,r,i,o,a){var s=t+(e^n^r)+i+a;return(s<>>32-o)+e}function p(t,e,n,r,i,o,a){var s=t+(n^(e|~r))+i+a;return(s<>>32-o)+e}e.MD5=o._createHelper(u),e.HmacMD5=o._createHmacHelper(u)}(Math),r.MD5)},function(t,e,n){var r=n(19);t.exports=r},function(t,e,n){var r=n(21);e.f=r},function(t,e,n){var r=n(50);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(26),i=n(17),o=n(78);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},function(t,e,n){var r=n(26),i=n(17);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var r=n(22),i=n(25),o=n(58),a=n(59),s=n(135),u=n(21),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,u=a(t,l);if(u){if(void 0===e&&(e="default"),n=r(u,t,e),!i(n)||o(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},function(t,e,n){var r=n(22),i=n(20),o=n(25),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},function(t,e,n){var r=n(22),i=n(32),o=n(21),a=n(30);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return r(n,this)}),{arity:1})}},function(t,e,n){var r=n(18),i=n(17),o=n(20),a=n(23),s=n(26),u=n(60).CONFIGURABLE,c=n(102),l=n(46),f=l.enforce,p=l.get,d=String,m=Object.defineProperty,h=r("".slice),y=r("".replace),v=r([].join),b=s&&!i((function(){return 8!==m((function(){}),"length",{value:8}).length})),g=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===h(d(e),0,7)&&(e="["+y(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?m(t,"name",{value:e,configurable:!0}):t.name=e),b&&n&&a(n,"arity")&&t.length!==n.arity&&m(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&m(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return a(r,"source")||(r.source=v(g,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&p(this).source||c(this)}),"toString")},function(t,e,n){var r=n(23),i=n(211),o=n(41),a=n(29);t.exports=function(t,e,n){for(var s=i(e),u=a.f,c=o.f,l=0;lc;)i(r,n=e[c++])&&(~a(l,n)||u(l,n));return l}},function(t,e,n){var r=n(26),i=n(133),o=n(29),a=n(24),s=n(37),u=n(108);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=u(e),c=i.length,l=0;c>l;)o.f(t,n=i[l++],r[n]);return t}},function(t,e,n){var r=n(32);t.exports=r("document","documentElement")},function(t,e,n){var r=n(35),i=n(37),o=n(63).f,a=n(143),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},function(t,e,n){var r=n(105),i=n(42),o=n(87),a=Array,s=Math.max;t.exports=function(t,e,n){for(var u=i(t),c=r(e,u),l=r(void 0===n?u:n,u),f=a(s(l-c,0)),p=0;c=d?t?"":void 0:(r=u(f,p))<55296||r>56319||p+1===d||(l=u(f,p+1))<56320||l>57343?t?s(f,p):r:t?c(f,p,p+2):l-56320+(r-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(78)("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},function(t,e,n){"use strict";var r=n(32),i=n(64),o=n(21),a=n(26),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(89),i=n(51),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a constructor")}},function(t,e,n){var r,i,o,a,s=n(19),u=n(68),c=n(53),l=n(20),f=n(23),p=n(17),d=n(141),m=n(69),h=n(78),y=n(155),v=n(156),b=n(92),g=s.setImmediate,w=s.clearImmediate,S=s.process,_=s.Dispatch,k=s.Function,P=s.MessageChannel,O=s.String,j=0,x={},E="onreadystatechange";p((function(){r=s.location}));var T=function(t){if(f(x,t)){var e=x[t];delete x[t],e()}},C=function(t){return function(){T(t)}},A=function(t){T(t.data)},R=function(t){s.postMessage(O(t),r.protocol+"//"+r.host)};g&&w||(g=function(t){y(arguments.length,1);var e=l(t)?t:k(t),n=m(arguments,1);return x[++j]=function(){u(e,void 0,n)},i(j),j},w=function(t){delete x[t]},b?i=function(t){S.nextTick(C(t))}:_&&_.now?i=function(t){_.now(C(t))}:P&&!v?(a=(o=new P).port2,o.port1.onmessage=A,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!p(R)?(i=R,s.addEventListener("message",A,!1)):i=E in h("script")?function(t){d.appendChild(h("script"))[E]=function(){d.removeChild(this),T(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:g,clear:w}},function(t,e){var n=TypeError;t.exports=function(t,e){if(t1?arguments[1]:void 0)}}),o(a)},function(t,e,n){"use strict";var r,i=n(19),o=n(68),a=n(20),s=n(262),u=n(40),c=n(69),l=n(155),f=i.Function,p=/MSIE .\./.test(u)||s&&((r=i.Bun.version.split(".")).length<3||0==r[0]&&(r[1]<3||3==r[1]&&0==r[2]));t.exports=function(t,e){var n=e?2:1;return p?function(r,i){var s=l(arguments.length,1)>n,u=a(r)?r:f(r),p=s?c(arguments,n):[],d=s?function(){o(u,this,p)}:u;return e?t(d,i):t(d)}:t}},function(t,e,n){"use strict";var r=n(12),i=n(104).includes,o=n(17),a=n(111);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(t,e,n){"use strict";var r=n(12),i=n(18),o=n(121),a=n(36),s=n(28),u=n(122),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(12),i=n(177);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,n){"use strict";var r=n(88).forEach,i=n(98)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var r=n(19),i=n(150),o=n(151),a=n(177),s=n(52),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var c in i)i[c]&&u(r[c]&&r[c].prototype);u(o)},function(t,e,n){var r=n(12),i=n(18),o=n(62),a=n(25),s=n(23),u=n(29).f,c=n(63),l=n(142),f=n(278),p=n(77),d=n(280),m=!1,h=p("meta"),y=0,v=function(t){u(t,h,{value:{objectID:"O"+y++,weakData:{}}})},b=t.exports={enable:function(){b.enable=function(){},m=!0;var t=c.f,e=i([].splice),n={};n[h]=1,t(n).length&&(c.f=function(n){for(var r=t(n),i=0,o=r.length;i3)){if(m)return!0;if(y)return y<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:e+r,v:n})}for(v.sort((function(t,e){return e.v-t.v})),r=0;rc(n)?1:-1}}(t)),n=s(i),r=0;r"undefined"!=typeof self&&self&&e in self?self:"undefined"!=typeof window&&window&&e in window?window:void 0!==t&&t&&e in t?t:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0,i=["Headers","Request","Response","ReadableStream","fetch","AbortController","FormData"];for(const t of i)Object.defineProperty(n,t,{get(){const e=r(t),n=e&&e[t];return"function"==typeof n?n.bind(e):n}});const o=t=>null!==t&&"object"==typeof t,a="function"==typeof n.AbortController,s="function"==typeof n.ReadableStream,u="function"==typeof n.FormData,c=(t,e)=>{const r=new n.Headers(t||{}),i=e instanceof n.Headers,o=new n.Headers(e||{});for(const[t,e]of o)i&&"undefined"===e||void 0===e?r.delete(t):r.set(t,e);return r},l=(...t)=>{let e={},n={};for(const r of t){if(Array.isArray(r))Array.isArray(e)||(e=[]),e=[...e,...r];else if(o(r)){for(let[t,n]of Object.entries(r))o(n)&&Reflect.has(e,t)&&(n=l(e[t],n)),e={...e,[t]:n};o(r.headers)&&(n=c(n,r.headers))}e.headers=n}return e},f=["get","post","put","patch","head","delete"],p={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},d=[413,429,503],m=Symbol("stop");class h extends Error{constructor(t){super(t.statusText||String(0===t.status||t.status?t.status:"Unknown response error")),this.name="HTTPError",this.response=t}}class y extends Error{constructor(t){super("Request timed out"),this.name="TimeoutError",this.request=t}}const v=t=>new Promise((e=>setTimeout(e,t))),b=t=>f.includes(t)?t.toUpperCase():t,g={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:d},w=(t={})=>{if("number"==typeof t)return{...g,limit:t};if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return{...g,...t,afterStatusCodes:d}},S=2147483647;class _{constructor(t,e={}){if(this._retryCount=0,this._input=t,this._options={credentials:this._input.credentials||"same-origin",...e,headers:c(this._input.headers,e.headers),hooks:l({beforeRequest:[],beforeRetry:[],afterResponse:[]},e.hooks),method:b(e.method||this._input.method),prefixUrl:String(e.prefixUrl||""),retry:w(e.retry),throwHttpErrors:!1!==e.throwHttpErrors,timeout:void 0===e.timeout?1e4:e.timeout,fetch:e.fetch||n.fetch},"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof n.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(a&&(this.abortController=new n.AbortController,this._options.signal&&this._options.signal.addEventListener("abort",(()=>{this.abortController.abort()})),this._options.signal=this.abortController.signal),this.request=new n.Request(this._input,this._options),this._options.searchParams){const t="?"+new URLSearchParams(this._options.searchParams).toString(),e=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,t);!(u&&this._options.body instanceof n.FormData||this._options.body instanceof URLSearchParams)||this._options.headers&&this._options.headers["content-type"]||this.request.headers.delete("content-type"),this.request=new n.Request(new n.Request(e,this.request),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type","application/json"),this.request=new n.Request(this.request,{body:this._options.body}));const r=async()=>{if(this._options.timeout>S)throw new RangeError("The `timeout` option cannot be greater than 2147483647");await v(1);let t=await this._fetch();for(const e of this._options.hooks.afterResponse){const r=await e(this.request,this._options,t.clone());r instanceof n.Response&&(t=r)}if(!t.ok&&this._options.throwHttpErrors)throw new h(t);if(this._options.onDownloadProgress){if("function"!=typeof this._options.onDownloadProgress)throw new TypeError("The `onDownloadProgress` option must be a function");if(!s)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");return this._stream(t.clone(),this._options.onDownloadProgress)}return this._options.parseJson&&(t.json=async()=>this._options.parseJson(await t.text())),t},i=this._options.retry.methods.includes(this.request.method.toLowerCase())?this._retry(r):r();for(const[t,n]of Object.entries(p))i[t]=async()=>{this.request.headers.set("accept",this.request.headers.get("accept")||n);const r=(await i).clone();if("json"===t){if(204===r.status)return"";if(e.parseJson)return e.parseJson(await r.text())}return r[t]()};return i}_calculateRetryDelay(t){if(this._retryCount++,this._retryCountthis._options.retry.maxRetryAfter?0:t}if(413===t.response.status)return 0}return.3*2**(this._retryCount-1)*1e3}return 0}async _retry(t){try{return await t()}catch(e){const n=Math.min(this._calculateRetryDelay(e),S);if(0!==n&&this._retryCount>0){await v(n);for(const t of this._options.hooks.beforeRetry){if(await t({request:this.request,options:this._options,error:e,response:e.response.clone(),retryCount:this._retryCount})===m)return}return this._retry(t)}if(this._options.throwHttpErrors)throw e}}async _fetch(){for(const t of this._options.hooks.beforeRequest){const e=await t(this.request,this._options);if(e instanceof Request){this.request=e;break}if(e instanceof Response)return e}return!1===this._options.timeout?this._options.fetch(this.request.clone()):(t=this.request.clone(),e=this.abortController,n=this._options,new Promise(((r,i)=>{const o=setTimeout((()=>{e&&e.abort(),i(new y(t))}),n.timeout);n.fetch(t).then(r).catch(i).then((()=>{clearTimeout(o)}))})));var t,e,n}_stream(t,e){const r=Number(t.headers.get("content-length"))||0;let i=0;return new n.Response(new n.ReadableStream({start(n){const o=t.body.getReader();e&&e({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array),async function t(){const{done:a,value:s}=await o.read();if(a)n.close();else{if(e){i+=s.byteLength;e({percent:0===r?0:i/r,transferredBytes:i,totalBytes:r},s)}n.enqueue(s),t()}}()}}))}}const k=(...t)=>{for(const e of t)if((!o(e)||Array.isArray(e))&&void 0!==e)throw new TypeError("The `options` argument must be an object");return l({},...t)},P=t=>{const e=(e,n)=>new _(e,k(t,n));for(const n of f)e[n]=(e,r)=>new _(e,k(t,r,{method:n}));return e.HTTPError=h,e.TimeoutError=y,e.create=t=>P(k(t)),e.extend=e=>P(k(t,e)),e.stop=m,e};e.a=P()}).call(this,n(76))},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ titleMessage }}

{{ actionState.unauthorizedMessage }}

EC-{{ actionState.missingPermission }}: {{ transErrorCode(actionState.missingPermission) }}

{{ actionState.message }}

{{ progressMessage }}

{{ trans(\'errors.process_long_process\') }}

{{ actionState.abandonMessage }}

{{ errorMessage }}

{{ this.actionState.clientErrorMessage }}

{{ this.actionState.repeatedFailureMessage }}

{{ trans(\'errors.loading_error_log\') }}

{{ trans(\'errors.no_error_details\') }}

{{ trans(\'errors.submit_error_report_request\') }}

'},function(t,e){t.exports='
{{ displayText }}
'},function(t,e){t.exports='
'},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ trans(\'display.header_author\') }} {{ trans(\'display.header_comment\') }}
{{ trans(\'display.header_author\') }}
{{ trans(\'display.header_comment\') }}

{{ trans(\'display.thread_single_response\') }} {{ comments.threads[0].name | meerkatTruncate(75) }}

'},function(t,e){t.exports='

{{ comment.localDateFormatted }}

'},function(t,e){t.exports='
{{ trans(\'display.thread_multiple_response\') }} {{ comment.getThreadName() | meerkatTruncate(25) }}
'},function(t,e){t.exports=' '},function(t,e){t.exports='
{{ trans(\'display.author_in_reply_to\') }}:
{{ author.name | meerkatTruncate(15) }}
'},function(t,e){t.exports='
'},function(t,e){t.exports='
'},function(t,e){t.exports='
{{ manager.orders[column] }}
'},function(t,e){t.exports='

{{ trans(\'filters.no_data\') }}

{{ trans(\'filters.no_data_filter\') }}

'},function(t,e){t.exports='

{{ trans(\'display.header_configure\') }}

{{ trans(\'config.server_changes_warning_title\') }}

{{ trans(\'config.server_changes_warning_message\') }} {{ trans(\'config.server_changes_warning_reload_prompt\') }}

{{ trans(\'config.managed_notice\') }}

'},function(t,e){t.exports='

{{ trans(\'config.preferences_desc\') }}

{{ trans(\'config.avatar_desc\') }}

{{ trans(\'config.per_page_desc\') }}

{{ trans(\'config.publishing_desc\') }}

{{ trans(\'config.publish_auto_desc\') }}

{{ trans(\'config.only_accept_comments_from_authenticated_users_desc\') }}

{{ trans(\'config.publish_user_auto_desc\') }}

{{ trans(\'config.close_threads_desc\') }}

'},function(t,e){t.exports='

{{ trans(\'config.spam_general_desc\') }}

{{ trans(\'config.auto_check_spam_desc\') }}

{{ trans(\'config.auto_delete_spam_desc\') }}

{{ trans(\'config.check_all_spam_guards_desc\') }}

{{ trans(\'config.unpublish_on_guard_failures_desc\') }}

{{ trans(\'config.submit_moderator_results_desc\') }}

{{ trans(\'config.spam_guards_desc\') }}

{{ trans(\'config.table_spam_guard\') }} {{ trans(\'config.table_enabled\') }}
{{ guard.name }}

{{ trans(\'config.akismet_desc\') }}

{{ trans(\'config.akismet_api_key_desc\') }}

{{ trans(\'config.akismet_front_page_desc\') }}

{{ state.currentMessage }}

'},function(t,e){t.exports='

{{ trans(\'config.ip_filter_desc\') }}

{{ trans(\'config.ip_filter_blocked_desc\') }} {{ trans(\'config.ip_filter_managed_notice\') }} {{ trans(\'config.ip_filter_view_defaults\') }}

{{ trans(\'config.ip_filter_default_title\') }}

{{ trans(\'config.ip_filter_default_desc\') }}

  • {{ address }}
'},function(t,e){t.exports='

{{ trans(\'config.permissions_desc\') }}

{{ trans(\'config.table_user_group\') }} {{ trans(\'config.table_all\') }} {{ trans(\'config.table_view_comments\') }} {{ trans(\'config.table_approve\') }} {{ trans(\'config.table_unapprove\') }} {{ trans(\'config.table_edit\') }} {{ trans(\'config.table_reply\') }} {{ trans(\'config.table_report_ham\') }} {{ trans(\'config.table_report_spam\') }} {{ trans(\'config.table_delete\') }}
{{ perm.name }}
'},function(t,e){t.exports='

{{ trans(\'config.word_filter_desc\') }}

{{ trans(\'config.word_filter_banned_desc\') }} {{ trans(\'config.word_filter_managed_notice\') }} {{ trans(\'config.word_filter_view_defaults\') }}

{{ trans(\'config.word_filter_default_title\') }}

{{ trans(\'config.word_filter_default_desc\') }}

  • {{ word }}
'},function(t,e){t.exports="

{{ trans('config.privacy_desc') }}

{{ trans('config.privacy_table_data') }} {{ trans('config.privacy_table_enabled') }}
{{ trans('config.privacy_store_user_agent_desc') }}
{{ trans('config.privacy_store_user_ip_desc') }}
{{ trans('config.privacy_store_referrer_desc') }}
"},function(t,e){t.exports='

{{ trans(\'config.email_general_desc\') }}

{{ trans(\'config.email_send_mail_desc\') }}

{{ trans(\'config.email_check_spam_guard_desc\') }}

{{ trans(\'config.email_addresses_desc\') }} {{ trans(\'config.email_addresses_notice\') }} {{ trans(\'config.email_addresses_view_defaults\') }}

{{ trans(\'config.email_addresses_default_title\') }}

{{ trans(\'config.email_addresses_default_desc\') }}

  • {{ address }}
'},function(t,e,n){t.exports=n(301)},function(t,e,n){var r=n(19),i=n(20),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},function(t,e,n){"use strict";var r=n(24),i=n(135),o=TypeError;t.exports=function(t){if(r(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw o("Incorrect hint");return i(this,t)}},function(t,e,n){"use strict";var r=n(12),i=n(19),o=n(22),a=n(18),s=n(31),u=n(26),c=n(50),l=n(17),f=n(23),p=n(45),d=n(24),m=n(37),h=n(79),y=n(28),v=n(61),b=n(43),g=n(108),w=n(63),S=n(142),_=n(84),k=n(41),P=n(29),O=n(140),j=n(103),x=n(30),E=n(64),T=n(49),C=n(80),A=n(62),R=n(77),D=n(21),M=n(129),I=n(99),N=n(136),L=n(65),F=n(46),V=n(88).forEach,q=C("hidden"),H="Symbol",B="prototype",U=F.set,Z=F.getterFor(H),$=Object[B],z=i.Symbol,W=z&&z[B],J=i.TypeError,G=i.QObject,Y=k.f,K=P.f,Q=S.f,X=j.f,tt=a([].push),et=T("symbols"),nt=T("op-symbols"),rt=T("wks"),it=!G||!G[B]||!G[B].findChild,ot=u&&l((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y($,e);r&&delete $[e],K(t,e,n),r&&t!==$&&K($,e,r)}:K,at=function(t,e){var n=et[t]=b(W);return U(n,{type:H,tag:t,description:e}),u||(n.description=e),n},st=function(t,e,n){t===$&&st(nt,e,n),d(t);var r=h(e);return d(n),f(et,r)?(n.enumerable?(f(t,q)&&t[q][r]&&(t[q][r]=!1),n=b(n,{enumerable:v(0,!1)})):(f(t,q)||K(t,q,v(1,{})),t[q][r]=!0),ot(t,r,n)):K(t,r,n)},ut=function(t,e){d(t);var n=m(e),r=g(n).concat(pt(n));return V(r,(function(e){u&&!o(ct,n,e)||st(t,e,n[e])})),t},ct=function(t){var e=h(t),n=o(X,this,e);return!(this===$&&f(et,e)&&!f(nt,e))&&(!(n||!f(this,e)||!f(et,e)||f(this,q)&&this[q][e])||n)},lt=function(t,e){var n=m(t),r=h(e);if(n!==$||!f(et,r)||f(nt,r)){var i=Y(n,r);return!i||!f(et,r)||f(n,q)&&n[q][r]||(i.enumerable=!0),i}},ft=function(t){var e=Q(m(t)),n=[];return V(e,(function(t){f(et,t)||f(A,t)||tt(n,t)})),n},pt=function(t){var e=t===$,n=Q(e?nt:m(t)),r=[];return V(n,(function(t){!f(et,t)||e&&!f($,t)||tt(r,et[t])})),r};c||(z=function(){if(p(W,this))throw J("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),n=function(t){this===$&&o(n,nt,t),f(this,q)&&f(this[q],e)&&(this[q][e]=!1),ot(this,e,v(1,t))};return u&&it&&ot($,e,{configurable:!0,set:n}),at(e,t)},x(W=z[B],"toString",(function(){return Z(this).tag})),x(z,"withoutSetter",(function(t){return at(R(t),t)})),j.f=ct,P.f=st,O.f=ut,k.f=lt,w.f=S.f=ft,_.f=pt,M.f=function(t){return at(D(t),t)},u&&(E(W,"description",{configurable:!0,get:function(){return Z(this).description}}),s||x($,"propertyIsEnumerable",ct,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:z}),V(g(rt),(function(t){I(t)})),r({target:H,stat:!0,forced:!c},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?b(t):ut(b(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:lt}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ft}),N(),L(z,H),A[q]=!0},function(t,e,n){var r=n(32),i=n(18),o=n(63),a=n(84),s=n(24),u=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?u(e,n(t)):e}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},function(t,e,n){var r=n(67),i=n(89),o=n(25),a=n(21)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},function(t,e,n){var r=n(12),i=n(32),o=n(23),a=n(28),s=n(49),u=n(145),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(c,e))return c[e];var n=i("Symbol")(e);return c[e]=n,l[n]=e,n}})},function(t,e,n){var r=n(12),i=n(23),o=n(58),a=n(51),s=n(49),u=n(145),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(i(c,t))return c[t]}})},function(t,e,n){var r=n(12),i=n(32),o=n(68),a=n(22),s=n(18),u=n(17),c=n(20),l=n(58),f=n(69),p=n(217),d=n(50),m=String,h=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),b=s("".charCodeAt),g=s("".replace),w=s(1..toString),S=/[\uD800-\uDFFF]/g,_=/^[\uD800-\uDBFF]$/,k=/^[\uDC00-\uDFFF]$/,P=!d||u((function(){var t=i("Symbol")();return"[null]"!=h([t])||"{}"!=h({a:t})||"{}"!=h(Object(t))})),O=u((function(){return'"\\udf06\\ud834"'!==h("\udf06\ud834")||'"\\udead"'!==h("\udead")})),j=function(t,e){var n=f(arguments),r=p(e);if(c(r)||void 0!==t&&!l(t))return n[1]=function(t,e){if(c(r)&&(e=a(r,this,m(t),e)),!l(e))return e},o(h,null,n)},x=function(t,e,n){var r=v(n,e-1),i=v(n,e+1);return y(_,t)&&!y(k,i)||y(k,t)&&!y(_,r)?"\\u"+w(b(t,0),16):t};h&&r({target:"JSON",stat:!0,arity:3,forced:P||O},{stringify:function(t,e,n){var r=f(arguments),i=o(P?j:h,null,r);return O&&"string"==typeof i?g(i,S,x):i}})},function(t,e,n){var r=n(18),i=n(67),o=n(20),a=n(35),s=n(28),u=r([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,n=[],r=0;ra;)for(var h,y=f(arguments[a++]),v=p?m(s(y),p(y)):s(y),b=v.length,g=0;b>g;)h=v[g++],r&&!o(d,y,h)||(n[h]=y[h]);return n}:p},function(t,e,n){"use strict";var r,i,o,a=n(12),s=n(31),u=n(92),c=n(19),l=n(22),f=n(30),p=n(90),d=n(65),m=n(152),h=n(34),y=n(20),v=n(25),b=n(115),g=n(227),w=n(154).set,S=n(228),_=n(231),k=n(116),P=n(157),O=n(46),j=n(71),x=n(72),E=n(73),T="Promise",C=x.CONSTRUCTOR,A=x.REJECTION_EVENT,R=x.SUBCLASSING,D=O.getterFor(T),M=O.set,I=j&&j.prototype,N=j,L=I,F=c.TypeError,V=c.document,q=c.process,H=E.f,B=H,U=!!(V&&V.createEvent&&c.dispatchEvent),Z="unhandledrejection",$=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},z=function(t,e){var n,r,i,o=e.value,a=1==e.state,s=a?t.ok:t.fail,u=t.resolve,c=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&K(e),e.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===t.promise?c(F("Promise-chain cycle")):(r=$(n))?l(r,n,u,c):u(n)):c(o)}catch(t){f&&!i&&f.exit(),c(t)}},W=function(t,e){t.notified||(t.notified=!0,S((function(){for(var n,r=t.reactions;n=r.get();)z(n,t);t.notified=!1,e&&!t.rejection&&G(t)})))},J=function(t,e,n){var r,i;U?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},!A&&(i=c["on"+t])?i(r):t===Z&&_("Unhandled promise rejection",n)},G=function(t){l(w,c,(function(){var e,n=t.facade,r=t.value;if(Y(t)&&(e=k((function(){u?q.emit("unhandledRejection",r,n):J(Z,n,r)})),t.rejection=u||Y(t)?2:1,e.error))throw e.value}))},Y=function(t){return 1!==t.rejection&&!t.parent},K=function(t){l(w,c,(function(){var e=t.facade;u?q.emit("rejectionHandled",e):J("rejectionhandled",e,t.value)}))},Q=function(t,e,n){return function(r){t(e,r,n)}},X=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,W(t,!0))},tt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw F("Promise can't be resolved itself");var r=$(e);r?S((function(){var n={done:!1};try{l(r,e,Q(tt,n,t),Q(X,n,t))}catch(e){X(n,e,t)}})):(t.value=e,t.state=1,W(t,!1))}catch(e){X({done:!1},e,t)}}};if(C&&(L=(N=function(t){b(this,L),h(t),l(r,this);var e=D(this);try{t(Q(tt,e),Q(X,e))}catch(t){X(e,t)}}).prototype,(r=function(t){M(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(t,e){var n=D(this),r=H(g(this,N));return n.parent=!0,r.ok=!y(t)||t,r.fail=y(e)&&e,r.domain=u?q.domain:void 0,0==n.state?n.reactions.add(r):S((function(){z(r,n)})),r.promise})),i=function(){var t=new r,e=D(t);this.promise=t,this.resolve=Q(tt,e),this.reject=Q(X,e)},E.f=H=function(t){return t===N||undefined===t?new i(t):B(t)},!s&&y(j)&&I!==Object.prototype)){o=I.then,R||f(I,"then",(function(t,e){var n=this;return new N((function(t,e){l(o,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}p&&p(I,L)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:N}),d(N,T,!1,!0),m(T)},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f1)for(var n=1;n>>0||(d(p,n)?16:10))}:c},function(t,e,n){var r=n(17),i=n(19).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},function(t,e,n){var r=n(17),i=n(19).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},function(t,e,n){var r=n(17),i=n(19).RegExp;t.exports=r((function(){var t=i("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},function(t,e,n){"use strict";var r=n(149).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(18),i=n(33),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,f,p){var d=n+t.length,m=r.length,h=l;return void 0!==f&&(f=i(f),h=c),s(p,h,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,n);case"'":return u(e,d);case"<":c=f[u(s,1,-1)];break;default:var l=+s;if(0===l)return i;if(l>m){var p=o(l/10);return 0===p?i:p<=m?void 0===r[p-1]?a(s,1):r[p-1]+a(s,1):i}c=r[l-1]}return void 0===c?"":c}))}},function(t,e,n){var r=n(22),i=n(23),o=n(45),a=n(165),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},function(t,e,n){var r=n(60).PROPER,i=n(17),o=n(110);t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||r&&o[t].name!==t}))}},function(t,e,n){var r=n(25),i=n(35),o=n(21)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(55),i=r.slice,o=r.pluck,a=r.each,s=r.bind,u=r.create,c=r.isList,l=r.isFunction,f=r.isObject;t.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(t,e){var n=this.storage.read(this._namespacePrefix+t);return this._deserialize(n,e)},set:function(t,e){return void 0===e?this.remove(t):(this.storage.write(this._namespacePrefix+t,this._serialize(e)),e)},remove:function(t){this.storage.remove(this._namespacePrefix+t)},each:function(t){var e=this;this.storage.each((function(n,r){t.call(e,e._deserialize(n),(r||"").replace(e._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(t){return this._namespacePrefix=="__storejs_"+t+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(t){this._addPlugin(t)},namespace:function(t){return d(this.storage,this.plugins,t)}};function d(t,e,n){n||(n=""),t&&!c(t)&&(t=[t]),e&&!c(e)&&(e=[e]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(t){try{var e="__storejs__test__";t.write(e,e);var n=t.read(e)===e;return t.remove(e),n}catch(t){return!1}},_assignPluginFnProp:function(t,e){var n=this[e];this[e]=function(){var e=i(arguments,0),r=this;var o=[function(){if(n)return a(arguments,(function(t,n){e[n]=t})),n.apply(r,e)}].concat(e);return t.apply(r,o)}},_serialize:function(t){return JSON.stringify(t)},_deserialize:function(t,e){if(!t)return e;var n="";try{n=JSON.parse(t)}catch(e){n=t}return void 0!==n?n:e},_addStorage:function(t){this.enabled||this._testStorage(t)&&(this.storage=t,this.enabled=!0)},_addPlugin:function(t){var e=this;if(c(t))a(t,(function(t){e._addPlugin(t)}));else if(!o(this.plugins,(function(e){return t===e}))){if(this.plugins.push(t),!l(t))throw new Error("Plugins must be function values that return objects");var n=t.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+t.name+". Plugins should only return functions.");e._assignPluginFnProp(n,r)}))}},addStorage:function(t){!function(){var t="undefined"==typeof console?null:console;t&&(t.warn?t.warn:t.log).apply(t,arguments)}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(t)}},h=u(m,p,{plugins:[]});return h.raw={},a(h,(function(t,e){l(t)&&(h.raw[e]=s(h,t))})),a(t,(function(t){h._addStorage(t)})),a(e,(function(t){h._addPlugin(t)})),h}},function(t,e,n){t.exports=[n(250),n(251),n(252),n(253),n(254),n(255)]},function(t,e,n){var r=n(55).Global;function i(){return r.localStorage}function o(t){return i().getItem(t)}t.exports={name:"localStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e,n){var r=n(55).Global;t.exports={name:"oldFF-globalStorage",read:function(t){return i[t]},write:function(t,e){i[t]=e},each:o,remove:function(t){return i.removeItem(t)},clearAll:function(){o((function(t,e){delete i[t]}))}};var i=r.globalStorage;function o(t){for(var e=i.length-1;e>=0;e--){var n=i.key(e);t(i[n],n)}}},function(t,e,n){var r=n(55).Global;t.exports={name:"oldIE-userDataStorage",write:function(t,e){if(s)return;var n=c(t);a((function(t){t.setAttribute(n,e),t.save(i)}))},read:function(t){if(s)return;var e=c(t),n=null;return a((function(t){n=t.getAttribute(e)})),n},each:function(t){a((function(e){for(var n=e.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var i=n[r];t(e.getAttribute(i.name),i.name)}}))},remove:function(t){var e=c(t);a((function(t){t.removeAttribute(e),t.save(i)}))},clearAll:function(){a((function(t){var e=t.XMLDocument.documentElement.attributes;t.load(i);for(var n=e.length-1;n>=0;n--)t.removeAttribute(e[n].name);t.save(i)}))}};var i="storejs",o=r.document,a=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var t,e,n,r="script";try{(e=new ActiveXObject("htmlfile")).open(),e.write("<"+r+">document.w=window'),e.close(),t=e.w.frames[0].document,n=t.createElement("div")}catch(e){n=o.createElement("div"),t=o.body}return function(e){var r=[].slice.call(arguments,0);r.unshift(n),t.appendChild(n),n.addBehavior("#default#userData"),n.load(i),e.apply(this,r),t.removeChild(n)}}(),s=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(t){return t.replace(/^\d/,"___$&").replace(u,"___")}},function(t,e,n){var r=n(55),i=r.Global,o=r.trim;t.exports={name:"cookieStorage",read:function(t){if(!t||!c(t))return null;var e="(?:^|.*;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(e),"$1"))},write:function(t,e){if(!t)return;a.cookie=escape(t)+"="+escape(e)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:s,remove:u,clearAll:function(){s((function(t,e){u(e)}))}};var a=i.document;function s(t){for(var e=a.cookie.split(/; ?/g),n=e.length-1;n>=0;n--)if(o(e[n])){var r=e[n].split("="),i=unescape(r[0]);t(unescape(r[1]),i)}}function u(t){t&&c(t)&&(a.cookie=escape(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(t){return new RegExp("(?:^|;\\s*)"+escape(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},function(t,e,n){var r=n(55).Global;function i(){return r.sessionStorage}function o(t){return i().getItem(t)}t.exports={name:"sessionStorage",read:o,write:function(t,e){return i().setItem(t,e)},each:function(t){for(var e=i().length-1;e>=0;e--){var n=i().key(e);t(o(n),n)}},remove:function(t){return i().removeItem(t)},clearAll:function(){return i().clear()}}},function(t,e){t.exports={name:"memoryStorage",read:function(t){return n[t]},write:function(t,e){n[t]=e},each:function(t){for(var e in n)n.hasOwnProperty(e)&&t(n[e],e)},remove:function(t){delete n[t]},clearAll:function(t){n={}}};var n={}},function(t,e,n){t.exports=function(){return n(257),{}}},function(module,exports){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(t){return t<10?"0"+t:t}function this_value(){return this.valueOf()}function quote(t){return rx_escapable.lastIndex=0,rx_escapable.test(t)?'"'+t.replace(rx_escapable,(function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var n,r,i,o,a,s=gap,u=e[t];switch(u&&"object"==typeof u&&"function"==typeof u.toJSON&&(u=u.toJSON(t)),"function"==typeof rep&&(u=rep.call(e,t,u)),typeof u){case"string":return quote(u);case"number":return isFinite(u)?String(u):"null";case"boolean":case"null":return String(u);case"object":if(!u)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(u)){for(o=u.length,n=0;n9007199254740991)throw n("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";function r(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=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 p=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(c(Error)),d=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return o(e,t),e}(p),m=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return o(e,t),e}(p),h=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return o(e,t),e}(p),y=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(p),v=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return o(e,t),e}(p),b=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(p),g=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return o(e,t),e}(p),w="numeric",S="short",_="long",k={year:w,month:w,day:w},P={year:w,month:S,day:w},O={year:w,month:S,day:w,weekday:S},j={year:w,month:_,day:w},x={year:w,month:_,day:w,weekday:_},E={hour:w,minute:w},T={hour:w,minute:w,second:w},C={hour:w,minute:w,second:w,timeZoneName:S},A={hour:w,minute:w,second:w,timeZoneName:_},R={hour:w,minute:w,hour12:!1},D={hour:w,minute:w,second:w,hour12:!1},M={hour:w,minute:w,second:w,hour12:!1,timeZoneName:S},I={hour:w,minute:w,second:w,hour12:!1,timeZoneName:_},N={year:w,month:w,day:w,hour:w,minute:w},L={year:w,month:w,day:w,hour:w,minute:w,second:w},F={year:w,month:S,day:w,hour:w,minute:w},V={year:w,month:S,day:w,hour:w,minute:w,second:w},q={year:w,month:S,day:w,weekday:S,hour:w,minute:w},H={year:w,month:_,day:w,hour:w,minute:w,timeZoneName:S},B={year:w,month:_,day:w,hour:w,minute:w,second:w,timeZoneName:S},U={year:w,month:_,day:w,weekday:_,hour:w,minute:w,timeZoneName:_},Z={year:w,month:_,day:w,weekday:_,hour:w,minute:w,second:w,timeZoneName:_};function $(t){return void 0===t}function z(t){return"number"==typeof t}function W(t){return"number"==typeof t&&t%1==0}function J(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function G(){return!$(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 W(t)&&t>=e&&t<=n}function et(t,e){void 0===e&&(e=2);var n=t<0?"-":"",r=n?-1*t:t;return""+n+(r.toString().length=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=J();if(s&&G()){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 pt(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 dt(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)]=dt(o)}return r}function ht(t,e){var n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return""+i+et(n,2)+":"+et(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+et(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 bt(t){return JSON.stringify(t,Object.keys(t).sort())}var gt=["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"],St=["J","F","M","A","M","J","J","A","S","O","N","D"];function _t(t){switch(t){case"narrow":return[].concat(St);case"short":return[].concat(wt);case"long":return[].concat(gt);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 kt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Pt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ot=["M","T","W","T","F","S","S"];function jt(t){switch(t){case"narrow":return[].concat(Ot);case"short":return[].concat(Pt);case"long":return[].concat(kt);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var xt=["AM","PM"],Et=["Before Christ","Anno Domini"],Tt=["BC","AD"],Ct=["B","A"];function At(t){switch(t){case"narrow":return[].concat(Ct);case"short":return[].concat(Tt);case"long":return[].concat(Et);default:return null}}function Rt(t,e){for(var n,r="",i=f(t);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=e(o.val)}return r}var Dt={D:k,DD:P,DDD:j,DDDD:x,t:E,tt:T,ttt:C,tttt:A,T:R,TT:D,TTT:M,TTTT:I,f:N,ff:F,fff:H,ffff:U,F:L,FF:V,FFF:B,FFFF:Z},Mt=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;o0&&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 Dt[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&&G(),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 xt[t.hour<12?0:1]}(e):a({hour:"numeric",hour12:!0},"dayperiod")},c=function(t,n){return i?function(t,e){return _t(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 jt(e)[t.weekday-1]}(e,t):a(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},f=function(t){return i?function(t,e){return At(e)[t.year<0?0:1]}(e,t):a({era:t},"era")};return Rt(t.parseFormat(n),(function(n){switch(n){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":case"E":return r.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);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 f("short");case"GG":return f("long");case"GGGGG":return f("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 function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n}(n)}}))},e.formatDurationFromString=function(e,n){var r,i=this,o=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}},a=t.parseFormat(n),s=a.reduce((function(t,e){var n=e.literal,r=e.val;return n?t:t.concat(r)}),[]),u=e.shiftTo.apply(e,s.map(o).filter((function(t){return t})));return Rt(a,(r=u,function(t){var e=o(t);return e?i.num(r.get(e),t.length):t}))},t}(),It=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}(),Nt=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new g},e.formatOffset=function(t,e){throw new g},e.offset=function(t){throw new g},e.equals=function(t){throw new g},i(t,[{key:"type",get:function(){throw new g}},{key:"name",get:function(){throw new g}},{key:"universal",get:function(){throw new g}},{key:"isValid",get:function(){throw new g}}]),t}(),Lt=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 ht(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 J()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Lt&&(Lt=new e),Lt}}]),e}(Nt),Vt=RegExp("^"+vt.source+"$"),qt={};var Ht={year:0,month:1,day:2,hour:3,minute:4,second:5};var Bt={},Ut=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 Bt[t]||(Bt[t]=new e(t)),Bt[t]},e.resetCache=function(){Bt={},qt={}},e.isValidSpecifier=function(t){return!(!t||!t.match(Vt))},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(0|[+-]\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 ht(this.offset(t),e)},n.offset=function(t){var e=new Date(t);if(isNaN(e))return NaN;var n,r=(n=this.name,qt[n]||(qt[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),qt[n]),i=r.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i=0?l:1e3+l))/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}(Nt),Zt=null,$t=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(pt(n[1],n[2]))}return null},i(e,null,[{key:"utcInstance",get:function(){return null===Zt&&(Zt=new e(0)),Zt}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return ht(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"+ht(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(Nt),zt=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}(Nt);function Wt(t,e){var n;if($(t)||null===t)return e;if(t instanceof Nt)return t;if("string"==typeof t){var r=t.toLowerCase();return"local"===r?e:"utc"===r||"gmt"===r?$t.utcInstance:null!=(n=Ut.parseGMTOffset(t))?$t.instance(n):Ut.isValidSpecifier(r)?Ut.create(t):$t.parseSpecifier(r)||new zt(t)}return z(t)?$t.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new zt(t)}var Jt=function(){return Date.now()},Gt=null,Yt=null,Kt=null,Qt=null,Xt=!1,te=function(){function t(){}return t.resetCaches=function(){fe.resetCache(),Ut.resetCache()},i(t,null,[{key:"now",get:function(){return Jt},set:function(t){Jt=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){Gt=t?Wt(t):null}},{key:"defaultZone",get:function(){return Gt||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=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&&J()){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=J(),t.zone.universal&&this.hasIntl){var i=t.offset/60*-1,o=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i,a=Ut.isValidZone(o);0!==t.offset&&a?(r=o,this.dt=t):(r="UTC",n.timeZoneName?this.dt=t:this.dt=0===t.offset?t:mr.fromMillis(t.ts+60*t.offset*1e3))}else"local"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name);if(this.hasIntl){var s=Object.assign({},this.opts);r&&(s.timeZone=r),this.dtf=ne(e,s)}}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(bt(Q(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case bt(k):return"M/d/yyyy";case bt(P):return"LLL d, yyyy";case bt(O):return"EEE, LLL d, yyyy";case bt(j):return"LLLL d, yyyy";case bt(x):return"EEEE, LLLL d, yyyy";case bt(E):return"h:mm a";case bt(T):return"h:mm:ss a";case bt(C):case bt(A):return"h:mm a";case bt(R):return"HH:mm";case bt(D):return"HH:mm:ss";case bt(M):case bt(I):return"HH:mm";case bt(N):return"M/d/yyyy, h:mm a";case bt(F):return"LLL d, yyyy, h:mm a";case bt(H):return"LLLL d, yyyy, h:mm a";case bt(U):return e;case bt(L):return"M/d/yyyy, h:mm:ss a";case bt(V):return"LLL d, yyyy, h:mm:ss a";case bt(q):return"EEE, d LLL yyyy, h:mm a";case bt(B):return"LLLL d, yyyy, h:mm:ss a";case bt(Z):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return e}}(this.opts),e=fe.create("en-US");return Mt.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&G()?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 J()?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(J()){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=J()&&G(),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,_t,(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=mr.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,jt,(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=mr.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 xt}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[mr.utc(2016,11,13,9),mr.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,At,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[mr.utc(-40,1,1),mr.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()||J()&&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(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||J()&&"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),t}();function pe(){for(var t=arguments.length,e=new Array(t),n=0;n1?e-1:0),r=1;r3?kt.indexOf(t)+1:Pt.indexOf(t)+1),s}var Me=/^(?:(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 Ie(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],p=t[11],d=De(n,o,i,r,a,s,u);return e=c?Re[c]:l?0:pt(f,p),[d,new $t(e)]}var Ne=/^(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$/,Le=/^(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$/,Fe=/^(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 Ve(t){var e=t[1],n=t[2],r=t[3];return[De(e,t[4],r,n,t[5],t[6],t[7]),$t.utcInstance]}function qe(t){var e=t[1],n=t[2],r=t[3],i=t[4],o=t[5],a=t[6];return[De(e,t[7],n,r,i,o,a),$t.utcInstance]}var He=pe(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ge),Be=pe(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ge),Ue=pe(/(\d{4})-?(\d{3})/,ge),Ze=pe(be),$e=de(Oe,je,xe),ze=de(we,je,xe),We=de(Se,je,xe),Je=de(je,xe);var Ge=de(je);var Ye=pe(/(\d{4})-(\d\d)-(\d\d)/,ke),Ke=pe(_e),Qe=de(Oe,je,xe,Ee),Xe=de(je,xe,Ee);var tn={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}},en=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}},tn),nn=365.2425,rn=30.436875,on=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:nn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:rn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},tn),an=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],sn=an.slice(0).reverse();function un(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 ln(r)}function cn(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}var ln=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?on:en,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,[Ce,Ae])}(e),i=r[0];if(i){var o=Object.assign(i,n);return t.fromObject(o)}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.fromISOTime=function(e,n){var r=function(t){return me(t,[Te,Ge])}(e),i=r[0];if(i){var o=Object.assign(i,n);return t.fromObject(o)}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 It?e:new It(e,n);if(te.throwOnInvalid)throw new h(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 v(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?Mt.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.toISOTime=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var e=this.toMillis();if(e<0||e>=864e5)return null;t=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var i=n.toFormat(r);return t.includePrefix&&(i="T"+i),i},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.toMillis=function(){return this.as("milliseconds")},e.valueOf=function(){return this.toMillis()},e.plus=function(t){if(!this.isValid)return this;for(var e,n=fn(t),r={},i=f(an);!(e=i()).done;){var o=e.value;(X(n.values,o)||X(this.values,o))&&(r[o]=n.get(o)+this.get(o))}return un(this,{values:r},!0)},e.minus=function(t){if(!this.isValid)return this;var e=fn(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=0){i=l;var p=0;for(var d in s)p+=this.matrix[d][l]*s[d],s[d]=0;z(u[l])&&(p+=u[l]);var m=Math.trunc(p);for(var h in a[l]=m,s[l]=p-m,u)an.indexOf(h)>an.indexOf(l)&&cn(this.matrix,u,h,a,l)}else z(u[l])&&(s[l]=u[l])}for(var y in s)0!==s[y]&&(a[i]+=y===i?s[y]:s[y]/this.matrix[i][y]);return un(this,{values:a},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);et},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+this.e?this.e:c;a.push(t.fromDateTimes(s,l)),s=l,u+=1}return a},e.splitBy=function(e){var n=fn(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i=this.s,o=1,a=[];i+this.e?this.e:s,a.push(t.fromDateTimes(i,r)),i=r,o+=1}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.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=r?null:t.fromDateTimes(n,r)},e.union=function(e){if(!this.isValid)return this;var n=this.se.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=f((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=0){var f;r=c;var p,d=l(t,e);(i=t.plus(((f={})[c]=d,f)))>e?(t=t.plus(((p={})[c]=d-1,p)),d-=1):t=i,o[c]=d}}return[t,o,i,r]}(t,e,n),o=i[0],a=i[1],s=i[2],u=i[3],c=e-o,l=n.filter((function(t){return["hours","minutes","seconds","milliseconds"].indexOf(t)>=0}));if(0===l.length){var f;if(s0?(p=ln.fromMillis(c,r)).shiftTo.apply(p,l).plus(d):d}var bn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},gn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},wn=bn.hanidec.replace(/[\[|\]]/g,"").split("");function Sn(t,e){var n=t.numberingSystem;return void 0===e&&(e=""),new RegExp(""+bn[n||"latn"]+e)}var _n="missing Intl.DateTimeFormat.formatToParts support";function kn(t,e){return void 0===e&&(e=function(t){return t}),{regex:t,deser:function(t){var n=t[0];return e(function(t){var e=parseInt(t,10);if(isNaN(e)){e="";for(var n=0;n=a&&r<=s&&(e+=r-a)}}return parseInt(e,10)}return e}(n))}}}var Pn="( |"+String.fromCharCode(160)+")",On=new RegExp(Pn,"g");function jn(t){return t.replace(/\./g,"\\.?").replace(On,Pn)}function xn(t){return t.replace(/\./g,"").replace(On," ").toLowerCase()}function En(t,e){return null===t?null:{regex:RegExp(t.map(jn).join("|")),deser:function(n){var r=n[0];return t.findIndex((function(t){return xn(r)===xn(t)}))+e}}}function Tn(t,e){return{regex:t,deser:function(t){return pt(t[1],t[2])},groups:e}}function Cn(t){return{regex:t,deser:function(t){return t[0]}}}var An={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var Rn=null;function Dn(t,e){if(t.literal)return t;var n=Mt.macroTokenToFormatOpts(t.val);if(!n)return t;var r=Mt.create(e,n).formatDateTimeParts((Rn||(Rn=mr.fromMillis(1555555555555)),Rn)).map((function(t){return function(t,e,n){var r=t.type,i=t.value;if("literal"===r)return{literal:!0,val:i};var o=n[r],a=An[r];return"object"==typeof a&&(a=a[o]),a?{literal:!1,val:a}:void 0}(t,0,n)}));return r.includes(void 0)?t:r}function Mn(t,e,n){var r=function(t,e){var n;return(n=Array.prototype).concat.apply(n,t.map((function(t){return Dn(t,e)})))}(Mt.parseFormat(n),t),i=r.map((function(e){return n=e,i=Sn(r=t),o=Sn(r,"{2}"),a=Sn(r,"{3}"),s=Sn(r,"{4}"),u=Sn(r,"{6}"),c=Sn(r,"{1,2}"),l=Sn(r,"{1,3}"),f=Sn(r,"{1,6}"),p=Sn(r,"{1,9}"),d=Sn(r,"{2,4}"),m=Sn(r,"{4,6}"),h=function(t){return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(t){return t[0]},literal:!0};var e},y=function(t){if(n.literal)return h(t);switch(t.val){case"G":return En(r.eras("short",!1),0);case"GG":return En(r.eras("long",!1),0);case"y":return kn(f);case"yy":case"kk":return kn(d,lt);case"yyyy":case"kkkk":return kn(s);case"yyyyy":return kn(m);case"yyyyyy":return kn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return kn(c);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return kn(o);case"MMM":return En(r.months("short",!0,!1),1);case"MMMM":return En(r.months("long",!0,!1),1);case"LLL":return En(r.months("short",!1,!1),1);case"LLLL":return En(r.months("long",!1,!1),1);case"o":case"S":return kn(l);case"ooo":case"SSS":return kn(a);case"u":return Cn(p);case"a":return En(r.meridiems(),0);case"E":case"c":return kn(i);case"EEE":return En(r.weekdays("short",!1,!1),1);case"EEEE":return En(r.weekdays("long",!1,!1),1);case"ccc":return En(r.weekdays("short",!0,!1),1);case"cccc":return En(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Tn(new RegExp("([+-]"+c.source+")(?::("+o.source+"))?"),2);case"ZZZ":return Tn(new RegExp("([+-]"+c.source+")("+o.source+")?"),2);case"z":return Cn(/[a-z_+-/]{1,256}?/i);default:return h(t)}}(n)||{invalidReason:_n},y.token=n,y;var n,r,i,o,a,s,u,c,l,f,p,d,m,h,y})),o=i.find((function(t){return t.invalidReason}));if(o)return{input:e,tokens:r,invalidReason:o.invalidReason};var a=function(t){return["^"+t.map((function(t){return t.regex})).reduce((function(t,e){return t+"("+e.source+")"}),"")+"$",t]}(i),s=a[0],u=a[1],c=RegExp(s,"i"),l=function(t,e,n){var r=t.match(e);if(r){var i={},o=1;for(var a in n)if(X(n,a)){var s=n[a],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(o,o+u))),o+=u}return[r,i]}return[r,{}]}(e,c,u),f=l[0],p=l[1],d=p?function(t){var e;return e=$(t.Z)?$(t.z)?null:Ut.create(t.z):new $t(t.Z),$(t.q)||(t.M=3*(t.q-1)+1),$(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),$(t.u)||(t.S=rt(t.u)),[Object.keys(t).reduce((function(e,n){var r=function(t){switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(e[r]=t[n]),e}),{}),e]}(p):[null,null],m=d[0],h=d[1];if(X(p,"a")&&X(p,"H"))throw new y("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:c,rawMatches:f,matches:p,result:m,zone:h}}var In=[0,31,59,90,120,151,181,212,243,273,304,334],Nn=[0,31,60,91,121,152,182,213,244,274,305,335];function Ln(t,e){return new It("unit out of range","you specified "+e+" (of type "+typeof e+") as a "+t+", which is invalid")}function Fn(t,e,n){var r=new Date(Date.UTC(t,e-1,n)).getUTCDay();return 0===r?7:r}function Vn(t,e,n){return n+(ot(t)?Nn:In)[e-1]}function qn(t,e){var n=ot(t)?Nn:In,r=n.findIndex((function(t){return tct(n)?(e=n+1,s=1):e=n,Object.assign({weekYear:e,weekNumber:s,weekday:a},yt(t))}function Bn(t){var e,n=t.weekYear,r=t.weekNumber,i=t.weekday,o=Fn(n,1,4),a=at(n),s=7*r+i-o-3;s<1?s+=at(e=n-1):s>a?(e=n+1,s-=at(n)):e=n;var u=qn(e,s),c=u.month,l=u.day;return Object.assign({year:e,month:c,day:l},yt(t))}function Un(t){var e=t.year,n=Vn(e,t.month,t.day);return Object.assign({year:e,ordinal:n},yt(t))}function Zn(t){var e=t.year,n=qn(e,t.ordinal),r=n.month,i=n.day;return Object.assign({year:e,month:r,day:i},yt(t))}function $n(t){var e=W(t.year),n=tt(t.month,1,12),r=tt(t.day,1,st(t.year,t.month));return e?n?!r&&Ln("day",t.day):Ln("month",t.month):Ln("year",t.year)}function zn(t){var e=t.hour,n=t.minute,r=t.second,i=t.millisecond,o=tt(e,0,23)||24===e&&0===n&&0===r&&0===i,a=tt(n,0,59),s=tt(r,0,59),u=tt(i,0,999);return o?a?s?!u&&Ln("millisecond",i):Ln("second",r):Ln("minute",n):Ln("hour",e)}var Wn="Invalid DateTime",Jn=864e13;function Gn(t){return new It("unsupported zone",'the zone "'+t.name+'" is not supported')}function Yn(t){return null===t.weekData&&(t.weekData=Hn(t.c)),t.weekData}function Kn(t,e){var n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new mr(Object.assign({},n,e,{old:n}))}function Qn(t,e,n){var r=t-60*e*1e3,i=n.offset(r);if(e===i)return[r,e];r-=60*(i-e)*1e3;var o=n.offset(r);return i===o?[r,i]:[t-60*Math.min(i,o)*1e3,Math.max(i,o)]}function Xn(t,e){var n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function tr(t,e,n){return Qn(ut(t),e,n)}function er(t,e){var n=t.o,r=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),o=Object.assign({},t.c,{year:r,month:i,day:Math.min(t.c.day,st(r,i))+Math.trunc(e.days)+7*Math.trunc(e.weeks)}),a=ln.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),s=Qn(ut(o),n,t.zone),u=s[0],c=s[1];return 0!==a&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function nr(t,e,n,r,i){var o=n.setZone,a=n.zone;if(t&&0!==Object.keys(t).length){var s=e||a,u=mr.fromObject(Object.assign(t,n,{zone:s,setZone:void 0}));return o?u:u.setZone(a)}return mr.invalid(new It("unparsable",'the input "'+i+"\" can't be parsed as "+r))}function rr(t,e,n){return void 0===n&&(n=!0),t.isValid?Mt.create(fe.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ir(t,e){var n=e.suppressSeconds,r=void 0!==n&&n,i=e.suppressMilliseconds,o=void 0!==i&&i,a=e.includeOffset,s=e.includePrefix,u=void 0!==s&&s,c=e.includeZone,l=void 0!==c&&c,f=e.spaceZone,p=void 0!==f&&f,d=e.format,m=void 0===d?"extended":d,h="basic"===m?"HHmm":"HH:mm";r&&0===t.second&&0===t.millisecond||(h+="basic"===m?"ss":":ss",o&&0===t.millisecond||(h+=".SSS")),(l||a)&&p&&(h+=" "),l?h+="z":a&&(h+="basic"===m?"ZZZ":"ZZ");var y=rr(t,h);return u&&(y="T"+y),y}var or={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ar={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},sr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ur=["year","month","day","hour","minute","second","millisecond"],cr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function fr(t){var e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new v(t);return e}function pr(t,e){for(var n,r=f(ur);!(n=r()).done;){var i=n.value;$(t[i])&&(t[i]=or[i])}var o=$n(t)||zn(t);if(o)return mr.invalid(o);var a=te.now(),s=tr(t,e.offset(a),e),u=s[0],c=s[1];return new mr({ts:u,zone:e,o:c})}function dr(t,e,n){var r=!!$(n.round)||n.round,i=function(t,i){return t=it(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,i)},o=function(r){return n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r)};if(n.unit)return i(o(n.unit),n.unit);for(var a,s=f(n.units);!(a=s()).done;){var u=a.value,c=o(u);if(Math.abs(c)>=1)return i(c,u)}return i(t>e?-0:0,n.units[n.units.length-1])}var mr=function(){function t(t){var e=t.zone||te.defaultZone,n=t.invalid||(Number.isNaN(t.ts)?new It("invalid input"):null)||(e.isValid?null:Gn(e));this.ts=$(t.ts)?te.now():t.ts;var r=null,i=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e)){var o=[t.old.c,t.old.o];r=o[0],i=o[1]}else{var a=e.offset(this.ts);r=Xn(this.ts,a),r=(n=Number.isNaN(r.year)?new It("invalid input"):null)?null:r,i=n?null:a}this._zone=e,this.loc=t.loc||fe.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=i,this.isLuxonDateTime=!0}t.now=function(){return new t({})},t.local=function(e,n,r,i,o,a,s){return $(e)?t.now():pr({year:e,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},te.defaultZone)},t.utc=function(e,n,r,i,o,a,s){return $(e)?new t({ts:te.now(),zone:$t.utcInstance}):pr({year:e,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},$t.utcInstance)},t.fromJSDate=function(e,n){void 0===n&&(n={});var r,i=(r=e,"[object Date]"===Object.prototype.toString.call(r)?e.valueOf():NaN);if(Number.isNaN(i))return t.invalid("invalid input");var o=Wt(n.zone,te.defaultZone);return o.isValid?new t({ts:i,zone:o,loc:fe.fromObject(n)}):t.invalid(Gn(o))},t.fromMillis=function(e,n){if(void 0===n&&(n={}),z(e))return e<-Jn||e>Jn?t.invalid("Timestamp out of range"):new t({ts:e,zone:Wt(n.zone,te.defaultZone),loc:fe.fromObject(n)});throw new b("fromMillis requires a numerical input, but received a "+typeof e+" with value "+e)},t.fromSeconds=function(e,n){if(void 0===n&&(n={}),z(e))return new t({ts:1e3*e,zone:Wt(n.zone,te.defaultZone),loc:fe.fromObject(n)});throw new b("fromSeconds requires a numerical input")},t.fromObject=function(e){var n=Wt(e.zone,te.defaultZone);if(!n.isValid)return t.invalid(Gn(n));var r=te.now(),i=n.offset(r),o=mt(e,fr,["zone","locale","outputCalendar","numberingSystem"]),a=!$(o.ordinal),s=!$(o.year),u=!$(o.month)||!$(o.day),c=s||u,l=o.weekYear||o.weekNumber,p=fe.fromObject(e);if((c||a)&&l)throw new y("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new y("Can't mix ordinal dates with month/day");var d,m,h=l||o.weekday&&!c,v=Xn(r,i);h?(d=cr,m=ar,v=Hn(v)):a?(d=lr,m=sr,v=Un(v)):(d=ur,m=or);for(var b,g=!1,w=f(d);!(b=w()).done;){var S=b.value;$(o[S])?o[S]=g?m[S]:v[S]:g=!0}var _=h?function(t){var e=W(t.weekYear),n=tt(t.weekNumber,1,ct(t.weekYear)),r=tt(t.weekday,1,7);return e?n?!r&&Ln("weekday",t.weekday):Ln("week",t.week):Ln("weekYear",t.weekYear)}(o):a?function(t){var e=W(t.year),n=tt(t.ordinal,1,at(t.year));return e?!n&&Ln("ordinal",t.ordinal):Ln("year",t.year)}(o):$n(o),k=_||zn(o);if(k)return t.invalid(k);var P=tr(h?Bn(o):a?Zn(o):o,i,n),O=new t({ts:P[0],zone:n,o:P[1],loc:p});return o.weekday&&c&&e.weekday!==O.weekday?t.invalid("mismatched weekday","you can't specify both a weekday of "+o.weekday+" and a date of "+O.toISO()):O},t.fromISO=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[He,$e],[Be,ze],[Ue,We],[Ze,Je])}(t);return nr(n[0],n[1],e,"ISO 8601",t)},t.fromRFC2822=function(t,e){void 0===e&&(e={});var n=function(t){return me(function(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Me,Ie])}(t);return nr(n[0],n[1],e,"RFC 2822",t)},t.fromHTTP=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ne,Ve],[Le,Ve],[Fe,qe])}(t);return nr(n[0],n[1],e,"HTTP",e)},t.fromFormat=function(e,n,r){if(void 0===r&&(r={}),$(e)||$(n))throw new b("fromFormat requires an input string and a format");var i=r,o=i.locale,a=void 0===o?null:o,s=i.numberingSystem,u=void 0===s?null:s,c=function(t,e,n){var r=Mn(t,e,n);return[r.result,r.zone,r.invalidReason]}(fe.fromOpts({locale:a,numberingSystem:u,defaultToEN:!0}),e,n),l=c[0],f=c[1],p=c[2];return p?t.invalid(p):nr(l,f,r,"format "+n,e)},t.fromString=function(e,n,r){return void 0===r&&(r={}),t.fromFormat(e,n,r)},t.fromSQL=function(t,e){void 0===e&&(e={});var n=function(t){return me(t,[Ye,Qe],[Ke,Xe])}(t);return nr(n[0],n[1],e,"SQL",t)},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new b("need to specify a reason the DateTime is invalid");var r=e instanceof It?e:new It(e,n);if(te.throwOnInvalid)throw new d(r);return new t({invalid:r})},t.isDateTime=function(t){return t&&t.isLuxonDateTime||!1};var e=t.prototype;return e.get=function(t){return this[t]},e.resolvedLocaleOpts=function(t){void 0===t&&(t={});var e=Mt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e.locale,numberingSystem:e.numberingSystem,outputCalendar:e.calendar}},e.toUTC=function(t,e){return void 0===t&&(t=0),void 0===e&&(e={}),this.setZone($t.instance(t),e)},e.toLocal=function(){return this.setZone(te.defaultZone)},e.setZone=function(e,n){var r=void 0===n?{}:n,i=r.keepLocalTime,o=void 0!==i&&i,a=r.keepCalendarTime,s=void 0!==a&&a;if((e=Wt(e,te.defaultZone)).equals(this.zone))return this;if(e.isValid){var u=this.ts;if(o||s){var c=e.offset(this.ts);u=tr(this.toObject(),c,e)[0]}return Kn(this,{ts:u,zone:e})}return t.invalid(Gn(e))},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,i=e.outputCalendar;return Kn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:i})})},e.setLocale=function(t){return this.reconfigure({locale:t})},e.set=function(t){if(!this.isValid)return this;var e,n=mt(t,fr,[]),r=!$(n.weekYear)||!$(n.weekNumber)||!$(n.weekday),i=!$(n.ordinal),o=!$(n.year),a=!$(n.month)||!$(n.day),s=o||a,u=n.weekYear||n.weekNumber;if((s||i)&&u)throw new y("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&i)throw new y("Can't mix ordinal dates with month/day");r?e=Bn(Object.assign(Hn(this.c),n)):$(n.ordinal)?(e=Object.assign(this.toObject(),n),$(n.day)&&(e.day=Math.min(st(e.year,e.month),e.day))):e=Zn(Object.assign(Un(this.c),n));var c=tr(e,this.o,this.zone);return Kn(this,{ts:c[0],o:c[1]})},e.plus=function(t){return this.isValid?Kn(this,er(this,fn(t))):this},e.minus=function(t){return this.isValid?Kn(this,er(this,fn(t).negate())):this},e.startOf=function(t){if(!this.isValid)return this;var e={},n=ln.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);e.month=3*(r-1)+1}return this.set(e)},e.endOf=function(t){var e;return this.isValid?this.plus((e={},e[t]=1,e)).startOf(t).minus(1):this},e.toFormat=function(t,e){return void 0===e&&(e={}),this.isValid?Mt.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wn},e.toLocaleString=function(t){return void 0===t&&(t=k),this.isValid?Mt.create(this.loc.clone(t),t).formatDateTime(this):Wn},e.toLocaleParts=function(t){return void 0===t&&(t={}),this.isValid?Mt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]},e.toISO=function(t){return void 0===t&&(t={}),this.isValid?this.toISODate(t)+"T"+this.toISOTime(t):null},e.toISODate=function(t){var e=(void 0===t?{}:t).format,n="basic"===(void 0===e?"extended":e)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),rr(this,n)},e.toISOWeekDate=function(){return rr(this,"kkkk-'W'WW-c")},e.toISOTime=function(t){var e=void 0===t?{}:t,n=e.suppressMilliseconds,r=void 0!==n&&n,i=e.suppressSeconds,o=void 0!==i&&i,a=e.includeOffset,s=void 0===a||a,u=e.includePrefix,c=void 0!==u&&u,l=e.format;return ir(this,{suppressSeconds:o,suppressMilliseconds:r,includeOffset:s,includePrefix:c,format:void 0===l?"extended":l})},e.toRFC2822=function(){return rr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},e.toHTTP=function(){return rr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.toSQLDate=function(){return rr(this,"yyyy-MM-dd")},e.toSQLTime=function(t){var e=void 0===t?{}:t,n=e.includeOffset,r=void 0===n||n,i=e.includeZone;return ir(this,{includeOffset:r,includeZone:void 0!==i&&i,spaceZone:!0})},e.toSQL=function(t){return void 0===t&&(t={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(t):null},e.toString=function(){return this.isValid?this.toISO():Wn},e.valueOf=function(){return this.toMillis()},e.toMillis=function(){return this.isValid?this.ts:NaN},e.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},e.toJSON=function(){return this.toISO()},e.toBSON=function(){return this.toJSDate()},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.c);return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.diff=function(t,e,n){if(void 0===e&&(e="milliseconds"),void 0===n&&(n={}),!this.isValid||!t.isValid)return ln.invalid(this.invalid||t.invalid,"created by diffing an invalid DateTime");var r,i=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),o=(r=e,Array.isArray(r)?r:[r]).map(ln.normalizeUnit),a=t.valueOf()>this.valueOf(),s=vn(a?this:t,a?t:this,o,i);return a?s.negate():s},e.diffNow=function(e,n){return void 0===e&&(e="milliseconds"),void 0===n&&(n={}),this.diff(t.now(),e,n)},e.until=function(t){return this.isValid?mn.fromDateTimes(this,t):this},e.hasSame=function(t,e){if(!this.isValid)return!1;var n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)},e.equals=function(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)},e.toRelative=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var n=e.base||t.fromObject({zone:this.zone}),r=e.padding?thisthis.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ot(this.year)}},{key:"daysInMonth",get:function(){return st(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?at(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ct(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return k}},{key:"DATE_MED",get:function(){return P}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return O}},{key:"DATE_FULL",get:function(){return j}},{key:"DATE_HUGE",get:function(){return x}},{key:"TIME_SIMPLE",get:function(){return E}},{key:"TIME_WITH_SECONDS",get:function(){return T}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return C}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return A}},{key:"TIME_24_SIMPLE",get:function(){return R}},{key:"TIME_24_WITH_SECONDS",get:function(){return D}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return M}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return I}},{key:"DATETIME_SHORT",get:function(){return N}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return L}},{key:"DATETIME_MED",get:function(){return F}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return q}},{key:"DATETIME_FULL",get:function(){return H}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return B}},{key:"DATETIME_HUGE",get:function(){return U}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return Z}}]),t}();function hr(t){if(mr.isDateTime(t))return t;if(t&&t.valueOf&&z(t.valueOf()))return mr.fromJSDate(t);if(t&&"object"==typeof t)return mr.fromObject(t);throw new b("Unknown datetime argument: "+t+", of type "+typeof t)}e.DateTime=mr,e.Duration=ln,e.FixedOffsetZone=$t,e.IANAZone=Ut,e.Info=hn,e.Interval=mn,e.InvalidZone=zt,e.LocalZone=Ft,e.Settings=te,e.VERSION="1.28.0",e.Zone=Nt},function(t,e,n){var r=n(12),i=n(19),o=n(173)(i.setInterval,!0);r({global:!0,bind:!0,forced:i.setInterval!==o},{setInterval:o})},function(t,e){t.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},function(t,e,n){var r=n(12),i=n(19),o=n(173)(i.setTimeout,!0);r({global:!0,bind:!0,forced:i.setTimeout!==o},{setTimeout:o})},function(t,e,n){(function(e){var r;t.exports=(r=r||function(t,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e&&e.crypto&&(i=e.crypto),!i)try{i=n(265)}catch(t){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function t(){}return function(e){var n;return t.prototype=e,n=new t,t.prototype=null,n}}(),s={},u=s.lib={},c=u.Base={extend:function(t){var e=a(this);return t&&e.mixIn(t),e.hasOwnProperty("init")&&this.init!==e.init||(e.init=function(){e.$super.init.apply(this,arguments)}),e.init.prototype=e,e.$super=this,e},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},l=u.WordArray=c.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=e!=r?e:4*t.length},toString:function(t){return(t||p).stringify(this)},concat:function(t){var e=this.words,n=t.words,r=this.sigBytes,i=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new l.init(n,e/2)}},d=f.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new l.init(n,e)}},m=f.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},h=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=m.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),u=(s=e?t.ceil(s):t.max((0|s)-this._minBufferSize,0))*a,c=t.min(4*u,o);if(u){for(var f=0;f1?arguments[1]:void 0,y=void 0!==h;y&&(h=r(h,m>2?arguments[2]:void 0));var v,b,g,w,S,_,k=p(e),P=0;if(!k||this===d&&s(k))for(v=c(e),b=n?new this(v):d(v);v>P;P++)_=y?h(e[P],P):e[P],l(b,P,_);else for(S=(w=f(e,k)).next,b=n?new this:[];!(g=i(S,w)).done;P++)_=y?a(w,h,[g.value,P],!0):g.value,l(b,P,_);return b.length=P,b}},function(t,e,n){var r=n(24),i=n(161);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(22),i=n(166),o=n(24),a=n(39),s=n(36),u=n(273),c=n(28),l=n(59),f=n(167);i("search",(function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:l(e,t);return i?r(i,e,n):new RegExp(e)[t](c(n))},function(t){var r=o(this),i=c(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;u(s,0)||(r.lastIndex=0);var l=f(r,i);return u(r.lastIndex,s)||(r.lastIndex=s),null===l?-1:l.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(12),i=n(66),o=n(104).indexOf,a=n(98),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;r({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:o(this,t,e)}})},function(t,e,n){n(276)},function(t,e,n){"use strict";n(277)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(281))},function(t,e,n){"use strict";var r=n(12),i=n(19),o=n(18),a=n(85),s=n(30),u=n(179),c=n(93),l=n(115),f=n(20),p=n(39),d=n(25),m=n(17),h=n(118),y=n(65),v=n(146);t.exports=function(t,e,n){var b=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),w=b?"set":"add",S=i[t],_=S&&S.prototype,k=S,P={},O=function(t){var e=o(_[t]);s(_,t,"add"==t?function(t){return e(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!d(t))&&e(this,0===t?0:t)}:"get"==t?function(t){return g&&!d(t)?void 0:e(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!d(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!f(S)||!(g||_.forEach&&!m((function(){(new S).entries().next()})))))k=n.getConstructor(e,t,b,w),u.enable();else if(a(t,!0)){var j=new k,x=j[w](g?{}:-0,1)!=j,E=m((function(){j.has(1)})),T=h((function(t){new S(t)})),C=!g&&m((function(){for(var t=new S,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((k=e((function(t,e){l(t,_);var n=v(new S,t,k);return p(e)||c(e,n[w],{that:n,AS_ENTRIES:b}),n}))).prototype=_,_.constructor=k),(E||C)&&(O("delete"),O("has"),b&&O("get")),(C||x)&&O(w),g&&_.clear&&delete _.clear}return P[t]=k,r({global:!0,constructor:!0,forced:k!=S},P),y(k,t),g||n.setStrong(k,t,b),k}},function(t,e,n){var r=n(17),i=n(25),o=n(35),a=n(279),s=Object.isExtensible,u=r((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!=o(t))&&(!s||s(t)))}:s},function(t,e,n){var r=n(17);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},function(t,e,n){var r=n(17);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){"use strict";var r=n(43),i=n(64),o=n(282),a=n(53),s=n(115),u=n(39),c=n(93),l=n(112),f=n(113),p=n(152),d=n(26),m=n(179).fastKey,h=n(46),y=h.set,v=h.getterFor;t.exports={getConstructor:function(t,e,n,l){var f=t((function(t,i){s(t,p),y(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),d||(t.size=0),u(i)||c(i,t[l],{that:t,AS_ENTRIES:n})})),p=f.prototype,h=v(e),b=function(t,e,n){var r,i,o=h(t),a=g(t,e);return a?a.value=n:(o.last=a={index:i=m(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},g=function(t,e){var n,r=h(t),i=m(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(p,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=this,n=h(e),r=g(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),o(p,n?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return b(this,0===t?0:t,e)}}:{add:function(t){return b(this,t=0===t?0:t,t)}}),d&&i(p,"size",{configurable:!0,get:function(){return h(this).size}}),f},setStrong:function(t,e,n){var r=e+" Iterator",i=v(e),o=v(r);l(t,e,(function(t,e){y(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?f("keys"==e?n.key:"values"==e?n.value:[n.key,n.value],!1):(t.target=void 0,f(void 0,!0))}),n?"entries":"values",!n,!0),p(e)}}},function(t,e,n){var r=n(30);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(51),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+r(e)+" of "+r(t))}},function(t,e,n){var r=n(143),i=Math.floor,o=function(t,e){var n=t.length,u=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,u),e),o(r(t,u),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a=0;n--){var r=Math.pow(10,3*(n+1));if(r<=t){1e3===(t=Math.round(t*e/r)/e)&&ne?t.substr(0,e-1)+n:t}},{key:"hasValue",value:function(t){return!1!==o.hasValue(t)&&"String"===t.constructor.name&&0!==t.trim().length}},{key:"withDefault",value:function(t,e){return v.hasValue(t)?t:e}},{key:"finish",value:function(t,e){return v.endsWith(t,e)?t:t+e}},{key:"start",value:function(t,e){return v.startsWith(t,e)?t:e+t}},{key:"startsWith",value:function(t,e){return t.substr(0,e.length)===e}},{key:"endsWith",value:function(t,e){return t.substr(t.length-e.length)===e}},{key:"format",value:function(t){for(var e=t,n=0;n<(arguments.length<=1?0:arguments.length-1);n++){var r="{"+n+"}";e=e.replace(r,n+1<1||arguments.length<=n+1?void 0:arguments[n+1])}return e}},{key:"ucFirst",value:function(t){return!1===v.hasValue(t)?t:1===t.length?t.toUpperCase():t.charAt(0).toUpperCase()+t.slice(1)}}],(n=null)&&y(e.prototype,n),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),b=v;n(97);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function w(t,e){for(var n=0;n0&&(n.partialSuccess=!0),n}}],(n=null)&&J(e.prototype,n),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(R);Q.ApiComments="comments";var X=Q;function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}function et(t,e){for(var n=0;n'+n+"";t.html(r)})))}}},{key:"addLinkToPackage",value:function(t,e){vt.ContextJquery("body").bind("DOMSubtreeModified",function(){xt(this.runActualLinkCheck(t,e),250)}.bind(this))}}])&&Tt(e.prototype,n),r&&Tt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function At(t){return At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},At(t)}function Rt(t,e){for(var n=0;n0?(this.countDisplay=ju.NumberFormatter.abbreviate(this.count,2),this.shouldDisplay=!0):this.shouldDisplay=!1)}},created:function(){Be.Instance.on("updated",this.updateDisplay.bind(this))}},Ze=n(185),$e=n.n(Ze);n(125),n(168),n(266);function ze(t){return function(t){if(Array.isArray(t))return We(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return We(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return We(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1&&this.$emit("per-page-updated",t)}},methods:{getWindowStart:function(){return m.get(1,this.visibleRangeWindow+2)},getWindowEnd:function(){return m.get(this.pageData.totalPages-(this.visibleRangeWindow+2),this.pageData.totalPages)},getRangeStart:function(){return m.get(1,2)},getRangeEnd:function(){return m.get(this.pageData.totalPages-1,this.pageData.totalPages)},getRangeAdjacent:function(){return m.get(this.pageData.currentPage-this.rangeItemsPerSide,this.pageData.currentPage+this.rangeItemsPerSide)},hasPage:function(t){return null!==this.pageData&&(t>=1&&t<=this.pageData.totalPages)},moveToPage:function(t){null!==this.pageData&&(this.pageData.currentPage=t,this.$emit("page-updated",t))},updatePerPage:function(t){this.$emit("per-page-updated",t.target.value),t.preventDefault()},movePrevious:function(){null!==this.pageData&&1!==this.pageData.currentPage&&this.moveToPage(this.pageData.currentPage-1)},moveNext:function(){null!==this.pageData&&this.pageData.currentPage!==this.pageData.totalPages&&this.moveToPage(this.pageData.currentPage+1)},shouldUseSmallSlider:function(){return!0===this.displayPerPage&&this.pageData.totalPages<=this.instancePerPage&&this.pageData.totalPages<=10||this.pageData.totalPages<2*this.rangePerSide+6},shouldUseBeginningSlider:function(){return this.pageData.currentPage<=this.visibleRangeWindow},shouldUseEndSlider:function(){return this.pageData.currentPage>this.pageData.totalPages-this.visibleRangeWindow},updateVisibleRange:function(t){this.visibleRangeWindow=2*t},makeRangeItem:function(t){var e=new Fr;return e.pageNumber=t,null!==this.pageData&&this.pageData.currentPage===t&&(e.isSelected=!0),e},makeRangeArray:function(t){for(var e=[],n=0;n1},shouldDisplayPerPageSelection:function(){return null!==this.perPageOptions&&0!==this.perPageOptions.length&&(null!==this.pageData&&this.pageData.totalItems>=this.perPageOptions[0])},visibleRange:function(){if(null===this.pageData)return[];return this.shouldUseSmallSlider()?this.makeRangeArray(m.get(1,this.pageData.totalPages)):this.shouldUseBeginningSlider()?this.buildSeparatedRangeItems([this.getWindowStart(),this.getRangeEnd()]):this.shouldUseEndSlider()?this.buildSeparatedRangeItems([this.getRangeStart(),this.getWindowEnd()]):this.buildSeparatedRangeItems([this.getRangeStart(),this.getRangeAdjacent(),this.getRangeEnd()])},hasPrevious:function(){return null!==this.pageData&&this.pageData.currentPage>1},hasNext:function(){return null!==this.pageData&&this.pageData.currentPage=this.pageData.totalPages}},created:function(){this.instancePerPage=this.perPage,this.updateVisibleRange(this.rangeItemsPerSide)}};function Hr(t){return Hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hr(t)}function Br(t,e){for(var n=0;n0){var t=new fn(this.comment);this.confirm(t).onConfirm(function(t){this.$emit("reply-canceled",this.comment),this.comment.cancelReply()}.bind(this))}else this.$emit("reply-canceled",this.comment),this.comment.cancelReply()}},mounted:function(){this.$refs.markdownEditor.focus()},created:function(){this.$keys.bind("esc",this.cancel)}},Co=n(196),Ao=n.n(Co);function Ro(t){return Ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ro(t)}function Do(t,e){for(var n=0;ne.order?1:-1})),a=[],s={};for(var u in this.columns)this.columns[u]!==t.None&&(i+=1);for(var c=0;c0&&(r+=1),this.columns)if(this.columns[l]!==t.None){var f=r;void 0!==n[l]&&(f=n[l]),e.push({column:l,order:f}),r+=1}e=e.sort((function(t,e){return t.order>e.order?1:-1})),r=0;for(var p=0;p1,this.buildSortString()}},{key:"buildSortIndex",value:function(){var e=0,n=[],r={};for(var i in this.columns)this.columns[i]!==t.None&&(n.push({column:i,order:e}),r[i]=e+1),e+=1;this.orders=r,this.sortIndex=n,this.hasMultipleOrders=this.sortIndex.length>1,this.buildSortString()}}])&&sa(e.prototype,n),r&&sa(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();ua.Asc=1,ua.Desc=-1,ua.None=0;var ca=ua,la=n(197),fa=n.n(la);n(294);var pa={template:fa.a,props:{column:{type:String,default:null},manager:{type:Object,default:null},respondToClick:{type:Boolean,default:!0}},methods:{updateManager:function(){!0===this.respondToClick&&(this.manager.toggleColumn(this.column),this.$emit("order-changed"))}}},da=n(198),ma=n.n(da);n(295);var ha={template:ma.a,mixins:[Je],props:{totalCount:{type:Number,default:0}}},ya=n(48);n(296);var va={mixins:[Je,rn],template:Ni.a,components:{"table-filters":oa,"author-display":Vi,"comment-display":jo,"comment-editor":pn,"reply-editor":To,"sort-indicator":pa,"empty-indicator":ha},props:{loading:{type:Boolean,default:!1},comments:{type:Object,default:null},displayFocusMode:{type:Boolean,default:!1},activeFilterId:{type:Number,default:0}},data:function(){return{sortManager:null,currentAction:null,avatarDriver:null,state:{totalCount:0},permissions:null,handlers:{edit:zr,reply:Qr},singleSelectTranslation:this.trans("actions.select_comment"),canUseBulkActions:!1,currentBulkAction:"approve",bulkHandlers:{approve:ii,unapprove:li,delete:yi,"mark-spam":_i,"mark-ham":Ei,"remove-spam":Mi}}},computed:{hasData:function(){return!1!==o.hasValue(this.comments)&&this.comments.comments.length>0},shouldDisplayThread:function(){return!1!==o.hasValue(this.comments)&&this.comments.threads.length>1},hasCommentResponse:function(){return o.hasValue(this.comments)},selectedCount:function(){var t=0;if(!1===o.hasValue(this.comments))return t;for(var e=0;e0&&this.$emit("data-update-requested"))},exitFocusMode:function(){this.displayFocusMode=!1},clearData:function(){this.closeAllActionDialogs([]),this.comments.clear()},updateSortFromHeader:function(t){b.hasValue(t)&&(this.sortManager.toggleColumn(t),this.updateStateFromOrder())},setSortString:function(t){this.sortManager.setSortString(t)},updateStateFromOrder:function(){this.$emit("order-changed",this.sortManager)},onConfigAvatarUpdated:function(t){o.hasValue(t)&&t.length>0&&(this.avatarDriver=te.getDriverName(t[0]))},onConfigUserAvailable:function(){this.permissions=vt.getPermissions(),(this.permissions.canApproveComments||this.permissions.canEditComments||this.permissions.canRemoveComments||this.permissions.canReportAsHam||this.permissions.canReportAsSpam||this.permissions.canUnApproveComments)&&(this.canUseBulkActions=!0)},onFilterChange:function(t){this.$emit("filter-changed",t)},onSearchUpdated:function(t){this.$emit("search-updated",t)},closeAllActionDialogs:function(t){this.forceDismissBulkActions(),this.$refs.commentDisplay.forEach((function(t){t.forceDismiss()}))},getSelectedIds:function(){for(var t=[],e=this.comments.comments.getSelected(),n=0;n-1&&this.state.lastPerPageRequest===t||(this.state.lastPerPageRequest=t,this.searchOptions.resultsPerPage=t,this.loadCommentData().then(function(){this.$nextTick((function(){vt.scrollTop()}))}.bind(this)))},updateQueryWithPage:function(t){this.state.lastPageRequest!==t&&(this.state.lastPageRequest=t,this.searchOptions.page=t,this.loadCommentData())},onRefreshRequested:function(){this.loadCommentData()},loadCommentData:function(){return!1===this.state.hasLoadedInitial&&(this.state.loadingInitial=!0),this.state.loadingData=!0,new Promise(function(t,e){this.commentRepo.search(this.searchOptions).then(function(e){!1===this.state.hasLoadedInitial&&(this.state.hasLoadedInitial=!0,this.state.loadingInitial=!1),this.commentData=e,this.state.initialSortString=e.sortString,this.state.loadingData=!1,t()}.bind(this)).catch((function(t){e(t)}))}.bind(this))},applyFromDefaultFilter:function(t){if(this.defaultFilters.includes(t)){var e=(n=t,r=new qo,i=new zo,a=new Qo,s=new ia,(u={})[r.internalName]=r,u[i.internalName]=i,u[a.internalName]=a,u[s.internalName]=s,o.hasValue(u[n])?u[n]:null);null!==e&&(this.state.activeFilterId=e.id,this.state.activeFilterName=e.internalName,this.onFilterChanged(e))}var n,r,i,a,s,u}},created:function(){this.spamTaskObserver=new xa,this.spamTaskObserver.on("error",this.onSpamTaskError.bind(this)),this.spamTaskObserver.on("complete",this.onSpamTaskComplete.bind(this)),this.spamTaskObserver.on("canceled",this.onSpamTaskCanceled.bind(this)),this.permissions=vt.getPermissions(),this.permissions.canReportAsHam&&this.permissions.canReportAsSpam&&(this.canCheckForSpam=!0);var t=S.currentLastValue().toLowerCase();this.applyFromDefaultFilter(t),window.onpopstate=function(t){if(null!==t.state&&null!==t.state.urlPath){var e=S.lastValue(t.state.urlPath);this.applyFromDefaultFilter(e)}}.bind(this),Ms.Hubs.config().handledBy(this),Ms.Hubs.comments().handledBy(this),this.loadCommentData(),this.state.initialPerPage=vt.UserPreferences.cp_per_page,this.searchOptions.resultsPerPage=this.state.initialPerPage}},Ns=n(199),Ls=n.n(Ns),Fs=n(200),Vs={mixins:[Je],template:n.n(Fs).a,props:{settings:{type:Object,default:null}},data:function(){return{autoPublish:!0,autoClose:!1,closeDays:2}}},qs=n(201),Hs={mixins:[Je],template:n.n(qs).a,components:{loader:bn},props:{settings:{type:Object,default:null}},computed:{hasAkismetSettings:function(){var t=this.$parent.settings.items["akismet.api_key"].value,e=this.$parent.settings.items["akismet.front_page"].value;return t.trim().length>0&&e.trim().length>0}},methods:{validateConfiguration:function(){var t=this.$parent.settings.items["akismet.api_key"].value,e=this.$parent.settings.items["akismet.front_page"].value;this.state.currentMessage=this.trans("config.validate_akismet_validating"),this.state.isValidating=!0,Ds.Instance.validateAkismet(t,e).then(function(t){this.state.currentMessage=t.message,this.state.isValidating=!1}.bind(this)).catch(function(){this.state.currentMessage=this.trans("config.validate_akismet_failure"),this.state.isValidating=!1}.bind(this))},guardUpdated:function(){this.$parent.updateGuardConfiguration()}},data:function(){return{state:{currentMessage:"",isValidating:!1}}}},Bs=n(202),Us={mixins:[Je],template:n.n(Bs).a,props:{settings:{type:Object,default:null}},data:function(){return{showDefaults:!1}}},Zs=n(203),$s={mixins:[Je],template:n.n(Zs).a,props:{settings:{type:Object,default:null}},methods:{checkPermissions:function(t){t.permissions.hasAllPermissions?(t.permissions.canApproveComments=!0,t.permissions.canEditComments=!0,t.permissions.canRemoveComments=!0,t.permissions.canReplyToComments=!0,t.permissions.canReportAsHam=!0,t.permissions.canReportAsSpam=!0,t.permissions.canUnApproveComments=!0,t.permissions.canViewComments=!0):(t.permissions.canApproveComments=!1,t.permissions.canEditComments=!1,t.permissions.canRemoveComments=!1,t.permissions.canReplyToComments=!1,t.permissions.canReportAsHam=!1,t.permissions.canReportAsSpam=!1,t.permissions.canUnApproveComments=!1,t.permissions.canViewComments=!1,t.permissions.hasAllPermissions=!1)}},data:function(){return{}}},zs=n(204),Ws={mixins:[Je],template:n.n(zs).a,props:{settings:{type:Object,default:null}},data:function(){return{showDefaults:!1}}},Js=n(205),Gs={mixins:[Je],template:n.n(Js).a,data:function(){return{showDefaults:!1}},props:{settings:{type:Object,default:null}}},Ys=n(206),Ks={mixins:[Je],template:n.n(Ys).a,data:function(){return{showDefaults:!1}},props:{settings:{type:Object,default:null}}};function Qs(t){return Qs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qs(t)}function Xs(t,e){for(var n=0;nr?1:0})),this.avatarOptions=e},updateGuardConfiguration:function(){this.wordFilterEnabled=this.hasGuardEnabled("WordFilterSpamGuard"),this.ipFilterEnabled=this.hasGuardEnabled("IpFilterSpamGuard"),this.akismetFilterEnabled=this.hasGuardEnabled("AkismetSpamGuard")},hasGuardEnabled:function(t){if(null===this.settings)return!1;for(var e=0;e0)for(var n=0;n 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","var hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","module.exports = false;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","/*!\n * EventEmitter v5.2.9 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - https://oli.me.uk/\n * @preserve\n */\n\n;(function (exports) {\n 'use strict';\n\n /**\n * Class for managing events.\n * Can be extended to provide event functionality in other classes.\n *\n * @class EventEmitter Manages event registering and emitting.\n */\n function EventEmitter() {}\n\n // Shortcuts to improve speed and size\n var proto = EventEmitter.prototype;\n var originalGlobalValue = exports.EventEmitter;\n\n /**\n * Finds the index of the listener for the event in its storage array.\n *\n * @param {Function[]} listeners Array of listeners to search through.\n * @param {Function} listener Method to look for.\n * @return {Number} Index of the specified listener, -1 if not found\n * @api private\n */\n function indexOfListener(listeners, listener) {\n var i = listeners.length;\n while (i--) {\n if (listeners[i].listener === listener) {\n return i;\n }\n }\n\n return -1;\n }\n\n /**\n * Alias a method while keeping the context correct, to allow for overwriting of target method.\n *\n * @param {String} name The name of the target method.\n * @return {Function} The aliased method\n * @api private\n */\n function alias(name) {\n return function aliasClosure() {\n return this[name].apply(this, arguments);\n };\n }\n\n /**\n * Returns the listener array for the specified event.\n * Will initialise the event object and listener arrays if required.\n * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.\n * Each property in the object response is an array of listener functions.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Function[]|Object} All listener functions for the event.\n */\n proto.getListeners = function getListeners(evt) {\n var events = this._getEvents();\n var response;\n var key;\n\n // Return a concatenated array of all matching events if\n // the selector is a regular expression.\n if (evt instanceof RegExp) {\n response = {};\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n response[key] = events[key];\n }\n }\n }\n else {\n response = events[evt] || (events[evt] = []);\n }\n\n return response;\n };\n\n /**\n * Takes a list of listener objects and flattens it into a list of listener functions.\n *\n * @param {Object[]} listeners Raw listener objects.\n * @return {Function[]} Just the listener functions.\n */\n proto.flattenListeners = function flattenListeners(listeners) {\n var flatListeners = [];\n var i;\n\n for (i = 0; i < listeners.length; i += 1) {\n flatListeners.push(listeners[i].listener);\n }\n\n return flatListeners;\n };\n\n /**\n * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Object} All listener functions for an event in an object.\n */\n proto.getListenersAsObject = function getListenersAsObject(evt) {\n var listeners = this.getListeners(evt);\n var response;\n\n if (listeners instanceof Array) {\n response = {};\n response[evt] = listeners;\n }\n\n return response || listeners;\n };\n\n function isValidListener (listener) {\n if (typeof listener === 'function' || listener instanceof RegExp) {\n return true\n } else if (listener && typeof listener === 'object') {\n return isValidListener(listener.listener)\n } else {\n return false\n }\n }\n\n /**\n * Adds a listener function to the specified event.\n * The listener will not be added if it is a duplicate.\n * If the listener returns true then it will be removed after it is called.\n * If you pass a regular expression as the event name then the listener will be added to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListener = function addListener(evt, listener) {\n if (!isValidListener(listener)) {\n throw new TypeError('listener must be a function');\n }\n\n var listeners = this.getListenersAsObject(evt);\n var listenerIsWrapped = typeof listener === 'object';\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {\n listeners[key].push(listenerIsWrapped ? listener : {\n listener: listener,\n once: false\n });\n }\n }\n\n return this;\n };\n\n /**\n * Alias of addListener\n */\n proto.on = alias('addListener');\n\n /**\n * Semi-alias of addListener. It will add a listener that will be\n * automatically removed after its first execution.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addOnceListener = function addOnceListener(evt, listener) {\n return this.addListener(evt, {\n listener: listener,\n once: true\n });\n };\n\n /**\n * Alias of addOnceListener.\n */\n proto.once = alias('addOnceListener');\n\n /**\n * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.\n * You need to tell it what event names should be matched by a regex.\n *\n * @param {String} evt Name of the event to create.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvent = function defineEvent(evt) {\n this.getListeners(evt);\n return this;\n };\n\n /**\n * Uses defineEvent to define multiple events.\n *\n * @param {String[]} evts An array of event names to define.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvents = function defineEvents(evts) {\n for (var i = 0; i < evts.length; i += 1) {\n this.defineEvent(evts[i]);\n }\n return this;\n };\n\n /**\n * Removes a listener function from the specified event.\n * When passed a regular expression as the event name, it will remove the listener from all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to remove the listener from.\n * @param {Function} listener Method to remove from the event.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListener = function removeListener(evt, listener) {\n var listeners = this.getListenersAsObject(evt);\n var index;\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key)) {\n index = indexOfListener(listeners[key], listener);\n\n if (index !== -1) {\n listeners[key].splice(index, 1);\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of removeListener\n */\n proto.off = alias('removeListener');\n\n /**\n * Adds listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.\n * You can also pass it a regular expression to add the array of listeners to all events that match it.\n * Yeah, this function does quite a bit. That's probably a bad thing.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListeners = function addListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(false, evt, listeners);\n };\n\n /**\n * Removes listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be removed.\n * You can also pass it a regular expression to remove the listeners from all events that match it.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListeners = function removeListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(true, evt, listeners);\n };\n\n /**\n * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.\n * The first argument will determine if the listeners are removed (true) or added (false).\n * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be added/removed.\n * You can also pass it a regular expression to manipulate the listeners of all events that match it.\n *\n * @param {Boolean} remove True if you want to remove listeners, false if you want to add.\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add/remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {\n var i;\n var value;\n var single = remove ? this.removeListener : this.addListener;\n var multiple = remove ? this.removeListeners : this.addListeners;\n\n // If evt is an object then pass each of its properties to this method\n if (typeof evt === 'object' && !(evt instanceof RegExp)) {\n for (i in evt) {\n if (evt.hasOwnProperty(i) && (value = evt[i])) {\n // Pass the single listener straight through to the singular method\n if (typeof value === 'function') {\n single.call(this, i, value);\n }\n else {\n // Otherwise pass back to the multiple function\n multiple.call(this, i, value);\n }\n }\n }\n }\n else {\n // So evt must be a string\n // And listeners must be an array of listeners\n // Loop over it and pass each one to the multiple method\n i = listeners.length;\n while (i--) {\n single.call(this, evt, listeners[i]);\n }\n }\n\n return this;\n };\n\n /**\n * Removes all listeners from a specified event.\n * If you do not specify an event then all listeners will be removed.\n * That means every event will be emptied.\n * You can also pass a regex to remove all events that match it.\n *\n * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeEvent = function removeEvent(evt) {\n var type = typeof evt;\n var events = this._getEvents();\n var key;\n\n // Remove different things depending on the state of evt\n if (type === 'string') {\n // Remove all listeners for the specified event\n delete events[evt];\n }\n else if (evt instanceof RegExp) {\n // Remove all events matching the regex.\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n delete events[key];\n }\n }\n }\n else {\n // Remove all listeners in all events\n delete this._events;\n }\n\n return this;\n };\n\n /**\n * Alias of removeEvent.\n *\n * Added to mirror the node API.\n */\n proto.removeAllListeners = alias('removeEvent');\n\n /**\n * Emits an event of your choice.\n * When emitted, every listener attached to that event will be executed.\n * If you pass the optional argument array then those arguments will be passed to every listener upon execution.\n * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.\n * So they will not arrive within the array on the other side, they will be separate.\n * You can also pass a regular expression to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {Array} [args] Optional array of arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emitEvent = function emitEvent(evt, args) {\n var listenersMap = this.getListenersAsObject(evt);\n var listeners;\n var listener;\n var i;\n var key;\n var response;\n\n for (key in listenersMap) {\n if (listenersMap.hasOwnProperty(key)) {\n listeners = listenersMap[key].slice(0);\n\n for (i = 0; i < listeners.length; i++) {\n // If the listener returns true then it shall be removed from the event\n // The function is executed either with a basic call or an apply if there is an args array\n listener = listeners[i];\n\n if (listener.once === true) {\n this.removeListener(evt, listener.listener);\n }\n\n response = listener.listener.apply(this, args || []);\n\n if (response === this._getOnceReturnValue()) {\n this.removeListener(evt, listener.listener);\n }\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of emitEvent\n */\n proto.trigger = alias('emitEvent');\n\n /**\n * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.\n * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {...*} Optional additional arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emit = function emit(evt) {\n var args = Array.prototype.slice.call(arguments, 1);\n return this.emitEvent(evt, args);\n };\n\n /**\n * Sets the current value to check against when executing listeners. If a\n * listeners return value matches the one set here then it will be removed\n * after execution. This value defaults to true.\n *\n * @param {*} value The new value to check for when executing listeners.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.setOnceReturnValue = function setOnceReturnValue(value) {\n this._onceReturnValue = value;\n return this;\n };\n\n /**\n * Fetches the current value to check against when executing listeners. If\n * the listeners return value matches this one then it should be removed\n * automatically. It will return true by default.\n *\n * @return {*|Boolean} The current value to check for or the default, true.\n * @api private\n */\n proto._getOnceReturnValue = function _getOnceReturnValue() {\n if (this.hasOwnProperty('_onceReturnValue')) {\n return this._onceReturnValue;\n }\n else {\n return true;\n }\n };\n\n /**\n * Fetches the events object and creates one if required.\n *\n * @return {Object} The events storage object.\n * @api private\n */\n proto._getEvents = function _getEvents() {\n return this._events || (this._events = {});\n };\n\n /**\n * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.\n *\n * @return {Function} Non conflicting EventEmitter class.\n */\n EventEmitter.noConflict = function noConflict() {\n exports.EventEmitter = originalGlobalValue;\n return EventEmitter;\n };\n\n // Expose the class either via AMD, CommonJS or the global object\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return EventEmitter;\n });\n }\n else if (typeof module === 'object' && module.exports){\n module.exports = EventEmitter;\n }\n else {\n exports.EventEmitter = EventEmitter;\n }\n}(typeof window !== 'undefined' ? window : this || {}));\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","class Environment {\n\n}\n\nEnvironment.ContextJquery = null;\n\nexport default Environment;\n","class Type {\n\n /**\n * Tests if the supplied value is an array.\n *\n * @param {object} obj The object to test.\n * @returns {boolean}\n */\n static isArray(obj: Object): Boolean {\n if (Type.hasValue(obj) === false) {\n return false;\n }\n\n return Array.isArray(obj);\n }\n\n /**\n * Tests if the object is a function.\n *\n * @param {object} obj The object to test.\n * @returns {boolean}\n */\n static isFunction(obj): Boolean {\n return typeof obj === 'function';\n }\n\n /**\n * Attempts to determine the type of the provided value.\n *\n * @param {(Object|string)} type The type to check.\n * @returns {null|String}\n */\n static typeOf(type): String {\n if (typeof type === 'undefined') {\n return null;\n }\n\n if (typeof type.prototype !== 'object') {\n if (typeof type.__proto__ === 'object') {\n return type.__proto__.constructor.name;\n }\n\n return null;\n }\n\n if (typeof type.prototype.constructor !== 'function') {\n return null;\n }\n\n return type.prototype.constructor.name;\n }\n\n /**\n * Tests if the provided value is of the specified type.\n *\n * @param {Object|string} value The value to test.\n * @param {Object|string} type The type to guarantee.\n * @returns {boolean}\n */\n static isTypeOf(value, type): Boolean {\n return Type.typeOf(value) === Type.typeOf(type);\n }\n\n /**\n * Tests if the provided value has a value set.\n *\n * @param {(Object|string|number)} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n if (typeof value === 'undefined') {\n return false;\n }\n\n return value !== null;\n }\n\n /**\n * Tests if all the provided value paths are set.\n *\n * @param {Array} values The paths to test.\n * @returns {boolean}\n */\n static hasAllValues(values: Array) {\n for (let i = 0; i < values.length; i += 1) {\n if (Type.hasValue(values[i]) === false) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {(Object|string|number)} value The value to test.\n * @param {(Object|string|number)} defaultValue The default value, if any.\n * @returns {(Object|string|number)}\n */\n static withDefault(value, defaultValue) {\n if (Type.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n}\n\nexport default Type;\n","import {Hubs} from './index';\n\nclass Message {\n constructor(name: string, eventData: Object) {\n this.name = name;\n this.data = eventData;\n this.origin = Hubs.getIdentifier();\n }\n\n /**\n * Constructs a message from the provided details.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n *\n * @returns {Message}\n */\n static fromData(eventName: string, eventData: Object): Message {\n let message = new Message();\n\n message.name = eventName;\n message.data = eventData;\n message.origin = Hubs.getIdentifier();\n\n return message;\n }\n\n /**\n * Converts the message to a payload string.\n *\n * @returns {string}\n */\n toMessageString() {\n return JSON.stringify({\n name: this.name,\n data: this.data,\n origin: this.origin\n });\n }\n}\n\nexport default Message;\n","import Type from './type';\n\nclass String {\n\n /**\n * Limits the value's length.\n *\n * @param {string} value The value to limit.\n * @param {Number} limit The maximum number of characters of the value.\n * @param {string} cap An optional end cap. Defaults to `...`.\n * @returns {string}\n */\n static truncate(value: string, limit: Number, cap: string): string {\n if (Type.hasValue(cap) === false) {\n cap = '...';\n }\n\n if (value.length > limit) {\n return value.substr(0, limit - 1) + cap;\n }\n\n return value;\n }\n\n /**\n * Tests if the value has a string value.\n *\n * @param {string|null} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n if (Type.hasValue(value) === false) {\n return false;\n }\n\n if (value.constructor.name !== 'String') {\n return false;\n }\n\n return value.trim().length !== 0;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {string} value The value to test.\n * @param {string} defaultValue The value to return if no value present.\n * @returns {string|*}\n */\n static withDefault(value, defaultValue: string): string {\n if (String.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n /**\n * Ensures the value ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static finish(value: string, suffix: string): string {\n if (String.endsWith(value, suffix)) {\n return value;\n }\n\n return value + suffix;\n }\n\n /**\n * Ensures the value begins with the prefix.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static start(value: string, prefix: string): string {\n if (String.startsWith(value, prefix)) {\n return value;\n }\n\n return prefix + value;\n }\n\n /**\n * Indicates if the value string starts with the value.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static startsWith(value: string, prefix: string): string {\n return (value.substr(0, prefix.length) === prefix);\n }\n\n /**\n * Indicates if the value string ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static endsWith(value: string, suffix: string): string {\n return (value.substr(value.length - suffix.length) === suffix);\n }\n\n /**\n * Formats the provided value with the replacements.\n *\n * @param {string} value\n * @param {array|string} replacements\n */\n static format(value, ...replacements) {\n let content = value;\n\n for (let i = 0; i < replacements.length; i++) {\n let replacement = '{' + i + '}';\n\n content = content.replace(replacement, replacements[i]);\n }\n\n return content;\n }\n\n /**\n * Transforms the value's first character to upper-cased.\n *\n * @param {string} value The value to transform.\n * @returns {string}\n */\n static ucFirst(value: string): string {\n if (String.hasValue(value) === false) {\n return value;\n }\n\n if (value.length === 1) {\n return value.toUpperCase();\n }\n\n return value.charAt(0).toUpperCase() + value.slice(1);\n }\n\n}\n\nexport default String;\n","import Environment from '../environment';\nimport Type from '../Types/type';\nimport Message from './message';\nimport EventEmitter from 'wolfy87-eventemitter';\nimport String from '../Types/string';\n\nconst store = require('store');\n\nclass Manager extends EventEmitter {\n\n constructor(canReceiveEvents) {\n super();\n\n this.emitToSelf = false;\n\n if (canReceiveEvents && Type.hasValue(Environment.ContextJquery)) {\n Environment.ContextJquery(window).on('storage', this.handleMessageReceived.bind(this));\n }\n }\n\n /**\n * Broadcasts a message to all other listeners.\n *\n * @param {Message} message The message to broadcast.\n */\n broadcast(message: Message) {\n let broadcastKey = Manager.StorageMessageKey;\n\n if (Type.hasValue(this['getMessageKey']) === true) {\n broadcastKey = this.getMessageKey();\n }\n\n this.broadcastWithKey(broadcastKey, message);\n }\n\n broadcastWithKey(broadcastKey: string, message: Message) {\n let messageData = message.toMessageString();\n\n store.set(broadcastKey, messageData);\n store.remove(broadcastKey);\n\n if (this.emitToSelf === true && Type.hasValue(this['selfHandle'])) {\n this.selfHandle(broadcastKey, message);\n }\n }\n\n /**\n * Constructs a message and broadcasts it using the global manager.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n */\n static broadcastAll(eventName: string, eventData: Object) {\n Manager.Instance.broadcast(Message.fromData(eventName, eventData));\n }\n\n /**\n * Constructs a message and broadcasts it to the current listener.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n */\n selfBroadcast(eventName: string, eventData: string) {\n this.emit(Manager.EventMessageReceived, Message.fromData(eventName, eventData));\n }\n\n /**\n * Handles the window storage event and redirects appropriate messages to the listeners.\n *\n * @param windowEvent\n */\n handleMessageReceived(windowEvent) {\n if (Type.hasValue(windowEvent) && Type.hasValue(windowEvent['originalEvent'])) {\n if (String.startsWith(windowEvent.originalEvent.key, Manager.StorageMessageKey) &&\n Type.hasValue(windowEvent.originalEvent['newValue'])) {\n\n try {\n let parsedMessage = JSON.parse(JSON.parse(windowEvent.originalEvent.newValue));\n\n if (this.emitToSelf === true && Type.hasValue(this['selfHandle'])) {\n this.selfHandle(windowEvent.originalEvent.key, parsedMessage);\n }\n\n this.emit(Manager.EventMessageReceived, parsedMessage);\n } catch (err) {\n throw err;\n }\n }\n }\n }\n\n}\n\nManager.StorageMessageKey = '_broadcastMessage';\nManager.StorageNamespaceMessageKey = '_broadcastNamespace';\nManager.EventMessageReceived = 'message.received';\nManager.Instance = new Manager(false);\n\nexport default Manager;\n","import Type from '../Types/type';\nimport {Message} from './message';\nimport {Hubs} from './index';\n\nclass HandlerManager {\n\n constructor(hub, handler) {\n this.hub = hub;\n this.handler = handler;\n this.methodRedirects = [];\n this.reactsToCurrentSyncInstance = true;\n }\n\n /**\n * Tests if the manager has method redirects.\n *\n * @returns {boolean}\n */\n hasRedirects(): Boolean {\n return this.methodRedirects.length > 0;\n }\n\n /**\n * Tests if the handler has the requested method.\n *\n * @param method\n */\n hasMethod(method): Boolean {\n return Type.isFunction(this.handler[method]);\n }\n\n /**\n * Adds the method to the internal redirects list.\n *\n * @param {string} method The method name.\n */\n redirectTo(method) {\n this.methodRedirects.push(method);\n }\n\n reactsToInstance(doesReact): HandlerManager {\n this.reactsToCurrentSyncInstance = doesReact;\n\n return this;\n }\n\n /**\n * Removes all previously registered method redirects.\n */\n clearRedirects() {\n this.methodRedirects = [];\n }\n\n /**\n * Invokes the provided method by name\n *\n * @param {string} methodName The method name.\n * @param {data} data The data to supply as the first argument.\n * @private\n */\n _invokeMethod(methodName, data) {\n this.handler[methodName](data);\n }\n\n triggerRedirects(message: Message) {\n if (this.hasRedirects()) {\n for (let i = 0; i < this.methodRedirects.length; i += 1) {\n this.methodRedirects[i](message.data);\n }\n }\n }\n\n triggerHandler(handlerName: string, message: Message) {\n if (this.reactsToCurrentSyncInstance === false) {\n if (message.origin === Hubs.getIdentifier()) {\n return;\n }\n }\n\n this.triggerRedirects(message);\n\n if (this.hasMethod(handlerName)) {\n this._invokeMethod(handlerName, message.data);\n }\n }\n\n}\n\nexport default HandlerManager;\n","import Manager from './manager';\nimport Message from './message';\nimport Type from '../Types/type';\nimport String from '../Types/string';\nimport HandlerManager from './handlerManager';\n\n/**\n * The Hub is a dynamic wrapper around the Manager.\n */\nclass Hub extends Manager {\n\n constructor(name: string, typeNamespace: string) {\n super(true);\n\n this.emitToSelf = true;\n this.name = name;\n this.reactNamespace = Type.withDefault(typeNamespace, null);\n this.receiverKey = this.getMessageKey();\n this.handlerManagers = [];\n this.typeHandlers = [];\n\n this.handlePrefix = 'on' + String.ucFirst(this.name.toLowerCase());\n this.reactPrefix = null;\n\n if (this.reactNamespace !== null) {\n this.reactPrefix = 'on' + String.ucFirst(this.reactNamespace.toLowerCase());\n }\n\n return new Proxy(this, {\n get: function (object, property) {\n if (Reflect.has(object, property)) {\n return Reflect.get(object, property);\n }\n\n return function methodMissing() {\n let message = new Message(property, ...arguments);\n\n this.broadcast(message);\n }.bind(this);\n }.bind(this)\n });\n }\n\n /**\n * Registers a message handler with the hub.\n *\n * @param {Object} handler The handler to receive messages.\n */\n handledBy(handler: Object) : HandlerManager {\n let handlerManager = new HandlerManager(this, handler);\n\n this.handlerManagers.push(handlerManager);\n\n return handlerManager;\n }\n\n /**\n * Generates a custom message key for this hub.\n *\n * @returns {string}\n */\n getMessageKey() {\n return Manager.StorageMessageKey + ':hub:' + this.name;\n }\n\n /**\n * Checks if the received message should be handled by this hub.\n *\n * If the message should be handled, any hub handlers will be called.\n *\n * @param {string} key The broadcast key.\n * @param {Message} message The message that was sent.\n */\n selfHandle(key, message) {\n if (key === this.receiverKey) {\n let messageName = String.ucFirst(message.name),\n handleName = this.handlePrefix + messageName;\n\n if (this.reactNamespace !== null && Type.isArray(message.data)) {\n let handleName = this.reactPrefix + messageName;\n\n for (let i = 0; i < message.data.length; i += 1) {\n if (typeof message.data[i] === 'object' || String.hasValue(message.data[i])) {\n if (this.typeHandlers.length > 0) {\n for (let j = 0; j < this.typeHandlers.length; j += 1) {\n let idField = this.typeHandlers[j].__syncJsIdentityField;\n\n if (typeof message.data[i] === 'object') {\n if (Type.hasValue(message.data[i][idField])) {\n if (message.data[i][idField] === this.typeHandlers[j].__syncJsGetIdentity()) {\n this.typeHandlers[j].__syncJsTriggerFromTypeHandleWithObjParam(\n handleName, message.data[i]\n );\n }\n }\n } else {\n if (this.typeHandlers[j].__syncJsGetIdentity() === message.data[i]) {\n this.typeHandlers[j].__syncJsTriggerFromTypeHandle(handleName);\n }\n }\n }\n }\n }\n }\n }\n\n for (let i = 0; i < this.handlerManagers.length; i += 1) {\n this.handlerManagers[i].triggerHandler(handleName, message);\n }\n }\n }\n\n}\n\nexport default Hub;\n","class Guid {\n\n static newGuid(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n });\n }\n\n}\n\nexport default Guid;\n","import Hub from './hub';\nimport Type from '../Types/type';\nimport String from '../Types/string';\nimport Guid from '../Types/guid';\n\n/**\n * Provides a dynamic wrapper for managing shared hub instances.\n *\n * Once a hub has been registered, it can be accessed like so:\n *\n * Hubs.hubName().someHubMethod()\n */\nclass Hubs {\n\n constructor() {\n return new Proxy(this, {\n get: function (object, property) {\n if (Reflect.has(object, property)) {\n return Reflect.get(object, property);\n }\n\n return function methodMissing() {\n if (typeof Hubs.Registered[property] !== 'undefined') {\n return Hubs.Registered[property];\n }\n\n throw new Error('Could not locate hub: ' + property);\n };\n }\n });\n }\n\n getIdentifier() {\n return Hubs.GlobalIdentifier;\n }\n\n make(name, typeNamespace) {\n let hub = new Hub(name, typeNamespace);\n\n if (String.hasValue(typeNamespace)) {\n if (Type.hasValue(Hubs.TypedHubs[typeNamespace]) === false) {\n Hubs.TypedHubs[typeNamespace] = [];\n }\n\n Hubs.TypedHubs[typeNamespace].push(hub);\n }\n\n Hubs.Registered[name] = hub;\n }\n\n /**\n * Returns any hubs registered for the provided type.\n *\n * @param {string} type The type name.\n * @returns {Array}\n */\n getTypedHubs(type): Array {\n if (Type.hasValue(Hubs.TypedHubs[type])) {\n return Hubs.TypedHubs[type];\n }\n\n return [];\n }\n\n}\n\nHubs.GlobalIdentifier = Guid.newGuid();\nHubs.Registered = {};\nHubs.TypedHubs = {};\n\nexport default new Hubs();\n","import Type from '../Types/type';\nimport Hubs from './hubs';\nimport Manager from './manager';\n\nexport function reactsToType(instance, options) {\n if (Type.hasValue(options) === false || Type.withDefault(options['identity'], null) === null) {\n return;\n }\n\n instance.__syncJsType = Type.typeOf(instance);\n instance.__syncJsIdentityField = options.identity;\n instance.__syncJsTypeNamespace = Manager.StorageNamespaceMessageKey + '@' + instance.__syncJsType;\n instance.__syncJsGetIdentity = function () {\n return Type.withDefault(this[options.identity], null);\n }.bind(instance);\n\n instance.__syncJsTriggerFromTypeHandle = function (typeHandler) {\n if (Type.isFunction(this[typeHandler])) {\n this[typeHandler]();\n }\n }.bind(instance);\n\n instance.__syncJsTriggerFromTypeHandleWithObjParam = function (typeHandler, objParam) {\n if (Type.isFunction(this[typeHandler])) {\n this[typeHandler](objParam);\n }\n }.bind(instance);\n\n let typedHubs = Hubs.getTypedHubs(instance.__syncJsType);\n\n for (let i = 0; i < typedHubs.length; i += 1) {\n typedHubs[i].typeHandlers.push(instance);\n }\n}\n","import Environment from './environment';\n\nexport * from './Messaging';\nexport {reactsToType} from './Messaging/typeNamespaceReactors';\n\n/** Attempts to automatically configure the jQuery instance from the window object. */\nif (typeof window['jQuery'] !== 'undefined' && window['jQuery'] !== null) {\n Environment.ContextJquery = window['jQuery'];\n}\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.28.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var assign = make_assign()\nvar create = make_create()\nvar trim = make_trim()\nvar Global = (typeof window !== 'undefined' ? window : global)\n\nmodule.exports = {\n\tassign: assign,\n\tcreate: create,\n\ttrim: trim,\n\tbind: bind,\n\tslice: slice,\n\teach: each,\n\tmap: map,\n\tpluck: pluck,\n\tisList: isList,\n\tisFunction: isFunction,\n\tisObject: isObject,\n\tGlobal: Global\n}\n\nfunction make_assign() {\n\tif (Object.assign) {\n\t\treturn Object.assign\n\t} else {\n\t\treturn function shimAssign(obj, props1, props2, etc) {\n\t\t\tfor (var i = 1; i < arguments.length; i++) {\n\t\t\t\teach(Object(arguments[i]), function(val, key) {\n\t\t\t\t\tobj[key] = val\n\t\t\t\t})\n\t\t\t}\t\t\t\n\t\t\treturn obj\n\t\t}\n\t}\n}\n\nfunction make_create() {\n\tif (Object.create) {\n\t\treturn function create(obj, assignProps1, assignProps2, etc) {\n\t\t\tvar assignArgsList = slice(arguments, 1)\n\t\t\treturn assign.apply(this, [Object.create(obj)].concat(assignArgsList))\n\t\t}\n\t} else {\n\t\tfunction F() {} // eslint-disable-line no-inner-declarations\n\t\treturn function create(obj, assignProps1, assignProps2, etc) {\n\t\t\tvar assignArgsList = slice(arguments, 1)\n\t\t\tF.prototype = obj\n\t\t\treturn assign.apply(this, [new F()].concat(assignArgsList))\n\t\t}\n\t}\n}\n\nfunction make_trim() {\n\tif (String.prototype.trim) {\n\t\treturn function trim(str) {\n\t\t\treturn String.prototype.trim.call(str)\n\t\t}\n\t} else {\n\t\treturn function trim(str) {\n\t\t\treturn str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '')\n\t\t}\n\t}\n}\n\nfunction bind(obj, fn) {\n\treturn function() {\n\t\treturn fn.apply(obj, Array.prototype.slice.call(arguments, 0))\n\t}\n}\n\nfunction slice(arr, index) {\n\treturn Array.prototype.slice.call(arr, index || 0)\n}\n\nfunction each(obj, fn) {\n\tpluck(obj, function(val, key) {\n\t\tfn(val, key)\n\t\treturn false\n\t})\n}\n\nfunction map(obj, fn) {\n\tvar res = (isList(obj) ? [] : {})\n\tpluck(obj, function(v, k) {\n\t\tres[k] = fn(v, k)\n\t\treturn false\n\t})\n\treturn res\n}\n\nfunction pluck(obj, fn) {\n\tif (isList(obj)) {\n\t\tfor (var i=0; i 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","module.exports = {};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.set-interval');\nrequire('../modules/web.set-timeout');\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","var classof = require('../internals/classof-raw');\n\nmodule.exports = typeof process != 'undefined' && classof(process) == 'process';\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","// TODO: Remove from `core-js@4`\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n defineBuiltIn(DatePrototype, TO_STRING, function toString() {\n var value = thisTimeValue(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? nativeDateToString(this) : INVALID_DATE;\n });\n}\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar nativeEndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return nativeEndsWith\n ? nativeEndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar nativeStartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return nativeStartsWith\n ? nativeStartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working varialbes\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));","var global = require('../internals/global');\n\nmodule.exports = global;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","var engine = require('../src/store-engine')\n\nvar storages = require('../storages/all')\nvar plugins = [require('../plugins/json2')]\n\nmodule.exports = engine.createStore(storages, plugins)\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar ENGINE_IS_BUN = require('../internals/engine-is-bun');\nvar USER_AGENT = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n var version = global.Bun.version.split('.');\n return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0);\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n var firstParamIndex = hasTimeArg ? 2 : 1;\n return WRAP ? function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n var fn = isCallable(handler) ? handler : Function(handler);\n var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n var callback = boundArgs ? function () {\n apply(fn, this, params);\n } : fn;\n return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n } : scheduler;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" {{ countDisplay }} \";\n// Exports\nmodule.exports = code;","/*! MIT License © Sindre Sorhus */\n\nconst globals = {};\n\nconst getGlobal = property => {\n\t/* istanbul ignore next */\n\tif (typeof self !== 'undefined' && self && property in self) {\n\t\treturn self;\n\t}\n\n\t/* istanbul ignore next */\n\tif (typeof window !== 'undefined' && window && property in window) {\n\t\treturn window;\n\t}\n\n\tif (typeof global !== 'undefined' && global && property in global) {\n\t\treturn global;\n\t}\n\n\t/* istanbul ignore next */\n\tif (typeof globalThis !== 'undefined' && globalThis) {\n\t\treturn globalThis;\n\t}\n};\n\nconst globalProperties = [\n\t'Headers',\n\t'Request',\n\t'Response',\n\t'ReadableStream',\n\t'fetch',\n\t'AbortController',\n\t'FormData'\n];\n\nfor (const property of globalProperties) {\n\tObject.defineProperty(globals, property, {\n\t\tget() {\n\t\t\tconst globalObject = getGlobal(property);\n\t\t\tconst value = globalObject && globalObject[property];\n\t\t\treturn typeof value === 'function' ? value.bind(globalObject) : value;\n\t\t}\n\t});\n}\n\nconst isObject = value => value !== null && typeof value === 'object';\nconst supportsAbortController = typeof globals.AbortController === 'function';\nconst supportsStreams = typeof globals.ReadableStream === 'function';\nconst supportsFormData = typeof globals.FormData === 'function';\n\nconst mergeHeaders = (source1, source2) => {\n\tconst result = new globals.Headers(source1 || {});\n\tconst isHeadersInstance = source2 instanceof globals.Headers;\n\tconst source = new globals.Headers(source2 || {});\n\n\tfor (const [key, value] of source) {\n\t\tif ((isHeadersInstance && value === 'undefined') || value === undefined) {\n\t\t\tresult.delete(key);\n\t\t} else {\n\t\t\tresult.set(key, value);\n\t\t}\n\t}\n\n\treturn result;\n};\n\nconst deepMerge = (...sources) => {\n\tlet returnValue = {};\n\tlet headers = {};\n\n\tfor (const source of sources) {\n\t\tif (Array.isArray(source)) {\n\t\t\tif (!(Array.isArray(returnValue))) {\n\t\t\t\treturnValue = [];\n\t\t\t}\n\n\t\t\treturnValue = [...returnValue, ...source];\n\t\t} else if (isObject(source)) {\n\t\t\tfor (let [key, value] of Object.entries(source)) {\n\t\t\t\tif (isObject(value) && Reflect.has(returnValue, key)) {\n\t\t\t\t\tvalue = deepMerge(returnValue[key], value);\n\t\t\t\t}\n\n\t\t\t\treturnValue = {...returnValue, [key]: value};\n\t\t\t}\n\n\t\t\tif (isObject(source.headers)) {\n\t\t\t\theaders = mergeHeaders(headers, source.headers);\n\t\t\t}\n\t\t}\n\n\t\treturnValue.headers = headers;\n\t}\n\n\treturn returnValue;\n};\n\nconst requestMethods = [\n\t'get',\n\t'post',\n\t'put',\n\t'patch',\n\t'head',\n\t'delete'\n];\n\nconst responseTypes = {\n\tjson: 'application/json',\n\ttext: 'text/*',\n\tformData: 'multipart/form-data',\n\tarrayBuffer: '*/*',\n\tblob: '*/*'\n};\n\nconst retryMethods = [\n\t'get',\n\t'put',\n\t'head',\n\t'delete',\n\t'options',\n\t'trace'\n];\n\nconst retryStatusCodes = [\n\t408,\n\t413,\n\t429,\n\t500,\n\t502,\n\t503,\n\t504\n];\n\nconst retryAfterStatusCodes = [\n\t413,\n\t429,\n\t503\n];\n\nconst stop = Symbol('stop');\n\nclass HTTPError extends Error {\n\tconstructor(response) {\n\t\t// Set the message to the status text, such as Unauthorized,\n\t\t// with some fallbacks. This message should never be undefined.\n\t\tsuper(\n\t\t\tresponse.statusText ||\n\t\t\tString(\n\t\t\t\t(response.status === 0 || response.status) ?\n\t\t\t\t\tresponse.status : 'Unknown response error'\n\t\t\t)\n\t\t);\n\t\tthis.name = 'HTTPError';\n\t\tthis.response = response;\n\t}\n}\n\nclass TimeoutError extends Error {\n\tconstructor(request) {\n\t\tsuper('Request timed out');\n\t\tthis.name = 'TimeoutError';\n\t\tthis.request = request;\n\t}\n}\n\nconst delay = ms => new Promise(resolve => setTimeout(resolve, ms));\n\n// `Promise.race()` workaround (#91)\nconst timeout = (request, abortController, options) =>\n\tnew Promise((resolve, reject) => {\n\t\tconst timeoutID = setTimeout(() => {\n\t\t\tif (abortController) {\n\t\t\t\tabortController.abort();\n\t\t\t}\n\n\t\t\treject(new TimeoutError(request));\n\t\t}, options.timeout);\n\n\t\t/* eslint-disable promise/prefer-await-to-then */\n\t\toptions.fetch(request)\n\t\t\t.then(resolve)\n\t\t\t.catch(reject)\n\t\t\t.then(() => {\n\t\t\t\tclearTimeout(timeoutID);\n\t\t\t});\n\t\t/* eslint-enable promise/prefer-await-to-then */\n\t});\n\nconst normalizeRequestMethod = input => requestMethods.includes(input) ? input.toUpperCase() : input;\n\nconst defaultRetryOptions = {\n\tlimit: 2,\n\tmethods: retryMethods,\n\tstatusCodes: retryStatusCodes,\n\tafterStatusCodes: retryAfterStatusCodes\n};\n\nconst normalizeRetryOptions = (retry = {}) => {\n\tif (typeof retry === 'number') {\n\t\treturn {\n\t\t\t...defaultRetryOptions,\n\t\t\tlimit: retry\n\t\t};\n\t}\n\n\tif (retry.methods && !Array.isArray(retry.methods)) {\n\t\tthrow new Error('retry.methods must be an array');\n\t}\n\n\tif (retry.statusCodes && !Array.isArray(retry.statusCodes)) {\n\t\tthrow new Error('retry.statusCodes must be an array');\n\t}\n\n\treturn {\n\t\t...defaultRetryOptions,\n\t\t...retry,\n\t\tafterStatusCodes: retryAfterStatusCodes\n\t};\n};\n\n// The maximum value of a 32bit int (see issue #117)\nconst maxSafeTimeout = 2147483647;\n\nclass Ky {\n\tconstructor(input, options = {}) {\n\t\tthis._retryCount = 0;\n\t\tthis._input = input;\n\t\tthis._options = {\n\t\t\t// TODO: credentials can be removed when the spec change is implemented in all browsers. Context: https://www.chromestatus.com/feature/4539473312350208\n\t\t\tcredentials: this._input.credentials || 'same-origin',\n\t\t\t...options,\n\t\t\theaders: mergeHeaders(this._input.headers, options.headers),\n\t\t\thooks: deepMerge({\n\t\t\t\tbeforeRequest: [],\n\t\t\t\tbeforeRetry: [],\n\t\t\t\tafterResponse: []\n\t\t\t}, options.hooks),\n\t\t\tmethod: normalizeRequestMethod(options.method || this._input.method),\n\t\t\tprefixUrl: String(options.prefixUrl || ''),\n\t\t\tretry: normalizeRetryOptions(options.retry),\n\t\t\tthrowHttpErrors: options.throwHttpErrors !== false,\n\t\t\ttimeout: typeof options.timeout === 'undefined' ? 10000 : options.timeout,\n\t\t\tfetch: options.fetch || globals.fetch\n\t\t};\n\n\t\tif (typeof this._input !== 'string' && !(this._input instanceof URL || this._input instanceof globals.Request)) {\n\t\t\tthrow new TypeError('`input` must be a string, URL, or Request');\n\t\t}\n\n\t\tif (this._options.prefixUrl && typeof this._input === 'string') {\n\t\t\tif (this._input.startsWith('/')) {\n\t\t\t\tthrow new Error('`input` must not begin with a slash when using `prefixUrl`');\n\t\t\t}\n\n\t\t\tif (!this._options.prefixUrl.endsWith('/')) {\n\t\t\t\tthis._options.prefixUrl += '/';\n\t\t\t}\n\n\t\t\tthis._input = this._options.prefixUrl + this._input;\n\t\t}\n\n\t\tif (supportsAbortController) {\n\t\t\tthis.abortController = new globals.AbortController();\n\t\t\tif (this._options.signal) {\n\t\t\t\tthis._options.signal.addEventListener('abort', () => {\n\t\t\t\t\tthis.abortController.abort();\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthis._options.signal = this.abortController.signal;\n\t\t}\n\n\t\tthis.request = new globals.Request(this._input, this._options);\n\n\t\tif (this._options.searchParams) {\n\t\t\tconst searchParams = '?' + new URLSearchParams(this._options.searchParams).toString();\n\t\t\tconst url = this.request.url.replace(/(?:\\?.*?)?(?=#|$)/, searchParams);\n\n\t\t\t// To provide correct form boundary, Content-Type header should be deleted each time when new Request instantiated from another one\n\t\t\tif (((supportsFormData && this._options.body instanceof globals.FormData) || this._options.body instanceof URLSearchParams) && !(this._options.headers && this._options.headers['content-type'])) {\n\t\t\t\tthis.request.headers.delete('content-type');\n\t\t\t}\n\n\t\t\tthis.request = new globals.Request(new globals.Request(url, this.request), this._options);\n\t\t}\n\n\t\tif (this._options.json !== undefined) {\n\t\t\tthis._options.body = JSON.stringify(this._options.json);\n\t\t\tthis.request.headers.set('content-type', 'application/json');\n\t\t\tthis.request = new globals.Request(this.request, {body: this._options.body});\n\t\t}\n\n\t\tconst fn = async () => {\n\t\t\tif (this._options.timeout > maxSafeTimeout) {\n\t\t\t\tthrow new RangeError(`The \\`timeout\\` option cannot be greater than ${maxSafeTimeout}`);\n\t\t\t}\n\n\t\t\tawait delay(1);\n\t\t\tlet response = await this._fetch();\n\n\t\t\tfor (const hook of this._options.hooks.afterResponse) {\n\t\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\t\tconst modifiedResponse = await hook(\n\t\t\t\t\tthis.request,\n\t\t\t\t\tthis._options,\n\t\t\t\t\tresponse.clone()\n\t\t\t\t);\n\n\t\t\t\tif (modifiedResponse instanceof globals.Response) {\n\t\t\t\t\tresponse = modifiedResponse;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!response.ok && this._options.throwHttpErrors) {\n\t\t\t\tthrow new HTTPError(response);\n\t\t\t}\n\n\t\t\t// If `onDownloadProgress` is passed, it uses the stream API internally\n\t\t\t/* istanbul ignore next */\n\t\t\tif (this._options.onDownloadProgress) {\n\t\t\t\tif (typeof this._options.onDownloadProgress !== 'function') {\n\t\t\t\t\tthrow new TypeError('The `onDownloadProgress` option must be a function');\n\t\t\t\t}\n\n\t\t\t\tif (!supportsStreams) {\n\t\t\t\t\tthrow new Error('Streams are not supported in your environment. `ReadableStream` is missing.');\n\t\t\t\t}\n\n\t\t\t\treturn this._stream(response.clone(), this._options.onDownloadProgress);\n\t\t\t}\n\n\t\t\tif (this._options.parseJson) {\n\t\t\t\tresponse.json = async () => {\n\t\t\t\t\treturn this._options.parseJson(await response.text());\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn response;\n\t\t};\n\n\t\tconst isRetriableMethod = this._options.retry.methods.includes(this.request.method.toLowerCase());\n\t\tconst result = isRetriableMethod ? this._retry(fn) : fn();\n\n\t\tfor (const [type, mimeType] of Object.entries(responseTypes)) {\n\t\t\tresult[type] = async () => {\n\t\t\t\tthis.request.headers.set('accept', this.request.headers.get('accept') || mimeType);\n\n\t\t\t\tconst response = (await result).clone();\n\n\t\t\t\tif (type === 'json') {\n\t\t\t\t\tif (response.status === 204) {\n\t\t\t\t\t\treturn '';\n\t\t\t\t\t}\n\n\t\t\t\t\tif (options.parseJson) {\n\t\t\t\t\t\treturn options.parseJson(await response.text());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn response[type]();\n\t\t\t};\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t_calculateRetryDelay(error) {\n\t\tthis._retryCount++;\n\n\t\tif (this._retryCount < this._options.retry.limit && !(error instanceof TimeoutError)) {\n\t\t\tif (error instanceof HTTPError) {\n\t\t\t\tif (!this._options.retry.statusCodes.includes(error.response.status)) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\tconst retryAfter = error.response.headers.get('Retry-After');\n\t\t\t\tif (retryAfter && this._options.retry.afterStatusCodes.includes(error.response.status)) {\n\t\t\t\t\tlet after = Number(retryAfter);\n\t\t\t\t\tif (Number.isNaN(after)) {\n\t\t\t\t\t\tafter = Date.parse(retryAfter) - Date.now();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tafter *= 1000;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof this._options.retry.maxRetryAfter !== 'undefined' && after > this._options.retry.maxRetryAfter) {\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn after;\n\t\t\t\t}\n\n\t\t\t\tif (error.response.status === 413) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst BACKOFF_FACTOR = 0.3;\n\t\t\treturn BACKOFF_FACTOR * (2 ** (this._retryCount - 1)) * 1000;\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\tasync _retry(fn) {\n\t\ttry {\n\t\t\treturn await fn();\n\t\t} catch (error) {\n\t\t\tconst ms = Math.min(this._calculateRetryDelay(error), maxSafeTimeout);\n\t\t\tif (ms !== 0 && this._retryCount > 0) {\n\t\t\t\tawait delay(ms);\n\n\t\t\t\tfor (const hook of this._options.hooks.beforeRetry) {\n\t\t\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\t\t\tconst hookResult = await hook({\n\t\t\t\t\t\trequest: this.request,\n\t\t\t\t\t\toptions: this._options,\n\t\t\t\t\t\terror,\n\t\t\t\t\t\tresponse: error.response.clone(),\n\t\t\t\t\t\tretryCount: this._retryCount\n\t\t\t\t\t});\n\n\t\t\t\t\t// If `stop` is returned from the hook, the retry process is stopped\n\t\t\t\t\tif (hookResult === stop) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn this._retry(fn);\n\t\t\t}\n\n\t\t\tif (this._options.throwHttpErrors) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\t}\n\n\tasync _fetch() {\n\t\tfor (const hook of this._options.hooks.beforeRequest) {\n\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\tconst result = await hook(this.request, this._options);\n\n\t\t\tif (result instanceof Request) {\n\t\t\t\tthis.request = result;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (result instanceof Response) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\n\t\tif (this._options.timeout === false) {\n\t\t\treturn this._options.fetch(this.request.clone());\n\t\t}\n\n\t\treturn timeout(this.request.clone(), this.abortController, this._options);\n\t}\n\n\t/* istanbul ignore next */\n\t_stream(response, onDownloadProgress) {\n\t\tconst totalBytes = Number(response.headers.get('content-length')) || 0;\n\t\tlet transferredBytes = 0;\n\n\t\treturn new globals.Response(\n\t\t\tnew globals.ReadableStream({\n\t\t\t\tstart(controller) {\n\t\t\t\t\tconst reader = response.body.getReader();\n\n\t\t\t\t\tif (onDownloadProgress) {\n\t\t\t\t\t\tonDownloadProgress({percent: 0, transferredBytes: 0, totalBytes}, new Uint8Array());\n\t\t\t\t\t}\n\n\t\t\t\t\tasync function read() {\n\t\t\t\t\t\tconst {done, value} = await reader.read();\n\t\t\t\t\t\tif (done) {\n\t\t\t\t\t\t\tcontroller.close();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (onDownloadProgress) {\n\t\t\t\t\t\t\ttransferredBytes += value.byteLength;\n\t\t\t\t\t\t\tconst percent = totalBytes === 0 ? 0 : transferredBytes / totalBytes;\n\t\t\t\t\t\t\tonDownloadProgress({percent, transferredBytes, totalBytes}, value);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontroller.enqueue(value);\n\t\t\t\t\t\tread();\n\t\t\t\t\t}\n\n\t\t\t\t\tread();\n\t\t\t\t}\n\t\t\t})\n\t\t);\n\t}\n}\n\nconst validateAndMerge = (...sources) => {\n\tfor (const source of sources) {\n\t\tif ((!isObject(source) || Array.isArray(source)) && typeof source !== 'undefined') {\n\t\t\tthrow new TypeError('The `options` argument must be an object');\n\t\t}\n\t}\n\n\treturn deepMerge({}, ...sources);\n};\n\nconst createInstance = defaults => {\n\tconst ky = (input, options) => new Ky(input, validateAndMerge(defaults, options));\n\n\tfor (const method of requestMethods) {\n\t\tky[method] = (input, options) => new Ky(input, validateAndMerge(defaults, options, {method}));\n\t}\n\n\tky.HTTPError = HTTPError;\n\tky.TimeoutError = TimeoutError;\n\tky.create = newDefaults => createInstance(validateAndMerge(newDefaults));\n\tky.extend = newDefaults => createInstance(validateAndMerge(defaults, newDefaults));\n\tky.stop = stop;\n\n\treturn ky;\n};\n\nexport default createInstance();\n","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ titleMessage }}

{{ actionState.unauthorizedMessage }}

EC-{{ actionState.missingPermission }}: {{ transErrorCode(actionState.missingPermission) }}

{{ actionState.message }}

{{ progressMessage }}

{{ trans('errors.process_long_process') }}

{{ actionState.abandonMessage }}

{{ errorMessage }}

{{ this.actionState.clientErrorMessage }}

{{ this.actionState.repeatedFailureMessage }}

{{ trans('errors.loading_error_log') }}

{{ trans('errors.no_error_details') }}

{{ trans('errors.submit_error_report_request') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ displayText }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('display.header_comments') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.header_author') }} {{ trans('display.header_comment') }}
{{ trans('display.header_author') }}
{{ trans('display.header_comment') }}

{{ trans('display.thread_single_response') }} {{ comments.threads[0].name | meerkatTruncate(75) }}

0\\\" v-on:action-reply=\\\"beforeReply\\\">
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ comment.localDateFormatted }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.thread_multiple_response') }} {{ comment.getThreadName() | meerkatTruncate(25) }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.author_in_reply_to') }}:
{{ author.name | meerkatTruncate(15) }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ manager.orders[column] }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('filters.no_data') }}

0\\\">{{ trans('filters.no_data_filter') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('display.header_configure') }}

{{ trans('config.server_changes_warning_title') }}

{{ trans('config.server_changes_warning_message') }} {{ trans('config.server_changes_warning_reload_prompt') }}

{{ trans('config.managed_notice') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.preferences_desc') }}

{{ trans('config.avatar_desc') }}

{{ trans('config.per_page_desc') }}

{{ trans('config.publishing_desc') }}

{{ trans('config.publish_auto_desc') }}

{{ trans('config.only_accept_comments_from_authenticated_users_desc') }}

{{ trans('config.publish_user_auto_desc') }}

{{ trans('config.close_threads_desc') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.spam_general_desc') }}

{{ trans('config.auto_check_spam_desc') }}

{{ trans('config.auto_delete_spam_desc') }}

{{ trans('config.check_all_spam_guards_desc') }}

{{ trans('config.unpublish_on_guard_failures_desc') }}

{{ trans('config.submit_moderator_results_desc') }}

{{ trans('config.spam_guards_desc') }}

{{ trans('config.table_spam_guard') }} {{ trans('config.table_enabled') }}
{{ guard.name }}

{{ trans('config.akismet_desc') }}

{{ trans('config.akismet_api_key_desc') }}

{{ trans('config.akismet_front_page_desc') }}

{{ state.currentMessage }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.ip_filter_desc') }}

{{ trans('config.ip_filter_blocked_desc') }} 0\\\">{{ trans('config.ip_filter_managed_notice') }} {{ trans('config.ip_filter_view_defaults') }}

{{ trans('config.ip_filter_default_title') }}

{{ trans('config.ip_filter_default_desc') }}

  • {{ address }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.permissions_desc') }}

{{ trans('config.table_user_group') }} {{ trans('config.table_all') }} {{ trans('config.table_view_comments') }} {{ trans('config.table_approve') }} {{ trans('config.table_unapprove') }} {{ trans('config.table_edit') }} {{ trans('config.table_reply') }} {{ trans('config.table_report_ham') }} {{ trans('config.table_report_spam') }} {{ trans('config.table_delete') }}
{{ perm.name }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.word_filter_desc') }}

{{ trans('config.word_filter_banned_desc') }} 0\\\">{{ trans('config.word_filter_managed_notice') }} {{ trans('config.word_filter_view_defaults') }}

{{ trans('config.word_filter_default_title') }}

{{ trans('config.word_filter_default_desc') }}

  • {{ word }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.privacy_desc') }}

{{ trans('config.privacy_table_data') }} {{ trans('config.privacy_table_enabled') }}
{{ trans('config.privacy_store_user_agent_desc') }}
{{ trans('config.privacy_store_user_ip_desc') }}
{{ trans('config.privacy_store_referrer_desc') }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.email_general_desc') }}

{{ trans('config.email_send_mail_desc') }}

{{ trans('config.email_check_spam_guard_desc') }}

{{ trans('config.email_addresses_desc') }} 0\\\">{{ trans('config.email_addresses_notice') }} {{ trans('config.email_addresses_view_defaults') }}

{{ trans('config.email_addresses_default_title') }}

{{ trans('config.email_addresses_default_desc') }}

  • {{ address }}
\";\n// Exports\nmodule.exports = code;","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","var $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","module.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","var IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var util = require('./util')\nvar slice = util.slice\nvar pluck = util.pluck\nvar each = util.each\nvar bind = util.bind\nvar create = util.create\nvar isList = util.isList\nvar isFunction = util.isFunction\nvar isObject = util.isObject\n\nmodule.exports = {\n\tcreateStore: createStore\n}\n\nvar storeAPI = {\n\tversion: '2.0.12',\n\tenabled: false,\n\t\n\t// get returns the value of the given key. If that value\n\t// is undefined, it returns optionalDefaultValue instead.\n\tget: function(key, optionalDefaultValue) {\n\t\tvar data = this.storage.read(this._namespacePrefix + key)\n\t\treturn this._deserialize(data, optionalDefaultValue)\n\t},\n\n\t// set will store the given value at key and returns value.\n\t// Calling set with value === undefined is equivalent to calling remove.\n\tset: function(key, value) {\n\t\tif (value === undefined) {\n\t\t\treturn this.remove(key)\n\t\t}\n\t\tthis.storage.write(this._namespacePrefix + key, this._serialize(value))\n\t\treturn value\n\t},\n\n\t// remove deletes the key and value stored at the given key.\n\tremove: function(key) {\n\t\tthis.storage.remove(this._namespacePrefix + key)\n\t},\n\n\t// each will call the given callback once for each key-value pair\n\t// in this store.\n\teach: function(callback) {\n\t\tvar self = this\n\t\tthis.storage.each(function(val, namespacedKey) {\n\t\t\tcallback.call(self, self._deserialize(val), (namespacedKey || '').replace(self._namespaceRegexp, ''))\n\t\t})\n\t},\n\n\t// clearAll will remove all the stored key-value pairs in this store.\n\tclearAll: function() {\n\t\tthis.storage.clearAll()\n\t},\n\n\t// additional functionality that can't live in plugins\n\t// ---------------------------------------------------\n\n\t// hasNamespace returns true if this store instance has the given namespace.\n\thasNamespace: function(namespace) {\n\t\treturn (this._namespacePrefix == '__storejs_'+namespace+'_')\n\t},\n\n\t// createStore creates a store.js instance with the first\n\t// functioning storage in the list of storage candidates,\n\t// and applies the the given mixins to the instance.\n\tcreateStore: function() {\n\t\treturn createStore.apply(this, arguments)\n\t},\n\t\n\taddPlugin: function(plugin) {\n\t\tthis._addPlugin(plugin)\n\t},\n\t\n\tnamespace: function(namespace) {\n\t\treturn createStore(this.storage, this.plugins, namespace)\n\t}\n}\n\nfunction _warn() {\n\tvar _console = (typeof console == 'undefined' ? null : console)\n\tif (!_console) { return }\n\tvar fn = (_console.warn ? _console.warn : _console.log)\n\tfn.apply(_console, arguments)\n}\n\nfunction createStore(storages, plugins, namespace) {\n\tif (!namespace) {\n\t\tnamespace = ''\n\t}\n\tif (storages && !isList(storages)) {\n\t\tstorages = [storages]\n\t}\n\tif (plugins && !isList(plugins)) {\n\t\tplugins = [plugins]\n\t}\n\n\tvar namespacePrefix = (namespace ? '__storejs_'+namespace+'_' : '')\n\tvar namespaceRegexp = (namespace ? new RegExp('^'+namespacePrefix) : null)\n\tvar legalNamespaces = /^[a-zA-Z0-9_\\-]*$/ // alpha-numeric + underscore and dash\n\tif (!legalNamespaces.test(namespace)) {\n\t\tthrow new Error('store.js namespaces can only have alphanumerics + underscores and dashes')\n\t}\n\t\n\tvar _privateStoreProps = {\n\t\t_namespacePrefix: namespacePrefix,\n\t\t_namespaceRegexp: namespaceRegexp,\n\n\t\t_testStorage: function(storage) {\n\t\t\ttry {\n\t\t\t\tvar testStr = '__storejs__test__'\n\t\t\t\tstorage.write(testStr, testStr)\n\t\t\t\tvar ok = (storage.read(testStr) === testStr)\n\t\t\t\tstorage.remove(testStr)\n\t\t\t\treturn ok\n\t\t\t} catch(e) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\n\t\t_assignPluginFnProp: function(pluginFnProp, propName) {\n\t\t\tvar oldFn = this[propName]\n\t\t\tthis[propName] = function pluginFn() {\n\t\t\t\tvar args = slice(arguments, 0)\n\t\t\t\tvar self = this\n\n\t\t\t\t// super_fn calls the old function which was overwritten by\n\t\t\t\t// this mixin.\n\t\t\t\tfunction super_fn() {\n\t\t\t\t\tif (!oldFn) { return }\n\t\t\t\t\teach(arguments, function(arg, i) {\n\t\t\t\t\t\targs[i] = arg\n\t\t\t\t\t})\n\t\t\t\t\treturn oldFn.apply(self, args)\n\t\t\t\t}\n\n\t\t\t\t// Give mixing function access to super_fn by prefixing all mixin function\n\t\t\t\t// arguments with super_fn.\n\t\t\t\tvar newFnArgs = [super_fn].concat(args)\n\n\t\t\t\treturn pluginFnProp.apply(self, newFnArgs)\n\t\t\t}\n\t\t},\n\n\t\t_serialize: function(obj) {\n\t\t\treturn JSON.stringify(obj)\n\t\t},\n\n\t\t_deserialize: function(strVal, defaultVal) {\n\t\t\tif (!strVal) { return defaultVal }\n\t\t\t// It is possible that a raw string value has been previously stored\n\t\t\t// in a storage without using store.js, meaning it will be a raw\n\t\t\t// string value instead of a JSON serialized string. By defaulting\n\t\t\t// to the raw string value in case of a JSON parse error, we allow\n\t\t\t// for past stored values to be forwards-compatible with store.js\n\t\t\tvar val = ''\n\t\t\ttry { val = JSON.parse(strVal) }\n\t\t\tcatch(e) { val = strVal }\n\n\t\t\treturn (val !== undefined ? val : defaultVal)\n\t\t},\n\t\t\n\t\t_addStorage: function(storage) {\n\t\t\tif (this.enabled) { return }\n\t\t\tif (this._testStorage(storage)) {\n\t\t\t\tthis.storage = storage\n\t\t\t\tthis.enabled = true\n\t\t\t}\n\t\t},\n\n\t\t_addPlugin: function(plugin) {\n\t\t\tvar self = this\n\n\t\t\t// If the plugin is an array, then add all plugins in the array.\n\t\t\t// This allows for a plugin to depend on other plugins.\n\t\t\tif (isList(plugin)) {\n\t\t\t\teach(plugin, function(plugin) {\n\t\t\t\t\tself._addPlugin(plugin)\n\t\t\t\t})\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\t// Keep track of all plugins we've seen so far, so that we\n\t\t\t// don't add any of them twice.\n\t\t\tvar seenPlugin = pluck(this.plugins, function(seenPlugin) {\n\t\t\t\treturn (plugin === seenPlugin)\n\t\t\t})\n\t\t\tif (seenPlugin) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.plugins.push(plugin)\n\n\t\t\t// Check that the plugin is properly formed\n\t\t\tif (!isFunction(plugin)) {\n\t\t\t\tthrow new Error('Plugins must be function values that return objects')\n\t\t\t}\n\n\t\t\tvar pluginProperties = plugin.call(this)\n\t\t\tif (!isObject(pluginProperties)) {\n\t\t\t\tthrow new Error('Plugins must return an object of function properties')\n\t\t\t}\n\n\t\t\t// Add the plugin function properties to this store instance.\n\t\t\teach(pluginProperties, function(pluginFnProp, propName) {\n\t\t\t\tif (!isFunction(pluginFnProp)) {\n\t\t\t\t\tthrow new Error('Bad plugin property: '+propName+' from plugin '+plugin.name+'. Plugins should only return functions.')\n\t\t\t\t}\n\t\t\t\tself._assignPluginFnProp(pluginFnProp, propName)\n\t\t\t})\n\t\t},\n\t\t\n\t\t// Put deprecated properties in the private API, so as to not expose it to accidential\n\t\t// discovery through inspection of the store object.\n\t\t\n\t\t// Deprecated: addStorage\n\t\taddStorage: function(storage) {\n\t\t\t_warn('store.addStorage(storage) is deprecated. Use createStore([storages])')\n\t\t\tthis._addStorage(storage)\n\t\t}\n\t}\n\n\tvar store = create(_privateStoreProps, storeAPI, {\n\t\tplugins: []\n\t})\n\tstore.raw = {}\n\teach(store, function(prop, propName) {\n\t\tif (isFunction(prop)) {\n\t\t\tstore.raw[propName] = bind(store, prop)\t\t\t\n\t\t}\n\t})\n\teach(storages, function(storage) {\n\t\tstore._addStorage(storage)\n\t})\n\teach(plugins, function(plugin) {\n\t\tstore._addPlugin(plugin)\n\t})\n\treturn store\n}\n","module.exports = [\n\t// Listed in order of usage preference\n\trequire('./localStorage'),\n\trequire('./oldFF-globalStorage'),\n\trequire('./oldIE-userDataStorage'),\n\trequire('./cookieStorage'),\n\trequire('./sessionStorage'),\n\trequire('./memoryStorage')\n]\n","var util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'localStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nfunction localStorage() {\n\treturn Global.localStorage\n}\n\nfunction read(key) {\n\treturn localStorage().getItem(key)\n}\n\nfunction write(key, data) {\n\treturn localStorage().setItem(key, data)\n}\n\nfunction each(fn) {\n\tfor (var i = localStorage().length - 1; i >= 0; i--) {\n\t\tvar key = localStorage().key(i)\n\t\tfn(read(key), key)\n\t}\n}\n\nfunction remove(key) {\n\treturn localStorage().removeItem(key)\n}\n\nfunction clearAll() {\n\treturn localStorage().clear()\n}\n","// oldFF-globalStorage provides storage for Firefox\n// versions 6 and 7, where no localStorage, etc\n// is available.\n\nvar util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'oldFF-globalStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar globalStorage = Global.globalStorage\n\nfunction read(key) {\n\treturn globalStorage[key]\n}\n\nfunction write(key, data) {\n\tglobalStorage[key] = data\n}\n\nfunction each(fn) {\n\tfor (var i = globalStorage.length - 1; i >= 0; i--) {\n\t\tvar key = globalStorage.key(i)\n\t\tfn(globalStorage[key], key)\n\t}\n}\n\nfunction remove(key) {\n\treturn globalStorage.removeItem(key)\n}\n\nfunction clearAll() {\n\teach(function(key, _) {\n\t\tdelete globalStorage[key]\n\t})\n}\n","// oldIE-userDataStorage provides storage for Internet Explorer\n// versions 6 and 7, where no localStorage, sessionStorage, etc\n// is available.\n\nvar util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'oldIE-userDataStorage',\n\twrite: write,\n\tread: read,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar storageName = 'storejs'\nvar doc = Global.document\nvar _withStorageEl = _makeIEStorageElFunction()\nvar disable = (Global.navigator ? Global.navigator.userAgent : '').match(/ (MSIE 8|MSIE 9|MSIE 10)\\./) // MSIE 9.x, MSIE 10.x\n\nfunction write(unfixedKey, data) {\n\tif (disable) { return }\n\tvar fixedKey = fixKey(unfixedKey)\n\t_withStorageEl(function(storageEl) {\n\t\tstorageEl.setAttribute(fixedKey, data)\n\t\tstorageEl.save(storageName)\n\t})\n}\n\nfunction read(unfixedKey) {\n\tif (disable) { return }\n\tvar fixedKey = fixKey(unfixedKey)\n\tvar res = null\n\t_withStorageEl(function(storageEl) {\n\t\tres = storageEl.getAttribute(fixedKey)\n\t})\n\treturn res\n}\n\nfunction each(callback) {\n\t_withStorageEl(function(storageEl) {\n\t\tvar attributes = storageEl.XMLDocument.documentElement.attributes\n\t\tfor (var i=attributes.length-1; i>=0; i--) {\n\t\t\tvar attr = attributes[i]\n\t\t\tcallback(storageEl.getAttribute(attr.name), attr.name)\n\t\t}\n\t})\n}\n\nfunction remove(unfixedKey) {\n\tvar fixedKey = fixKey(unfixedKey)\n\t_withStorageEl(function(storageEl) {\n\t\tstorageEl.removeAttribute(fixedKey)\n\t\tstorageEl.save(storageName)\n\t})\n}\n\nfunction clearAll() {\n\t_withStorageEl(function(storageEl) {\n\t\tvar attributes = storageEl.XMLDocument.documentElement.attributes\n\t\tstorageEl.load(storageName)\n\t\tfor (var i=attributes.length-1; i>=0; i--) {\n\t\t\tstorageEl.removeAttribute(attributes[i].name)\n\t\t}\n\t\tstorageEl.save(storageName)\n\t})\n}\n\n// Helpers\n//////////\n\n// In IE7, keys cannot start with a digit or contain certain chars.\n// See https://github.com/marcuswestin/store.js/issues/40\n// See https://github.com/marcuswestin/store.js/issues/83\nvar forbiddenCharsRegex = new RegExp(\"[!\\\"#$%&'()*+,/\\\\\\\\:;<=>?@[\\\\]^`{|}~]\", \"g\")\nfunction fixKey(key) {\n\treturn key.replace(/^\\d/, '___$&').replace(forbiddenCharsRegex, '___')\n}\n\nfunction _makeIEStorageElFunction() {\n\tif (!doc || !doc.documentElement || !doc.documentElement.addBehavior) {\n\t\treturn null\n\t}\n\tvar scriptTag = 'script',\n\t\tstorageOwner,\n\t\tstorageContainer,\n\t\tstorageEl\n\n\t// Since #userData storage applies only to specific paths, we need to\n\t// somehow link our data to a specific path. We choose /favicon.ico\n\t// as a pretty safe option, since all browsers already make a request to\n\t// this URL anyway and being a 404 will not hurt us here. We wrap an\n\t// iframe pointing to the favicon in an ActiveXObject(htmlfile) object\n\t// (see: http://msdn.microsoft.com/en-us/library/aa752574(v=VS.85).aspx)\n\t// since the iframe access rules appear to allow direct access and\n\t// manipulation of the document element, even for a 404 page. This\n\t// document can be used instead of the current document (which would\n\t// have been limited to the current path) to perform #userData storage.\n\ttry {\n\t\t/* global ActiveXObject */\n\t\tstorageContainer = new ActiveXObject('htmlfile')\n\t\tstorageContainer.open()\n\t\tstorageContainer.write('<'+scriptTag+'>document.w=window')\n\t\tstorageContainer.close()\n\t\tstorageOwner = storageContainer.w.frames[0].document\n\t\tstorageEl = storageOwner.createElement('div')\n\t} catch(e) {\n\t\t// somehow ActiveXObject instantiation failed (perhaps some special\n\t\t// security settings or otherwse), fall back to per-path storage\n\t\tstorageEl = doc.createElement('div')\n\t\tstorageOwner = doc.body\n\t}\n\n\treturn function(storeFunction) {\n\t\tvar args = [].slice.call(arguments, 0)\n\t\targs.unshift(storageEl)\n\t\t// See http://msdn.microsoft.com/en-us/library/ms531081(v=VS.85).aspx\n\t\t// and http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).aspx\n\t\tstorageOwner.appendChild(storageEl)\n\t\tstorageEl.addBehavior('#default#userData')\n\t\tstorageEl.load(storageName)\n\t\tstoreFunction.apply(this, args)\n\t\tstorageOwner.removeChild(storageEl)\n\t\treturn\n\t}\n}\n","// cookieStorage is useful Safari private browser mode, where localStorage\n// doesn't work but cookies do. This implementation is adopted from\n// https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage\n\nvar util = require('../src/util')\nvar Global = util.Global\nvar trim = util.trim\n\nmodule.exports = {\n\tname: 'cookieStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar doc = Global.document\n\nfunction read(key) {\n\tif (!key || !_has(key)) { return null }\n\tvar regexpStr = \"(?:^|.*;\\\\s*)\" +\n\t\tescape(key).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") +\n\t\t\"\\\\s*\\\\=\\\\s*((?:[^;](?!;))*[^;]?).*\"\n\treturn unescape(doc.cookie.replace(new RegExp(regexpStr), \"$1\"))\n}\n\nfunction each(callback) {\n\tvar cookies = doc.cookie.split(/; ?/g)\n\tfor (var i = cookies.length - 1; i >= 0; i--) {\n\t\tif (!trim(cookies[i])) {\n\t\t\tcontinue\n\t\t}\n\t\tvar kvp = cookies[i].split('=')\n\t\tvar key = unescape(kvp[0])\n\t\tvar val = unescape(kvp[1])\n\t\tcallback(val, key)\n\t}\n}\n\nfunction write(key, data) {\n\tif(!key) { return }\n\tdoc.cookie = escape(key) + \"=\" + escape(data) + \"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/\"\n}\n\nfunction remove(key) {\n\tif (!key || !_has(key)) {\n\t\treturn\n\t}\n\tdoc.cookie = escape(key) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/\"\n}\n\nfunction clearAll() {\n\teach(function(_, key) {\n\t\tremove(key)\n\t})\n}\n\nfunction _has(key) {\n\treturn (new RegExp(\"(?:^|;\\\\s*)\" + escape(key).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(doc.cookie)\n}\n","var util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'sessionStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll\n}\n\nfunction sessionStorage() {\n\treturn Global.sessionStorage\n}\n\nfunction read(key) {\n\treturn sessionStorage().getItem(key)\n}\n\nfunction write(key, data) {\n\treturn sessionStorage().setItem(key, data)\n}\n\nfunction each(fn) {\n\tfor (var i = sessionStorage().length - 1; i >= 0; i--) {\n\t\tvar key = sessionStorage().key(i)\n\t\tfn(read(key), key)\n\t}\n}\n\nfunction remove(key) {\n\treturn sessionStorage().removeItem(key)\n}\n\nfunction clearAll() {\n\treturn sessionStorage().clear()\n}\n","// memoryStorage is a useful last fallback to ensure that the store\n// is functions (meaning store.get(), store.set(), etc will all function).\n// However, stored values will not persist when the browser navigates to\n// a new page or reloads the current page.\n\nmodule.exports = {\n\tname: 'memoryStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar memoryStorage = {}\n\nfunction read(key) {\n\treturn memoryStorage[key]\n}\n\nfunction write(key, data) {\n\tmemoryStorage[key] = data\n}\n\nfunction each(callback) {\n\tfor (var key in memoryStorage) {\n\t\tif (memoryStorage.hasOwnProperty(key)) {\n\t\t\tcallback(memoryStorage[key], key)\n\t\t}\n\t}\n}\n\nfunction remove(key) {\n\tdelete memoryStorage[key]\n}\n\nfunction clearAll(key) {\n\tmemoryStorage = {}\n}\n","module.exports = json2Plugin\n\nfunction json2Plugin() {\n\trequire('./lib/json2')\n\treturn {}\n}\n","/* eslint-disable */\n\n// json2.js\n// 2016-10-28\n// Public Domain.\n// NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n// See http://www.JSON.org/js.html\n// This code should be minified before deployment.\n// See http://javascript.crockford.com/jsmin.html\n\n// USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n// NOT CONTROL.\n\n// This file creates a global JSON object containing two methods: stringify\n// and parse. This file provides the ES5 JSON capability to ES3 systems.\n// If a project might run on IE8 or earlier, then this file should be included.\n// This file does nothing on ES5 systems.\n\n// JSON.stringify(value, replacer, space)\n// value any JavaScript value, usually an object or array.\n// replacer an optional parameter that determines how object\n// values are stringified for objects. It can be a\n// function or an array of strings.\n// space an optional parameter that specifies the indentation\n// of nested structures. If it is omitted, the text will\n// be packed without extra whitespace. If it is a number,\n// it will specify the number of spaces to indent at each\n// level. If it is a string (such as \"\\t\" or \" \"),\n// it contains the characters used to indent at each level.\n// This method produces a JSON text from a JavaScript value.\n// When an object value is found, if the object contains a toJSON\n// method, its toJSON method will be called and the result will be\n// stringified. A toJSON method does not serialize: it returns the\n// value represented by the name/value pair that should be serialized,\n// or undefined if nothing should be serialized. The toJSON method\n// will be passed the key associated with the value, and this will be\n// bound to the value.\n\n// For example, this would serialize Dates as ISO strings.\n\n// Date.prototype.toJSON = function (key) {\n// function f(n) {\n// // Format integers to have at least two digits.\n// return (n < 10)\n// ? \"0\" + n\n// : n;\n// }\n// return this.getUTCFullYear() + \"-\" +\n// f(this.getUTCMonth() + 1) + \"-\" +\n// f(this.getUTCDate()) + \"T\" +\n// f(this.getUTCHours()) + \":\" +\n// f(this.getUTCMinutes()) + \":\" +\n// f(this.getUTCSeconds()) + \"Z\";\n// };\n\n// You can provide an optional replacer method. It will be passed the\n// key and value of each member, with this bound to the containing\n// object. The value that is returned from your method will be\n// serialized. If your method returns undefined, then the member will\n// be excluded from the serialization.\n\n// If the replacer parameter is an array of strings, then it will be\n// used to select the members to be serialized. It filters the results\n// such that only members with keys listed in the replacer array are\n// stringified.\n\n// Values that do not have JSON representations, such as undefined or\n// functions, will not be serialized. Such values in objects will be\n// dropped; in arrays they will be replaced with null. You can use\n// a replacer function to replace those with JSON values.\n\n// JSON.stringify(undefined) returns undefined.\n\n// The optional space parameter produces a stringification of the\n// value that is filled with line breaks and indentation to make it\n// easier to read.\n\n// If the space parameter is a non-empty string, then that string will\n// be used for indentation. If the space parameter is a number, then\n// the indentation will be that many spaces.\n\n// Example:\n\n// text = JSON.stringify([\"e\", {pluribus: \"unum\"}]);\n// // text is '[\"e\",{\"pluribus\":\"unum\"}]'\n\n// text = JSON.stringify([\"e\", {pluribus: \"unum\"}], null, \"\\t\");\n// // text is '[\\n\\t\"e\",\\n\\t{\\n\\t\\t\"pluribus\": \"unum\"\\n\\t}\\n]'\n\n// text = JSON.stringify([new Date()], function (key, value) {\n// return this[key] instanceof Date\n// ? \"Date(\" + this[key] + \")\"\n// : value;\n// });\n// // text is '[\"Date(---current time---)\"]'\n\n// JSON.parse(text, reviver)\n// This method parses a JSON text to produce an object or array.\n// It can throw a SyntaxError exception.\n\n// The optional reviver parameter is a function that can filter and\n// transform the results. It receives each of the keys and values,\n// and its return value is used instead of the original value.\n// If it returns what it received, then the structure is not modified.\n// If it returns undefined then the member is deleted.\n\n// Example:\n\n// // Parse the text. Values that look like ISO date strings will\n// // be converted to Date objects.\n\n// myData = JSON.parse(text, function (key, value) {\n// var a;\n// if (typeof value === \"string\") {\n// a =\n// /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n// if (a) {\n// return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n// +a[5], +a[6]));\n// }\n// }\n// return value;\n// });\n\n// myData = JSON.parse('[\"Date(09/09/2001)\"]', function (key, value) {\n// var d;\n// if (typeof value === \"string\" &&\n// value.slice(0, 5) === \"Date(\" &&\n// value.slice(-1) === \")\") {\n// d = new Date(value.slice(5, -1));\n// if (d) {\n// return d;\n// }\n// }\n// return value;\n// });\n\n// This is a reference implementation. You are free to copy, modify, or\n// redistribute.\n\n/*jslint\n eval, for, this\n*/\n\n/*property\n JSON, apply, call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,\n getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,\n lastIndex, length, parse, prototype, push, replace, slice, stringify,\n test, toJSON, toString, valueOf\n*/\n\n\n// Create a JSON object only if one does not already exist. We create the\n// methods in a closure to avoid creating global variables.\n\nif (typeof JSON !== \"object\") {\n JSON = {};\n}\n\n(function () {\n \"use strict\";\n\n var rx_one = /^[\\],:{}\\s]*$/;\n var rx_two = /\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g;\n var rx_three = /\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g;\n var rx_four = /(?:^|:|,)(?:\\s*\\[)+/g;\n var rx_escapable = /[\\\\\"\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g;\n var rx_dangerous = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g;\n\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10\n ? \"0\" + n\n : n;\n }\n\n function this_value() {\n return this.valueOf();\n }\n\n if (typeof Date.prototype.toJSON !== \"function\") {\n\n Date.prototype.toJSON = function () {\n\n return isFinite(this.valueOf())\n ? this.getUTCFullYear() + \"-\" +\n f(this.getUTCMonth() + 1) + \"-\" +\n f(this.getUTCDate()) + \"T\" +\n f(this.getUTCHours()) + \":\" +\n f(this.getUTCMinutes()) + \":\" +\n f(this.getUTCSeconds()) + \"Z\"\n : null;\n };\n\n Boolean.prototype.toJSON = this_value;\n Number.prototype.toJSON = this_value;\n String.prototype.toJSON = this_value;\n }\n\n var gap;\n var indent;\n var meta;\n var rep;\n\n\n function quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n rx_escapable.lastIndex = 0;\n return rx_escapable.test(string)\n ? \"\\\"\" + string.replace(rx_escapable, function (a) {\n var c = meta[a];\n return typeof c === \"string\"\n ? c\n : \"\\\\u\" + (\"0000\" + a.charCodeAt(0).toString(16)).slice(-4);\n }) + \"\\\"\"\n : \"\\\"\" + string + \"\\\"\";\n }\n\n\n function str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i; // The loop counter.\n var k; // The member key.\n var v; // The member value.\n var length;\n var mind = gap;\n var partial;\n var value = holder[key];\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === \"object\" &&\n typeof value.toJSON === \"function\") {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === \"function\") {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case \"string\":\n return quote(value);\n\n case \"number\":\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value)\n ? String(value)\n : \"null\";\n\n case \"boolean\":\n case \"null\":\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce \"null\". The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is \"object\", we might be dealing with an object or an array or\n// null.\n\n case \"object\":\n\n// Due to a specification blunder in ECMAScript, typeof null is \"object\",\n// so watch out for that case.\n\n if (!value) {\n return \"null\";\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === \"[object Array]\") {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || \"null\";\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? \"[]\"\n : gap\n ? \"[\\n\" + gap + partial.join(\",\\n\" + gap) + \"\\n\" + mind + \"]\"\n : \"[\" + partial.join(\",\") + \"]\";\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === \"object\") {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === \"string\") {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (\n gap\n ? \": \"\n : \":\"\n ) + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (\n gap\n ? \": \"\n : \":\"\n ) + v);\n }\n }\n }\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? \"{}\"\n : gap\n ? \"{\\n\" + gap + partial.join(\",\\n\" + gap) + \"\\n\" + mind + \"}\"\n : \"{\" + partial.join(\",\") + \"}\";\n gap = mind;\n return v;\n }\n }\n\n// If the JSON object does not yet have a stringify method, give it one.\n\n if (typeof JSON.stringify !== \"function\") {\n meta = { // table of character substitutions\n \"\\b\": \"\\\\b\",\n \"\\t\": \"\\\\t\",\n \"\\n\": \"\\\\n\",\n \"\\f\": \"\\\\f\",\n \"\\r\": \"\\\\r\",\n \"\\\"\": \"\\\\\\\"\",\n \"\\\\\": \"\\\\\\\\\"\n };\n JSON.stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = \"\";\n indent = \"\";\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === \"number\") {\n for (i = 0; i < space; i += 1) {\n indent += \" \";\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === \"string\") {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== \"function\" &&\n (typeof replacer !== \"object\" ||\n typeof replacer.length !== \"number\")) {\n throw new Error(\"JSON.stringify\");\n }\n\n// Make a fake root object containing our value under the key of \"\".\n// Return the result of stringifying the value.\n\n return str(\"\", {\"\": value});\n };\n }\n\n\n// If the JSON object does not yet have a parse method, give it one.\n\n if (typeof JSON.parse !== \"function\") {\n JSON.parse = function (text, reviver) {\n\n// The parse method takes a text and an optional reviver function, and returns\n// a JavaScript value if the text is a valid JSON text.\n\n var j;\n\n function walk(holder, key) {\n\n// The walk method is used to recursively walk the resulting structure so\n// that modifications can be made.\n\n var k;\n var v;\n var value = holder[key];\n if (value && typeof value === \"object\") {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }\n\n\n// Parsing happens in four stages. In the first stage, we replace certain\n// Unicode characters with escape sequences. JavaScript handles many characters\n// incorrectly, either silently deleting them, or treating them as line endings.\n\n text = String(text);\n rx_dangerous.lastIndex = 0;\n if (rx_dangerous.test(text)) {\n text = text.replace(rx_dangerous, function (a) {\n return \"\\\\u\" +\n (\"0000\" + a.charCodeAt(0).toString(16)).slice(-4);\n });\n }\n\n// In the second stage, we run the text against regular expressions that look\n// for non-JSON patterns. We are especially concerned with \"()\" and \"new\"\n// because they can cause invocation, and \"=\" because it can cause mutation.\n// But just to be safe, we want to reject all unexpected forms.\n\n// We split the second stage into 4 regexp operations in order to work around\n// crippling inefficiencies in IE's and Safari's regexp engines. First we\n// replace the JSON backslash pairs with \"@\" (a non-JSON character). Second, we\n// replace all simple value tokens with \"]\" characters. Third, we delete all\n// open brackets that follow a colon or comma or that begin the text. Finally,\n// we look to see that the remaining characters are only whitespace or \"]\" or\n// \",\" or \":\" or \"{\" or \"}\". If that is so, then the text is safe for eval.\n\n if (\n rx_one.test(\n text\n .replace(rx_two, \"@\")\n .replace(rx_three, \"]\")\n .replace(rx_four, \"\")\n )\n ) {\n\n// In the third stage we use the eval function to compile the text into a\n// JavaScript structure. The \"{\" operator is subject to a syntactic ambiguity\n// in JavaScript: it can begin a block or an object literal. We wrap the text\n// in parens to eliminate the ambiguity.\n\n j = eval(\"(\" + text + \")\");\n\n// In the optional fourth stage, we recursively walk the new structure, passing\n// each name/value pair to a reviver function for possible transformation.\n\n return (typeof reviver === \"function\")\n ? walk({\"\": j}, \"\")\n : j;\n }\n\n// If the text is not JSON parseable, then a SyntaxError is thrown.\n\n throw new SyntaxError(\"JSON.parse\");\n };\n }\n}());","var hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _createForOfIteratorHelperLoose(o) {\n var i = 0;\n\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n i = o[Symbol.iterator]();\n return i.next.bind(i);\n}\n\n// these aren't really private, but nor are they really useful to document\n\n/**\n * @private\n */\nvar LuxonError = /*#__PURE__*/function (_Error) {\n _inheritsLoose(LuxonError, _Error);\n\n function LuxonError() {\n return _Error.apply(this, arguments) || this;\n }\n\n return LuxonError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n/**\n * @private\n */\n\n\nvar InvalidDateTimeError = /*#__PURE__*/function (_LuxonError) {\n _inheritsLoose(InvalidDateTimeError, _LuxonError);\n\n function InvalidDateTimeError(reason) {\n return _LuxonError.call(this, \"Invalid DateTime: \" + reason.toMessage()) || this;\n }\n\n return InvalidDateTimeError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidIntervalError = /*#__PURE__*/function (_LuxonError2) {\n _inheritsLoose(InvalidIntervalError, _LuxonError2);\n\n function InvalidIntervalError(reason) {\n return _LuxonError2.call(this, \"Invalid Interval: \" + reason.toMessage()) || this;\n }\n\n return InvalidIntervalError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidDurationError = /*#__PURE__*/function (_LuxonError3) {\n _inheritsLoose(InvalidDurationError, _LuxonError3);\n\n function InvalidDurationError(reason) {\n return _LuxonError3.call(this, \"Invalid Duration: \" + reason.toMessage()) || this;\n }\n\n return InvalidDurationError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar ConflictingSpecificationError = /*#__PURE__*/function (_LuxonError4) {\n _inheritsLoose(ConflictingSpecificationError, _LuxonError4);\n\n function ConflictingSpecificationError() {\n return _LuxonError4.apply(this, arguments) || this;\n }\n\n return ConflictingSpecificationError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidUnitError = /*#__PURE__*/function (_LuxonError5) {\n _inheritsLoose(InvalidUnitError, _LuxonError5);\n\n function InvalidUnitError(unit) {\n return _LuxonError5.call(this, \"Invalid unit \" + unit) || this;\n }\n\n return InvalidUnitError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidArgumentError = /*#__PURE__*/function (_LuxonError6) {\n _inheritsLoose(InvalidArgumentError, _LuxonError6);\n\n function InvalidArgumentError() {\n return _LuxonError6.apply(this, arguments) || this;\n }\n\n return InvalidArgumentError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar ZoneIsAbstractError = /*#__PURE__*/function (_LuxonError7) {\n _inheritsLoose(ZoneIsAbstractError, _LuxonError7);\n\n function ZoneIsAbstractError() {\n return _LuxonError7.call(this, \"Zone is an abstract class\") || this;\n }\n\n return ZoneIsAbstractError;\n}(LuxonError);\n\n/**\n * @private\n */\nvar n = \"numeric\",\n s = \"short\",\n l = \"long\";\nvar DATE_SHORT = {\n year: n,\n month: n,\n day: n\n};\nvar DATE_MED = {\n year: n,\n month: s,\n day: n\n};\nvar DATE_MED_WITH_WEEKDAY = {\n year: n,\n month: s,\n day: n,\n weekday: s\n};\nvar DATE_FULL = {\n year: n,\n month: l,\n day: n\n};\nvar DATE_HUGE = {\n year: n,\n month: l,\n day: n,\n weekday: l\n};\nvar TIME_SIMPLE = {\n hour: n,\n minute: n\n};\nvar TIME_WITH_SECONDS = {\n hour: n,\n minute: n,\n second: n\n};\nvar TIME_WITH_SHORT_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n timeZoneName: s\n};\nvar TIME_WITH_LONG_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n timeZoneName: l\n};\nvar TIME_24_SIMPLE = {\n hour: n,\n minute: n,\n hour12: false\n};\n/**\n * {@link toLocaleString}; format like '09:30:23', always 24-hour.\n */\n\nvar TIME_24_WITH_SECONDS = {\n hour: n,\n minute: n,\n second: n,\n hour12: false\n};\n/**\n * {@link toLocaleString}; format like '09:30:23 EDT', always 24-hour.\n */\n\nvar TIME_24_WITH_SHORT_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n hour12: false,\n timeZoneName: s\n};\n/**\n * {@link toLocaleString}; format like '09:30:23 Eastern Daylight Time', always 24-hour.\n */\n\nvar TIME_24_WITH_LONG_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n hour12: false,\n timeZoneName: l\n};\n/**\n * {@link toLocaleString}; format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.\n */\n\nvar DATETIME_SHORT = {\n year: n,\n month: n,\n day: n,\n hour: n,\n minute: n\n};\n/**\n * {@link toLocaleString}; format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.\n */\n\nvar DATETIME_SHORT_WITH_SECONDS = {\n year: n,\n month: n,\n day: n,\n hour: n,\n minute: n,\n second: n\n};\nvar DATETIME_MED = {\n year: n,\n month: s,\n day: n,\n hour: n,\n minute: n\n};\nvar DATETIME_MED_WITH_SECONDS = {\n year: n,\n month: s,\n day: n,\n hour: n,\n minute: n,\n second: n\n};\nvar DATETIME_MED_WITH_WEEKDAY = {\n year: n,\n month: s,\n day: n,\n weekday: s,\n hour: n,\n minute: n\n};\nvar DATETIME_FULL = {\n year: n,\n month: l,\n day: n,\n hour: n,\n minute: n,\n timeZoneName: s\n};\nvar DATETIME_FULL_WITH_SECONDS = {\n year: n,\n month: l,\n day: n,\n hour: n,\n minute: n,\n second: n,\n timeZoneName: s\n};\nvar DATETIME_HUGE = {\n year: n,\n month: l,\n day: n,\n weekday: l,\n hour: n,\n minute: n,\n timeZoneName: l\n};\nvar DATETIME_HUGE_WITH_SECONDS = {\n year: n,\n month: l,\n day: n,\n weekday: l,\n hour: n,\n minute: n,\n second: n,\n timeZoneName: l\n};\n\n/*\n This is just a junk drawer, containing anything used across multiple classes.\n Because Luxon is small(ish), this should stay small and we won't worry about splitting\n it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area.\n*/\n/**\n * @private\n */\n// TYPES\n\nfunction isUndefined(o) {\n return typeof o === \"undefined\";\n}\nfunction isNumber(o) {\n return typeof o === \"number\";\n}\nfunction isInteger(o) {\n return typeof o === \"number\" && o % 1 === 0;\n}\nfunction isString(o) {\n return typeof o === \"string\";\n}\nfunction isDate(o) {\n return Object.prototype.toString.call(o) === \"[object Date]\";\n} // CAPABILITIES\n\nfunction hasIntl() {\n try {\n return typeof Intl !== \"undefined\" && Intl.DateTimeFormat;\n } catch (e) {\n return false;\n }\n}\nfunction hasFormatToParts() {\n return !isUndefined(Intl.DateTimeFormat.prototype.formatToParts);\n}\nfunction hasRelative() {\n try {\n return typeof Intl !== \"undefined\" && !!Intl.RelativeTimeFormat;\n } catch (e) {\n return false;\n }\n} // OBJECTS AND ARRAYS\n\nfunction maybeArray(thing) {\n return Array.isArray(thing) ? thing : [thing];\n}\nfunction bestBy(arr, by, compare) {\n if (arr.length === 0) {\n return undefined;\n }\n\n return arr.reduce(function (best, next) {\n var pair = [by(next), next];\n\n if (!best) {\n return pair;\n } else if (compare(best[0], pair[0]) === best[0]) {\n return best;\n } else {\n return pair;\n }\n }, null)[1];\n}\nfunction pick(obj, keys) {\n return keys.reduce(function (a, k) {\n a[k] = obj[k];\n return a;\n }, {});\n}\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n} // NUMBERS AND STRINGS\n\nfunction integerBetween(thing, bottom, top) {\n return isInteger(thing) && thing >= bottom && thing <= top;\n} // x % n but takes the sign of n instead of x\n\nfunction floorMod(x, n) {\n return x - n * Math.floor(x / n);\n}\nfunction padStart(input, n) {\n if (n === void 0) {\n n = 2;\n }\n\n var minus = input < 0 ? \"-\" : \"\";\n var target = minus ? input * -1 : input;\n var result;\n\n if (target.toString().length < n) {\n result = (\"0\".repeat(n) + target).slice(-n);\n } else {\n result = target.toString();\n }\n\n return \"\" + minus + result;\n}\nfunction parseInteger(string) {\n if (isUndefined(string) || string === null || string === \"\") {\n return undefined;\n } else {\n return parseInt(string, 10);\n }\n}\nfunction parseMillis(fraction) {\n // Return undefined (instead of 0) in these cases, where fraction is not set\n if (isUndefined(fraction) || fraction === null || fraction === \"\") {\n return undefined;\n } else {\n var f = parseFloat(\"0.\" + fraction) * 1000;\n return Math.floor(f);\n }\n}\nfunction roundTo(number, digits, towardZero) {\n if (towardZero === void 0) {\n towardZero = false;\n }\n\n var factor = Math.pow(10, digits),\n rounder = towardZero ? Math.trunc : Math.round;\n return rounder(number * factor) / factor;\n} // DATE BASICS\n\nfunction isLeapYear(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nfunction daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n}\nfunction daysInMonth(year, month) {\n var modMonth = floorMod(month - 1, 12) + 1,\n modYear = year + (month - modMonth) / 12;\n\n if (modMonth === 2) {\n return isLeapYear(modYear) ? 29 : 28;\n } else {\n return [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][modMonth - 1];\n }\n} // covert a calendar object to a local timestamp (epoch, but with the offset baked in)\n\nfunction objToLocalTS(obj) {\n var d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond); // for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that\n\n if (obj.year < 100 && obj.year >= 0) {\n d = new Date(d);\n d.setUTCFullYear(d.getUTCFullYear() - 1900);\n }\n\n return +d;\n}\nfunction weeksInWeekYear(weekYear) {\n var p1 = (weekYear + Math.floor(weekYear / 4) - Math.floor(weekYear / 100) + Math.floor(weekYear / 400)) % 7,\n last = weekYear - 1,\n p2 = (last + Math.floor(last / 4) - Math.floor(last / 100) + Math.floor(last / 400)) % 7;\n return p1 === 4 || p2 === 3 ? 53 : 52;\n}\nfunction untruncateYear(year) {\n if (year > 99) {\n return year;\n } else return year > 60 ? 1900 + year : 2000 + year;\n} // PARSING\n\nfunction parseZoneInfo(ts, offsetFormat, locale, timeZone) {\n if (timeZone === void 0) {\n timeZone = null;\n }\n\n var date = new Date(ts),\n intlOpts = {\n hour12: false,\n year: \"numeric\",\n month: \"2-digit\",\n day: \"2-digit\",\n hour: \"2-digit\",\n minute: \"2-digit\"\n };\n\n if (timeZone) {\n intlOpts.timeZone = timeZone;\n }\n\n var modified = Object.assign({\n timeZoneName: offsetFormat\n }, intlOpts),\n intl = hasIntl();\n\n if (intl && hasFormatToParts()) {\n var parsed = new Intl.DateTimeFormat(locale, modified).formatToParts(date).find(function (m) {\n return m.type.toLowerCase() === \"timezonename\";\n });\n return parsed ? parsed.value : null;\n } else if (intl) {\n // this probably doesn't work for all locales\n var without = new Intl.DateTimeFormat(locale, intlOpts).format(date),\n included = new Intl.DateTimeFormat(locale, modified).format(date),\n diffed = included.substring(without.length),\n trimmed = diffed.replace(/^[, \\u200e]+/, \"\");\n return trimmed;\n } else {\n return null;\n }\n} // signedOffset('-5', '30') -> -330\n\nfunction signedOffset(offHourStr, offMinuteStr) {\n var offHour = parseInt(offHourStr, 10); // don't || this because we want to preserve -0\n\n if (Number.isNaN(offHour)) {\n offHour = 0;\n }\n\n var offMin = parseInt(offMinuteStr, 10) || 0,\n offMinSigned = offHour < 0 || Object.is(offHour, -0) ? -offMin : offMin;\n return offHour * 60 + offMinSigned;\n} // COERCION\n\nfunction asNumber(value) {\n var numericValue = Number(value);\n if (typeof value === \"boolean\" || value === \"\" || Number.isNaN(numericValue)) throw new InvalidArgumentError(\"Invalid unit value \" + value);\n return numericValue;\n}\nfunction normalizeObject(obj, normalizer, nonUnitKeys) {\n var normalized = {};\n\n for (var u in obj) {\n if (hasOwnProperty(obj, u)) {\n if (nonUnitKeys.indexOf(u) >= 0) continue;\n var v = obj[u];\n if (v === undefined || v === null) continue;\n normalized[normalizer(u)] = asNumber(v);\n }\n }\n\n return normalized;\n}\nfunction formatOffset(offset, format) {\n var hours = Math.trunc(Math.abs(offset / 60)),\n minutes = Math.trunc(Math.abs(offset % 60)),\n sign = offset >= 0 ? \"+\" : \"-\";\n\n switch (format) {\n case \"short\":\n return \"\" + sign + padStart(hours, 2) + \":\" + padStart(minutes, 2);\n\n case \"narrow\":\n return \"\" + sign + hours + (minutes > 0 ? \":\" + minutes : \"\");\n\n case \"techie\":\n return \"\" + sign + padStart(hours, 2) + padStart(minutes, 2);\n\n default:\n throw new RangeError(\"Value format \" + format + \" is out of range for property format\");\n }\n}\nfunction timeObject(obj) {\n return pick(obj, [\"hour\", \"minute\", \"second\", \"millisecond\"]);\n}\nvar ianaRegex = /[A-Za-z_+-]{1,256}(:?\\/[A-Za-z_+-]{1,256}(\\/[A-Za-z_+-]{1,256})?)?/;\n\nfunction stringify(obj) {\n return JSON.stringify(obj, Object.keys(obj).sort());\n}\n/**\n * @private\n */\n\n\nvar monthsLong = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\nvar monthsShort = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nvar monthsNarrow = [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"];\nfunction months(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(monthsNarrow);\n\n case \"short\":\n return [].concat(monthsShort);\n\n case \"long\":\n return [].concat(monthsLong);\n\n case \"numeric\":\n return [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"];\n\n case \"2-digit\":\n return [\"01\", \"02\", \"03\", \"04\", \"05\", \"06\", \"07\", \"08\", \"09\", \"10\", \"11\", \"12\"];\n\n default:\n return null;\n }\n}\nvar weekdaysLong = [\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"];\nvar weekdaysShort = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"];\nvar weekdaysNarrow = [\"M\", \"T\", \"W\", \"T\", \"F\", \"S\", \"S\"];\nfunction weekdays(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(weekdaysNarrow);\n\n case \"short\":\n return [].concat(weekdaysShort);\n\n case \"long\":\n return [].concat(weekdaysLong);\n\n case \"numeric\":\n return [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\"];\n\n default:\n return null;\n }\n}\nvar meridiems = [\"AM\", \"PM\"];\nvar erasLong = [\"Before Christ\", \"Anno Domini\"];\nvar erasShort = [\"BC\", \"AD\"];\nvar erasNarrow = [\"B\", \"A\"];\nfunction eras(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(erasNarrow);\n\n case \"short\":\n return [].concat(erasShort);\n\n case \"long\":\n return [].concat(erasLong);\n\n default:\n return null;\n }\n}\nfunction meridiemForDateTime(dt) {\n return meridiems[dt.hour < 12 ? 0 : 1];\n}\nfunction weekdayForDateTime(dt, length) {\n return weekdays(length)[dt.weekday - 1];\n}\nfunction monthForDateTime(dt, length) {\n return months(length)[dt.month - 1];\n}\nfunction eraForDateTime(dt, length) {\n return eras(length)[dt.year < 0 ? 0 : 1];\n}\nfunction formatRelativeTime(unit, count, numeric, narrow) {\n if (numeric === void 0) {\n numeric = \"always\";\n }\n\n if (narrow === void 0) {\n narrow = false;\n }\n\n var units = {\n years: [\"year\", \"yr.\"],\n quarters: [\"quarter\", \"qtr.\"],\n months: [\"month\", \"mo.\"],\n weeks: [\"week\", \"wk.\"],\n days: [\"day\", \"day\", \"days\"],\n hours: [\"hour\", \"hr.\"],\n minutes: [\"minute\", \"min.\"],\n seconds: [\"second\", \"sec.\"]\n };\n var lastable = [\"hours\", \"minutes\", \"seconds\"].indexOf(unit) === -1;\n\n if (numeric === \"auto\" && lastable) {\n var isDay = unit === \"days\";\n\n switch (count) {\n case 1:\n return isDay ? \"tomorrow\" : \"next \" + units[unit][0];\n\n case -1:\n return isDay ? \"yesterday\" : \"last \" + units[unit][0];\n\n case 0:\n return isDay ? \"today\" : \"this \" + units[unit][0];\n\n }\n }\n\n var isInPast = Object.is(count, -0) || count < 0,\n fmtValue = Math.abs(count),\n singular = fmtValue === 1,\n lilUnits = units[unit],\n fmtUnit = narrow ? singular ? lilUnits[1] : lilUnits[2] || lilUnits[1] : singular ? units[unit][0] : unit;\n return isInPast ? fmtValue + \" \" + fmtUnit + \" ago\" : \"in \" + fmtValue + \" \" + fmtUnit;\n}\nfunction formatString(knownFormat) {\n // these all have the offsets removed because we don't have access to them\n // without all the intl stuff this is backfilling\n var filtered = pick(knownFormat, [\"weekday\", \"era\", \"year\", \"month\", \"day\", \"hour\", \"minute\", \"second\", \"timeZoneName\", \"hour12\"]),\n key = stringify(filtered),\n dateTimeHuge = \"EEEE, LLLL d, yyyy, h:mm a\";\n\n switch (key) {\n case stringify(DATE_SHORT):\n return \"M/d/yyyy\";\n\n case stringify(DATE_MED):\n return \"LLL d, yyyy\";\n\n case stringify(DATE_MED_WITH_WEEKDAY):\n return \"EEE, LLL d, yyyy\";\n\n case stringify(DATE_FULL):\n return \"LLLL d, yyyy\";\n\n case stringify(DATE_HUGE):\n return \"EEEE, LLLL d, yyyy\";\n\n case stringify(TIME_SIMPLE):\n return \"h:mm a\";\n\n case stringify(TIME_WITH_SECONDS):\n return \"h:mm:ss a\";\n\n case stringify(TIME_WITH_SHORT_OFFSET):\n return \"h:mm a\";\n\n case stringify(TIME_WITH_LONG_OFFSET):\n return \"h:mm a\";\n\n case stringify(TIME_24_SIMPLE):\n return \"HH:mm\";\n\n case stringify(TIME_24_WITH_SECONDS):\n return \"HH:mm:ss\";\n\n case stringify(TIME_24_WITH_SHORT_OFFSET):\n return \"HH:mm\";\n\n case stringify(TIME_24_WITH_LONG_OFFSET):\n return \"HH:mm\";\n\n case stringify(DATETIME_SHORT):\n return \"M/d/yyyy, h:mm a\";\n\n case stringify(DATETIME_MED):\n return \"LLL d, yyyy, h:mm a\";\n\n case stringify(DATETIME_FULL):\n return \"LLLL d, yyyy, h:mm a\";\n\n case stringify(DATETIME_HUGE):\n return dateTimeHuge;\n\n case stringify(DATETIME_SHORT_WITH_SECONDS):\n return \"M/d/yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_MED_WITH_SECONDS):\n return \"LLL d, yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_MED_WITH_WEEKDAY):\n return \"EEE, d LLL yyyy, h:mm a\";\n\n case stringify(DATETIME_FULL_WITH_SECONDS):\n return \"LLLL d, yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_HUGE_WITH_SECONDS):\n return \"EEEE, LLLL d, yyyy, h:mm:ss a\";\n\n default:\n return dateTimeHuge;\n }\n}\n\nfunction stringifyTokens(splits, tokenToString) {\n var s = \"\";\n\n for (var _iterator = _createForOfIteratorHelperLoose(splits), _step; !(_step = _iterator()).done;) {\n var token = _step.value;\n\n if (token.literal) {\n s += token.val;\n } else {\n s += tokenToString(token.val);\n }\n }\n\n return s;\n}\n\nvar _macroTokenToFormatOpts = {\n D: DATE_SHORT,\n DD: DATE_MED,\n DDD: DATE_FULL,\n DDDD: DATE_HUGE,\n t: TIME_SIMPLE,\n tt: TIME_WITH_SECONDS,\n ttt: TIME_WITH_SHORT_OFFSET,\n tttt: TIME_WITH_LONG_OFFSET,\n T: TIME_24_SIMPLE,\n TT: TIME_24_WITH_SECONDS,\n TTT: TIME_24_WITH_SHORT_OFFSET,\n TTTT: TIME_24_WITH_LONG_OFFSET,\n f: DATETIME_SHORT,\n ff: DATETIME_MED,\n fff: DATETIME_FULL,\n ffff: DATETIME_HUGE,\n F: DATETIME_SHORT_WITH_SECONDS,\n FF: DATETIME_MED_WITH_SECONDS,\n FFF: DATETIME_FULL_WITH_SECONDS,\n FFFF: DATETIME_HUGE_WITH_SECONDS\n};\n/**\n * @private\n */\n\nvar Formatter = /*#__PURE__*/function () {\n Formatter.create = function create(locale, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return new Formatter(locale, opts);\n };\n\n Formatter.parseFormat = function parseFormat(fmt) {\n var current = null,\n currentFull = \"\",\n bracketed = false;\n var splits = [];\n\n for (var i = 0; i < fmt.length; i++) {\n var c = fmt.charAt(i);\n\n if (c === \"'\") {\n if (currentFull.length > 0) {\n splits.push({\n literal: bracketed,\n val: currentFull\n });\n }\n\n current = null;\n currentFull = \"\";\n bracketed = !bracketed;\n } else if (bracketed) {\n currentFull += c;\n } else if (c === current) {\n currentFull += c;\n } else {\n if (currentFull.length > 0) {\n splits.push({\n literal: false,\n val: currentFull\n });\n }\n\n currentFull = c;\n current = c;\n }\n }\n\n if (currentFull.length > 0) {\n splits.push({\n literal: bracketed,\n val: currentFull\n });\n }\n\n return splits;\n };\n\n Formatter.macroTokenToFormatOpts = function macroTokenToFormatOpts(token) {\n return _macroTokenToFormatOpts[token];\n };\n\n function Formatter(locale, formatOpts) {\n this.opts = formatOpts;\n this.loc = locale;\n this.systemLoc = null;\n }\n\n var _proto = Formatter.prototype;\n\n _proto.formatWithSystemDefault = function formatWithSystemDefault(dt, opts) {\n if (this.systemLoc === null) {\n this.systemLoc = this.loc.redefaultToSystem();\n }\n\n var df = this.systemLoc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.format();\n };\n\n _proto.formatDateTime = function formatDateTime(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.format();\n };\n\n _proto.formatDateTimeParts = function formatDateTimeParts(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.formatToParts();\n };\n\n _proto.resolvedOptions = function resolvedOptions(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.resolvedOptions();\n };\n\n _proto.num = function num(n, p) {\n if (p === void 0) {\n p = 0;\n }\n\n // we get some perf out of doing this here, annoyingly\n if (this.opts.forceSimple) {\n return padStart(n, p);\n }\n\n var opts = Object.assign({}, this.opts);\n\n if (p > 0) {\n opts.padTo = p;\n }\n\n return this.loc.numberFormatter(opts).format(n);\n };\n\n _proto.formatDateTimeFromString = function formatDateTimeFromString(dt, fmt) {\n var _this = this;\n\n var knownEnglish = this.loc.listingMode() === \"en\",\n useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== \"gregory\" && hasFormatToParts(),\n string = function string(opts, extract) {\n return _this.loc.extract(dt, opts, extract);\n },\n formatOffset = function formatOffset(opts) {\n if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {\n return \"Z\";\n }\n\n return dt.isValid ? dt.zone.formatOffset(dt.ts, opts.format) : \"\";\n },\n meridiem = function meridiem() {\n return knownEnglish ? meridiemForDateTime(dt) : string({\n hour: \"numeric\",\n hour12: true\n }, \"dayperiod\");\n },\n month = function month(length, standalone) {\n return knownEnglish ? monthForDateTime(dt, length) : string(standalone ? {\n month: length\n } : {\n month: length,\n day: \"numeric\"\n }, \"month\");\n },\n weekday = function weekday(length, standalone) {\n return knownEnglish ? weekdayForDateTime(dt, length) : string(standalone ? {\n weekday: length\n } : {\n weekday: length,\n month: \"long\",\n day: \"numeric\"\n }, \"weekday\");\n },\n maybeMacro = function maybeMacro(token) {\n var formatOpts = Formatter.macroTokenToFormatOpts(token);\n\n if (formatOpts) {\n return _this.formatWithSystemDefault(dt, formatOpts);\n } else {\n return token;\n }\n },\n era = function era(length) {\n return knownEnglish ? eraForDateTime(dt, length) : string({\n era: length\n }, \"era\");\n },\n tokenToString = function tokenToString(token) {\n // Where possible: http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles\n switch (token) {\n // ms\n case \"S\":\n return _this.num(dt.millisecond);\n\n case \"u\": // falls through\n\n case \"SSS\":\n return _this.num(dt.millisecond, 3);\n // seconds\n\n case \"s\":\n return _this.num(dt.second);\n\n case \"ss\":\n return _this.num(dt.second, 2);\n // minutes\n\n case \"m\":\n return _this.num(dt.minute);\n\n case \"mm\":\n return _this.num(dt.minute, 2);\n // hours\n\n case \"h\":\n return _this.num(dt.hour % 12 === 0 ? 12 : dt.hour % 12);\n\n case \"hh\":\n return _this.num(dt.hour % 12 === 0 ? 12 : dt.hour % 12, 2);\n\n case \"H\":\n return _this.num(dt.hour);\n\n case \"HH\":\n return _this.num(dt.hour, 2);\n // offset\n\n case \"Z\":\n // like +6\n return formatOffset({\n format: \"narrow\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZ\":\n // like +06:00\n return formatOffset({\n format: \"short\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZZ\":\n // like +0600\n return formatOffset({\n format: \"techie\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZZZ\":\n // like EST\n return dt.zone.offsetName(dt.ts, {\n format: \"short\",\n locale: _this.loc.locale\n });\n\n case \"ZZZZZ\":\n // like Eastern Standard Time\n return dt.zone.offsetName(dt.ts, {\n format: \"long\",\n locale: _this.loc.locale\n });\n // zone\n\n case \"z\":\n // like America/New_York\n return dt.zoneName;\n // meridiems\n\n case \"a\":\n return meridiem();\n // dates\n\n case \"d\":\n return useDateTimeFormatter ? string({\n day: \"numeric\"\n }, \"day\") : _this.num(dt.day);\n\n case \"dd\":\n return useDateTimeFormatter ? string({\n day: \"2-digit\"\n }, \"day\") : _this.num(dt.day, 2);\n // weekdays - standalone\n\n case \"c\":\n // like 1\n return _this.num(dt.weekday);\n\n case \"ccc\":\n // like 'Tues'\n return weekday(\"short\", true);\n\n case \"cccc\":\n // like 'Tuesday'\n return weekday(\"long\", true);\n\n case \"ccccc\":\n // like 'T'\n return weekday(\"narrow\", true);\n // weekdays - format\n\n case \"E\":\n // like 1\n return _this.num(dt.weekday);\n\n case \"EEE\":\n // like 'Tues'\n return weekday(\"short\", false);\n\n case \"EEEE\":\n // like 'Tuesday'\n return weekday(\"long\", false);\n\n case \"EEEEE\":\n // like 'T'\n return weekday(\"narrow\", false);\n // months - standalone\n\n case \"L\":\n // like 1\n return useDateTimeFormatter ? string({\n month: \"numeric\",\n day: \"numeric\"\n }, \"month\") : _this.num(dt.month);\n\n case \"LL\":\n // like 01, doesn't seem to work\n return useDateTimeFormatter ? string({\n month: \"2-digit\",\n day: \"numeric\"\n }, \"month\") : _this.num(dt.month, 2);\n\n case \"LLL\":\n // like Jan\n return month(\"short\", true);\n\n case \"LLLL\":\n // like January\n return month(\"long\", true);\n\n case \"LLLLL\":\n // like J\n return month(\"narrow\", true);\n // months - format\n\n case \"M\":\n // like 1\n return useDateTimeFormatter ? string({\n month: \"numeric\"\n }, \"month\") : _this.num(dt.month);\n\n case \"MM\":\n // like 01\n return useDateTimeFormatter ? string({\n month: \"2-digit\"\n }, \"month\") : _this.num(dt.month, 2);\n\n case \"MMM\":\n // like Jan\n return month(\"short\", false);\n\n case \"MMMM\":\n // like January\n return month(\"long\", false);\n\n case \"MMMMM\":\n // like J\n return month(\"narrow\", false);\n // years\n\n case \"y\":\n // like 2014\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year);\n\n case \"yy\":\n // like 14\n return useDateTimeFormatter ? string({\n year: \"2-digit\"\n }, \"year\") : _this.num(dt.year.toString().slice(-2), 2);\n\n case \"yyyy\":\n // like 0012\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year, 4);\n\n case \"yyyyyy\":\n // like 000012\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year, 6);\n // eras\n\n case \"G\":\n // like AD\n return era(\"short\");\n\n case \"GG\":\n // like Anno Domini\n return era(\"long\");\n\n case \"GGGGG\":\n return era(\"narrow\");\n\n case \"kk\":\n return _this.num(dt.weekYear.toString().slice(-2), 2);\n\n case \"kkkk\":\n return _this.num(dt.weekYear, 4);\n\n case \"W\":\n return _this.num(dt.weekNumber);\n\n case \"WW\":\n return _this.num(dt.weekNumber, 2);\n\n case \"o\":\n return _this.num(dt.ordinal);\n\n case \"ooo\":\n return _this.num(dt.ordinal, 3);\n\n case \"q\":\n // like 1\n return _this.num(dt.quarter);\n\n case \"qq\":\n // like 01\n return _this.num(dt.quarter, 2);\n\n case \"X\":\n return _this.num(Math.floor(dt.ts / 1000));\n\n case \"x\":\n return _this.num(dt.ts);\n\n default:\n return maybeMacro(token);\n }\n };\n\n return stringifyTokens(Formatter.parseFormat(fmt), tokenToString);\n };\n\n _proto.formatDurationFromString = function formatDurationFromString(dur, fmt) {\n var _this2 = this;\n\n var tokenToField = function tokenToField(token) {\n switch (token[0]) {\n case \"S\":\n return \"millisecond\";\n\n case \"s\":\n return \"second\";\n\n case \"m\":\n return \"minute\";\n\n case \"h\":\n return \"hour\";\n\n case \"d\":\n return \"day\";\n\n case \"M\":\n return \"month\";\n\n case \"y\":\n return \"year\";\n\n default:\n return null;\n }\n },\n tokenToString = function tokenToString(lildur) {\n return function (token) {\n var mapped = tokenToField(token);\n\n if (mapped) {\n return _this2.num(lildur.get(mapped), token.length);\n } else {\n return token;\n }\n };\n },\n tokens = Formatter.parseFormat(fmt),\n realTokens = tokens.reduce(function (found, _ref) {\n var literal = _ref.literal,\n val = _ref.val;\n return literal ? found : found.concat(val);\n }, []),\n collapsed = dur.shiftTo.apply(dur, realTokens.map(tokenToField).filter(function (t) {\n return t;\n }));\n\n return stringifyTokens(tokens, tokenToString(collapsed));\n };\n\n return Formatter;\n}();\n\nvar Invalid = /*#__PURE__*/function () {\n function Invalid(reason, explanation) {\n this.reason = reason;\n this.explanation = explanation;\n }\n\n var _proto = Invalid.prototype;\n\n _proto.toMessage = function toMessage() {\n if (this.explanation) {\n return this.reason + \": \" + this.explanation;\n } else {\n return this.reason;\n }\n };\n\n return Invalid;\n}();\n\n/**\n * @interface\n */\n\nvar Zone = /*#__PURE__*/function () {\n function Zone() {}\n\n var _proto = Zone.prototype;\n\n /**\n * Returns the offset's common name (such as EST) at the specified timestamp\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to get the name\n * @param {Object} opts - Options to affect the format\n * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.\n * @param {string} opts.locale - What locale to return the offset name in.\n * @return {string}\n */\n _proto.offsetName = function offsetName(ts, opts) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Returns the offset's value as a string\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to get the offset\n * @param {string} format - What style of offset to return.\n * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively\n * @return {string}\n */\n ;\n\n _proto.formatOffset = function formatOffset(ts, format) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return the offset in minutes for this zone at the specified timestamp.\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to compute the offset\n * @return {number}\n */\n ;\n\n _proto.offset = function offset(ts) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return whether this Zone is equal to another zone\n * @abstract\n * @param {Zone} otherZone - the zone to compare\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(otherZone) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return whether this Zone is valid.\n * @abstract\n * @type {boolean}\n */\n ;\n\n _createClass(Zone, [{\n key: \"type\",\n\n /**\n * The type of zone\n * @abstract\n * @type {string}\n */\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n /**\n * The name of this zone.\n * @abstract\n * @type {string}\n */\n\n }, {\n key: \"name\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n /**\n * Returns whether the offset is known to be fixed for the whole year.\n * @abstract\n * @type {boolean}\n */\n\n }, {\n key: \"universal\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n }, {\n key: \"isValid\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n }]);\n\n return Zone;\n}();\n\nvar singleton = null;\n/**\n * Represents the local zone for this JavaScript environment.\n * @implements {Zone}\n */\n\nvar LocalZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(LocalZone, _Zone);\n\n function LocalZone() {\n return _Zone.apply(this, arguments) || this;\n }\n\n var _proto = LocalZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName(ts, _ref) {\n var format = _ref.format,\n locale = _ref.locale;\n return parseZoneInfo(ts, format, locale);\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.offset(ts), format);\n }\n /** @override **/\n ;\n\n _proto.offset = function offset(ts) {\n return -new Date(ts).getTimezoneOffset();\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"local\";\n }\n /** @override **/\n ;\n\n _createClass(LocalZone, [{\n key: \"type\",\n\n /** @override **/\n get: function get() {\n return \"local\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n if (hasIntl()) {\n return new Intl.DateTimeFormat().resolvedOptions().timeZone;\n } else return \"local\";\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return true;\n }\n }], [{\n key: \"instance\",\n\n /**\n * Get a singleton instance of the local zone\n * @return {LocalZone}\n */\n get: function get() {\n if (singleton === null) {\n singleton = new LocalZone();\n }\n\n return singleton;\n }\n }]);\n\n return LocalZone;\n}(Zone);\n\nvar matchingRegex = RegExp(\"^\" + ianaRegex.source + \"$\");\nvar dtfCache = {};\n\nfunction makeDTF(zone) {\n if (!dtfCache[zone]) {\n dtfCache[zone] = new Intl.DateTimeFormat(\"en-US\", {\n hour12: false,\n timeZone: zone,\n year: \"numeric\",\n month: \"2-digit\",\n day: \"2-digit\",\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\"\n });\n }\n\n return dtfCache[zone];\n}\n\nvar typeToPos = {\n year: 0,\n month: 1,\n day: 2,\n hour: 3,\n minute: 4,\n second: 5\n};\n\nfunction hackyOffset(dtf, date) {\n var formatted = dtf.format(date).replace(/\\u200E/g, \"\"),\n parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted),\n fMonth = parsed[1],\n fDay = parsed[2],\n fYear = parsed[3],\n fHour = parsed[4],\n fMinute = parsed[5],\n fSecond = parsed[6];\n return [fYear, fMonth, fDay, fHour, fMinute, fSecond];\n}\n\nfunction partsOffset(dtf, date) {\n var formatted = dtf.formatToParts(date),\n filled = [];\n\n for (var i = 0; i < formatted.length; i++) {\n var _formatted$i = formatted[i],\n type = _formatted$i.type,\n value = _formatted$i.value,\n pos = typeToPos[type];\n\n if (!isUndefined(pos)) {\n filled[pos] = parseInt(value, 10);\n }\n }\n\n return filled;\n}\n\nvar ianaZoneCache = {};\n/**\n * A zone identified by an IANA identifier, like America/New_York\n * @implements {Zone}\n */\n\nvar IANAZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(IANAZone, _Zone);\n\n /**\n * @param {string} name - Zone name\n * @return {IANAZone}\n */\n IANAZone.create = function create(name) {\n if (!ianaZoneCache[name]) {\n ianaZoneCache[name] = new IANAZone(name);\n }\n\n return ianaZoneCache[name];\n }\n /**\n * Reset local caches. Should only be necessary in testing scenarios.\n * @return {void}\n */\n ;\n\n IANAZone.resetCache = function resetCache() {\n ianaZoneCache = {};\n dtfCache = {};\n }\n /**\n * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.\n * @param {string} s - The string to check validity on\n * @example IANAZone.isValidSpecifier(\"America/New_York\") //=> true\n * @example IANAZone.isValidSpecifier(\"Fantasia/Castle\") //=> true\n * @example IANAZone.isValidSpecifier(\"Sport~~blorp\") //=> false\n * @return {boolean}\n */\n ;\n\n IANAZone.isValidSpecifier = function isValidSpecifier(s) {\n return !!(s && s.match(matchingRegex));\n }\n /**\n * Returns whether the provided string identifies a real zone\n * @param {string} zone - The string to check\n * @example IANAZone.isValidZone(\"America/New_York\") //=> true\n * @example IANAZone.isValidZone(\"Fantasia/Castle\") //=> false\n * @example IANAZone.isValidZone(\"Sport~~blorp\") //=> false\n * @return {boolean}\n */\n ;\n\n IANAZone.isValidZone = function isValidZone(zone) {\n try {\n new Intl.DateTimeFormat(\"en-US\", {\n timeZone: zone\n }).format();\n return true;\n } catch (e) {\n return false;\n }\n } // Etc/GMT+8 -> -480\n\n /** @ignore */\n ;\n\n IANAZone.parseGMTOffset = function parseGMTOffset(specifier) {\n if (specifier) {\n var match = specifier.match(/^Etc\\/GMT(0|[+-]\\d{1,2})$/i);\n\n if (match) {\n return -60 * parseInt(match[1]);\n }\n }\n\n return null;\n };\n\n function IANAZone(name) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private **/\n\n _this.zoneName = name;\n /** @private **/\n\n _this.valid = IANAZone.isValidZone(name);\n return _this;\n }\n /** @override **/\n\n\n var _proto = IANAZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName(ts, _ref) {\n var format = _ref.format,\n locale = _ref.locale;\n return parseZoneInfo(ts, format, locale, this.name);\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.offset(ts), format);\n }\n /** @override **/\n ;\n\n _proto.offset = function offset(ts) {\n var date = new Date(ts);\n if (isNaN(date)) return NaN;\n\n var dtf = makeDTF(this.name),\n _ref2 = dtf.formatToParts ? partsOffset(dtf, date) : hackyOffset(dtf, date),\n year = _ref2[0],\n month = _ref2[1],\n day = _ref2[2],\n hour = _ref2[3],\n minute = _ref2[4],\n second = _ref2[5],\n adjustedHour = hour === 24 ? 0 : hour;\n\n var asUTC = objToLocalTS({\n year: year,\n month: month,\n day: day,\n hour: adjustedHour,\n minute: minute,\n second: second,\n millisecond: 0\n });\n var asTS = +date;\n var over = asTS % 1000;\n asTS -= over >= 0 ? over : 1000 + over;\n return (asUTC - asTS) / (60 * 1000);\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"iana\" && otherZone.name === this.name;\n }\n /** @override **/\n ;\n\n _createClass(IANAZone, [{\n key: \"type\",\n get: function get() {\n return \"iana\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.zoneName;\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return this.valid;\n }\n }]);\n\n return IANAZone;\n}(Zone);\n\nvar singleton$1 = null;\n/**\n * A zone with a fixed offset (meaning no DST)\n * @implements {Zone}\n */\n\nvar FixedOffsetZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(FixedOffsetZone, _Zone);\n\n /**\n * Get an instance with a specified offset\n * @param {number} offset - The offset in minutes\n * @return {FixedOffsetZone}\n */\n FixedOffsetZone.instance = function instance(offset) {\n return offset === 0 ? FixedOffsetZone.utcInstance : new FixedOffsetZone(offset);\n }\n /**\n * Get an instance of FixedOffsetZone from a UTC offset string, like \"UTC+6\"\n * @param {string} s - The offset string to parse\n * @example FixedOffsetZone.parseSpecifier(\"UTC+6\")\n * @example FixedOffsetZone.parseSpecifier(\"UTC+06\")\n * @example FixedOffsetZone.parseSpecifier(\"UTC-6:00\")\n * @return {FixedOffsetZone}\n */\n ;\n\n FixedOffsetZone.parseSpecifier = function parseSpecifier(s) {\n if (s) {\n var r = s.match(/^utc(?:([+-]\\d{1,2})(?::(\\d{2}))?)?$/i);\n\n if (r) {\n return new FixedOffsetZone(signedOffset(r[1], r[2]));\n }\n }\n\n return null;\n };\n\n _createClass(FixedOffsetZone, null, [{\n key: \"utcInstance\",\n\n /**\n * Get a singleton instance of UTC\n * @return {FixedOffsetZone}\n */\n get: function get() {\n if (singleton$1 === null) {\n singleton$1 = new FixedOffsetZone(0);\n }\n\n return singleton$1;\n }\n }]);\n\n function FixedOffsetZone(offset) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private **/\n\n _this.fixed = offset;\n return _this;\n }\n /** @override **/\n\n\n var _proto = FixedOffsetZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName() {\n return this.name;\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.fixed, format);\n }\n /** @override **/\n ;\n\n /** @override **/\n _proto.offset = function offset() {\n return this.fixed;\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"fixed\" && otherZone.fixed === this.fixed;\n }\n /** @override **/\n ;\n\n _createClass(FixedOffsetZone, [{\n key: \"type\",\n get: function get() {\n return \"fixed\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.fixed === 0 ? \"UTC\" : \"UTC\" + formatOffset(this.fixed, \"narrow\");\n }\n }, {\n key: \"universal\",\n get: function get() {\n return true;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return true;\n }\n }]);\n\n return FixedOffsetZone;\n}(Zone);\n\n/**\n * A zone that failed to parse. You should never need to instantiate this.\n * @implements {Zone}\n */\n\nvar InvalidZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(InvalidZone, _Zone);\n\n function InvalidZone(zoneName) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private */\n\n _this.zoneName = zoneName;\n return _this;\n }\n /** @override **/\n\n\n var _proto = InvalidZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName() {\n return null;\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset() {\n return \"\";\n }\n /** @override **/\n ;\n\n _proto.offset = function offset() {\n return NaN;\n }\n /** @override **/\n ;\n\n _proto.equals = function equals() {\n return false;\n }\n /** @override **/\n ;\n\n _createClass(InvalidZone, [{\n key: \"type\",\n get: function get() {\n return \"invalid\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.zoneName;\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return false;\n }\n }]);\n\n return InvalidZone;\n}(Zone);\n\n/**\n * @private\n */\nfunction normalizeZone(input, defaultZone) {\n var offset;\n\n if (isUndefined(input) || input === null) {\n return defaultZone;\n } else if (input instanceof Zone) {\n return input;\n } else if (isString(input)) {\n var lowered = input.toLowerCase();\n if (lowered === \"local\") return defaultZone;else if (lowered === \"utc\" || lowered === \"gmt\") return FixedOffsetZone.utcInstance;else if ((offset = IANAZone.parseGMTOffset(input)) != null) {\n // handle Etc/GMT-4, which V8 chokes on\n return FixedOffsetZone.instance(offset);\n } else if (IANAZone.isValidSpecifier(lowered)) return IANAZone.create(input);else return FixedOffsetZone.parseSpecifier(lowered) || new InvalidZone(input);\n } else if (isNumber(input)) {\n return FixedOffsetZone.instance(input);\n } else if (typeof input === \"object\" && input.offset && typeof input.offset === \"number\") {\n // This is dumb, but the instanceof check above doesn't seem to really work\n // so we're duck checking it\n return input;\n } else {\n return new InvalidZone(input);\n }\n}\n\nvar now = function now() {\n return Date.now();\n},\n defaultZone = null,\n // not setting this directly to LocalZone.instance bc loading order issues\ndefaultLocale = null,\n defaultNumberingSystem = null,\n defaultOutputCalendar = null,\n throwOnInvalid = false;\n/**\n * Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.\n */\n\n\nvar Settings = /*#__PURE__*/function () {\n function Settings() {}\n\n /**\n * Reset Luxon's global caches. Should only be necessary in testing scenarios.\n * @return {void}\n */\n Settings.resetCaches = function resetCaches() {\n Locale.resetCache();\n IANAZone.resetCache();\n };\n\n _createClass(Settings, null, [{\n key: \"now\",\n\n /**\n * Get the callback for returning the current timestamp.\n * @type {function}\n */\n get: function get() {\n return now;\n }\n /**\n * Set the callback for returning the current timestamp.\n * The function should return a number, which will be interpreted as an Epoch millisecond count\n * @type {function}\n * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future\n * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time\n */\n ,\n set: function set(n) {\n now = n;\n }\n /**\n * Get the default time zone to create DateTimes in.\n * @type {string}\n */\n\n }, {\n key: \"defaultZoneName\",\n get: function get() {\n return Settings.defaultZone.name;\n }\n /**\n * Set the default time zone to create DateTimes in. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(z) {\n if (!z) {\n defaultZone = null;\n } else {\n defaultZone = normalizeZone(z);\n }\n }\n /**\n * Get the default time zone object to create DateTimes in. Does not affect existing instances.\n * @type {Zone}\n */\n\n }, {\n key: \"defaultZone\",\n get: function get() {\n return defaultZone || LocalZone.instance;\n }\n /**\n * Get the default locale to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultLocale\",\n get: function get() {\n return defaultLocale;\n }\n /**\n * Set the default locale to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(locale) {\n defaultLocale = locale;\n }\n /**\n * Get the default numbering system to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultNumberingSystem\",\n get: function get() {\n return defaultNumberingSystem;\n }\n /**\n * Set the default numbering system to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(numberingSystem) {\n defaultNumberingSystem = numberingSystem;\n }\n /**\n * Get the default output calendar to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultOutputCalendar\",\n get: function get() {\n return defaultOutputCalendar;\n }\n /**\n * Set the default output calendar to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(outputCalendar) {\n defaultOutputCalendar = outputCalendar;\n }\n /**\n * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals\n * @type {boolean}\n */\n\n }, {\n key: \"throwOnInvalid\",\n get: function get() {\n return throwOnInvalid;\n }\n /**\n * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals\n * @type {boolean}\n */\n ,\n set: function set(t) {\n throwOnInvalid = t;\n }\n }]);\n\n return Settings;\n}();\n\nvar intlDTCache = {};\n\nfunction getCachedDTF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var key = JSON.stringify([locString, opts]);\n var dtf = intlDTCache[key];\n\n if (!dtf) {\n dtf = new Intl.DateTimeFormat(locString, opts);\n intlDTCache[key] = dtf;\n }\n\n return dtf;\n}\n\nvar intlNumCache = {};\n\nfunction getCachedINF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var key = JSON.stringify([locString, opts]);\n var inf = intlNumCache[key];\n\n if (!inf) {\n inf = new Intl.NumberFormat(locString, opts);\n intlNumCache[key] = inf;\n }\n\n return inf;\n}\n\nvar intlRelCache = {};\n\nfunction getCachedRTF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _opts = opts,\n base = _opts.base,\n cacheKeyOpts = _objectWithoutPropertiesLoose(_opts, [\"base\"]); // exclude `base` from the options\n\n\n var key = JSON.stringify([locString, cacheKeyOpts]);\n var inf = intlRelCache[key];\n\n if (!inf) {\n inf = new Intl.RelativeTimeFormat(locString, opts);\n intlRelCache[key] = inf;\n }\n\n return inf;\n}\n\nvar sysLocaleCache = null;\n\nfunction systemLocale() {\n if (sysLocaleCache) {\n return sysLocaleCache;\n } else if (hasIntl()) {\n var computedSys = new Intl.DateTimeFormat().resolvedOptions().locale; // node sometimes defaults to \"und\". Override that because that is dumb\n\n sysLocaleCache = !computedSys || computedSys === \"und\" ? \"en-US\" : computedSys;\n return sysLocaleCache;\n } else {\n sysLocaleCache = \"en-US\";\n return sysLocaleCache;\n }\n}\n\nfunction parseLocaleString(localeStr) {\n // I really want to avoid writing a BCP 47 parser\n // see, e.g. https://github.com/wooorm/bcp-47\n // Instead, we'll do this:\n // a) if the string has no -u extensions, just leave it alone\n // b) if it does, use Intl to resolve everything\n // c) if Intl fails, try again without the -u\n var uIndex = localeStr.indexOf(\"-u-\");\n\n if (uIndex === -1) {\n return [localeStr];\n } else {\n var options;\n var smaller = localeStr.substring(0, uIndex);\n\n try {\n options = getCachedDTF(localeStr).resolvedOptions();\n } catch (e) {\n options = getCachedDTF(smaller).resolvedOptions();\n }\n\n var _options = options,\n numberingSystem = _options.numberingSystem,\n calendar = _options.calendar; // return the smaller one so that we can append the calendar and numbering overrides to it\n\n return [smaller, numberingSystem, calendar];\n }\n}\n\nfunction intlConfigString(localeStr, numberingSystem, outputCalendar) {\n if (hasIntl()) {\n if (outputCalendar || numberingSystem) {\n localeStr += \"-u\";\n\n if (outputCalendar) {\n localeStr += \"-ca-\" + outputCalendar;\n }\n\n if (numberingSystem) {\n localeStr += \"-nu-\" + numberingSystem;\n }\n\n return localeStr;\n } else {\n return localeStr;\n }\n } else {\n return [];\n }\n}\n\nfunction mapMonths(f) {\n var ms = [];\n\n for (var i = 1; i <= 12; i++) {\n var dt = DateTime.utc(2016, i, 1);\n ms.push(f(dt));\n }\n\n return ms;\n}\n\nfunction mapWeekdays(f) {\n var ms = [];\n\n for (var i = 1; i <= 7; i++) {\n var dt = DateTime.utc(2016, 11, 13 + i);\n ms.push(f(dt));\n }\n\n return ms;\n}\n\nfunction listStuff(loc, length, defaultOK, englishFn, intlFn) {\n var mode = loc.listingMode(defaultOK);\n\n if (mode === \"error\") {\n return null;\n } else if (mode === \"en\") {\n return englishFn(length);\n } else {\n return intlFn(length);\n }\n}\n\nfunction supportsFastNumbers(loc) {\n if (loc.numberingSystem && loc.numberingSystem !== \"latn\") {\n return false;\n } else {\n return loc.numberingSystem === \"latn\" || !loc.locale || loc.locale.startsWith(\"en\") || hasIntl() && new Intl.DateTimeFormat(loc.intl).resolvedOptions().numberingSystem === \"latn\";\n }\n}\n/**\n * @private\n */\n\n\nvar PolyNumberFormatter = /*#__PURE__*/function () {\n function PolyNumberFormatter(intl, forceSimple, opts) {\n this.padTo = opts.padTo || 0;\n this.floor = opts.floor || false;\n\n if (!forceSimple && hasIntl()) {\n var intlOpts = {\n useGrouping: false\n };\n if (opts.padTo > 0) intlOpts.minimumIntegerDigits = opts.padTo;\n this.inf = getCachedINF(intl, intlOpts);\n }\n }\n\n var _proto = PolyNumberFormatter.prototype;\n\n _proto.format = function format(i) {\n if (this.inf) {\n var fixed = this.floor ? Math.floor(i) : i;\n return this.inf.format(fixed);\n } else {\n // to match the browser's numberformatter defaults\n var _fixed = this.floor ? Math.floor(i) : roundTo(i, 3);\n\n return padStart(_fixed, this.padTo);\n }\n };\n\n return PolyNumberFormatter;\n}();\n/**\n * @private\n */\n\n\nvar PolyDateFormatter = /*#__PURE__*/function () {\n function PolyDateFormatter(dt, intl, opts) {\n this.opts = opts;\n this.hasIntl = hasIntl();\n var z;\n\n if (dt.zone.universal && this.hasIntl) {\n // UTC-8 or Etc/UTC-8 are not part of tzdata, only Etc/GMT+8 and the like.\n // That is why fixed-offset TZ is set to that unless it is:\n // 1. Representing offset 0 when UTC is used to maintain previous behavior and does not become GMT.\n // 2. Unsupported by the browser:\n // - some do not support Etc/\n // - < Etc/GMT-14, > Etc/GMT+12, and 30-minute or 45-minute offsets are not part of tzdata\n var gmtOffset = -1 * (dt.offset / 60);\n var offsetZ = gmtOffset >= 0 ? \"Etc/GMT+\" + gmtOffset : \"Etc/GMT\" + gmtOffset;\n var isOffsetZoneSupported = IANAZone.isValidZone(offsetZ);\n\n if (dt.offset !== 0 && isOffsetZoneSupported) {\n z = offsetZ;\n this.dt = dt;\n } else {\n // Not all fixed-offset zones like Etc/+4:30 are present in tzdata.\n // So we have to make do. Two cases:\n // 1. The format options tell us to show the zone. We can't do that, so the best\n // we can do is format the date in UTC.\n // 2. The format options don't tell us to show the zone. Then we can adjust them\n // the time and tell the formatter to show it to us in UTC, so that the time is right\n // and the bad zone doesn't show up.\n z = \"UTC\";\n\n if (opts.timeZoneName) {\n this.dt = dt;\n } else {\n this.dt = dt.offset === 0 ? dt : DateTime.fromMillis(dt.ts + dt.offset * 60 * 1000);\n }\n }\n } else if (dt.zone.type === \"local\") {\n this.dt = dt;\n } else {\n this.dt = dt;\n z = dt.zone.name;\n }\n\n if (this.hasIntl) {\n var intlOpts = Object.assign({}, this.opts);\n\n if (z) {\n intlOpts.timeZone = z;\n }\n\n this.dtf = getCachedDTF(intl, intlOpts);\n }\n }\n\n var _proto2 = PolyDateFormatter.prototype;\n\n _proto2.format = function format() {\n if (this.hasIntl) {\n return this.dtf.format(this.dt.toJSDate());\n } else {\n var tokenFormat = formatString(this.opts),\n loc = Locale.create(\"en-US\");\n return Formatter.create(loc).formatDateTimeFromString(this.dt, tokenFormat);\n }\n };\n\n _proto2.formatToParts = function formatToParts() {\n if (this.hasIntl && hasFormatToParts()) {\n return this.dtf.formatToParts(this.dt.toJSDate());\n } else {\n // This is kind of a cop out. We actually could do this for English. However, we couldn't do it for intl strings\n // and IMO it's too weird to have an uncanny valley like that\n return [];\n }\n };\n\n _proto2.resolvedOptions = function resolvedOptions() {\n if (this.hasIntl) {\n return this.dtf.resolvedOptions();\n } else {\n return {\n locale: \"en-US\",\n numberingSystem: \"latn\",\n outputCalendar: \"gregory\"\n };\n }\n };\n\n return PolyDateFormatter;\n}();\n/**\n * @private\n */\n\n\nvar PolyRelFormatter = /*#__PURE__*/function () {\n function PolyRelFormatter(intl, isEnglish, opts) {\n this.opts = Object.assign({\n style: \"long\"\n }, opts);\n\n if (!isEnglish && hasRelative()) {\n this.rtf = getCachedRTF(intl, opts);\n }\n }\n\n var _proto3 = PolyRelFormatter.prototype;\n\n _proto3.format = function format(count, unit) {\n if (this.rtf) {\n return this.rtf.format(count, unit);\n } else {\n return formatRelativeTime(unit, count, this.opts.numeric, this.opts.style !== \"long\");\n }\n };\n\n _proto3.formatToParts = function formatToParts(count, unit) {\n if (this.rtf) {\n return this.rtf.formatToParts(count, unit);\n } else {\n return [];\n }\n };\n\n return PolyRelFormatter;\n}();\n/**\n * @private\n */\n\n\nvar Locale = /*#__PURE__*/function () {\n Locale.fromOpts = function fromOpts(opts) {\n return Locale.create(opts.locale, opts.numberingSystem, opts.outputCalendar, opts.defaultToEN);\n };\n\n Locale.create = function create(locale, numberingSystem, outputCalendar, defaultToEN) {\n if (defaultToEN === void 0) {\n defaultToEN = false;\n }\n\n var specifiedLocale = locale || Settings.defaultLocale,\n // the system locale is useful for human readable strings but annoying for parsing/formatting known formats\n localeR = specifiedLocale || (defaultToEN ? \"en-US\" : systemLocale()),\n numberingSystemR = numberingSystem || Settings.defaultNumberingSystem,\n outputCalendarR = outputCalendar || Settings.defaultOutputCalendar;\n return new Locale(localeR, numberingSystemR, outputCalendarR, specifiedLocale);\n };\n\n Locale.resetCache = function resetCache() {\n sysLocaleCache = null;\n intlDTCache = {};\n intlNumCache = {};\n intlRelCache = {};\n };\n\n Locale.fromObject = function fromObject(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n locale = _ref.locale,\n numberingSystem = _ref.numberingSystem,\n outputCalendar = _ref.outputCalendar;\n\n return Locale.create(locale, numberingSystem, outputCalendar);\n };\n\n function Locale(locale, numbering, outputCalendar, specifiedLocale) {\n var _parseLocaleString = parseLocaleString(locale),\n parsedLocale = _parseLocaleString[0],\n parsedNumberingSystem = _parseLocaleString[1],\n parsedOutputCalendar = _parseLocaleString[2];\n\n this.locale = parsedLocale;\n this.numberingSystem = numbering || parsedNumberingSystem || null;\n this.outputCalendar = outputCalendar || parsedOutputCalendar || null;\n this.intl = intlConfigString(this.locale, this.numberingSystem, this.outputCalendar);\n this.weekdaysCache = {\n format: {},\n standalone: {}\n };\n this.monthsCache = {\n format: {},\n standalone: {}\n };\n this.meridiemCache = null;\n this.eraCache = {};\n this.specifiedLocale = specifiedLocale;\n this.fastNumbersCached = null;\n }\n\n var _proto4 = Locale.prototype;\n\n _proto4.listingMode = function listingMode(defaultOK) {\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n var intl = hasIntl(),\n hasFTP = intl && hasFormatToParts(),\n isActuallyEn = this.isEnglish(),\n hasNoWeirdness = (this.numberingSystem === null || this.numberingSystem === \"latn\") && (this.outputCalendar === null || this.outputCalendar === \"gregory\");\n\n if (!hasFTP && !(isActuallyEn && hasNoWeirdness) && !defaultOK) {\n return \"error\";\n } else if (!hasFTP || isActuallyEn && hasNoWeirdness) {\n return \"en\";\n } else {\n return \"intl\";\n }\n };\n\n _proto4.clone = function clone(alts) {\n if (!alts || Object.getOwnPropertyNames(alts).length === 0) {\n return this;\n } else {\n return Locale.create(alts.locale || this.specifiedLocale, alts.numberingSystem || this.numberingSystem, alts.outputCalendar || this.outputCalendar, alts.defaultToEN || false);\n }\n };\n\n _proto4.redefaultToEN = function redefaultToEN(alts) {\n if (alts === void 0) {\n alts = {};\n }\n\n return this.clone(Object.assign({}, alts, {\n defaultToEN: true\n }));\n };\n\n _proto4.redefaultToSystem = function redefaultToSystem(alts) {\n if (alts === void 0) {\n alts = {};\n }\n\n return this.clone(Object.assign({}, alts, {\n defaultToEN: false\n }));\n };\n\n _proto4.months = function months$1(length, format, defaultOK) {\n var _this = this;\n\n if (format === void 0) {\n format = false;\n }\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, months, function () {\n var intl = format ? {\n month: length,\n day: \"numeric\"\n } : {\n month: length\n },\n formatStr = format ? \"format\" : \"standalone\";\n\n if (!_this.monthsCache[formatStr][length]) {\n _this.monthsCache[formatStr][length] = mapMonths(function (dt) {\n return _this.extract(dt, intl, \"month\");\n });\n }\n\n return _this.monthsCache[formatStr][length];\n });\n };\n\n _proto4.weekdays = function weekdays$1(length, format, defaultOK) {\n var _this2 = this;\n\n if (format === void 0) {\n format = false;\n }\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, weekdays, function () {\n var intl = format ? {\n weekday: length,\n year: \"numeric\",\n month: \"long\",\n day: \"numeric\"\n } : {\n weekday: length\n },\n formatStr = format ? \"format\" : \"standalone\";\n\n if (!_this2.weekdaysCache[formatStr][length]) {\n _this2.weekdaysCache[formatStr][length] = mapWeekdays(function (dt) {\n return _this2.extract(dt, intl, \"weekday\");\n });\n }\n\n return _this2.weekdaysCache[formatStr][length];\n });\n };\n\n _proto4.meridiems = function meridiems$1(defaultOK) {\n var _this3 = this;\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, undefined, defaultOK, function () {\n return meridiems;\n }, function () {\n // In theory there could be aribitrary day periods. We're gonna assume there are exactly two\n // for AM and PM. This is probably wrong, but it's makes parsing way easier.\n if (!_this3.meridiemCache) {\n var intl = {\n hour: \"numeric\",\n hour12: true\n };\n _this3.meridiemCache = [DateTime.utc(2016, 11, 13, 9), DateTime.utc(2016, 11, 13, 19)].map(function (dt) {\n return _this3.extract(dt, intl, \"dayperiod\");\n });\n }\n\n return _this3.meridiemCache;\n });\n };\n\n _proto4.eras = function eras$1(length, defaultOK) {\n var _this4 = this;\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, eras, function () {\n var intl = {\n era: length\n }; // This is problematic. Different calendars are going to define eras totally differently. What I need is the minimum set of dates\n // to definitely enumerate them.\n\n if (!_this4.eraCache[length]) {\n _this4.eraCache[length] = [DateTime.utc(-40, 1, 1), DateTime.utc(2017, 1, 1)].map(function (dt) {\n return _this4.extract(dt, intl, \"era\");\n });\n }\n\n return _this4.eraCache[length];\n });\n };\n\n _proto4.extract = function extract(dt, intlOpts, field) {\n var df = this.dtFormatter(dt, intlOpts),\n results = df.formatToParts(),\n matching = results.find(function (m) {\n return m.type.toLowerCase() === field;\n });\n return matching ? matching.value : null;\n };\n\n _proto4.numberFormatter = function numberFormatter(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n // this forcesimple option is never used (the only caller short-circuits on it, but it seems safer to leave)\n // (in contrast, the rest of the condition is used heavily)\n return new PolyNumberFormatter(this.intl, opts.forceSimple || this.fastNumbers, opts);\n };\n\n _proto4.dtFormatter = function dtFormatter(dt, intlOpts) {\n if (intlOpts === void 0) {\n intlOpts = {};\n }\n\n return new PolyDateFormatter(dt, this.intl, intlOpts);\n };\n\n _proto4.relFormatter = function relFormatter(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return new PolyRelFormatter(this.intl, this.isEnglish(), opts);\n };\n\n _proto4.isEnglish = function isEnglish() {\n return this.locale === \"en\" || this.locale.toLowerCase() === \"en-us\" || hasIntl() && new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith(\"en-us\");\n };\n\n _proto4.equals = function equals(other) {\n return this.locale === other.locale && this.numberingSystem === other.numberingSystem && this.outputCalendar === other.outputCalendar;\n };\n\n _createClass(Locale, [{\n key: \"fastNumbers\",\n get: function get() {\n if (this.fastNumbersCached == null) {\n this.fastNumbersCached = supportsFastNumbers(this);\n }\n\n return this.fastNumbersCached;\n }\n }]);\n\n return Locale;\n}();\n\n/*\n * This file handles parsing for well-specified formats. Here's how it works:\n * Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.\n * An extractor is just a function that takes a regex match array and returns a { year: ..., month: ... } object\n * parse() does the work of executing the regex and applying the extractor. It takes multiple regex/extractor pairs to try in sequence.\n * Extractors can take a \"cursor\" representing the offset in the match to look at. This makes it easy to combine extractors.\n * combineExtractors() does the work of combining them, keeping track of the cursor through multiple extractions.\n * Some extractions are super dumb and simpleParse and fromStrings help DRY them.\n */\n\nfunction combineRegexes() {\n for (var _len = arguments.length, regexes = new Array(_len), _key = 0; _key < _len; _key++) {\n regexes[_key] = arguments[_key];\n }\n\n var full = regexes.reduce(function (f, r) {\n return f + r.source;\n }, \"\");\n return RegExp(\"^\" + full + \"$\");\n}\n\nfunction combineExtractors() {\n for (var _len2 = arguments.length, extractors = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n extractors[_key2] = arguments[_key2];\n }\n\n return function (m) {\n return extractors.reduce(function (_ref, ex) {\n var mergedVals = _ref[0],\n mergedZone = _ref[1],\n cursor = _ref[2];\n\n var _ex = ex(m, cursor),\n val = _ex[0],\n zone = _ex[1],\n next = _ex[2];\n\n return [Object.assign(mergedVals, val), mergedZone || zone, next];\n }, [{}, null, 1]).slice(0, 2);\n };\n}\n\nfunction parse(s) {\n if (s == null) {\n return [null, null];\n }\n\n for (var _len3 = arguments.length, patterns = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n patterns[_key3 - 1] = arguments[_key3];\n }\n\n for (var _i = 0, _patterns = patterns; _i < _patterns.length; _i++) {\n var _patterns$_i = _patterns[_i],\n regex = _patterns$_i[0],\n extractor = _patterns$_i[1];\n var m = regex.exec(s);\n\n if (m) {\n return extractor(m);\n }\n }\n\n return [null, null];\n}\n\nfunction simpleParse() {\n for (var _len4 = arguments.length, keys = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n keys[_key4] = arguments[_key4];\n }\n\n return function (match, cursor) {\n var ret = {};\n var i;\n\n for (i = 0; i < keys.length; i++) {\n ret[keys[i]] = parseInteger(match[cursor + i]);\n }\n\n return [ret, null, cursor + i];\n };\n} // ISO and SQL parsing\n\n\nvar offsetRegex = /(?:(Z)|([+-]\\d\\d)(?::?(\\d\\d))?)/,\n isoTimeBaseRegex = /(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d{1,30}))?)?)?/,\n isoTimeRegex = RegExp(\"\" + isoTimeBaseRegex.source + offsetRegex.source + \"?\"),\n isoTimeExtensionRegex = RegExp(\"(?:T\" + isoTimeRegex.source + \")?\"),\n isoYmdRegex = /([+-]\\d{6}|\\d{4})(?:-?(\\d\\d)(?:-?(\\d\\d))?)?/,\n isoWeekRegex = /(\\d{4})-?W(\\d\\d)(?:-?(\\d))?/,\n isoOrdinalRegex = /(\\d{4})-?(\\d{3})/,\n extractISOWeekData = simpleParse(\"weekYear\", \"weekNumber\", \"weekDay\"),\n extractISOOrdinalData = simpleParse(\"year\", \"ordinal\"),\n sqlYmdRegex = /(\\d{4})-(\\d\\d)-(\\d\\d)/,\n // dumbed-down version of the ISO one\nsqlTimeRegex = RegExp(isoTimeBaseRegex.source + \" ?(?:\" + offsetRegex.source + \"|(\" + ianaRegex.source + \"))?\"),\n sqlTimeExtensionRegex = RegExp(\"(?: \" + sqlTimeRegex.source + \")?\");\n\nfunction int(match, pos, fallback) {\n var m = match[pos];\n return isUndefined(m) ? fallback : parseInteger(m);\n}\n\nfunction extractISOYmd(match, cursor) {\n var item = {\n year: int(match, cursor),\n month: int(match, cursor + 1, 1),\n day: int(match, cursor + 2, 1)\n };\n return [item, null, cursor + 3];\n}\n\nfunction extractISOTime(match, cursor) {\n var item = {\n hours: int(match, cursor, 0),\n minutes: int(match, cursor + 1, 0),\n seconds: int(match, cursor + 2, 0),\n milliseconds: parseMillis(match[cursor + 3])\n };\n return [item, null, cursor + 4];\n}\n\nfunction extractISOOffset(match, cursor) {\n var local = !match[cursor] && !match[cursor + 1],\n fullOffset = signedOffset(match[cursor + 1], match[cursor + 2]),\n zone = local ? null : FixedOffsetZone.instance(fullOffset);\n return [{}, zone, cursor + 3];\n}\n\nfunction extractIANAZone(match, cursor) {\n var zone = match[cursor] ? IANAZone.create(match[cursor]) : null;\n return [{}, zone, cursor + 1];\n} // ISO time parsing\n\n\nvar isoTimeOnly = RegExp(\"^T?\" + isoTimeBaseRegex.source + \"$\"); // ISO duration parsing\n\nvar isoDuration = /^-?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)?)?)$/;\n\nfunction extractISODuration(match) {\n var s = match[0],\n yearStr = match[1],\n monthStr = match[2],\n weekStr = match[3],\n dayStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n millisecondsStr = match[8];\n var hasNegativePrefix = s[0] === \"-\";\n var negativeSeconds = secondStr && secondStr[0] === \"-\";\n\n var maybeNegate = function maybeNegate(num, force) {\n if (force === void 0) {\n force = false;\n }\n\n return num !== undefined && (force || num && hasNegativePrefix) ? -num : num;\n };\n\n return [{\n years: maybeNegate(parseInteger(yearStr)),\n months: maybeNegate(parseInteger(monthStr)),\n weeks: maybeNegate(parseInteger(weekStr)),\n days: maybeNegate(parseInteger(dayStr)),\n hours: maybeNegate(parseInteger(hourStr)),\n minutes: maybeNegate(parseInteger(minuteStr)),\n seconds: maybeNegate(parseInteger(secondStr), secondStr === \"-0\"),\n milliseconds: maybeNegate(parseMillis(millisecondsStr), negativeSeconds)\n }];\n} // These are a little braindead. EDT *should* tell us that we're in, say, America/New_York\n// and not just that we're in -240 *right now*. But since I don't think these are used that often\n// I'm just going to ignore that\n\n\nvar obsOffsets = {\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n};\n\nfunction fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = {\n year: yearStr.length === 2 ? untruncateYear(parseInteger(yearStr)) : parseInteger(yearStr),\n month: monthsShort.indexOf(monthStr) + 1,\n day: parseInteger(dayStr),\n hour: parseInteger(hourStr),\n minute: parseInteger(minuteStr)\n };\n if (secondStr) result.second = parseInteger(secondStr);\n\n if (weekdayStr) {\n result.weekday = weekdayStr.length > 3 ? weekdaysLong.indexOf(weekdayStr) + 1 : weekdaysShort.indexOf(weekdayStr) + 1;\n }\n\n return result;\n} // RFC 2822/5322\n\n\nvar rfc2822 = /^(?:(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)))$/;\n\nfunction extractRFC2822(match) {\n var weekdayStr = match[1],\n dayStr = match[2],\n monthStr = match[3],\n yearStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n obsOffset = match[8],\n milOffset = match[9],\n offHourStr = match[10],\n offMinuteStr = match[11],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n var offset;\n\n if (obsOffset) {\n offset = obsOffsets[obsOffset];\n } else if (milOffset) {\n offset = 0;\n } else {\n offset = signedOffset(offHourStr, offMinuteStr);\n }\n\n return [result, new FixedOffsetZone(offset)];\n}\n\nfunction preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^)]*\\)|[\\n\\t]/g, \" \").replace(/(\\s\\s+)/g, \" \").trim();\n} // http date\n\n\nvar rfc1123 = /^(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$/,\n rfc850 = /^(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$/,\n ascii = /^(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})$/;\n\nfunction extractRFC1123Or850(match) {\n var weekdayStr = match[1],\n dayStr = match[2],\n monthStr = match[3],\n yearStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n return [result, FixedOffsetZone.utcInstance];\n}\n\nfunction extractASCII(match) {\n var weekdayStr = match[1],\n monthStr = match[2],\n dayStr = match[3],\n hourStr = match[4],\n minuteStr = match[5],\n secondStr = match[6],\n yearStr = match[7],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n return [result, FixedOffsetZone.utcInstance];\n}\n\nvar isoYmdWithTimeExtensionRegex = combineRegexes(isoYmdRegex, isoTimeExtensionRegex);\nvar isoWeekWithTimeExtensionRegex = combineRegexes(isoWeekRegex, isoTimeExtensionRegex);\nvar isoOrdinalWithTimeExtensionRegex = combineRegexes(isoOrdinalRegex, isoTimeExtensionRegex);\nvar isoTimeCombinedRegex = combineRegexes(isoTimeRegex);\nvar extractISOYmdTimeAndOffset = combineExtractors(extractISOYmd, extractISOTime, extractISOOffset);\nvar extractISOWeekTimeAndOffset = combineExtractors(extractISOWeekData, extractISOTime, extractISOOffset);\nvar extractISOOrdinalDateAndTime = combineExtractors(extractISOOrdinalData, extractISOTime, extractISOOffset);\nvar extractISOTimeAndOffset = combineExtractors(extractISOTime, extractISOOffset);\n/**\n * @private\n */\n\nfunction parseISODate(s) {\n return parse(s, [isoYmdWithTimeExtensionRegex, extractISOYmdTimeAndOffset], [isoWeekWithTimeExtensionRegex, extractISOWeekTimeAndOffset], [isoOrdinalWithTimeExtensionRegex, extractISOOrdinalDateAndTime], [isoTimeCombinedRegex, extractISOTimeAndOffset]);\n}\nfunction parseRFC2822Date(s) {\n return parse(preprocessRFC2822(s), [rfc2822, extractRFC2822]);\n}\nfunction parseHTTPDate(s) {\n return parse(s, [rfc1123, extractRFC1123Or850], [rfc850, extractRFC1123Or850], [ascii, extractASCII]);\n}\nfunction parseISODuration(s) {\n return parse(s, [isoDuration, extractISODuration]);\n}\nvar extractISOTimeOnly = combineExtractors(extractISOTime);\nfunction parseISOTimeOnly(s) {\n return parse(s, [isoTimeOnly, extractISOTimeOnly]);\n}\nvar sqlYmdWithTimeExtensionRegex = combineRegexes(sqlYmdRegex, sqlTimeExtensionRegex);\nvar sqlTimeCombinedRegex = combineRegexes(sqlTimeRegex);\nvar extractISOYmdTimeOffsetAndIANAZone = combineExtractors(extractISOYmd, extractISOTime, extractISOOffset, extractIANAZone);\nvar extractISOTimeOffsetAndIANAZone = combineExtractors(extractISOTime, extractISOOffset, extractIANAZone);\nfunction parseSQL(s) {\n return parse(s, [sqlYmdWithTimeExtensionRegex, extractISOYmdTimeOffsetAndIANAZone], [sqlTimeCombinedRegex, extractISOTimeOffsetAndIANAZone]);\n}\n\nvar INVALID = \"Invalid Duration\"; // unit conversion constants\n\nvar lowOrderMatrix = {\n weeks: {\n days: 7,\n hours: 7 * 24,\n minutes: 7 * 24 * 60,\n seconds: 7 * 24 * 60 * 60,\n milliseconds: 7 * 24 * 60 * 60 * 1000\n },\n days: {\n hours: 24,\n minutes: 24 * 60,\n seconds: 24 * 60 * 60,\n milliseconds: 24 * 60 * 60 * 1000\n },\n hours: {\n minutes: 60,\n seconds: 60 * 60,\n milliseconds: 60 * 60 * 1000\n },\n minutes: {\n seconds: 60,\n milliseconds: 60 * 1000\n },\n seconds: {\n milliseconds: 1000\n }\n},\n casualMatrix = Object.assign({\n years: {\n quarters: 4,\n months: 12,\n weeks: 52,\n days: 365,\n hours: 365 * 24,\n minutes: 365 * 24 * 60,\n seconds: 365 * 24 * 60 * 60,\n milliseconds: 365 * 24 * 60 * 60 * 1000\n },\n quarters: {\n months: 3,\n weeks: 13,\n days: 91,\n hours: 91 * 24,\n minutes: 91 * 24 * 60,\n seconds: 91 * 24 * 60 * 60,\n milliseconds: 91 * 24 * 60 * 60 * 1000\n },\n months: {\n weeks: 4,\n days: 30,\n hours: 30 * 24,\n minutes: 30 * 24 * 60,\n seconds: 30 * 24 * 60 * 60,\n milliseconds: 30 * 24 * 60 * 60 * 1000\n }\n}, lowOrderMatrix),\n daysInYearAccurate = 146097.0 / 400,\n daysInMonthAccurate = 146097.0 / 4800,\n accurateMatrix = Object.assign({\n years: {\n quarters: 4,\n months: 12,\n weeks: daysInYearAccurate / 7,\n days: daysInYearAccurate,\n hours: daysInYearAccurate * 24,\n minutes: daysInYearAccurate * 24 * 60,\n seconds: daysInYearAccurate * 24 * 60 * 60,\n milliseconds: daysInYearAccurate * 24 * 60 * 60 * 1000\n },\n quarters: {\n months: 3,\n weeks: daysInYearAccurate / 28,\n days: daysInYearAccurate / 4,\n hours: daysInYearAccurate * 24 / 4,\n minutes: daysInYearAccurate * 24 * 60 / 4,\n seconds: daysInYearAccurate * 24 * 60 * 60 / 4,\n milliseconds: daysInYearAccurate * 24 * 60 * 60 * 1000 / 4\n },\n months: {\n weeks: daysInMonthAccurate / 7,\n days: daysInMonthAccurate,\n hours: daysInMonthAccurate * 24,\n minutes: daysInMonthAccurate * 24 * 60,\n seconds: daysInMonthAccurate * 24 * 60 * 60,\n milliseconds: daysInMonthAccurate * 24 * 60 * 60 * 1000\n }\n}, lowOrderMatrix); // units ordered by size\n\nvar orderedUnits = [\"years\", \"quarters\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", \"seconds\", \"milliseconds\"];\nvar reverseUnits = orderedUnits.slice(0).reverse(); // clone really means \"create another instance just like this one, but with these changes\"\n\nfunction clone(dur, alts, clear) {\n if (clear === void 0) {\n clear = false;\n }\n\n // deep merge for vals\n var conf = {\n values: clear ? alts.values : Object.assign({}, dur.values, alts.values || {}),\n loc: dur.loc.clone(alts.loc),\n conversionAccuracy: alts.conversionAccuracy || dur.conversionAccuracy\n };\n return new Duration(conf);\n}\n\nfunction antiTrunc(n) {\n return n < 0 ? Math.floor(n) : Math.ceil(n);\n} // NB: mutates parameters\n\n\nfunction convert(matrix, fromMap, fromUnit, toMap, toUnit) {\n var conv = matrix[toUnit][fromUnit],\n raw = fromMap[fromUnit] / conv,\n sameSign = Math.sign(raw) === Math.sign(toMap[toUnit]),\n // ok, so this is wild, but see the matrix in the tests\n added = !sameSign && toMap[toUnit] !== 0 && Math.abs(raw) <= 1 ? antiTrunc(raw) : Math.trunc(raw);\n toMap[toUnit] += added;\n fromMap[fromUnit] -= added * conv;\n} // NB: mutates parameters\n\n\nfunction normalizeValues(matrix, vals) {\n reverseUnits.reduce(function (previous, current) {\n if (!isUndefined(vals[current])) {\n if (previous) {\n convert(matrix, vals, previous, vals, current);\n }\n\n return current;\n } else {\n return previous;\n }\n }, null);\n}\n/**\n * A Duration object represents a period of time, like \"2 months\" or \"1 day, 1 hour\". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime.plus} to add a Duration object to a DateTime, producing another DateTime.\n *\n * Here is a brief overview of commonly used methods and getters in Duration:\n *\n * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.\n * * **Unit values** See the {@link Duration.years}, {@link Duration.months}, {@link Duration.weeks}, {@link Duration.days}, {@link Duration.hours}, {@link Duration.minutes}, {@link Duration.seconds}, {@link Duration.milliseconds} accessors.\n * * **Configuration** See {@link Duration.locale} and {@link Duration.numberingSystem} accessors.\n * * **Transformation** To create new Durations out of old ones use {@link Duration.plus}, {@link Duration.minus}, {@link Duration.normalize}, {@link Duration.set}, {@link Duration.reconfigure}, {@link Duration.shiftTo}, and {@link Duration.negate}.\n * * **Output** To convert the Duration into other representations, see {@link Duration.as}, {@link Duration.toISO}, {@link Duration.toFormat}, and {@link Duration.toJSON}\n *\n * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.\n */\n\n\nvar Duration = /*#__PURE__*/function () {\n /**\n * @private\n */\n function Duration(config) {\n var accurate = config.conversionAccuracy === \"longterm\" || false;\n /**\n * @access private\n */\n\n this.values = config.values;\n /**\n * @access private\n */\n\n this.loc = config.loc || Locale.create();\n /**\n * @access private\n */\n\n this.conversionAccuracy = accurate ? \"longterm\" : \"casual\";\n /**\n * @access private\n */\n\n this.invalid = config.invalid || null;\n /**\n * @access private\n */\n\n this.matrix = accurate ? accurateMatrix : casualMatrix;\n /**\n * @access private\n */\n\n this.isLuxonDuration = true;\n }\n /**\n * Create Duration from a number of milliseconds.\n * @param {number} count of milliseconds\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n\n\n Duration.fromMillis = function fromMillis(count, opts) {\n return Duration.fromObject(Object.assign({\n milliseconds: count\n }, opts));\n }\n /**\n * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.\n * If this object is empty then a zero milliseconds duration is returned.\n * @param {Object} obj - the object to create the DateTime from\n * @param {number} obj.years\n * @param {number} obj.quarters\n * @param {number} obj.months\n * @param {number} obj.weeks\n * @param {number} obj.days\n * @param {number} obj.hours\n * @param {number} obj.minutes\n * @param {number} obj.seconds\n * @param {number} obj.milliseconds\n * @param {string} [obj.locale='en-US'] - the locale to use\n * @param {string} obj.numberingSystem - the numbering system to use\n * @param {string} [obj.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n ;\n\n Duration.fromObject = function fromObject(obj) {\n if (obj == null || typeof obj !== \"object\") {\n throw new InvalidArgumentError(\"Duration.fromObject: argument expected to be an object, got \" + (obj === null ? \"null\" : typeof obj));\n }\n\n return new Duration({\n values: normalizeObject(obj, Duration.normalizeUnit, [\"locale\", \"numberingSystem\", \"conversionAccuracy\", \"zone\" // a bit of debt; it's super inconvenient internally not to be able to blindly pass this\n ]),\n loc: Locale.fromObject(obj),\n conversionAccuracy: obj.conversionAccuracy\n });\n }\n /**\n * Create a Duration from an ISO 8601 duration string.\n * @param {string} text - text to parse\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @see https://en.wikipedia.org/wiki/ISO_8601#Durations\n * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }\n * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }\n * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }\n * @return {Duration}\n */\n ;\n\n Duration.fromISO = function fromISO(text, opts) {\n var _parseISODuration = parseISODuration(text),\n parsed = _parseISODuration[0];\n\n if (parsed) {\n var obj = Object.assign(parsed, opts);\n return Duration.fromObject(obj);\n } else {\n return Duration.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n }\n /**\n * Create a Duration from an ISO 8601 time string.\n * @param {string} text - text to parse\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @see https://en.wikipedia.org/wiki/ISO_8601#Times\n * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }\n * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @return {Duration}\n */\n ;\n\n Duration.fromISOTime = function fromISOTime(text, opts) {\n var _parseISOTimeOnly = parseISOTimeOnly(text),\n parsed = _parseISOTimeOnly[0];\n\n if (parsed) {\n var obj = Object.assign(parsed, opts);\n return Duration.fromObject(obj);\n } else {\n return Duration.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n }\n /**\n * Create an invalid Duration.\n * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {Duration}\n */\n ;\n\n Duration.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the Duration is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidDurationError(invalid);\n } else {\n return new Duration({\n invalid: invalid\n });\n }\n }\n /**\n * @private\n */\n ;\n\n Duration.normalizeUnit = function normalizeUnit(unit) {\n var normalized = {\n year: \"years\",\n years: \"years\",\n quarter: \"quarters\",\n quarters: \"quarters\",\n month: \"months\",\n months: \"months\",\n week: \"weeks\",\n weeks: \"weeks\",\n day: \"days\",\n days: \"days\",\n hour: \"hours\",\n hours: \"hours\",\n minute: \"minutes\",\n minutes: \"minutes\",\n second: \"seconds\",\n seconds: \"seconds\",\n millisecond: \"milliseconds\",\n milliseconds: \"milliseconds\"\n }[unit ? unit.toLowerCase() : unit];\n if (!normalized) throw new InvalidUnitError(unit);\n return normalized;\n }\n /**\n * Check if an object is a Duration. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n Duration.isDuration = function isDuration(o) {\n return o && o.isLuxonDuration || false;\n }\n /**\n * Get the locale of a Duration, such 'en-GB'\n * @type {string}\n */\n ;\n\n var _proto = Duration.prototype;\n\n /**\n * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:\n * * `S` for milliseconds\n * * `s` for seconds\n * * `m` for minutes\n * * `h` for hours\n * * `d` for days\n * * `M` for months\n * * `y` for years\n * Notes:\n * * Add padding by repeating the token, e.g. \"yy\" pads the years to two digits, \"hhhh\" pads the hours out to four digits\n * * The duration will be converted to the set of units in the format string using {@link Duration.shiftTo} and the Durations's conversion accuracy setting.\n * @param {string} fmt - the format string\n * @param {Object} opts - options\n * @param {boolean} [opts.floor=true] - floor numerical values\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"y d s\") //=> \"1 6 2\"\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"yy dd sss\") //=> \"01 06 002\"\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"M S\") //=> \"12 518402000\"\n * @return {string}\n */\n _proto.toFormat = function toFormat(fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n // reverse-compat since 1.2; we always round down now, never up, and we do it by default\n var fmtOpts = Object.assign({}, opts, {\n floor: opts.round !== false && opts.floor !== false\n });\n return this.isValid ? Formatter.create(this.loc, fmtOpts).formatDurationFromString(this, fmt) : INVALID;\n }\n /**\n * Returns a JavaScript object with this Duration's values.\n * @param opts - options for generating the object\n * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }\n * @return {Object}\n */\n ;\n\n _proto.toObject = function toObject(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return {};\n var base = Object.assign({}, this.values);\n\n if (opts.includeConfig) {\n base.conversionAccuracy = this.conversionAccuracy;\n base.numberingSystem = this.loc.numberingSystem;\n base.locale = this.loc.locale;\n }\n\n return base;\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Duration.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Durations\n * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'\n * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'\n * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'\n * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'\n * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO() {\n // we could use the formatter, but this is an easier way to get the minimum string\n if (!this.isValid) return null;\n var s = \"P\";\n if (this.years !== 0) s += this.years + \"Y\";\n if (this.months !== 0 || this.quarters !== 0) s += this.months + this.quarters * 3 + \"M\";\n if (this.weeks !== 0) s += this.weeks + \"W\";\n if (this.days !== 0) s += this.days + \"D\";\n if (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) s += \"T\";\n if (this.hours !== 0) s += this.hours + \"H\";\n if (this.minutes !== 0) s += this.minutes + \"M\";\n if (this.seconds !== 0 || this.milliseconds !== 0) // this will handle \"floating point madness\" by removing extra decimal places\n // https://stackoverflow.com/questions/588004/is-floating-point-math-broken\n s += roundTo(this.seconds + this.milliseconds / 1000, 3) + \"S\";\n if (s === \"P\") s += \"T0S\";\n return s;\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.\n * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Times\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includePrefix=false] - include the `T` prefix\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return null;\n var millis = this.toMillis();\n if (millis < 0 || millis >= 86400000) return null;\n opts = Object.assign({\n suppressMilliseconds: false,\n suppressSeconds: false,\n includePrefix: false,\n format: \"extended\"\n }, opts);\n var value = this.shiftTo(\"hours\", \"minutes\", \"seconds\", \"milliseconds\");\n var fmt = opts.format === \"basic\" ? \"hhmm\" : \"hh:mm\";\n\n if (!opts.suppressSeconds || value.seconds !== 0 || value.milliseconds !== 0) {\n fmt += opts.format === \"basic\" ? \"ss\" : \":ss\";\n\n if (!opts.suppressMilliseconds || value.milliseconds !== 0) {\n fmt += \".SSS\";\n }\n }\n\n var str = value.toFormat(fmt);\n\n if (opts.includePrefix) {\n str = \"T\" + str;\n }\n\n return str;\n }\n /**\n * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.\n * @return {string}\n */\n ;\n\n _proto.toJSON = function toJSON() {\n return this.toISO();\n }\n /**\n * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n return this.toISO();\n }\n /**\n * Returns an milliseconds value of this Duration.\n * @return {number}\n */\n ;\n\n _proto.toMillis = function toMillis() {\n return this.as(\"milliseconds\");\n }\n /**\n * Returns an milliseconds value of this Duration. Alias of {@link toMillis}\n * @return {number}\n */\n ;\n\n _proto.valueOf = function valueOf() {\n return this.toMillis();\n }\n /**\n * Make this Duration longer by the specified amount. Return a newly-constructed Duration.\n * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @return {Duration}\n */\n ;\n\n _proto.plus = function plus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration),\n result = {};\n\n for (var _iterator = _createForOfIteratorHelperLoose(orderedUnits), _step; !(_step = _iterator()).done;) {\n var k = _step.value;\n\n if (hasOwnProperty(dur.values, k) || hasOwnProperty(this.values, k)) {\n result[k] = dur.get(k) + this.get(k);\n }\n }\n\n return clone(this, {\n values: result\n }, true);\n }\n /**\n * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.\n * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @return {Duration}\n */\n ;\n\n _proto.minus = function minus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration);\n return this.plus(dur.negate());\n }\n /**\n * Scale this Duration by the specified amount. Return a newly-constructed Duration.\n * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.\n * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit(x => x * 2) //=> { hours: 2, minutes: 60 }\n * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit((x, u) => u === \"hour\" ? x * 2 : x) //=> { hours: 2, minutes: 30 }\n * @return {Duration}\n */\n ;\n\n _proto.mapUnits = function mapUnits(fn) {\n if (!this.isValid) return this;\n var result = {};\n\n for (var _i = 0, _Object$keys = Object.keys(this.values); _i < _Object$keys.length; _i++) {\n var k = _Object$keys[_i];\n result[k] = asNumber(fn(this.values[k], k));\n }\n\n return clone(this, {\n values: result\n }, true);\n }\n /**\n * Get the value of unit.\n * @param {string} unit - a unit such as 'minute' or 'day'\n * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2\n * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0\n * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3\n * @return {number}\n */\n ;\n\n _proto.get = function get(unit) {\n return this[Duration.normalizeUnit(unit)];\n }\n /**\n * \"Set\" the values of specified units. Return a newly-constructed Duration.\n * @param {Object} values - a mapping of units to numbers\n * @example dur.set({ years: 2017 })\n * @example dur.set({ hours: 8, minutes: 30 })\n * @return {Duration}\n */\n ;\n\n _proto.set = function set(values) {\n if (!this.isValid) return this;\n var mixed = Object.assign(this.values, normalizeObject(values, Duration.normalizeUnit, []));\n return clone(this, {\n values: mixed\n });\n }\n /**\n * \"Set\" the locale and/or numberingSystem. Returns a newly-constructed Duration.\n * @example dur.reconfigure({ locale: 'en-GB' })\n * @return {Duration}\n */\n ;\n\n _proto.reconfigure = function reconfigure(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n locale = _ref.locale,\n numberingSystem = _ref.numberingSystem,\n conversionAccuracy = _ref.conversionAccuracy;\n\n var loc = this.loc.clone({\n locale: locale,\n numberingSystem: numberingSystem\n }),\n opts = {\n loc: loc\n };\n\n if (conversionAccuracy) {\n opts.conversionAccuracy = conversionAccuracy;\n }\n\n return clone(this, opts);\n }\n /**\n * Return the length of the duration in the specified unit.\n * @param {string} unit - a unit such as 'minutes' or 'days'\n * @example Duration.fromObject({years: 1}).as('days') //=> 365\n * @example Duration.fromObject({years: 1}).as('months') //=> 12\n * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5\n * @return {number}\n */\n ;\n\n _proto.as = function as(unit) {\n return this.isValid ? this.shiftTo(unit).get(unit) : NaN;\n }\n /**\n * Reduce this Duration to its canonical representation in its current units.\n * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }\n * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }\n * @return {Duration}\n */\n ;\n\n _proto.normalize = function normalize() {\n if (!this.isValid) return this;\n var vals = this.toObject();\n normalizeValues(this.matrix, vals);\n return clone(this, {\n values: vals\n }, true);\n }\n /**\n * Convert this Duration into its representation in a different set of units.\n * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }\n * @return {Duration}\n */\n ;\n\n _proto.shiftTo = function shiftTo() {\n for (var _len = arguments.length, units = new Array(_len), _key = 0; _key < _len; _key++) {\n units[_key] = arguments[_key];\n }\n\n if (!this.isValid) return this;\n\n if (units.length === 0) {\n return this;\n }\n\n units = units.map(function (u) {\n return Duration.normalizeUnit(u);\n });\n var built = {},\n accumulated = {},\n vals = this.toObject();\n var lastUnit;\n\n for (var _iterator2 = _createForOfIteratorHelperLoose(orderedUnits), _step2; !(_step2 = _iterator2()).done;) {\n var k = _step2.value;\n\n if (units.indexOf(k) >= 0) {\n lastUnit = k;\n var own = 0; // anything we haven't boiled down yet should get boiled to this unit\n\n for (var ak in accumulated) {\n own += this.matrix[ak][k] * accumulated[ak];\n accumulated[ak] = 0;\n } // plus anything that's already in this unit\n\n\n if (isNumber(vals[k])) {\n own += vals[k];\n }\n\n var i = Math.trunc(own);\n built[k] = i;\n accumulated[k] = own - i; // we'd like to absorb these fractions in another unit\n // plus anything further down the chain that should be rolled up in to this\n\n for (var down in vals) {\n if (orderedUnits.indexOf(down) > orderedUnits.indexOf(k)) {\n convert(this.matrix, vals, down, built, k);\n }\n } // otherwise, keep it in the wings to boil it later\n\n } else if (isNumber(vals[k])) {\n accumulated[k] = vals[k];\n }\n } // anything leftover becomes the decimal for the last unit\n // lastUnit must be defined since units is not empty\n\n\n for (var key in accumulated) {\n if (accumulated[key] !== 0) {\n built[lastUnit] += key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];\n }\n }\n\n return clone(this, {\n values: built\n }, true).normalize();\n }\n /**\n * Return the negative of this Duration.\n * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }\n * @return {Duration}\n */\n ;\n\n _proto.negate = function negate() {\n if (!this.isValid) return this;\n var negated = {};\n\n for (var _i2 = 0, _Object$keys2 = Object.keys(this.values); _i2 < _Object$keys2.length; _i2++) {\n var k = _Object$keys2[_i2];\n negated[k] = -this.values[k];\n }\n\n return clone(this, {\n values: negated\n }, true);\n }\n /**\n * Get the years.\n * @type {number}\n */\n ;\n\n /**\n * Equality check\n * Two Durations are equal iff they have the same units and the same values for each unit.\n * @param {Duration} other\n * @return {boolean}\n */\n _proto.equals = function equals(other) {\n if (!this.isValid || !other.isValid) {\n return false;\n }\n\n if (!this.loc.equals(other.loc)) {\n return false;\n }\n\n function eq(v1, v2) {\n // Consider 0 and undefined as equal\n if (v1 === undefined || v1 === 0) return v2 === undefined || v2 === 0;\n return v1 === v2;\n }\n\n for (var _iterator3 = _createForOfIteratorHelperLoose(orderedUnits), _step3; !(_step3 = _iterator3()).done;) {\n var u = _step3.value;\n\n if (!eq(this.values[u], other.values[u])) {\n return false;\n }\n }\n\n return true;\n };\n\n _createClass(Duration, [{\n key: \"locale\",\n get: function get() {\n return this.isValid ? this.loc.locale : null;\n }\n /**\n * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration\n *\n * @type {string}\n */\n\n }, {\n key: \"numberingSystem\",\n get: function get() {\n return this.isValid ? this.loc.numberingSystem : null;\n }\n }, {\n key: \"years\",\n get: function get() {\n return this.isValid ? this.values.years || 0 : NaN;\n }\n /**\n * Get the quarters.\n * @type {number}\n */\n\n }, {\n key: \"quarters\",\n get: function get() {\n return this.isValid ? this.values.quarters || 0 : NaN;\n }\n /**\n * Get the months.\n * @type {number}\n */\n\n }, {\n key: \"months\",\n get: function get() {\n return this.isValid ? this.values.months || 0 : NaN;\n }\n /**\n * Get the weeks\n * @type {number}\n */\n\n }, {\n key: \"weeks\",\n get: function get() {\n return this.isValid ? this.values.weeks || 0 : NaN;\n }\n /**\n * Get the days.\n * @type {number}\n */\n\n }, {\n key: \"days\",\n get: function get() {\n return this.isValid ? this.values.days || 0 : NaN;\n }\n /**\n * Get the hours.\n * @type {number}\n */\n\n }, {\n key: \"hours\",\n get: function get() {\n return this.isValid ? this.values.hours || 0 : NaN;\n }\n /**\n * Get the minutes.\n * @type {number}\n */\n\n }, {\n key: \"minutes\",\n get: function get() {\n return this.isValid ? this.values.minutes || 0 : NaN;\n }\n /**\n * Get the seconds.\n * @return {number}\n */\n\n }, {\n key: \"seconds\",\n get: function get() {\n return this.isValid ? this.values.seconds || 0 : NaN;\n }\n /**\n * Get the milliseconds.\n * @return {number}\n */\n\n }, {\n key: \"milliseconds\",\n get: function get() {\n return this.isValid ? this.values.milliseconds || 0 : NaN;\n }\n /**\n * Returns whether the Duration is invalid. Invalid durations are returned by diff operations\n * on invalid DateTimes or Intervals.\n * @return {boolean}\n */\n\n }, {\n key: \"isValid\",\n get: function get() {\n return this.invalid === null;\n }\n /**\n * Returns an error code if this Duration became invalid, or null if the Duration is valid\n * @return {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this Duration became invalid, or null if the Duration is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n }]);\n\n return Duration;\n}();\nfunction friendlyDuration(durationish) {\n if (isNumber(durationish)) {\n return Duration.fromMillis(durationish);\n } else if (Duration.isDuration(durationish)) {\n return durationish;\n } else if (typeof durationish === \"object\") {\n return Duration.fromObject(durationish);\n } else {\n throw new InvalidArgumentError(\"Unknown duration argument \" + durationish + \" of type \" + typeof durationish);\n }\n}\n\nvar INVALID$1 = \"Invalid Interval\"; // checks if the start is equal to or before the end\n\nfunction validateStartEnd(start, end) {\n if (!start || !start.isValid) {\n return Interval.invalid(\"missing or invalid start\");\n } else if (!end || !end.isValid) {\n return Interval.invalid(\"missing or invalid end\");\n } else if (end < start) {\n return Interval.invalid(\"end before start\", \"The end of an interval must be after its start, but you had start=\" + start.toISO() + \" and end=\" + end.toISO());\n } else {\n return null;\n }\n}\n/**\n * An Interval object represents a half-open interval of time, where each endpoint is a {@link DateTime}. Conceptually, it's a container for those two endpoints, accompanied by methods for creating, parsing, interrogating, comparing, transforming, and formatting them.\n *\n * Here is a brief overview of the most commonly used methods and getters in Interval:\n *\n * * **Creation** To create an Interval, use {@link fromDateTimes}, {@link after}, {@link before}, or {@link fromISO}.\n * * **Accessors** Use {@link start} and {@link end} to get the start and end.\n * * **Interrogation** To analyze the Interval, use {@link count}, {@link length}, {@link hasSame}, {@link contains}, {@link isAfter}, or {@link isBefore}.\n * * **Transformation** To create other Intervals out of this one, use {@link set}, {@link splitAt}, {@link splitBy}, {@link divideEqually}, {@link merge}, {@link xor}, {@link union}, {@link intersection}, or {@link difference}.\n * * **Comparison** To compare this Interval to another one, use {@link equals}, {@link overlaps}, {@link abutsStart}, {@link abutsEnd}, {@link engulfs}.\n * * **Output** To convert the Interval into other representations, see {@link toString}, {@link toISO}, {@link toISODate}, {@link toISOTime}, {@link toFormat}, and {@link toDuration}.\n */\n\n\nvar Interval = /*#__PURE__*/function () {\n /**\n * @private\n */\n function Interval(config) {\n /**\n * @access private\n */\n this.s = config.start;\n /**\n * @access private\n */\n\n this.e = config.end;\n /**\n * @access private\n */\n\n this.invalid = config.invalid || null;\n /**\n * @access private\n */\n\n this.isLuxonInterval = true;\n }\n /**\n * Create an invalid Interval.\n * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {Interval}\n */\n\n\n Interval.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the Interval is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidIntervalError(invalid);\n } else {\n return new Interval({\n invalid: invalid\n });\n }\n }\n /**\n * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.\n * @param {DateTime|Date|Object} start\n * @param {DateTime|Date|Object} end\n * @return {Interval}\n */\n ;\n\n Interval.fromDateTimes = function fromDateTimes(start, end) {\n var builtStart = friendlyDateTime(start),\n builtEnd = friendlyDateTime(end);\n var validateError = validateStartEnd(builtStart, builtEnd);\n\n if (validateError == null) {\n return new Interval({\n start: builtStart,\n end: builtEnd\n });\n } else {\n return validateError;\n }\n }\n /**\n * Create an Interval from a start DateTime and a Duration to extend to.\n * @param {DateTime|Date|Object} start\n * @param {Duration|Object|number} duration - the length of the Interval.\n * @return {Interval}\n */\n ;\n\n Interval.after = function after(start, duration) {\n var dur = friendlyDuration(duration),\n dt = friendlyDateTime(start);\n return Interval.fromDateTimes(dt, dt.plus(dur));\n }\n /**\n * Create an Interval from an end DateTime and a Duration to extend backwards to.\n * @param {DateTime|Date|Object} end\n * @param {Duration|Object|number} duration - the length of the Interval.\n * @return {Interval}\n */\n ;\n\n Interval.before = function before(end, duration) {\n var dur = friendlyDuration(duration),\n dt = friendlyDateTime(end);\n return Interval.fromDateTimes(dt.minus(dur), dt);\n }\n /**\n * Create an Interval from an ISO 8601 string.\n * Accepts `/`, `/`, and `/` formats.\n * @param {string} text - the ISO string to parse\n * @param {Object} [opts] - options to pass {@link DateTime.fromISO} and optionally {@link Duration.fromISO}\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @return {Interval}\n */\n ;\n\n Interval.fromISO = function fromISO(text, opts) {\n var _split = (text || \"\").split(\"/\", 2),\n s = _split[0],\n e = _split[1];\n\n if (s && e) {\n var start, startIsValid;\n\n try {\n start = DateTime.fromISO(s, opts);\n startIsValid = start.isValid;\n } catch (e) {\n startIsValid = false;\n }\n\n var end, endIsValid;\n\n try {\n end = DateTime.fromISO(e, opts);\n endIsValid = end.isValid;\n } catch (e) {\n endIsValid = false;\n }\n\n if (startIsValid && endIsValid) {\n return Interval.fromDateTimes(start, end);\n }\n\n if (startIsValid) {\n var dur = Duration.fromISO(e, opts);\n\n if (dur.isValid) {\n return Interval.after(start, dur);\n }\n } else if (endIsValid) {\n var _dur = Duration.fromISO(s, opts);\n\n if (_dur.isValid) {\n return Interval.before(end, _dur);\n }\n }\n }\n\n return Interval.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n /**\n * Check if an object is an Interval. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n Interval.isInterval = function isInterval(o) {\n return o && o.isLuxonInterval || false;\n }\n /**\n * Returns the start of the Interval\n * @type {DateTime}\n */\n ;\n\n var _proto = Interval.prototype;\n\n /**\n * Returns the length of the Interval in the specified unit.\n * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.\n * @return {number}\n */\n _proto.length = function length(unit) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n return this.isValid ? this.toDuration.apply(this, [unit]).get(unit) : NaN;\n }\n /**\n * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.\n * Unlike {@link length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'\n * asks 'what dates are included in this interval?', not 'how many days long is this interval?'\n * @param {string} [unit='milliseconds'] - the unit of time to count.\n * @return {number}\n */\n ;\n\n _proto.count = function count(unit) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (!this.isValid) return NaN;\n var start = this.start.startOf(unit),\n end = this.end.startOf(unit);\n return Math.floor(end.diff(start, unit).get(unit)) + 1;\n }\n /**\n * Returns whether this Interval's start and end are both in the same unit of time\n * @param {string} unit - the unit of time to check sameness on\n * @return {boolean}\n */\n ;\n\n _proto.hasSame = function hasSame(unit) {\n return this.isValid ? this.isEmpty() || this.e.minus(1).hasSame(this.s, unit) : false;\n }\n /**\n * Return whether this Interval has the same start and end DateTimes.\n * @return {boolean}\n */\n ;\n\n _proto.isEmpty = function isEmpty() {\n return this.s.valueOf() === this.e.valueOf();\n }\n /**\n * Return whether this Interval's start is after the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.isAfter = function isAfter(dateTime) {\n if (!this.isValid) return false;\n return this.s > dateTime;\n }\n /**\n * Return whether this Interval's end is before the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.isBefore = function isBefore(dateTime) {\n if (!this.isValid) return false;\n return this.e <= dateTime;\n }\n /**\n * Return whether this Interval contains the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.contains = function contains(dateTime) {\n if (!this.isValid) return false;\n return this.s <= dateTime && this.e > dateTime;\n }\n /**\n * \"Sets\" the start and/or end dates. Returns a newly-constructed Interval.\n * @param {Object} values - the values to set\n * @param {DateTime} values.start - the starting DateTime\n * @param {DateTime} values.end - the ending DateTime\n * @return {Interval}\n */\n ;\n\n _proto.set = function set(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n start = _ref.start,\n end = _ref.end;\n\n if (!this.isValid) return this;\n return Interval.fromDateTimes(start || this.s, end || this.e);\n }\n /**\n * Split this Interval at each of the specified DateTimes\n * @param {...[DateTime]} dateTimes - the unit of time to count.\n * @return {[Interval]}\n */\n ;\n\n _proto.splitAt = function splitAt() {\n var _this = this;\n\n if (!this.isValid) return [];\n\n for (var _len = arguments.length, dateTimes = new Array(_len), _key = 0; _key < _len; _key++) {\n dateTimes[_key] = arguments[_key];\n }\n\n var sorted = dateTimes.map(friendlyDateTime).filter(function (d) {\n return _this.contains(d);\n }).sort(),\n results = [];\n var s = this.s,\n i = 0;\n\n while (s < this.e) {\n var added = sorted[i] || this.e,\n next = +added > +this.e ? this.e : added;\n results.push(Interval.fromDateTimes(s, next));\n s = next;\n i += 1;\n }\n\n return results;\n }\n /**\n * Split this Interval into smaller Intervals, each of the specified length.\n * Left over time is grouped into a smaller interval\n * @param {Duration|Object|number} duration - The length of each resulting interval.\n * @return {[Interval]}\n */\n ;\n\n _proto.splitBy = function splitBy(duration) {\n var dur = friendlyDuration(duration);\n\n if (!this.isValid || !dur.isValid || dur.as(\"milliseconds\") === 0) {\n return [];\n }\n\n var s = this.s,\n idx = 1,\n next;\n var results = [];\n\n while (s < this.e) {\n var added = this.start.plus(dur.mapUnits(function (x) {\n return x * idx;\n }));\n next = +added > +this.e ? this.e : added;\n results.push(Interval.fromDateTimes(s, next));\n s = next;\n idx += 1;\n }\n\n return results;\n }\n /**\n * Split this Interval into the specified number of smaller intervals.\n * @param {number} numberOfParts - The number of Intervals to divide the Interval into.\n * @return {[Interval]}\n */\n ;\n\n _proto.divideEqually = function divideEqually(numberOfParts) {\n if (!this.isValid) return [];\n return this.splitBy(this.length() / numberOfParts).slice(0, numberOfParts);\n }\n /**\n * Return whether this Interval overlaps with the specified Interval\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.overlaps = function overlaps(other) {\n return this.e > other.s && this.s < other.e;\n }\n /**\n * Return whether this Interval's end is adjacent to the specified Interval's start.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.abutsStart = function abutsStart(other) {\n if (!this.isValid) return false;\n return +this.e === +other.s;\n }\n /**\n * Return whether this Interval's start is adjacent to the specified Interval's end.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.abutsEnd = function abutsEnd(other) {\n if (!this.isValid) return false;\n return +other.e === +this.s;\n }\n /**\n * Return whether this Interval engulfs the start and end of the specified Interval.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.engulfs = function engulfs(other) {\n if (!this.isValid) return false;\n return this.s <= other.s && this.e >= other.e;\n }\n /**\n * Return whether this Interval has the same start and end as the specified Interval.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(other) {\n if (!this.isValid || !other.isValid) {\n return false;\n }\n\n return this.s.equals(other.s) && this.e.equals(other.e);\n }\n /**\n * Return an Interval representing the intersection of this Interval and the specified Interval.\n * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.\n * Returns null if the intersection is empty, meaning, the intervals don't intersect.\n * @param {Interval} other\n * @return {Interval}\n */\n ;\n\n _proto.intersection = function intersection(other) {\n if (!this.isValid) return this;\n var s = this.s > other.s ? this.s : other.s,\n e = this.e < other.e ? this.e : other.e;\n\n if (s >= e) {\n return null;\n } else {\n return Interval.fromDateTimes(s, e);\n }\n }\n /**\n * Return an Interval representing the union of this Interval and the specified Interval.\n * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.\n * @param {Interval} other\n * @return {Interval}\n */\n ;\n\n _proto.union = function union(other) {\n if (!this.isValid) return this;\n var s = this.s < other.s ? this.s : other.s,\n e = this.e > other.e ? this.e : other.e;\n return Interval.fromDateTimes(s, e);\n }\n /**\n * Merge an array of Intervals into a equivalent minimal set of Intervals.\n * Combines overlapping and adjacent Intervals.\n * @param {[Interval]} intervals\n * @return {[Interval]}\n */\n ;\n\n Interval.merge = function merge(intervals) {\n var _intervals$sort$reduc = intervals.sort(function (a, b) {\n return a.s - b.s;\n }).reduce(function (_ref2, item) {\n var sofar = _ref2[0],\n current = _ref2[1];\n\n if (!current) {\n return [sofar, item];\n } else if (current.overlaps(item) || current.abutsStart(item)) {\n return [sofar, current.union(item)];\n } else {\n return [sofar.concat([current]), item];\n }\n }, [[], null]),\n found = _intervals$sort$reduc[0],\n final = _intervals$sort$reduc[1];\n\n if (final) {\n found.push(final);\n }\n\n return found;\n }\n /**\n * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.\n * @param {[Interval]} intervals\n * @return {[Interval]}\n */\n ;\n\n Interval.xor = function xor(intervals) {\n var _Array$prototype;\n\n var start = null,\n currentCount = 0;\n\n var results = [],\n ends = intervals.map(function (i) {\n return [{\n time: i.s,\n type: \"s\"\n }, {\n time: i.e,\n type: \"e\"\n }];\n }),\n flattened = (_Array$prototype = Array.prototype).concat.apply(_Array$prototype, ends),\n arr = flattened.sort(function (a, b) {\n return a.time - b.time;\n });\n\n for (var _iterator = _createForOfIteratorHelperLoose(arr), _step; !(_step = _iterator()).done;) {\n var i = _step.value;\n currentCount += i.type === \"s\" ? 1 : -1;\n\n if (currentCount === 1) {\n start = i.time;\n } else {\n if (start && +start !== +i.time) {\n results.push(Interval.fromDateTimes(start, i.time));\n }\n\n start = null;\n }\n }\n\n return Interval.merge(results);\n }\n /**\n * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.\n * @param {...Interval} intervals\n * @return {[Interval]}\n */\n ;\n\n _proto.difference = function difference() {\n var _this2 = this;\n\n for (var _len2 = arguments.length, intervals = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n intervals[_key2] = arguments[_key2];\n }\n\n return Interval.xor([this].concat(intervals)).map(function (i) {\n return _this2.intersection(i);\n }).filter(function (i) {\n return i && !i.isEmpty();\n });\n }\n /**\n * Returns a string representation of this Interval appropriate for debugging.\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n if (!this.isValid) return INVALID$1;\n return \"[\" + this.s.toISO() + \" \\u2013 \" + this.e.toISO() + \")\";\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Interval.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @param {Object} opts - The same options as {@link DateTime.toISO}\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO(opts) {\n if (!this.isValid) return INVALID$1;\n return this.s.toISO(opts) + \"/\" + this.e.toISO(opts);\n }\n /**\n * Returns an ISO 8601-compliant string representation of date of this Interval.\n * The time components are ignored.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @return {string}\n */\n ;\n\n _proto.toISODate = function toISODate() {\n if (!this.isValid) return INVALID$1;\n return this.s.toISODate() + \"/\" + this.e.toISODate();\n }\n /**\n * Returns an ISO 8601-compliant string representation of time of this Interval.\n * The date components are ignored.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @param {Object} opts - The same options as {@link DateTime.toISO}\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(opts) {\n if (!this.isValid) return INVALID$1;\n return this.s.toISOTime(opts) + \"/\" + this.e.toISOTime(opts);\n }\n /**\n * Returns a string representation of this Interval formatted according to the specified format string.\n * @param {string} dateFormat - the format string. This string formats the start and end time. See {@link DateTime.toFormat} for details.\n * @param {Object} opts - options\n * @param {string} [opts.separator = ' – '] - a separator to place between the start and end representations\n * @return {string}\n */\n ;\n\n _proto.toFormat = function toFormat(dateFormat, _temp2) {\n var _ref3 = _temp2 === void 0 ? {} : _temp2,\n _ref3$separator = _ref3.separator,\n separator = _ref3$separator === void 0 ? \" – \" : _ref3$separator;\n\n if (!this.isValid) return INVALID$1;\n return \"\" + this.s.toFormat(dateFormat) + separator + this.e.toFormat(dateFormat);\n }\n /**\n * Return a Duration representing the time spanned by this interval.\n * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }\n * @return {Duration}\n */\n ;\n\n _proto.toDuration = function toDuration(unit, opts) {\n if (!this.isValid) {\n return Duration.invalid(this.invalidReason);\n }\n\n return this.e.diff(this.s, unit, opts);\n }\n /**\n * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes\n * @param {function} mapFn\n * @return {Interval}\n * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())\n * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))\n */\n ;\n\n _proto.mapEndpoints = function mapEndpoints(mapFn) {\n return Interval.fromDateTimes(mapFn(this.s), mapFn(this.e));\n };\n\n _createClass(Interval, [{\n key: \"start\",\n get: function get() {\n return this.isValid ? this.s : null;\n }\n /**\n * Returns the end of the Interval\n * @type {DateTime}\n */\n\n }, {\n key: \"end\",\n get: function get() {\n return this.isValid ? this.e : null;\n }\n /**\n * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.\n * @type {boolean}\n */\n\n }, {\n key: \"isValid\",\n get: function get() {\n return this.invalidReason === null;\n }\n /**\n * Returns an error code if this Interval is invalid, or null if the Interval is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this Interval became invalid, or null if the Interval is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n }]);\n\n return Interval;\n}();\n\n/**\n * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST, for listing the months in any supported locale, and for discovering which of Luxon features are available in the current environment.\n */\n\nvar Info = /*#__PURE__*/function () {\n function Info() {}\n\n /**\n * Return whether the specified zone contains a DST.\n * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.\n * @return {boolean}\n */\n Info.hasDST = function hasDST(zone) {\n if (zone === void 0) {\n zone = Settings.defaultZone;\n }\n\n var proto = DateTime.now().setZone(zone).set({\n month: 12\n });\n return !zone.universal && proto.offset !== proto.set({\n month: 6\n }).offset;\n }\n /**\n * Return whether the specified zone is a valid IANA specifier.\n * @param {string} zone - Zone to check\n * @return {boolean}\n */\n ;\n\n Info.isValidIANAZone = function isValidIANAZone(zone) {\n return IANAZone.isValidSpecifier(zone) && IANAZone.isValidZone(zone);\n }\n /**\n * Converts the input into a {@link Zone} instance.\n *\n * * If `input` is already a Zone instance, it is returned unchanged.\n * * If `input` is a string containing a valid time zone name, a Zone instance\n * with that name is returned.\n * * If `input` is a string that doesn't refer to a known time zone, a Zone\n * instance with {@link Zone.isValid} == false is returned.\n * * If `input is a number, a Zone instance with the specified fixed offset\n * in minutes is returned.\n * * If `input` is `null` or `undefined`, the default zone is returned.\n * @param {string|Zone|number} [input] - the value to be converted\n * @return {Zone}\n */\n ;\n\n Info.normalizeZone = function normalizeZone$1(input) {\n return normalizeZone(input, Settings.defaultZone);\n }\n /**\n * Return an array of standalone month names.\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param {string} [length='long'] - the length of the month representation, such as \"numeric\", \"2-digit\", \"narrow\", \"short\", \"long\"\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @param {string} [opts.outputCalendar='gregory'] - the calendar\n * @example Info.months()[0] //=> 'January'\n * @example Info.months('short')[0] //=> 'Jan'\n * @example Info.months('numeric')[0] //=> '1'\n * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'\n * @example Info.months('numeric', { locale: 'ar' })[0] //=> '١'\n * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'Rabiʻ I'\n * @return {[string]}\n */\n ;\n\n Info.months = function months(length, _temp) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$locale = _ref.locale,\n locale = _ref$locale === void 0 ? null : _ref$locale,\n _ref$numberingSystem = _ref.numberingSystem,\n numberingSystem = _ref$numberingSystem === void 0 ? null : _ref$numberingSystem,\n _ref$locObj = _ref.locObj,\n locObj = _ref$locObj === void 0 ? null : _ref$locObj,\n _ref$outputCalendar = _ref.outputCalendar,\n outputCalendar = _ref$outputCalendar === void 0 ? \"gregory\" : _ref$outputCalendar;\n\n return (locObj || Locale.create(locale, numberingSystem, outputCalendar)).months(length);\n }\n /**\n * Return an array of format month names.\n * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that\n * changes the string.\n * See {@link months}\n * @param {string} [length='long'] - the length of the month representation, such as \"numeric\", \"2-digit\", \"narrow\", \"short\", \"long\"\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @param {string} [opts.outputCalendar='gregory'] - the calendar\n * @return {[string]}\n */\n ;\n\n Info.monthsFormat = function monthsFormat(length, _temp2) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref2 = _temp2 === void 0 ? {} : _temp2,\n _ref2$locale = _ref2.locale,\n locale = _ref2$locale === void 0 ? null : _ref2$locale,\n _ref2$numberingSystem = _ref2.numberingSystem,\n numberingSystem = _ref2$numberingSystem === void 0 ? null : _ref2$numberingSystem,\n _ref2$locObj = _ref2.locObj,\n locObj = _ref2$locObj === void 0 ? null : _ref2$locObj,\n _ref2$outputCalendar = _ref2.outputCalendar,\n outputCalendar = _ref2$outputCalendar === void 0 ? \"gregory\" : _ref2$outputCalendar;\n\n return (locObj || Locale.create(locale, numberingSystem, outputCalendar)).months(length, true);\n }\n /**\n * Return an array of standalone week names.\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param {string} [length='long'] - the length of the weekday representation, such as \"narrow\", \"short\", \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @example Info.weekdays()[0] //=> 'Monday'\n * @example Info.weekdays('short')[0] //=> 'Mon'\n * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'\n * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'\n * @return {[string]}\n */\n ;\n\n Info.weekdays = function weekdays(length, _temp3) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref3 = _temp3 === void 0 ? {} : _temp3,\n _ref3$locale = _ref3.locale,\n locale = _ref3$locale === void 0 ? null : _ref3$locale,\n _ref3$numberingSystem = _ref3.numberingSystem,\n numberingSystem = _ref3$numberingSystem === void 0 ? null : _ref3$numberingSystem,\n _ref3$locObj = _ref3.locObj,\n locObj = _ref3$locObj === void 0 ? null : _ref3$locObj;\n\n return (locObj || Locale.create(locale, numberingSystem, null)).weekdays(length);\n }\n /**\n * Return an array of format week names.\n * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that\n * changes the string.\n * See {@link weekdays}\n * @param {string} [length='long'] - the length of the weekday representation, such as \"narrow\", \"short\", \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale=null] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @return {[string]}\n */\n ;\n\n Info.weekdaysFormat = function weekdaysFormat(length, _temp4) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref4 = _temp4 === void 0 ? {} : _temp4,\n _ref4$locale = _ref4.locale,\n locale = _ref4$locale === void 0 ? null : _ref4$locale,\n _ref4$numberingSystem = _ref4.numberingSystem,\n numberingSystem = _ref4$numberingSystem === void 0 ? null : _ref4$numberingSystem,\n _ref4$locObj = _ref4.locObj,\n locObj = _ref4$locObj === void 0 ? null : _ref4$locObj;\n\n return (locObj || Locale.create(locale, numberingSystem, null)).weekdays(length, true);\n }\n /**\n * Return an array of meridiems.\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @example Info.meridiems() //=> [ 'AM', 'PM' ]\n * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]\n * @return {[string]}\n */\n ;\n\n Info.meridiems = function meridiems(_temp5) {\n var _ref5 = _temp5 === void 0 ? {} : _temp5,\n _ref5$locale = _ref5.locale,\n locale = _ref5$locale === void 0 ? null : _ref5$locale;\n\n return Locale.create(locale).meridiems();\n }\n /**\n * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.\n * @param {string} [length='short'] - the length of the era representation, such as \"short\" or \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @example Info.eras() //=> [ 'BC', 'AD' ]\n * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]\n * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]\n * @return {[string]}\n */\n ;\n\n Info.eras = function eras(length, _temp6) {\n if (length === void 0) {\n length = \"short\";\n }\n\n var _ref6 = _temp6 === void 0 ? {} : _temp6,\n _ref6$locale = _ref6.locale,\n locale = _ref6$locale === void 0 ? null : _ref6$locale;\n\n return Locale.create(locale, null, \"gregory\").eras(length);\n }\n /**\n * Return the set of available features in this environment.\n * Some features of Luxon are not available in all environments. For example, on older browsers, timezone support is not available. Use this function to figure out if that's the case.\n * Keys:\n * * `zones`: whether this environment supports IANA timezones\n * * `intlTokens`: whether this environment supports internationalized token-based formatting/parsing\n * * `intl`: whether this environment supports general internationalization\n * * `relative`: whether this environment supports relative time formatting\n * @example Info.features() //=> { intl: true, intlTokens: false, zones: true, relative: false }\n * @return {Object}\n */\n ;\n\n Info.features = function features() {\n var intl = false,\n intlTokens = false,\n zones = false,\n relative = false;\n\n if (hasIntl()) {\n intl = true;\n intlTokens = hasFormatToParts();\n relative = hasRelative();\n\n try {\n zones = new Intl.DateTimeFormat(\"en\", {\n timeZone: \"America/New_York\"\n }).resolvedOptions().timeZone === \"America/New_York\";\n } catch (e) {\n zones = false;\n }\n }\n\n return {\n intl: intl,\n intlTokens: intlTokens,\n zones: zones,\n relative: relative\n };\n };\n\n return Info;\n}();\n\nfunction dayDiff(earlier, later) {\n var utcDayStart = function utcDayStart(dt) {\n return dt.toUTC(0, {\n keepLocalTime: true\n }).startOf(\"day\").valueOf();\n },\n ms = utcDayStart(later) - utcDayStart(earlier);\n\n return Math.floor(Duration.fromMillis(ms).as(\"days\"));\n}\n\nfunction highOrderDiffs(cursor, later, units) {\n var differs = [[\"years\", function (a, b) {\n return b.year - a.year;\n }], [\"quarters\", function (a, b) {\n return b.quarter - a.quarter;\n }], [\"months\", function (a, b) {\n return b.month - a.month + (b.year - a.year) * 12;\n }], [\"weeks\", function (a, b) {\n var days = dayDiff(a, b);\n return (days - days % 7) / 7;\n }], [\"days\", dayDiff]];\n var results = {};\n var lowestOrder, highWater;\n\n for (var _i = 0, _differs = differs; _i < _differs.length; _i++) {\n var _differs$_i = _differs[_i],\n unit = _differs$_i[0],\n differ = _differs$_i[1];\n\n if (units.indexOf(unit) >= 0) {\n var _cursor$plus;\n\n lowestOrder = unit;\n var delta = differ(cursor, later);\n highWater = cursor.plus((_cursor$plus = {}, _cursor$plus[unit] = delta, _cursor$plus));\n\n if (highWater > later) {\n var _cursor$plus2;\n\n cursor = cursor.plus((_cursor$plus2 = {}, _cursor$plus2[unit] = delta - 1, _cursor$plus2));\n delta -= 1;\n } else {\n cursor = highWater;\n }\n\n results[unit] = delta;\n }\n }\n\n return [cursor, results, highWater, lowestOrder];\n}\n\nfunction _diff (earlier, later, units, opts) {\n var _highOrderDiffs = highOrderDiffs(earlier, later, units),\n cursor = _highOrderDiffs[0],\n results = _highOrderDiffs[1],\n highWater = _highOrderDiffs[2],\n lowestOrder = _highOrderDiffs[3];\n\n var remainingMillis = later - cursor;\n var lowerOrderUnits = units.filter(function (u) {\n return [\"hours\", \"minutes\", \"seconds\", \"milliseconds\"].indexOf(u) >= 0;\n });\n\n if (lowerOrderUnits.length === 0) {\n if (highWater < later) {\n var _cursor$plus3;\n\n highWater = cursor.plus((_cursor$plus3 = {}, _cursor$plus3[lowestOrder] = 1, _cursor$plus3));\n }\n\n if (highWater !== cursor) {\n results[lowestOrder] = (results[lowestOrder] || 0) + remainingMillis / (highWater - cursor);\n }\n }\n\n var duration = Duration.fromObject(Object.assign(results, opts));\n\n if (lowerOrderUnits.length > 0) {\n var _Duration$fromMillis;\n\n return (_Duration$fromMillis = Duration.fromMillis(remainingMillis, opts)).shiftTo.apply(_Duration$fromMillis, lowerOrderUnits).plus(duration);\n } else {\n return duration;\n }\n}\n\nvar numberingSystems = {\n arab: \"[\\u0660-\\u0669]\",\n arabext: \"[\\u06F0-\\u06F9]\",\n bali: \"[\\u1B50-\\u1B59]\",\n beng: \"[\\u09E6-\\u09EF]\",\n deva: \"[\\u0966-\\u096F]\",\n fullwide: \"[\\uFF10-\\uFF19]\",\n gujr: \"[\\u0AE6-\\u0AEF]\",\n hanidec: \"[〇|一|二|三|四|五|六|七|八|九]\",\n khmr: \"[\\u17E0-\\u17E9]\",\n knda: \"[\\u0CE6-\\u0CEF]\",\n laoo: \"[\\u0ED0-\\u0ED9]\",\n limb: \"[\\u1946-\\u194F]\",\n mlym: \"[\\u0D66-\\u0D6F]\",\n mong: \"[\\u1810-\\u1819]\",\n mymr: \"[\\u1040-\\u1049]\",\n orya: \"[\\u0B66-\\u0B6F]\",\n tamldec: \"[\\u0BE6-\\u0BEF]\",\n telu: \"[\\u0C66-\\u0C6F]\",\n thai: \"[\\u0E50-\\u0E59]\",\n tibt: \"[\\u0F20-\\u0F29]\",\n latn: \"\\\\d\"\n};\nvar numberingSystemsUTF16 = {\n arab: [1632, 1641],\n arabext: [1776, 1785],\n bali: [6992, 7001],\n beng: [2534, 2543],\n deva: [2406, 2415],\n fullwide: [65296, 65303],\n gujr: [2790, 2799],\n khmr: [6112, 6121],\n knda: [3302, 3311],\n laoo: [3792, 3801],\n limb: [6470, 6479],\n mlym: [3430, 3439],\n mong: [6160, 6169],\n mymr: [4160, 4169],\n orya: [2918, 2927],\n tamldec: [3046, 3055],\n telu: [3174, 3183],\n thai: [3664, 3673],\n tibt: [3872, 3881]\n}; // eslint-disable-next-line\n\nvar hanidecChars = numberingSystems.hanidec.replace(/[\\[|\\]]/g, \"\").split(\"\");\nfunction parseDigits(str) {\n var value = parseInt(str, 10);\n\n if (isNaN(value)) {\n value = \"\";\n\n for (var i = 0; i < str.length; i++) {\n var code = str.charCodeAt(i);\n\n if (str[i].search(numberingSystems.hanidec) !== -1) {\n value += hanidecChars.indexOf(str[i]);\n } else {\n for (var key in numberingSystemsUTF16) {\n var _numberingSystemsUTF = numberingSystemsUTF16[key],\n min = _numberingSystemsUTF[0],\n max = _numberingSystemsUTF[1];\n\n if (code >= min && code <= max) {\n value += code - min;\n }\n }\n }\n }\n\n return parseInt(value, 10);\n } else {\n return value;\n }\n}\nfunction digitRegex(_ref, append) {\n var numberingSystem = _ref.numberingSystem;\n\n if (append === void 0) {\n append = \"\";\n }\n\n return new RegExp(\"\" + numberingSystems[numberingSystem || \"latn\"] + append);\n}\n\nvar MISSING_FTP = \"missing Intl.DateTimeFormat.formatToParts support\";\n\nfunction intUnit(regex, post) {\n if (post === void 0) {\n post = function post(i) {\n return i;\n };\n }\n\n return {\n regex: regex,\n deser: function deser(_ref) {\n var s = _ref[0];\n return post(parseDigits(s));\n }\n };\n}\n\nvar NBSP = String.fromCharCode(160);\nvar spaceOrNBSP = \"( |\" + NBSP + \")\";\nvar spaceOrNBSPRegExp = new RegExp(spaceOrNBSP, \"g\");\n\nfunction fixListRegex(s) {\n // make dots optional and also make them literal\n // make space and non breakable space characters interchangeable\n return s.replace(/\\./g, \"\\\\.?\").replace(spaceOrNBSPRegExp, spaceOrNBSP);\n}\n\nfunction stripInsensitivities(s) {\n return s.replace(/\\./g, \"\") // ignore dots that were made optional\n .replace(spaceOrNBSPRegExp, \" \") // interchange space and nbsp\n .toLowerCase();\n}\n\nfunction oneOf(strings, startIndex) {\n if (strings === null) {\n return null;\n } else {\n return {\n regex: RegExp(strings.map(fixListRegex).join(\"|\")),\n deser: function deser(_ref2) {\n var s = _ref2[0];\n return strings.findIndex(function (i) {\n return stripInsensitivities(s) === stripInsensitivities(i);\n }) + startIndex;\n }\n };\n }\n}\n\nfunction offset(regex, groups) {\n return {\n regex: regex,\n deser: function deser(_ref3) {\n var h = _ref3[1],\n m = _ref3[2];\n return signedOffset(h, m);\n },\n groups: groups\n };\n}\n\nfunction simple(regex) {\n return {\n regex: regex,\n deser: function deser(_ref4) {\n var s = _ref4[0];\n return s;\n }\n };\n}\n\nfunction escapeToken(value) {\n // eslint-disable-next-line no-useless-escape\n return value.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, \"\\\\$&\");\n}\n\nfunction unitForToken(token, loc) {\n var one = digitRegex(loc),\n two = digitRegex(loc, \"{2}\"),\n three = digitRegex(loc, \"{3}\"),\n four = digitRegex(loc, \"{4}\"),\n six = digitRegex(loc, \"{6}\"),\n oneOrTwo = digitRegex(loc, \"{1,2}\"),\n oneToThree = digitRegex(loc, \"{1,3}\"),\n oneToSix = digitRegex(loc, \"{1,6}\"),\n oneToNine = digitRegex(loc, \"{1,9}\"),\n twoToFour = digitRegex(loc, \"{2,4}\"),\n fourToSix = digitRegex(loc, \"{4,6}\"),\n literal = function literal(t) {\n return {\n regex: RegExp(escapeToken(t.val)),\n deser: function deser(_ref5) {\n var s = _ref5[0];\n return s;\n },\n literal: true\n };\n },\n unitate = function unitate(t) {\n if (token.literal) {\n return literal(t);\n }\n\n switch (t.val) {\n // era\n case \"G\":\n return oneOf(loc.eras(\"short\", false), 0);\n\n case \"GG\":\n return oneOf(loc.eras(\"long\", false), 0);\n // years\n\n case \"y\":\n return intUnit(oneToSix);\n\n case \"yy\":\n return intUnit(twoToFour, untruncateYear);\n\n case \"yyyy\":\n return intUnit(four);\n\n case \"yyyyy\":\n return intUnit(fourToSix);\n\n case \"yyyyyy\":\n return intUnit(six);\n // months\n\n case \"M\":\n return intUnit(oneOrTwo);\n\n case \"MM\":\n return intUnit(two);\n\n case \"MMM\":\n return oneOf(loc.months(\"short\", true, false), 1);\n\n case \"MMMM\":\n return oneOf(loc.months(\"long\", true, false), 1);\n\n case \"L\":\n return intUnit(oneOrTwo);\n\n case \"LL\":\n return intUnit(two);\n\n case \"LLL\":\n return oneOf(loc.months(\"short\", false, false), 1);\n\n case \"LLLL\":\n return oneOf(loc.months(\"long\", false, false), 1);\n // dates\n\n case \"d\":\n return intUnit(oneOrTwo);\n\n case \"dd\":\n return intUnit(two);\n // ordinals\n\n case \"o\":\n return intUnit(oneToThree);\n\n case \"ooo\":\n return intUnit(three);\n // time\n\n case \"HH\":\n return intUnit(two);\n\n case \"H\":\n return intUnit(oneOrTwo);\n\n case \"hh\":\n return intUnit(two);\n\n case \"h\":\n return intUnit(oneOrTwo);\n\n case \"mm\":\n return intUnit(two);\n\n case \"m\":\n return intUnit(oneOrTwo);\n\n case \"q\":\n return intUnit(oneOrTwo);\n\n case \"qq\":\n return intUnit(two);\n\n case \"s\":\n return intUnit(oneOrTwo);\n\n case \"ss\":\n return intUnit(two);\n\n case \"S\":\n return intUnit(oneToThree);\n\n case \"SSS\":\n return intUnit(three);\n\n case \"u\":\n return simple(oneToNine);\n // meridiem\n\n case \"a\":\n return oneOf(loc.meridiems(), 0);\n // weekYear (k)\n\n case \"kkkk\":\n return intUnit(four);\n\n case \"kk\":\n return intUnit(twoToFour, untruncateYear);\n // weekNumber (W)\n\n case \"W\":\n return intUnit(oneOrTwo);\n\n case \"WW\":\n return intUnit(two);\n // weekdays\n\n case \"E\":\n case \"c\":\n return intUnit(one);\n\n case \"EEE\":\n return oneOf(loc.weekdays(\"short\", false, false), 1);\n\n case \"EEEE\":\n return oneOf(loc.weekdays(\"long\", false, false), 1);\n\n case \"ccc\":\n return oneOf(loc.weekdays(\"short\", true, false), 1);\n\n case \"cccc\":\n return oneOf(loc.weekdays(\"long\", true, false), 1);\n // offset/zone\n\n case \"Z\":\n case \"ZZ\":\n return offset(new RegExp(\"([+-]\" + oneOrTwo.source + \")(?::(\" + two.source + \"))?\"), 2);\n\n case \"ZZZ\":\n return offset(new RegExp(\"([+-]\" + oneOrTwo.source + \")(\" + two.source + \")?\"), 2);\n // we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing\n // because we don't have any way to figure out what they are\n\n case \"z\":\n return simple(/[a-z_+-/]{1,256}?/i);\n\n default:\n return literal(t);\n }\n };\n\n var unit = unitate(token) || {\n invalidReason: MISSING_FTP\n };\n unit.token = token;\n return unit;\n}\n\nvar partTypeStyleToTokenVal = {\n year: {\n \"2-digit\": \"yy\",\n numeric: \"yyyyy\"\n },\n month: {\n numeric: \"M\",\n \"2-digit\": \"MM\",\n short: \"MMM\",\n long: \"MMMM\"\n },\n day: {\n numeric: \"d\",\n \"2-digit\": \"dd\"\n },\n weekday: {\n short: \"EEE\",\n long: \"EEEE\"\n },\n dayperiod: \"a\",\n dayPeriod: \"a\",\n hour: {\n numeric: \"h\",\n \"2-digit\": \"hh\"\n },\n minute: {\n numeric: \"m\",\n \"2-digit\": \"mm\"\n },\n second: {\n numeric: \"s\",\n \"2-digit\": \"ss\"\n }\n};\n\nfunction tokenForPart(part, locale, formatOpts) {\n var type = part.type,\n value = part.value;\n\n if (type === \"literal\") {\n return {\n literal: true,\n val: value\n };\n }\n\n var style = formatOpts[type];\n var val = partTypeStyleToTokenVal[type];\n\n if (typeof val === \"object\") {\n val = val[style];\n }\n\n if (val) {\n return {\n literal: false,\n val: val\n };\n }\n\n return undefined;\n}\n\nfunction buildRegex(units) {\n var re = units.map(function (u) {\n return u.regex;\n }).reduce(function (f, r) {\n return f + \"(\" + r.source + \")\";\n }, \"\");\n return [\"^\" + re + \"$\", units];\n}\n\nfunction match(input, regex, handlers) {\n var matches = input.match(regex);\n\n if (matches) {\n var all = {};\n var matchIndex = 1;\n\n for (var i in handlers) {\n if (hasOwnProperty(handlers, i)) {\n var h = handlers[i],\n groups = h.groups ? h.groups + 1 : 1;\n\n if (!h.literal && h.token) {\n all[h.token.val[0]] = h.deser(matches.slice(matchIndex, matchIndex + groups));\n }\n\n matchIndex += groups;\n }\n }\n\n return [matches, all];\n } else {\n return [matches, {}];\n }\n}\n\nfunction dateTimeFromMatches(matches) {\n var toField = function toField(token) {\n switch (token) {\n case \"S\":\n return \"millisecond\";\n\n case \"s\":\n return \"second\";\n\n case \"m\":\n return \"minute\";\n\n case \"h\":\n case \"H\":\n return \"hour\";\n\n case \"d\":\n return \"day\";\n\n case \"o\":\n return \"ordinal\";\n\n case \"L\":\n case \"M\":\n return \"month\";\n\n case \"y\":\n return \"year\";\n\n case \"E\":\n case \"c\":\n return \"weekday\";\n\n case \"W\":\n return \"weekNumber\";\n\n case \"k\":\n return \"weekYear\";\n\n case \"q\":\n return \"quarter\";\n\n default:\n return null;\n }\n };\n\n var zone;\n\n if (!isUndefined(matches.Z)) {\n zone = new FixedOffsetZone(matches.Z);\n } else if (!isUndefined(matches.z)) {\n zone = IANAZone.create(matches.z);\n } else {\n zone = null;\n }\n\n if (!isUndefined(matches.q)) {\n matches.M = (matches.q - 1) * 3 + 1;\n }\n\n if (!isUndefined(matches.h)) {\n if (matches.h < 12 && matches.a === 1) {\n matches.h += 12;\n } else if (matches.h === 12 && matches.a === 0) {\n matches.h = 0;\n }\n }\n\n if (matches.G === 0 && matches.y) {\n matches.y = -matches.y;\n }\n\n if (!isUndefined(matches.u)) {\n matches.S = parseMillis(matches.u);\n }\n\n var vals = Object.keys(matches).reduce(function (r, k) {\n var f = toField(k);\n\n if (f) {\n r[f] = matches[k];\n }\n\n return r;\n }, {});\n return [vals, zone];\n}\n\nvar dummyDateTimeCache = null;\n\nfunction getDummyDateTime() {\n if (!dummyDateTimeCache) {\n dummyDateTimeCache = DateTime.fromMillis(1555555555555);\n }\n\n return dummyDateTimeCache;\n}\n\nfunction maybeExpandMacroToken(token, locale) {\n if (token.literal) {\n return token;\n }\n\n var formatOpts = Formatter.macroTokenToFormatOpts(token.val);\n\n if (!formatOpts) {\n return token;\n }\n\n var formatter = Formatter.create(locale, formatOpts);\n var parts = formatter.formatDateTimeParts(getDummyDateTime());\n var tokens = parts.map(function (p) {\n return tokenForPart(p, locale, formatOpts);\n });\n\n if (tokens.includes(undefined)) {\n return token;\n }\n\n return tokens;\n}\n\nfunction expandMacroTokens(tokens, locale) {\n var _Array$prototype;\n\n return (_Array$prototype = Array.prototype).concat.apply(_Array$prototype, tokens.map(function (t) {\n return maybeExpandMacroToken(t, locale);\n }));\n}\n/**\n * @private\n */\n\n\nfunction explainFromTokens(locale, input, format) {\n var tokens = expandMacroTokens(Formatter.parseFormat(format), locale),\n units = tokens.map(function (t) {\n return unitForToken(t, locale);\n }),\n disqualifyingUnit = units.find(function (t) {\n return t.invalidReason;\n });\n\n if (disqualifyingUnit) {\n return {\n input: input,\n tokens: tokens,\n invalidReason: disqualifyingUnit.invalidReason\n };\n } else {\n var _buildRegex = buildRegex(units),\n regexString = _buildRegex[0],\n handlers = _buildRegex[1],\n regex = RegExp(regexString, \"i\"),\n _match = match(input, regex, handlers),\n rawMatches = _match[0],\n matches = _match[1],\n _ref6 = matches ? dateTimeFromMatches(matches) : [null, null],\n result = _ref6[0],\n zone = _ref6[1];\n\n if (hasOwnProperty(matches, \"a\") && hasOwnProperty(matches, \"H\")) {\n throw new ConflictingSpecificationError(\"Can't include meridiem when specifying 24-hour format\");\n }\n\n return {\n input: input,\n tokens: tokens,\n regex: regex,\n rawMatches: rawMatches,\n matches: matches,\n result: result,\n zone: zone\n };\n }\n}\nfunction parseFromTokens(locale, input, format) {\n var _explainFromTokens = explainFromTokens(locale, input, format),\n result = _explainFromTokens.result,\n zone = _explainFromTokens.zone,\n invalidReason = _explainFromTokens.invalidReason;\n\n return [result, zone, invalidReason];\n}\n\nvar nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],\n leapLadder = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];\n\nfunction unitOutOfRange(unit, value) {\n return new Invalid(\"unit out of range\", \"you specified \" + value + \" (of type \" + typeof value + \") as a \" + unit + \", which is invalid\");\n}\n\nfunction dayOfWeek(year, month, day) {\n var js = new Date(Date.UTC(year, month - 1, day)).getUTCDay();\n return js === 0 ? 7 : js;\n}\n\nfunction computeOrdinal(year, month, day) {\n return day + (isLeapYear(year) ? leapLadder : nonLeapLadder)[month - 1];\n}\n\nfunction uncomputeOrdinal(year, ordinal) {\n var table = isLeapYear(year) ? leapLadder : nonLeapLadder,\n month0 = table.findIndex(function (i) {\n return i < ordinal;\n }),\n day = ordinal - table[month0];\n return {\n month: month0 + 1,\n day: day\n };\n}\n/**\n * @private\n */\n\n\nfunction gregorianToWeek(gregObj) {\n var year = gregObj.year,\n month = gregObj.month,\n day = gregObj.day,\n ordinal = computeOrdinal(year, month, day),\n weekday = dayOfWeek(year, month, day);\n var weekNumber = Math.floor((ordinal - weekday + 10) / 7),\n weekYear;\n\n if (weekNumber < 1) {\n weekYear = year - 1;\n weekNumber = weeksInWeekYear(weekYear);\n } else if (weekNumber > weeksInWeekYear(year)) {\n weekYear = year + 1;\n weekNumber = 1;\n } else {\n weekYear = year;\n }\n\n return Object.assign({\n weekYear: weekYear,\n weekNumber: weekNumber,\n weekday: weekday\n }, timeObject(gregObj));\n}\nfunction weekToGregorian(weekData) {\n var weekYear = weekData.weekYear,\n weekNumber = weekData.weekNumber,\n weekday = weekData.weekday,\n weekdayOfJan4 = dayOfWeek(weekYear, 1, 4),\n yearInDays = daysInYear(weekYear);\n var ordinal = weekNumber * 7 + weekday - weekdayOfJan4 - 3,\n year;\n\n if (ordinal < 1) {\n year = weekYear - 1;\n ordinal += daysInYear(year);\n } else if (ordinal > yearInDays) {\n year = weekYear + 1;\n ordinal -= daysInYear(weekYear);\n } else {\n year = weekYear;\n }\n\n var _uncomputeOrdinal = uncomputeOrdinal(year, ordinal),\n month = _uncomputeOrdinal.month,\n day = _uncomputeOrdinal.day;\n\n return Object.assign({\n year: year,\n month: month,\n day: day\n }, timeObject(weekData));\n}\nfunction gregorianToOrdinal(gregData) {\n var year = gregData.year,\n month = gregData.month,\n day = gregData.day,\n ordinal = computeOrdinal(year, month, day);\n return Object.assign({\n year: year,\n ordinal: ordinal\n }, timeObject(gregData));\n}\nfunction ordinalToGregorian(ordinalData) {\n var year = ordinalData.year,\n ordinal = ordinalData.ordinal,\n _uncomputeOrdinal2 = uncomputeOrdinal(year, ordinal),\n month = _uncomputeOrdinal2.month,\n day = _uncomputeOrdinal2.day;\n\n return Object.assign({\n year: year,\n month: month,\n day: day\n }, timeObject(ordinalData));\n}\nfunction hasInvalidWeekData(obj) {\n var validYear = isInteger(obj.weekYear),\n validWeek = integerBetween(obj.weekNumber, 1, weeksInWeekYear(obj.weekYear)),\n validWeekday = integerBetween(obj.weekday, 1, 7);\n\n if (!validYear) {\n return unitOutOfRange(\"weekYear\", obj.weekYear);\n } else if (!validWeek) {\n return unitOutOfRange(\"week\", obj.week);\n } else if (!validWeekday) {\n return unitOutOfRange(\"weekday\", obj.weekday);\n } else return false;\n}\nfunction hasInvalidOrdinalData(obj) {\n var validYear = isInteger(obj.year),\n validOrdinal = integerBetween(obj.ordinal, 1, daysInYear(obj.year));\n\n if (!validYear) {\n return unitOutOfRange(\"year\", obj.year);\n } else if (!validOrdinal) {\n return unitOutOfRange(\"ordinal\", obj.ordinal);\n } else return false;\n}\nfunction hasInvalidGregorianData(obj) {\n var validYear = isInteger(obj.year),\n validMonth = integerBetween(obj.month, 1, 12),\n validDay = integerBetween(obj.day, 1, daysInMonth(obj.year, obj.month));\n\n if (!validYear) {\n return unitOutOfRange(\"year\", obj.year);\n } else if (!validMonth) {\n return unitOutOfRange(\"month\", obj.month);\n } else if (!validDay) {\n return unitOutOfRange(\"day\", obj.day);\n } else return false;\n}\nfunction hasInvalidTimeData(obj) {\n var hour = obj.hour,\n minute = obj.minute,\n second = obj.second,\n millisecond = obj.millisecond;\n var validHour = integerBetween(hour, 0, 23) || hour === 24 && minute === 0 && second === 0 && millisecond === 0,\n validMinute = integerBetween(minute, 0, 59),\n validSecond = integerBetween(second, 0, 59),\n validMillisecond = integerBetween(millisecond, 0, 999);\n\n if (!validHour) {\n return unitOutOfRange(\"hour\", hour);\n } else if (!validMinute) {\n return unitOutOfRange(\"minute\", minute);\n } else if (!validSecond) {\n return unitOutOfRange(\"second\", second);\n } else if (!validMillisecond) {\n return unitOutOfRange(\"millisecond\", millisecond);\n } else return false;\n}\n\nvar INVALID$2 = \"Invalid DateTime\";\nvar MAX_DATE = 8.64e15;\n\nfunction unsupportedZone(zone) {\n return new Invalid(\"unsupported zone\", \"the zone \\\"\" + zone.name + \"\\\" is not supported\");\n} // we cache week data on the DT object and this intermediates the cache\n\n\nfunction possiblyCachedWeekData(dt) {\n if (dt.weekData === null) {\n dt.weekData = gregorianToWeek(dt.c);\n }\n\n return dt.weekData;\n} // clone really means, \"make a new object with these modifications\". all \"setters\" really use this\n// to create a new object while only changing some of the properties\n\n\nfunction clone$1(inst, alts) {\n var current = {\n ts: inst.ts,\n zone: inst.zone,\n c: inst.c,\n o: inst.o,\n loc: inst.loc,\n invalid: inst.invalid\n };\n return new DateTime(Object.assign({}, current, alts, {\n old: current\n }));\n} // find the right offset a given local time. The o input is our guess, which determines which\n// offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)\n\n\nfunction fixOffset(localTS, o, tz) {\n // Our UTC time is just a guess because our offset is just a guess\n var utcGuess = localTS - o * 60 * 1000; // Test whether the zone matches the offset for this ts\n\n var o2 = tz.offset(utcGuess); // If so, offset didn't change and we're done\n\n if (o === o2) {\n return [utcGuess, o];\n } // If not, change the ts by the difference in the offset\n\n\n utcGuess -= (o2 - o) * 60 * 1000; // If that gives us the local time we want, we're done\n\n var o3 = tz.offset(utcGuess);\n\n if (o2 === o3) {\n return [utcGuess, o2];\n } // If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time\n\n\n return [localTS - Math.min(o2, o3) * 60 * 1000, Math.max(o2, o3)];\n} // convert an epoch timestamp into a calendar object with the given offset\n\n\nfunction tsToObj(ts, offset) {\n ts += offset * 60 * 1000;\n var d = new Date(ts);\n return {\n year: d.getUTCFullYear(),\n month: d.getUTCMonth() + 1,\n day: d.getUTCDate(),\n hour: d.getUTCHours(),\n minute: d.getUTCMinutes(),\n second: d.getUTCSeconds(),\n millisecond: d.getUTCMilliseconds()\n };\n} // convert a calendar object to a epoch timestamp\n\n\nfunction objToTS(obj, offset, zone) {\n return fixOffset(objToLocalTS(obj), offset, zone);\n} // create a new DT instance by adding a duration, adjusting for DSTs\n\n\nfunction adjustTime(inst, dur) {\n var oPre = inst.o,\n year = inst.c.year + Math.trunc(dur.years),\n month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3,\n c = Object.assign({}, inst.c, {\n year: year,\n month: month,\n day: Math.min(inst.c.day, daysInMonth(year, month)) + Math.trunc(dur.days) + Math.trunc(dur.weeks) * 7\n }),\n millisToAdd = Duration.fromObject({\n years: dur.years - Math.trunc(dur.years),\n quarters: dur.quarters - Math.trunc(dur.quarters),\n months: dur.months - Math.trunc(dur.months),\n weeks: dur.weeks - Math.trunc(dur.weeks),\n days: dur.days - Math.trunc(dur.days),\n hours: dur.hours,\n minutes: dur.minutes,\n seconds: dur.seconds,\n milliseconds: dur.milliseconds\n }).as(\"milliseconds\"),\n localTS = objToLocalTS(c);\n\n var _fixOffset = fixOffset(localTS, oPre, inst.zone),\n ts = _fixOffset[0],\n o = _fixOffset[1];\n\n if (millisToAdd !== 0) {\n ts += millisToAdd; // that could have changed the offset by going over a DST, but we want to keep the ts the same\n\n o = inst.zone.offset(ts);\n }\n\n return {\n ts: ts,\n o: o\n };\n} // helper useful in turning the results of parsing into real dates\n// by handling the zone options\n\n\nfunction parseDataToDateTime(parsed, parsedZone, opts, format, text) {\n var setZone = opts.setZone,\n zone = opts.zone;\n\n if (parsed && Object.keys(parsed).length !== 0) {\n var interpretationZone = parsedZone || zone,\n inst = DateTime.fromObject(Object.assign(parsed, opts, {\n zone: interpretationZone,\n // setZone is a valid option in the calling methods, but not in fromObject\n setZone: undefined\n }));\n return setZone ? inst : inst.setZone(zone);\n } else {\n return DateTime.invalid(new Invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as \" + format));\n }\n} // if you want to output a technical format (e.g. RFC 2822), this helper\n// helps handle the details\n\n\nfunction toTechFormat(dt, format, allowZ) {\n if (allowZ === void 0) {\n allowZ = true;\n }\n\n return dt.isValid ? Formatter.create(Locale.create(\"en-US\"), {\n allowZ: allowZ,\n forceSimple: true\n }).formatDateTimeFromString(dt, format) : null;\n} // technical time formats (e.g. the time part of ISO 8601), take some options\n// and this commonizes their handling\n\n\nfunction toTechTimeFormat(dt, _ref) {\n var _ref$suppressSeconds = _ref.suppressSeconds,\n suppressSeconds = _ref$suppressSeconds === void 0 ? false : _ref$suppressSeconds,\n _ref$suppressMillisec = _ref.suppressMilliseconds,\n suppressMilliseconds = _ref$suppressMillisec === void 0 ? false : _ref$suppressMillisec,\n includeOffset = _ref.includeOffset,\n _ref$includePrefix = _ref.includePrefix,\n includePrefix = _ref$includePrefix === void 0 ? false : _ref$includePrefix,\n _ref$includeZone = _ref.includeZone,\n includeZone = _ref$includeZone === void 0 ? false : _ref$includeZone,\n _ref$spaceZone = _ref.spaceZone,\n spaceZone = _ref$spaceZone === void 0 ? false : _ref$spaceZone,\n _ref$format = _ref.format,\n format = _ref$format === void 0 ? \"extended\" : _ref$format;\n var fmt = format === \"basic\" ? \"HHmm\" : \"HH:mm\";\n\n if (!suppressSeconds || dt.second !== 0 || dt.millisecond !== 0) {\n fmt += format === \"basic\" ? \"ss\" : \":ss\";\n\n if (!suppressMilliseconds || dt.millisecond !== 0) {\n fmt += \".SSS\";\n }\n }\n\n if ((includeZone || includeOffset) && spaceZone) {\n fmt += \" \";\n }\n\n if (includeZone) {\n fmt += \"z\";\n } else if (includeOffset) {\n fmt += format === \"basic\" ? \"ZZZ\" : \"ZZ\";\n }\n\n var str = toTechFormat(dt, fmt);\n\n if (includePrefix) {\n str = \"T\" + str;\n }\n\n return str;\n} // defaults for unspecified units in the supported calendars\n\n\nvar defaultUnitValues = {\n month: 1,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n},\n defaultWeekUnitValues = {\n weekNumber: 1,\n weekday: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n},\n defaultOrdinalUnitValues = {\n ordinal: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n}; // Units in the supported calendars, sorted by bigness\n\nvar orderedUnits$1 = [\"year\", \"month\", \"day\", \"hour\", \"minute\", \"second\", \"millisecond\"],\n orderedWeekUnits = [\"weekYear\", \"weekNumber\", \"weekday\", \"hour\", \"minute\", \"second\", \"millisecond\"],\n orderedOrdinalUnits = [\"year\", \"ordinal\", \"hour\", \"minute\", \"second\", \"millisecond\"]; // standardize case and plurality in units\n\nfunction normalizeUnit(unit) {\n var normalized = {\n year: \"year\",\n years: \"year\",\n month: \"month\",\n months: \"month\",\n day: \"day\",\n days: \"day\",\n hour: \"hour\",\n hours: \"hour\",\n minute: \"minute\",\n minutes: \"minute\",\n quarter: \"quarter\",\n quarters: \"quarter\",\n second: \"second\",\n seconds: \"second\",\n millisecond: \"millisecond\",\n milliseconds: \"millisecond\",\n weekday: \"weekday\",\n weekdays: \"weekday\",\n weeknumber: \"weekNumber\",\n weeksnumber: \"weekNumber\",\n weeknumbers: \"weekNumber\",\n weekyear: \"weekYear\",\n weekyears: \"weekYear\",\n ordinal: \"ordinal\"\n }[unit.toLowerCase()];\n if (!normalized) throw new InvalidUnitError(unit);\n return normalized;\n} // this is a dumbed down version of fromObject() that runs about 60% faster\n// but doesn't do any validation, makes a bunch of assumptions about what units\n// are present, and so on.\n\n\nfunction quickDT(obj, zone) {\n // assume we have the higher-order units\n for (var _iterator = _createForOfIteratorHelperLoose(orderedUnits$1), _step; !(_step = _iterator()).done;) {\n var u = _step.value;\n\n if (isUndefined(obj[u])) {\n obj[u] = defaultUnitValues[u];\n }\n }\n\n var invalid = hasInvalidGregorianData(obj) || hasInvalidTimeData(obj);\n\n if (invalid) {\n return DateTime.invalid(invalid);\n }\n\n var tsNow = Settings.now(),\n offsetProvis = zone.offset(tsNow),\n _objToTS = objToTS(obj, offsetProvis, zone),\n ts = _objToTS[0],\n o = _objToTS[1];\n\n return new DateTime({\n ts: ts,\n zone: zone,\n o: o\n });\n}\n\nfunction diffRelative(start, end, opts) {\n var round = isUndefined(opts.round) ? true : opts.round,\n format = function format(c, unit) {\n c = roundTo(c, round || opts.calendary ? 0 : 2, true);\n var formatter = end.loc.clone(opts).relFormatter(opts);\n return formatter.format(c, unit);\n },\n differ = function differ(unit) {\n if (opts.calendary) {\n if (!end.hasSame(start, unit)) {\n return end.startOf(unit).diff(start.startOf(unit), unit).get(unit);\n } else return 0;\n } else {\n return end.diff(start, unit).get(unit);\n }\n };\n\n if (opts.unit) {\n return format(differ(opts.unit), opts.unit);\n }\n\n for (var _iterator2 = _createForOfIteratorHelperLoose(opts.units), _step2; !(_step2 = _iterator2()).done;) {\n var unit = _step2.value;\n var count = differ(unit);\n\n if (Math.abs(count) >= 1) {\n return format(count, unit);\n }\n }\n\n return format(start > end ? -0 : 0, opts.units[opts.units.length - 1]);\n}\n/**\n * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.\n *\n * A DateTime comprises of:\n * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.\n * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).\n * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.\n *\n * Here is a brief overview of the most commonly used functionality it provides:\n *\n * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link local}, {@link utc}, and (most flexibly) {@link fromObject}. To create one from a standard string format, use {@link fromISO}, {@link fromHTTP}, and {@link fromRFC2822}. To create one from a custom string format, use {@link fromFormat}. To create one from a native JS date, use {@link fromJSDate}.\n * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link toObject}), use the {@link year}, {@link month},\n * {@link day}, {@link hour}, {@link minute}, {@link second}, {@link millisecond} accessors.\n * * **Week calendar**: For ISO week calendar attributes, see the {@link weekYear}, {@link weekNumber}, and {@link weekday} accessors.\n * * **Configuration** See the {@link locale} and {@link numberingSystem} accessors.\n * * **Transformation**: To transform the DateTime into other DateTimes, use {@link set}, {@link reconfigure}, {@link setZone}, {@link setLocale}, {@link plus}, {@link minus}, {@link endOf}, {@link startOf}, {@link toUTC}, and {@link toLocal}.\n * * **Output**: To convert the DateTime to other representations, use the {@link toRelative}, {@link toRelativeCalendar}, {@link toJSON}, {@link toISO}, {@link toHTTP}, {@link toObject}, {@link toRFC2822}, {@link toString}, {@link toLocaleString}, {@link toFormat}, {@link toMillis} and {@link toJSDate}.\n *\n * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.\n */\n\n\nvar DateTime = /*#__PURE__*/function () {\n /**\n * @access private\n */\n function DateTime(config) {\n var zone = config.zone || Settings.defaultZone;\n var invalid = config.invalid || (Number.isNaN(config.ts) ? new Invalid(\"invalid input\") : null) || (!zone.isValid ? unsupportedZone(zone) : null);\n /**\n * @access private\n */\n\n this.ts = isUndefined(config.ts) ? Settings.now() : config.ts;\n var c = null,\n o = null;\n\n if (!invalid) {\n var unchanged = config.old && config.old.ts === this.ts && config.old.zone.equals(zone);\n\n if (unchanged) {\n var _ref2 = [config.old.c, config.old.o];\n c = _ref2[0];\n o = _ref2[1];\n } else {\n var ot = zone.offset(this.ts);\n c = tsToObj(this.ts, ot);\n invalid = Number.isNaN(c.year) ? new Invalid(\"invalid input\") : null;\n c = invalid ? null : c;\n o = invalid ? null : ot;\n }\n }\n /**\n * @access private\n */\n\n\n this._zone = zone;\n /**\n * @access private\n */\n\n this.loc = config.loc || Locale.create();\n /**\n * @access private\n */\n\n this.invalid = invalid;\n /**\n * @access private\n */\n\n this.weekData = null;\n /**\n * @access private\n */\n\n this.c = c;\n /**\n * @access private\n */\n\n this.o = o;\n /**\n * @access private\n */\n\n this.isLuxonDateTime = true;\n } // CONSTRUCT\n\n /**\n * Create a DateTime for the current instant, in the system's time zone.\n *\n * Use Settings to override these default values if needed.\n * @example DateTime.now().toISO() //~> now in the ISO format\n * @return {DateTime}\n */\n\n\n DateTime.now = function now() {\n return new DateTime({});\n }\n /**\n * Create a local DateTime\n * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used\n * @param {number} [month=1] - The month, 1-indexed\n * @param {number} [day=1] - The day of the month, 1-indexed\n * @param {number} [hour=0] - The hour of the day, in 24-hour time\n * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59\n * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59\n * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999\n * @example DateTime.local() //~> now\n * @example DateTime.local(2017) //~> 2017-01-01T00:00:00\n * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00\n * @example DateTime.local(2017, 3, 12) //~> 2017-03-12T00:00:00\n * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00\n * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00\n * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10\n * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765\n * @return {DateTime}\n */\n ;\n\n DateTime.local = function local(year, month, day, hour, minute, second, millisecond) {\n if (isUndefined(year)) {\n return DateTime.now();\n } else {\n return quickDT({\n year: year,\n month: month,\n day: day,\n hour: hour,\n minute: minute,\n second: second,\n millisecond: millisecond\n }, Settings.defaultZone);\n }\n }\n /**\n * Create a DateTime in UTC\n * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used\n * @param {number} [month=1] - The month, 1-indexed\n * @param {number} [day=1] - The day of the month\n * @param {number} [hour=0] - The hour of the day, in 24-hour time\n * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59\n * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59\n * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999\n * @example DateTime.utc() //~> now\n * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z\n * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z\n * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z\n * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z\n * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z\n * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z\n * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765Z\n * @return {DateTime}\n */\n ;\n\n DateTime.utc = function utc(year, month, day, hour, minute, second, millisecond) {\n if (isUndefined(year)) {\n return new DateTime({\n ts: Settings.now(),\n zone: FixedOffsetZone.utcInstance\n });\n } else {\n return quickDT({\n year: year,\n month: month,\n day: day,\n hour: hour,\n minute: minute,\n second: second,\n millisecond: millisecond\n }, FixedOffsetZone.utcInstance);\n }\n }\n /**\n * Create a DateTime from a JavaScript Date object. Uses the default zone.\n * @param {Date} date - a JavaScript Date object\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @return {DateTime}\n */\n ;\n\n DateTime.fromJSDate = function fromJSDate(date, options) {\n if (options === void 0) {\n options = {};\n }\n\n var ts = isDate(date) ? date.valueOf() : NaN;\n\n if (Number.isNaN(ts)) {\n return DateTime.invalid(\"invalid input\");\n }\n\n var zoneToUse = normalizeZone(options.zone, Settings.defaultZone);\n\n if (!zoneToUse.isValid) {\n return DateTime.invalid(unsupportedZone(zoneToUse));\n }\n\n return new DateTime({\n ts: ts,\n zone: zoneToUse,\n loc: Locale.fromObject(options)\n });\n }\n /**\n * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.\n * @param {number} milliseconds - a number of milliseconds since 1970 UTC\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @param {string} [options.locale] - a locale to set on the resulting DateTime instance\n * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromMillis = function fromMillis(milliseconds, options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!isNumber(milliseconds)) {\n throw new InvalidArgumentError(\"fromMillis requires a numerical input, but received a \" + typeof milliseconds + \" with value \" + milliseconds);\n } else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) {\n // this isn't perfect because because we can still end up out of range because of additional shifting, but it's a start\n return DateTime.invalid(\"Timestamp out of range\");\n } else {\n return new DateTime({\n ts: milliseconds,\n zone: normalizeZone(options.zone, Settings.defaultZone),\n loc: Locale.fromObject(options)\n });\n }\n }\n /**\n * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.\n * @param {number} seconds - a number of seconds since 1970 UTC\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @param {string} [options.locale] - a locale to set on the resulting DateTime instance\n * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromSeconds = function fromSeconds(seconds, options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!isNumber(seconds)) {\n throw new InvalidArgumentError(\"fromSeconds requires a numerical input\");\n } else {\n return new DateTime({\n ts: seconds * 1000,\n zone: normalizeZone(options.zone, Settings.defaultZone),\n loc: Locale.fromObject(options)\n });\n }\n }\n /**\n * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.\n * @param {Object} obj - the object to create the DateTime from\n * @param {number} obj.year - a year, such as 1987\n * @param {number} obj.month - a month, 1-12\n * @param {number} obj.day - a day of the month, 1-31, depending on the month\n * @param {number} obj.ordinal - day of the year, 1-365 or 366\n * @param {number} obj.weekYear - an ISO week year\n * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year\n * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday\n * @param {number} obj.hour - hour of the day, 0-23\n * @param {number} obj.minute - minute of the hour, 0-59\n * @param {number} obj.second - second of the minute, 0-59\n * @param {number} obj.millisecond - millisecond of the second, 0-999\n * @param {string|Zone} [obj.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()\n * @param {string} [obj.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} obj.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} obj.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'\n * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'utc' }),\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'local' })\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'America/New_York' })\n * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'\n * @return {DateTime}\n */\n ;\n\n DateTime.fromObject = function fromObject(obj) {\n var zoneToUse = normalizeZone(obj.zone, Settings.defaultZone);\n\n if (!zoneToUse.isValid) {\n return DateTime.invalid(unsupportedZone(zoneToUse));\n }\n\n var tsNow = Settings.now(),\n offsetProvis = zoneToUse.offset(tsNow),\n normalized = normalizeObject(obj, normalizeUnit, [\"zone\", \"locale\", \"outputCalendar\", \"numberingSystem\"]),\n containsOrdinal = !isUndefined(normalized.ordinal),\n containsGregorYear = !isUndefined(normalized.year),\n containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day),\n containsGregor = containsGregorYear || containsGregorMD,\n definiteWeekDef = normalized.weekYear || normalized.weekNumber,\n loc = Locale.fromObject(obj); // cases:\n // just a weekday -> this week's instance of that weekday, no worries\n // (gregorian data or ordinal) + (weekYear or weekNumber) -> error\n // (gregorian month or day) + ordinal -> error\n // otherwise just use weeks or ordinals or gregorian, depending on what's specified\n\n if ((containsGregor || containsOrdinal) && definiteWeekDef) {\n throw new ConflictingSpecificationError(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");\n }\n\n if (containsGregorMD && containsOrdinal) {\n throw new ConflictingSpecificationError(\"Can't mix ordinal dates with month/day\");\n }\n\n var useWeekData = definiteWeekDef || normalized.weekday && !containsGregor; // configure ourselves to deal with gregorian dates or week stuff\n\n var units,\n defaultValues,\n objNow = tsToObj(tsNow, offsetProvis);\n\n if (useWeekData) {\n units = orderedWeekUnits;\n defaultValues = defaultWeekUnitValues;\n objNow = gregorianToWeek(objNow);\n } else if (containsOrdinal) {\n units = orderedOrdinalUnits;\n defaultValues = defaultOrdinalUnitValues;\n objNow = gregorianToOrdinal(objNow);\n } else {\n units = orderedUnits$1;\n defaultValues = defaultUnitValues;\n } // set default values for missing stuff\n\n\n var foundFirst = false;\n\n for (var _iterator3 = _createForOfIteratorHelperLoose(units), _step3; !(_step3 = _iterator3()).done;) {\n var u = _step3.value;\n var v = normalized[u];\n\n if (!isUndefined(v)) {\n foundFirst = true;\n } else if (foundFirst) {\n normalized[u] = defaultValues[u];\n } else {\n normalized[u] = objNow[u];\n }\n } // make sure the values we have are in range\n\n\n var higherOrderInvalid = useWeekData ? hasInvalidWeekData(normalized) : containsOrdinal ? hasInvalidOrdinalData(normalized) : hasInvalidGregorianData(normalized),\n invalid = higherOrderInvalid || hasInvalidTimeData(normalized);\n\n if (invalid) {\n return DateTime.invalid(invalid);\n } // compute the actual time\n\n\n var gregorian = useWeekData ? weekToGregorian(normalized) : containsOrdinal ? ordinalToGregorian(normalized) : normalized,\n _objToTS2 = objToTS(gregorian, offsetProvis, zoneToUse),\n tsFinal = _objToTS2[0],\n offsetFinal = _objToTS2[1],\n inst = new DateTime({\n ts: tsFinal,\n zone: zoneToUse,\n o: offsetFinal,\n loc: loc\n }); // gregorian data + weekday serves only to validate\n\n\n if (normalized.weekday && containsGregor && obj.weekday !== inst.weekday) {\n return DateTime.invalid(\"mismatched weekday\", \"you can't specify both a weekday of \" + normalized.weekday + \" and a date of \" + inst.toISO());\n }\n\n return inst;\n }\n /**\n * Create a DateTime from an ISO 8601 string\n * @param {string} text - the ISO string\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance\n * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromISO('2016-05-25T09:08:34.123')\n * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')\n * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})\n * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})\n * @example DateTime.fromISO('2016-W05-4')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromISO = function fromISO(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseISODate = parseISODate(text),\n vals = _parseISODate[0],\n parsedZone = _parseISODate[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"ISO 8601\", text);\n }\n /**\n * Create a DateTime from an RFC 2822 string\n * @param {string} text - the RFC 2822 string\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.\n * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')\n * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')\n * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromRFC2822 = function fromRFC2822(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseRFC2822Date = parseRFC2822Date(text),\n vals = _parseRFC2822Date[0],\n parsedZone = _parseRFC2822Date[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"RFC 2822\", text);\n }\n /**\n * Create a DateTime from an HTTP header date\n * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1\n * @param {string} text - the HTTP header date\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.\n * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')\n * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')\n * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromHTTP = function fromHTTP(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseHTTPDate = parseHTTPDate(text),\n vals = _parseHTTPDate[0],\n parsedZone = _parseHTTPDate[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"HTTP\", opts);\n }\n /**\n * Create a DateTime from an input string and format string.\n * Defaults to en-US if no locale has been specified, regardless of the system's locale.\n * @see https://moment.github.io/luxon/docs/manual/parsing.html#table-of-tokens\n * @param {string} text - the string to parse\n * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale\n * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromFormat = function fromFormat(text, fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (isUndefined(text) || isUndefined(fmt)) {\n throw new InvalidArgumentError(\"fromFormat requires an input string and a format\");\n }\n\n var _opts = opts,\n _opts$locale = _opts.locale,\n locale = _opts$locale === void 0 ? null : _opts$locale,\n _opts$numberingSystem = _opts.numberingSystem,\n numberingSystem = _opts$numberingSystem === void 0 ? null : _opts$numberingSystem,\n localeToUse = Locale.fromOpts({\n locale: locale,\n numberingSystem: numberingSystem,\n defaultToEN: true\n }),\n _parseFromTokens = parseFromTokens(localeToUse, text, fmt),\n vals = _parseFromTokens[0],\n parsedZone = _parseFromTokens[1],\n invalid = _parseFromTokens[2];\n\n if (invalid) {\n return DateTime.invalid(invalid);\n } else {\n return parseDataToDateTime(vals, parsedZone, opts, \"format \" + fmt, text);\n }\n }\n /**\n * @deprecated use fromFormat instead\n */\n ;\n\n DateTime.fromString = function fromString(text, fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return DateTime.fromFormat(text, fmt, opts);\n }\n /**\n * Create a DateTime from a SQL date, time, or datetime\n * Defaults to en-US if no locale has been specified, regardless of the system's locale\n * @param {string} text - the string to parse\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale\n * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @example DateTime.fromSQL('2017-05-15')\n * @example DateTime.fromSQL('2017-05-15 09:12:34')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })\n * @example DateTime.fromSQL('09:12:34.342')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromSQL = function fromSQL(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseSQL = parseSQL(text),\n vals = _parseSQL[0],\n parsedZone = _parseSQL[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"SQL\", text);\n }\n /**\n * Create an invalid DateTime.\n * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {DateTime}\n */\n ;\n\n DateTime.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the DateTime is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidDateTimeError(invalid);\n } else {\n return new DateTime({\n invalid: invalid\n });\n }\n }\n /**\n * Check if an object is a DateTime. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n DateTime.isDateTime = function isDateTime(o) {\n return o && o.isLuxonDateTime || false;\n } // INFO\n\n /**\n * Get the value of unit.\n * @param {string} unit - a unit such as 'minute' or 'day'\n * @example DateTime.local(2017, 7, 4).get('month'); //=> 7\n * @example DateTime.local(2017, 7, 4).get('day'); //=> 4\n * @return {number}\n */\n ;\n\n var _proto = DateTime.prototype;\n\n _proto.get = function get(unit) {\n return this[unit];\n }\n /**\n * Returns whether the DateTime is valid. Invalid DateTimes occur when:\n * * The DateTime was created from invalid calendar information, such as the 13th month or February 30\n * * The DateTime was created by an operation on another invalid date\n * @type {boolean}\n */\n ;\n\n /**\n * Returns the resolved Intl options for this DateTime.\n * This is useful in understanding the behavior of formatting methods\n * @param {Object} opts - the same options as toLocaleString\n * @return {Object}\n */\n _proto.resolvedLocaleOpts = function resolvedLocaleOpts(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _Formatter$create$res = Formatter.create(this.loc.clone(opts), opts).resolvedOptions(this),\n locale = _Formatter$create$res.locale,\n numberingSystem = _Formatter$create$res.numberingSystem,\n calendar = _Formatter$create$res.calendar;\n\n return {\n locale: locale,\n numberingSystem: numberingSystem,\n outputCalendar: calendar\n };\n } // TRANSFORM\n\n /**\n * \"Set\" the DateTime's zone to UTC. Returns a newly-constructed DateTime.\n *\n * Equivalent to {@link setZone}('utc')\n * @param {number} [offset=0] - optionally, an offset from UTC in minutes\n * @param {Object} [opts={}] - options to pass to `setZone()`\n * @return {DateTime}\n */\n ;\n\n _proto.toUTC = function toUTC(offset, opts) {\n if (offset === void 0) {\n offset = 0;\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n return this.setZone(FixedOffsetZone.instance(offset), opts);\n }\n /**\n * \"Set\" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.\n *\n * Equivalent to `setZone('local')`\n * @return {DateTime}\n */\n ;\n\n _proto.toLocal = function toLocal() {\n return this.setZone(Settings.defaultZone);\n }\n /**\n * \"Set\" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.\n *\n * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link plus}. You may wish to use {@link toLocal} and {@link toUTC} which provide simple convenience wrappers for commonly used zones.\n * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link Zone} class.\n * @param {Object} opts - options\n * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.\n * @return {DateTime}\n */\n ;\n\n _proto.setZone = function setZone(zone, _temp) {\n var _ref3 = _temp === void 0 ? {} : _temp,\n _ref3$keepLocalTime = _ref3.keepLocalTime,\n keepLocalTime = _ref3$keepLocalTime === void 0 ? false : _ref3$keepLocalTime,\n _ref3$keepCalendarTim = _ref3.keepCalendarTime,\n keepCalendarTime = _ref3$keepCalendarTim === void 0 ? false : _ref3$keepCalendarTim;\n\n zone = normalizeZone(zone, Settings.defaultZone);\n\n if (zone.equals(this.zone)) {\n return this;\n } else if (!zone.isValid) {\n return DateTime.invalid(unsupportedZone(zone));\n } else {\n var newTS = this.ts;\n\n if (keepLocalTime || keepCalendarTime) {\n var offsetGuess = zone.offset(this.ts);\n var asObj = this.toObject();\n\n var _objToTS3 = objToTS(asObj, offsetGuess, zone);\n\n newTS = _objToTS3[0];\n }\n\n return clone$1(this, {\n ts: newTS,\n zone: zone\n });\n }\n }\n /**\n * \"Set\" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.\n * @param {Object} properties - the properties to set\n * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })\n * @return {DateTime}\n */\n ;\n\n _proto.reconfigure = function reconfigure(_temp2) {\n var _ref4 = _temp2 === void 0 ? {} : _temp2,\n locale = _ref4.locale,\n numberingSystem = _ref4.numberingSystem,\n outputCalendar = _ref4.outputCalendar;\n\n var loc = this.loc.clone({\n locale: locale,\n numberingSystem: numberingSystem,\n outputCalendar: outputCalendar\n });\n return clone$1(this, {\n loc: loc\n });\n }\n /**\n * \"Set\" the locale. Returns a newly-constructed DateTime.\n * Just a convenient alias for reconfigure({ locale })\n * @example DateTime.local(2017, 5, 25).setLocale('en-GB')\n * @return {DateTime}\n */\n ;\n\n _proto.setLocale = function setLocale(locale) {\n return this.reconfigure({\n locale: locale\n });\n }\n /**\n * \"Set\" the values of specified units. Returns a newly-constructed DateTime.\n * You can only set units with this method; for \"setting\" metadata, see {@link reconfigure} and {@link setZone}.\n * @param {Object} values - a mapping of units to numbers\n * @example dt.set({ year: 2017 })\n * @example dt.set({ hour: 8, minute: 30 })\n * @example dt.set({ weekday: 5 })\n * @example dt.set({ year: 2005, ordinal: 234 })\n * @return {DateTime}\n */\n ;\n\n _proto.set = function set(values) {\n if (!this.isValid) return this;\n var normalized = normalizeObject(values, normalizeUnit, []),\n settingWeekStuff = !isUndefined(normalized.weekYear) || !isUndefined(normalized.weekNumber) || !isUndefined(normalized.weekday),\n containsOrdinal = !isUndefined(normalized.ordinal),\n containsGregorYear = !isUndefined(normalized.year),\n containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day),\n containsGregor = containsGregorYear || containsGregorMD,\n definiteWeekDef = normalized.weekYear || normalized.weekNumber;\n\n if ((containsGregor || containsOrdinal) && definiteWeekDef) {\n throw new ConflictingSpecificationError(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");\n }\n\n if (containsGregorMD && containsOrdinal) {\n throw new ConflictingSpecificationError(\"Can't mix ordinal dates with month/day\");\n }\n\n var mixed;\n\n if (settingWeekStuff) {\n mixed = weekToGregorian(Object.assign(gregorianToWeek(this.c), normalized));\n } else if (!isUndefined(normalized.ordinal)) {\n mixed = ordinalToGregorian(Object.assign(gregorianToOrdinal(this.c), normalized));\n } else {\n mixed = Object.assign(this.toObject(), normalized); // if we didn't set the day but we ended up on an overflow date,\n // use the last day of the right month\n\n if (isUndefined(normalized.day)) {\n mixed.day = Math.min(daysInMonth(mixed.year, mixed.month), mixed.day);\n }\n }\n\n var _objToTS4 = objToTS(mixed, this.o, this.zone),\n ts = _objToTS4[0],\n o = _objToTS4[1];\n\n return clone$1(this, {\n ts: ts,\n o: o\n });\n }\n /**\n * Add a period of time to this DateTime and return the resulting DateTime\n *\n * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.\n * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @example DateTime.now().plus(123) //~> in 123 milliseconds\n * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes\n * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow\n * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday\n * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min\n * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min\n * @return {DateTime}\n */\n ;\n\n _proto.plus = function plus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration);\n return clone$1(this, adjustTime(this, dur));\n }\n /**\n * Subtract a period of time to this DateTime and return the resulting DateTime\n * See {@link plus}\n * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n @return {DateTime}\n */\n ;\n\n _proto.minus = function minus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration).negate();\n return clone$1(this, adjustTime(this, dur));\n }\n /**\n * \"Set\" this DateTime to the beginning of a unit of time.\n * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.\n * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'\n * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'\n * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays\n * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'\n * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'\n * @return {DateTime}\n */\n ;\n\n _proto.startOf = function startOf(unit) {\n if (!this.isValid) return this;\n var o = {},\n normalizedUnit = Duration.normalizeUnit(unit);\n\n switch (normalizedUnit) {\n case \"years\":\n o.month = 1;\n // falls through\n\n case \"quarters\":\n case \"months\":\n o.day = 1;\n // falls through\n\n case \"weeks\":\n case \"days\":\n o.hour = 0;\n // falls through\n\n case \"hours\":\n o.minute = 0;\n // falls through\n\n case \"minutes\":\n o.second = 0;\n // falls through\n\n case \"seconds\":\n o.millisecond = 0;\n break;\n // no default, invalid units throw in normalizeUnit()\n }\n\n if (normalizedUnit === \"weeks\") {\n o.weekday = 1;\n }\n\n if (normalizedUnit === \"quarters\") {\n var q = Math.ceil(this.month / 3);\n o.month = (q - 1) * 3 + 1;\n }\n\n return this.set(o);\n }\n /**\n * \"Set\" this DateTime to the end (meaning the last millisecond) of a unit of time\n * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.\n * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays\n * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'\n * @return {DateTime}\n */\n ;\n\n _proto.endOf = function endOf(unit) {\n var _this$plus;\n\n return this.isValid ? this.plus((_this$plus = {}, _this$plus[unit] = 1, _this$plus)).startOf(unit).minus(1) : this;\n } // OUTPUT\n\n /**\n * Returns a string representation of this DateTime formatted according to the specified format string.\n * **You may not want this.** See {@link toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens).\n * Defaults to en-US if no locale has been specified, regardless of the system's locale.\n * @see https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens\n * @param {string} fmt - the format string\n * @param {Object} opts - opts to override the configuration options\n * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'\n * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'\n * @example DateTime.now().toFormat('yyyy LLL dd', { locale: \"fr\" }) //=> '2017 avr. 22'\n * @example DateTime.now().toFormat(\"HH 'hours and' mm 'minutes'\") //=> '20 hours and 55 minutes'\n * @return {string}\n */\n ;\n\n _proto.toFormat = function toFormat(fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return this.isValid ? Formatter.create(this.loc.redefaultToEN(opts)).formatDateTimeFromString(this, fmt) : INVALID$2;\n }\n /**\n * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.\n * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation\n * of the DateTime in the assigned locale.\n * Defaults to the system's locale if no locale has been specified\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param opts {Object} - Intl.DateTimeFormat constructor options and configuration options\n * @example DateTime.now().toLocaleString(); //=> 4/20/2017\n * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'\n * @example DateTime.now().toLocaleString({ locale: 'en-gb' }); //=> '20/04/2017'\n * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'\n * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'\n * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'\n * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'\n * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'\n * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hour12: false }); //=> '11:32'\n * @return {string}\n */\n ;\n\n _proto.toLocaleString = function toLocaleString(opts) {\n if (opts === void 0) {\n opts = DATE_SHORT;\n }\n\n return this.isValid ? Formatter.create(this.loc.clone(opts), opts).formatDateTime(this) : INVALID$2;\n }\n /**\n * Returns an array of format \"parts\", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.\n * Defaults to the system's locale if no locale has been specified\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts\n * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.\n * @example DateTime.now().toLocaleParts(); //=> [\n * //=> { type: 'day', value: '25' },\n * //=> { type: 'literal', value: '/' },\n * //=> { type: 'month', value: '05' },\n * //=> { type: 'literal', value: '/' },\n * //=> { type: 'year', value: '1982' }\n * //=> ]\n */\n ;\n\n _proto.toLocaleParts = function toLocaleParts(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return this.isValid ? Formatter.create(this.loc.clone(opts), opts).formatDateTimeParts(this) : [];\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc(1982, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'\n * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'\n * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'\n * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) {\n return null;\n }\n\n return this.toISODate(opts) + \"T\" + this.toISOTime(opts);\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's date component\n * @param {Object} opts - options\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'\n * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'\n * @return {string}\n */\n ;\n\n _proto.toISODate = function toISODate(_temp3) {\n var _ref5 = _temp3 === void 0 ? {} : _temp3,\n _ref5$format = _ref5.format,\n format = _ref5$format === void 0 ? \"extended\" : _ref5$format;\n\n var fmt = format === \"basic\" ? \"yyyyMMdd\" : \"yyyy-MM-dd\";\n\n if (this.year > 9999) {\n fmt = \"+\" + fmt;\n }\n\n return toTechFormat(this, fmt);\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's week date\n * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'\n * @return {string}\n */\n ;\n\n _proto.toISOWeekDate = function toISOWeekDate() {\n return toTechFormat(this, \"kkkk-'W'WW-c\");\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's time component\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @param {boolean} [opts.includePrefix=false] - include the `T` prefix\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(_temp4) {\n var _ref6 = _temp4 === void 0 ? {} : _temp4,\n _ref6$suppressMillise = _ref6.suppressMilliseconds,\n suppressMilliseconds = _ref6$suppressMillise === void 0 ? false : _ref6$suppressMillise,\n _ref6$suppressSeconds = _ref6.suppressSeconds,\n suppressSeconds = _ref6$suppressSeconds === void 0 ? false : _ref6$suppressSeconds,\n _ref6$includeOffset = _ref6.includeOffset,\n includeOffset = _ref6$includeOffset === void 0 ? true : _ref6$includeOffset,\n _ref6$includePrefix = _ref6.includePrefix,\n includePrefix = _ref6$includePrefix === void 0 ? false : _ref6$includePrefix,\n _ref6$format = _ref6.format,\n format = _ref6$format === void 0 ? \"extended\" : _ref6$format;\n\n return toTechTimeFormat(this, {\n suppressSeconds: suppressSeconds,\n suppressMilliseconds: suppressMilliseconds,\n includeOffset: includeOffset,\n includePrefix: includePrefix,\n format: format\n });\n }\n /**\n * Returns an RFC 2822-compatible string representation of this DateTime, always in UTC\n * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'\n * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'\n * @return {string}\n */\n ;\n\n _proto.toRFC2822 = function toRFC2822() {\n return toTechFormat(this, \"EEE, dd LLL yyyy HH:mm:ss ZZZ\", false);\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in HTTP headers.\n * Specifically, the string conforms to RFC 1123.\n * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1\n * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'\n * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'\n * @return {string}\n */\n ;\n\n _proto.toHTTP = function toHTTP() {\n return toTechFormat(this.toUTC(), \"EEE, dd LLL yyyy HH:mm:ss 'GMT'\");\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL Date\n * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'\n * @return {string}\n */\n ;\n\n _proto.toSQLDate = function toSQLDate() {\n return toTechFormat(this, \"yyyy-MM-dd\");\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL Time\n * @param {Object} opts - options\n * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @example DateTime.utc().toSQL() //=> '05:15:16.345'\n * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'\n * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'\n * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'\n * @return {string}\n */\n ;\n\n _proto.toSQLTime = function toSQLTime(_temp5) {\n var _ref7 = _temp5 === void 0 ? {} : _temp5,\n _ref7$includeOffset = _ref7.includeOffset,\n includeOffset = _ref7$includeOffset === void 0 ? true : _ref7$includeOffset,\n _ref7$includeZone = _ref7.includeZone,\n includeZone = _ref7$includeZone === void 0 ? false : _ref7$includeZone;\n\n return toTechTimeFormat(this, {\n includeOffset: includeOffset,\n includeZone: includeZone,\n spaceZone: true\n });\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL DateTime\n * @param {Object} opts - options\n * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'\n * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'\n * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'\n * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'\n * @return {string}\n */\n ;\n\n _proto.toSQL = function toSQL(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) {\n return null;\n }\n\n return this.toSQLDate() + \" \" + this.toSQLTime(opts);\n }\n /**\n * Returns a string representation of this DateTime appropriate for debugging\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n return this.isValid ? this.toISO() : INVALID$2;\n }\n /**\n * Returns the epoch milliseconds of this DateTime. Alias of {@link toMillis}\n * @return {number}\n */\n ;\n\n _proto.valueOf = function valueOf() {\n return this.toMillis();\n }\n /**\n * Returns the epoch milliseconds of this DateTime.\n * @return {number}\n */\n ;\n\n _proto.toMillis = function toMillis() {\n return this.isValid ? this.ts : NaN;\n }\n /**\n * Returns the epoch seconds of this DateTime.\n * @return {number}\n */\n ;\n\n _proto.toSeconds = function toSeconds() {\n return this.isValid ? this.ts / 1000 : NaN;\n }\n /**\n * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.\n * @return {string}\n */\n ;\n\n _proto.toJSON = function toJSON() {\n return this.toISO();\n }\n /**\n * Returns a BSON serializable equivalent to this DateTime.\n * @return {Date}\n */\n ;\n\n _proto.toBSON = function toBSON() {\n return this.toJSDate();\n }\n /**\n * Returns a JavaScript object with this DateTime's year, month, day, and so on.\n * @param opts - options for generating the object\n * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output\n * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }\n * @return {Object}\n */\n ;\n\n _proto.toObject = function toObject(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return {};\n var base = Object.assign({}, this.c);\n\n if (opts.includeConfig) {\n base.outputCalendar = this.outputCalendar;\n base.numberingSystem = this.loc.numberingSystem;\n base.locale = this.loc.locale;\n }\n\n return base;\n }\n /**\n * Returns a JavaScript Date equivalent to this DateTime.\n * @return {Date}\n */\n ;\n\n _proto.toJSDate = function toJSDate() {\n return new Date(this.isValid ? this.ts : NaN);\n } // COMPARE\n\n /**\n * Return the difference between two DateTimes as a Duration.\n * @param {DateTime} otherDateTime - the DateTime to compare this one to\n * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @example\n * var i1 = DateTime.fromISO('1982-05-25T09:45'),\n * i2 = DateTime.fromISO('1983-10-14T10:30');\n * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }\n * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }\n * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }\n * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }\n * @return {Duration}\n */\n ;\n\n _proto.diff = function diff(otherDateTime, unit, opts) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid || !otherDateTime.isValid) {\n return Duration.invalid(this.invalid || otherDateTime.invalid, \"created by diffing an invalid DateTime\");\n }\n\n var durOpts = Object.assign({\n locale: this.locale,\n numberingSystem: this.numberingSystem\n }, opts);\n\n var units = maybeArray(unit).map(Duration.normalizeUnit),\n otherIsLater = otherDateTime.valueOf() > this.valueOf(),\n earlier = otherIsLater ? this : otherDateTime,\n later = otherIsLater ? otherDateTime : this,\n diffed = _diff(earlier, later, units, durOpts);\n\n return otherIsLater ? diffed.negate() : diffed;\n }\n /**\n * Return the difference between this DateTime and right now.\n * See {@link diff}\n * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n ;\n\n _proto.diffNow = function diffNow(unit, opts) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n return this.diff(DateTime.now(), unit, opts);\n }\n /**\n * Return an Interval spanning between this DateTime and another DateTime\n * @param {DateTime} otherDateTime - the other end point of the Interval\n * @return {Interval}\n */\n ;\n\n _proto.until = function until(otherDateTime) {\n return this.isValid ? Interval.fromDateTimes(this, otherDateTime) : this;\n }\n /**\n * Return whether this DateTime is in the same unit of time as another DateTime.\n * Higher-order units must also be identical for this function to return `true`.\n * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link setZone} to convert one of the dates if needed.\n * @param {DateTime} otherDateTime - the other DateTime\n * @param {string} unit - the unit of time to check sameness on\n * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day\n * @return {boolean}\n */\n ;\n\n _proto.hasSame = function hasSame(otherDateTime, unit) {\n if (!this.isValid) return false;\n var inputMs = otherDateTime.valueOf();\n var otherZoneDateTime = this.setZone(otherDateTime.zone, {\n keepLocalTime: true\n });\n return otherZoneDateTime.startOf(unit) <= inputMs && inputMs <= otherZoneDateTime.endOf(unit);\n }\n /**\n * Equality check\n * Two DateTimes are equal iff they represent the same millisecond, have the same zone and location, and are both valid.\n * To compare just the millisecond values, use `+dt1 === +dt2`.\n * @param {DateTime} other - the other DateTime\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(other) {\n return this.isValid && other.isValid && this.valueOf() === other.valueOf() && this.zone.equals(other.zone) && this.loc.equals(other.loc);\n }\n /**\n * Returns a string representation of a this time relative to now, such as \"in two days\". Can only internationalize if your\n * platform supports Intl.RelativeTimeFormat. Rounds down by default.\n * @param {Object} options - options that affect the output\n * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.\n * @param {string} [options.style=\"long\"] - the style of units, must be \"long\", \"short\", or \"narrow\"\n * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of \"years\", \"quarters\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", or \"seconds\"\n * @param {boolean} [options.round=true] - whether to round the numbers in the output.\n * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.\n * @param {string} options.locale - override the locale of this DateTime\n * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this\n * @example DateTime.now().plus({ days: 1 }).toRelative() //=> \"in 1 day\"\n * @example DateTime.now().setLocale(\"es\").toRelative({ days: 1 }) //=> \"dentro de 1 día\"\n * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: \"fr\" }) //=> \"dans 23 heures\"\n * @example DateTime.now().minus({ days: 2 }).toRelative() //=> \"2 days ago\"\n * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: \"hours\" }) //=> \"48 hours ago\"\n * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> \"1.5 days ago\"\n */\n ;\n\n _proto.toRelative = function toRelative(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!this.isValid) return null;\n var base = options.base || DateTime.fromObject({\n zone: this.zone\n }),\n padding = options.padding ? this < base ? -options.padding : options.padding : 0;\n var units = [\"years\", \"months\", \"days\", \"hours\", \"minutes\", \"seconds\"];\n var unit = options.unit;\n\n if (Array.isArray(options.unit)) {\n units = options.unit;\n unit = undefined;\n }\n\n return diffRelative(base, this.plus(padding), Object.assign(options, {\n numeric: \"always\",\n units: units,\n unit: unit\n }));\n }\n /**\n * Returns a string representation of this date relative to today, such as \"yesterday\" or \"next month\".\n * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.\n * @param {Object} options - options that affect the output\n * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.\n * @param {string} options.locale - override the locale of this DateTime\n * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of \"years\", \"quarters\", \"months\", \"weeks\", or \"days\"\n * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this\n * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> \"tomorrow\"\n * @example DateTime.now().setLocale(\"es\").plus({ days: 1 }).toRelative() //=> \"\"mañana\"\n * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: \"fr\" }) //=> \"demain\"\n * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> \"2 days ago\"\n */\n ;\n\n _proto.toRelativeCalendar = function toRelativeCalendar(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!this.isValid) return null;\n return diffRelative(options.base || DateTime.fromObject({\n zone: this.zone\n }), this, Object.assign(options, {\n numeric: \"auto\",\n units: [\"years\", \"months\", \"days\"],\n calendary: true\n }));\n }\n /**\n * Return the min of several date times\n * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum\n * @return {DateTime} the min DateTime, or undefined if called with no argument\n */\n ;\n\n DateTime.min = function min() {\n for (var _len = arguments.length, dateTimes = new Array(_len), _key = 0; _key < _len; _key++) {\n dateTimes[_key] = arguments[_key];\n }\n\n if (!dateTimes.every(DateTime.isDateTime)) {\n throw new InvalidArgumentError(\"min requires all arguments be DateTimes\");\n }\n\n return bestBy(dateTimes, function (i) {\n return i.valueOf();\n }, Math.min);\n }\n /**\n * Return the max of several date times\n * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum\n * @return {DateTime} the max DateTime, or undefined if called with no argument\n */\n ;\n\n DateTime.max = function max() {\n for (var _len2 = arguments.length, dateTimes = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n dateTimes[_key2] = arguments[_key2];\n }\n\n if (!dateTimes.every(DateTime.isDateTime)) {\n throw new InvalidArgumentError(\"max requires all arguments be DateTimes\");\n }\n\n return bestBy(dateTimes, function (i) {\n return i.valueOf();\n }, Math.max);\n } // MISC\n\n /**\n * Explain how a string would be parsed by fromFormat()\n * @param {string} text - the string to parse\n * @param {string} fmt - the format the string is expected to be in (see description)\n * @param {Object} options - options taken by fromFormat()\n * @return {Object}\n */\n ;\n\n DateTime.fromFormatExplain = function fromFormatExplain(text, fmt, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$locale = _options.locale,\n locale = _options$locale === void 0 ? null : _options$locale,\n _options$numberingSys = _options.numberingSystem,\n numberingSystem = _options$numberingSys === void 0 ? null : _options$numberingSys,\n localeToUse = Locale.fromOpts({\n locale: locale,\n numberingSystem: numberingSystem,\n defaultToEN: true\n });\n return explainFromTokens(localeToUse, text, fmt);\n }\n /**\n * @deprecated use fromFormatExplain instead\n */\n ;\n\n DateTime.fromStringExplain = function fromStringExplain(text, fmt, options) {\n if (options === void 0) {\n options = {};\n }\n\n return DateTime.fromFormatExplain(text, fmt, options);\n } // FORMAT PRESETS\n\n /**\n * {@link toLocaleString} format like 10/14/1983\n * @type {Object}\n */\n ;\n\n _createClass(DateTime, [{\n key: \"isValid\",\n get: function get() {\n return this.invalid === null;\n }\n /**\n * Returns an error code if this DateTime is invalid, or null if the DateTime is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n /**\n * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"locale\",\n get: function get() {\n return this.isValid ? this.loc.locale : null;\n }\n /**\n * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"numberingSystem\",\n get: function get() {\n return this.isValid ? this.loc.numberingSystem : null;\n }\n /**\n * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"outputCalendar\",\n get: function get() {\n return this.isValid ? this.loc.outputCalendar : null;\n }\n /**\n * Get the time zone associated with this DateTime.\n * @type {Zone}\n */\n\n }, {\n key: \"zone\",\n get: function get() {\n return this._zone;\n }\n /**\n * Get the name of the time zone.\n * @type {string}\n */\n\n }, {\n key: \"zoneName\",\n get: function get() {\n return this.isValid ? this.zone.name : null;\n }\n /**\n * Get the year\n * @example DateTime.local(2017, 5, 25).year //=> 2017\n * @type {number}\n */\n\n }, {\n key: \"year\",\n get: function get() {\n return this.isValid ? this.c.year : NaN;\n }\n /**\n * Get the quarter\n * @example DateTime.local(2017, 5, 25).quarter //=> 2\n * @type {number}\n */\n\n }, {\n key: \"quarter\",\n get: function get() {\n return this.isValid ? Math.ceil(this.c.month / 3) : NaN;\n }\n /**\n * Get the month (1-12).\n * @example DateTime.local(2017, 5, 25).month //=> 5\n * @type {number}\n */\n\n }, {\n key: \"month\",\n get: function get() {\n return this.isValid ? this.c.month : NaN;\n }\n /**\n * Get the day of the month (1-30ish).\n * @example DateTime.local(2017, 5, 25).day //=> 25\n * @type {number}\n */\n\n }, {\n key: \"day\",\n get: function get() {\n return this.isValid ? this.c.day : NaN;\n }\n /**\n * Get the hour of the day (0-23).\n * @example DateTime.local(2017, 5, 25, 9).hour //=> 9\n * @type {number}\n */\n\n }, {\n key: \"hour\",\n get: function get() {\n return this.isValid ? this.c.hour : NaN;\n }\n /**\n * Get the minute of the hour (0-59).\n * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30\n * @type {number}\n */\n\n }, {\n key: \"minute\",\n get: function get() {\n return this.isValid ? this.c.minute : NaN;\n }\n /**\n * Get the second of the minute (0-59).\n * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52\n * @type {number}\n */\n\n }, {\n key: \"second\",\n get: function get() {\n return this.isValid ? this.c.second : NaN;\n }\n /**\n * Get the millisecond of the second (0-999).\n * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654\n * @type {number}\n */\n\n }, {\n key: \"millisecond\",\n get: function get() {\n return this.isValid ? this.c.millisecond : NaN;\n }\n /**\n * Get the week year\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2014, 12, 31).weekYear //=> 2015\n * @type {number}\n */\n\n }, {\n key: \"weekYear\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekYear : NaN;\n }\n /**\n * Get the week number of the week year (1-52ish).\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2017, 5, 25).weekNumber //=> 21\n * @type {number}\n */\n\n }, {\n key: \"weekNumber\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekNumber : NaN;\n }\n /**\n * Get the day of the week.\n * 1 is Monday and 7 is Sunday\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2014, 11, 31).weekday //=> 4\n * @type {number}\n */\n\n }, {\n key: \"weekday\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekday : NaN;\n }\n /**\n * Get the ordinal (meaning the day of the year)\n * @example DateTime.local(2017, 5, 25).ordinal //=> 145\n * @type {number|DateTime}\n */\n\n }, {\n key: \"ordinal\",\n get: function get() {\n return this.isValid ? gregorianToOrdinal(this.c).ordinal : NaN;\n }\n /**\n * Get the human readable short month name, such as 'Oct'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).monthShort //=> Oct\n * @type {string}\n */\n\n }, {\n key: \"monthShort\",\n get: function get() {\n return this.isValid ? Info.months(\"short\", {\n locObj: this.loc\n })[this.month - 1] : null;\n }\n /**\n * Get the human readable long month name, such as 'October'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).monthLong //=> October\n * @type {string}\n */\n\n }, {\n key: \"monthLong\",\n get: function get() {\n return this.isValid ? Info.months(\"long\", {\n locObj: this.loc\n })[this.month - 1] : null;\n }\n /**\n * Get the human readable short weekday, such as 'Mon'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon\n * @type {string}\n */\n\n }, {\n key: \"weekdayShort\",\n get: function get() {\n return this.isValid ? Info.weekdays(\"short\", {\n locObj: this.loc\n })[this.weekday - 1] : null;\n }\n /**\n * Get the human readable long weekday, such as 'Monday'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday\n * @type {string}\n */\n\n }, {\n key: \"weekdayLong\",\n get: function get() {\n return this.isValid ? Info.weekdays(\"long\", {\n locObj: this.loc\n })[this.weekday - 1] : null;\n }\n /**\n * Get the UTC offset of this DateTime in minutes\n * @example DateTime.now().offset //=> -240\n * @example DateTime.utc().offset //=> 0\n * @type {number}\n */\n\n }, {\n key: \"offset\",\n get: function get() {\n return this.isValid ? +this.o : NaN;\n }\n /**\n * Get the short human name for the zone's current offset, for example \"EST\" or \"EDT\".\n * Defaults to the system's locale if no locale has been specified\n * @type {string}\n */\n\n }, {\n key: \"offsetNameShort\",\n get: function get() {\n if (this.isValid) {\n return this.zone.offsetName(this.ts, {\n format: \"short\",\n locale: this.locale\n });\n } else {\n return null;\n }\n }\n /**\n * Get the long human name for the zone's current offset, for example \"Eastern Standard Time\" or \"Eastern Daylight Time\".\n * Defaults to the system's locale if no locale has been specified\n * @type {string}\n */\n\n }, {\n key: \"offsetNameLong\",\n get: function get() {\n if (this.isValid) {\n return this.zone.offsetName(this.ts, {\n format: \"long\",\n locale: this.locale\n });\n } else {\n return null;\n }\n }\n /**\n * Get whether this zone's offset ever changes, as in a DST.\n * @type {boolean}\n */\n\n }, {\n key: \"isOffsetFixed\",\n get: function get() {\n return this.isValid ? this.zone.universal : null;\n }\n /**\n * Get whether the DateTime is in a DST.\n * @type {boolean}\n */\n\n }, {\n key: \"isInDST\",\n get: function get() {\n if (this.isOffsetFixed) {\n return false;\n } else {\n return this.offset > this.set({\n month: 1\n }).offset || this.offset > this.set({\n month: 5\n }).offset;\n }\n }\n /**\n * Returns true if this DateTime is in a leap year, false otherwise\n * @example DateTime.local(2016).isInLeapYear //=> true\n * @example DateTime.local(2013).isInLeapYear //=> false\n * @type {boolean}\n */\n\n }, {\n key: \"isInLeapYear\",\n get: function get() {\n return isLeapYear(this.year);\n }\n /**\n * Returns the number of days in this DateTime's month\n * @example DateTime.local(2016, 2).daysInMonth //=> 29\n * @example DateTime.local(2016, 3).daysInMonth //=> 31\n * @type {number}\n */\n\n }, {\n key: \"daysInMonth\",\n get: function get() {\n return daysInMonth(this.year, this.month);\n }\n /**\n * Returns the number of days in this DateTime's year\n * @example DateTime.local(2016).daysInYear //=> 366\n * @example DateTime.local(2013).daysInYear //=> 365\n * @type {number}\n */\n\n }, {\n key: \"daysInYear\",\n get: function get() {\n return this.isValid ? daysInYear(this.year) : NaN;\n }\n /**\n * Returns the number of weeks in this DateTime's year\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2004).weeksInWeekYear //=> 53\n * @example DateTime.local(2013).weeksInWeekYear //=> 52\n * @type {number}\n */\n\n }, {\n key: \"weeksInWeekYear\",\n get: function get() {\n return this.isValid ? weeksInWeekYear(this.weekYear) : NaN;\n }\n }], [{\n key: \"DATE_SHORT\",\n get: function get() {\n return DATE_SHORT;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_MED\",\n get: function get() {\n return DATE_MED;\n }\n /**\n * {@link toLocaleString} format like 'Fri, Oct 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_MED_WITH_WEEKDAY\",\n get: function get() {\n return DATE_MED_WITH_WEEKDAY;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_FULL\",\n get: function get() {\n return DATE_FULL;\n }\n /**\n * {@link toLocaleString} format like 'Tuesday, October 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_HUGE\",\n get: function get() {\n return DATE_HUGE;\n }\n /**\n * {@link toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_SIMPLE\",\n get: function get() {\n return TIME_SIMPLE;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_SECONDS\",\n get: function get() {\n return TIME_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_SHORT_OFFSET\",\n get: function get() {\n return TIME_WITH_SHORT_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_LONG_OFFSET\",\n get: function get() {\n return TIME_WITH_LONG_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_SIMPLE\",\n get: function get() {\n return TIME_24_SIMPLE;\n }\n /**\n * {@link toLocaleString} format like '09:30:23', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_SECONDS\",\n get: function get() {\n return TIME_24_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 EDT', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_SHORT_OFFSET\",\n get: function get() {\n return TIME_24_WITH_SHORT_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_LONG_OFFSET\",\n get: function get() {\n return TIME_24_WITH_LONG_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_SHORT\",\n get: function get() {\n return DATETIME_SHORT;\n }\n /**\n * {@link toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_SHORT_WITH_SECONDS\",\n get: function get() {\n return DATETIME_SHORT_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED\",\n get: function get() {\n return DATETIME_MED;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED_WITH_SECONDS\",\n get: function get() {\n return DATETIME_MED_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED_WITH_WEEKDAY\",\n get: function get() {\n return DATETIME_MED_WITH_WEEKDAY;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_FULL\",\n get: function get() {\n return DATETIME_FULL;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_FULL_WITH_SECONDS\",\n get: function get() {\n return DATETIME_FULL_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_HUGE\",\n get: function get() {\n return DATETIME_HUGE;\n }\n /**\n * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_HUGE_WITH_SECONDS\",\n get: function get() {\n return DATETIME_HUGE_WITH_SECONDS;\n }\n }]);\n\n return DateTime;\n}();\nfunction friendlyDateTime(dateTimeish) {\n if (DateTime.isDateTime(dateTimeish)) {\n return dateTimeish;\n } else if (dateTimeish && dateTimeish.valueOf && isNumber(dateTimeish.valueOf())) {\n return DateTime.fromJSDate(dateTimeish);\n } else if (dateTimeish && typeof dateTimeish === \"object\") {\n return DateTime.fromObject(dateTimeish);\n } else {\n throw new InvalidArgumentError(\"Unknown datetime argument: \" + dateTimeish + \", of type \" + typeof dateTimeish);\n }\n}\n\nvar VERSION = \"1.28.0\";\n\nexports.DateTime = DateTime;\nexports.Duration = Duration;\nexports.FixedOffsetZone = FixedOffsetZone;\nexports.IANAZone = IANAZone;\nexports.Info = Info;\nexports.Interval = Interval;\nexports.InvalidZone = InvalidZone;\nexports.LocalZone = LocalZone;\nexports.Settings = Settings;\nexports.VERSION = VERSION;\nexports.Zone = Zone;\n//# sourceMappingURL=luxon.js.map\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n setInterval: setInterval\n});\n","/* global Bun -- Deno case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n setTimeout: setTimeout\n});\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t crypto = global.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && typeof require === 'function') {\n\t try {\n\t crypto = require('crypto');\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.map.constructor');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar create = require('../internals/object-create');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n // return step by kind\n if (kind == 'keys') return createIterResultObject(entry.key, false);\n if (kind == 'values') return createIterResultObject(entry.value, false);\n return createIterResultObject([entry.key, entry.value], false);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","(function(root){\n 'use strict';\n\n function NumberAbbreviate() {\n var units\n if (!(this instanceof NumberAbbreviate)) {\n // function usage: abbrev(n, decPlaces, units)\n var n = arguments[0]\n var decPlaces = arguments[1]\n units = arguments[2]\n var ab = new NumberAbbreviate(units)\n return ab.abbreviate(n, decPlaces)\n }\n // class usage: new NumberAbbreviate(units)\n units = arguments[0]\n this.units = units == null ? ['k', 'm', 'b', 't'] : units\n }\n\n NumberAbbreviate.prototype._abbreviate = function(number, decPlaces) {\n decPlaces = Math.pow(10, decPlaces)\n\n for (var i = this.units.length - 1; i >= 0; i--) {\n\n var size = Math.pow(10, (i + 1) * 3)\n\n if (size <= number) {\n number = Math.round(number * decPlaces / size) / decPlaces\n\n if ((number === 1000) && (i < this.units.length - 1)) {\n number = 1\n i++\n }\n\n number += this.units[i]\n\n break\n }\n }\n\n return number\n }\n\n NumberAbbreviate.prototype.abbreviate = function(number, decPlaces) {\n var isNegative = number < 0\n var abbreviatedNumber = this._abbreviate(Math.abs(number), decPlaces || 0)\n\n return isNegative ? '-' + abbreviatedNumber : abbreviatedNumber;\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = NumberAbbreviate\n } else {\n root.NumberAbbreviate = NumberAbbreviate\n }\n\n})(this);\n","class Type {\r\n\r\n /**\r\n * Attempts to determine the type of the provided value.\r\n *\r\n * @param {(Object|string)} type The type to check.\r\n * @returns {null|String}\r\n */\r\n static typeOf(type): String {\r\n if (typeof type === 'undefined') {\r\n return null;\r\n }\r\n\r\n if (typeof type.prototype !== 'object') {\r\n if (typeof type.__proto__ === 'object') {\r\n return type.__proto__.constructor.name;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n if (typeof type.prototype.constructor !== 'function') {\r\n return null;\r\n }\r\n\r\n return type.prototype.constructor.name;\r\n }\r\n\r\n /**\r\n * Tests if the provided value is of the specified type.\r\n *\r\n * @param {Object|string} value The value to test.\r\n * @param {Object|string} type The type to guarantee.\r\n * @returns {boolean}\r\n */\r\n static isTypeOf(value, type) : Boolean {\r\n return Type.typeOf(value) === Type.typeOf(type);\r\n }\r\n\r\n /**\r\n * Tests if the provided value has a value set.\r\n *\r\n * @param {(Object|string|number)} value The value to test.\r\n * @returns {boolean}\r\n */\r\n static hasValue(value) {\r\n if (typeof value === 'undefined') {\r\n return false;\r\n }\r\n\r\n return value !== null;\r\n }\r\n\r\n /**\r\n * Tests if all the provided value paths are set.\r\n *\r\n * @param {Array} values The paths to test.\r\n * @returns {boolean}\r\n */\r\n static hasAllValues(values : Array) {\r\n for (let i = 0; i < values.length; i += 1) {\r\n if (Type.hasValue(values[i]) === false) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * Returns the value, or the default if no value set.\r\n *\r\n * @param {(Object|string|number)} value The value to test.\r\n * @param {(Object|string|number)} defaultValue The default value, if any.\r\n * @returns {(Object|string|number)}\r\n */\r\n static withDefault(value, defaultValue) {\r\n if (Type.hasValue(value)) {\r\n return value;\r\n }\r\n\r\n return defaultValue;\r\n }\r\n\r\n}\r\n\r\nexport default Type;\r\n","class Convert {\r\n\r\n /**\r\n * Attempts to convert the provided value to an integer.\r\n *\r\n * @param {String|number|null} val The value to convert.\r\n * @returns {number}\r\n */\r\n static toInt(val) {\r\n if (typeof val === 'undefined' || val === null) {\r\n return 0;\r\n }\r\n\r\n let result = parseInt(val, 10);\r\n\r\n if (isNaN(result)) {\r\n return 0;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n}\r\n\r\nexport default Convert;\r\n","class Guid {\r\n\r\n static newGuid(): string {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n}\r\n\r\nexport default Guid;\r\n","import Type from './type';\r\n\r\nclass Range {\r\n\r\n /**\r\n * Generates a range between the provided min and maximum.\r\n *\r\n * @param {Number} min Where the range should start.\r\n * @param {Number} max Where the range should end.\r\n * @param {Number} step The amount to increment each range element. Default: 1.\r\n * @returns {Array}\r\n */\r\n static get(min: Number, max: Number, step: Number): Array {\r\n step = Type.withDefault(step, 1);\r\n\r\n let range = [];\r\n\r\n for (let i = min; i <= max; i += step) {\r\n range.push(i);\r\n }\r\n\r\n return range;\r\n }\r\n\r\n}\r\n\r\nexport default Range;\r\n","import Type from './type';\n\nclass String {\n\n /**\n * Limits the value's length.\n *\n * @param {string} value The value to limit.\n * @param {Number} limit The maximum number of characters of the value.\n * @param {string} cap An optional end cap. Defaults to `...`.\n * @returns {string}\n */\n static truncate(value: string, limit: Number, cap: string): string {\n if (Type.hasValue(cap) === false) {\n cap = '...';\n }\n\n if (value.length > limit) {\n return value.substr(0, limit - 1) + cap;\n }\n\n return value;\n }\n\n /**\n * Tests if the value has a string value.\n *\n * @param {string|null} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n\n if (Type.hasValue(value) === false) {\n return false;\n }\n\n if (value.constructor.name !== 'String') {\n return false;\n }\n\n return value.trim().length !== 0;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {string} value The value to test.\n * @param {string} defaultValue The value to return if no value present.\n * @returns {string|*}\n */\n static withDefault(value, defaultValue: string): string {\n if (String.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n /**\n * Ensures the value ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static finish(value: string, suffix: string): string {\n if (String.endsWith(value, suffix)) {\n return value;\n }\n\n return value + suffix;\n }\n\n /**\n * Ensures the value begins with the prefix.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static start(value: string, prefix: string): string {\n if (String.startsWith(value, prefix)) {\n return value;\n }\n\n return prefix + value;\n }\n\n /**\n * Indicates if the value string starts with the value.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static startsWith(value: string, prefix: string): string {\n return (value.substr(0, prefix.length) === prefix);\n }\n\n /**\n * Indicates if the value string ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static endsWith(value: string, suffix: string): string {\n return (value.substr(value.length - suffix.length) === suffix);\n }\n\n /**\n * Formats the provided value with the replacements.\n *\n * @param {string} value\n * @param {array|string} replacements\n */\n static format(value, ...replacements) {\n let content = value;\n\n for (let i = 0; i < replacements.length; i++) {\n let replacement = '{' + i + '}';\n\n content = content.replace(replacement, replacements[i]);\n }\n\n return content;\n }\n\n /**\n * Transforms the value's first character to upper-cased.\n *\n * @param {string} value The value to transform.\n * @returns {string}\n */\n static ucFirst(value: string): string {\n if (String.hasValue(value) === false) {\n return value;\n }\n\n if (value.length === 1) {\n return value.toUpperCase();\n }\n\n return value.charAt(0).toUpperCase() + value.slice(1);\n }\n\n}\n\nexport default String;\n","class Url {\r\n\r\n static toAbsolute(base: string, relative: string): string {\r\n let stack = base.split('/'),\r\n parts = relative.split('/');\r\n\r\n stack.pop();\r\n\r\n for (let i = 0; i < parts.length; i += 1) {\r\n if (parts[i] === '.') {\r\n continue;\r\n }\r\n\r\n if (parts[i] === '..') {\r\n stack.pop();\r\n } else {\r\n stack.push(parts[i]);\r\n }\r\n }\r\n\r\n return stack.join('/');\r\n }\r\n\r\n static current() {\r\n return window.location.href;\r\n }\r\n\r\n static currentLastValue() {\r\n return Url.lastValue(Url.current());\r\n\r\n }\r\n\r\n static lastValue(url: string) {\r\n let parts = url.split('?'),\r\n nonParamPart = parts[0].split('/');\r\n\r\n if (nonParamPart.length === 0) {\r\n return '';\r\n }\r\n\r\n return nonParamPart[nonParamPart.length - 1];\r\n }\r\n\r\n}\r\n\r\nexport default Url;\r\n","import String from '../../Types/string';\r\nimport Type from '../../Types/type';\r\n\r\nclass Author {\r\n\r\n constructor() {\r\n this.id = null;\r\n this.initials = '';\r\n this.email = '';\r\n this.hasUser = false;\r\n this.name = '';\r\n this.userAgent = '';\r\n this.userIp = '';\r\n this.webAddress = '';\r\n }\r\n\r\n /**\r\n * Tests if the author contains an email address value.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasEmailAddress(): Boolean {\r\n return String.hasValue(this.email);\r\n }\r\n\r\n /**\r\n * Tests if the author contains a web address value.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasWebAddress(): Boolean {\r\n return String.hasValue(this.webAddress);\r\n }\r\n\r\n /**\r\n * Converts an API object into an Author instance.\r\n *\r\n * @param {Object} apiObject The result from the API.\r\n * @returns {Author}\r\n */\r\n static fromApiObject(apiObject): Author {\r\n let author = new Author();\r\n\r\n author.id = Type.withDefault(apiObject[Author.ApiId], null);\r\n author.initials = Type.withDefault(apiObject[Author.ApiInitials], '');\r\n author.email = Type.withDefault(apiObject[Author.ApiEmail], '');\r\n author.hasUser = Type.withDefault(apiObject[Author.ApiHasUser], false);\r\n author.name = Type.withDefault(apiObject[Author.ApiName], '');\r\n author.userAgent = Type.withDefault(apiObject[Author.ApiUserAgent], '');\r\n author.userIp = Type.withDefault(apiObject[Author.ApiUserIp], '');\r\n author.webAddress = Type.withDefault(apiObject[Author.ApiWebAddress], '');\r\n\r\n return author;\r\n }\r\n\r\n}\r\n\r\nAuthor.ApiId = 'id';\r\nAuthor.ApiInitials = 'initials';\r\nAuthor.ApiWebAddress = 'url';\r\nAuthor.ApiEmail = 'email';\r\nAuthor.ApiHasUser = 'has_user';\r\nAuthor.ApiName = 'name';\r\nAuthor.ApiUserAgent = 'user_agent';\r\nAuthor.ApiUserIp = 'user_ip';\r\n\r\nexport default Author;\r\n","class ThreadContext {\r\n\r\n constructor() {\r\n this.id = null;\r\n this.name = '';\r\n this.createdUtc = 0;\r\n }\r\n\r\n static fromApiObject(apiObject) : ThreadContext {\r\n let context = new ThreadContext();\r\n\r\n context.id = apiObject.contextId;\r\n context.name = apiObject.contextName;\r\n context.createdUtc = apiObject.createdUtc;\r\n\r\n return context;\r\n }\r\n\r\n}\r\n\r\nexport default ThreadContext;\r\n","import Type from '../../Types/type';\r\nimport String from '../../Types/string';\r\n\r\nclass BaseResponse {\r\n\r\n constructor() {\r\n this.success = true;\r\n this.isRecoverable = false;\r\n this.errorCode = null;\r\n this.msg = '';\r\n this.error = null;\r\n this.authorized = true;\r\n this.permission = null;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): BaseResponse {\r\n let response = new BaseResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n return response;\r\n }\r\n\r\n static applyResponseToObject(apiResponse, err, object) {\r\n object.success = Type.withDefault(apiResponse[BaseResponse.ApiSuccess], false);\r\n object.isRecoverable = Type.withDefault(apiResponse[BaseResponse.ApiIsRecoverable], true);\r\n object.errorCode = Type.withDefault(apiResponse[BaseResponse.ApiErrorCode], null);\r\n object.msg = String.withDefault(apiResponse[BaseResponse.ApiMessage], '');\r\n object.error = Type.withDefault(err, null);\r\n }\r\n\r\n}\r\n\r\nBaseResponse.ApiSuccess = 'success';\r\nBaseResponse.ApiIsRecoverable = 'is_recoverable';\r\nBaseResponse.ApiMessage = 'msg';\r\nBaseResponse.ApiErrorCode = 'error_code';\r\n\r\nexport default BaseResponse;\r\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ErrorResponse extends BaseResponse {\n\n static fromError(err) {\n let response = new ErrorResponse();\n\n response.success = false;\n response.error = err;\n\n if (Type.hasValue(err, 'response')) {\n if (Type.hasValue(err.response, 'status')) {\n if (err.response.status === 403) {\n response.authorized = false;\n response.permission = err.response.headers.get('meerkat-permission');\n }\n }\n }\n\n return response;\n }\n\n static makeStateError() {\n let response = new ErrorResponse();\n\n response.success = false;\n response.err = null;\n\n return response;\n }\n\n getMessage(): string {\n return Type.typeOf(this.error) + '\\n' + this.error.message + '\\n' + this.error.stack;\n }\n\n}\n\nexport default ErrorResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass CommentMutationResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.autoDeleted = false;\n this.comments = [];\n this.comment = null;\n }\n\n static fromApiResponse(apiResponse, err): CommentMutationResponse {\n let response = new CommentMutationResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n\n response.comment = Type.withDefault(apiResponse[CommentMutationResponse.ApiComment], null);\n response.comments = Type.withDefault(apiResponse[CommentMutationResponse.ApiComments], []);\n response.autoDeleted = Type.withDefault(apiResponse[CommentMutationResponse.ApiAutoDeleted], false);\n\n return response;\n }\n\n}\n\nCommentMutationResponse.ApiComments = 'comments';\nCommentMutationResponse.ApiAutoDeleted = 'auto_deleted';\nCommentMutationResponse.ApiComment = 'comment';\n\nexport default CommentMutationResponse;\n","import BaseResponse from './baseResponse';\r\nimport Type from '../../Types/type';\r\n\r\nclass AffectedCommentsResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.partialSuccess = false;\r\n this.comments = [];\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): AffectedCommentsResponse {\r\n let response = new AffectedCommentsResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.comments = Type.withDefault(apiResponse[AffectedCommentsResponse.ApiComments], []);\r\n\r\n if (response.success === false && response.comments.length > 0) {\r\n response.partialSuccess = true;\r\n }\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nAffectedCommentsResponse.ApiComments = 'comments';\r\n\r\nexport default AffectedCommentsResponse;\r\n","import {Type, Convert, String} from '../../Types/common';\r\nimport {canBeSelected} from '../Concerns/canBeSelected';\r\nimport Author from './author';\r\nimport ThreadContext from './threadContext';\r\nimport ErrorResponse from '../../Http/Responses/errorResponse';\r\nimport CommentMutationResponse from '../../Http/Responses/commentMutationResponse';\r\nimport AffectedCommentsResponse from '../../Http/Responses/AffectedCommentsResponse';\r\n\r\nconst syncjs = require('syncjs'),\r\n {DateTime} = require('luxon');\r\n\r\n/**\r\n * @member {boolean} isSelected\r\n */\r\nclass Comment {\r\n\r\n constructor() {\r\n\r\n canBeSelected(this);\r\n\r\n /** {CommentResponse} */\r\n this._internalCommentResponse = null;\r\n\r\n this.isNew = true;\r\n\r\n this.id = null;\r\n this.parentId = null;\r\n this.authorId = null;\r\n this.parentAuthorId = null;\r\n this.contextId = null;\r\n this.internalContextId = null;\r\n this.internalRoot = null;\r\n\r\n this.ancestors = [];\r\n this.children = [];\r\n this.runtimeDate = null;\r\n this.localDateFormatted = null;\r\n this.commentDate = null;\r\n this.commentDateFormatted = null;\r\n this.replies = [];\r\n this.content = '';\r\n this.contentRaw = '';\r\n this.depth = 1;\r\n this.descendents = [];\r\n this.hasReplies = false;\r\n this.internalContentTruncated = false;\r\n this.isReply = false;\r\n this.isParent = false;\r\n this.isRoot = false;\r\n this.published = false;\r\n this.revisionCount = 0;\r\n this.isDeleted = false;\r\n this.hasAuthorEmail = false;\r\n this.hasAuthorName = false;\r\n this.controlPanelViewEntryUrl = '';\r\n\r\n this.hasBeenCheckedForSpam = false;\r\n this.isSpam = null;\r\n\r\n this.state = {\r\n isEditing: false,\r\n isReplying: false,\r\n reply: null\r\n };\r\n\r\n this.editProperties = null;\r\n\r\n syncjs.reactsToType(this, {'identity': 'id'});\r\n }\r\n\r\n onCommentPublished() {\r\n this.published = true;\r\n }\r\n\r\n onCommentUnpublished() {\r\n this.published = false;\r\n }\r\n\r\n onCommentMarkedAsSpam() {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = true;\r\n }\r\n\r\n onCommentMarkedAsHam() {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = false;\r\n }\r\n\r\n onCommentRemoved() {\r\n this.isSelected = false;\r\n this.cancelReply();\r\n this.cancelEditing();\r\n this.isDeleted = true;\r\n }\r\n\r\n onCommentUpdated(newVal : Comment) {\r\n this.content = newVal.content;\r\n }\r\n\r\n startReplying() {\r\n if (this.state.isEditing === true) {\r\n this.cancelWithDraft();\r\n }\r\n\r\n if (this.state.reply === null) {\r\n this.state.reply = new Comment();\r\n this.state.reply.parentId = this.id;\r\n }\r\n\r\n this.state.isReplying = true;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.setReplying(this);\r\n }\r\n }\r\n\r\n cancelReplyWithDraft() {\r\n this.state.isReplying = false;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelReplying(this);\r\n }\r\n }\r\n\r\n cancelReply() {\r\n if (this.state.isReplying === true) {\r\n this.state.isReplying = false;\r\n this.state.reply = null;\r\n }\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelReplying(this);\r\n }\r\n }\r\n\r\n startEditing() {\r\n if (this.editProperties === null) {\r\n this.editProperties = Object.assign({}, this);\r\n }\r\n\r\n this.state.isEditing = true;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.setEditing(this);\r\n }\r\n }\r\n\r\n cancelWithDraft() {\r\n this.state.isEditing = false;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelEditing(this);\r\n }\r\n }\r\n\r\n cancelEditing() {\r\n this.state.isEditing = false;\r\n this.editProperties = null;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelEditing(this);\r\n }\r\n }\r\n\r\n /**\r\n * Tests if the comment has an author.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasAuthor(): Boolean {\r\n return String.hasValue(this.authorId);\r\n }\r\n\r\n /**\r\n * Tests if the comment has a parent author.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasParentAuthor(): Boolean {\r\n return String.hasValue(this.parentAuthorId);\r\n }\r\n\r\n /**\r\n * Tests if the comment has a thread context available.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasThreadContext(): Boolean {\r\n return String.hasValue(this.contextId);\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's author.\r\n *\r\n * @returns {null|Author}\r\n */\r\n getAuthor(): Author {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasAuthor()) {\r\n return this._internalCommentResponse.getResponseAuthor(this.authorId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's parent author, if available.\r\n *\r\n * @returns {null|Author}\r\n */\r\n getParentAuthor(): Author {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasParentAuthor()) {\r\n return this._internalCommentResponse.getResponseAuthor(this.parentAuthorId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's thread context, if available.\r\n *\r\n * @returns {ThreadContext|null}\r\n */\r\n getThreadContext(): ThreadContext {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasThreadContext()) {\r\n return this._internalCommentResponse.getResponseThread(this.contextId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Gets the thread name, if available.\r\n *\r\n * @returns {string}\r\n */\r\n getThreadName() : String {\r\n let threadContext = this.getThreadContext();\r\n\r\n if (threadContext !== null) {\r\n return threadContext.name;\r\n }\r\n\r\n return '';\r\n }\r\n\r\n /**\r\n * Converts an API response object to a new Comment instance.\r\n *\r\n * @param {Object} apiObject The API response object.\r\n * @returns {Comment}\r\n */\r\n static fromApiObject(apiObject: Object): Comment {\r\n let comment = new Comment();\r\n\r\n comment.id = Type.withDefault(apiObject[Comment.ApiId], null);\r\n\r\n if (comment.id === null) {\r\n throw new Error('Comment with a NULL id was supplied.');\r\n }\r\n\r\n comment.authorId = Type.withDefault(apiObject[Comment.ApiAuthor], null);\r\n comment.parentAuthorId = Type.withDefault(apiObject[Comment.ApiParentAuthor], null);\r\n comment.contextId = Type.withDefault(apiObject[Comment.ApiContext], null);\r\n comment.internalContextId = Type.withDefault(apiObject[Comment.ApiInternalContextId], null);\r\n comment.internalRoot = Type.withDefault(apiObject[Comment.ApiInternalRoot], Convert.toInt(comment.id));\r\n comment.ancestors = Type.withDefault(apiObject[Comment.ApiAncestors], []);\r\n comment.children = Type.withDefault(apiObject[Comment.ApiChildren], []);\r\n comment.commentDate = Type.withDefault(apiObject[Comment.ApiCommentDate], null);\r\n comment.commentDateFormatted = Type.withDefault(apiObject[Comment.ApiCommentDateFormatted], null);\r\n comment.replies = Type.withDefault(apiObject[Comment.ApiComments], []);\r\n comment.content = Type.withDefault(apiObject[Comment.ApiContent], '');\r\n comment.contentRaw = Type.withDefault(apiObject[Comment.ApiContentRaw], '');\r\n comment.runtimeDate = DateTime.fromSeconds(parseInt(comment.id, 10), {zone: 'UTC'}).toLocal();\r\n comment.localDateFormatted = comment.runtimeDate.toLocaleString(DateTime.DATETIME_MED);\r\n comment.depth = Type.withDefault(apiObject[Comment.ApiDepth], 1);\r\n comment.descendents = Type.withDefault(apiObject[Comment.ApiDescendents], []);\r\n comment.hasReplies = Type.withDefault(apiObject[Comment.ApiHasReplies], false);\r\n comment.internalContentTruncated = Type.withDefault(apiObject[Comment.ApiInternalContentTruncated], false);\r\n comment.isReply = Type.withDefault(apiObject[Comment.ApiIsReply], false);\r\n comment.isParent = Type.withDefault(apiObject[Comment.ApiIsParent], false);\r\n comment.parentId = Type.withDefault(apiObject[Comment.ApiParentId], null);\r\n comment.isRoot = Type.withDefault(apiObject[Comment.ApiIsRoot], true);\r\n comment.published = Type.withDefault(apiObject[Comment.ApiPublished], false);\r\n comment.revisionCount = Type.withDefault(apiObject[Comment.ApiRevisionCount], 0);\r\n comment.hasBeenCheckedForSpam = Type.withDefault(apiObject[Comment.ApiHasCheckedForSpam], false);\r\n comment.hasAuthorEmail = Type.withDefault(apiObject[Comment.ApiCommentHasAuthorEmail], false);\r\n comment.hasAuthorName = Type.withDefault(apiObject[Comment.ApiCommentHasAuthorName], false);\r\n comment.controlPanelViewEntryUrl = Type.withDefault(apiObject[Comment.ApiControlPanelUrl], '#');\r\n\r\n if (comment.hasBeenCheckedForSpam) {\r\n comment.isSpam = Type.withDefault(apiObject[Comment.ApiSpam], true);\r\n } else {\r\n comment.isSpam = null;\r\n }\r\n\r\n return comment;\r\n }\r\n\r\n saveReply(): Promise {\r\n if (this.state.isReplying === true && this.state.reply !== null) {\r\n let contentToSave = this.state.reply.content;\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.attachReply(this.id, contentToSave).then(function (result) {\r\n if (result.success) {\r\n this.descendents.push(result.comment.id);\r\n this.replies.push(result.comment.id);\r\n this.cancelReply();\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n reject(ErrorResponse.makeStateError());\r\n });\r\n }\r\n\r\n save(): Promise {\r\n let contentToSave = this.content;\r\n\r\n if (this.state.isEditing && this.editProperties !== null) {\r\n contentToSave = this.editProperties.content;\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.update(this.id, contentToSave).then(function (result) {\r\n\r\n if (result.success) {\r\n this.content = result.comment.content;\r\n\r\n if (this.state.isEditing) {\r\n this.cancelEditing();\r\n }\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n delete(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.delete(this.id).then(function (result) {\r\n if (result.success) {\r\n this.isDeleted = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n publish(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.publish(this.id).then(function (result) {\r\n if (result.success) {\r\n this.published = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n unpublish(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.unpublish(this.id).then(function (result) {\r\n if (result.success) {\r\n this.published = false;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n markAsSpam(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.markAsSpam(this.id).then(function (result) {\r\n if (result.success) {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n markAsNotSpam(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.markAsNotSpam(this.id).then(function (result) {\r\n if (result.success) {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = false;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n}\r\n\r\nComment.ApiAncestors = 'ancestors';\r\nComment.ApiAuthor = 'author';\r\nComment.ApiParentAuthor = 'internal_parent_author';\r\nComment.ApiChildren = 'children';\r\nComment.ApiCommentDate = 'comment_date';\r\nComment.ApiCommentDateFormatted = 'comment_date_formatted';\r\nComment.ApiComments = 'comments';\r\nComment.ApiContent = 'content';\r\nComment.ApiContentRaw = 'content_raw';\r\nComment.ApiContext = 'context';\r\nComment.ApiDepth = 'depth';\r\nComment.ApiDescendents = 'descendents';\r\nComment.ApiHasReplies = 'has_replies';\r\nComment.ApiId = 'id';\r\nComment.ApiCommentHasAuthorEmail = 'internal_author_has_email';\r\nComment.ApiCommentHasAuthorName = 'internal_author_has_name';\r\nComment.ApiInternalContentTruncated = 'internal_content_truncated';\r\nComment.ApiInternalContextId = 'internal_context_id';\r\nComment.ApiInternalRoot = 'internal_root';\r\nComment.ApiIsReply = 'isReply';\r\nComment.ApiParentId = 'parent';\r\nComment.ApiIsParent = 'is_parent';\r\nComment.ApiIsRoot = 'is_root';\r\nComment.ApiPublished = 'published';\r\nComment.ApiRevisionCount = 'revision_count';\r\nComment.ApiSpam = 'spam';\r\nComment.ApiHasCheckedForSpam = 'has_checked_for_spam';\r\nComment.ApiControlPanelUrl = '_cp_view_entry_url';\r\n\r\nexport default Comment;\r\n","export function canBeSelected(instance) {\r\n instance.isSelected = false;\r\n\r\n instance.select = function () {\r\n this.isSelected = true;\r\n }.bind(instance);\r\n\r\n instance.unselect = function () {\r\n this.isSelected = false;\r\n }.bind(instance);\r\n}\r\n","/** Registers the syncjs hubs that are used across the app implementation. */\nimport Type from '../Types/type';\nimport Comment from '../Data/Comments/comment';\n\n/** Create some syncjs hubs that we will use throughout. */\nconst syncjs = require('syncjs');\n\nexport function registerHubs() {\n syncjs.Hubs.make('comments', Type.typeOf(Comment));\n syncjs.Hubs.make('config', Type.typeOf({}));\n}\n","class Settings {\n\n constructor() {\n this.avatarDriver = '';\n this.controlPanelConfigurationEnabled = false;\n }\n\n}\n\nexport default Settings;\n","export default {\r\n canApproveComments: false,\r\n canEditComments: false,\r\n canRemoveComments: false,\r\n canReplyToComments: false,\r\n canReportAsHam: false,\r\n canReportAsSpam: false,\r\n canUnApproveComments: false,\r\n canViewComments: false\r\n};\r\n","import jQuery from '../Types/jQuery';\r\nimport Settings from './settings';\r\nimport Type from '../Types/type';\r\nimport String from '../Types/string';\r\nimport DefaultPermissionSet from '../Data/defaultPermissionSet';\r\n\r\nclass Environment {\r\n\r\n static window() {\r\n return Environment.CONTEXT_WINDOW;\r\n }\r\n\r\n /**\r\n * @param {string} selector\r\n * @returns {*}\r\n */\r\n static $(selector: string): jQuery {\r\n return Environment.ContextJquery.apply(null, arguments);\r\n }\r\n\r\n /**\r\n * Moves the visible window to the top of the document.\r\n */\r\n static scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n /**\r\n * Returns the current user's permission set.\r\n *\r\n * @returns {Object|string|number}\r\n */\r\n static getPermissions(): Object {\r\n return Type.withDefault(Environment.UserContext, DefaultPermissionSet);\r\n }\r\n\r\n /**\r\n * Tests if Control Panel configuration has been enabled.\r\n *\r\n * @returns {boolean}\r\n */\r\n static isControlPanelConfigEnabled(): Boolean {\r\n let curValue = Type.withDefault(Environment.Settings['controlPanelConfigurationEnabled'], true);\r\n\r\n return (curValue === true);\r\n }\r\n\r\n static getCsrfToken(): string {\r\n return window.Statamic.$config.get('csrfToken');\r\n }\r\n\r\n static pushHistoryState(relativeUrl) {\r\n if (window.history.pushState) {\r\n let fullUrl = String.finish(Environment.StatamicCpRoot, '/') + 'meerkat/' + relativeUrl;\r\n\r\n window.history.pushState({urlPath: fullUrl}, '', fullUrl);\r\n }\r\n }\r\n\r\n}\r\n\r\nEnvironment.MarkdownHandler = null;\r\nEnvironment.Settings = new Settings();\r\nEnvironment.UserContext = null;\r\nEnvironment.UserPreferences = {\r\n 'cp_avatar_driver': 'initials',\r\n 'cp_per_page': 10\r\n};\r\nEnvironment.Preferences = null;\r\n\r\nEnvironment.StatamicApiRoot = '';\r\nEnvironment.StatamicCpRoot = '';\r\nEnvironment.ContextJquery = null;\r\nEnvironment.ContextVueJs = null;\r\nEnvironment.ContextComponentRegister = null;\r\n\r\nexport default Environment;\r\n","import entryTemplate from './blueprintEntry.html';\r\n\r\n/**\r\n * Provides utilities for adding entries to the\r\n * Blueprints Statamic Control list at runtime.\r\n */\r\nclass Blueprints {\r\n\r\n /**\r\n * Adds an entry to the Blueprints Collections list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addCollectionsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_COLLECTIONS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Taxonomies list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addTaxonomiesEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_TAXONOMIES),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Globals list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addGlobalsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_GLOBALS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Asset Containers list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addAssetContainersEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_CONTAINERS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Forms list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addFormsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_FORMS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Other list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addOtherEntry(svgIcon, title, url) {\r\n let allTables = window.jQuery('table.data-table'),\r\n otherTable = allTables[allTables.length - 1];\r\n\r\n this.addTableEntry(\r\n otherTable,\r\n svgIcon,\r\n title,\r\n url\r\n );\r\n }\r\n\r\n getTable(table) {\r\n return window.jQuery('table.data-table')[table];\r\n }\r\n\r\n /**\r\n * Adds a new entry to the provided table.\r\n *\r\n * @param table\r\n * @param svgIcon\r\n * @param url\r\n * @param title\r\n */\r\n addTableEntry(table, svgIcon, title, url) {\r\n let newEntry = entryTemplate;\r\n\r\n newEntry = newEntry.replace('@svg', svgIcon);\r\n newEntry = newEntry.replace('@title', title);\r\n newEntry = newEntry.replace('@url', url);\r\n\r\n window.jQuery(table).find('tbody').append(window.jQuery(\r\n newEntry\r\n ));\r\n }\r\n\r\n}\r\n\r\nBlueprints.TABLE_COLLECTIONS = 0;\r\nBlueprints.TABLE_TAXONOMIES = 1;\r\nBlueprints.TABLE_GLOBALS = 2;\r\nBlueprints.TABLE_CONTAINERS = 3;\r\nBlueprints.TABLE_FORMS = 4;\r\nBlueprints.TABLE_OTHER = 5;\r\n\r\nexport default Blueprints;\r\n","/**\r\n * Provides utilities for interacting with Statamic's Control Panel toast bus.\r\n */\r\nclass Notifications {\r\n\r\n /**\r\n * Displays a success message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n success(message, options) {\r\n window.Statamic.$toast.success(message, options);\r\n }\r\n\r\n /**\r\n * Displays an information message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n info(message, options) {\r\n window.Statamic.$toast.info(message, options);\r\n }\r\n\r\n /**\r\n * Displays an error message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n error(message, options) {\r\n window.Statamic.$toast.error(message, options);\r\n }\r\n\r\n}\r\n\r\nexport default Notifications;\r\n","export function debounce(func, wait, immediate) {\r\n let timeout;\r\n\r\n return function () {\r\n let context = this, args = arguments, later = function () {\r\n timeout = null;\r\n if (!immediate) func.apply(context, args);\r\n };\r\n\r\n let callNow = immediate && !timeout;\r\n\r\n clearTimeout(timeout);\r\n timeout = setTimeout(later, wait);\r\n if (callNow) func.apply(context, args);\r\n };\r\n}\r\n","import Environment from '../Config/environment';\nimport {debounce} from '../utils';\n\nclass Addons {\n\n runActualLinkCheck(packageName, link) {\n let matchingElement = Environment.ContextJquery('td').filter(function () {\n return Environment.ContextJquery(this).text() === packageName;\n });\n\n if (matchingElement !== null && matchingElement.length === 1) {\n let parentElement = Environment.ContextJquery(matchingElement).parent(),\n alreadyInjected = parentElement.data('addon-listing-updated');\n\n if (typeof alreadyInjected === 'undefined' || alreadyInjected === null || alreadyInjected.trim().length === '') {\n parentElement.data('addon-listing-updated', 'true');\n\n parentElement.find('td').each(function () {\n let currentElement = Environment.ContextJquery(this),\n currentContent = currentElement.text(),\n newInnerContent = '' + currentContent + '';\n\n currentElement.html(newInnerContent);\n });\n }\n }\n }\n\n addLinkToPackage(packageName, link) {\n Environment.ContextJquery('body').bind('DOMSubtreeModified', function () {\n debounce(this.runActualLinkCheck(packageName, link), 250);\n }.bind(this));\n }\n\n}\n\nexport default Addons;\n","import Environment from '../Config/environment';\nimport Blueprints from './blueprints';\nimport Notifications from './Notifications';\nimport Addons from './addons';\n\nclass ControlPanel {\n\n constructor() {\n this._blueprints = new Blueprints();\n this._notif = new Notifications();\n this._addons = new Addons();\n }\n\n blueprints(): Blueprints {\n return this._blueprints;\n }\n\n addons(): Addons {\n return this._addons;\n }\n\n message(): Notifications {\n return this._notif;\n }\n\n /**\n * Generates a Statamic Control Panel URL.\n *\n * @param path\n * @returns {string}\n */\n static cpUrl(path) {\n return Environment.StatamicCpRoot + path;\n }\n\n}\n\nexport default ControlPanel;\n","import BlueprintHook from './Statamic/Hooks/blueprintHook';\nimport AddonConfigHook from './Statamic/Hooks/addonConfigHook';\n\nlet controlPanelHooks = [\n {\n 'path': /^(.*?)\\/fields\\/blueprints(.*?)$/,\n 'uses': BlueprintHook\n },\n {\n 'path': /^(.*?)\\/addons(.*?)$/,\n 'uses': AddonConfigHook\n }\n];\n\nexport {\n controlPanelHooks\n};\n","import commentIcon from '../../Icons/comment.html';\r\nimport ControlPanel from '../controlPanel';\r\n\r\nclass BlueprintHook {\r\n\r\n static run(app) {\r\n app.controlPanel.blueprints().addOtherEntry(\r\n commentIcon,\r\n 'Meerkat Comments',\r\n ControlPanel.cpUrl('meerkat/blueprint')\r\n );\r\n }\r\n\r\n}\r\n\r\nexport default BlueprintHook;\r\n","class AddonConfigHook {\n\n static run(app) {\n app.controlPanel.addons().addLinkToPackage('stillat/meerkat', app.url('addons/meerkat/settings'));\n }\n\n}\n\nexport default AddonConfigHook;\n","class Translator {\r\n\r\n translate(val) : String {\r\n throw new Error('Translator instance not supplied.');\r\n }\r\n\r\n errorCode(errorCode) : String {\r\n let targetKey = this.translate('codes.' + errorCode);\r\n\r\n return this.translate(targetKey);\r\n }\r\n\r\n}\r\n\r\n/**\r\n * A shared translator implementation instance.\r\n *\r\n * @type {(Translator|null)}\r\n */\r\nTranslator.Instance = new Translator();\r\n\r\nexport default Translator;\r\n","export default {\r\n addonName: 'Meerkat',\r\n codeAddonName: 'meerkat',\r\n addonId: 'stillat/meerkat'\r\n};\r\n","import Translator from '../Translation/translator';\r\nimport String from '../Types/string';\r\nimport Addon from 'addon';\r\n\r\nclass StatamicTranslator extends Translator {\r\n\r\n translate(val): String {\r\n return window.__(String.format('{0}::{1}', Addon.codeAddonName, val));\r\n }\r\n\r\n}\r\n\r\nexport default StatamicTranslator;\r\n","import Type from '../../Types/type';\nimport Environment from '../../Config/environment';\n\nclass AvatarDriverRegistry {\n\n /**\n * Registers the Avatar drivers with the VueJS and CoreJS runtime.\n */\n static registerDriversWithRunTime() {\n for (let driver in AvatarDriverRegistry.Drivers) {\n let driverComponent = AvatarDriverRegistry.Drivers[driver];\n\n Environment.ContextVueJs.component(driver, driverComponent);\n }\n }\n\n /**\n * Generates an internal driver name.\n *\n * @param {string} name The driver name.\n * @returns {string}\n */\n static getDriverName(name): String {\n return 'meerkat_avatarDriver_' + name;\n }\n\n /**\n * Registers a new avatar driver.\n *\n * @param {String} driverName The driver name.\n * @param {String} displayName A user-friendly name for the driver.\n * @param {Object} driverComponent The driver component.\n */\n static registerDriver(driverName, displayName, driverComponent) {\n let newDriverName = AvatarDriverRegistry.getDriverName(driverName);\n\n AvatarDriverRegistry.DriverMapping[driverName] = displayName;\n AvatarDriverRegistry.Drivers[newDriverName] = driverComponent;\n AvatarDriverRegistry.DisplayNames[newDriverName] = displayName;\n }\n\n /**\n * Sets the Avatar driver mapping.\n *\n * @param {Object} drivers The driver mapping to set.\n */\n static setDrivers(drivers) {\n AvatarDriverRegistry.Drivers = drivers;\n }\n\n /**\n * Sets the Avatar driver display name mapping.\n *\n * @param {Object} displayNames The display names.\n */\n static setDisplayNames(displayNames: Object) {\n AvatarDriverRegistry.DisplayNames = displayNames;\n }\n\n /**\n * Gets the Avatar driver display name mapping.\n *\n * @returns {Object}\n */\n static getDisplayNames(): Object {\n return AvatarDriverRegistry.DisplayNames;\n }\n\n /**\n * Gets the avatar driver mapping.\n *\n * @returns {Object}\n */\n static getDrivers(): Object {\n return AvatarDriverRegistry.Drivers;\n }\n\n /**\n * Tests if a driver with the provided name has been registered.\n *\n * @param {string} driverName The driver name.\n * @returns {boolean}\n */\n static hasDriver(driverName): Boolean {\n return Type.hasValue(AvatarDriverRegistry.Drivers[AvatarDriverRegistry.getDriverName(driverName)]);\n }\n\n}\n\nAvatarDriverRegistry.DefaultDriverName = 'initials';\nAvatarDriverRegistry.DisplayNames = {};\nAvatarDriverRegistry.Drivers = {};\nAvatarDriverRegistry.DriverMapping = {};\n\nexport default AvatarDriverRegistry;\n","import Environment from '../Config/environment';\r\nimport Type from '../Types/type';\r\n\r\n/**\r\n * Attempts to parse the provided content as Markdown.\r\n *\r\n * @param {string} content The content to parse.\r\n * @returns {string|*}\r\n */\r\nexport function parseMarkdown(content : string) : string {\r\n if (Type.hasValue(Environment.MarkdownHandler)) {\r\n return Environment.MarkdownHandler(content);\r\n }\r\n\r\n return content;\r\n}\r\n","import String from '../Types/string';\r\nimport {parseMarkdown} from './markdown';\r\n\r\nconst FilterPrefix = 'meerkat';\r\n\r\n/**\r\n * Registers a single VueJS filter.\r\n * @param {Object} vue The current VueJS instance.\r\n * @param {string} filter The filter name.\r\n * @param {Function} callback The filter implementation.\r\n */\r\nfunction registerFilter(vue, filter, callback) {\r\n vue.filter(FilterPrefix + String.ucFirst(filter), callback);\r\n}\r\n\r\n/**\r\n * Registers all Meerkat-related VueJS filters.\r\n *\r\n * @param {Object} vue The current VueJS instance.\r\n */\r\nexport function registerVueFilters(vue) {\r\n registerFilter(vue, 'markdown', parseMarkdown);\r\n registerFilter(vue, 'truncate', String.truncate);\r\n}\r\n","import Type from '../../Types/type';\r\n\r\n/**\r\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\r\n * @property {function(request)} releasePending()\r\n */\r\n\r\nexport class RequestState {\r\n constructor() {\r\n this.shouldProcess = false;\r\n this.shouldWait = false;\r\n this.pendingRequests = 0;\r\n this.request = '';\r\n }\r\n}\r\n\r\nexport function canPoolHttpRequests(instance) {\r\n instance._requestedOnMapping = {};\r\n\r\n instance.releasePending = function (request) {\r\n this._requestedOnMapping[request].isPending = false;\r\n }.bind(instance);\r\n\r\n instance.shouldProcessRequest = function (request, waitTime): RequestState {\r\n let state = new RequestState();\r\n\r\n state.request = request;\r\n\r\n if (Type.hasValue(this._requestedOnMapping[request]) === false ||\r\n this._requestedOnMapping[request].isPending === false) {\r\n this._requestedOnMapping[request] = {\r\n isPending: true,\r\n pendingRequests: 1\r\n };\r\n\r\n state.pendingRequests = 1;\r\n state.shouldProcess = true;\r\n state.shouldWait = false;\r\n\r\n return state;\r\n }\r\n\r\n if (this._requestedOnMapping[request].isPending) {\r\n this._requestedOnMapping[request].pendingRequests += 1;\r\n state.shouldProcess = false;\r\n state.shouldWait = true;\r\n state.pendingRequests = this._requestedOnMapping[request].pendingRequests;\r\n\r\n return state;\r\n }\r\n\r\n state.shouldProcess = true;\r\n state.shouldWait = false;\r\n this._requestedOnMapping[request].pendingRequests = 1;\r\n state.pendingRequests = this._requestedOnMapping[request].pendingRequests;\r\n\r\n return state;\r\n }.bind(instance);\r\n}\r\n","import ky from 'ky';\r\nimport String from '../Types/string';\r\nimport {RequestState} from '../Data/Concerns/canPoolHttpRequests';\r\nimport Type from '../Types/type';\r\nimport Environment from '../Config/environment';\r\n\r\nclass Client {\r\n\r\n constructor() {\r\n this._pendingRequestMapping = {};\r\n this.api = ky.extend({\r\n hooks: {\r\n beforeRequest: [\r\n request => {\r\n request.headers.set('X-CSRF-TOKEN', Environment.getCsrfToken());\r\n }\r\n ]\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Transforms the provide data into a URL-appropriate string.\r\n *\r\n * @param {Object} data The data to transform.\r\n * @returns {string}\r\n */\r\n urlEncode(data) {\r\n let str = [];\r\n\r\n for (let p in data) {\r\n if (data.hasOwnProperty(p)) {\r\n str.push(encodeURIComponent(p) + '=' + encodeURIComponent(data[p]));\r\n }\r\n }\r\n\r\n return str.join('&');\r\n }\r\n\r\n /**\r\n * Invokes all pending request handlers with the provided value.\r\n *\r\n * @param {string} request The request hash.\r\n * @param {string} handlerType The handler method to call.\r\n * @param {Object|string|number|Error} value The value to supply to the handler.\r\n * @private\r\n */\r\n _processRequestHandlers(request: string, handlerType: string, value: Object) {\r\n if (Type.hasValue(this._pendingRequestMapping[request]) === false) {\r\n return;\r\n }\r\n\r\n if (Type.hasValue(this._pendingRequestMapping[request][handlerType]) === false) {\r\n return;\r\n }\r\n\r\n for (let i = 0; i < this._pendingRequestMapping[request][handlerType].length; i += 1) {\r\n this._pendingRequestMapping[request][handlerType][i](value);\r\n }\r\n\r\n this._pendingRequestMapping[request].resolveHandlers = [];\r\n this._pendingRequestMapping[request].rejectHandlers = [];\r\n }\r\n\r\n /**\r\n * Issues a GET HTTP request to the provided URL.\r\n *\r\n * If multiple requests to the same resource are made in rapid\r\n * succession, the subsequent requests will be pooled and\r\n * resolved using the response from the first request.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @param {RequestState} state The request state.\r\n * @returns {Promise}\r\n */\r\n get(url, data, state: RequestState): Promise {\r\n if (Type.hasValue(this._pendingRequestMapping[state.request]) === false) {\r\n this._pendingRequestMapping[state.request] = {\r\n resolveHandlers: [],\r\n rejectHandlers: []\r\n };\r\n }\r\n\r\n if (state.shouldProcess) {\r\n if (Type.hasValue(data)) {\r\n url = String.format('{0}?{1}', url, this.urlEncode(data));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.get(url).then(function (response) {\r\n let responseJson = response.json();\r\n\r\n resolve(responseJson);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerResolve, responseJson);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerReject, err);\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._pendingRequestMapping[state.request].resolveHandlers.push(resolve);\r\n this._pendingRequestMapping[state.request].rejectHandlers.push(reject);\r\n }.bind(this));\r\n }\r\n\r\n /**\r\n * Issues a GET HTTP request to the provided URL.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @returns {Promise}\r\n */\r\n getWithoutState(url, data): Promise {\r\n if (typeof data !== 'undefined' && data !== null) {\r\n url = String.format('{0}?{1}', url, this.urlEncode(data));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.get(url).then(function (response) {\r\n resolve(response.json());\r\n }).catch(function (err) {\r\n reject(err);\r\n });\r\n });\r\n }\r\n\r\n _rewritePostData(data) {\r\n if (Type.hasValue(data)) {\r\n data = {json: data};\r\n }\r\n\r\n return data;\r\n }\r\n\r\n /**\r\n * Issues a POST HTTP request to the provided URL.\r\n *\r\n * If multiple requests to the same resource are made in rapid\r\n * succession, the subsequent requests will be pooled and\r\n * resolved using the response from the first request.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @param {RequestState} state The request state.\r\n * @returns {Promise}\r\n */\r\n post(url: string, data: Object, state: RequestState): Promise {\r\n if (Type.hasValue(this._pendingRequestMapping[state.request]) === false) {\r\n this._pendingRequestMapping[state.request] = {\r\n resolveHandlers: [],\r\n rejectHandlers: []\r\n };\r\n }\r\n\r\n if (state.shouldProcess) {\r\n data = this._rewritePostData(data);\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.post(url, data).then(function (response) {\r\n let responseJson = response.json();\r\n\r\n resolve(responseJson);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerResolve, responseJson);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerReject, err);\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._pendingRequestMapping[state.request].resolveHandlers.push(resolve);\r\n this._pendingRequestMapping[state.request].rejectHandlers.push(reject);\r\n }.bind(this));\r\n }\r\n\r\n /**\r\n * Issues a POST HTTP request to the provided URL.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @returns {Promise}\r\n */\r\n postWithoutState(url, data): Promise {\r\n data = this._rewritePostData(data);\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.post(url, data).then(function (response) {\r\n resolve(response.json());\r\n }).catch(function (err) {\r\n reject(err);\r\n });\r\n });\r\n }\r\n\r\n}\r\n\r\nClient.HandlerReject = 'rejectHandlers';\r\nClient.HandlerResolve = 'resolveHandlers';\r\n\r\nexport default Client;\r\n","import BaseResponse from '../baseResponse';\r\nimport Type from '../../../Types/type';\r\n\r\nclass OverviewResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.total = 0;\r\n this.totalThreads = 0;\r\n this.needsMigration = 0;\r\n this.totalSpam = 0;\r\n this.totalHam = 0;\r\n this.requiresReview = 0;\r\n this.totalPublished = 0;\r\n this.publishedAndSpam = 0;\r\n this.pending = 0;\r\n this.completionTime = 0;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): OverviewResponse {\r\n let response = new OverviewResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.total = Type.withDefault(apiResponse[OverviewResponse.ApiTotal], 0);\r\n response.totalThreads = Type.withDefault(apiResponse[OverviewResponse.ApiTotalThreads], 0);\r\n response.needsMigration = Type.withDefault(apiResponse[OverviewResponse.ApiNeedsMigration], 0);\r\n response.totalSpam = Type.withDefault(apiResponse[OverviewResponse.ApiIsSpam], 0);\r\n response.totalHam = Type.withDefault(apiResponse[OverviewResponse.ApiIsHam], 0);\r\n response.requiresReview = Type.withDefault(apiResponse[OverviewResponse.ApiRequiresReview], 0);\r\n response.totalPublished = Type.withDefault(apiResponse[OverviewResponse.ApiIsPublished], 0);\r\n response.publishedAndSpam = Type.withDefault(apiResponse[OverviewResponse.ApiPublishedAndSpam], 0);\r\n response.pending = Type.withDefault(apiResponse[OverviewResponse.ApiPending], 0);\r\n response.completionTime = Type.withDefault(apiResponse[OverviewResponse.ApiCompletionTime], 0);\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nOverviewResponse.ApiTotal = 'total';\r\nOverviewResponse.ApiTotalThreads = 'total_threads';\r\nOverviewResponse.ApiNeedsMigration = 'needs_migration';\r\nOverviewResponse.ApiIsSpam = 'is_spam';\r\nOverviewResponse.ApiIsHam = 'is_ham';\r\nOverviewResponse.ApiRequiresReview = 'requires_review';\r\nOverviewResponse.ApiIsPublished = 'is_published';\r\nOverviewResponse.ApiPublishedAndSpam = 'published_and_spam';\r\nOverviewResponse.ApiPending = 'pending';\r\nOverviewResponse.ApiCompletionTime = 'completion_time';\r\n\r\nexport default OverviewResponse;\r\n","import md5 from 'crypto-js/md5';\r\n\r\n/**\r\n * @property {function() : String} toJsonString() Returns the object to a JSON-encoded string.\r\n * @property {function() : String} toHash() Returns the object as a hash string.\r\n */\r\n\r\nexport function hash(value) {\r\n return md5(value).toString();\r\n}\r\n\r\nexport function canBeStringOrHash(instance) {\r\n\r\n instance.toJsonString = function () {\r\n return JSON.stringify(this);\r\n }.bind(instance);\r\n\r\n instance.toHash = function () {\r\n return md5(this.toJsonString()).toString();\r\n }.bind(instance);\r\n}\r\n","import Environment from '../Config/environment';\r\nimport String from '../Types/string';\r\n\r\nclass Endpoints {\r\n\r\n static url(endpoint) {\r\n let baseUrl = String.finish(Environment.StatamicApiRoot, '/');\r\n\r\n return baseUrl + Endpoints.Prefix + endpoint;\r\n }\r\n\r\n}\r\n\r\nEndpoints.Prefix = 'mapi/meerkat/';\r\nEndpoints.SystemDetails = '';\r\nEndpoints.CommentsSearch = 'comments/search';\r\nEndpoints.CommentsApprove = 'comments/publish';\r\nEndpoints.CommentsApproveMany = 'comments/publish-many';\r\nEndpoints.CommentsReply = 'comments/reply';\r\nEndpoints.CommentsUnapprove = 'comments/unpublish';\r\nEndpoints.CommentsUnapproveMany = 'comments/unpublish-many';\r\nEndpoints.CommentsRemove = 'comments/remove';\r\nEndpoints.CommentsRemoveMany = 'comments/remove-many';\r\nEndpoints.CommentsRemoveSpam = 'comments/remove-all-spam';\r\nEndpoints.CommentMarkSpam = 'comments/report-spam';\r\nEndpoints.CommentMarkManySpam = 'comments/report-many-spam';\r\nEndpoints.CommentMarkHam = 'comments/report-ham';\r\nEndpoints.CommentMarkManyHam = 'comments/report-many-ham';\r\nEndpoints.CommentsUpdate = 'comments/update';\r\nEndpoints.CommentsCheckForSpam = 'comments/check-for-spam';\r\n\r\nEndpoints.TaskGetStatus = 'tasks/status';\r\n\r\nEndpoints.CurrentUser = 'settings/current-user';\r\nEndpoints.SettingsFetch = 'settings/fetch';\r\nEndpoints.SettingsSave = 'settings/save';\r\nEndpoints.SettingsGetCurrentChangeSet = 'settings/current-change-set';\r\nEndpoints.SettingsValidateAkismet = 'settings/validate-akismet';\r\nEndpoints.SettingsUpdatePerPage = 'settings/update-per-page';\r\n\r\nEndpoints.ExportCsv = 'export/csv';\r\nEndpoints.ExportJson = 'export/json';\r\n\r\nEndpoints.ReportingOverview = 'reporting/overview';\r\n\r\nexport default Endpoints;\r\n","import Client from '../Http/client';\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport OverviewResponse from '../Http/Responses/Reporting/overviewResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport Endpoints from '../Http/endpoints';\nimport ErrorResponse from '../Http/Responses/errorResponse';\n\n/**\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass ReportingRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n overview(): Promise {\n let requestHash = hash({});\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 1000);\n\n this.client.get(Endpoints.url(Endpoints.ReportingOverview), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(OverviewResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nReportingRepository.Instance = new ReportingRepository();\n\nexport default ReportingRepository;\n\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport ReportingRepository from '../Repositories/reportingRepository';\r\n\r\nclass OverviewProvider extends EventEmitter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.intervalId = null;\r\n this.report = null;\r\n this.lastError = null;\r\n }\r\n\r\n _updateNow() {\r\n /* We will use the Instance property so that we can share pooled requests app-wide. */\r\n ReportingRepository.Instance.overview().then(function (report) {\r\n this.report = report;\r\n\r\n this.emit(OverviewProvider.EventUpdated, this.report);\r\n }.bind(this)).catch(function (err) {\r\n this.lastError = err;\r\n\r\n this.emit(OverviewProvider.EventError, this.lastError);\r\n }.bind(this));\r\n }\r\n\r\n hasData() {\r\n return this.report !== null;\r\n }\r\n\r\n start() {\r\n this._updateNow();\r\n window.setInterval(this._updateNow.bind(this), 30000);\r\n }\r\n\r\n stop() {\r\n if (this.intervalId !== null) {\r\n window.clearInterval(this.intervalId);\r\n this.intervalId = null;\r\n }\r\n }\r\n\r\n refresh() {\r\n this._updateNow();\r\n }\r\n\r\n}\r\n\r\nOverviewProvider.EventError = 'error';\r\nOverviewProvider.EventUpdated = 'updated';\r\nOverviewProvider.Instance = null;\r\n\r\nexport default OverviewProvider;\r\n","import template from './template.html';\r\nimport OverviewProvider from '../../../Reporting/overviewProvider';\r\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../index';\r\n\r\nexport default {\r\n template: template,\r\n data() {\r\n return {\r\n shouldDisplay: false,\r\n count: 0,\r\n countDisplay: ''\r\n };\r\n },\r\n methods: {\r\n updateDisplay(report: OverviewResponse) {\r\n if (report.success) {\r\n this.count = report.pending;\r\n\r\n if (this.count > 0) {\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count, 2);\r\n this.shouldDisplay = true;\r\n } else {\r\n this.shouldDisplay = false;\r\n }\r\n }\r\n }\r\n },\r\n created() {\r\n OverviewProvider.Instance.on('updated', this.updateDisplay.bind(this));\r\n }\r\n};\r\n","import Translator from '../../Translation/translator';\r\nimport String from '../../Types/string';\r\n\r\nexport default {\r\n methods: {\r\n trans(val): String {\r\n return Translator.Instance.translate(val);\r\n },\r\n transErrorCode(code): String {\r\n return Translator.Instance?.errorCode(code);\r\n },\r\n transFormat(val, replacements) {\r\n return String.format(this.trans(val), ...replacements);\r\n }\r\n }\r\n};\r\n","import Translator from './Translation/translator';\r\n\r\nexport default function trans(message): String {\r\n return Translator.Instance.translate(message);\r\n}\r\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport trans from '../trans';\r\nimport ControlPanelApplication from './controlPanelApplication';\r\nimport Type from '../Types/type';\r\nimport ErrorResponse from '../Http/Responses/errorResponse';\r\nimport Guid from '../Types/guid';\r\nimport Comment from '../Data/Comments/comment';\r\n\r\nclass ActionState extends EventEmitter {\r\n constructor(comment : Comment) {\r\n super();\r\n\r\n ActionState.CurrentActionId = Guid.newGuid();\r\n\r\n this.comment = comment;\r\n this.commentIds = [];\r\n this.display = false;\r\n this.title = 'Please override this title: title';\r\n this.activeTitle = '';\r\n this.message = 'Please override this message: message';\r\n this.successMessage = 'Please override this message: successMessage';\r\n\r\n this.progressMessage = 'Please override this message: progressMessage';\r\n this.tooLongMessage = trans('errors.process_taking_too_long');\r\n\r\n this.errorMessage = trans('errors.general');\r\n this.abandonMessage = trans('errors.process_abandon');\r\n this.abandonedMessage = 'Please override this message: abandonedMessage';\r\n this.clientErrorMessage = trans('errors.client_side_error');\r\n this.repeatedFailureMessage = trans('errors.process_repeated_failure');\r\n this.unauthorizedMessage = trans('errors.permissions');\r\n\r\n this.tryAgain = trans('actions.try_again');\r\n this.cancelText = trans('actions.cancel');\r\n this.confirmText = trans('actions.confirm');\r\n\r\n this.hasResponse = false;\r\n this.response = null;\r\n\r\n this.lastClientError = null;\r\n\r\n this.hasInteraction = false;\r\n this.interactionComponent = '';\r\n this.numberOfErrorsEncountered = 0;\r\n this.isDestructive = false;\r\n this.isProcessing = false;\r\n this.doesNotHavePrivileges = false;\r\n this.isErrorState = false;\r\n this.wasClientError = false;\r\n this.promptAbandon = false;\r\n this.isProcessTakingTooLong = false;\r\n this.longProcessTrigger = 10000;\r\n this.giveUpPromptTrigger = 3000;\r\n this.failedRequestCutoff = 2;\r\n this.isLoadingLog = false;\r\n this.serverErrorReport = null;\r\n this.isSendingErrorLog = null;\r\n this.missingPermission = null;\r\n this.timeouts = [];\r\n }\r\n\r\n /**\r\n * Updates all messages with the provided action scope.\r\n *\r\n * @param {string} messageScope The action translation prefix.\r\n */\r\n setMessages(messageScope) {\r\n this.title = trans('actions.' + messageScope + '_confirm_title');\r\n this.activeTitle = trans('actions.' + messageScope + '_confirm_title_active');\r\n this.message = trans('actions.' + messageScope + '_confirm_message');\r\n this.progressMessage = trans('actions.' + messageScope + '_confirm_progress_message');\r\n this.abandonedMessage = trans('actions.' + messageScope + '_confirm_abandoned');\r\n this.errorMessage = trans('actions.' + messageScope + '_error_encountered');\r\n this.successMessage = trans('actions.' + messageScope + '_success');\r\n }\r\n\r\n _clearErrorState() {\r\n this.isLoadingLog = false;\r\n this.serverErrorReport = null;\r\n this.isSendingErrorLog = null;\r\n this.isErrorState = false;\r\n this.wasClientError = false;\r\n this.promptAbandon = false;\r\n this.numberOfErrorsEncountered = 0;\r\n this.missingPermission = null;\r\n this.doesNotHavePrivileges = false;\r\n }\r\n\r\n canDismiss() {\r\n return !this.isProcessing;\r\n }\r\n\r\n _abandon() {\r\n this.emit(ActionState.EventAbandoned, this);\r\n ControlPanelApplication.controlPanel().message().info(this.abandonedMessage);\r\n\r\n this._cancel();\r\n }\r\n\r\n _cancel() {\r\n this._clearErrorState();\r\n this.resetProcessingState();\r\n this.display = false;\r\n this.emit(ActionState.EventCanceled, this);\r\n }\r\n\r\n dismiss() {\r\n this._cancel();\r\n }\r\n\r\n _tryAgain() {\r\n this.resetProcessingState();\r\n this.proceed();\r\n }\r\n\r\n _submitAndTryAgain() {\r\n this._clearErrorState();\r\n this._tryAgain();\r\n }\r\n\r\n _confirm() {\r\n this.emit(ActionState.EventConfirmed, this);\r\n }\r\n\r\n _clearWatchers() {\r\n for (let i = 0; i < this.timeouts.length; i += 1) {\r\n clearTimeout(this.timeouts[i]);\r\n }\r\n }\r\n\r\n _notAuthorized(permission) {\r\n this._clearErrorState();\r\n this.resetProcessingState();\r\n this.doesNotHavePrivileges = true;\r\n this.missingPermission = Type.withDefault(permission, null);\r\n }\r\n\r\n _complete() {\r\n this.resetProcessingState();\r\n this.display = false;\r\n ControlPanelApplication.controlPanel().message().success(this.successMessage);\r\n this.emit(ActionState.EventComplete, this);\r\n }\r\n\r\n _startGiveUpTimer() {\r\n let intervalId = setTimeout(function () {\r\n this.promptAbandon = true;\r\n this.isProcessTakingTooLong = false;\r\n }.bind(this), this.giveUpPromptTrigger);\r\n\r\n this.timeouts.push(intervalId);\r\n }\r\n\r\n _startWatchingProgress() {\r\n let intervalId = setTimeout(function () {\r\n this.isProcessTakingTooLong = true;\r\n this._startGiveUpTimer();\r\n }.bind(this), this.longProcessTrigger);\r\n\r\n this.timeouts.push(intervalId);\r\n }\r\n\r\n resetProcessingState() {\r\n this._clearWatchers();\r\n this.isLoadingLog = false;\r\n this.isProcessing = false;\r\n this.isProcessTakingTooLong = false;\r\n this.promptAbandon = false;\r\n }\r\n\r\n errorEncountered(incrementErrorCounter: Boolean) {\r\n incrementErrorCounter = Type.withDefault(incrementErrorCounter, true);\r\n\r\n this.isErrorState = true;\r\n this.resetProcessingState();\r\n\r\n if (incrementErrorCounter) {\r\n this.numberOfErrorsEncountered += 1;\r\n }\r\n }\r\n\r\n proceed(donePromise: Promise) {\r\n this.isProcessing = true;\r\n this.isErrorState = false;\r\n this._startWatchingProgress();\r\n\r\n if (Type.hasValue(this[ActionState.HandleProceedWith])) {\r\n this.proceedWith()\r\n .then(function (result) {\r\n if (result.success) {\r\n this._complete();\r\n } else {\r\n this.wasClientError = false;\r\n this.response = result;\r\n this.errorEncountered(!result.isRecoverable);\r\n this.hasResponse = true;\r\n }\r\n }.bind(this))\r\n .catch(function (err) {\r\n if (Type.isTypeOf(err, ErrorResponse)) {\r\n if (err.authorized === false) {\r\n this._notAuthorized(err.permission);\r\n } else {\r\n this.wasClientError = true;\r\n this.lastClientError = err;\r\n this.errorEncountered();\r\n }\r\n } else {\r\n this.errorEncountered();\r\n }\r\n }.bind(this));\r\n }\r\n }\r\n\r\n start() {\r\n this._confirm();\r\n\r\n return this;\r\n }\r\n\r\n onConfirm(callback): ActionState {\r\n this.on(ActionState.EventConfirmed, callback);\r\n\r\n return this;\r\n }\r\n\r\n onCancel(callback): ActionState {\r\n this.on(ActionState.EventCanceled, callback);\r\n\r\n return this;\r\n }\r\n\r\n onAbandoned(callback): ActionState {\r\n this.on(ActionState.EventAbandoned, callback);\r\n\r\n return this;\r\n }\r\n\r\n onComplete(callback): ActionState {\r\n this.on(ActionState.EventComplete, callback);\r\n\r\n return this;\r\n }\r\n\r\n onUnauthorized(callback): ActionState {\r\n this.on(ActionState.EventUnauthorized, callback);\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\r\nActionState.CurrentActionId = null;\r\nActionState.HandleProceedWith = 'proceedWith';\r\nActionState.EventCanceled = 'canceled';\r\nActionState.EventAbandoned = 'abandoned';\r\nActionState.EventConfirmed = 'confirmed';\r\nActionState.EventComplete = 'complete';\r\nActionState.EventUnauthorized = 'unauthorized';\r\n\r\nexport default ActionState;\r\n","import ActionState from '../actionState';\r\n\r\nexport default {\r\n methods: {\r\n getHandler() {\r\n return this.currentAction;\r\n },\r\n closeHandler() {\r\n if (this.currentAction !== null) {\r\n this.currentAction.display = false;\r\n this.currentAction = null;\r\n }\r\n },\r\n confirm(handler: ActionState): ActionState {\r\n this.currentAction = handler;\r\n this.currentAction.display = true;\r\n\r\n /** Automatically clean up the action state. */\r\n handler.onCancel(function () {\r\n this.currentAction.display = false;\r\n this.currentAction = null;\r\n }.bind(this));\r\n\r\n return handler;\r\n }\r\n }\r\n};\r\n","export default {\n methods: {\n forceDismiss() {\n if (this.currentAction !== null) {\n this.currentAction.dismiss();\n }\n },\n checkForDismiss() {\n if (this.currentAction !== null && this.currentAction.display === true && this.currentAction.canDismiss()) {\n this.currentAction.dismiss();\n }\n }\n }\n};\n","import ActionState from '../../../actionState';\nimport Comment from '../../../../Data/Comments/comment';\nimport trans from '../../../../trans';\n\nclass LostChangesHandler extends ActionState {\n\n constructor(comment : Comment) {\n super(comment);\n\n this.setMessages('edit_unsaved_changes');\n this.confirmText = trans('actions.discard_changes');\n }\n\n}\n\nexport default LostChangesHandler;\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismissAction from '../../Mixins/canDismissAction';\nimport LostChangesHandler from './Handlers/lostChangesHandler';\nimport ActionState from '../../actionState';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator, ActionHandler, CanDismissAction],\n props: {\n comment: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n currentAction: null\n };\n },\n methods: {\n cancel() {\n if (this.comment.editProperties.content !== this.comment.content) {\n let handler = new LostChangesHandler(this.comment);\n\n this.confirm(handler).onConfirm(function (state : ActionState) {\n this.$emit('update-canceled', this.comment);\n this.comment.cancelEditing();\n }.bind(this));\n\n return;\n }\n\n this.$emit('update-canceled', this.comment);\n this.comment.cancelEditing();\n }\n },\n mounted() {\n this.$refs.markdownEditor.focus();\n },\n created() {\n this.$keys.bind('esc', this.cancel);\n }\n};\n","import template from './template.html';\nimport ActionState from '../../actionState';\nimport String from '../../../Types/string';\nimport Guid from '../../../Types/guid';\nimport Environment from '../../../Config/environment';\nimport UsesTranslator from '../../Mixins/usesTranslator';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n props: {\n actionState: {\n type: Object,\n default: null\n }\n },\n watch: {\n 'actionState.isErrorState': function (val) {\n if (val === true) {\n this.jiggle();\n }\n }\n },\n data() {\n return {\n modalId: 'meerkat__modal-' + Guid.newGuid()\n };\n },\n methods: {\n jiggle() {\n let nonPortalModalParent = Environment.$('#' + this.modalId).parent();\n\n nonPortalModalParent.addClass('meerkat__modal--error-state').delay(820).queue(function (n) {\n nonPortalModalParent.removeClass('meerkat__modal--error-state');\n n();\n });\n },\n getInteractionProperties() {\n return {\n state: this.actionState,\n comment: this.actionState.comment\n };\n },\n dismiss() {\n this.$emit('cancel');\n },\n submit() {\n this.$emit('confirm');\n }\n },\n computed: {\n progressColor() {\n if (this.actionState.isProcessTakingTooLong) {\n return '#f1c40f';\n }\n\n if (this.actionState.promptAbandon) {\n return '#e74c3c';\n }\n\n return '#3498db';\n },\n errorMessage() {\n if (this.actionState.hasResponse === true && String.hasValue(this.actionState.response.msg)) {\n return this.actionState.response.msg;\n }\n\n return this.actionState.errorMessage;\n },\n progressMessage() {\n if (this.actionState.isProcessTakingTooLong) {\n return this.actionState.tooLongMessage;\n }\n\n return this.actionState.progressMessage;\n },\n titleMessage() {\n if (this.actionState.isProcessing && String.hasValue(this.actionState.activeTitle)) {\n return this.actionState.activeTitle;\n }\n\n return this.actionState.title;\n },\n buttonClass() {\n return this.actionState.isDestructive ? 'btn-danger' : 'btn-primary';\n }\n },\n created() {\n this.$keys.bind('esc', this.dismiss);\n this.$keys.bind('enter', this.submit);\n }\n};\n","import template from './template.html';\r\nimport Type from '../../../Types/type';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n displayText: {\r\n type: String,\r\n default: ''\r\n },\r\n size: {\r\n type: Number\r\n },\r\n displayInline: {\r\n type: Boolean,\r\n default: false\r\n },\r\n color: {\r\n type: String,\r\n default: '#737f8c'\r\n }\r\n },\r\n computed: {\r\n computedSize() {\r\n if (Type.hasValue(this.size)) {\r\n return this.size;\r\n }\r\n\r\n return this.displayInline ? 16 : 24;\r\n }\r\n }\r\n};\r\n","import BaseResponse from './baseResponse';\r\n\r\nclass PagedResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.totalResults = 0;\r\n this.currentPage = 1;\r\n this.hasNextPage = false;\r\n this.hasPreviousPage = false;\r\n }\r\n\r\n}\r\n\r\nexport default PagedResponse;\r\n","import Comment from './comment';\r\nimport Type from '../../Types/type';\r\n\r\nimport {\r\n applyCollectionSelectable, applyErrorState,\r\n enforceCollectionType\r\n} from '../Concerns/providesCollectionInteractivity';\r\n\r\nclass CommentCollection extends Array {\r\n\r\n constructor() {\r\n super();\r\n\r\n enforceCollectionType(this, Type.typeOf(Comment));\r\n applyCollectionSelectable(this);\r\n applyErrorState(this);\r\n\r\n this.anyInView = function (commentIds) {\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (commentIds.includes(this[i].id)) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n this.whereIn = function (commentIds) {\r\n let commentsToReturn = [];\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (commentIds.includes(this[i].id)) {\r\n commentsToReturn.push(this[i]);\r\n }\r\n }\r\n\r\n return commentsToReturn;\r\n };\r\n\r\n this.editCount = 0;\r\n this.replyingCount = 0;\r\n\r\n this.getSelected = function () {\r\n let selected = [];\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (this[i].isSelected === true) {\r\n selected.push(this[i]);\r\n }\r\n }\r\n\r\n return selected;\r\n }.bind(this);\r\n\r\n this.setEditing = function (comment: Comment) {\r\n this.editCount += 1;\r\n }.bind(this);\r\n\r\n this.setReplying = function (comment: Comment) {\r\n this.replyingCount += 1;\r\n }.bind(this);\r\n\r\n this.cancelEditing = function (comment: Comment) {\r\n this.editCount -= 1;\r\n }.bind(this);\r\n\r\n this.cancelReplying = function (comment: Comment) {\r\n this.replyingCount -= 1;\r\n }.bind(this);\r\n\r\n this.cancelAllEditing = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isEditing) {\r\n comment.cancelEditing();\r\n }\r\n });\r\n\r\n if (this.editCount < 0) {\r\n this.editCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.cancelAllReplying = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isReplying) {\r\n comment.cancelReply();\r\n }\r\n });\r\n\r\n if (this.replyingCount < 0) {\r\n this.replyingCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.draftAllEditing = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isEditing) {\r\n comment.cancelWithDraft();\r\n }\r\n });\r\n\r\n if (this.editCount < 0) {\r\n this.editCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.draftAllReplying = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isReplying) {\r\n comment.cancelReplyWithDraft();\r\n }\r\n });\r\n\r\n if (this.replyingCount < 0) {\r\n this.replyingCount = 0;\r\n }\r\n }.bind(this);\r\n }\r\n\r\n}\r\n\r\nexport default CommentCollection;\r\n","import Type from '../../Types/type';\r\n\r\nexport function applyCollectionSelectable(instance) {\r\n instance.allSelected = false;\r\n\r\n instance.toggleSelections = function () {\r\n if (this.allSelected === true) {\r\n this.unSelectAll();\r\n } else {\r\n this.selectAll();\r\n }\r\n }.bind(instance);\r\n\r\n instance.selectAll = function () {\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (Type.hasValue(this[i], 'isSelected')) {\r\n this[i].isSelected = true;\r\n }\r\n }\r\n\r\n this.allSelected = true;\r\n }.bind(instance);\r\n\r\n instance.unSelectAll = function () {\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (Type.hasValue(this[i], 'isSelected')) {\r\n this[i].isSelected = false;\r\n }\r\n }\r\n\r\n this.allSelected = false;\r\n }.bind(instance);\r\n}\r\n\r\nexport function applyErrorState(instance) {\r\n instance.errors = [];\r\n instance.hasErrors = false;\r\n}\r\n\r\nexport function enforceCollectionType(instance, type) {\r\n instance._typeEnforced = type;\r\n instance._outerType = instance.constructor.name;\r\n instance._pushProxy = instance.push;\r\n\r\n instance.push = function (val) {\r\n if (typeof val.constructor !== 'undefined') {\r\n if (val.constructor.name === this._typeEnforced) {\r\n if (Type.hasValue(val['_internalCollection'])) {\r\n val._internalCollection = this;\r\n }\r\n\r\n this._pushProxy(val);\r\n\r\n return;\r\n }\r\n }\r\n\r\n throw new Error(this._outerType + ' expects type ' +\r\n this._typeEnforced + '. ' + val.constructor.name + ' provided');\r\n }.bind(instance);\r\n}\r\n","import Type from '../../Types/type';\r\n\r\nclass PagedMetaData {\r\n\r\n constructor() {\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.totalItems = 1;\r\n this.itemsPerPage = 1;\r\n }\r\n\r\n /**\r\n * Converts an API response object to a new PagedMetaData instance.\r\n *\r\n * @param {Object} apiObject The API response object.\r\n * @returns {PagedMetaData}\r\n */\r\n static fromApiObject(apiObject): PagedMetaData {\r\n let newMetaData = new PagedMetaData();\r\n\r\n newMetaData.currentPage = Type.withDefault(apiObject[PagedMetaData.ApiCurrentPage], 1);\r\n newMetaData.totalPages = Type.withDefault(apiObject[PagedMetaData.ApiTotalPages], 1);\r\n newMetaData.totalItems = Type.withDefault(apiObject[PagedMetaData.ApiTotalItems], 1);\r\n newMetaData.itemsPerPage = Type.withDefault(apiObject[PagedMetaData.ApiItemsPerPage], 1);\r\n\r\n return newMetaData;\r\n }\r\n\r\n}\r\n\r\nPagedMetaData.ApiCurrentPage = 'current_page';\r\nPagedMetaData.ApiTotalPages = 'total_pages';\r\nPagedMetaData.ApiTotalItems = 'total_items';\r\nPagedMetaData.ApiItemsPerPage = 'items_per_page';\r\n\r\nexport default PagedMetaData;\r\n","import {canBeStringOrHash} from '../Concerns/canBeStringOrHash';\r\n\r\n/**\r\n * @property {function() : String} toJsonString() Returns the object to a JSON-encoded string.\r\n * @property {function() : String} toHash() Returns the object as a hash string.\r\n */\r\nclass SearchOptions {\r\n\r\n constructor() {\r\n canBeStringOrHash(this);\r\n\r\n this.page = 1;\r\n this.resultsPerPage = 10;\r\n this.query = {\r\n order: 'id,desc'\r\n };\r\n }\r\n\r\n getRequestData(): Object {\r\n return Object.assign({}, {\r\n page: this.page,\r\n resultsPerPage: this.resultsPerPage\r\n }, this.query);\r\n }\r\n\r\n}\r\n\r\nexport default SearchOptions;\r\n","import Author from './author';\r\nimport Comment from './comment';\r\nimport CommentCollection from './commentCollection';\r\nimport ThreadContext from './threadContext';\r\nimport SearchOptions from './searchOptions';\r\n\r\nclass Comments {\r\n\r\n}\r\n\r\nComments.Author = Author;\r\nComments.Comment = Comment;\r\nComments.CommentCollection = CommentCollection;\r\nComments.SearchOptions = SearchOptions;\r\nComments.ThreadContext = ThreadContext;\r\n\r\nexport {\r\n Comments\r\n};\r\n","import PagedMetaData from './Paged/pagedMetaData';\r\nimport {Comments} from './Comments/index';\r\n\r\nclass Data {\r\n\r\n}\r\n\r\nData.Comments = Comments;\r\nData.PagedMetaData = PagedMetaData;\r\n\r\nexport {\r\n Data, PagedMetaData\r\n};\r\n","class AuthorsRepository {\r\n\r\n}\r\n\r\nexport default AuthorsRepository;\r\n","class ThreadsRepository {\r\n\r\n}\r\n\r\nexport default ThreadsRepository;\r\n","import AuthorsRepository from './authorsRepository';\r\nimport CommentRepository from './commentRepository';\r\nimport ThreadsRepository from './threadsRepository';\r\n\r\nclass Repositories {\r\n\r\n}\r\n\r\nRepositories.AuthorsRepository = AuthorsRepository;\r\nRepositories.ThreadsRepository = ThreadsRepository;\r\nRepositories.CommentRepository = CommentRepository;\r\n\r\nexport {\r\n Repositories, AuthorsRepository, ThreadsRepository, CommentRepository\r\n};\r\n","import ThreadContext from '../../Data/Comments/threadContext';\nimport Comment from '../../Data/Comments/comment';\nimport Author from '../../Data/Comments/author';\nimport PagedResponse from './pagedResponse';\nimport CommentCollection from '../../Data/Comments/commentCollection';\nimport {PagedMetaData} from '../../Data';\nimport Type from '../../Types/type';\nimport {CommentRepository} from '../../Repositories';\n\nclass CommentResponse extends PagedResponse {\n\n constructor() {\n super();\n\n /** {CommentRepository} */\n this._originator = null;\n this._threadMapping = {};\n this.threads = [];\n\n this._authorMapping = {};\n this.authors = [];\n\n this._commentMapping = {};\n this.comments = new CommentCollection();\n this.pages = new PagedMetaData();\n this.sortString = '';\n }\n\n clear() {\n this._threadMapping = {};\n this.threads = [];\n this._authorMapping = {};\n this.authors = [];\n this._commentMapping = {};\n this.comments = new CommentCollection();\n this.pages = new PagedMetaData();\n this.sortString = '';\n }\n\n /**\n * Converts an API response to a new CommentResponse object.\n *\n * @param {Object} result The API response.\n * @param {CommentRepository} originator The repository that processed the request.\n * @returns {CommentResponse}\n */\n static fromApiResponse(result, originator: CommentRepository) {\n let response = new CommentResponse();\n\n response._originator = originator;\n\n if (result.success) {\n for (let i = 0; i < result.threads.length; i += 1) {\n let newThread = ThreadContext.fromApiObject(result.threads[i]);\n\n response._threadMapping[newThread.id] = newThread;\n\n response.threads.push(newThread);\n }\n\n for (let i = 0; i < result.authors.length; i += 1) {\n let newAuthor = Author.fromApiObject(result.authors[i]);\n\n response._authorMapping[newAuthor.id] = newAuthor;\n\n response.authors.push(newAuthor);\n }\n\n for (let i = 0; i < result.comments.length; i += 1) {\n let newComment = Comment.fromApiObject(result.comments[i]);\n\n newComment._internalCommentResponse = response;\n\n response._commentMapping[newComment.id] = newComment;\n\n response.comments.push(newComment);\n }\n\n response.pages = PagedMetaData.fromApiObject(result.pages);\n response.sortString = Type.withDefault(result[CommentResponse.ApiSortString], '');\n }\n\n return response;\n }\n\n /**\n * Attempts to locate an author with the provided identifier.\n *\n * @param {string} authorId The author's identifier.\n * @returns {Author|null}\n */\n getResponseAuthor(authorId: String): Author {\n return Type.withDefault(this._authorMapping[authorId], null);\n }\n\n /**\n * Attempts to locate a comment with the provided identifier.\n *\n * @param {string} commentId The comment's identifier.\n * @returns {Comment|null}\n */\n getResponseComment(commentId: String): Comment {\n return Type.withDefault(this._commentMapping[commentId], null);\n }\n\n /**\n * Attempts to locate a thread with the provided identifier.\n *\n * @param {string} threadId The thread's identifier..\n * @returns {ThreadContext|null}\n */\n getResponseThread(threadId: String): ThreadContext {\n return Type.withDefault(this._threadMapping[threadId], null);\n }\n\n}\n\nCommentResponse.ApiSortString = 'orders';\n\nexport default CommentResponse;\n\n","class TaskStatus {\r\n\r\n}\r\n\r\nTaskStatus.InProgress = 0;\r\nTaskStatus.Complete = 1;\r\nTaskStatus.Canceled = 2;\r\n\r\nexport default TaskStatus;\r\n","import BaseResponse from './baseResponse';\r\nimport TaskStatus from '../../Data/taskStatus';\r\nimport Type from '../../Types/type';\r\n\r\nclass TaskResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.taskId = null;\r\n this.status = TaskStatus.InProgress;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err) : TaskResponse {\r\n let response = new TaskResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.taskId = Type.withDefault(apiResponse[TaskResponse.ApiTaskId], null);\r\n response.status = Type.withDefault(apiResponse[TaskResponse.ApiTaskStatus], TaskStatus.InProgress);\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nTaskResponse.ApiTaskId = 'task';\r\nTaskResponse.ApiTaskStatus = 'status';\r\n\r\nexport default TaskResponse;\r\n","import Endpoints from '../Http/endpoints';\nimport Client from '../Http/client';\nimport CommentResponse from '../Http/Responses/commentResponse';\nimport ErrorResponse from '../Http/Responses/errorResponse';\nimport SearchOptions from '../Data/Comments/searchOptions';\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport CommentMutationResponse from '../Http/Responses/commentMutationResponse';\nimport AffectedCommentsResponse from '../Http/Responses/AffectedCommentsResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport ActionState from '../App/actionState';\nimport TaskResponse from '../Http/Responses/taskResponse';\n\nconst syncjs = require('syncjs');\n\n/**\n * Provides a wrapper around Meerkat's comment-related HTTP API endpoints.\n *\n * @property {function(request) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass CommentRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n /**\n * Issues a comment search request.\n *\n * @param {SearchOptions} options The search options.\n * @returns {Promise}\n */\n search(options: SearchOptions): Promise {\n let requestHash = options.toHash();\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsSearch), options.getRequestData(), requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(CommentResponse.fromApiResponse(result, this));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to attach a reply to provided comment identifier.\n *\n * @param {string} replyingToId The parent identifier.\n * @param {string} newCommentContent The content of the new comment.\n * @returns {Promise}\n */\n attachReply(replyingToId: string, newCommentContent: string): Promise {\n let request = {\n replyingTo: replyingToId,\n comment: newCommentContent,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsReply), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(CommentMutationResponse.fromApiResponse(result));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to publish the requested comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n publish(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsApprove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let publishResult = CommentMutationResponse.fromApiResponse(result);\n\n if (publishResult.success) {\n syncjs.Hubs.comments().published([publishResult.comment.id]);\n }\n\n resolve(publishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to publish the provided comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n publishMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsApproveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let publishResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (publishResult.partialSuccess || publishResult.success) {\n syncjs.Hubs.comments().published(publishResult.comments);\n }\n\n resolve(publishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to unpublish the requested comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n unpublish(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUnapprove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let unpublishedResult = CommentMutationResponse.fromApiResponse(result);\n\n if (unpublishedResult.success) {\n syncjs.Hubs.comments().unpublished([unpublishedResult.comment.id]);\n }\n\n resolve(unpublishedResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove the provided comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n delete(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove the requested comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n deleteMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemoveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.partialSuccess || deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove all comments currently marked as spam.\n *\n * @returns {Promise}\n */\n removeAllSpam(): Promise {\n let request = {\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemoveSpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.partialSuccess || deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to unpublish the provided comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n unpublishMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUnapproveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let unpublishResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (unpublishResult.partialSuccess || unpublishResult.success) {\n syncjs.Hubs.comments().unpublished(unpublishResult.comments);\n }\n\n resolve(unpublishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to update the comment's content.\n *\n * @param {string} commentId The comment identifier.\n * @param {string} newContent The new comment content.\n * @returns {Promise}\n */\n update(commentId: string, newContent: string): Promise {\n let request = {\n comment: commentId,\n content: newContent,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUpdate), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let updateResult = CommentMutationResponse.fromApiResponse(result);\n\n if (updateResult.success) {\n syncjs.Hubs.comments().updated([result.comment]);\n }\n\n resolve(updateResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the comment as spam.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n markAsSpam(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkSpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let spamResult = CommentMutationResponse.fromApiResponse(result);\n\n if (spamResult.success && spamResult.autoDeleted === false) {\n syncjs.Hubs.comments().markedAsSpam([spamResult.comment.id]);\n } else if (spamResult.success && spamResult.autoDeleted === true) {\n syncjs.Hubs.comments().removed(spamResult.comments);\n }\n\n resolve(spamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the provided comments as spam.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n markManyAsSpam(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkManySpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markSpamResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (markSpamResult.partialSuccess || markSpamResult.success) {\n syncjs.Hubs.comments().markedAsSpam(markSpamResult.comments);\n }\n\n resolve(markSpamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the comment as not spam.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n markAsNotSpam(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkHam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markHamResult = CommentMutationResponse.fromApiResponse(result);\n\n if (markHamResult.success) {\n syncjs.Hubs.comments().markedAsHam([markHamResult.comment.id]);\n }\n\n resolve(markHamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Issues a request to check all pending comments for spam.\n *\n * @returns {Promise}\n */\n checkForSpam(): Promise {\n let request = {'checkForSpam': true}, requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsCheckForSpam), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n resolve(TaskResponse.fromApiResponse(result));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the provided comments as not spam.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n markManyAsNotSpam(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkManyHam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markHamResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (markHamResult.partialSuccess || markHamResult.success) {\n syncjs.Hubs.comments().markedAsHam(markHamResult.comments);\n }\n\n resolve(markHamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nCommentRepository.Instance = new CommentRepository();\n\nexport default CommentRepository;\n","class RangeItem {\r\n constructor() {\r\n this.isSelected = false;\r\n this.isSeparator = false;\r\n this.pageNumber = 1;\r\n }\r\n\r\n static makeSeparator(): RangeItem {\r\n let newItem = new RangeItem();\r\n\r\n newItem.isSeparator = true;\r\n\r\n return newItem;\r\n }\r\n\r\n}\r\n\r\nexport default RangeItem;\r\n","import template from './template.html';\nimport {Range} from '../../../Types/common';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport {RangeItem, PagedMetaData} from '../../../Data/Paged/common';\n\nconst forceSmallSliderCutOff = 10;\nconst paginatorRangeAdjustment = 2;\nconst paginatorRangeSizeOffset = 6;\nconst sharedSeparator = [RangeItem.makeSeparator()];\n\nexport default {\n mixins: [UsesTranslator],\n\n template: template,\n props: {\n displayArrows: {\n type: Boolean,\n default: true\n },\n displayInline: {\n type: Boolean,\n default: false\n },\n displayRange: {\n type: Boolean,\n default: true\n },\n rangeItemsPerSide: {\n type: Number,\n default: 3\n },\n displayPerPage: {\n type: Boolean,\n default: true\n },\n perPage: {\n type: Number,\n default: 10\n },\n perPageOptions: {\n type: Array,\n default: function () {\n return [\n 10,\n 25,\n 50,\n 100\n ];\n }\n },\n /**\n * @type PagedMetaData\n */\n pageData: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n instancePerPage: -1,\n visibleRangeWindow: 0\n };\n },\n watch: {\n instancePerPage: function (val, oldVal) {\n if (oldVal > -1) {\n this.$emit('per-page-updated', val);\n }\n }\n },\n methods: {\n // region Range Generation\n getWindowStart(): Array {\n return Range.get(1, this.visibleRangeWindow + paginatorRangeAdjustment);\n },\n getWindowEnd(): Array {\n return Range.get(\n this.pageData.totalPages - (this.visibleRangeWindow + paginatorRangeAdjustment),\n this.pageData.totalPages\n );\n },\n getRangeStart(): Array {\n return Range.get(1, 2);\n },\n getRangeEnd(): Array {\n return Range.get(this.pageData.totalPages - 1, this.pageData.totalPages);\n },\n getRangeAdjacent(): Array {\n return Range.get(\n this.pageData.currentPage - this.rangeItemsPerSide,\n this.pageData.currentPage + this.rangeItemsPerSide\n );\n },\n // endregion\n // region Navigation Support\n hasPage(pageNumber: Number) {\n if (this.pageData === null) {\n return false;\n }\n\n return pageNumber >= 1 && pageNumber <= this.pageData.totalPages;\n },\n moveToPage(pageNumber: Number) {\n if (this.pageData === null) {\n return;\n }\n\n this.pageData.currentPage = pageNumber;\n\n this.$emit('page-updated', pageNumber);\n },\n updatePerPage(event) {\n this.$emit('per-page-updated', event.target.value);\n event.preventDefault();\n },\n movePrevious() {\n if (this.pageData === null) {\n return;\n }\n\n if (this.pageData.currentPage === 1) {\n return;\n }\n\n this.moveToPage(this.pageData.currentPage - 1);\n },\n moveNext() {\n if (this.pageData === null) {\n return;\n }\n\n if (this.pageData.currentPage === this.pageData.totalPages) {\n return;\n }\n\n this.moveToPage(this.pageData.currentPage + 1);\n },\n // endregion\n // region Display Logic Helpers\n shouldUseSmallSlider(): Boolean {\n if (this.displayPerPage === true) {\n if (this.pageData.totalPages <= this.instancePerPage && this.pageData.totalPages <= forceSmallSliderCutOff) {\n return true;\n }\n }\n\n return this.pageData.totalPages < (this.rangePerSide * paginatorRangeAdjustment) + paginatorRangeSizeOffset;\n },\n shouldUseBeginningSlider(): Boolean {\n return this.pageData.currentPage <= this.visibleRangeWindow;\n },\n shouldUseEndSlider(): Boolean {\n return this.pageData.currentPage > (this.pageData.totalPages - this.visibleRangeWindow);\n },\n updateVisibleRange(perSide: Number) {\n this.visibleRangeWindow = perSide * paginatorRangeAdjustment;\n },\n makeRangeItem(pageNumber: Number): RangeItem {\n let newItem = new RangeItem();\n\n newItem.pageNumber = pageNumber;\n\n if (this.pageData !== null && this.pageData.currentPage === pageNumber) {\n newItem.isSelected = true;\n }\n\n return newItem;\n },\n makeRangeArray(range: Array): Array {\n let rangeItems = [];\n\n for (let i = 0; i < range.length; i += 1) {\n rangeItems.push(this.makeRangeItem(range[i]));\n }\n\n return rangeItems;\n },\n buildSeparatedRangeItems(ranges: Array>): Array {\n let rangeItems = [],\n rangeMax = ranges.length - 1;\n\n for (let i = 0; i < ranges.length; i += 1) {\n rangeItems = rangeItems.concat(this.makeRangeArray(ranges[i]));\n\n if (i < rangeMax) {\n rangeItems = rangeItems.concat(sharedSeparator);\n }\n }\n\n return rangeItems;\n }\n // endregion\n },\n computed: {\n hasMultiplePages(): Boolean {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.totalPages > 1;\n },\n shouldDisplayPerPageSelection(): Boolean {\n if (this.perPageOptions === null || this.perPageOptions.length === 0) {\n return false;\n }\n\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.totalItems >= this.perPageOptions[0];\n },\n visibleRange(): Array {\n if (this.pageData === null) {\n return [];\n }\n\n let rangeItems = [];\n\n if (this.shouldUseSmallSlider()) {\n rangeItems = this.makeRangeArray(\n Range.get(1, this.pageData.totalPages)\n );\n } else if (this.shouldUseBeginningSlider()) {\n rangeItems = this.buildSeparatedRangeItems([\n this.getWindowStart(),\n this.getRangeEnd()\n ]);\n } else if (this.shouldUseEndSlider()) {\n rangeItems = this.buildSeparatedRangeItems([\n this.getRangeStart(),\n this.getWindowEnd()\n ]);\n } else {\n rangeItems = this.buildSeparatedRangeItems([\n this.getRangeStart(),\n this.getRangeAdjacent(),\n this.getRangeEnd()\n ]);\n }\n\n return rangeItems;\n },\n hasPrevious() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage > 1;\n },\n hasNext() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage < this.pageData.totalPages;\n },\n isFirstPage() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage <= 1;\n },\n isLastPage() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage >= this.pageData.totalPages;\n }\n },\n created() {\n this.instancePerPage = this.perPage;\n this.updateVisibleRange(this.rangeItemsPerSide);\n }\n};\n","import ActionState from '../../../actionState';\r\nimport trans from '../../../../trans';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass EditCommentHandler extends ActionState {\r\n\r\n constructor(comment: Comment) {\r\n super(comment);\r\n\r\n this.setMessages('edit');\r\n this.confirmText = trans('actions.edit_confirm_button');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.save();\r\n }\r\n\r\n}\r\n\r\nexport default EditCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport trans from '../../../../trans';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass ReplyCommentHandler extends ActionState {\r\n\r\n constructor(comment: Comment) {\r\n super(comment);\r\n\r\n this.setMessages('reply');\r\n this.confirmText = trans('actions.reply_confirm_button');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.saveReply();\r\n }\r\n\r\n}\r\n\r\nexport default ReplyCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkApproveHandler extends ActionState {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_approve');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.publishMany(this.commentIds);\r\n }\r\n\r\n}\r\n\r\nexport default BulkApproveHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkUnapproveHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_unapprove');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.unpublishMany(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkUnapproveHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkDeleteHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_delete');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.deleteMany(this.commentIds);\r\n }\r\n\r\n}\r\n\r\nexport default BulkDeleteHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkSpamHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_mark_spam');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.markManyAsSpam(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkSpamHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkNotSpamHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_mark_ham');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.markManyAsNotSpam(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkNotSpamHandler;\r\n","import ActionState from '../../../actionState';\nimport CommentRepository from '../../../../Repositories/commentRepository';\n\nclass BulkRemoveAllSpam extends ActionState {\n constructor() {\n super();\n\n this.setMessages('bulk_remove_spam');\n }\n\n proceedWith() {\n return CommentRepository.Instance.removeAllSpam();\n }\n}\n\nexport default BulkRemoveAllSpam;\n","require('./style.less');\r\n\r\nimport template from './template.html';\r\nimport Author from '../../../Data/Comments/author';\r\nimport Comment from '../../../Data/Comments/comment';\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n comment: {\r\n type: Object,\r\n default: null\r\n },\r\n author: {\r\n type: Object,\r\n default: null\r\n },\r\n avatarDriver: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n methods: {\r\n getAuthor() {\r\n return {\r\n author: this.author\r\n };\r\n }\r\n }\r\n};\r\n","import Type from '../../Types/type';\nimport ActionState from '../actionState';\n\nexport default {\n methods: {\n performAction(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n });\n }\n }\n }\n};\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass ApproveCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('approve');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.publish();\r\n }\r\n\r\n}\r\n\r\nexport default ApproveCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass UnApproveCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('unapprove');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.unpublish();\r\n }\r\n\r\n}\r\n\r\nexport default UnApproveCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass DeleteCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('delete');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.delete();\r\n }\r\n\r\n}\r\n\r\nexport default DeleteCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass MarkAsSpamHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('mark_spam');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.markAsSpam();\r\n }\r\n\r\n}\r\n\r\nexport default MarkAsSpamHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass MarkAsNotSpamHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('mark_ham');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.markAsNotSpam();\r\n }\r\n\r\n}\r\n\r\nexport default MarkAsNotSpamHandler;\r\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismiss from '../../Mixins/canDismissAction';\nimport CanPerformAction from '../../Mixins/canPerformAction';\nimport {\n ApproveCommentHandler, DeleteCommentHandler,\n MarkAsNotSpamHandler, MarkAsSpamHandler, UnApproveCommentHandler\n} from './Handlers';\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator, ActionHandler, CanDismiss, CanPerformAction],\n template: template,\n props: {\n comment: {\n type: Object,\n default: null\n },\n permissions: {\n type: Object,\n default: null,\n required: true\n }\n },\n data() {\n return {\n currentAction: null,\n handlers: {\n 'approve': ApproveCommentHandler,\n 'unapprove': UnApproveCommentHandler,\n 'delete': DeleteCommentHandler,\n 'mark-spam': MarkAsSpamHandler,\n 'mark-ham': MarkAsNotSpamHandler\n }\n };\n }\n};\n","import Author from '../../../Data/Comments/author';\r\nimport template from './template.html';\r\nimport UsesTranslator from '../../Mixins/usesTranslator';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n props: {\r\n author: {\r\n type: Author,\r\n default: null\r\n },\r\n avatarDriver: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n methods: {\r\n getAuthor() {\r\n return {\r\n author: this.author\r\n };\r\n }\r\n }\r\n};\r\n","import template from './template.html';\nimport Comment from '../../../Data/Comments/comment';\nimport CommentActions from '../CommentActions';\nimport ReplyAuthor from '../ReplyToAuthorDisplay';\nimport {parseMarkdown} from '../../markdown';\nimport UsesTranslator from '../../Mixins/usesTranslator';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n components: {\n 'comment-actions': CommentActions,\n 'reply-author': ReplyAuthor\n },\n props: {\n permissions: {\n type: Object,\n default: null,\n required: true\n },\n avatarDriver: {\n type: String,\n default: ''\n },\n comment: {\n type: Object,\n default: null\n },\n actionsDisabled: {\n type: Boolean,\n default: false\n },\n displayThread: {\n type: Boolean,\n default: false\n }\n },\n methods: {\n forceDismiss() {\n this.$refs.actions.forceDismiss();\n },\n parseMarkdown: parseMarkdown\n }\n};\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismissAction from '../../Mixins/canDismissAction';\nimport LostChangesHandler from '../CommentEditor/Handlers/lostChangesHandler';\nimport ActionState from '../../actionState';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator, ActionHandler, CanDismissAction],\n props: {\n comment: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n currentAction: null\n };\n },\n methods: {\n cancel() {\n if (this.comment.state.reply.content.trim().length > 0) {\n let handler = new LostChangesHandler(this.comment);\n\n this.confirm(handler).onConfirm(function (state : ActionState) {\n this.$emit('reply-canceled', this.comment);\n this.comment.cancelReply();\n }.bind(this));\n\n return;\n }\n\n this.$emit('reply-canceled', this.comment);\n this.comment.cancelReply();\n }\n },\n mounted() {\n this.$refs.markdownEditor.focus();\n },\n created() {\n this.$keys.bind('esc', this.cancel);\n }\n};\n","import SearchOptions from '../Comments/searchOptions';\nimport Guid from '../../Types/guid';\nimport Comment from '../Comments/comment';\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\n\nclass Filter {\n constructor() {\n this.id = Guid.newGuid();\n this.internalName = '';\n this.name = '';\n\n this.count = 0;\n this.countDisplay = '';\n this.query = {};\n this.filters = [];\n }\n\n adjustOptions(options: SearchOptions) {\n options.query = Object.assign({}, this.query, options.query);\n\n options.query.filter = this.filters.join('|');\n\n return options;\n }\n\n /**\n * Determines if the filter should reload based on the comment.\n *\n * @param {Array} comments The comment to test.\n * @returns {boolean}\n */\n shouldReload(comments: Array): Boolean {\n return false;\n }\n\n updateState(report : OverviewResponse) {\n }\n\n}\n\nexport default Filter;\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\n\r\nclass AllFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 0;\r\n this.internalName = 'all';\r\n this.name = trans('filters.all');\r\n }\r\n\r\n updateState(report : OverviewResponse) {\r\n this.count = report.total;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n}\r\n\r\nexport default AllFilter;\r\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\nimport Comment from '../Comments/comment';\r\n\r\nclass IsSpamFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 1;\r\n this.internalName = 'spam';\r\n this.name = trans('filters.spam');\r\n this.filters = [\r\n 'is:spam(true)'\r\n ];\r\n }\r\n\r\n updateState(report: OverviewResponse) {\r\n this.count = report.totalSpam;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n /**\r\n * Determines if the filter should reload based on the comment.\r\n *\r\n * @param {Array} comments The comment to test.\r\n * @returns {boolean}\r\n */\r\n shouldReload(comments: Array): Boolean {\r\n for (let i = 0; i < comments.length; i += 1) {\r\n if (comments[i].hasBeenCheckedForSpam === false || comments[i].isSpam === false) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n}\r\n\r\nexport default IsSpamFilter;\r\n","import Filter from './filter';\nimport trans from '../../trans';\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\nimport {App} from '../../App';\nimport Comment from '../Comments/comment';\n\nclass PendingFilter extends Filter {\n\n constructor() {\n super();\n\n this.id = 2;\n this.internalName = 'pending';\n this.name = trans('filters.pending');\n this.filters = [\n 'where(spam, !==, true)',\n 'is:published(false)'\n ];\n }\n\n updateState(report : OverviewResponse) {\n this.count = report.pending;\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\n }\n\n /**\n * Determines if the filter should reload based on the comment.\n *\n * @param {Array} comments The comment to test.\n * @returns {boolean}\n */\n shouldReload(comments: Array): Boolean {\n for (let i = 0; i < comments.length; i += 1) {\n if (comments[i].published === true) {\n return true;\n }\n }\n\n return false;\n }\n\n}\n\nexport default PendingFilter;\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\nimport Comment from '../Comments/comment';\r\n\r\nclass PublishedFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 3;\r\n this.internalName = 'published';\r\n this.name = trans('filters.published');\r\n this.filters = [\r\n 'is:published(true)'\r\n ];\r\n }\r\n\r\n updateState(report : OverviewResponse) {\r\n this.count = report.totalPublished;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n /**\r\n * Determines if the filter should reload based on the comment.\r\n *\r\n * @param {Array} comments The comment to test.\r\n * @returns {boolean}\r\n */\r\n shouldReload(comments: Array): Boolean {\r\n for (let i = 0; i < comments.length; i += 1) {\r\n if (comments[i].published === false) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n}\r\n\r\nexport default PublishedFilter;\r\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport {AllFilter, IsSpamFilter, PendingFilter, PublishedFilter} from '../../../Data/Filters/defaultFilters';\nimport Guid from '../../../Types/guid';\nimport Environment from '../../../Config/environment';\nimport {debounce} from '../../../utils';\nimport OverviewProvider from '../../../Reporting/overviewProvider';\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\nimport Type from '../../../Types/type';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n props: {\n activeFilterId: {\n type: Number,\n default: 0\n }\n },\n data: function () {\n return {\n searchId: 'meerkat-search-' + Guid.newGuid(),\n searchFilter: '',\n filters: [],\n state: {\n isOpen: false\n }\n };\n },\n methods: {\n filterRequiresUpdate(comments) {\n for (let i = 0; i < this.filters.length; i += 1) {\n if (Type.hasValue(this.filters[i]['shouldReload'])) {\n if (this.filters[i].shouldReload(comments)) {\n return true;\n }\n }\n }\n\n return false;\n },\n updateFilterDisplays(report: OverviewResponse) {\n if (report.success) {\n for (let i = 0; i < this.filters.length; i += 1) {\n if (Type.hasValue(this.filters[i]['updateState'])) {\n this.filters[i].updateState(report);\n }\n }\n }\n },\n resetSearch() {\n if (this.searchFilter === '') {\n return;\n }\n\n this.searchFilter = '';\n\n this.$emit('search-updated', this.searchFilter);\n },\n searchEvent: debounce(function (e) {\n this.$emit('search-updated', this.searchFilter);\n }, 750),\n toggle() {\n this.state.isOpen = !this.state.isOpen;\n Environment.Preferences.updateDisplayTableFilters(this.state.isOpen);\n\n this.checkForFocus();\n },\n checkForFocus() {\n if (this.state.isOpen) {\n this.$nextTick(function () {\n Environment.ContextJquery('#' + this.searchId).focus();\n });\n }\n },\n onFilterClick(filter) {\n if (filter.id !== this.activeFilterId) {\n this.activeFilterId = filter.id;\n this.$emit('filter-changed', filter);\n }\n }\n },\n created() {\n this.filters.push(new AllFilter());\n this.filters.push(new PendingFilter());\n this.filters.push(new IsSpamFilter());\n this.filters.push(new PublishedFilter());\n\n OverviewProvider.Instance.on('updated', this.updateFilterDisplays);\n\n if (OverviewProvider.Instance.hasData()) {\n this.updateFilterDisplays(OverviewProvider.Instance.report);\n }\n\n this.state.isOpen = Environment.Preferences.getDisplayTableFilters();\n this.checkForFocus();\n }\n};\n","import String from '../../../Types/string';\r\n\r\nclass SortManager {\r\n\r\n constructor() {\r\n this.columns = {};\r\n this.orders = {};\r\n this.sortIndex = [];\r\n this.hasMultipleOrders = false;\r\n this.sortString = '';\r\n }\r\n\r\n /**\r\n * Sets which columns to consider when building internal sort state.\r\n *\r\n * @param {Object} columns The columns to set.\r\n */\r\n setColumns(columns) {\r\n this.columns = columns;\r\n this.buildSortIndex();\r\n }\r\n\r\n /**\r\n * Toggles a column's sort direction from desc to asc, and then none.\r\n *\r\n * @param {string} column The column name.\r\n */\r\n toggleColumn(column) {\r\n if (this.columns[column] === SortManager.Desc) {\r\n this.columns[column] = SortManager.Asc;\r\n } else if (this.columns[column] === SortManager.Asc) {\r\n this.columns[column] = SortManager.None;\r\n } else {\r\n this.columns[column] = SortManager.Desc;\r\n }\r\n\r\n this.rebuildSortIndex();\r\n }\r\n\r\n /**\r\n * Sets the internal sort string and parses it.\r\n *\r\n * @param {String} sortString The sort string.\r\n */\r\n setSortString(sortString: string) {\r\n if (String.hasValue(sortString) === false) {\r\n return;\r\n }\r\n\r\n let parts = sortString.split('|'),\r\n columnsToSet = this.columns;\r\n\r\n if (parts.length === 0) {\r\n return;\r\n }\r\n\r\n for (let i = 0; i < parts.length; i += 1) {\r\n let columnParts = parts[i].split(',');\r\n\r\n if (columnParts.length !== 2) {\r\n continue;\r\n }\r\n\r\n let column = columnParts[0],\r\n direction = columnParts[1],\r\n mapDirection = SortManager.None;\r\n\r\n if (String.hasValue(column) === false || String.hasValue(direction) === false) {\r\n continue;\r\n }\r\n\r\n column = column.trim();\r\n direction = direction.toLowerCase().trim();\r\n\r\n if (direction === 'asc') {\r\n mapDirection = SortManager.Asc;\r\n } else if (direction === 'desc') {\r\n mapDirection = SortManager.Desc;\r\n }\r\n\r\n columnsToSet[column] = mapDirection;\r\n }\r\n\r\n this.setColumns(columnsToSet);\r\n }\r\n\r\n /**\r\n * Builds the internal sort string that can be used to communicate with the server.\r\n */\r\n buildSortString() {\r\n let parts = [];\r\n\r\n for (let i = 0; i < this.sortIndex.length; i += 1) {\r\n let sortOrder = this.columns[this.sortIndex[i].column];\r\n\r\n if (sortOrder === SortManager.Asc) {\r\n parts.push(this.sortIndex[i].column + ',asc');\r\n } else if (sortOrder === SortManager.Desc) {\r\n parts.push(this.sortIndex[i].column + ',desc');\r\n }\r\n }\r\n\r\n if (parts.length === 0) {\r\n this.sortString = '';\r\n } else {\r\n this.sortString = parts.join('|');\r\n }\r\n }\r\n\r\n /**\r\n * Rebuilds the internal sort index.\r\n */\r\n rebuildSortIndex() {\r\n let tempSortIndex = [],\r\n indexMap = {}, currentIndex = 0,\r\n totalSorting = 0,\r\n orderedIndex = this.sortIndex.sort((a, b) => (a.order > b.order) ? 1 : -1),\r\n indexFinal = [], mapFinal = {};\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n totalSorting += 1;\r\n }\r\n }\r\n\r\n for (let i = 0; i < orderedIndex.length; i += 1) {\r\n if (this.columns[orderedIndex[i].column] !== SortManager.None) {\r\n indexMap[orderedIndex[i].column] = orderedIndex[i].order;\r\n currentIndex = i;\r\n }\r\n }\r\n\r\n if (totalSorting === 0) {\r\n this.orders = {};\r\n this.sortIndex = [];\r\n this.hasMultipleOrders = false;\r\n\r\n this.buildSortString();\r\n\r\n return;\r\n }\r\n\r\n if (currentIndex > 0) {\r\n currentIndex += 1;\r\n }\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n let curSortIndex = currentIndex;\r\n\r\n if (typeof indexMap[key] !== 'undefined') {\r\n curSortIndex = indexMap[key];\r\n }\r\n\r\n tempSortIndex.push({\r\n column: key,\r\n order: curSortIndex\r\n });\r\n\r\n currentIndex += 1;\r\n }\r\n }\r\n\r\n // Resort.\r\n tempSortIndex = tempSortIndex.sort((a, b) => (a.order > b.order) ? 1 : -1);\r\n\r\n currentIndex = 0;\r\n\r\n for (let i = 0; i < tempSortIndex.length; i += 1) {\r\n indexFinal.push({\r\n column: tempSortIndex[i].column,\r\n order: currentIndex\r\n });\r\n\r\n mapFinal[tempSortIndex[i].column] = currentIndex + 1;\r\n\r\n currentIndex += 1;\r\n }\r\n\r\n this.orders = mapFinal;\r\n this.sortIndex = indexFinal;\r\n this.hasMultipleOrders = this.sortIndex.length > 1;\r\n\r\n this.buildSortString();\r\n }\r\n\r\n /**\r\n * Builds the initial internal sort index.\r\n */\r\n buildSortIndex() {\r\n let index = 0, tempSortIndex = [], tempOrderMap = {};\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n tempSortIndex.push({\r\n column: key,\r\n order: index\r\n });\r\n\r\n tempOrderMap[key] = index + 1;\r\n }\r\n\r\n index += 1;\r\n }\r\n\r\n this.orders = tempOrderMap;\r\n this.sortIndex = tempSortIndex;\r\n this.hasMultipleOrders = this.sortIndex.length > 1;\r\n\r\n this.buildSortString();\r\n }\r\n\r\n}\r\n\r\nSortManager.Asc = 1;\r\nSortManager.Desc = -1;\r\nSortManager.None = 0;\r\n\r\nexport default SortManager;\r\n","import template from './sortIndicator.html';\r\n\r\nrequire('./sortIndicator.less');\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n column: {\r\n type: String,\r\n default: null\r\n },\r\n manager: {\r\n type: Object,\r\n default: null\r\n },\r\n respondToClick: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n methods: {\r\n updateManager() {\r\n if (this.respondToClick === true) {\r\n this.manager.toggleColumn(this.column);\r\n this.$emit('order-changed');\r\n }\r\n }\r\n }\r\n};\r\n","import template from './template.html';\r\nimport UsesTranslator from '../../Mixins/usesTranslator';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n template: template,\r\n mixins: [UsesTranslator],\r\n props: {\r\n totalCount: {\r\n type: Number,\r\n default: 0\r\n }\r\n }\r\n};\r\n","import {\n BulkApproveHandler,\n BulkDeleteHandler, BulkNotSpamHandler, BulkRemoveAllSpam, BulkSpamHandler,\n BulkUnapproveHandler,\n EditCommentHandler,\n ReplyCommentHandler\n} from './Handlers';\nimport template from './template.html';\nimport CommentResponse from '../../../Http/Responses/commentResponse';\nimport Environment from '../../../Config/environment';\nimport AvatarDriverRegistry from '../../../Extend/Avatars/avatarDriverRegistry';\nimport AuthorDisplay from '../AuthorDisplay';\nimport Comment from '../../../Data/Comments/comment';\nimport CommentDisplay from '../CommentDisplay';\nimport CommentEditor from '../CommentEditor';\nimport ReplyEditor from '../ReplyEditor';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport Type from '../../../Types/type';\nimport String from '../../../Types/string';\nimport ActionState from '../../actionState';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport TableFilters from '../TableFilters';\nimport SortManager from './sortManager';\nimport SortIndicator from './sortIndicator';\nimport EmptyIndicator from '../EmptyIndicator';\nimport OverviewProvider from '../../../Reporting/overviewProvider';\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\n\nconst syncjs = require('syncjs');\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator, ActionHandler],\n template: template,\n components: {\n 'table-filters': TableFilters,\n 'author-display': AuthorDisplay,\n 'comment-display': CommentDisplay,\n 'comment-editor': CommentEditor,\n 'reply-editor': ReplyEditor,\n 'sort-indicator': SortIndicator,\n 'empty-indicator': EmptyIndicator\n },\n props: {\n loading: {\n type: Boolean,\n default: false\n },\n comments: {\n type: Object,\n default: null\n },\n displayFocusMode: {\n type: Boolean,\n default: false\n },\n activeFilterId: {\n type: Number,\n default: 0\n }\n },\n data() {\n return {\n sortManager: null,\n currentAction: null,\n avatarDriver: null,\n state: {\n totalCount: 0\n },\n permissions: null,\n handlers: {\n 'edit': EditCommentHandler,\n 'reply': ReplyCommentHandler\n },\n singleSelectTranslation: this.trans('actions.select_comment'),\n canUseBulkActions: false,\n currentBulkAction: 'approve',\n bulkHandlers: {\n 'approve': BulkApproveHandler,\n 'unapprove': BulkUnapproveHandler,\n 'delete': BulkDeleteHandler,\n 'mark-spam': BulkSpamHandler,\n 'mark-ham': BulkNotSpamHandler,\n 'remove-spam': BulkRemoveAllSpam\n }\n };\n },\n computed: {\n hasData() {\n if (Type.hasValue(this.comments) === false) {\n return false;\n }\n\n return this.comments.comments.length > 0;\n },\n shouldDisplayThread() {\n if (Type.hasValue(this.comments) === false) {\n return false;\n }\n\n return this.comments.threads.length > 1;\n },\n hasCommentResponse() {\n return Type.hasValue(this.comments);\n },\n selectedCount: function () {\n let selectedCount = 0;\n\n if (Type.hasValue(this.comments) === false) {\n return selectedCount;\n }\n\n for (let i = 0; i < this.comments.comments.length; i += 1) {\n if (this.comments.comments[i].isSelected === true) {\n selectedCount += 1;\n }\n }\n\n return selectedCount;\n },\n hasSelection: function () {\n let hasSelection = false;\n\n if (Type.hasValue(this.comments) === false) {\n return hasSelection;\n }\n\n for (let i = 0; i < this.comments.comments.length; i += 1) {\n if (this.comments.comments[i].isSelected === true) {\n hasSelection = true;\n break;\n }\n }\n\n return hasSelection;\n },\n tableClasses: function () {\n return {\n 'opacity-50': this.loading,\n 'meerkat__comment-table--focus': (this.selectedCount === 0 && this.displayFocusMode)\n };\n }\n },\n methods: {\n checkFilters(comments) {\n if (this.$refs.tableFilters.filterRequiresUpdate(comments)) {\n this.$emit('data-update-requested');\n }\n },\n checkStateFromProvider(report: OverviewResponse) {\n if (report.success) {\n this.state.totalCount = report.total;\n\n if (report.total === 0) {\n this.clearData();\n }\n\n if (Type.hasValue(this.comments) === true && this.comments.comments.length === 0) {\n if (report.total > 0) {\n this.$emit('data-update-requested');\n }\n }\n }\n },\n exitFocusMode() {\n this.displayFocusMode = false;\n },\n clearData() {\n this.closeAllActionDialogs([]);\n this.comments.clear();\n },\n updateSortFromHeader(columnId) {\n if (String.hasValue(columnId)) {\n this.sortManager.toggleColumn(columnId);\n this.updateStateFromOrder();\n }\n },\n setSortString(sortString: String) {\n this.sortManager.setSortString(sortString);\n },\n updateStateFromOrder() {\n this.$emit('order-changed', this.sortManager);\n },\n onConfigAvatarUpdated(config) {\n if (Type.hasValue(config)) {\n if (config.length > 0) {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(config[0]);\n }\n }\n },\n onConfigUserAvailable() {\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canApproveComments || this.permissions.canEditComments ||\n this.permissions.canRemoveComments || this.permissions.canReportAsHam ||\n this.permissions.canReportAsSpam || this.permissions.canUnApproveComments) {\n this.canUseBulkActions = true;\n }\n },\n onFilterChange(filter) {\n this.$emit('filter-changed', filter);\n },\n onSearchUpdated(terms) {\n this.$emit('search-updated', terms);\n },\n closeAllActionDialogs(comments) {\n this.forceDismissBulkActions();\n this.$refs.commentDisplay.forEach(function (d) {\n d.forceDismiss();\n });\n },\n getSelectedIds() {\n let ids = [],\n selectedComments = this.comments.comments.getSelected();\n\n for (let i = 0; i < selectedComments.length; i += 1) {\n ids.push(selectedComments[i].id);\n }\n\n return ids;\n },\n getCommentClasses: function (comment: Comment) {\n return {\n 'meerkat__comment-row--focused': (comment.state.isEditing || comment.state.isReplying),\n 'meerkat__comment-row--pending': (comment.published || comment.hasBeenCheckedForSpam === false),\n 'meerkat__comment--row--spam': (comment.hasBeenCheckedForSpam && comment.isSpam === true),\n 'meerkat__comment-row--selected row-selected': comment.isSelected\n };\n },\n checkForDismiss() {\n if (this.currentAction !== null && this.currentAction.display === true && this.currentAction.canDismiss()) {\n this.currentAction.dismiss();\n }\n },\n forceDismissBulkActions() {\n if (this.currentAction !== null) {\n this.currentAction.dismiss();\n }\n this.currentAction = null;\n },\n cancelBulkActions() {\n this.comments.comments.unSelectAll();\n },\n performBulkAction(action) {\n if (Type.hasValue(this.bulkHandlers[action])) {\n let bulkHandler = new this.bulkHandlers[action](null);\n\n bulkHandler.commentIds = this.getSelectedIds();\n\n this.confirm(bulkHandler)\n .onConfirm((state: ActionState) => {\n state.proceed();\n })\n .onComplete(function () {\n this.comments.comments.unSelectAll();\n }.bind(this));\n }\n },\n performAction(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n });\n }\n },\n performActionNow(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n })\n .onComplete(function () {\n this.displayFocusMode = false;\n }.bind(this)).start();\n }\n },\n disableFocusMode() {\n this.displayFocusMode = false;\n },\n beforeReply(comment) {\n this.displayFocusMode = true;\n this.comments.comments.draftAllReplying();\n },\n beforeEdit(comment) {\n this.displayFocusMode = true;\n this.comments.comments.draftAllEditing();\n }\n },\n mounted() {\n this.$emit('table-available', this);\n\n this.$keys.bind('alt+shift+f', function () {\n this.$refs.tableFilters.toggle();\n }.bind(this));\n },\n created() {\n syncjs.Hubs.config().handledBy(this);\n syncjs.Hubs.comments().handledBy(this)\n .reactsToInstance(false)\n .redirectTo(this.closeAllActionDialogs);\n\n let sortManager = new SortManager();\n\n OverviewProvider.Instance.on('updated', this.checkStateFromProvider);\n\n if (OverviewProvider.Instance.hasData()) {\n this.state.totalCount = OverviewProvider.Instance.report.total;\n }\n\n sortManager.setColumns({\n 'id': SortManager.Desc,\n 'comment': SortManager.None\n });\n\n this.sortManager = sortManager;\n\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canApproveComments || this.permissions.canEditComments ||\n this.permissions.canRemoveComments || this.permissions.canReportAsHam ||\n this.permissions.canReportAsSpam || this.permissions.canUnApproveComments) {\n this.canUseBulkActions = true;\n }\n\n if (AvatarDriverRegistry.hasDriver(Environment.UserPreferences.cp_avatar_driver)) {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(Environment.UserPreferences.cp_avatar_driver);\n } else {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(AvatarDriverRegistry.DefaultDriverName);\n }\n }\n};\n","import Endpoints from '../Http/endpoints';\r\nimport Client from '../Http/client';\r\nimport ErrorResponse from '../Http/Responses/errorResponse';\r\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\r\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\r\nimport TaskResponse from '../Http/Responses/taskResponse';\r\n\r\n/**\r\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\r\n * @property {function(request)} releasePending()\r\n */\r\nclass TasksRepository {\r\n\r\n constructor() {\r\n canPoolHttpRequests(this);\r\n this.client = new Client();\r\n }\r\n\r\n /**\r\n * Retrieves the tasks's current status.\r\n *\r\n * @param {string} taskId The task's identifier.\r\n * @returns {Promise}\r\n */\r\n getStatus(taskId : string) : Promise {\r\n let requestHash = hash({\r\n task: taskId\r\n });\r\n\r\n return new Promise(function (resolve, reject) {\r\n let requestState = this.shouldProcessRequest(requestHash, 1000);\r\n\r\n this.client.get(Endpoints.url(Endpoints.TaskGetStatus), {\r\n task: taskId\r\n }, requestState)\r\n .then(function (result) {\r\n this.releasePending(requestHash);\r\n resolve(TaskResponse.fromApiResponse(result, null));\r\n }.bind(this))\r\n .catch(function (err) {\r\n this.releasePending(requestHash);\r\n reject(ErrorResponse.fromError(err));\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n}\r\n\r\nexport default TasksRepository;\r\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport TasksRepository from '../Repositories/tasksRepository';\r\nimport TaskStatus from '../Data/taskStatus';\r\n\r\nclass TaskObserver extends EventEmitter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.tasks = new TasksRepository();\r\n this.intervalId = null;\r\n this.taskId = null;\r\n }\r\n\r\n /**\r\n * Watches the specified tasks status for server-side changes.\r\n *\r\n * @param {string} taskId The task identifier.\r\n */\r\n watch(taskId) {\r\n this.taskId = taskId;\r\n\r\n this.intervalId = window.setInterval(function () {\r\n this.tasks.getStatus(this.taskId).then(function (response) {\r\n if (response.success === true) {\r\n if (response.status === TaskStatus.Complete) {\r\n window.clearInterval(this.intervalId);\r\n this.emit(TaskObserver.EventComplete);\r\n } else if (response.status === TaskStatus.Canceled) {\r\n this.emit(TaskObserver.EventCanceled);\r\n window.clearInterval(this.intervalId);\r\n }\r\n }\r\n }.bind(this))\r\n .catch(function (err) {\r\n window.clearInterval(this.intervalId);\r\n this.emitEvent(TaskObserver.EventError, err);\r\n }.bind(this));\r\n }.bind(this), 1000);\r\n }\r\n\r\n /**\r\n * Ensures that the interval has been cleared.\r\n */\r\n ensureStopped() {\r\n if (this.intervalId !== null) {\r\n window.clearInterval(this.intervalId);\r\n }\r\n }\r\n\r\n}\r\n\r\nTaskObserver.EventError = 'error';\r\nTaskObserver.EventComplete = 'complete';\r\nTaskObserver.EventCanceled = 'canceled';\r\n\r\nexport default TaskObserver;\r\n","class EntryBehavior {\n\n}\n\nEntryBehavior.Managed = 0;\nEntryBehavior.Merge = 1;\nEntryBehavior.Replace = 2;\nEntryBehavior.UserValueOrReplace = 3;\n\nexport default EntryBehavior;\n\n","import Type from '../../Types/type';\nimport EntryBehavior from './entryBehavior';\n\nclass ConfigItem {\n\n constructor() {\n this.namespace = '';\n this.runtimeValue = '';\n this.key = '';\n this.behavior = EntryBehavior.Managed;\n this.defaults = [];\n this.value = null;\n }\n\n /**\n * Constructs a new ConfigItem instance from an API object.\n *\n * @param {Object} apiObject The API object.\n * @returns {ConfigItem}\n */\n static fromApiObject(apiObject): ConfigItem {\n let item = new ConfigItem();\n\n item.namespace = Type.withDefault(apiObject[ConfigItem.ApiNamespace], '');\n item.key = Type.withDefault(apiObject[ConfigItem.ApiKey], '');\n item.behavior = Type.withDefault(apiObject[ConfigItem.ApiBehavior], EntryBehavior.Managed);\n item.defaults = Type.withDefault(apiObject[ConfigItem.ApiDefaults], []);\n item.value = Type.withDefault(apiObject[ConfigItem.ApiValue], null);\n item.runtimeValue = item.namespace + '.' + item.key;\n\n return item;\n }\n\n}\n\nConfigItem.ApiNamespace = 'namespace';\nConfigItem.ApiKey = 'key';\nConfigItem.ApiBehavior = 'behavior';\nConfigItem.ApiDefaults = 'defaults';\nConfigItem.ApiValue = 'value';\n\nexport default ConfigItem;\n","import Type from '../../Types/type';\n\nclass SpamGuard {\n\n constructor() {\n this.name = '';\n this.class = '';\n this.enabled = false;\n }\n\n static fromApiObject(apiObject): SpamGuard {\n let spamGuard = new SpamGuard();\n\n spamGuard.name = Type.withDefault(apiObject[SpamGuard.ApiName], '');\n spamGuard.class = Type.withDefault(apiObject[SpamGuard.ApiClass], '');\n spamGuard.enabled = Type.withDefault(apiObject[SpamGuard.ApiEnabled], true);\n\n return spamGuard;\n }\n\n}\n\nSpamGuard.ApiName = 'name';\nSpamGuard.ApiClass = 'class';\nSpamGuard.ApiEnabled = 'enabled';\n\nexport default SpamGuard;\n\n","import Type from '../Types/type';\n\nclass PermissionSet {\n\n constructor() {\n this.hasAllPermissions = false;\n this.canApproveComments = false;\n this.canEditComments = false;\n this.canRemoveComments = false;\n this.canReplyToComments = false;\n this.canReportAsHam = false;\n this.canReportAsSpam = false;\n this.canUnApproveComments = false;\n this.canViewComments = false;\n }\n\n static fromApiObject(apiObject): PermissionSet {\n let permissionSet = new PermissionSet();\n\n permissionSet.hasAllPermissions = Type.withDefault(apiObject[PermissionSet.ApiAllPermissions], false);\n permissionSet.canApproveComments = Type.withDefault(apiObject[PermissionSet.ApiCanApproveComments], false);\n permissionSet.canEditComments = Type.withDefault(apiObject[PermissionSet.ApiCanEditComments], false);\n permissionSet.canRemoveComments = Type.withDefault(apiObject[PermissionSet.ApiCanRemoveComments], false);\n permissionSet.canReplyToComments = Type.withDefault(apiObject[PermissionSet.ApiCanReplyToComments], false);\n permissionSet.canReportAsHam = Type.withDefault(apiObject[PermissionSet.ApiCanReportAsHam], false);\n permissionSet.canReportAsSpam = Type.withDefault(apiObject[PermissionSet.ApiCanReportAsSpam], false);\n permissionSet.canUnApproveComments = Type.withDefault(apiObject[PermissionSet.ApiCanUnapproveComments], false);\n permissionSet.canViewComments = Type.withDefault(apiObject[PermissionSet.ApiCanViewComments], false);\n\n return permissionSet;\n }\n\n}\n\nPermissionSet.ApiAllPermissions = 'all_permissions';\nPermissionSet.ApiCanApproveComments = 'can_approve_comments';\nPermissionSet.ApiCanEditComments = 'can_edit_comments';\nPermissionSet.ApiCanRemoveComments = 'can_remove_comments';\nPermissionSet.ApiCanReplyToComments = 'can_reply_to_comments';\nPermissionSet.ApiCanReportAsHam = 'can_report_as_ham';\nPermissionSet.ApiCanReportAsSpam = 'can_report_as_spam';\nPermissionSet.ApiCanUnapproveComments = 'can_unapprove_comments';\nPermissionSet.ApiCanViewComments = 'can_view_comments';\n\nexport default PermissionSet;\n","import Type from '../../Types/type';\nimport PermissionSet from '../permissionSet';\n\nclass GroupPermission {\n\n constructor() {\n this.id = '';\n this.name = '';\n this.permissions = new PermissionSet();\n }\n\n static fromApiObject(apiObject) : GroupPermission {\n let groupPerm = new GroupPermission();\n\n groupPerm.id = Type.withDefault(apiObject[GroupPermission.ApiId], '');\n groupPerm.name = Type.withDefault(apiObject[GroupPermission.ApiName], '');\n\n if (Type.hasValue(apiObject[GroupPermission.ApiPermissions])) {\n groupPerm.permissions = PermissionSet.fromApiObject(apiObject[GroupPermission.ApiPermissions]);\n }\n\n return groupPerm;\n }\n\n}\n\nGroupPermission.ApiName = 'name';\nGroupPermission.ApiId = 'id';\nGroupPermission.ApiPermissions = 'permissions';\n\nexport default GroupPermission;\n\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\nimport ConfigItem from '../../Data/Configuration/configItem';\nimport SpamGuard from '../../Data/Configuration/spamGuard';\nimport GroupPermission from '../../Data/Configuration/groupPermission';\n\nclass SettingsResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.hasManagedItems = true;\n this.changeSet = '';\n this.items = {};\n this.permissions = [];\n this.guards = [];\n }\n\n static fromApiResponse(apiResponse, err): SettingsResponse {\n let response = new SettingsResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n response.hasManagedItems = Type.withDefault(apiResponse[SettingsResponse.ApiHasManaged], true);\n response.changeSet = Type.withDefault(apiResponse[SettingsResponse.ApiCurrentChangeSet], '');\n\n let configItems = Type.withDefault(apiResponse[SettingsResponse.ApiConfig], []),\n permissions = Type.withDefault(apiResponse[SettingsResponse.ApiPermissions], []),\n guards = Type.withDefault(apiResponse[SettingsResponse.ApiSpamGuards], []);\n\n for (let i = 0; i < configItems.length; i++) {\n let newItem = ConfigItem.fromApiObject(configItems[i]);\n\n response.items[newItem.runtimeValue] = newItem;\n }\n\n for (let i = 0; i < guards.length; i++) {\n let newGuardItem = SpamGuard.fromApiObject(guards[i]);\n\n response.guards.push(newGuardItem);\n }\n\n for (let i = 0; i < permissions.length; i++) {\n let newPermItem = GroupPermission.fromApiObject(permissions[i]);\n\n response.permissions.push(newPermItem);\n }\n\n return response;\n }\n\n}\n\nSettingsResponse.ApiConfig = 'config';\nSettingsResponse.ApiHasManaged = 'has_managed';\nSettingsResponse.ApiSpamGuards = 'spam_guards';\nSettingsResponse.ApiCurrentChangeSet = 'change_set';\nSettingsResponse.ApiPermissions = 'permissions';\n\nexport default SettingsResponse;\n\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass SaveSettingsResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.preferencesUpdated = false;\n this.settingsUpdated = false;\n }\n\n static fromApiObject(apiObject, err): SaveSettingsResponse {\n let response = new SaveSettingsResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.preferencesUpdated = Type.withDefault(apiObject[SaveSettingsResponse.ApiPreferencesUpdated], false);\n response.settingsUpdated = Type.withDefault(apiObject[SaveSettingsResponse.ApiSettingsUpdated], false);\n\n return response;\n }\n\n}\n\nSaveSettingsResponse.ApiPreferencesUpdated = 'preferences_updated';\nSaveSettingsResponse.ApiSettingsUpdated = 'settings_updated';\n\nexport default SaveSettingsResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ValidateAkismetResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.message = '';\n }\n\n static fromApiObject(apiObject, err): ValidateAkismetResponse {\n let response = new ValidateAkismetResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.message = Type.withDefault(apiObject[ValidateAkismetResponse.ApiMessage], '');\n\n return response;\n }\n\n}\n\nValidateAkismetResponse.ApiMessage = 'message';\n\nexport default ValidateAkismetResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ChangeSetResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.changeSet = '';\n }\n\n static fromApiObject(apiObject, err): ChangeSetResponse {\n let response = new ChangeSetResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.changeSet = Type.withDefault(apiObject[ChangeSetResponse.ApiChangeSet], '');\n\n return response;\n }\n\n}\n\nChangeSetResponse.ApiChangeSet = 'change_set';\n\nexport default ChangeSetResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass UserConfigurationResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.settings = null;\n }\n\n static fromApiResponse(apiResponse, err): UserConfigurationResponse {\n let response = new UserConfigurationResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n response.settings = Type.withDefault(apiResponse[UserConfigurationResponse.ApiSettings], null);\n\n return response;\n }\n\n}\n\nUserConfigurationResponse.ApiSettings = 'settings';\n\nexport default UserConfigurationResponse;\n\n","import {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport Client from '../Http/client';\nimport SettingsResponse from '../Http/Responses/settingsResponse';\nimport ErrorResponse from '../Http/Responses/errorResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport Endpoints from '../Http/endpoints';\nimport ActionState from '../App/actionState';\nimport SaveSettingsResponse from '../Http/Responses/saveSettingsResponse';\nimport ValidateAkismetResponse from '../Http/Responses/validateAkismetResponse';\nimport ChangeSetResponse from '../Http/Responses/changeSetResponse';\nimport BaseResponse from '../Http/Responses/baseResponse';\nimport UserConfigurationResponse from '../Http/Responses/userConfigurationResponse';\n\n/**\n * Provides a wrapper around Meerkat's configuration-related HTTP API endpoints.\n *\n * @property {function(request) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass SettingsRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n getCurrentUserSettings() :Promise {\n let request = {},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.CurrentUser), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(UserConfigurationResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n updatePerPage(perPage) :Promise {\n let request = {'per_page': perPage},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsUpdatePerPage), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(BaseResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n getCurrentChangeSet(): Promise {\n let request = {},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.SettingsGetCurrentChangeSet), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(ChangeSetResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n validateAkismet(apiKey, frontPage): Promise {\n let request = {\n 'api_key': apiKey,\n 'front_page': frontPage,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsValidateAkismet), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(ValidateAkismetResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n saveSettings(settings): Promise {\n let request = {\n settings: settings,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsSave), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(SaveSettingsResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n getSettings(): Promise {\n let requestHash = hash({});\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.SettingsFetch), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(SettingsResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nSettingsRepository.Instance = new SettingsRepository();\n\nexport default SettingsRepository;\n","import template from './template.html';\nimport CommentRepository from '../../Repositories/commentRepository';\nimport paginator from '../Components/Pagination';\nimport UsesTranslator from '../Mixins/usesTranslator';\nimport CommentTable from '../Components/CommentTable';\nimport SearchOptions from '../../Data/Comments/searchOptions';\nimport Loader from '../Components/Loader';\nimport Environment from '../../Config/environment';\nimport Filter from '../../Data/Filters/filter';\nimport SortManager from '../Components/CommentTable/sortManager';\nimport Url from '../../Types/url';\nimport {getDefaultFilter} from '../../Data/Filters/defaultFilterApplicator';\nimport Endpoints from '../../Http/endpoints';\nimport OverviewProvider from '../../Reporting/overviewProvider';\nimport ControlPanelApplication from '../controlPanelApplication';\nimport TaskObserver from '../../Tasks/taskObserver';\nimport SettingsRepository from '../../Repositories/settingsRepository';\n\nconst syncjs = require('syncjs');\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n components: {\n 'comment-table': CommentTable,\n 'loader': Loader,\n 'paginator': paginator\n },\n data() {\n return {\n state: {\n hasLoadedInitial: false,\n loadingInitial: false,\n loadingData: false,\n lastPageRequest: 1,\n lastPerPageRequest: -1,\n initialPerPage: 10,\n initialSortString: null,\n tableIsAvailable: false,\n activeFilterId: 0,\n activeFilterName: 'all',\n isCheckingAllForSpam: false,\n statusMessage: '',\n showStatusMessage: false\n },\n silentPreferenceUpdate: true,\n defaultFilters: ['all', 'pending', 'published', 'spam'],\n searchOptions: new SearchOptions(),\n commentRepo: new CommentRepository(),\n commentData: null,\n configUrl: ControlPanelApplication.current().url('addons/meerkat/settings'),\n exportLinks: {\n csv: Endpoints.url(Endpoints.ExportCsv) + '?download=true',\n json: Endpoints.url(Endpoints.ExportJson) + '?download=true'\n },\n permissions: null,\n canCheckForSpam: false,\n spamTaskObserver: null\n };\n },\n methods: {\n removeAllSpam() {\n this.$refs.commentTable.performBulkAction('remove-spam');\n },\n hasEditorOpen() {\n if (this.commentData === null) {\n return false;\n }\n\n for (let i = 0; i < this.commentData.comments.length; i += 1) {\n let comment = this.commentData.comments[i];\n\n if (comment.state.isEditing === true || comment.state.isReplying === true) {\n return true;\n }\n }\n\n return false;\n },\n reloadStateAnyway() {\n this.commentData.comments.cancelAllEditing();\n this.commentData.comments.cancelAllReplying();\n this.state.showStatusMessage = false;\n this.$refs.commentTable.exitFocusMode();\n this.loadCommentData();\n },\n checkForSpam() {\n this.state.isCheckingAllForSpam = true;\n this.commentRepo.checkForSpam().then(function (response) {\n if (response.success === true) {\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('actions.check_all_spam_task_created')\n );\n\n this.spamTaskObserver.watch(response.taskId);\n } else {\n this.state.isCheckingAllForSpam = false;\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('actions.check_all_spam_error')\n );\n }\n }.bind(this)).catch(function () {\n this.state.isCheckingAllForSpam = false;\n ControlPanelApplication.current().controlPanel.message().error(this.trans('actions.check_all_spam_error'));\n }.bind(this));\n },\n onConfigUserAvailable(config) {\n this.permissions = Environment.getPermissions();\n if (this.permissions.canReportAsHam && this.permissions.canReportAsSpam) {\n this.canCheckForSpam = true;\n }\n\n this.state.initialPerPage = Environment.UserPreferences.cp_per_page;\n this.searchOptions.resultsPerPage = this.state.initialPerPage;\n this.updateQueryWithPerPage(this.state.initialPerPage);\n },\n onCommentsGlobalSpamCheckComplete() {\n OverviewProvider.Instance.refresh();\n\n if (this.hasEditorOpen() === false) {\n this.loadCommentData();\n } else {\n this.state.statusMessage = this.trans('actions.check_all_spam_complete_open_editors');\n this.state.showStatusMessage = true;\n }\n },\n onSpamTaskComplete() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('actions.check_all_spam_complete')\n );\n\n OverviewProvider.Instance.refresh();\n syncjs.Hubs.comments().globalSpamCheckComplete();\n },\n onSpamTaskCanceled() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('actions.check_all_spam_canceled')\n );\n },\n onSpamTaskError() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().error(this.trans('actions.check_all_spam_error'));\n },\n onTableAvailable(table) {\n this.state.tableIsAvailable = true;\n\n this.$refs.commentTable.setSortString(this.state.initialSortString);\n },\n onSearchUpdated(terms) {\n this.searchOptions.query.terms = terms;\n\n this.loadCommentData();\n },\n checkFilters(comments) {\n let filterComments = this.commentData.comments.whereIn(comments);\n\n this.$refs.commentTable.checkFilters(filterComments);\n OverviewProvider.Instance.refresh();\n },\n onCommentsPublished(comments) {\n this.checkFilters(comments);\n },\n onCommentsUnpublished(comments) {\n this.checkFilters(comments);\n },\n onCommentsMarkedAsSpam(comments) {\n this.checkFilters(comments);\n },\n onCommentsMarkedAsHam(comments) {\n this.checkFilters(comments);\n },\n onCommentsRemoved(comments) {\n OverviewProvider.Instance.refresh();\n\n this.loadCommentData();\n },\n onFilterChanged(filter: Filter) {\n this.state.activeFilterId = filter.id;\n this.state.activeFilterName = filter.internalName;\n\n this.updateHistoryState();\n this.searchOptions = filter.adjustOptions(this.searchOptions);\n\n this.loadCommentData();\n },\n updateHistoryState() {\n Environment.pushHistoryState(this.state.activeFilterName);\n },\n onOrderUpdated(manager: SortManager) {\n this.searchOptions.query.order = manager.sortString;\n\n this.loadCommentData();\n },\n updateQueryWithPerPage(perPageCount) {\n SettingsRepository.Instance.updatePerPage(perPageCount).then(function (response) {\n if (this.silentPreferenceUpdate === false) {\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('config.preferences_updated')\n );\n }\n }.bind(this))\n .catch(function () {\n if (this.silentPreferenceUpdate === false) {\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('errors.config_preferences_failure')\n );\n }\n }.bind(this));\n\n if (this.state.lastPerPageRequest > -1 && this.state.lastPerPageRequest === perPageCount) {\n return;\n }\n\n this.state.lastPerPageRequest = perPageCount;\n this.searchOptions.resultsPerPage = perPageCount;\n\n this.loadCommentData().then(function () {\n this.$nextTick(function () {\n Environment.scrollTop();\n });\n }.bind(this));\n },\n updateQueryWithPage(pageNumber) {\n if (this.state.lastPageRequest === pageNumber) {\n return;\n }\n\n this.state.lastPageRequest = pageNumber;\n this.searchOptions.page = pageNumber;\n\n this.loadCommentData();\n },\n onRefreshRequested() {\n this.loadCommentData();\n },\n loadCommentData() {\n if (this.state.hasLoadedInitial === false) {\n this.state.loadingInitial = true;\n }\n\n this.state.loadingData = true;\n\n return new Promise(function (resolve, reject) {\n this.commentRepo.search(this.searchOptions).then(function (response) {\n\n if (this.state.hasLoadedInitial === false) {\n this.state.hasLoadedInitial = true;\n this.state.loadingInitial = false;\n }\n\n this.commentData = response;\n this.state.initialSortString = response.sortString;\n\n this.state.loadingData = false;\n resolve();\n }.bind(this)).catch(function (e) {\n reject(e);\n });\n }.bind(this));\n },\n applyFromDefaultFilter(currentUrlRequest) {\n if (this.defaultFilters.includes(currentUrlRequest)) {\n let defaultFilter = getDefaultFilter(currentUrlRequest);\n\n if (defaultFilter !== null) {\n this.state.activeFilterId = defaultFilter.id;\n this.state.activeFilterName = defaultFilter.internalName;\n this.onFilterChanged(defaultFilter);\n }\n }\n }\n },\n created() {\n this.spamTaskObserver = new TaskObserver();\n this.spamTaskObserver.on('error', this.onSpamTaskError.bind(this));\n this.spamTaskObserver.on('complete', this.onSpamTaskComplete.bind(this));\n this.spamTaskObserver.on('canceled', this.onSpamTaskCanceled.bind(this));\n\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canReportAsHam && this.permissions.canReportAsSpam) {\n this.canCheckForSpam = true;\n }\n\n let currentUrlRequest = Url.currentLastValue().toLowerCase();\n\n this.applyFromDefaultFilter(currentUrlRequest);\n\n window.onpopstate = function (event) {\n if (event.state !== null && event.state.urlPath !== null) {\n let poppedValue = Url.lastValue(event.state.urlPath);\n\n this.applyFromDefaultFilter(poppedValue);\n }\n }.bind(this);\n syncjs.Hubs.config().handledBy(this);\n\n syncjs.Hubs.comments().handledBy(this);\n\n this.loadCommentData();\n\n this.state.initialPerPage = Environment.UserPreferences.cp_per_page;\n this.searchOptions.resultsPerPage = this.state.initialPerPage;\n }\n};\n","import {AllFilter, IsSpamFilter, PendingFilter, PublishedFilter} from './defaultFilters';\r\nimport Type from '../../Types/type';\r\n\r\nexport function getDefaultFilter(filterName) {\r\n // Create a temp mapping for all of the default filters.\r\n let allFilter = new AllFilter(),\r\n spamFilter = new IsSpamFilter(),\r\n pendingFilter = new PendingFilter(),\r\n publishedFilter = new PublishedFilter(),\r\n filterMap = {};\r\n\r\n filterMap[allFilter.internalName] = allFilter;\r\n filterMap[spamFilter.internalName] = spamFilter;\r\n filterMap[pendingFilter.internalName] = pendingFilter;\r\n filterMap[publishedFilter.internalName] = publishedFilter;\r\n\r\n if (Type.hasValue(filterMap[filterName])) {\r\n return filterMap[filterName];\r\n }\r\n\r\n return null;\r\n}\r\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n autoPublish: true,\n autoClose: false,\n closeDays: 2\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\nimport Loader from '../../../Components/Loader';\nimport SettingsRepository from '../../../../Repositories/settingsRepository';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n components: {\n 'loader': Loader\n },\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n computed: {\n hasAkismetSettings() {\n let curApiKey = this.$parent.settings.items['akismet.api_key'].value,\n curFrontPage = this.$parent.settings.items['akismet.front_page'].value;\n\n return curApiKey.trim().length > 0 && curFrontPage.trim().length > 0;\n }\n },\n methods: {\n validateConfiguration() {\n let curApiKey = this.$parent.settings.items['akismet.api_key'].value,\n curFrontPage = this.$parent.settings.items['akismet.front_page'].value;\n\n this.state.currentMessage = this.trans('config.validate_akismet_validating');\n this.state.isValidating = true;\n\n SettingsRepository.Instance.validateAkismet(curApiKey, curFrontPage)\n .then(function (result) {\n this.state.currentMessage = result.message;\n this.state.isValidating = false;\n }.bind(this))\n .catch(function () {\n this.state.currentMessage = this.trans('config.validate_akismet_failure');\n this.state.isValidating = false;\n }.bind(this));\n },\n guardUpdated() {\n this.$parent.updateGuardConfiguration();\n }\n },\n data() {\n return {\n state: {\n currentMessage: '',\n isValidating: false\n }\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n showDefaults: false\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n methods: {\n checkPermissions(configItem) {\n if (configItem.permissions.hasAllPermissions) {\n configItem.permissions.canApproveComments = true;\n configItem.permissions.canEditComments = true;\n configItem.permissions.canRemoveComments = true;\n configItem.permissions.canReplyToComments = true;\n configItem.permissions.canReportAsHam = true;\n configItem.permissions.canReportAsSpam = true;\n configItem.permissions.canUnApproveComments = true;\n configItem.permissions.canViewComments = true;\n } else {\n configItem.permissions.canApproveComments = false;\n configItem.permissions.canEditComments = false;\n configItem.permissions.canRemoveComments = false;\n configItem.permissions.canReplyToComments = false;\n configItem.permissions.canReportAsHam = false;\n configItem.permissions.canReportAsSpam = false;\n configItem.permissions.canUnApproveComments = false;\n configItem.permissions.canViewComments = false;\n configItem.permissions.hasAllPermissions = false;\n }\n }\n },\n data() {\n return {\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n showDefaults: false\n };\n }\n};\n","import template from './template.html';\r\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\r\nimport UsesTranslator from '../../../Mixins/usesTranslator';\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n data() {\r\n return {\r\n showDefaults: false\r\n };\r\n },\r\n props: {\r\n settings: {\r\n type: Object,\r\n default: null\r\n }\r\n }\r\n};\r\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n data() {\n return {\n showDefaults: false\n };\n },\n props: {\n settings: {\n type: Object,\n default: null\n }\n }\n};\n","import GroupPermission from './groupPermission';\nimport ConfigItem from './configItem';\n\nclass PermissionsMapper {\n\n /**\n * Maps the group permissions to the appropriate configuration item locations.\n *\n * @param {Array} items The configuration items.\n * @param {Array} groupPermissions The group permissions.\n * @returns {*}\n */\n static mapPermissions(items : Array, groupPermissions: Array) {\n for (let i = 0; i < groupPermissions.length; i++) {\n let currentGroup = groupPermissions[i],\n permissions = currentGroup.permissions;\n\n if (permissions.hasAllPermissions) {\n items[PermissionsMapper.AllPermissions].value.push(currentGroup.id);\n } else {\n if (permissions.canApproveComments) {\n items[PermissionsMapper.CanApprove].value.push(currentGroup.id);\n }\n\n if (permissions.canViewComments) {\n items[PermissionsMapper.CanViewComments].value.push(currentGroup.id);\n }\n\n if (permissions.canEditComments) {\n items[PermissionsMapper.CanEdit].value.push(currentGroup.id);\n }\n\n if (permissions.canRemoveComments) {\n items[PermissionsMapper.CanRemove].value.push(currentGroup.id);\n }\n\n if (permissions.canReplyToComments) {\n items[PermissionsMapper.CanReplyToComments].value.push(currentGroup.id);\n }\n\n if (permissions.canReportAsHam) {\n items[PermissionsMapper.CanReportAsHam].value.push(currentGroup.id);\n }\n\n if (permissions.canReportAsSpam) {\n items[PermissionsMapper.CanReportAsSpam].value.push(currentGroup.id);\n }\n\n if (permissions.canUnApproveComments) {\n items[PermissionsMapper.CanUnApproveComments].value.push(currentGroup.id);\n }\n\n if (permissions.canViewComments) {\n items[PermissionsMapper.CanViewComments].value.push(currentGroup.id);\n }\n }\n }\n\n return items;\n }\n\n}\n\nPermissionsMapper.AllPermissions = 'permissions.all_permissions';\nPermissionsMapper.CanApprove = 'permissions.can_approve_comments';\nPermissionsMapper.CanEdit = 'permissions.can_edit_comments';\nPermissionsMapper.CanRemove = 'permissions.can_remove_comments';\nPermissionsMapper.CanReplyToComments = 'permissions.can_reply_to_comments';\nPermissionsMapper.CanReportAsHam = 'permissions.can_report_as_ham';\nPermissionsMapper.CanReportAsSpam = 'permissions.can_report_as_spam';\nPermissionsMapper.CanUnApproveComments = 'permissions.can_unapprove_comments';\nPermissionsMapper.CanViewComments = 'permissions.can_view_comments';\n\nexport default PermissionsMapper;\n","import ConfigItem from './configItem';\nimport SpamGuard from './spamGuard';\n\nclass GuardMapper {\n\n /**\n * Maps the spam guard configuration to the appropriate configuration item locations.\n *\n * @param {Array} items The configuration items.\n * @param {Array} guards The current spam guard configuration.\n */\n static mapGuards(items: Array, guards: Array) {\n let newGuards = [];\n\n for (let i = 0; i < guards.length; i++) {\n let currentGuard = guards[i];\n\n if (currentGuard.enabled === true) {\n newGuards.push(currentGuard.class);\n }\n }\n\n items[GuardMapper.SpamGuards].value = newGuards;\n\n return items;\n }\n\n}\n\nGuardMapper.SpamGuards = 'publishing.guards';\n\nexport default GuardMapper;\n\n","import template from './template.html';\r\nimport UsesTranslator from '../Mixins/usesTranslator';\r\nimport Publishing from './Panels/Publishing';\r\nimport Guard from './Panels/Guard';\r\nimport IpFilter from './Panels/IpFilter';\r\nimport Permissions from './Panels/Permissions';\r\nimport WordFilter from './Panels/WordFilter';\r\nimport Privacy from './Panels/Privacy';\r\nimport Email from './Panels/Email';\r\nimport SettingsRepository from '../../Repositories/settingsRepository';\r\nimport ControlPanelApplication from '../controlPanelApplication';\r\nimport String from '../../Types/string';\r\nimport Type from '../../Types/type';\r\nimport Environment from '../../Config/environment';\r\nimport AvatarDriverRegistry from '../../Extend/Avatars/avatarDriverRegistry';\r\nimport PermissionsMapper from '../../Data/Configuration/permissionsMapper';\r\nimport Loader from '../Components/Loader';\r\nimport GuardMapper from '../../Data/Configuration/guardMapper';\r\n\r\nrequire('./style.less');\r\nconst syncjs = require('syncjs');\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n components: {\r\n 'publishing': Publishing,\r\n 'guard': Guard,\r\n 'ip-filter': IpFilter,\r\n 'permissions': Permissions,\r\n 'word-filter': WordFilter,\r\n 'privacy': Privacy,\r\n 'email': Email,\r\n 'loader': Loader\r\n },\r\n data() {\r\n return {\r\n activePage: 'publishing',\r\n settings: null,\r\n lastError: null,\r\n wordFilterEnabled: false,\r\n ipFilterEnabled: false,\r\n userEmail: 'example@example.org',\r\n akismetFilterEnabled: false,\r\n avatarOptions: [],\r\n canChangeConfig: false,\r\n hasLoaded: false,\r\n perPageOptions: [\r\n 10,\r\n 25,\r\n 50,\r\n 100\r\n ],\r\n userPreferences: {\r\n avatarDriver: 'initials',\r\n perPage: 25\r\n },\r\n state: {\r\n serverDiffers: false,\r\n loading: true,\r\n lastError: null\r\n }\r\n };\r\n },\r\n watch: {\r\n 'settings.guards': function (newVal) {\r\n this.updateGuardConfiguration();\r\n }\r\n },\r\n methods: {\r\n onConfigUserAvailable(config) {\r\n this.reloadConfigState();\r\n },\r\n reloadConfigState() {\r\n if (Environment.isControlPanelConfigEnabled()) {\r\n if (Environment.UserPreferences.isSuper === true) {\r\n this.watchForServerConfigChanges();\r\n this.canChangeConfig = true;\r\n }\r\n }\r\n\r\n if (Type.hasValue(Environment.UserPreferences)) {\r\n this.userPreferences.avatarDriver = Environment.UserPreferences.cp_avatar_driver;\r\n this.userPreferences.perPage = Environment.UserPreferences.cp_per_page;\r\n this.userEmail = Environment.UserPreferences.email;\r\n }\r\n\r\n this.reloadSettings();\r\n },\r\n watchForServerConfigChanges() {\r\n window.setInterval(function () {\r\n SettingsRepository.Instance.getCurrentChangeSet().then(function (response) {\r\n this.state.serverDiffers = response.changeSet !== this.settings.changeSet;\r\n }.bind(this));\r\n }.bind(this), 5000);\r\n },\r\n refreshAvatarDrivers() {\r\n let currentDriverMapping = AvatarDriverRegistry.DriverMapping,\r\n newOptions = [];\r\n\r\n for (let prop in currentDriverMapping) {\r\n newOptions.push({\r\n value: prop,\r\n driverName: currentDriverMapping[prop]\r\n });\r\n }\r\n\r\n newOptions.sort(function (a, b) {\r\n let aName = a.driverName,\r\n bName = b.driverName;\r\n\r\n return (aName < bName) ? -1 : (aName > bName) ? 1 : 0;\r\n });\r\n\r\n this.avatarOptions = newOptions;\r\n },\r\n updateGuardConfiguration() {\r\n this.wordFilterEnabled = this.hasGuardEnabled('WordFilterSpamGuard');\r\n this.ipFilterEnabled = this.hasGuardEnabled('IpFilterSpamGuard');\r\n this.akismetFilterEnabled = this.hasGuardEnabled('AkismetSpamGuard');\r\n },\r\n hasGuardEnabled(relativeClassName) {\r\n if (this.settings === null) {\r\n return false;\r\n }\r\n\r\n for (let i = 0; i < this.settings.guards.length; i++) {\r\n if (String.endsWith(this.settings.guards[i].class, '\\\\' + relativeClassName)) {\r\n return this.settings.guards[i].enabled;\r\n }\r\n }\r\n\r\n return false;\r\n },\r\n getSettings() {\r\n let returnItems = {};\r\n\r\n for (let prop in this.settings.items) {\r\n if (this.settings.items.hasOwnProperty(prop)) {\r\n let curProp = this.settings.items[prop];\r\n\r\n curProp.defaults = null;\r\n returnItems[prop] = curProp;\r\n }\r\n }\r\n\r\n returnItems[GuardMapper.SpamGuards].value = [];\r\n returnItems[PermissionsMapper.AllPermissions].value = [];\r\n returnItems[PermissionsMapper.CanApprove].value = [];\r\n returnItems[PermissionsMapper.CanEdit].value = [];\r\n returnItems[PermissionsMapper.CanEdit].value = [];\r\n returnItems[PermissionsMapper.CanReplyToComments].value = [];\r\n returnItems[PermissionsMapper.CanReportAsSpam].value = [];\r\n returnItems[PermissionsMapper.CanReportAsHam].value = [];\r\n returnItems[PermissionsMapper.CanUnApproveComments].value = [];\r\n returnItems[PermissionsMapper.CanViewComments].value = [];\r\n\r\n returnItems = GuardMapper.mapGuards(returnItems, this.settings.guards);\r\n returnItems = PermissionsMapper.mapPermissions(returnItems, this.settings.permissions);\r\n\r\n return {\r\n items: returnItems,\r\n user: {\r\n perPage: this.userPreferences.perPage,\r\n avatar: this.userPreferences.avatarDriver\r\n }\r\n };\r\n },\r\n saveSettings() {\r\n SettingsRepository.Instance.saveSettings(this.getSettings()).then(function (response) {\r\n if (response.success) {\r\n syncjs.Hubs.config().avatarUpdated([this.userPreferences.avatarDriver]);\r\n\r\n ControlPanelApplication.current().controlPanel.message().success(\r\n this.trans('config.updated')\r\n );\r\n } else {\r\n if (response.settingsUpdated === false && response.preferencesUpdated === false) {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_both_failure')\r\n );\r\n } else {\r\n if (response.settingsUpdated === false) {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_settings_failure')\r\n );\r\n } else {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_preferences_failure')\r\n );\r\n }\r\n }\r\n }\r\n this.reloadSettings();\r\n }.bind(this)).catch(function (err) {\r\n this.state.lastError = err;\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.const_preferences_unknown_failure')\r\n );\r\n }.bind(this));\r\n },\r\n reloadSettings() {\r\n this.state.loading = true;\r\n\r\n SettingsRepository.Instance.getSettings().then(function (settings) {\r\n this.settings = settings;\r\n this.state.loading = false;\r\n this.hasLoaded = true;\r\n this.state.serverDiffers = false;\r\n }.bind(this)).catch(function (err) {\r\n this.lastError = err;\r\n this.state.loading = false;\r\n }.bind(this));\r\n }\r\n },\r\n created() {\r\n syncjs.Hubs.config().handledBy(this);\r\n this.refreshAvatarDrivers();\r\n this.reloadConfigState();\r\n }\r\n\r\n};\r\n","import Type from '../Types/type';\n\nconst store = require('store');\n\nclass UserSettings {\n\n getSettings() {\n let userPreferences = store.get(UserSettings.SettingsKey);\n\n if (Type.hasValue(userPreferences) === false) {\n userPreferences = this._getDefaultSettings();\n\n this._saveSettings(userPreferences);\n }\n\n return userPreferences;\n }\n\n getDisplayTableFilters(): Boolean {\n let settings = this.getSettings();\n\n return Type.withDefault(settings[UserSettings.SettingDisplayTableFilter], false);\n }\n\n updateDisplayTableFilters(display: Boolean) {\n let preferences = this.getSettings();\n\n preferences.displayTableFilter = display;\n\n this._saveSettings(preferences);\n }\n\n _saveSettings(settings: Object) {\n store.set(UserSettings.SettingsKey, settings);\n }\n\n _getDefaultSettings() {\n return {\n displayTableFilter: false\n };\n }\n\n}\n\nUserSettings.SettingDisplayTableFilter = 'displayTableFilter';\nUserSettings.SettingsKey = 'meerkat_user_preferences';\n\nexport default UserSettings;\n","import Environment from '../Config/environment';\r\nimport {Guid, Type} from './../Types/common';\r\nimport Translator from '../Translation/translator';\r\nimport StatamicTranslator from '../Statamic/statamicTranslator';\r\nimport AvatarDriverRegistry from '../Extend/Avatars/avatarDriverRegistry';\r\nimport {registerVueFilters} from './registerVueFilters';\r\nimport {registerVueComponents} from './registerVueComponents';\r\nimport UserSettings from './userSettings';\r\nimport SettingsRepository from '../Repositories/settingsRepository';\r\n\r\nconst syncjs = require('syncjs');\r\n\r\n/**\r\n * Provides utilities for bootstrapping Meerkat applications and components.\r\n */\r\nclass Bootstrapper {\r\n\r\n static registerVueJsDependencies() {\r\n if (Type.hasValue(Environment.ContextVueJs)) {\r\n registerVueFilters(Environment.ContextVueJs);\r\n registerVueComponents(Environment.ContextVueJs);\r\n }\r\n }\r\n\r\n /**\r\n * Registers extensibility drivers from the global window state.\r\n */\r\n static liftExtensibilityDrivers() {\r\n if (typeof window[Bootstrapper.ExtensibilityInstance] !== 'undefined') {\r\n /**\r\n * We will locate any existing extensibility objects stored in the\r\n * temporary `meerkatExtend` environment. We do not want to keep\r\n * that environment around, so we will destroy it afterwards.\r\n */\r\n let extendInstance = window[Bootstrapper.ExtensibilityInstance]['Extend'],\r\n existingDrivers = extendInstance.Avatars.getDrivers(),\r\n existingDisplayNames = extendInstance.Avatars.getDisplayNames();\r\n\r\n AvatarDriverRegistry.setDisplayNames(existingDisplayNames);\r\n AvatarDriverRegistry.setDrivers(existingDrivers);\r\n AvatarDriverRegistry.DriverMapping = extendInstance.Avatars.DriverMapping;\r\n\r\n delete window[Bootstrapper.ExtensibilityInstance];\r\n\r\n AvatarDriverRegistry.registerDriversWithRunTime();\r\n }\r\n\r\n }\r\n\r\n /**\r\n * Registers the Meerkat UI core dependencies, such as the Translator.\r\n */\r\n static registerDependencies() {\r\n Translator.Instance = new StatamicTranslator();\r\n }\r\n\r\n /**\r\n * Analyzes the DOM for any elements containing Meerkat application requests.\r\n */\r\n static bootstrapApplications() {\r\n Environment.Preferences = new UserSettings();\r\n\r\n SettingsRepository.Instance.getCurrentUserSettings().then(function (response) {\r\n if (response.success) {\r\n Environment.UserPreferences = response.settings['user'];\r\n Environment.UserContext = response.settings['permissions'];\r\n Environment.Settings.avatarDriver = response.settings['general'].avatarDriver;\r\n Environment.Settings.controlPanelConfigurationEnabled =\r\n response.settings['general'].controlPanelConfigurationEnabled;\r\n syncjs.Hubs.config().userAvailable([Environment.UserPreferences]);\r\n }\r\n });\r\n\r\n Bootstrapper.registerDependencies();\r\n Bootstrapper.liftExtensibilityDrivers();\r\n Bootstrapper.registerVueJsDependencies();\r\n\r\n let appElements = Environment.$('[data-meerkat-app]');\r\n\r\n if (appElements.length > 0) {\r\n for (let i = 0; i < appElements.length; i += 1) {\r\n let elementHost = Environment.$(appElements[i]);\r\n\r\n Bootstrapper.runApp(elementHost.data('meerkat-app'), elementHost);\r\n }\r\n }\r\n }\r\n\r\n static runApp(appName, elementHost) {\r\n if (typeof Bootstrapper.AppMap[appName] !== 'undefined') {\r\n let appType = Bootstrapper.AppMap[appName],\r\n instanceId = Guid.newGuid(),\r\n appId = 'app-' + instanceId;\r\n\r\n elementHost.attr('data-meerkat-application', instanceId);\r\n elementHost.attr('id', appId);\r\n\r\n appType.el = '#' + appId;\r\n\r\n Bootstrapper.Instances[instanceId] = new Environment.ContextVueJs(appType);\r\n }\r\n }\r\n\r\n}\r\n\r\nBootstrapper.ExtensibilityInstance = 'meerkatExtend';\r\nBootstrapper.Instances = {};\r\nBootstrapper.AppMap = {};\r\n\r\nexport default Bootstrapper;\r\n","import NavigationBadge from '../App/Components/NavigationBadge';\nimport CommentEditor from '../App/Components/CommentEditor';\nimport StatefulConfirmationDialog from '../App/Components/StatefulConfirmationDialog';\nimport Loader from '../App/Components/Loader';\nimport CommentThread from '../App/CommentThread';\nimport Configurator from '../App/Configurator';\nimport Environment from '../Config/environment';\n\nimport Type from '../Types/type';\n\nexport function registerVueComponents(vue) {\n let registerCallback = vue.component;\n\n if (Type.hasValue(Environment.ContextComponentRegister)) {\n registerCallback = Environment.ContextComponentRegister;\n }\n\n registerCallback('meerkat-nav-badge', NavigationBadge);\n registerCallback('meerkat-comment-editor', CommentEditor);\n registerCallback('meerkat-comment-thread', CommentThread);\n registerCallback('meerkat-configurator', Configurator);\n registerCallback('meerkat-loader', Loader);\n registerCallback('meerkat-stateful-confirm-dialog', StatefulConfirmationDialog);\n\n}\n","import {controlPanelHooks} from '../hooks';\nimport ControlPanel from './../Statamic/controlPanel';\nimport Bootstrapper from './bootstrapper';\n\n/**\n * Provides utilities for interacting with the Statamic Control Panel\n * and bootstrapping Meerkat specific applications and components.\n */\nclass ControlPanelApplication {\n\n constructor() {\n this.cpHooks = controlPanelHooks;\n this.controlPanel = new ControlPanel();\n }\n\n boot() {\n this.runCpHooks();\n\n Bootstrapper.bootstrapApplications();\n }\n\n runCpHooks() {\n let pathName = window.location.pathname;\n\n for (let i = 0; i < this.cpHooks.length; i += 1) {\n if (this.cpHooks[i].path.test(pathName)) {\n this.cpHooks[i].uses.run(this);\n }\n }\n }\n\n url(relativePath) {\n return ControlPanel.cpUrl(relativePath);\n }\n\n /**\n * Returns the global Control Panel application.\n *\n * @returns {ControlPanelApplication}\n */\n static current(): ControlPanelApplication {\n return ControlPanelApplication.Instance;\n }\n\n /**\n * Returns the current Control Panel instance.\n *\n * @returns {ControlPanel}\n */\n static controlPanel(): ControlPanel {\n return ControlPanelApplication.Instance.controlPanel;\n }\n\n}\n\n/**\n * The current Control Panel instance.\n *\n * @type {ControlPanelApplication|null}\n */\nControlPanelApplication.Instance = null;\n\nexport default ControlPanelApplication;\n","import {registerHubs} from './registerHubs';\r\nimport ControlPanelApplication from './controlPanelApplication';\r\nimport Bootstrapper from './bootstrapper';\r\nimport OverviewProvider from '../Reporting/overviewProvider';\r\n\r\nconst NumAbbr = require('number-abbreviate');\r\n\r\nrequire('./meerkat.less');\r\n\r\nclass App {\r\n\r\n}\r\n\r\nApp.NumberFormatter = new NumAbbr();\r\nApp.Bootstrapper = Bootstrapper;\r\nApp.ControlPanelApplication = ControlPanelApplication;\r\n\r\nregisterHubs();\r\n\r\nOverviewProvider.Instance = new OverviewProvider();\r\nOverviewProvider.Instance.start();\r\n\r\nexport {\r\n App\r\n};\r\n","import Environment from './environment';\r\n\r\nclass Config {\r\n\r\n}\r\n\r\nConfig.Environment = Environment;\r\n\r\nexport {\r\n Config\r\n};\r\n","import AvatarDriverRegistry from './Avatars/avatarDriverRegistry';\r\n\r\nclass Extend {\r\n\r\n}\r\n\r\nExtend.Avatars = AvatarDriverRegistry;\r\n\r\nexport {\r\n Extend\r\n};\r\n","import Guid from './guid';\r\nimport String from './string';\r\nimport Url from './url';\r\nimport Range from './range';\r\nimport Convert from './convert';\r\nimport Type from './type';\r\n\r\nclass Types {\r\n\r\n}\r\n\r\nTypes.Convert = Convert;\r\nTypes.Guid = Guid;\r\nTypes.String = String;\r\nTypes.Range = Range;\r\nTypes.Type = Type;\r\nTypes.Url = Url;\r\n\r\nexport {\r\n Types\r\n};\r\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://meerkat/webpack/universalModuleDefinition","webpack://meerkat/webpack/bootstrap","webpack://meerkat/./node_modules/core-js/modules/es.object.to-string.js","webpack://meerkat/./node_modules/core-js/modules/es.number.constructor.js","webpack://meerkat/./node_modules/core-js/modules/es.array.iterator.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.description.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.iterator.js","webpack://meerkat/./node_modules/core-js/modules/es.string.iterator.js","webpack://meerkat/./node_modules/core-js/modules/web.dom-collections.iterator.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.to-primitive.js","webpack://meerkat/./node_modules/core-js/modules/es.date.to-primitive.js","webpack://meerkat/./node_modules/core-js/modules/es.object.define-property.js","webpack://meerkat/./node_modules/core-js/modules/es.function.bind.js","webpack://meerkat/./node_modules/core-js/internals/export.js","webpack://meerkat/./node_modules/core-js/modules/es.object.set-prototype-of.js","webpack://meerkat/./node_modules/core-js/modules/es.object.get-prototype-of.js","webpack://meerkat/./node_modules/core-js/modules/es.reflect.construct.js","webpack://meerkat/./node_modules/core-js/modules/es.object.create.js","webpack://meerkat/./node_modules/core-js/internals/fails.js","webpack://meerkat/./node_modules/core-js/internals/function-uncurry-this.js","webpack://meerkat/./node_modules/core-js/internals/global.js","webpack://meerkat/./node_modules/core-js/internals/is-callable.js","webpack://meerkat/./node_modules/core-js/internals/well-known-symbol.js","webpack://meerkat/./node_modules/core-js/internals/function-call.js","webpack://meerkat/./node_modules/core-js/internals/has-own-property.js","webpack://meerkat/./node_modules/core-js/internals/an-object.js","webpack://meerkat/./node_modules/core-js/internals/is-object.js","webpack://meerkat/./node_modules/core-js/internals/descriptors.js","webpack://meerkat/./node_modules/core-js/modules/es.function.name.js","webpack://meerkat/./node_modules/core-js/internals/to-string.js","webpack://meerkat/./node_modules/core-js/internals/object-define-property.js","webpack://meerkat/./node_modules/core-js/internals/define-built-in.js","webpack://meerkat/./node_modules/core-js/internals/is-pure.js","webpack://meerkat/./node_modules/core-js/internals/get-built-in.js","webpack://meerkat/./node_modules/core-js/internals/to-object.js","webpack://meerkat/./node_modules/core-js/internals/a-callable.js","webpack://meerkat/./node_modules/core-js/internals/classof-raw.js","webpack://meerkat/./node_modules/core-js/internals/require-object-coercible.js","webpack://meerkat/./node_modules/core-js/internals/to-indexed-object.js","webpack://meerkat/./node_modules/core-js/modules/es.regexp.exec.js","webpack://meerkat/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://meerkat/./node_modules/core-js/internals/engine-user-agent.js","webpack://meerkat/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://meerkat/./node_modules/core-js/internals/length-of-array-like.js","webpack://meerkat/./node_modules/core-js/internals/object-create.js","webpack://meerkat/./node_modules/wolfy87-eventemitter/EventEmitter.js","webpack://meerkat/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://meerkat/./node_modules/core-js/internals/internal-state.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.js","webpack://meerkat/./src/syncjs/environment.js","webpack://meerkat/./src/syncjs/Types/type.js","webpack://meerkat/./src/syncjs/Messaging/message.js","webpack://meerkat/./src/syncjs/Types/string.js","webpack://meerkat/./src/syncjs/Messaging/manager.js","webpack://meerkat/./src/syncjs/Messaging/handlerManager.js","webpack://meerkat/./src/syncjs/Messaging/hub.js","webpack://meerkat/./src/syncjs/Types/guid.js","webpack://meerkat/./src/syncjs/Messaging/hubs.js","webpack://meerkat/./src/syncjs/Messaging/typeNamespaceReactors.js","webpack://meerkat/./src/syncjs/index.js","webpack://meerkat/./node_modules/core-js/internals/shared.js","webpack://meerkat/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://meerkat/./node_modules/core-js/internals/try-to-string.js","webpack://meerkat/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://meerkat/./node_modules/core-js/internals/function-bind-context.js","webpack://meerkat/./node_modules/core-js/modules/es.string.trim.js","webpack://meerkat/./node_modules/store/src/util.js","webpack://meerkat/./node_modules/core-js/internals/function-bind-native.js","webpack://meerkat/./node_modules/core-js/internals/engine-v8-version.js","webpack://meerkat/./node_modules/core-js/internals/is-symbol.js","webpack://meerkat/./node_modules/core-js/internals/get-method.js","webpack://meerkat/./node_modules/core-js/internals/function-name.js","webpack://meerkat/./node_modules/core-js/internals/create-property-descriptor.js","webpack://meerkat/./node_modules/core-js/internals/hidden-keys.js","webpack://meerkat/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://meerkat/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://meerkat/./node_modules/core-js/internals/set-to-string-tag.js","webpack://meerkat/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://meerkat/./node_modules/core-js/internals/is-array.js","webpack://meerkat/./node_modules/core-js/internals/function-apply.js","webpack://meerkat/./node_modules/core-js/internals/array-slice.js","webpack://meerkat/./node_modules/core-js/internals/iterators.js","webpack://meerkat/./node_modules/core-js/internals/promise-native-constructor.js","webpack://meerkat/./node_modules/core-js/internals/promise-constructor-detection.js","webpack://meerkat/./node_modules/core-js/internals/new-promise-capability.js","webpack://meerkat/./node_modules/core-js/modules/es.string.replace.js","webpack://meerkat/./node_modules/core-js/modules/web.timers.js","webpack://meerkat/(webpack)/buildin/global.js","webpack://meerkat/./node_modules/core-js/internals/uid.js","webpack://meerkat/./node_modules/core-js/internals/document-create-element.js","webpack://meerkat/./node_modules/core-js/internals/to-property-key.js","webpack://meerkat/./node_modules/core-js/internals/shared-key.js","webpack://meerkat/./node_modules/core-js/internals/indexed-object.js","webpack://meerkat/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://meerkat/./node_modules/core-js/internals/to-length.js","webpack://meerkat/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://meerkat/./node_modules/core-js/internals/is-forced.js","webpack://meerkat/./node_modules/core-js/internals/classof.js","webpack://meerkat/./node_modules/core-js/internals/create-property.js","webpack://meerkat/./node_modules/core-js/internals/array-iteration.js","webpack://meerkat/./node_modules/core-js/internals/is-constructor.js","webpack://meerkat/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://meerkat/./node_modules/core-js/internals/object-get-prototype-of.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-node.js","webpack://meerkat/./node_modules/core-js/internals/iterate.js","webpack://meerkat/./node_modules/core-js/modules/es.date.to-string.js","webpack://meerkat/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://meerkat/./node_modules/core-js/modules/es.array.slice.js","webpack://meerkat/./node_modules/core-js/modules/es.array.join.js","webpack://meerkat/./node_modules/core-js/internals/array-method-is-strict.js","webpack://meerkat/./node_modules/core-js/internals/well-known-symbol-define.js","webpack://meerkat/./node_modules/core-js/internals/shared-store.js","webpack://meerkat/./node_modules/core-js/internals/define-global-property.js","webpack://meerkat/./node_modules/core-js/internals/inspect-source.js","webpack://meerkat/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://meerkat/./node_modules/core-js/internals/array-includes.js","webpack://meerkat/./node_modules/core-js/internals/to-absolute-index.js","webpack://meerkat/./node_modules/core-js/internals/enum-bug-keys.js","webpack://meerkat/./node_modules/core-js/internals/to-string-tag-support.js","webpack://meerkat/./node_modules/core-js/internals/object-keys.js","webpack://meerkat/./node_modules/core-js/internals/string-trim.js","webpack://meerkat/./node_modules/core-js/internals/whitespaces.js","webpack://meerkat/./node_modules/core-js/internals/add-to-unscopables.js","webpack://meerkat/./node_modules/core-js/internals/iterator-define.js","webpack://meerkat/./node_modules/core-js/internals/create-iter-result-object.js","webpack://meerkat/./node_modules/core-js/modules/es.object.assign.js","webpack://meerkat/./node_modules/core-js/internals/an-instance.js","webpack://meerkat/./node_modules/core-js/internals/perform.js","webpack://meerkat/./node_modules/core-js/internals/get-iterator-method.js","webpack://meerkat/./node_modules/core-js/internals/check-correctness-of-iteration.js","webpack://meerkat/./node_modules/core-js/internals/regexp-exec.js","webpack://meerkat/./node_modules/core-js/modules/es.string.ends-with.js","webpack://meerkat/./node_modules/core-js/internals/not-a-regexp.js","webpack://meerkat/./node_modules/core-js/internals/correct-is-regexp-logic.js","webpack://meerkat/./node_modules/core-js/modules/es.string.starts-with.js","webpack://meerkat/./node_modules/core-js/internals/array-method-has-species-support.js","webpack://meerkat/./node_modules/core-js/modules/es.array.concat.js","webpack://meerkat/./node_modules/core-js/modules/es.array.filter.js","webpack://meerkat/./node_modules/crypto-js/md5.js","webpack://meerkat/./node_modules/core-js/internals/path.js","webpack://meerkat/./node_modules/core-js/internals/well-known-symbol-wrapped.js","webpack://meerkat/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://meerkat/./node_modules/core-js/internals/ie8-dom-define.js","webpack://meerkat/./node_modules/core-js/internals/document-all.js","webpack://meerkat/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://meerkat/./node_modules/core-js/internals/to-primitive.js","webpack://meerkat/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://meerkat/./node_modules/core-js/internals/symbol-define-to-primitive.js","webpack://meerkat/./node_modules/core-js/internals/make-built-in.js","webpack://meerkat/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://meerkat/./node_modules/core-js/internals/object-keys-internal.js","webpack://meerkat/./node_modules/core-js/internals/object-define-properties.js","webpack://meerkat/./node_modules/core-js/internals/html.js","webpack://meerkat/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://meerkat/./node_modules/core-js/internals/array-slice-simple.js","webpack://meerkat/./node_modules/core-js/internals/array-species-create.js","webpack://meerkat/./node_modules/core-js/internals/symbol-registry-detection.js","webpack://meerkat/./node_modules/core-js/internals/inherit-if-required.js","webpack://meerkat/./node_modules/core-js/internals/iterators-core.js","webpack://meerkat/./node_modules/core-js/internals/correct-prototype-getter.js","webpack://meerkat/./node_modules/core-js/internals/string-multibyte.js","webpack://meerkat/./node_modules/core-js/internals/dom-iterables.js","webpack://meerkat/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://meerkat/./node_modules/core-js/internals/set-species.js","webpack://meerkat/./node_modules/core-js/internals/a-constructor.js","webpack://meerkat/./node_modules/core-js/internals/task.js","webpack://meerkat/./node_modules/core-js/internals/validate-arguments-length.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-ios.js","webpack://meerkat/./node_modules/core-js/internals/queue.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-deno.js","webpack://meerkat/./node_modules/core-js/internals/is-array-iterator-method.js","webpack://meerkat/./node_modules/core-js/internals/get-iterator.js","webpack://meerkat/./node_modules/core-js/internals/iterator-close.js","webpack://meerkat/./node_modules/core-js/internals/promise-statics-incorrect-iteration.js","webpack://meerkat/./node_modules/core-js/internals/function-bind.js","webpack://meerkat/./node_modules/core-js/modules/es.parse-int.js","webpack://meerkat/./node_modules/core-js/internals/regexp-flags.js","webpack://meerkat/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://meerkat/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://meerkat/./node_modules/core-js/modules/es.array.is-array.js","webpack://meerkat/./node_modules/store/dist/store.legacy.js","webpack://meerkat/./node_modules/core-js/modules/es.reflect.has.js","webpack://meerkat/./node_modules/core-js/modules/es.reflect.get.js","webpack://meerkat/./node_modules/core-js/modules/es.array.find.js","webpack://meerkat/./node_modules/core-js/internals/schedulers-fix.js","webpack://meerkat/./node_modules/core-js/modules/es.array.includes.js","webpack://meerkat/./node_modules/core-js/modules/es.string.includes.js","webpack://meerkat/./node_modules/core-js/modules/es.array.for-each.js","webpack://meerkat/./node_modules/core-js/internals/array-for-each.js","webpack://meerkat/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://meerkat/./node_modules/core-js/internals/internal-metadata.js","webpack://meerkat/./node_modules/core-js/modules/es.array.sort.js","webpack://meerkat/./src/Icons/comment.html","webpack://meerkat/./src/Statamic/blueprintEntry.html","webpack://meerkat/./src/App/Components/NavigationBadge/template.html","webpack://meerkat/./node_modules/ky/index.js","webpack://meerkat/./src/App/Components/CommentEditor/template.html","webpack://meerkat/./src/App/Components/StatefulConfirmationDialog/template.html","webpack://meerkat/./src/App/Components/Loader/template.html","webpack://meerkat/./src/App/CommentThread/template.html","webpack://meerkat/./src/App/Components/Pagination/template.html","webpack://meerkat/./src/App/Components/CommentTable/template.html","webpack://meerkat/./src/App/Components/AuthorDisplay/template.html","webpack://meerkat/./src/App/Components/CommentDisplay/template.html","webpack://meerkat/./src/App/Components/CommentActions/template.html","webpack://meerkat/./src/App/Components/ReplyToAuthorDisplay/template.html","webpack://meerkat/./src/App/Components/ReplyEditor/template.html","webpack://meerkat/./src/App/Components/TableFilters/template.html","webpack://meerkat/./src/App/Components/CommentTable/sortIndicator.html","webpack://meerkat/./src/App/Components/EmptyIndicator/template.html","webpack://meerkat/./src/App/Configurator/template.html","webpack://meerkat/./src/App/Configurator/Panels/Publishing/template.html","webpack://meerkat/./src/App/Configurator/Panels/Guard/template.html","webpack://meerkat/./src/App/Configurator/Panels/IpFilter/template.html","webpack://meerkat/./src/App/Configurator/Panels/Permissions/template.html","webpack://meerkat/./src/App/Configurator/Panels/WordFilter/template.html","webpack://meerkat/./src/App/Configurator/Panels/Privacy/template.html","webpack://meerkat/./src/App/Configurator/Panels/Email/template.html","webpack://meerkat/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://meerkat/./node_modules/core-js/internals/date-to-primitive.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.constructor.js","webpack://meerkat/./node_modules/core-js/internals/own-keys.js","webpack://meerkat/./node_modules/core-js/internals/math-trunc.js","webpack://meerkat/./node_modules/core-js/internals/array-species-constructor.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.for.js","webpack://meerkat/./node_modules/core-js/modules/es.symbol.key-for.js","webpack://meerkat/./node_modules/core-js/modules/es.json.stringify.js","webpack://meerkat/./node_modules/core-js/internals/get-json-replacer-function.js","webpack://meerkat/./node_modules/core-js/modules/es.object.get-own-property-symbols.js","webpack://meerkat/./node_modules/core-js/internals/object-to-string.js","webpack://meerkat/./node_modules/core-js/internals/function-uncurry-this-accessor.js","webpack://meerkat/./node_modules/core-js/internals/a-possible-prototype.js","webpack://meerkat/./node_modules/core-js/internals/this-number-value.js","webpack://meerkat/./node_modules/core-js/internals/iterator-create-constructor.js","webpack://meerkat/./node_modules/core-js/internals/object-assign.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.constructor.js","webpack://meerkat/./node_modules/process/browser.js","webpack://meerkat/./node_modules/core-js/internals/species-constructor.js","webpack://meerkat/./node_modules/core-js/internals/microtask.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-ios-pebble.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-webos-webkit.js","webpack://meerkat/./node_modules/core-js/internals/host-report-errors.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-browser.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.all.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.catch.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.race.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.reject.js","webpack://meerkat/./node_modules/core-js/modules/es.promise.resolve.js","webpack://meerkat/./node_modules/core-js/internals/promise-resolve.js","webpack://meerkat/./node_modules/core-js/internals/number-parse-int.js","webpack://meerkat/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://meerkat/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://meerkat/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://meerkat/./node_modules/core-js/internals/advance-string-index.js","webpack://meerkat/./node_modules/core-js/internals/get-substitution.js","webpack://meerkat/./node_modules/core-js/internals/regexp-get-flags.js","webpack://meerkat/./node_modules/core-js/internals/string-trim-forced.js","webpack://meerkat/./node_modules/core-js/internals/is-regexp.js","webpack://meerkat/./node_modules/store/src/store-engine.js","webpack://meerkat/./node_modules/store/storages/all.js","webpack://meerkat/./node_modules/store/storages/localStorage.js","webpack://meerkat/./node_modules/store/storages/oldFF-globalStorage.js","webpack://meerkat/./node_modules/store/storages/oldIE-userDataStorage.js","webpack://meerkat/./node_modules/store/storages/cookieStorage.js","webpack://meerkat/./node_modules/store/storages/sessionStorage.js","webpack://meerkat/./node_modules/store/storages/memoryStorage.js","webpack://meerkat/./node_modules/store/plugins/json2.js","webpack://meerkat/./node_modules/store/plugins/lib/json2.js","webpack://meerkat/./node_modules/core-js/internals/is-data-descriptor.js","webpack://meerkat/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://meerkat/./node_modules/luxon/build/cjs-browser/luxon.js","webpack://meerkat/./node_modules/core-js/modules/web.set-interval.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-bun.js","webpack://meerkat/./node_modules/core-js/modules/web.set-timeout.js","webpack://meerkat/./node_modules/crypto-js/core.js","webpack://meerkat/./node_modules/core-js/modules/es.array.from.js","webpack://meerkat/./node_modules/core-js/internals/array-from.js","webpack://meerkat/./node_modules/core-js/internals/call-with-safe-iteration-closing.js","webpack://meerkat/./node_modules/core-js/modules/es.string.search.js","webpack://meerkat/./node_modules/core-js/internals/same-value.js","webpack://meerkat/./node_modules/core-js/modules/es.array.index-of.js","webpack://meerkat/./node_modules/core-js/modules/es.map.js","webpack://meerkat/./node_modules/core-js/modules/es.map.constructor.js","webpack://meerkat/./node_modules/core-js/internals/collection.js","webpack://meerkat/./node_modules/core-js/internals/object-is-extensible.js","webpack://meerkat/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://meerkat/./node_modules/core-js/internals/freezing.js","webpack://meerkat/./node_modules/core-js/internals/collection-strong.js","webpack://meerkat/./node_modules/core-js/internals/define-built-ins.js","webpack://meerkat/./node_modules/core-js/internals/delete-property-or-throw.js","webpack://meerkat/./node_modules/core-js/internals/array-sort.js","webpack://meerkat/./node_modules/core-js/internals/engine-ff-version.js","webpack://meerkat/./node_modules/core-js/internals/engine-is-ie-or-edge.js","webpack://meerkat/./node_modules/core-js/internals/engine-webkit-version.js","webpack://meerkat/./node_modules/number-abbreviate/index.js","webpack://meerkat/./src/Types/type.js","webpack://meerkat/./src/Types/convert.js","webpack://meerkat/./src/Types/guid.js","webpack://meerkat/./src/Types/range.js","webpack://meerkat/./src/Types/string.js","webpack://meerkat/./src/Types/url.js","webpack://meerkat/./src/Data/Comments/author.js","webpack://meerkat/./src/Data/Comments/threadContext.js","webpack://meerkat/./src/Http/Responses/baseResponse.js","webpack://meerkat/./src/Http/Responses/errorResponse.js","webpack://meerkat/./src/Http/Responses/commentMutationResponse.js","webpack://meerkat/./src/Http/Responses/AffectedCommentsResponse.js","webpack://meerkat/./src/Data/Comments/comment.js","webpack://meerkat/./src/Data/Concerns/canBeSelected.js","webpack://meerkat/./src/App/registerHubs.js","webpack://meerkat/./src/Config/settings.js","webpack://meerkat/./src/Data/defaultPermissionSet.js","webpack://meerkat/./src/Config/environment.js","webpack://meerkat/./src/Statamic/blueprints.js","webpack://meerkat/./src/Statamic/Notifications/index.js","webpack://meerkat/./src/utils.js","webpack://meerkat/./src/Statamic/addons.js","webpack://meerkat/./src/Statamic/controlPanel.js","webpack://meerkat/./src/hooks.js","webpack://meerkat/./src/Statamic/Hooks/blueprintHook.js","webpack://meerkat/./src/Statamic/Hooks/addonConfigHook.js","webpack://meerkat/./src/Translation/translator.js","webpack://meerkat/./src/addon.js","webpack://meerkat/./src/Statamic/statamicTranslator.js","webpack://meerkat/./src/Extend/Avatars/avatarDriverRegistry.js","webpack://meerkat/./src/App/markdown.js","webpack://meerkat/./src/App/registerVueFilters.js","webpack://meerkat/./src/Data/Concerns/canPoolHttpRequests.js","webpack://meerkat/./src/Http/client.js","webpack://meerkat/./src/Http/Responses/Reporting/overviewResponse.js","webpack://meerkat/./src/Data/Concerns/canBeStringOrHash.js","webpack://meerkat/./src/Http/endpoints.js","webpack://meerkat/./src/Repositories/reportingRepository.js","webpack://meerkat/./src/Reporting/overviewProvider.js","webpack://meerkat/./src/App/Components/NavigationBadge/index.js","webpack://meerkat/./src/App/Mixins/usesTranslator.js","webpack://meerkat/./src/trans.js","webpack://meerkat/./src/App/actionState.js","webpack://meerkat/./src/App/Mixins/actionHandler.js","webpack://meerkat/./src/App/Mixins/canDismissAction.js","webpack://meerkat/./src/App/Components/CommentEditor/Handlers/lostChangesHandler.js","webpack://meerkat/./src/App/Components/CommentEditor/index.js","webpack://meerkat/./src/App/Components/StatefulConfirmationDialog/index.js","webpack://meerkat/./src/App/Components/Loader/index.js","webpack://meerkat/./src/Http/Responses/pagedResponse.js","webpack://meerkat/./src/Data/Comments/commentCollection.js","webpack://meerkat/./src/Data/Concerns/providesCollectionInteractivity.js","webpack://meerkat/./src/Data/Paged/pagedMetaData.js","webpack://meerkat/./src/Data/Comments/searchOptions.js","webpack://meerkat/./src/Data/Comments/index.js","webpack://meerkat/./src/Data/index.js","webpack://meerkat/./src/Repositories/authorsRepository.js","webpack://meerkat/./src/Repositories/threadsRepository.js","webpack://meerkat/./src/Repositories/index.js","webpack://meerkat/./src/Http/Responses/commentResponse.js","webpack://meerkat/./src/Data/taskStatus.js","webpack://meerkat/./src/Http/Responses/taskResponse.js","webpack://meerkat/./src/Repositories/commentRepository.js","webpack://meerkat/./src/Data/Paged/rangeItem.js","webpack://meerkat/./src/App/Components/Pagination/index.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/editCommentHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/replyCommentHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkApproveHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkUnapproveHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkDeleteHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkSpamHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkNotSpamHandler.js","webpack://meerkat/./src/App/Components/CommentTable/Handlers/bulkRemoveAllSpam.js","webpack://meerkat/./src/App/Components/AuthorDisplay/index.js","webpack://meerkat/./src/App/Mixins/canPerformAction.js","webpack://meerkat/./src/App/Components/CommentActions/Handlers/approveCommentHandler.js","webpack://meerkat/./src/App/Components/CommentActions/Handlers/unApproveCommentHandler.js","webpack://meerkat/./src/App/Components/CommentActions/Handlers/deleteCommentHandler.js","webpack://meerkat/./src/App/Components/CommentActions/Handlers/markAsSpamHandler.js","webpack://meerkat/./src/App/Components/CommentActions/Handlers/markAsNotSpamHandler.js","webpack://meerkat/./src/App/Components/CommentActions/index.js","webpack://meerkat/./src/App/Components/ReplyToAuthorDisplay/index.js","webpack://meerkat/./src/App/Components/CommentDisplay/index.js","webpack://meerkat/./src/App/Components/ReplyEditor/index.js","webpack://meerkat/./src/Data/Filters/filter.js","webpack://meerkat/./src/Data/Filters/allFilter.js","webpack://meerkat/./src/Data/Filters/isSpamFilter.js","webpack://meerkat/./src/Data/Filters/pendingFilter.js","webpack://meerkat/./src/Data/Filters/publishedFilter.js","webpack://meerkat/./src/App/Components/TableFilters/index.js","webpack://meerkat/./src/App/Components/CommentTable/sortManager.js","webpack://meerkat/./src/App/Components/CommentTable/sortIndicator.js","webpack://meerkat/./src/App/Components/EmptyIndicator/index.js","webpack://meerkat/./src/App/Components/CommentTable/index.js","webpack://meerkat/./src/Repositories/tasksRepository.js","webpack://meerkat/./src/Tasks/taskObserver.js","webpack://meerkat/./src/Data/Configuration/entryBehavior.js","webpack://meerkat/./src/Data/Configuration/configItem.js","webpack://meerkat/./src/Data/Configuration/spamGuard.js","webpack://meerkat/./src/Data/permissionSet.js","webpack://meerkat/./src/Data/Configuration/groupPermission.js","webpack://meerkat/./src/Http/Responses/settingsResponse.js","webpack://meerkat/./src/Http/Responses/saveSettingsResponse.js","webpack://meerkat/./src/Http/Responses/validateAkismetResponse.js","webpack://meerkat/./src/Http/Responses/changeSetResponse.js","webpack://meerkat/./src/Http/Responses/userConfigurationResponse.js","webpack://meerkat/./src/Repositories/settingsRepository.js","webpack://meerkat/./src/App/CommentThread/index.js","webpack://meerkat/./src/Data/Filters/defaultFilterApplicator.js","webpack://meerkat/./src/App/Configurator/Panels/Publishing/index.js","webpack://meerkat/./src/App/Configurator/Panels/Guard/index.js","webpack://meerkat/./src/App/Configurator/Panels/IpFilter/index.js","webpack://meerkat/./src/App/Configurator/Panels/Permissions/index.js","webpack://meerkat/./src/App/Configurator/Panels/WordFilter/index.js","webpack://meerkat/./src/App/Configurator/Panels/Privacy/index.js","webpack://meerkat/./src/App/Configurator/Panels/Email/index.js","webpack://meerkat/./src/Data/Configuration/permissionsMapper.js","webpack://meerkat/./src/Data/Configuration/guardMapper.js","webpack://meerkat/./src/App/Configurator/index.js","webpack://meerkat/./src/App/userSettings.js","webpack://meerkat/./src/App/bootstrapper.js","webpack://meerkat/./src/App/registerVueComponents.js","webpack://meerkat/./src/App/controlPanelApplication.js","webpack://meerkat/./src/App/index.js","webpack://meerkat/./src/Config/index.js","webpack://meerkat/./src/Extend/index.js","webpack://meerkat/./src/Types/index.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","TO_STRING_TAG_SUPPORT","defineBuiltIn","toString","unsafe","$","IS_PURE","DESCRIPTORS","global","path","uncurryThis","isForced","hasOwn","inheritIfRequired","isPrototypeOf","isSymbol","toPrimitive","fails","getOwnPropertyNames","f","getOwnPropertyDescriptor","thisNumberValue","trim","NUMBER","NativeNumber","PureNumberNamespace","NumberPrototype","TypeError","stringSlice","slice","charCodeAt","toNumeric","primValue","toNumber","argument","first","third","radix","maxCode","digits","length","index","code","it","NaN","parseInt","FORCED","calledWithNew","dummy","NumberWrapper","arguments","this","constructor","wrap","forced","Number","copyConstructorProperties","target","source","keys","split","j","toIndexedObject","addToUnscopables","Iterators","InternalStateModule","defineIterator","createIterResultObject","ARRAY_ITERATOR","setInternalState","set","getInternalState","getterFor","Array","iterated","kind","type","state","undefined","values","Arguments","error","isCallable","defineBuiltInAccessor","NativeSymbol","SymbolPrototype","description","EmptyStringDescriptionStore","SymbolWrapper","result","NATIVE_SYMBOL","String","thisSymbolValue","valueOf","symbolDescriptiveString","regexp","replace","configurable","symbol","string","desc","defineWellKnownSymbol","charAt","STRING_ITERATOR","point","DOMIterables","DOMTokenListPrototype","ArrayIteratorMethods","createNonEnumerableProperty","wellKnownSymbol","ITERATOR","TO_STRING_TAG","ArrayValues","handlePrototype","CollectionPrototype","COLLECTION_NAME","METHOD_NAME","defineSymbolToPrimitive","dateToPrimitive","TO_PRIMITIVE","DatePrototype","Date","stat","sham","proto","Function","defineGlobalProperty","options","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","dontCallGetSet","setPrototypeOf","toObject","nativeGetPrototypeOf","CORRECT_PROTOTYPE_GETTER","getPrototypeOf","getBuiltIn","apply","aConstructor","anObject","isObject","nativeConstruct","ObjectPrototype","push","NEW_TARGET_BUG","F","ARGS_BUG","construct","Target","args","newTarget","$args","instance","exec","NATIVE_BIND","FunctionPrototype","uncurryThisWithBind","fn","Math","check","globalThis","self","$documentAll","documentAll","all","IS_HTMLDDA","shared","uid","USE_SYMBOL_AS_UID","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$String","$TypeError","FUNCTION_NAME_EXISTS","EXISTS","functionToString","nameRE","regExpExec","classof","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","O","P","Attributes","current","writable","definePropertyModule","makeBuiltIn","simple","nonConfigurable","nonWritable","aFunction","namespace","method","requireObjectCoercible","$Object","tryToString","isNullOrUndefined","IndexedObject","navigator","userAgent","propertyIsEnumerableModule","createPropertyDescriptor","toLength","obj","activeXDocument","definePropertiesModule","enumBugKeys","hiddenKeys","html","documentCreateElement","sharedKey","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","document","domain","style","display","appendChild","src","contentWindow","open","Properties","EventEmitter","originalGlobalValue","indexOfListener","listeners","listener","alias","isValidListener","RegExp","getListeners","evt","response","events","_getEvents","test","flattenListeners","flatListeners","getListenersAsObject","addListener","listenerIsWrapped","once","on","addOnceListener","defineEvent","defineEvents","evts","removeListener","splice","off","addListeners","manipulateListeners","removeListeners","remove","single","multiple","removeEvent","_events","removeAllListeners","emitEvent","listenersMap","_getOnceReturnValue","trigger","emit","setOnceReturnValue","_onceReturnValue","noConflict","has","NATIVE_WEAK_MAP","OBJECT_ALREADY_INITIALIZED","WeakMap","store","metadata","facade","STATE","enforce","TYPE","Environment","_createClass","_classCallCheck","ContextJquery","Type","hasValue","isArray","_typeof","__proto__","typeOf","defaultValue","Message","eventData","data","origin","Hubs","getIdentifier","eventName","message","JSON","stringify","limit","cap","substr","suffix","endsWith","prefix","startsWith","replacement","toUpperCase","require","Manager","_EventEmitter","_inherits","_super","_createSuper","canReceiveEvents","_this","emitToSelf","handleMessageReceived","_assertThisInitialized","Instance","broadcast","fromData","broadcastKey","StorageMessageKey","getMessageKey","broadcastWithKey","messageData","toMessageString","selfHandle","EventMessageReceived","windowEvent","originalEvent","parsedMessage","parse","newValue","err","StorageNamespaceMessageKey","HandlerManager","hub","handler","methodRedirects","reactsToCurrentSyncInstance","isFunction","doesReact","methodName","hasRedirects","handlerName","triggerRedirects","hasMethod","_invokeMethod","Hub","_Manager","typeNamespace","reactNamespace","withDefault","receiverKey","handlerManagers","typeHandlers","handlePrefix","ucFirst","toLowerCase","reactPrefix","_possibleConstructorReturn","Proxy","Reflect","_construct","concat","handlerManager","messageName","handleName","idField","__syncJsIdentityField","__syncJsGetIdentity","__syncJsTriggerFromTypeHandleWithObjParam","__syncJsTriggerFromTypeHandle","triggerHandler","Guid","random","Registered","Error","GlobalIdentifier","TypedHubs","newGuid","reactsToType","__syncJsType","identity","__syncJsTypeNamespace","typeHandler","objParam","typedHubs","getTypedHubs","version","copyright","license","V8_VERSION","getOwnPropertySymbols","aCallable","that","$trim","forcedStringTrimMethod","assign","props1","props2","etc","each","val","assignProps1","assignProps2","assignArgsList","make_create","str","Global","arr","pluck","isList","map","res","v","k","match","process","Deno","versions","v8","$Symbol","V","func","getDescriptor","PROPER","bitmap","internalObjectKeys","setter","TAG","classofRaw","Promise","NativePromiseConstructor","inspectSource","IS_BROWSER","IS_DENO","NativePromisePrototype","SPECIES","SUBCLASSING","NATIVE_PROMISE_REJECTION_EVENT","PromiseRejectionEvent","FORCED_PROMISE_CONSTRUCTOR","PROMISE_CONSTRUCTOR_SOURCE","GLOBAL_CORE_JS_PROMISE","promise","resolve","FakePromise","then","CONSTRUCTOR","REJECTION_EVENT","PromiseCapability","C","reject","$$resolve","$$reject","fixRegExpWellKnownSymbolLogic","toIntegerOrInfinity","advanceStringIndex","getMethod","getSubstitution","REPLACE","max","min","stringIndexOf","indexOf","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","nativeReplace","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","rx","S","done","functionalReplace","fullUnicode","unicode","lastIndex","results","accumulatedResult","nextSourcePosition","matched","position","captures","namedCaptures","groups","replacerArgs","re","a","g","e","id","postfix","createElement","propertyIsEnumerable","trunc","number","feature","detection","normalize","POLYFILL","NATIVE","CORRECT_ARGUMENTS","tag","tryGet","callee","propertyKey","lengthOfArrayLike","arraySpeciesCreate","createMethod","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","$this","callbackfn","specificCreate","boundFunction","forEach","filter","some","every","find","findIndex","filterReject","noop","empty","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","called","uncurryThisAccessor","aPossiblePrototype","CORRECT_SETTER","isArrayIteratorMethod","getIterator","getIteratorMethod","iteratorClose","Result","stopped","ResultPrototype","iterable","unboundFunction","iterator","iterFn","next","step","AS_ENTRIES","IS_RECORD","IS_ITERATOR","INTERRUPTED","stop","condition","callFn","INVALID_DATE","TO_STRING","nativeDateToString","thisTimeValue","getTime","PROPER_FUNCTION_NAME","$toString","getRegExpFlags","nativeToString","NOT_GENERIC","flags","INCORRECT_NAME","R","isConstructor","toAbsoluteIndex","createProperty","arrayMethodHasSpeciesSupport","nativeSlice","HAS_SPECIES_SUPPORT","$Array","start","end","Constructor","fin","arrayMethodIsStrict","nativeJoin","join","separator","wrappedWellKnownSymbolModule","NAME","SHARED","$propertyIsEnumerable","NASHORN_BUG","IS_INCLUDES","el","fromIndex","includes","integer","whitespaces","ltrim","rtrim","UNSCOPABLES","ArrayPrototype","FunctionName","createIteratorConstructor","setToStringTag","IteratorsCore","CONFIGURABLE_FUNCTION_NAME","IteratorPrototype","BUGGY_SAFARI_ITERATORS","KEYS","VALUES","ENTRIES","returnThis","Iterable","IteratorConstructor","DEFAULT","IS_SET","CurrentIteratorPrototype","methods","KEY","getIterationMethod","KIND","defaultIterator","IterablePrototype","INCORRECT_VALUES_NAME","nativeIterator","anyNativeIterator","entries","arity","Prototype","SAFE_CLOSING","iteratorWithReturn","from","SKIP_CLOSING","ITERATION_SUPPORT","re1","re2","regexpFlags","stickyHelpers","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeExec","patchedExec","UPDATES_LAST_INDEX_WRONG","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","reCopy","group","raw","sticky","charsAdded","strCopy","multiline","input","notARegExp","correctIsRegExpLogic","nativeEndsWith","CORRECT_IS_REGEXP_LOGIC","searchString","endPosition","len","search","isRegExp","MATCH","error1","error2","nativeStartsWith","array","foo","Boolean","doesNotExceedSafeInteger","IS_CONCAT_SPREADABLE","IS_CONCAT_SPREADABLE_SUPPORT","isConcatSpreadable","spreadable","arg","E","A","$filter","CryptoJS","C_lib","lib","WordArray","Hasher","C_algo","algo","T","abs","sin","MD5","extend","_doReset","_hash","init","_doProcessBlock","M","offset","offset_i","M_offset_i","H","words","M_offset_0","M_offset_1","M_offset_2","M_offset_3","M_offset_4","M_offset_5","M_offset_6","M_offset_7","M_offset_8","M_offset_9","M_offset_10","M_offset_11","M_offset_12","M_offset_13","M_offset_14","M_offset_15","b","FF","GG","HH","II","_doFinalize","_data","dataWords","nBitsTotal","_nDataBytes","nBitsLeft","sigBytes","nBitsTotalH","floor","nBitsTotalL","_process","hash","H_i","clone","x","_createHelper","HmacMD5","_createHmacHelper","ordinaryToPrimitive","pref","exoticToPrim","hint","enforceInternalState","CONFIGURABLE_LENGTH","TEMPLATE","ownKeys","getOwnPropertyDescriptorModule","exceptions","names","objectKeys","defineProperties","props","$getOwnPropertyNames","arraySlice","windowNames","getWindowNames","arraySpeciesConstructor","originalArray","keyFor","Wrapper","NewTarget","NewTargetPrototype","PrototypeOfArrayIteratorPrototype","arrayIterator","CONVERT_TO_STRING","pos","second","size","codeAt","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","CONSTRUCTOR_NAME","$location","defer","channel","port","validateArgumentsLength","IS_IOS","IS_NODE","setImmediate","clear","clearImmediate","Dispatch","MessageChannel","counter","queue","ONREADYSTATECHANGE","location","run","runner","eventListener","event","globalPostMessageDefer","postMessage","protocol","host","nextTick","now","port2","port1","onmessage","addEventListener","importScripts","removeChild","setTimeout","passed","required","Queue","head","tail","add","item","entry","usingIterator","iteratorMethod","innerResult","innerError","checkCorrectnessOfIteration","$Function","factories","argsLength","list","partArgs","$parseInt","hasIndices","ignoreCase","dotAll","unicodeSets","regexpExec","RegExpPrototype","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","uncurriedNativeRegExpMethod","nativeMethod","arg2","forceStringMethod","uncurriedNativeMethod","$exec","engine","storages","plugins","createStore","isDataDescriptor","receiver","$find","FIND","SKIPS_HOLES","ENGINE_IS_BUN","USER_AGENT","WRAP","Bun","scheduler","hasTimeArg","firstParamIndex","timeout","boundArgs","params","callback","$includes","$forEach","STRICT_METHOD","getOwnPropertyNamesModule","getOwnPropertyNamesExternalModule","isExtensible","FREEZING","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","enable","fastKey","getWeakData","onFreeze","deletePropertyOrThrow","internalSort","IE_OR_EDGE","V8","WEBKIT","nativeSort","sort","FAILS_ON_UNDEFINED","FAILS_ON_NULL","STABLE_SORT","chr","fromCharCode","comparefn","itemsLength","items","arrayLength","y","getSortCompare","globals","getGlobal","globalProperties","globalObject","supportsAbortController","AbortController","supportsStreams","ReadableStream","supportsFormData","FormData","mergeHeaders","source1","source2","Headers","isHeadersInstance","delete","deepMerge","sources","returnValue","headers","requestMethods","responseTypes","json","text","formData","arrayBuffer","blob","retryAfterStatusCodes","HTTPError","super","statusText","status","TimeoutError","request","delay","ms","normalizeRequestMethod","defaultRetryOptions","statusCodes","afterStatusCodes","normalizeRetryOptions","retry","maxSafeTimeout","Ky","_retryCount","_input","_options","credentials","hooks","beforeRequest","beforeRetry","afterResponse","prefixUrl","throwHttpErrors","fetch","URL","Request","abortController","signal","abort","searchParams","URLSearchParams","url","body","async","RangeError","_fetch","hook","modifiedResponse","Response","ok","onDownloadProgress","_stream","parseJson","_retry","mimeType","_calculateRetryDelay","retryAfter","after","isNaN","maxRetryAfter","retryCount","timeoutID","catch","clearTimeout","totalBytes","transferredBytes","controller","reader","getReader","percent","Uint8Array","read","byteLength","enqueue","validateAndMerge","createInstance","defaults","ky","newDefaults","nativeObjectCreate","getOwnPropertyNamesExternal","getOwnPropertySymbolsModule","HIDDEN","QObject","nativeGetOwnPropertyDescriptor","nativeDefineProperty","nativeGetOwnPropertyNames","nativePropertyIsEnumerable","AllSymbols","ObjectPrototypeSymbols","USE_SETTER","findChild","setSymbolDescriptor","ObjectPrototypeDescriptor","$defineProperties","properties","$getOwnPropertySymbols","IS_OBJECT_PROTOTYPE","useSetter","useSimple","ceil","NATIVE_SYMBOL_REGISTRY","StringToSymbolRegistry","SymbolToStringRegistry","sym","getReplacerFunction","$stringify","numberToString","tester","low","hi","WRONG_SYMBOLS_CONVERSION","ILL_FORMED_UNICODE","stringifyWithSymbolsFix","$replacer","fixIllFormed","prev","space","rawLength","element","keysLength","ENUMERABLE_NEXT","$assign","B","alphabet","argumentsLength","Internal","OwnPromiseCapability","nativeThen","setSpecies","anInstance","speciesConstructor","task","microtask","hostReportErrors","perform","PromiseConstructorDetection","newPromiseCapabilityModule","PROMISE","NATIVE_PROMISE_SUBCLASSING","getInternalPromiseState","PromiseConstructor","PromisePrototype","newPromiseCapability","newGenericPromiseCapability","DISPATCH_EVENT","createEvent","dispatchEvent","UNHANDLED_REJECTION","isThenable","callReaction","reaction","exited","fail","rejection","onHandleUnhandled","enter","exit","notify","isReject","notified","reactions","onUnhandled","reason","initEvent","isUnhandled","parent","unwrap","internalReject","internalResolve","wrapper","executor","onFulfilled","onRejected","PromiseWrapper","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","marker","runClearTimeout","Item","title","browser","env","argv","prependListener","prependOnceListener","binding","cwd","chdir","dir","umask","defaultConstructor","toggle","node","macrotask","IS_IOS_PEBBLE","IS_WEBOS_WEBKIT","MutationObserver","WebKitMutationObserver","queueMicrotaskDescriptor","flush","createTextNode","observe","characterData","Pebble","console","iterate","capability","$promiseResolve","remaining","alreadyCalled","real","race","promiseResolve","PromiseConstructorWrapper","CHECK_WRAPPER","promiseCapability","hex","$RegExp","MISSED_STICKY","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","tailPos","symbols","ch","capture","regExpFlags","util","storeAPI","enabled","optionalDefaultValue","storage","_namespacePrefix","_deserialize","_serialize","namespacedKey","_namespaceRegexp","clearAll","hasNamespace","addPlugin","plugin","_addPlugin","namespacePrefix","namespaceRegexp","_privateStoreProps","_testStorage","testStr","_assignPluginFnProp","pluginFnProp","propName","oldFn","newFnArgs","strVal","defaultVal","_addStorage","seenPlugin","pluginProperties","addStorage","_console","warn","log","_warn","prop","localStorage","getItem","setItem","removeItem","globalStorage","unfixedKey","disable","fixedKey","fixKey","_withStorageEl","storageEl","setAttribute","save","storageName","getAttribute","attributes","XMLDocument","documentElement","attr","removeAttribute","load","doc","addBehavior","storageOwner","storageContainer","w","frames","storeFunction","unshift","_makeIEStorageElFunction","forbiddenCharsRegex","_has","regexpStr","escape","unescape","cookie","cookies","kvp","sessionStorage","memoryStorage","rx_one","rx_two","rx_three","rx_four","rx_escapable","rx_dangerous","gap","indent","rep","this_value","quote","holder","partial","mind","toJSON","isFinite","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","reviver","walk","eval","SyntaxError","_defineProperties","protoProps","staticProps","_inheritsLoose","subClass","superClass","_getPrototypeOf","_setPrototypeOf","Parent","Class","_isNativeReflectConstruct","_wrapNativeSuper","_cache","Map","_arrayLikeToArray","arr2","_createForOfIteratorHelperLoose","minLen","_unsupportedIterableToArray","LuxonError","_Error","InvalidDateTimeError","_LuxonError","toMessage","InvalidIntervalError","_LuxonError2","InvalidDurationError","_LuxonError3","ConflictingSpecificationError","_LuxonError4","InvalidUnitError","_LuxonError5","unit","InvalidArgumentError","_LuxonError6","ZoneIsAbstractError","_LuxonError7","DATE_SHORT","year","month","day","DATE_MED","DATE_MED_WITH_WEEKDAY","weekday","DATE_FULL","DATE_HUGE","TIME_SIMPLE","hour","minute","TIME_WITH_SECONDS","TIME_WITH_SHORT_OFFSET","timeZoneName","TIME_WITH_LONG_OFFSET","TIME_24_SIMPLE","hour12","TIME_24_WITH_SECONDS","TIME_24_WITH_SHORT_OFFSET","TIME_24_WITH_LONG_OFFSET","DATETIME_SHORT","DATETIME_SHORT_WITH_SECONDS","DATETIME_MED","DATETIME_MED_WITH_SECONDS","DATETIME_MED_WITH_WEEKDAY","DATETIME_FULL","DATETIME_FULL_WITH_SECONDS","DATETIME_HUGE","DATETIME_HUGE_WITH_SECONDS","isUndefined","isNumber","isInteger","hasIntl","Intl","DateTimeFormat","hasFormatToParts","formatToParts","hasRelative","RelativeTimeFormat","bestBy","by","compare","reduce","best","pair","pick","integerBetween","thing","bottom","top","padStart","minus","repeat","parseInteger","parseMillis","fraction","parseFloat","roundTo","towardZero","factor","pow","round","isLeapYear","daysInYear","daysInMonth","modMonth","floorMod","objToLocalTS","UTC","millisecond","setUTCFullYear","weeksInWeekYear","weekYear","p1","last","p2","untruncateYear","parseZoneInfo","ts","offsetFormat","locale","timeZone","date","intlOpts","modified","intl","parsed","without","format","substring","signedOffset","offHourStr","offMinuteStr","offHour","offMin","is","asNumber","numericValue","normalizeObject","normalizer","nonUnitKeys","normalized","u","formatOffset","hours","minutes","sign","timeObject","ianaRegex","monthsLong","monthsShort","monthsNarrow","months","weekdaysLong","weekdaysShort","weekdaysNarrow","weekdays","meridiems","erasLong","erasShort","erasNarrow","eras","stringifyTokens","splits","tokenToString","_step","_iterator","token","literal","_macroTokenToFormatOpts","D","DD","DDD","DDDD","tt","ttt","tttt","TT","TTT","TTTT","ff","fff","ffff","FFF","FFFF","Formatter","formatOpts","opts","loc","systemLoc","parseFormat","fmt","currentFull","bracketed","macroTokenToFormatOpts","_proto","formatWithSystemDefault","dt","redefaultToSystem","dtFormatter","formatDateTime","formatDateTimeParts","resolvedOptions","num","forceSimple","padTo","numberFormatter","formatDateTimeFromString","knownEnglish","listingMode","useDateTimeFormatter","outputCalendar","extract","isOffsetFixed","allowZ","isValid","zone","meridiem","meridiemForDateTime","standalone","monthForDateTime","weekdayForDateTime","era","eraForDateTime","offsetName","zoneName","weekNumber","ordinal","quarter","maybeMacro","formatDurationFromString","dur","lildur","_this2","tokenToField","tokens","realTokens","found","_ref","collapsed","shiftTo","mapped","Invalid","explanation","Zone","equals","otherZone","singleton","LocalZone","_Zone","getTimezoneOffset","matchingRegex","dtfCache","typeToPos","ianaZoneCache","IANAZone","valid","isValidZone","resetCache","isValidSpecifier","parseGMTOffset","specifier","dtf","_ref2","formatted","filled","_formatted$i","partsOffset","fMonth","fDay","hackyOffset","asTS","over","singleton$1","FixedOffsetZone","fixed","utcInstance","parseSpecifier","InvalidZone","normalizeZone","defaultZone","lowered","defaultLocale","defaultNumberingSystem","defaultOutputCalendar","throwOnInvalid","Settings","resetCaches","Locale","z","numberingSystem","intlDTCache","getCachedDTF","locString","intlNumCache","intlRelCache","getCachedRTF","_opts","cacheKeyOpts","base","excluded","sourceKeys","_objectWithoutPropertiesLoose","inf","sysLocaleCache","listStuff","defaultOK","englishFn","intlFn","PolyNumberFormatter","useGrouping","minimumIntegerDigits","NumberFormat","getCachedINF","PolyDateFormatter","universal","gmtOffset","offsetZ","isOffsetZoneSupported","DateTime","fromMillis","_proto2","toJSDate","tokenFormat","knownFormat","dateTimeHuge","formatString","PolyRelFormatter","isEnglish","rtf","_proto3","count","numeric","narrow","units","years","quarters","weeks","days","seconds","lastable","isDay","isInPast","fmtValue","singular","lilUnits","fmtUnit","formatRelativeTime","numbering","specifiedLocale","_parseLocaleString","localeStr","uIndex","smaller","calendar","parseLocaleString","parsedLocale","parsedNumberingSystem","parsedOutputCalendar","intlConfigString","weekdaysCache","monthsCache","meridiemCache","eraCache","fastNumbersCached","fromOpts","defaultToEN","computedSys","systemLocale","fromObject","_temp","_proto4","hasFTP","isActuallyEn","hasNoWeirdness","alts","redefaultToEN","formatStr","utc","mapMonths","mapWeekdays","_this3","_this4","field","matching","fastNumbers","relFormatter","other","combineRegexes","_len","regexes","_key","full","combineExtractors","_len2","extractors","_key2","ex","mergedVals","mergedZone","cursor","_ex","_len3","patterns","_key3","_i","_patterns","_patterns$_i","regex","extractor","simpleParse","_len4","_key4","ret","offsetRegex","isoTimeBaseRegex","isoTimeRegex","isoTimeExtensionRegex","extractISOWeekData","extractISOOrdinalData","sqlTimeRegex","sqlTimeExtensionRegex","int","fallback","extractISOYmd","extractISOTime","milliseconds","extractISOOffset","local","fullOffset","extractIANAZone","isoTimeOnly","isoDuration","extractISODuration","yearStr","monthStr","weekStr","dayStr","hourStr","minuteStr","secondStr","millisecondsStr","hasNegativePrefix","negativeSeconds","maybeNegate","force","obsOffsets","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","fromStrings","weekdayStr","rfc2822","extractRFC2822","obsOffset","milOffset","rfc1123","rfc850","ascii","extractRFC1123Or850","extractASCII","isoYmdWithTimeExtensionRegex","isoWeekWithTimeExtensionRegex","isoOrdinalWithTimeExtensionRegex","isoTimeCombinedRegex","extractISOYmdTimeAndOffset","extractISOWeekTimeAndOffset","extractISOOrdinalDateAndTime","extractISOTimeAndOffset","extractISOTimeOnly","sqlYmdWithTimeExtensionRegex","sqlTimeCombinedRegex","extractISOYmdTimeOffsetAndIANAZone","extractISOTimeOffsetAndIANAZone","lowOrderMatrix","casualMatrix","daysInYearAccurate","daysInMonthAccurate","accurateMatrix","orderedUnits","reverseUnits","reverse","conf","conversionAccuracy","Duration","convert","matrix","fromMap","fromUnit","toMap","toUnit","conv","added","antiTrunc","config","accurate","invalid","isLuxonDuration","normalizeUnit","fromISO","_parseISODuration","parseISODuration","fromISOTime","_parseISOTimeOnly","parseISOTimeOnly","week","isDuration","toFormat","fmtOpts","includeConfig","toISO","toISOTime","millis","toMillis","suppressMilliseconds","suppressSeconds","includePrefix","as","plus","duration","friendlyDuration","negate","mapUnits","_Object$keys","reconfigure","vals","previous","normalizeValues","lastUnit","_step2","built","accumulated","_iterator2","own","ak","down","negated","_i2","_Object$keys2","_step3","_iterator3","v1","v2","durationish","INVALID$1","validateStartEnd","Interval","isLuxonInterval","fromDateTimes","builtStart","friendlyDateTime","builtEnd","validateError","before","_split","startIsValid","endIsValid","_dur","isInterval","toDuration","startOf","diff","hasSame","isEmpty","isAfter","dateTime","isBefore","contains","splitAt","dateTimes","sorted","splitBy","idx","divideEqually","numberOfParts","overlaps","abutsStart","abutsEnd","engulfs","intersection","union","merge","intervals","_intervals$sort$reduc","sofar","final","xor","_Array$prototype","currentCount","ends","time","difference","toISODate","dateFormat","_temp2","_ref3$separator","invalidReason","mapEndpoints","mapFn","Info","hasDST","setZone","isValidIANAZone","_ref$locale","_ref$numberingSystem","_ref$locObj","locObj","_ref$outputCalendar","monthsFormat","_ref2$locale","_ref2$numberingSystem","_ref2$locObj","_ref2$outputCalendar","_temp3","_ref3","_ref3$locale","_ref3$numberingSystem","_ref3$locObj","weekdaysFormat","_temp4","_ref4","_ref4$locale","_ref4$numberingSystem","_ref4$locObj","_temp5","_ref5$locale","_temp6","_ref6$locale","features","intlTokens","zones","relative","dayDiff","earlier","later","utcDayStart","toUTC","keepLocalTime","_diff","_highOrderDiffs","lowestOrder","highWater","_differs","_differs$_i","differ","_cursor$plus","_cursor$plus2","delta","highOrderDiffs","remainingMillis","lowerOrderUnits","_cursor$plus3","_Duration$fromMillis","numberingSystems","arab","arabext","bali","beng","deva","fullwide","gujr","hanidec","khmr","knda","laoo","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt","latn","numberingSystemsUTF16","hanidecChars","digitRegex","append","MISSING_FTP","intUnit","post","deser","_numberingSystemsUTF","parseDigits","spaceOrNBSP","spaceOrNBSPRegExp","fixListRegex","stripInsensitivities","oneOf","strings","startIndex","partTypeStyleToTokenVal","short","long","dayperiod","dayPeriod","dummyDateTimeCache","maybeExpandMacroToken","part","tokenForPart","explainFromTokens","expandMacroTokens","one","two","three","four","six","oneOrTwo","oneToThree","oneToSix","oneToNine","twoToFour","fourToSix","_ref5","unitate","disqualifyingUnit","_buildRegex","buildRegex","regexString","handlers","_match","matches","matchIndex","h","rawMatches","_ref6","Z","q","G","toField","dateTimeFromMatches","nonLeapLadder","leapLadder","unitOutOfRange","dayOfWeek","js","getUTCDay","computeOrdinal","uncomputeOrdinal","table","month0","gregorianToWeek","gregObj","weekToGregorian","weekData","weekdayOfJan4","yearInDays","_uncomputeOrdinal","gregorianToOrdinal","gregData","ordinalToGregorian","ordinalData","_uncomputeOrdinal2","hasInvalidGregorianData","validYear","validMonth","validDay","hasInvalidTimeData","validHour","validMinute","validSecond","validMillisecond","INVALID$2","MAX_DATE","unsupportedZone","possiblyCachedWeekData","clone$1","inst","old","fixOffset","localTS","tz","utcGuess","o2","o3","tsToObj","getUTCMilliseconds","objToTS","adjustTime","oPre","millisToAdd","_fixOffset","parseDataToDateTime","parsedZone","interpretationZone","toTechFormat","toTechTimeFormat","_ref$suppressSeconds","_ref$suppressMillisec","includeOffset","_ref$includePrefix","_ref$includeZone","includeZone","_ref$spaceZone","spaceZone","_ref$format","defaultUnitValues","defaultWeekUnitValues","defaultOrdinalUnitValues","orderedUnits$1","orderedWeekUnits","orderedOrdinalUnits","weeknumber","weeksnumber","weeknumbers","weekyear","weekyears","quickDT","tsNow","_objToTS","diffRelative","calendary","ot","_zone","isLuxonDateTime","fromJSDate","zoneToUse","fromSeconds","offsetProvis","containsOrdinal","containsGregorYear","containsGregorMD","containsGregor","definiteWeekDef","defaultValues","useWeekData","objNow","foundFirst","higherOrderInvalid","validWeek","validWeekday","hasInvalidWeekData","validOrdinal","hasInvalidOrdinalData","_objToTS2","_parseISODate","parseISODate","fromRFC2822","_parseRFC2822Date","preprocessRFC2822","parseRFC2822Date","fromHTTP","_parseHTTPDate","parseHTTPDate","fromFormat","_opts$locale","_opts$numberingSystem","_parseFromTokens","_explainFromTokens","parseFromTokens","fromString","fromSQL","_parseSQL","parseSQL","isDateTime","resolvedLocaleOpts","_Formatter$create$res","toLocal","_ref3$keepLocalTime","_ref3$keepCalendarTim","keepCalendarTime","newTS","offsetGuess","setLocale","mixed","settingWeekStuff","_objToTS4","normalizedUnit","endOf","_this$plus","toLocaleString","toLocaleParts","_ref5$format","toISOWeekDate","_ref6$suppressMillise","_ref6$suppressSeconds","_ref6$includeOffset","_ref6$includePrefix","_ref6$format","toRFC2822","toHTTP","toSQLDate","toSQLTime","_ref7","_ref7$includeOffset","_ref7$includeZone","toSQL","toSeconds","toBSON","otherDateTime","durOpts","otherIsLater","diffed","diffNow","until","inputMs","otherZoneDateTime","toRelative","padding","toRelativeCalendar","fromFormatExplain","_options$locale","_options$numberingSys","fromStringExplain","dateTimeish","VERSION","setInterval","schedulersFix","crypto","msCrypto","cryptoSecureRandomInt","getRandomValues","Uint32Array","randomBytes","readInt32LE","subtype","Base","overrides","mixIn","$super","propertyName","encoder","Hex","wordArray","thisWords","thatWords","thisSigBytes","thatSigBytes","clamp","thatByte","nBytes","C_enc","enc","hexChars","bite","hexStr","hexStrLength","Latin1","latin1Chars","latin1Str","latin1StrLength","Utf8","decodeURIComponent","utf8Str","encodeURIComponent","BufferedBlockAlgorithm","reset","_append","doFlush","processedWords","dataSigBytes","blockSize","nBlocksReady","nWordsReady","_minBufferSize","nBytesReady","cfg","update","messageUpdate","finalize","hasher","HMAC","callWithSafeIterationClosing","arrayLike","IS_CONSTRUCTOR","mapfn","mapping","sameValue","SEARCH","nativeSearch","searcher","previousLastIndex","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","collection","InternalMetadataModule","common","IS_WEAK","ADDER","NativeConstructor","NativePrototype","exported","fixMethod","getConstructor","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","setStrong","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","ArrayBuffer","buffer","preventExtensions","defineBuiltIns","internalStateGetterFor","getEntry","removed","ITERATOR_NAME","getInternalCollectionState","getInternalIteratorState","mergeSort","middle","insertionSort","left","right","llength","rlength","lindex","rindex","firefox","UA","webkit","NumberAbbreviate","decPlaces","abbreviate","_abbreviate","isNegative","abbreviatedNumber","Convert","Range","range","Url","stack","parts","pop","href","lastValue","nonParamPart","Author","initials","email","hasUser","userIp","webAddress","apiObject","author","ApiId","ApiInitials","ApiEmail","ApiHasUser","ApiName","ApiUserAgent","ApiUserIp","ApiWebAddress","ThreadContext","createdUtc","context","contextId","contextName","BaseResponse","success","isRecoverable","errorCode","msg","authorized","permission","apiResponse","applyResponseToObject","ApiSuccess","ApiIsRecoverable","ApiErrorCode","ApiMessage","ErrorResponse","_BaseResponse","CommentMutationResponse","autoDeleted","comments","comment","ApiComment","ApiComments","ApiAutoDeleted","AffectedCommentsResponse","partialSuccess","syncjs","Comment","isSelected","select","unselect","_internalCommentResponse","isNew","parentId","authorId","parentAuthorId","internalContextId","internalRoot","ancestors","children","runtimeDate","localDateFormatted","commentDate","commentDateFormatted","replies","contentRaw","depth","descendents","hasReplies","internalContentTruncated","isReply","isParent","isRoot","published","revisionCount","isDeleted","hasAuthorEmail","hasAuthorName","controlPanelViewEntryUrl","hasBeenCheckedForSpam","isSpam","isEditing","isReplying","reply","editProperties","cancelReply","cancelEditing","newVal","cancelWithDraft","setReplying","cancelReplying","setEditing","hasAuthor","getResponseAuthor","hasParentAuthor","hasThreadContext","getResponseThread","threadContext","getThreadContext","contentToSave","_originator","attachReply","makeStateError","publish","unpublish","markAsSpam","markAsNotSpam","ApiAuthor","ApiParentAuthor","ApiContext","ApiInternalContextId","ApiInternalRoot","toInt","ApiAncestors","ApiChildren","ApiCommentDate","ApiCommentDateFormatted","ApiContent","ApiContentRaw","ApiDepth","ApiDescendents","ApiHasReplies","ApiInternalContentTruncated","ApiIsReply","ApiIsParent","ApiParentId","ApiIsRoot","ApiPublished","ApiRevisionCount","ApiHasCheckedForSpam","ApiCommentHasAuthorEmail","ApiCommentHasAuthorName","ApiControlPanelUrl","ApiSpam","avatarDriver","controlPanelConfigurationEnabled","canApproveComments","canEditComments","canRemoveComments","canReplyToComments","canReportAsHam","canReportAsSpam","canUnApproveComments","canViewComments","CONTEXT_WINDOW","selector","scrollTo","UserContext","DefaultPermissionSet","Statamic","$config","relativeUrl","history","pushState","fullUrl","finish","StatamicCpRoot","urlPath","MarkdownHandler","UserPreferences","Preferences","StatamicApiRoot","ContextVueJs","ContextComponentRegister","Blueprints","svgIcon","addTableEntry","getTable","TABLE_COLLECTIONS","TABLE_TAXONOMIES","TABLE_GLOBALS","TABLE_CONTAINERS","TABLE_FORMS","allTables","jQuery","otherTable","newEntry","entryTemplate","TABLE_OTHER","Notifications","$toast","info","debounce","wait","immediate","callNow","Addons","packageName","link","matchingElement","parentElement","alreadyInjected","currentElement","currentContent","newInnerContent","runActualLinkCheck","ControlPanel","_blueprints","_notif","_addons","controlPanelHooks","BlueprintHook","app","controlPanel","blueprints","addOtherEntry","commentIcon","cpUrl","AddonConfigHook","addons","addLinkToPackage","Translator","targetKey","translate","StatamicTranslator","_Translator","__","Addon","AvatarDriverRegistry","driver","Drivers","driverComponent","component","driverName","displayName","newDriverName","getDriverName","DriverMapping","DisplayNames","drivers","displayNames","DefaultDriverName","parseMarkdown","FilterPrefix","registerFilter","vue","RequestState","shouldProcess","shouldWait","pendingRequests","canPoolHttpRequests","_requestedOnMapping","releasePending","isPending","shouldProcessRequest","waitTime","Client","_pendingRequestMapping","api","getCsrfToken","handlerType","resolveHandlers","rejectHandlers","urlEncode","responseJson","_processRequestHandlers","HandlerResolve","HandlerReject","_rewritePostData","OverviewResponse","total","totalThreads","needsMigration","totalSpam","totalHam","requiresReview","totalPublished","publishedAndSpam","pending","completionTime","ApiTotal","ApiTotalThreads","ApiNeedsMigration","ApiIsSpam","ApiIsHam","ApiRequiresReview","ApiIsPublished","ApiPublishedAndSpam","ApiPending","ApiCompletionTime","md5","Endpoints","endpoint","Prefix","SystemDetails","CommentsSearch","CommentsApprove","CommentsApproveMany","CommentsReply","CommentsUnapprove","CommentsUnapproveMany","CommentsRemove","CommentsRemoveMany","CommentsRemoveSpam","CommentMarkSpam","CommentMarkManySpam","CommentMarkHam","CommentMarkManyHam","CommentsUpdate","CommentsCheckForSpam","TaskGetStatus","CurrentUser","SettingsFetch","SettingsSave","SettingsGetCurrentChangeSet","SettingsValidateAkismet","SettingsUpdatePerPage","ExportCsv","ExportJson","ReportingOverview","ReportingRepository","client","requestHash","requestState","fromApiResponse","fromError","OverviewProvider","intervalId","report","lastError","overview","EventUpdated","EventError","_updateNow","clearInterval","template","shouldDisplay","countDisplay","updateDisplay","App","NumberFormatter","created","trans","transErrorCode","_Translator$Instance","transFormat","replacements","_toConsumableArray","ActionState","CurrentActionId","commentIds","activeTitle","successMessage","progressMessage","tooLongMessage","errorMessage","abandonMessage","abandonedMessage","clientErrorMessage","repeatedFailureMessage","unauthorizedMessage","tryAgain","cancelText","confirmText","hasResponse","lastClientError","hasInteraction","interactionComponent","numberOfErrorsEncountered","isDestructive","isProcessing","doesNotHavePrivileges","isErrorState","wasClientError","promptAbandon","isProcessTakingTooLong","longProcessTrigger","giveUpPromptTrigger","failedRequestCutoff","isLoadingLog","serverErrorReport","isSendingErrorLog","missingPermission","timeouts","messageScope","EventAbandoned","ControlPanelApplication","_cancel","_clearErrorState","resetProcessingState","EventCanceled","proceed","_tryAgain","EventConfirmed","EventComplete","_startGiveUpTimer","_clearWatchers","incrementErrorCounter","donePromise","_startWatchingProgress","HandleProceedWith","proceedWith","_complete","errorEncountered","isTypeOf","_notAuthorized","_confirm","EventUnauthorized","getHandler","currentAction","closeHandler","confirm","onCancel","forceDismiss","dismiss","checkForDismiss","canDismiss","LostChangesHandler","_ActionState","setMessages","mixins","UsesTranslator","ActionHandler","CanDismissAction","default","cancel","$emit","onConfirm","mounted","$refs","markdownEditor","focus","$keys","actionState","watch","jiggle","modalId","nonPortalModalParent","addClass","removeClass","getInteractionProperties","submit","computed","progressColor","titleMessage","buttonClass","displayText","displayInline","color","computedSize","PagedResponse","totalResults","currentPage","hasNextPage","hasPreviousPage","CommentCollection","_Array","_typeEnforced","_outerType","_pushProxy","_internalCollection","allSelected","toggleSelections","unSelectAll","selectAll","applyCollectionSelectable","errors","hasErrors","applyErrorState","anyInView","whereIn","commentsToReturn","editCount","replyingCount","getSelected","selected","cancelAllEditing","cancelAllReplying","draftAllEditing","draftAllReplying","cancelReplyWithDraft","PagedMetaData","totalPages","totalItems","itemsPerPage","newMetaData","ApiCurrentPage","ApiTotalPages","ApiTotalItems","ApiItemsPerPage","SearchOptions","toJsonString","toHash","page","resultsPerPage","query","order","Comments","Data","AuthorsRepository","ThreadsRepository","Repositories","CommentRepository","CommentResponse","_PagedResponse","_threadMapping","threads","_authorMapping","authors","_commentMapping","pages","sortString","originator","newThread","fromApiObject","newAuthor","newComment","ApiSortString","commentId","threadId","TaskStatus","InProgress","Complete","Canceled","TaskResponse","taskId","ApiTaskId","ApiTaskStatus","getRequestData","replyingToId","newCommentContent","replyingTo","actionId","publishResult","unpublishedResult","unpublished","deleteResponse","unpublishResult","newContent","updateResult","updated","spamResult","markedAsSpam","markSpamResult","markHamResult","markedAsHam","RangeItem","isSeparator","pageNumber","newItem","sharedSeparator","makeSeparator","displayArrows","displayRange","rangeItemsPerSide","displayPerPage","perPage","perPageOptions","pageData","instancePerPage","visibleRangeWindow","oldVal","getWindowStart","getWindowEnd","getRangeStart","getRangeEnd","getRangeAdjacent","hasPage","moveToPage","updatePerPage","preventDefault","movePrevious","moveNext","shouldUseSmallSlider","rangePerSide","shouldUseBeginningSlider","shouldUseEndSlider","updateVisibleRange","perSide","makeRangeItem","makeRangeArray","rangeItems","buildSeparatedRangeItems","ranges","rangeMax","hasMultiplePages","shouldDisplayPerPageSelection","visibleRange","hasPrevious","hasNext","isFirstPage","isLastPage","EditCommentHandler","ReplyCommentHandler","saveReply","BulkApproveHandler","publishMany","BulkUnapproveHandler","unpublishMany","BulkDeleteHandler","deleteMany","BulkSpamHandler","markManyAsSpam","BulkNotSpamHandler","markManyAsNotSpam","BulkRemoveAllSpam","removeAllSpam","getAuthor","performAction","action","ApproveCommentHandler","UnApproveCommentHandler","DeleteCommentHandler","MarkAsSpamHandler","MarkAsNotSpamHandler","CanDismiss","CanPerformAction","permissions","components","CommentActions","ReplyAuthor","actionsDisabled","displayThread","actions","Filter","internalName","filters","AllFilter","_Filter","IsSpamFilter","PendingFilter","PublishedFilter","activeFilterId","searchId","searchFilter","isOpen","filterRequiresUpdate","shouldReload","updateFilterDisplays","updateState","resetSearch","searchEvent","updateDisplayTableFilters","checkForFocus","$nextTick","onFilterClick","hasData","getDisplayTableFilters","SortManager","columns","orders","sortIndex","hasMultipleOrders","buildSortIndex","column","Desc","Asc","None","rebuildSortIndex","columnsToSet","columnParts","direction","mapDirection","setColumns","sortOrder","tempSortIndex","indexMap","currentIndex","totalSorting","orderedIndex","indexFinal","mapFinal","buildSortString","curSortIndex","tempOrderMap","manager","respondToClick","updateManager","toggleColumn","totalCount","TableFilters","AuthorDisplay","CommentDisplay","CommentEditor","ReplyEditor","SortIndicator","EmptyIndicator","loading","displayFocusMode","sortManager","singleSelectTranslation","canUseBulkActions","currentBulkAction","bulkHandlers","shouldDisplayThread","hasCommentResponse","selectedCount","hasSelection","tableClasses","checkFilters","tableFilters","checkStateFromProvider","clearData","exitFocusMode","closeAllActionDialogs","updateSortFromHeader","columnId","updateStateFromOrder","setSortString","onConfigAvatarUpdated","onConfigUserAvailable","getPermissions","onFilterChange","onSearchUpdated","terms","forceDismissBulkActions","commentDisplay","getSelectedIds","ids","selectedComments","getCommentClasses","cancelBulkActions","performBulkAction","bulkHandler","onComplete","performActionNow","disableFocusMode","beforeReply","beforeEdit","handledBy","reactsToInstance","redirectTo","hasDriver","cp_avatar_driver","TasksRepository","TaskObserver","tasks","getStatus","EntryBehavior","Managed","Merge","Replace","UserValueOrReplace","ConfigItem","runtimeValue","behavior","ApiNamespace","ApiKey","ApiBehavior","ApiDefaults","ApiValue","SpamGuard","spamGuard","ApiClass","ApiEnabled","PermissionSet","hasAllPermissions","permissionSet","ApiAllPermissions","ApiCanApproveComments","ApiCanEditComments","ApiCanRemoveComments","ApiCanReplyToComments","ApiCanReportAsHam","ApiCanReportAsSpam","ApiCanUnapproveComments","ApiCanViewComments","GroupPermission","groupPerm","ApiPermissions","SettingsResponse","hasManagedItems","changeSet","guards","ApiHasManaged","ApiCurrentChangeSet","configItems","ApiConfig","ApiSpamGuards","newGuardItem","newPermItem","SaveSettingsResponse","preferencesUpdated","settingsUpdated","ApiPreferencesUpdated","ApiSettingsUpdated","ValidateAkismetResponse","ChangeSetResponse","ApiChangeSet","UserConfigurationResponse","settings","ApiSettings","SettingsRepository","apiKey","frontPage","CommentTable","Loader","paginator","hasLoadedInitial","loadingInitial","loadingData","lastPageRequest","lastPerPageRequest","initialPerPage","initialSortString","tableIsAvailable","activeFilterName","isCheckingAllForSpam","statusMessage","showStatusMessage","silentPreferenceUpdate","defaultFilters","searchOptions","commentRepo","commentData","configUrl","exportLinks","csv","canCheckForSpam","spamTaskObserver","commentTable","hasEditorOpen","reloadStateAnyway","loadCommentData","checkForSpam","cp_per_page","updateQueryWithPerPage","onCommentsGlobalSpamCheckComplete","refresh","onSpamTaskComplete","ensureStopped","globalSpamCheckComplete","onSpamTaskCanceled","onSpamTaskError","onTableAvailable","filterComments","onCommentsPublished","onCommentsUnpublished","onCommentsMarkedAsSpam","onCommentsMarkedAsHam","onCommentsRemoved","onFilterChanged","updateHistoryState","adjustOptions","pushHistoryState","onOrderUpdated","perPageCount","scrollTop","updateQueryWithPage","onRefreshRequested","applyFromDefaultFilter","currentUrlRequest","defaultFilter","filterName","allFilter","spamFilter","pendingFilter","publishedFilter","filterMap","currentLastValue","onpopstate","poppedValue","autoPublish","autoClose","closeDays","hasAkismetSettings","curApiKey","$parent","curFrontPage","validateConfiguration","currentMessage","isValidating","validateAkismet","guardUpdated","updateGuardConfiguration","showDefaults","checkPermissions","configItem","PermissionsMapper","groupPermissions","currentGroup","AllPermissions","CanApprove","CanViewComments","CanEdit","CanRemove","CanReplyToComments","CanReportAsHam","CanReportAsSpam","CanUnApproveComments","GuardMapper","newGuards","currentGuard","SpamGuards","Publishing","Guard","IpFilter","Permissions","WordFilter","Privacy","Email","activePage","wordFilterEnabled","ipFilterEnabled","userEmail","akismetFilterEnabled","avatarOptions","canChangeConfig","hasLoaded","userPreferences","serverDiffers","reloadConfigState","isControlPanelConfigEnabled","isSuper","watchForServerConfigChanges","reloadSettings","getCurrentChangeSet","refreshAvatarDrivers","currentDriverMapping","newOptions","aName","bName","hasGuardEnabled","relativeClassName","getSettings","returnItems","curProp","mapGuards","mapPermissions","user","avatar","saveSettings","avatarUpdated","UserSettings","SettingsKey","_getDefaultSettings","_saveSettings","SettingDisplayTableFilter","preferences","displayTableFilter","Bootstrapper","truncate","registerCallback","NavigationBadge","CommentThread","Configurator","StatefulConfirmationDialog","registerVueComponents","ExtensibilityInstance","extendInstance","existingDrivers","Avatars","getDrivers","existingDisplayNames","getDisplayNames","setDisplayNames","setDrivers","registerDriversWithRunTime","getCurrentUserSettings","userAvailable","registerDependencies","liftExtensibilityDrivers","registerVueJsDependencies","appElements","elementHost","runApp","appName","AppMap","appType","instanceId","appId","Instances","cpHooks","runCpHooks","bootstrapApplications","pathName","pathname","uses","relativePath","NumAbbr","make","Config","Extend","Types"],"mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,UAAW,GAAIH,GACI,iBAAZC,QACdA,QAAiB,QAAID,IAErBD,EAAc,QAAIC,GACnB,CATD,CASGK,QAAQ,WACX,O,YCTE,IAAIC,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUP,QAGnC,IAAIC,EAASI,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHT,QAAS,CAAC,GAUX,OANAU,EAAQH,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOQ,GAAI,EAGJR,EAAOD,OACf,CAyDA,OArDAM,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASd,EAASe,EAAMC,GAC3CV,EAAoBW,EAAEjB,EAASe,IAClCG,OAAOC,eAAenB,EAASe,EAAM,CAAEK,YAAY,EAAMC,IAAKL,GAEhE,EAGAV,EAAoBgB,EAAI,SAAStB,GACX,oBAAXuB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAenB,EAASuB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAenB,EAAS,aAAc,CAAEyB,OAAO,GACvD,EAOAnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,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AAiB,CACnBpB,KAAMn1C,EACNo1C,MAAOp1C,EACPq1C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,GAMNw2C,EAA8B,CAChCrB,KAAMn1C,EACNo1C,MAAOp1C,EACPq1C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,EACRsyB,OAAQtyB,GAENy2C,EAAe,CACjBtB,KAAMn1C,EACNo1C,MAAO90C,EACP+0C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,GAEN02C,EAA4B,CAC9BvB,KAAMn1C,EACNo1C,MAAO90C,EACP+0C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,EACRsyB,OAAQtyB,GAEN22C,EAA4B,CAC9BxB,KAAMn1C,EACNo1C,MAAO90C,EACP+0C,IAAKr1C,EACLw1C,QAASl1C,EACTs1C,KAAM51C,EACN61C,OAAQ71C,GAEN42C,EAAgB,CAClBzB,KAAMn1C,EACNo1C,MAAO52C,EACP62C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,EACRg2C,aAAc11C,GAEZu2C,EAA6B,CAC/B1B,KAAMn1C,EACNo1C,MAAO52C,EACP62C,IAAKr1C,EACL41C,KAAM51C,EACN61C,OAAQ71C,EACRsyB,OAAQtyB,EACRg2C,aAAc11C,GAEZw2C,EAAgB,CAClB3B,KAAMn1C,EACNo1C,MAAO52C,EACP62C,IAAKr1C,EACLw1C,QAASh3C,EACTo3C,KAAM51C,EACN61C,OAAQ71C,EACRg2C,aAAcx3C,GAEZu4C,EAA6B,CAC/B5B,KAAMn1C,EACNo1C,MAAO52C,EACP62C,IAAKr1C,EACLw1C,QAASh3C,EACTo3C,KAAM51C,EACN61C,OAAQ71C,EACRsyB,OAAQtyB,EACRg2C,aAAcx3C,GAahB,SAASw4C,EAAYh4C,GACnB,YAAoB,IAANA,CAChB,CACA,SAASi4C,EAASj4C,GAChB,MAAoB,iBAANA,CAChB,CACA,SAASk4C,EAAUl4C,GACjB,MAA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XA,GAAMt9B,QAAUA,EAChBs9B,GAAM/2F,KAAOA,EACb+2F,GAAMtqG,OAASA,EACfsqG,GAAMr9B,MAAQA,EACdq9B,GAAM78F,KAAOA,EACb68F,GAAMn9B,IAAMA,C","file":"meerkat.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"meerkat\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"meerkat\"] = factory();\n\telse\n\t\troot[\"meerkat\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 207);\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar path = require('../internals/path');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar PureNumberNamespace = path[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar stringSlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function (value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i\n default: return +it;\n }\n digits = stringSlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nvar FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));\n\nvar calledWithNew = function (dummy) {\n // includes check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); });\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nvar NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;\n};\n\nNumberWrapper.prototype = NumberPrototype;\nif (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED }, {\n Number: NumberWrapper\n});\n\n// Use `internal/copy-constructor-properties` helper in `core-js@4`\nvar copyConstructorProperties = function (target, source) {\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n\nif (IS_PURE && PureNumberNamespace) copyConstructorProperties(path[NUMBER], PureNumberNamespace);\nif (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated), // target\n index: 0, // next index\n kind: kind // kind\n });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n if (kind == 'keys') return createIterResultObject(index, false);\n if (kind == 'values') return createIterResultObject(target[index], false);\n return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');\n","// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\n\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\n\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n // Safari 12 bug\n NativeSymbol().description !== undefined\n)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this)\n ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n\n var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';\n var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);\n var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = thisSymbolValue(this);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var string = symbolDescriptiveString(symbol);\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n\n $({ global: true, constructor: true, forced: true }, {\n Symbol: SymbolWrapper\n });\n}\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return createIterResultObject(undefined, true);\n point = charAt(string, index);\n state.index += point.length;\n return createIterResultObject(point, false);\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nvar handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\n\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');\n","var defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n","var hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}\n","var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineProperty = require('../internals/object-define-property').f;\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n defineProperty: defineProperty\n});\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar bind = require('../internals/function-bind');\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n bind: bind\n});\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var $ = require('../internals/export');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n setPrototypeOf: setPrototypeOf\n});\n","var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});\n\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar create = require('../internals/object-create');\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n create: create\n});\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","module.exports = false;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","/*!\n * EventEmitter v5.2.9 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - https://oli.me.uk/\n * @preserve\n */\n\n;(function (exports) {\n 'use strict';\n\n /**\n * Class for managing events.\n * Can be extended to provide event functionality in other classes.\n *\n * @class EventEmitter Manages event registering and emitting.\n */\n function EventEmitter() {}\n\n // Shortcuts to improve speed and size\n var proto = EventEmitter.prototype;\n var originalGlobalValue = exports.EventEmitter;\n\n /**\n * Finds the index of the listener for the event in its storage array.\n *\n * @param {Function[]} listeners Array of listeners to search through.\n * @param {Function} listener Method to look for.\n * @return {Number} Index of the specified listener, -1 if not found\n * @api private\n */\n function indexOfListener(listeners, listener) {\n var i = listeners.length;\n while (i--) {\n if (listeners[i].listener === listener) {\n return i;\n }\n }\n\n return -1;\n }\n\n /**\n * Alias a method while keeping the context correct, to allow for overwriting of target method.\n *\n * @param {String} name The name of the target method.\n * @return {Function} The aliased method\n * @api private\n */\n function alias(name) {\n return function aliasClosure() {\n return this[name].apply(this, arguments);\n };\n }\n\n /**\n * Returns the listener array for the specified event.\n * Will initialise the event object and listener arrays if required.\n * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.\n * Each property in the object response is an array of listener functions.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Function[]|Object} All listener functions for the event.\n */\n proto.getListeners = function getListeners(evt) {\n var events = this._getEvents();\n var response;\n var key;\n\n // Return a concatenated array of all matching events if\n // the selector is a regular expression.\n if (evt instanceof RegExp) {\n response = {};\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n response[key] = events[key];\n }\n }\n }\n else {\n response = events[evt] || (events[evt] = []);\n }\n\n return response;\n };\n\n /**\n * Takes a list of listener objects and flattens it into a list of listener functions.\n *\n * @param {Object[]} listeners Raw listener objects.\n * @return {Function[]} Just the listener functions.\n */\n proto.flattenListeners = function flattenListeners(listeners) {\n var flatListeners = [];\n var i;\n\n for (i = 0; i < listeners.length; i += 1) {\n flatListeners.push(listeners[i].listener);\n }\n\n return flatListeners;\n };\n\n /**\n * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Object} All listener functions for an event in an object.\n */\n proto.getListenersAsObject = function getListenersAsObject(evt) {\n var listeners = this.getListeners(evt);\n var response;\n\n if (listeners instanceof Array) {\n response = {};\n response[evt] = listeners;\n }\n\n return response || listeners;\n };\n\n function isValidListener (listener) {\n if (typeof listener === 'function' || listener instanceof RegExp) {\n return true\n } else if (listener && typeof listener === 'object') {\n return isValidListener(listener.listener)\n } else {\n return false\n }\n }\n\n /**\n * Adds a listener function to the specified event.\n * The listener will not be added if it is a duplicate.\n * If the listener returns true then it will be removed after it is called.\n * If you pass a regular expression as the event name then the listener will be added to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListener = function addListener(evt, listener) {\n if (!isValidListener(listener)) {\n throw new TypeError('listener must be a function');\n }\n\n var listeners = this.getListenersAsObject(evt);\n var listenerIsWrapped = typeof listener === 'object';\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {\n listeners[key].push(listenerIsWrapped ? listener : {\n listener: listener,\n once: false\n });\n }\n }\n\n return this;\n };\n\n /**\n * Alias of addListener\n */\n proto.on = alias('addListener');\n\n /**\n * Semi-alias of addListener. It will add a listener that will be\n * automatically removed after its first execution.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addOnceListener = function addOnceListener(evt, listener) {\n return this.addListener(evt, {\n listener: listener,\n once: true\n });\n };\n\n /**\n * Alias of addOnceListener.\n */\n proto.once = alias('addOnceListener');\n\n /**\n * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.\n * You need to tell it what event names should be matched by a regex.\n *\n * @param {String} evt Name of the event to create.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvent = function defineEvent(evt) {\n this.getListeners(evt);\n return this;\n };\n\n /**\n * Uses defineEvent to define multiple events.\n *\n * @param {String[]} evts An array of event names to define.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvents = function defineEvents(evts) {\n for (var i = 0; i < evts.length; i += 1) {\n this.defineEvent(evts[i]);\n }\n return this;\n };\n\n /**\n * Removes a listener function from the specified event.\n * When passed a regular expression as the event name, it will remove the listener from all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to remove the listener from.\n * @param {Function} listener Method to remove from the event.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListener = function removeListener(evt, listener) {\n var listeners = this.getListenersAsObject(evt);\n var index;\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key)) {\n index = indexOfListener(listeners[key], listener);\n\n if (index !== -1) {\n listeners[key].splice(index, 1);\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of removeListener\n */\n proto.off = alias('removeListener');\n\n /**\n * Adds listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.\n * You can also pass it a regular expression to add the array of listeners to all events that match it.\n * Yeah, this function does quite a bit. That's probably a bad thing.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListeners = function addListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(false, evt, listeners);\n };\n\n /**\n * Removes listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be removed.\n * You can also pass it a regular expression to remove the listeners from all events that match it.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListeners = function removeListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(true, evt, listeners);\n };\n\n /**\n * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.\n * The first argument will determine if the listeners are removed (true) or added (false).\n * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be added/removed.\n * You can also pass it a regular expression to manipulate the listeners of all events that match it.\n *\n * @param {Boolean} remove True if you want to remove listeners, false if you want to add.\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add/remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {\n var i;\n var value;\n var single = remove ? this.removeListener : this.addListener;\n var multiple = remove ? this.removeListeners : this.addListeners;\n\n // If evt is an object then pass each of its properties to this method\n if (typeof evt === 'object' && !(evt instanceof RegExp)) {\n for (i in evt) {\n if (evt.hasOwnProperty(i) && (value = evt[i])) {\n // Pass the single listener straight through to the singular method\n if (typeof value === 'function') {\n single.call(this, i, value);\n }\n else {\n // Otherwise pass back to the multiple function\n multiple.call(this, i, value);\n }\n }\n }\n }\n else {\n // So evt must be a string\n // And listeners must be an array of listeners\n // Loop over it and pass each one to the multiple method\n i = listeners.length;\n while (i--) {\n single.call(this, evt, listeners[i]);\n }\n }\n\n return this;\n };\n\n /**\n * Removes all listeners from a specified event.\n * If you do not specify an event then all listeners will be removed.\n * That means every event will be emptied.\n * You can also pass a regex to remove all events that match it.\n *\n * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeEvent = function removeEvent(evt) {\n var type = typeof evt;\n var events = this._getEvents();\n var key;\n\n // Remove different things depending on the state of evt\n if (type === 'string') {\n // Remove all listeners for the specified event\n delete events[evt];\n }\n else if (evt instanceof RegExp) {\n // Remove all events matching the regex.\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n delete events[key];\n }\n }\n }\n else {\n // Remove all listeners in all events\n delete this._events;\n }\n\n return this;\n };\n\n /**\n * Alias of removeEvent.\n *\n * Added to mirror the node API.\n */\n proto.removeAllListeners = alias('removeEvent');\n\n /**\n * Emits an event of your choice.\n * When emitted, every listener attached to that event will be executed.\n * If you pass the optional argument array then those arguments will be passed to every listener upon execution.\n * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.\n * So they will not arrive within the array on the other side, they will be separate.\n * You can also pass a regular expression to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {Array} [args] Optional array of arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emitEvent = function emitEvent(evt, args) {\n var listenersMap = this.getListenersAsObject(evt);\n var listeners;\n var listener;\n var i;\n var key;\n var response;\n\n for (key in listenersMap) {\n if (listenersMap.hasOwnProperty(key)) {\n listeners = listenersMap[key].slice(0);\n\n for (i = 0; i < listeners.length; i++) {\n // If the listener returns true then it shall be removed from the event\n // The function is executed either with a basic call or an apply if there is an args array\n listener = listeners[i];\n\n if (listener.once === true) {\n this.removeListener(evt, listener.listener);\n }\n\n response = listener.listener.apply(this, args || []);\n\n if (response === this._getOnceReturnValue()) {\n this.removeListener(evt, listener.listener);\n }\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of emitEvent\n */\n proto.trigger = alias('emitEvent');\n\n /**\n * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.\n * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {...*} Optional additional arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emit = function emit(evt) {\n var args = Array.prototype.slice.call(arguments, 1);\n return this.emitEvent(evt, args);\n };\n\n /**\n * Sets the current value to check against when executing listeners. If a\n * listeners return value matches the one set here then it will be removed\n * after execution. This value defaults to true.\n *\n * @param {*} value The new value to check for when executing listeners.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.setOnceReturnValue = function setOnceReturnValue(value) {\n this._onceReturnValue = value;\n return this;\n };\n\n /**\n * Fetches the current value to check against when executing listeners. If\n * the listeners return value matches this one then it should be removed\n * automatically. It will return true by default.\n *\n * @return {*|Boolean} The current value to check for or the default, true.\n * @api private\n */\n proto._getOnceReturnValue = function _getOnceReturnValue() {\n if (this.hasOwnProperty('_onceReturnValue')) {\n return this._onceReturnValue;\n }\n else {\n return true;\n }\n };\n\n /**\n * Fetches the events object and creates one if required.\n *\n * @return {Object} The events storage object.\n * @api private\n */\n proto._getEvents = function _getEvents() {\n return this._events || (this._events = {});\n };\n\n /**\n * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.\n *\n * @return {Function} Non conflicting EventEmitter class.\n */\n EventEmitter.noConflict = function noConflict() {\n exports.EventEmitter = originalGlobalValue;\n return EventEmitter;\n };\n\n // Expose the class either via AMD, CommonJS or the global object\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return EventEmitter;\n });\n }\n else if (typeof module === 'object' && module.exports){\n module.exports = EventEmitter;\n }\n else {\n exports.EventEmitter = EventEmitter;\n }\n}(typeof window !== 'undefined' ? window : this || {}));\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');\n","class Environment {\n\n}\n\nEnvironment.ContextJquery = null;\n\nexport default Environment;\n","class Type {\n\n /**\n * Tests if the supplied value is an array.\n *\n * @param {object} obj The object to test.\n * @returns {boolean}\n */\n static isArray(obj: Object): Boolean {\n if (Type.hasValue(obj) === false) {\n return false;\n }\n\n return Array.isArray(obj);\n }\n\n /**\n * Tests if the object is a function.\n *\n * @param {object} obj The object to test.\n * @returns {boolean}\n */\n static isFunction(obj): Boolean {\n return typeof obj === 'function';\n }\n\n /**\n * Attempts to determine the type of the provided value.\n *\n * @param {(Object|string)} type The type to check.\n * @returns {null|String}\n */\n static typeOf(type): String {\n if (typeof type === 'undefined') {\n return null;\n }\n\n if (typeof type.prototype !== 'object') {\n if (typeof type.__proto__ === 'object') {\n return type.__proto__.constructor.name;\n }\n\n return null;\n }\n\n if (typeof type.prototype.constructor !== 'function') {\n return null;\n }\n\n return type.prototype.constructor.name;\n }\n\n /**\n * Tests if the provided value is of the specified type.\n *\n * @param {Object|string} value The value to test.\n * @param {Object|string} type The type to guarantee.\n * @returns {boolean}\n */\n static isTypeOf(value, type): Boolean {\n return Type.typeOf(value) === Type.typeOf(type);\n }\n\n /**\n * Tests if the provided value has a value set.\n *\n * @param {(Object|string|number)} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n if (typeof value === 'undefined') {\n return false;\n }\n\n return value !== null;\n }\n\n /**\n * Tests if all the provided value paths are set.\n *\n * @param {Array} values The paths to test.\n * @returns {boolean}\n */\n static hasAllValues(values: Array) {\n for (let i = 0; i < values.length; i += 1) {\n if (Type.hasValue(values[i]) === false) {\n return false;\n }\n }\n\n return true;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {(Object|string|number)} value The value to test.\n * @param {(Object|string|number)} defaultValue The default value, if any.\n * @returns {(Object|string|number)}\n */\n static withDefault(value, defaultValue) {\n if (Type.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n}\n\nexport default Type;\n","import {Hubs} from './index';\n\nclass Message {\n constructor(name: string, eventData: Object) {\n this.name = name;\n this.data = eventData;\n this.origin = Hubs.getIdentifier();\n }\n\n /**\n * Constructs a message from the provided details.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n *\n * @returns {Message}\n */\n static fromData(eventName: string, eventData: Object): Message {\n let message = new Message();\n\n message.name = eventName;\n message.data = eventData;\n message.origin = Hubs.getIdentifier();\n\n return message;\n }\n\n /**\n * Converts the message to a payload string.\n *\n * @returns {string}\n */\n toMessageString() {\n return JSON.stringify({\n name: this.name,\n data: this.data,\n origin: this.origin\n });\n }\n}\n\nexport default Message;\n","import Type from './type';\n\nclass String {\n\n /**\n * Limits the value's length.\n *\n * @param {string} value The value to limit.\n * @param {Number} limit The maximum number of characters of the value.\n * @param {string} cap An optional end cap. Defaults to `...`.\n * @returns {string}\n */\n static truncate(value: string, limit: Number, cap: string): string {\n if (Type.hasValue(cap) === false) {\n cap = '...';\n }\n\n if (value.length > limit) {\n return value.substr(0, limit - 1) + cap;\n }\n\n return value;\n }\n\n /**\n * Tests if the value has a string value.\n *\n * @param {string|null} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n if (Type.hasValue(value) === false) {\n return false;\n }\n\n if (value.constructor.name !== 'String') {\n return false;\n }\n\n return value.trim().length !== 0;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {string} value The value to test.\n * @param {string} defaultValue The value to return if no value present.\n * @returns {string|*}\n */\n static withDefault(value, defaultValue: string): string {\n if (String.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n /**\n * Ensures the value ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static finish(value: string, suffix: string): string {\n if (String.endsWith(value, suffix)) {\n return value;\n }\n\n return value + suffix;\n }\n\n /**\n * Ensures the value begins with the prefix.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static start(value: string, prefix: string): string {\n if (String.startsWith(value, prefix)) {\n return value;\n }\n\n return prefix + value;\n }\n\n /**\n * Indicates if the value string starts with the value.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static startsWith(value: string, prefix: string): string {\n return (value.substr(0, prefix.length) === prefix);\n }\n\n /**\n * Indicates if the value string ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static endsWith(value: string, suffix: string): string {\n return (value.substr(value.length - suffix.length) === suffix);\n }\n\n /**\n * Formats the provided value with the replacements.\n *\n * @param {string} value\n * @param {array|string} replacements\n */\n static format(value, ...replacements) {\n let content = value;\n\n for (let i = 0; i < replacements.length; i++) {\n let replacement = '{' + i + '}';\n\n content = content.replace(replacement, replacements[i]);\n }\n\n return content;\n }\n\n /**\n * Transforms the value's first character to upper-cased.\n *\n * @param {string} value The value to transform.\n * @returns {string}\n */\n static ucFirst(value: string): string {\n if (String.hasValue(value) === false) {\n return value;\n }\n\n if (value.length === 1) {\n return value.toUpperCase();\n }\n\n return value.charAt(0).toUpperCase() + value.slice(1);\n }\n\n}\n\nexport default String;\n","import Environment from '../environment';\nimport Type from '../Types/type';\nimport Message from './message';\nimport EventEmitter from 'wolfy87-eventemitter';\nimport String from '../Types/string';\n\nconst store = require('store');\n\nclass Manager extends EventEmitter {\n\n constructor(canReceiveEvents) {\n super();\n\n this.emitToSelf = false;\n\n if (canReceiveEvents && Type.hasValue(Environment.ContextJquery)) {\n Environment.ContextJquery(window).on('storage', this.handleMessageReceived.bind(this));\n }\n }\n\n /**\n * Broadcasts a message to all other listeners.\n *\n * @param {Message} message The message to broadcast.\n */\n broadcast(message: Message) {\n let broadcastKey = Manager.StorageMessageKey;\n\n if (Type.hasValue(this['getMessageKey']) === true) {\n broadcastKey = this.getMessageKey();\n }\n\n this.broadcastWithKey(broadcastKey, message);\n }\n\n broadcastWithKey(broadcastKey: string, message: Message) {\n let messageData = message.toMessageString();\n\n store.set(broadcastKey, messageData);\n store.remove(broadcastKey);\n\n if (this.emitToSelf === true && Type.hasValue(this['selfHandle'])) {\n this.selfHandle(broadcastKey, message);\n }\n }\n\n /**\n * Constructs a message and broadcasts it using the global manager.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n */\n static broadcastAll(eventName: string, eventData: Object) {\n Manager.Instance.broadcast(Message.fromData(eventName, eventData));\n }\n\n /**\n * Constructs a message and broadcasts it to the current listener.\n *\n * @param {string} eventName The message name.\n * @param {Object|string} eventData The message payload.\n */\n selfBroadcast(eventName: string, eventData: string) {\n this.emit(Manager.EventMessageReceived, Message.fromData(eventName, eventData));\n }\n\n /**\n * Handles the window storage event and redirects appropriate messages to the listeners.\n *\n * @param windowEvent\n */\n handleMessageReceived(windowEvent) {\n if (Type.hasValue(windowEvent) && Type.hasValue(windowEvent['originalEvent'])) {\n if (String.startsWith(windowEvent.originalEvent.key, Manager.StorageMessageKey) &&\n Type.hasValue(windowEvent.originalEvent['newValue'])) {\n\n try {\n let parsedMessage = JSON.parse(JSON.parse(windowEvent.originalEvent.newValue));\n\n if (this.emitToSelf === true && Type.hasValue(this['selfHandle'])) {\n this.selfHandle(windowEvent.originalEvent.key, parsedMessage);\n }\n\n this.emit(Manager.EventMessageReceived, parsedMessage);\n } catch (err) {\n throw err;\n }\n }\n }\n }\n\n}\n\nManager.StorageMessageKey = '_broadcastMessage';\nManager.StorageNamespaceMessageKey = '_broadcastNamespace';\nManager.EventMessageReceived = 'message.received';\nManager.Instance = new Manager(false);\n\nexport default Manager;\n","import Type from '../Types/type';\nimport {Message} from './message';\nimport {Hubs} from './index';\n\nclass HandlerManager {\n\n constructor(hub, handler) {\n this.hub = hub;\n this.handler = handler;\n this.methodRedirects = [];\n this.reactsToCurrentSyncInstance = true;\n }\n\n /**\n * Tests if the manager has method redirects.\n *\n * @returns {boolean}\n */\n hasRedirects(): Boolean {\n return this.methodRedirects.length > 0;\n }\n\n /**\n * Tests if the handler has the requested method.\n *\n * @param method\n */\n hasMethod(method): Boolean {\n return Type.isFunction(this.handler[method]);\n }\n\n /**\n * Adds the method to the internal redirects list.\n *\n * @param {string} method The method name.\n */\n redirectTo(method) {\n this.methodRedirects.push(method);\n }\n\n reactsToInstance(doesReact): HandlerManager {\n this.reactsToCurrentSyncInstance = doesReact;\n\n return this;\n }\n\n /**\n * Removes all previously registered method redirects.\n */\n clearRedirects() {\n this.methodRedirects = [];\n }\n\n /**\n * Invokes the provided method by name\n *\n * @param {string} methodName The method name.\n * @param {data} data The data to supply as the first argument.\n * @private\n */\n _invokeMethod(methodName, data) {\n this.handler[methodName](data);\n }\n\n triggerRedirects(message: Message) {\n if (this.hasRedirects()) {\n for (let i = 0; i < this.methodRedirects.length; i += 1) {\n this.methodRedirects[i](message.data);\n }\n }\n }\n\n triggerHandler(handlerName: string, message: Message) {\n if (this.reactsToCurrentSyncInstance === false) {\n if (message.origin === Hubs.getIdentifier()) {\n return;\n }\n }\n\n this.triggerRedirects(message);\n\n if (this.hasMethod(handlerName)) {\n this._invokeMethod(handlerName, message.data);\n }\n }\n\n}\n\nexport default HandlerManager;\n","import Manager from './manager';\nimport Message from './message';\nimport Type from '../Types/type';\nimport String from '../Types/string';\nimport HandlerManager from './handlerManager';\n\n/**\n * The Hub is a dynamic wrapper around the Manager.\n */\nclass Hub extends Manager {\n\n constructor(name: string, typeNamespace: string) {\n super(true);\n\n this.emitToSelf = true;\n this.name = name;\n this.reactNamespace = Type.withDefault(typeNamespace, null);\n this.receiverKey = this.getMessageKey();\n this.handlerManagers = [];\n this.typeHandlers = [];\n\n this.handlePrefix = 'on' + String.ucFirst(this.name.toLowerCase());\n this.reactPrefix = null;\n\n if (this.reactNamespace !== null) {\n this.reactPrefix = 'on' + String.ucFirst(this.reactNamespace.toLowerCase());\n }\n\n return new Proxy(this, {\n get: function (object, property) {\n if (Reflect.has(object, property)) {\n return Reflect.get(object, property);\n }\n\n return function methodMissing() {\n let message = new Message(property, ...arguments);\n\n this.broadcast(message);\n }.bind(this);\n }.bind(this)\n });\n }\n\n /**\n * Registers a message handler with the hub.\n *\n * @param {Object} handler The handler to receive messages.\n */\n handledBy(handler: Object) : HandlerManager {\n let handlerManager = new HandlerManager(this, handler);\n\n this.handlerManagers.push(handlerManager);\n\n return handlerManager;\n }\n\n /**\n * Generates a custom message key for this hub.\n *\n * @returns {string}\n */\n getMessageKey() {\n return Manager.StorageMessageKey + ':hub:' + this.name;\n }\n\n /**\n * Checks if the received message should be handled by this hub.\n *\n * If the message should be handled, any hub handlers will be called.\n *\n * @param {string} key The broadcast key.\n * @param {Message} message The message that was sent.\n */\n selfHandle(key, message) {\n if (key === this.receiverKey) {\n let messageName = String.ucFirst(message.name),\n handleName = this.handlePrefix + messageName;\n\n if (this.reactNamespace !== null && Type.isArray(message.data)) {\n let handleName = this.reactPrefix + messageName;\n\n for (let i = 0; i < message.data.length; i += 1) {\n if (typeof message.data[i] === 'object' || String.hasValue(message.data[i])) {\n if (this.typeHandlers.length > 0) {\n for (let j = 0; j < this.typeHandlers.length; j += 1) {\n let idField = this.typeHandlers[j].__syncJsIdentityField;\n\n if (typeof message.data[i] === 'object') {\n if (Type.hasValue(message.data[i][idField])) {\n if (message.data[i][idField] === this.typeHandlers[j].__syncJsGetIdentity()) {\n this.typeHandlers[j].__syncJsTriggerFromTypeHandleWithObjParam(\n handleName, message.data[i]\n );\n }\n }\n } else {\n if (this.typeHandlers[j].__syncJsGetIdentity() === message.data[i]) {\n this.typeHandlers[j].__syncJsTriggerFromTypeHandle(handleName);\n }\n }\n }\n }\n }\n }\n }\n\n for (let i = 0; i < this.handlerManagers.length; i += 1) {\n this.handlerManagers[i].triggerHandler(handleName, message);\n }\n }\n }\n\n}\n\nexport default Hub;\n","class Guid {\n\n static newGuid(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\n return v.toString(16);\n });\n }\n\n}\n\nexport default Guid;\n","import Hub from './hub';\nimport Type from '../Types/type';\nimport String from '../Types/string';\nimport Guid from '../Types/guid';\n\n/**\n * Provides a dynamic wrapper for managing shared hub instances.\n *\n * Once a hub has been registered, it can be accessed like so:\n *\n * Hubs.hubName().someHubMethod()\n */\nclass Hubs {\n\n constructor() {\n return new Proxy(this, {\n get: function (object, property) {\n if (Reflect.has(object, property)) {\n return Reflect.get(object, property);\n }\n\n return function methodMissing() {\n if (typeof Hubs.Registered[property] !== 'undefined') {\n return Hubs.Registered[property];\n }\n\n throw new Error('Could not locate hub: ' + property);\n };\n }\n });\n }\n\n getIdentifier() {\n return Hubs.GlobalIdentifier;\n }\n\n make(name, typeNamespace) {\n let hub = new Hub(name, typeNamespace);\n\n if (String.hasValue(typeNamespace)) {\n if (Type.hasValue(Hubs.TypedHubs[typeNamespace]) === false) {\n Hubs.TypedHubs[typeNamespace] = [];\n }\n\n Hubs.TypedHubs[typeNamespace].push(hub);\n }\n\n Hubs.Registered[name] = hub;\n }\n\n /**\n * Returns any hubs registered for the provided type.\n *\n * @param {string} type The type name.\n * @returns {Array}\n */\n getTypedHubs(type): Array {\n if (Type.hasValue(Hubs.TypedHubs[type])) {\n return Hubs.TypedHubs[type];\n }\n\n return [];\n }\n\n}\n\nHubs.GlobalIdentifier = Guid.newGuid();\nHubs.Registered = {};\nHubs.TypedHubs = {};\n\nexport default new Hubs();\n","import Type from '../Types/type';\nimport Hubs from './hubs';\nimport Manager from './manager';\n\nexport function reactsToType(instance, options) {\n if (Type.hasValue(options) === false || Type.withDefault(options['identity'], null) === null) {\n return;\n }\n\n instance.__syncJsType = Type.typeOf(instance);\n instance.__syncJsIdentityField = options.identity;\n instance.__syncJsTypeNamespace = Manager.StorageNamespaceMessageKey + '@' + instance.__syncJsType;\n instance.__syncJsGetIdentity = function () {\n return Type.withDefault(this[options.identity], null);\n }.bind(instance);\n\n instance.__syncJsTriggerFromTypeHandle = function (typeHandler) {\n if (Type.isFunction(this[typeHandler])) {\n this[typeHandler]();\n }\n }.bind(instance);\n\n instance.__syncJsTriggerFromTypeHandleWithObjParam = function (typeHandler, objParam) {\n if (Type.isFunction(this[typeHandler])) {\n this[typeHandler](objParam);\n }\n }.bind(instance);\n\n let typedHubs = Hubs.getTypedHubs(instance.__syncJsType);\n\n for (let i = 0; i < typedHubs.length; i += 1) {\n typedHubs[i].typeHandlers.push(instance);\n }\n}\n","import Environment from './environment';\n\nexport * from './Messaging';\nexport {reactsToType} from './Messaging/typeNamespaceReactors';\n\n/** Attempts to automatically configure the jQuery instance from the window object. */\nif (typeof window['jQuery'] !== 'undefined' && window['jQuery'] !== null) {\n Environment.ContextJquery = window['jQuery'];\n}\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.28.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var assign = make_assign()\nvar create = make_create()\nvar trim = make_trim()\nvar Global = (typeof window !== 'undefined' ? window : global)\n\nmodule.exports = {\n\tassign: assign,\n\tcreate: create,\n\ttrim: trim,\n\tbind: bind,\n\tslice: slice,\n\teach: each,\n\tmap: map,\n\tpluck: pluck,\n\tisList: isList,\n\tisFunction: isFunction,\n\tisObject: isObject,\n\tGlobal: Global\n}\n\nfunction make_assign() {\n\tif (Object.assign) {\n\t\treturn Object.assign\n\t} else {\n\t\treturn function shimAssign(obj, props1, props2, etc) {\n\t\t\tfor (var i = 1; i < arguments.length; i++) {\n\t\t\t\teach(Object(arguments[i]), function(val, key) {\n\t\t\t\t\tobj[key] = val\n\t\t\t\t})\n\t\t\t}\t\t\t\n\t\t\treturn obj\n\t\t}\n\t}\n}\n\nfunction make_create() {\n\tif (Object.create) {\n\t\treturn function create(obj, assignProps1, assignProps2, etc) {\n\t\t\tvar assignArgsList = slice(arguments, 1)\n\t\t\treturn assign.apply(this, [Object.create(obj)].concat(assignArgsList))\n\t\t}\n\t} else {\n\t\tfunction F() {} // eslint-disable-line no-inner-declarations\n\t\treturn function create(obj, assignProps1, assignProps2, etc) {\n\t\t\tvar assignArgsList = slice(arguments, 1)\n\t\t\tF.prototype = obj\n\t\t\treturn assign.apply(this, [new F()].concat(assignArgsList))\n\t\t}\n\t}\n}\n\nfunction make_trim() {\n\tif (String.prototype.trim) {\n\t\treturn function trim(str) {\n\t\t\treturn String.prototype.trim.call(str)\n\t\t}\n\t} else {\n\t\treturn function trim(str) {\n\t\t\treturn str.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '')\n\t\t}\n\t}\n}\n\nfunction bind(obj, fn) {\n\treturn function() {\n\t\treturn fn.apply(obj, Array.prototype.slice.call(arguments, 0))\n\t}\n}\n\nfunction slice(arr, index) {\n\treturn Array.prototype.slice.call(arr, index || 0)\n}\n\nfunction each(obj, fn) {\n\tpluck(obj, function(val, key) {\n\t\tfn(val, key)\n\t\treturn false\n\t})\n}\n\nfunction map(obj, fn) {\n\tvar res = (isList(obj) ? [] : {})\n\tpluck(obj, function(v, k) {\n\t\tres[k] = fn(v, k)\n\t\treturn false\n\t})\n\treturn res\n}\n\nfunction pluck(obj, fn) {\n\tif (isList(obj)) {\n\t\tfor (var i=0; i 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","module.exports = {};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n }\n};\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","module.exports = {};\n","var global = require('../internals/global');\n\nmodule.exports = global.Promise;\n","var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.set-interval');\nrequire('../modules/web.set-timeout');\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = require('../internals/function-uncurry-this-accessor');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) { /* empty */ }\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);\n else O.__proto__ = proto;\n return O;\n };\n}() : undefined);\n","var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n } return object instanceof $Object ? ObjectPrototype : null;\n};\n","var classof = require('../internals/classof-raw');\n\nmodule.exports = typeof process != 'undefined' && classof(process) == 'process';\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","// TODO: Remove from `core-js@4`\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n defineBuiltIn(DatePrototype, TO_STRING, function toString() {\n var value = thisTimeValue(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? nativeDateToString(this) : INVALID_DATE;\n });\n}\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar nativeSlice = require('../internals/array-slice');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return nativeSlice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeJoin = uncurryThis([].join);\n\nvar ES3_STRINGS = IndexedObject != Object;\nvar FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({ target: 'Array', proto: true, forced: FORCED }, {\n join: function join(separator) {\n return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\n\nmodule.exports = function (NAME) {\n var Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '$1');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/iterator-create-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n\n var getIterationMethod = function (KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n } return function () { return new IteratorConstructor(this); };\n };\n\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR]\n || IterablePrototype['@@iterator']\n || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() { return call(nativeIterator, this); };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n }\n Iterators[NAME] = defaultIterator;\n\n return methods;\n};\n","// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n return { value: value, done: done };\n};\n","var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","module.exports = function (exec) {\n try {\n return { error: false, value: exec() };\n } catch (error) {\n return { error: true, value: error };\n }\n};\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-endswith -- safe\nvar nativeEndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return nativeEndsWith\n ? nativeEndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","var isRegExp = require('../internals/is-regexp');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n } return it;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) { /* empty */ }\n } return false;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es/no-string-prototype-startswith -- safe\nvar nativeStartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return nativeStartsWith\n ? nativeStartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (Math) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Constants table\n\t var T = [];\n\n\t // Compute constants\n\t (function () {\n\t for (var i = 0; i < 64; i++) {\n\t T[i] = (Math.abs(Math.sin(i + 1)) * 0x100000000) | 0;\n\t }\n\t }());\n\n\t /**\n\t * MD5 hash algorithm.\n\t */\n\t var MD5 = C_algo.MD5 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Swap endian\n\t for (var i = 0; i < 16; i++) {\n\t // Shortcuts\n\t var offset_i = offset + i;\n\t var M_offset_i = M[offset_i];\n\n\t M[offset_i] = (\n\t (((M_offset_i << 8) | (M_offset_i >>> 24)) & 0x00ff00ff) |\n\t (((M_offset_i << 24) | (M_offset_i >>> 8)) & 0xff00ff00)\n\t );\n\t }\n\n\t // Shortcuts\n\t var H = this._hash.words;\n\n\t var M_offset_0 = M[offset + 0];\n\t var M_offset_1 = M[offset + 1];\n\t var M_offset_2 = M[offset + 2];\n\t var M_offset_3 = M[offset + 3];\n\t var M_offset_4 = M[offset + 4];\n\t var M_offset_5 = M[offset + 5];\n\t var M_offset_6 = M[offset + 6];\n\t var M_offset_7 = M[offset + 7];\n\t var M_offset_8 = M[offset + 8];\n\t var M_offset_9 = M[offset + 9];\n\t var M_offset_10 = M[offset + 10];\n\t var M_offset_11 = M[offset + 11];\n\t var M_offset_12 = M[offset + 12];\n\t var M_offset_13 = M[offset + 13];\n\t var M_offset_14 = M[offset + 14];\n\t var M_offset_15 = M[offset + 15];\n\n\t // Working varialbes\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\n\t // Computation\n\t a = FF(a, b, c, d, M_offset_0, 7, T[0]);\n\t d = FF(d, a, b, c, M_offset_1, 12, T[1]);\n\t c = FF(c, d, a, b, M_offset_2, 17, T[2]);\n\t b = FF(b, c, d, a, M_offset_3, 22, T[3]);\n\t a = FF(a, b, c, d, M_offset_4, 7, T[4]);\n\t d = FF(d, a, b, c, M_offset_5, 12, T[5]);\n\t c = FF(c, d, a, b, M_offset_6, 17, T[6]);\n\t b = FF(b, c, d, a, M_offset_7, 22, T[7]);\n\t a = FF(a, b, c, d, M_offset_8, 7, T[8]);\n\t d = FF(d, a, b, c, M_offset_9, 12, T[9]);\n\t c = FF(c, d, a, b, M_offset_10, 17, T[10]);\n\t b = FF(b, c, d, a, M_offset_11, 22, T[11]);\n\t a = FF(a, b, c, d, M_offset_12, 7, T[12]);\n\t d = FF(d, a, b, c, M_offset_13, 12, T[13]);\n\t c = FF(c, d, a, b, M_offset_14, 17, T[14]);\n\t b = FF(b, c, d, a, M_offset_15, 22, T[15]);\n\n\t a = GG(a, b, c, d, M_offset_1, 5, T[16]);\n\t d = GG(d, a, b, c, M_offset_6, 9, T[17]);\n\t c = GG(c, d, a, b, M_offset_11, 14, T[18]);\n\t b = GG(b, c, d, a, M_offset_0, 20, T[19]);\n\t a = GG(a, b, c, d, M_offset_5, 5, T[20]);\n\t d = GG(d, a, b, c, M_offset_10, 9, T[21]);\n\t c = GG(c, d, a, b, M_offset_15, 14, T[22]);\n\t b = GG(b, c, d, a, M_offset_4, 20, T[23]);\n\t a = GG(a, b, c, d, M_offset_9, 5, T[24]);\n\t d = GG(d, a, b, c, M_offset_14, 9, T[25]);\n\t c = GG(c, d, a, b, M_offset_3, 14, T[26]);\n\t b = GG(b, c, d, a, M_offset_8, 20, T[27]);\n\t a = GG(a, b, c, d, M_offset_13, 5, T[28]);\n\t d = GG(d, a, b, c, M_offset_2, 9, T[29]);\n\t c = GG(c, d, a, b, M_offset_7, 14, T[30]);\n\t b = GG(b, c, d, a, M_offset_12, 20, T[31]);\n\n\t a = HH(a, b, c, d, M_offset_5, 4, T[32]);\n\t d = HH(d, a, b, c, M_offset_8, 11, T[33]);\n\t c = HH(c, d, a, b, M_offset_11, 16, T[34]);\n\t b = HH(b, c, d, a, M_offset_14, 23, T[35]);\n\t a = HH(a, b, c, d, M_offset_1, 4, T[36]);\n\t d = HH(d, a, b, c, M_offset_4, 11, T[37]);\n\t c = HH(c, d, a, b, M_offset_7, 16, T[38]);\n\t b = HH(b, c, d, a, M_offset_10, 23, T[39]);\n\t a = HH(a, b, c, d, M_offset_13, 4, T[40]);\n\t d = HH(d, a, b, c, M_offset_0, 11, T[41]);\n\t c = HH(c, d, a, b, M_offset_3, 16, T[42]);\n\t b = HH(b, c, d, a, M_offset_6, 23, T[43]);\n\t a = HH(a, b, c, d, M_offset_9, 4, T[44]);\n\t d = HH(d, a, b, c, M_offset_12, 11, T[45]);\n\t c = HH(c, d, a, b, M_offset_15, 16, T[46]);\n\t b = HH(b, c, d, a, M_offset_2, 23, T[47]);\n\n\t a = II(a, b, c, d, M_offset_0, 6, T[48]);\n\t d = II(d, a, b, c, M_offset_7, 10, T[49]);\n\t c = II(c, d, a, b, M_offset_14, 15, T[50]);\n\t b = II(b, c, d, a, M_offset_5, 21, T[51]);\n\t a = II(a, b, c, d, M_offset_12, 6, T[52]);\n\t d = II(d, a, b, c, M_offset_3, 10, T[53]);\n\t c = II(c, d, a, b, M_offset_10, 15, T[54]);\n\t b = II(b, c, d, a, M_offset_1, 21, T[55]);\n\t a = II(a, b, c, d, M_offset_8, 6, T[56]);\n\t d = II(d, a, b, c, M_offset_15, 10, T[57]);\n\t c = II(c, d, a, b, M_offset_6, 15, T[58]);\n\t b = II(b, c, d, a, M_offset_13, 21, T[59]);\n\t a = II(a, b, c, d, M_offset_4, 6, T[60]);\n\t d = II(d, a, b, c, M_offset_11, 10, T[61]);\n\t c = II(c, d, a, b, M_offset_2, 15, T[62]);\n\t b = II(b, c, d, a, M_offset_9, 21, T[63]);\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\n\t var nBitsTotalH = Math.floor(nBitsTotal / 0x100000000);\n\t var nBitsTotalL = nBitsTotal;\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = (\n\t (((nBitsTotalH << 8) | (nBitsTotalH >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalH << 24) | (nBitsTotalH >>> 8)) & 0xff00ff00)\n\t );\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = (\n\t (((nBitsTotalL << 8) | (nBitsTotalL >>> 24)) & 0x00ff00ff) |\n\t (((nBitsTotalL << 24) | (nBitsTotalL >>> 8)) & 0xff00ff00)\n\t );\n\n\t data.sigBytes = (dataWords.length + 1) * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Shortcuts\n\t var hash = this._hash;\n\t var H = hash.words;\n\n\t // Swap endian\n\t for (var i = 0; i < 4; i++) {\n\t // Shortcut\n\t var H_i = H[i];\n\n\t H[i] = (((H_i << 8) | (H_i >>> 24)) & 0x00ff00ff) |\n\t (((H_i << 24) | (H_i >>> 8)) & 0xff00ff00);\n\t }\n\n\t // Return final computed hash\n\t return hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t function FF(a, b, c, d, x, s, t) {\n\t var n = a + ((b & c) | (~b & d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function GG(a, b, c, d, x, s, t) {\n\t var n = a + ((b & d) | (c & ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function HH(a, b, c, d, x, s, t) {\n\t var n = a + (b ^ c ^ d) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t function II(a, b, c, d, x, s, t) {\n\t var n = a + (c ^ (b | ~d)) + x + t;\n\t return ((n << s) | (n >>> (32 - s))) + b;\n\t }\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.MD5('message');\n\t * var hash = CryptoJS.MD5(wordArray);\n\t */\n\t C.MD5 = Hasher._createHelper(MD5);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacMD5(message, key);\n\t */\n\t C.HmacMD5 = Hasher._createHmacHelper(MD5);\n\t}(Math));\n\n\n\treturn CryptoJS.MD5;\n\n}));","var global = require('../internals/global');\n\nmodule.exports = global;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nexports.f = wellKnownSymbol;\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function () {\n var Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = Symbol && Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, { arity: 1 });\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n","var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) &&\n NewTarget !== Wrapper &&\n isObject(NewTargetPrototype = NewTarget.prototype) &&\n NewTargetPrototype !== Wrapper.prototype\n ) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\n\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n function F() { /* empty */ }\n F.prototype.constructor = null;\n // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineBuiltInAccessor(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n $location = global.location;\n});\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar eventListener = function (event) {\n run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = eventListener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n $location && $location.protocol !== 'file:' &&\n !fails(globalPostMessageDefer)\n ) {\n defer = globalPostMessageDefer;\n global.addEventListener('message', eventListener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var Queue = function () {\n this.head = null;\n this.tail = null;\n};\n\nQueue.prototype = {\n add: function (item) {\n var entry = { item: item, next: null };\n var tail = this.tail;\n if (tail) tail.next = entry;\n else this.head = entry;\n this.tail = entry;\n },\n get: function () {\n var entry = this.head;\n if (entry) {\n var next = this.head = entry.next;\n if (next === null) this.tail = null;\n return entry.item;\n }\n }\n};\n\nmodule.exports = Queue;\n","/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n","var call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound(/* args... */) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};\n","var $ = require('../internals/export');\nvar $parseInt = require('../internals/number-parse-int');\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt != $parseInt }, {\n parseInt: $parseInt\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n isArray: isArray\n});\n","var engine = require('../src/store-engine')\n\nvar storages = require('../storages/all')\nvar plugins = [require('../plugins/json2')]\n\nmodule.exports = engine.createStore(storages, plugins)\n","var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});\n","var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor)\n ? descriptor.value\n : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\n$({ target: 'Reflect', stat: true }, {\n get: get\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar ENGINE_IS_BUN = require('../internals/engine-is-bun');\nvar USER_AGENT = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n var version = global.Bun.version.split('.');\n return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0);\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n var firstParamIndex = hasTimeArg ? 2 : 1;\n return WRAP ? function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n var fn = isCallable(handler) ? handler : Function(handler);\n var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n var callback = boundArgs ? function () {\n apply(fn, this, params);\n } : fn;\n return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n } : scheduler;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n\n switch (code) {\n case 66: case 69: case 70: case 72: value = 3; break;\n case 68: case 71: value = 4; break;\n default: value = 2;\n }\n\n for (index = 0; index < 47; index++) {\n test.push({ k: chr + index, v: value });\n }\n }\n\n test.sort(function (a, b) { return b.v - a.v; });\n\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n\n return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n\n var array = toObject(this);\n\n if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n\n internalSort(items, getSortCompare(comparefn));\n\n itemsLength = lengthOfArrayLike(items);\n index = 0;\n\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n return array;\n }\n});\n","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" {{ countDisplay }} \";\n// Exports\nmodule.exports = code;","/*! MIT License © Sindre Sorhus */\n\nconst globals = {};\n\nconst getGlobal = property => {\n\t/* istanbul ignore next */\n\tif (typeof self !== 'undefined' && self && property in self) {\n\t\treturn self;\n\t}\n\n\t/* istanbul ignore next */\n\tif (typeof window !== 'undefined' && window && property in window) {\n\t\treturn window;\n\t}\n\n\tif (typeof global !== 'undefined' && global && property in global) {\n\t\treturn global;\n\t}\n\n\t/* istanbul ignore next */\n\tif (typeof globalThis !== 'undefined' && globalThis) {\n\t\treturn globalThis;\n\t}\n};\n\nconst globalProperties = [\n\t'Headers',\n\t'Request',\n\t'Response',\n\t'ReadableStream',\n\t'fetch',\n\t'AbortController',\n\t'FormData'\n];\n\nfor (const property of globalProperties) {\n\tObject.defineProperty(globals, property, {\n\t\tget() {\n\t\t\tconst globalObject = getGlobal(property);\n\t\t\tconst value = globalObject && globalObject[property];\n\t\t\treturn typeof value === 'function' ? value.bind(globalObject) : value;\n\t\t}\n\t});\n}\n\nconst isObject = value => value !== null && typeof value === 'object';\nconst supportsAbortController = typeof globals.AbortController === 'function';\nconst supportsStreams = typeof globals.ReadableStream === 'function';\nconst supportsFormData = typeof globals.FormData === 'function';\n\nconst mergeHeaders = (source1, source2) => {\n\tconst result = new globals.Headers(source1 || {});\n\tconst isHeadersInstance = source2 instanceof globals.Headers;\n\tconst source = new globals.Headers(source2 || {});\n\n\tfor (const [key, value] of source) {\n\t\tif ((isHeadersInstance && value === 'undefined') || value === undefined) {\n\t\t\tresult.delete(key);\n\t\t} else {\n\t\t\tresult.set(key, value);\n\t\t}\n\t}\n\n\treturn result;\n};\n\nconst deepMerge = (...sources) => {\n\tlet returnValue = {};\n\tlet headers = {};\n\n\tfor (const source of sources) {\n\t\tif (Array.isArray(source)) {\n\t\t\tif (!(Array.isArray(returnValue))) {\n\t\t\t\treturnValue = [];\n\t\t\t}\n\n\t\t\treturnValue = [...returnValue, ...source];\n\t\t} else if (isObject(source)) {\n\t\t\tfor (let [key, value] of Object.entries(source)) {\n\t\t\t\tif (isObject(value) && Reflect.has(returnValue, key)) {\n\t\t\t\t\tvalue = deepMerge(returnValue[key], value);\n\t\t\t\t}\n\n\t\t\t\treturnValue = {...returnValue, [key]: value};\n\t\t\t}\n\n\t\t\tif (isObject(source.headers)) {\n\t\t\t\theaders = mergeHeaders(headers, source.headers);\n\t\t\t}\n\t\t}\n\n\t\treturnValue.headers = headers;\n\t}\n\n\treturn returnValue;\n};\n\nconst requestMethods = [\n\t'get',\n\t'post',\n\t'put',\n\t'patch',\n\t'head',\n\t'delete'\n];\n\nconst responseTypes = {\n\tjson: 'application/json',\n\ttext: 'text/*',\n\tformData: 'multipart/form-data',\n\tarrayBuffer: '*/*',\n\tblob: '*/*'\n};\n\nconst retryMethods = [\n\t'get',\n\t'put',\n\t'head',\n\t'delete',\n\t'options',\n\t'trace'\n];\n\nconst retryStatusCodes = [\n\t408,\n\t413,\n\t429,\n\t500,\n\t502,\n\t503,\n\t504\n];\n\nconst retryAfterStatusCodes = [\n\t413,\n\t429,\n\t503\n];\n\nconst stop = Symbol('stop');\n\nclass HTTPError extends Error {\n\tconstructor(response) {\n\t\t// Set the message to the status text, such as Unauthorized,\n\t\t// with some fallbacks. This message should never be undefined.\n\t\tsuper(\n\t\t\tresponse.statusText ||\n\t\t\tString(\n\t\t\t\t(response.status === 0 || response.status) ?\n\t\t\t\t\tresponse.status : 'Unknown response error'\n\t\t\t)\n\t\t);\n\t\tthis.name = 'HTTPError';\n\t\tthis.response = response;\n\t}\n}\n\nclass TimeoutError extends Error {\n\tconstructor(request) {\n\t\tsuper('Request timed out');\n\t\tthis.name = 'TimeoutError';\n\t\tthis.request = request;\n\t}\n}\n\nconst delay = ms => new Promise(resolve => setTimeout(resolve, ms));\n\n// `Promise.race()` workaround (#91)\nconst timeout = (request, abortController, options) =>\n\tnew Promise((resolve, reject) => {\n\t\tconst timeoutID = setTimeout(() => {\n\t\t\tif (abortController) {\n\t\t\t\tabortController.abort();\n\t\t\t}\n\n\t\t\treject(new TimeoutError(request));\n\t\t}, options.timeout);\n\n\t\t/* eslint-disable promise/prefer-await-to-then */\n\t\toptions.fetch(request)\n\t\t\t.then(resolve)\n\t\t\t.catch(reject)\n\t\t\t.then(() => {\n\t\t\t\tclearTimeout(timeoutID);\n\t\t\t});\n\t\t/* eslint-enable promise/prefer-await-to-then */\n\t});\n\nconst normalizeRequestMethod = input => requestMethods.includes(input) ? input.toUpperCase() : input;\n\nconst defaultRetryOptions = {\n\tlimit: 2,\n\tmethods: retryMethods,\n\tstatusCodes: retryStatusCodes,\n\tafterStatusCodes: retryAfterStatusCodes\n};\n\nconst normalizeRetryOptions = (retry = {}) => {\n\tif (typeof retry === 'number') {\n\t\treturn {\n\t\t\t...defaultRetryOptions,\n\t\t\tlimit: retry\n\t\t};\n\t}\n\n\tif (retry.methods && !Array.isArray(retry.methods)) {\n\t\tthrow new Error('retry.methods must be an array');\n\t}\n\n\tif (retry.statusCodes && !Array.isArray(retry.statusCodes)) {\n\t\tthrow new Error('retry.statusCodes must be an array');\n\t}\n\n\treturn {\n\t\t...defaultRetryOptions,\n\t\t...retry,\n\t\tafterStatusCodes: retryAfterStatusCodes\n\t};\n};\n\n// The maximum value of a 32bit int (see issue #117)\nconst maxSafeTimeout = 2147483647;\n\nclass Ky {\n\tconstructor(input, options = {}) {\n\t\tthis._retryCount = 0;\n\t\tthis._input = input;\n\t\tthis._options = {\n\t\t\t// TODO: credentials can be removed when the spec change is implemented in all browsers. Context: https://www.chromestatus.com/feature/4539473312350208\n\t\t\tcredentials: this._input.credentials || 'same-origin',\n\t\t\t...options,\n\t\t\theaders: mergeHeaders(this._input.headers, options.headers),\n\t\t\thooks: deepMerge({\n\t\t\t\tbeforeRequest: [],\n\t\t\t\tbeforeRetry: [],\n\t\t\t\tafterResponse: []\n\t\t\t}, options.hooks),\n\t\t\tmethod: normalizeRequestMethod(options.method || this._input.method),\n\t\t\tprefixUrl: String(options.prefixUrl || ''),\n\t\t\tretry: normalizeRetryOptions(options.retry),\n\t\t\tthrowHttpErrors: options.throwHttpErrors !== false,\n\t\t\ttimeout: typeof options.timeout === 'undefined' ? 10000 : options.timeout,\n\t\t\tfetch: options.fetch || globals.fetch\n\t\t};\n\n\t\tif (typeof this._input !== 'string' && !(this._input instanceof URL || this._input instanceof globals.Request)) {\n\t\t\tthrow new TypeError('`input` must be a string, URL, or Request');\n\t\t}\n\n\t\tif (this._options.prefixUrl && typeof this._input === 'string') {\n\t\t\tif (this._input.startsWith('/')) {\n\t\t\t\tthrow new Error('`input` must not begin with a slash when using `prefixUrl`');\n\t\t\t}\n\n\t\t\tif (!this._options.prefixUrl.endsWith('/')) {\n\t\t\t\tthis._options.prefixUrl += '/';\n\t\t\t}\n\n\t\t\tthis._input = this._options.prefixUrl + this._input;\n\t\t}\n\n\t\tif (supportsAbortController) {\n\t\t\tthis.abortController = new globals.AbortController();\n\t\t\tif (this._options.signal) {\n\t\t\t\tthis._options.signal.addEventListener('abort', () => {\n\t\t\t\t\tthis.abortController.abort();\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthis._options.signal = this.abortController.signal;\n\t\t}\n\n\t\tthis.request = new globals.Request(this._input, this._options);\n\n\t\tif (this._options.searchParams) {\n\t\t\tconst searchParams = '?' + new URLSearchParams(this._options.searchParams).toString();\n\t\t\tconst url = this.request.url.replace(/(?:\\?.*?)?(?=#|$)/, searchParams);\n\n\t\t\t// To provide correct form boundary, Content-Type header should be deleted each time when new Request instantiated from another one\n\t\t\tif (((supportsFormData && this._options.body instanceof globals.FormData) || this._options.body instanceof URLSearchParams) && !(this._options.headers && this._options.headers['content-type'])) {\n\t\t\t\tthis.request.headers.delete('content-type');\n\t\t\t}\n\n\t\t\tthis.request = new globals.Request(new globals.Request(url, this.request), this._options);\n\t\t}\n\n\t\tif (this._options.json !== undefined) {\n\t\t\tthis._options.body = JSON.stringify(this._options.json);\n\t\t\tthis.request.headers.set('content-type', 'application/json');\n\t\t\tthis.request = new globals.Request(this.request, {body: this._options.body});\n\t\t}\n\n\t\tconst fn = async () => {\n\t\t\tif (this._options.timeout > maxSafeTimeout) {\n\t\t\t\tthrow new RangeError(`The \\`timeout\\` option cannot be greater than ${maxSafeTimeout}`);\n\t\t\t}\n\n\t\t\tawait delay(1);\n\t\t\tlet response = await this._fetch();\n\n\t\t\tfor (const hook of this._options.hooks.afterResponse) {\n\t\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\t\tconst modifiedResponse = await hook(\n\t\t\t\t\tthis.request,\n\t\t\t\t\tthis._options,\n\t\t\t\t\tresponse.clone()\n\t\t\t\t);\n\n\t\t\t\tif (modifiedResponse instanceof globals.Response) {\n\t\t\t\t\tresponse = modifiedResponse;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!response.ok && this._options.throwHttpErrors) {\n\t\t\t\tthrow new HTTPError(response);\n\t\t\t}\n\n\t\t\t// If `onDownloadProgress` is passed, it uses the stream API internally\n\t\t\t/* istanbul ignore next */\n\t\t\tif (this._options.onDownloadProgress) {\n\t\t\t\tif (typeof this._options.onDownloadProgress !== 'function') {\n\t\t\t\t\tthrow new TypeError('The `onDownloadProgress` option must be a function');\n\t\t\t\t}\n\n\t\t\t\tif (!supportsStreams) {\n\t\t\t\t\tthrow new Error('Streams are not supported in your environment. `ReadableStream` is missing.');\n\t\t\t\t}\n\n\t\t\t\treturn this._stream(response.clone(), this._options.onDownloadProgress);\n\t\t\t}\n\n\t\t\tif (this._options.parseJson) {\n\t\t\t\tresponse.json = async () => {\n\t\t\t\t\treturn this._options.parseJson(await response.text());\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn response;\n\t\t};\n\n\t\tconst isRetriableMethod = this._options.retry.methods.includes(this.request.method.toLowerCase());\n\t\tconst result = isRetriableMethod ? this._retry(fn) : fn();\n\n\t\tfor (const [type, mimeType] of Object.entries(responseTypes)) {\n\t\t\tresult[type] = async () => {\n\t\t\t\tthis.request.headers.set('accept', this.request.headers.get('accept') || mimeType);\n\n\t\t\t\tconst response = (await result).clone();\n\n\t\t\t\tif (type === 'json') {\n\t\t\t\t\tif (response.status === 204) {\n\t\t\t\t\t\treturn '';\n\t\t\t\t\t}\n\n\t\t\t\t\tif (options.parseJson) {\n\t\t\t\t\t\treturn options.parseJson(await response.text());\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn response[type]();\n\t\t\t};\n\t\t}\n\n\t\treturn result;\n\t}\n\n\t_calculateRetryDelay(error) {\n\t\tthis._retryCount++;\n\n\t\tif (this._retryCount < this._options.retry.limit && !(error instanceof TimeoutError)) {\n\t\t\tif (error instanceof HTTPError) {\n\t\t\t\tif (!this._options.retry.statusCodes.includes(error.response.status)) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\tconst retryAfter = error.response.headers.get('Retry-After');\n\t\t\t\tif (retryAfter && this._options.retry.afterStatusCodes.includes(error.response.status)) {\n\t\t\t\t\tlet after = Number(retryAfter);\n\t\t\t\t\tif (Number.isNaN(after)) {\n\t\t\t\t\t\tafter = Date.parse(retryAfter) - Date.now();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tafter *= 1000;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (typeof this._options.retry.maxRetryAfter !== 'undefined' && after > this._options.retry.maxRetryAfter) {\n\t\t\t\t\t\treturn 0;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn after;\n\t\t\t\t}\n\n\t\t\t\tif (error.response.status === 413) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst BACKOFF_FACTOR = 0.3;\n\t\t\treturn BACKOFF_FACTOR * (2 ** (this._retryCount - 1)) * 1000;\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\tasync _retry(fn) {\n\t\ttry {\n\t\t\treturn await fn();\n\t\t} catch (error) {\n\t\t\tconst ms = Math.min(this._calculateRetryDelay(error), maxSafeTimeout);\n\t\t\tif (ms !== 0 && this._retryCount > 0) {\n\t\t\t\tawait delay(ms);\n\n\t\t\t\tfor (const hook of this._options.hooks.beforeRetry) {\n\t\t\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\t\t\tconst hookResult = await hook({\n\t\t\t\t\t\trequest: this.request,\n\t\t\t\t\t\toptions: this._options,\n\t\t\t\t\t\terror,\n\t\t\t\t\t\tresponse: error.response.clone(),\n\t\t\t\t\t\tretryCount: this._retryCount\n\t\t\t\t\t});\n\n\t\t\t\t\t// If `stop` is returned from the hook, the retry process is stopped\n\t\t\t\t\tif (hookResult === stop) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn this._retry(fn);\n\t\t\t}\n\n\t\t\tif (this._options.throwHttpErrors) {\n\t\t\t\tthrow error;\n\t\t\t}\n\t\t}\n\t}\n\n\tasync _fetch() {\n\t\tfor (const hook of this._options.hooks.beforeRequest) {\n\t\t\t// eslint-disable-next-line no-await-in-loop\n\t\t\tconst result = await hook(this.request, this._options);\n\n\t\t\tif (result instanceof Request) {\n\t\t\t\tthis.request = result;\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (result instanceof Response) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\n\t\tif (this._options.timeout === false) {\n\t\t\treturn this._options.fetch(this.request.clone());\n\t\t}\n\n\t\treturn timeout(this.request.clone(), this.abortController, this._options);\n\t}\n\n\t/* istanbul ignore next */\n\t_stream(response, onDownloadProgress) {\n\t\tconst totalBytes = Number(response.headers.get('content-length')) || 0;\n\t\tlet transferredBytes = 0;\n\n\t\treturn new globals.Response(\n\t\t\tnew globals.ReadableStream({\n\t\t\t\tstart(controller) {\n\t\t\t\t\tconst reader = response.body.getReader();\n\n\t\t\t\t\tif (onDownloadProgress) {\n\t\t\t\t\t\tonDownloadProgress({percent: 0, transferredBytes: 0, totalBytes}, new Uint8Array());\n\t\t\t\t\t}\n\n\t\t\t\t\tasync function read() {\n\t\t\t\t\t\tconst {done, value} = await reader.read();\n\t\t\t\t\t\tif (done) {\n\t\t\t\t\t\t\tcontroller.close();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (onDownloadProgress) {\n\t\t\t\t\t\t\ttransferredBytes += value.byteLength;\n\t\t\t\t\t\t\tconst percent = totalBytes === 0 ? 0 : transferredBytes / totalBytes;\n\t\t\t\t\t\t\tonDownloadProgress({percent, transferredBytes, totalBytes}, value);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontroller.enqueue(value);\n\t\t\t\t\t\tread();\n\t\t\t\t\t}\n\n\t\t\t\t\tread();\n\t\t\t\t}\n\t\t\t})\n\t\t);\n\t}\n}\n\nconst validateAndMerge = (...sources) => {\n\tfor (const source of sources) {\n\t\tif ((!isObject(source) || Array.isArray(source)) && typeof source !== 'undefined') {\n\t\t\tthrow new TypeError('The `options` argument must be an object');\n\t\t}\n\t}\n\n\treturn deepMerge({}, ...sources);\n};\n\nconst createInstance = defaults => {\n\tconst ky = (input, options) => new Ky(input, validateAndMerge(defaults, options));\n\n\tfor (const method of requestMethods) {\n\t\tky[method] = (input, options) => new Ky(input, validateAndMerge(defaults, options, {method}));\n\t}\n\n\tky.HTTPError = HTTPError;\n\tky.TimeoutError = TimeoutError;\n\tky.create = newDefaults => createInstance(validateAndMerge(newDefaults));\n\tky.extend = newDefaults => createInstance(validateAndMerge(defaults, newDefaults));\n\tky.stop = stop;\n\n\treturn ky;\n};\n\nexport default createInstance();\n","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ titleMessage }}

{{ actionState.unauthorizedMessage }}

EC-{{ actionState.missingPermission }}: {{ transErrorCode(actionState.missingPermission) }}

{{ actionState.message }}

{{ progressMessage }}

{{ trans('errors.process_long_process') }}

{{ actionState.abandonMessage }}

{{ errorMessage }}

{{ this.actionState.clientErrorMessage }}

{{ this.actionState.repeatedFailureMessage }}

{{ trans('errors.loading_error_log') }}

{{ trans('errors.no_error_details') }}

{{ trans('errors.submit_error_report_request') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ displayText }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('display.header_comments') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.header_author') }} {{ trans('display.header_comment') }}
{{ trans('display.header_author') }}
{{ trans('display.header_comment') }}

{{ trans('display.thread_single_response') }} {{ comments.threads[0].name | meerkatTruncate(75) }}

0\\\" v-on:action-reply=\\\"beforeReply\\\">
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ comment.localDateFormatted }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.thread_multiple_response') }} {{ comment.getThreadName() | meerkatTruncate(25) }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \" \";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ trans('display.author_in_reply_to') }}:
{{ author.name | meerkatTruncate(15) }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"
{{ manager.orders[column] }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('filters.no_data') }}

0\\\">{{ trans('filters.no_data_filter') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('display.header_configure') }}

{{ trans('config.server_changes_warning_title') }}

{{ trans('config.server_changes_warning_message') }} {{ trans('config.server_changes_warning_reload_prompt') }}

{{ trans('config.managed_notice') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.preferences_desc') }}

{{ trans('config.avatar_desc') }}

{{ trans('config.per_page_desc') }}

{{ trans('config.publishing_desc') }}

{{ trans('config.publish_auto_desc') }}

{{ trans('config.only_accept_comments_from_authenticated_users_desc') }}

{{ trans('config.publish_user_auto_desc') }}

{{ trans('config.close_threads_desc') }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.spam_general_desc') }}

{{ trans('config.auto_check_spam_desc') }}

{{ trans('config.auto_delete_spam_desc') }}

{{ trans('config.check_all_spam_guards_desc') }}

{{ trans('config.unpublish_on_guard_failures_desc') }}

{{ trans('config.submit_moderator_results_desc') }}

{{ trans('config.spam_guards_desc') }}

{{ trans('config.table_spam_guard') }} {{ trans('config.table_enabled') }}
{{ guard.name }}

{{ trans('config.akismet_desc') }}

{{ trans('config.akismet_api_key_desc') }}

{{ trans('config.akismet_front_page_desc') }}

{{ state.currentMessage }}

\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.ip_filter_desc') }}

{{ trans('config.ip_filter_blocked_desc') }} 0\\\">{{ trans('config.ip_filter_managed_notice') }} {{ trans('config.ip_filter_view_defaults') }}

{{ trans('config.ip_filter_default_title') }}

{{ trans('config.ip_filter_default_desc') }}

  • {{ address }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.permissions_desc') }}

{{ trans('config.table_user_group') }} {{ trans('config.table_all') }} {{ trans('config.table_view_comments') }} {{ trans('config.table_approve') }} {{ trans('config.table_unapprove') }} {{ trans('config.table_edit') }} {{ trans('config.table_reply') }} {{ trans('config.table_report_ham') }} {{ trans('config.table_report_spam') }} {{ trans('config.table_delete') }}
{{ perm.name }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.word_filter_desc') }}

{{ trans('config.word_filter_banned_desc') }} 0\\\">{{ trans('config.word_filter_managed_notice') }} {{ trans('config.word_filter_view_defaults') }}

{{ trans('config.word_filter_default_title') }}

{{ trans('config.word_filter_default_desc') }}

  • {{ word }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.privacy_desc') }}

{{ trans('config.privacy_table_data') }} {{ trans('config.privacy_table_enabled') }}
{{ trans('config.privacy_store_user_agent_desc') }}
{{ trans('config.privacy_store_user_ip_desc') }}
{{ trans('config.privacy_store_referrer_desc') }}
\";\n// Exports\nmodule.exports = code;","// Module\nvar code = \"

{{ trans('config.email_general_desc') }}

{{ trans('config.email_send_mail_desc') }}

{{ trans('config.email_check_spam_guard_desc') }}

{{ trans('config.email_addresses_desc') }} 0\\\">{{ trans('config.email_addresses_notice') }} {{ trans('config.email_addresses_view_defaults') }}

{{ trans('config.email_addresses_default_title') }}

{{ trans('config.email_addresses_default_desc') }}

  • {{ address }}
\";\n// Exports\nmodule.exports = code;","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\n\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';\n else if (hint !== 'number') throw $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/well-known-symbol-define');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n } return setSymbolDescriptor(O, key, Attributes);\n } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\n\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function (value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n return wrap(tag, description);\n };\n\n SymbolPrototype = $Symbol[PROTOTYPE];\n\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n defineBuiltInAccessor(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n useSetter: function () { USE_SETTER = true; },\n useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n 'for': function (key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});\n","var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/symbol-registry-detection');\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});\n","var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar getReplacerFunction = require('../internals/get-json-replacer-function');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({ a: symbol }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = getReplacerFunction(replacer);\n if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n args[1] = function (key, value) {\n // some old implementations (like WebKit) could pass numbers as keys\n if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n if (!isSymbol(value)) return value;\n };\n return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n } return match;\n};\n\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar toString = require('../internals/to-string');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n if (isCallable(replacer)) return replacer;\n if (!isArray(replacer)) return;\n var rawLength = replacer.length;\n var keys = [];\n for (var i = 0; i < rawLength; i++) {\n var element = replacer[i];\n if (typeof element == 'string') push(keys, element);\n else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString(element));\n }\n var keysLength = keys.length;\n var root = true;\n return function (key, value) {\n if (root) {\n root = false;\n return value;\n }\n if (isArray(this)) return value;\n for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n };\n};\n","var $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\nmodule.exports = function (object, key, method) {\n try {\n // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n } catch (error) { /* empty */ }\n};\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","'use strict';\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n","var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar Queue = require('../internals/queue');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar microtask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n var queue = new Queue();\n\n var flush = function () {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (fn = queue.get()) try {\n fn();\n } catch (error) {\n if (queue.head) notify();\n throw error;\n }\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, { characterData: true });\n notify = function () {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function () {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function () {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // `webpack` dev server bug on IE global methods - use bind(fn, global)\n macrotask = bind(macrotask, global);\n notify = function () {\n macrotask(flush);\n };\n }\n\n microtask = function (fn) {\n if (!queue.head) notify();\n queue.add(fn);\n };\n}\n\nmodule.exports = microtask;\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n","module.exports = function (a, b) {\n try {\n // eslint-disable-next-line no-console -- safe\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n } catch (error) { /* empty */ }\n};\n","var IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\n\nmodule.exports = !IS_DENO && !IS_NODE\n && typeof window == 'object'\n && typeof document == 'object';\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n 'catch': function (onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\n\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]()\n || non[METHOD_NAME]() !== non\n || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n });\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var util = require('./util')\nvar slice = util.slice\nvar pluck = util.pluck\nvar each = util.each\nvar bind = util.bind\nvar create = util.create\nvar isList = util.isList\nvar isFunction = util.isFunction\nvar isObject = util.isObject\n\nmodule.exports = {\n\tcreateStore: createStore\n}\n\nvar storeAPI = {\n\tversion: '2.0.12',\n\tenabled: false,\n\t\n\t// get returns the value of the given key. If that value\n\t// is undefined, it returns optionalDefaultValue instead.\n\tget: function(key, optionalDefaultValue) {\n\t\tvar data = this.storage.read(this._namespacePrefix + key)\n\t\treturn this._deserialize(data, optionalDefaultValue)\n\t},\n\n\t// set will store the given value at key and returns value.\n\t// Calling set with value === undefined is equivalent to calling remove.\n\tset: function(key, value) {\n\t\tif (value === undefined) {\n\t\t\treturn this.remove(key)\n\t\t}\n\t\tthis.storage.write(this._namespacePrefix + key, this._serialize(value))\n\t\treturn value\n\t},\n\n\t// remove deletes the key and value stored at the given key.\n\tremove: function(key) {\n\t\tthis.storage.remove(this._namespacePrefix + key)\n\t},\n\n\t// each will call the given callback once for each key-value pair\n\t// in this store.\n\teach: function(callback) {\n\t\tvar self = this\n\t\tthis.storage.each(function(val, namespacedKey) {\n\t\t\tcallback.call(self, self._deserialize(val), (namespacedKey || '').replace(self._namespaceRegexp, ''))\n\t\t})\n\t},\n\n\t// clearAll will remove all the stored key-value pairs in this store.\n\tclearAll: function() {\n\t\tthis.storage.clearAll()\n\t},\n\n\t// additional functionality that can't live in plugins\n\t// ---------------------------------------------------\n\n\t// hasNamespace returns true if this store instance has the given namespace.\n\thasNamespace: function(namespace) {\n\t\treturn (this._namespacePrefix == '__storejs_'+namespace+'_')\n\t},\n\n\t// createStore creates a store.js instance with the first\n\t// functioning storage in the list of storage candidates,\n\t// and applies the the given mixins to the instance.\n\tcreateStore: function() {\n\t\treturn createStore.apply(this, arguments)\n\t},\n\t\n\taddPlugin: function(plugin) {\n\t\tthis._addPlugin(plugin)\n\t},\n\t\n\tnamespace: function(namespace) {\n\t\treturn createStore(this.storage, this.plugins, namespace)\n\t}\n}\n\nfunction _warn() {\n\tvar _console = (typeof console == 'undefined' ? null : console)\n\tif (!_console) { return }\n\tvar fn = (_console.warn ? _console.warn : _console.log)\n\tfn.apply(_console, arguments)\n}\n\nfunction createStore(storages, plugins, namespace) {\n\tif (!namespace) {\n\t\tnamespace = ''\n\t}\n\tif (storages && !isList(storages)) {\n\t\tstorages = [storages]\n\t}\n\tif (plugins && !isList(plugins)) {\n\t\tplugins = [plugins]\n\t}\n\n\tvar namespacePrefix = (namespace ? '__storejs_'+namespace+'_' : '')\n\tvar namespaceRegexp = (namespace ? new RegExp('^'+namespacePrefix) : null)\n\tvar legalNamespaces = /^[a-zA-Z0-9_\\-]*$/ // alpha-numeric + underscore and dash\n\tif (!legalNamespaces.test(namespace)) {\n\t\tthrow new Error('store.js namespaces can only have alphanumerics + underscores and dashes')\n\t}\n\t\n\tvar _privateStoreProps = {\n\t\t_namespacePrefix: namespacePrefix,\n\t\t_namespaceRegexp: namespaceRegexp,\n\n\t\t_testStorage: function(storage) {\n\t\t\ttry {\n\t\t\t\tvar testStr = '__storejs__test__'\n\t\t\t\tstorage.write(testStr, testStr)\n\t\t\t\tvar ok = (storage.read(testStr) === testStr)\n\t\t\t\tstorage.remove(testStr)\n\t\t\t\treturn ok\n\t\t\t} catch(e) {\n\t\t\t\treturn false\n\t\t\t}\n\t\t},\n\n\t\t_assignPluginFnProp: function(pluginFnProp, propName) {\n\t\t\tvar oldFn = this[propName]\n\t\t\tthis[propName] = function pluginFn() {\n\t\t\t\tvar args = slice(arguments, 0)\n\t\t\t\tvar self = this\n\n\t\t\t\t// super_fn calls the old function which was overwritten by\n\t\t\t\t// this mixin.\n\t\t\t\tfunction super_fn() {\n\t\t\t\t\tif (!oldFn) { return }\n\t\t\t\t\teach(arguments, function(arg, i) {\n\t\t\t\t\t\targs[i] = arg\n\t\t\t\t\t})\n\t\t\t\t\treturn oldFn.apply(self, args)\n\t\t\t\t}\n\n\t\t\t\t// Give mixing function access to super_fn by prefixing all mixin function\n\t\t\t\t// arguments with super_fn.\n\t\t\t\tvar newFnArgs = [super_fn].concat(args)\n\n\t\t\t\treturn pluginFnProp.apply(self, newFnArgs)\n\t\t\t}\n\t\t},\n\n\t\t_serialize: function(obj) {\n\t\t\treturn JSON.stringify(obj)\n\t\t},\n\n\t\t_deserialize: function(strVal, defaultVal) {\n\t\t\tif (!strVal) { return defaultVal }\n\t\t\t// It is possible that a raw string value has been previously stored\n\t\t\t// in a storage without using store.js, meaning it will be a raw\n\t\t\t// string value instead of a JSON serialized string. By defaulting\n\t\t\t// to the raw string value in case of a JSON parse error, we allow\n\t\t\t// for past stored values to be forwards-compatible with store.js\n\t\t\tvar val = ''\n\t\t\ttry { val = JSON.parse(strVal) }\n\t\t\tcatch(e) { val = strVal }\n\n\t\t\treturn (val !== undefined ? val : defaultVal)\n\t\t},\n\t\t\n\t\t_addStorage: function(storage) {\n\t\t\tif (this.enabled) { return }\n\t\t\tif (this._testStorage(storage)) {\n\t\t\t\tthis.storage = storage\n\t\t\t\tthis.enabled = true\n\t\t\t}\n\t\t},\n\n\t\t_addPlugin: function(plugin) {\n\t\t\tvar self = this\n\n\t\t\t// If the plugin is an array, then add all plugins in the array.\n\t\t\t// This allows for a plugin to depend on other plugins.\n\t\t\tif (isList(plugin)) {\n\t\t\t\teach(plugin, function(plugin) {\n\t\t\t\t\tself._addPlugin(plugin)\n\t\t\t\t})\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\t// Keep track of all plugins we've seen so far, so that we\n\t\t\t// don't add any of them twice.\n\t\t\tvar seenPlugin = pluck(this.plugins, function(seenPlugin) {\n\t\t\t\treturn (plugin === seenPlugin)\n\t\t\t})\n\t\t\tif (seenPlugin) {\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.plugins.push(plugin)\n\n\t\t\t// Check that the plugin is properly formed\n\t\t\tif (!isFunction(plugin)) {\n\t\t\t\tthrow new Error('Plugins must be function values that return objects')\n\t\t\t}\n\n\t\t\tvar pluginProperties = plugin.call(this)\n\t\t\tif (!isObject(pluginProperties)) {\n\t\t\t\tthrow new Error('Plugins must return an object of function properties')\n\t\t\t}\n\n\t\t\t// Add the plugin function properties to this store instance.\n\t\t\teach(pluginProperties, function(pluginFnProp, propName) {\n\t\t\t\tif (!isFunction(pluginFnProp)) {\n\t\t\t\t\tthrow new Error('Bad plugin property: '+propName+' from plugin '+plugin.name+'. Plugins should only return functions.')\n\t\t\t\t}\n\t\t\t\tself._assignPluginFnProp(pluginFnProp, propName)\n\t\t\t})\n\t\t},\n\t\t\n\t\t// Put deprecated properties in the private API, so as to not expose it to accidential\n\t\t// discovery through inspection of the store object.\n\t\t\n\t\t// Deprecated: addStorage\n\t\taddStorage: function(storage) {\n\t\t\t_warn('store.addStorage(storage) is deprecated. Use createStore([storages])')\n\t\t\tthis._addStorage(storage)\n\t\t}\n\t}\n\n\tvar store = create(_privateStoreProps, storeAPI, {\n\t\tplugins: []\n\t})\n\tstore.raw = {}\n\teach(store, function(prop, propName) {\n\t\tif (isFunction(prop)) {\n\t\t\tstore.raw[propName] = bind(store, prop)\t\t\t\n\t\t}\n\t})\n\teach(storages, function(storage) {\n\t\tstore._addStorage(storage)\n\t})\n\teach(plugins, function(plugin) {\n\t\tstore._addPlugin(plugin)\n\t})\n\treturn store\n}\n","module.exports = [\n\t// Listed in order of usage preference\n\trequire('./localStorage'),\n\trequire('./oldFF-globalStorage'),\n\trequire('./oldIE-userDataStorage'),\n\trequire('./cookieStorage'),\n\trequire('./sessionStorage'),\n\trequire('./memoryStorage')\n]\n","var util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'localStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nfunction localStorage() {\n\treturn Global.localStorage\n}\n\nfunction read(key) {\n\treturn localStorage().getItem(key)\n}\n\nfunction write(key, data) {\n\treturn localStorage().setItem(key, data)\n}\n\nfunction each(fn) {\n\tfor (var i = localStorage().length - 1; i >= 0; i--) {\n\t\tvar key = localStorage().key(i)\n\t\tfn(read(key), key)\n\t}\n}\n\nfunction remove(key) {\n\treturn localStorage().removeItem(key)\n}\n\nfunction clearAll() {\n\treturn localStorage().clear()\n}\n","// oldFF-globalStorage provides storage for Firefox\n// versions 6 and 7, where no localStorage, etc\n// is available.\n\nvar util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'oldFF-globalStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar globalStorage = Global.globalStorage\n\nfunction read(key) {\n\treturn globalStorage[key]\n}\n\nfunction write(key, data) {\n\tglobalStorage[key] = data\n}\n\nfunction each(fn) {\n\tfor (var i = globalStorage.length - 1; i >= 0; i--) {\n\t\tvar key = globalStorage.key(i)\n\t\tfn(globalStorage[key], key)\n\t}\n}\n\nfunction remove(key) {\n\treturn globalStorage.removeItem(key)\n}\n\nfunction clearAll() {\n\teach(function(key, _) {\n\t\tdelete globalStorage[key]\n\t})\n}\n","// oldIE-userDataStorage provides storage for Internet Explorer\n// versions 6 and 7, where no localStorage, sessionStorage, etc\n// is available.\n\nvar util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'oldIE-userDataStorage',\n\twrite: write,\n\tread: read,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar storageName = 'storejs'\nvar doc = Global.document\nvar _withStorageEl = _makeIEStorageElFunction()\nvar disable = (Global.navigator ? Global.navigator.userAgent : '').match(/ (MSIE 8|MSIE 9|MSIE 10)\\./) // MSIE 9.x, MSIE 10.x\n\nfunction write(unfixedKey, data) {\n\tif (disable) { return }\n\tvar fixedKey = fixKey(unfixedKey)\n\t_withStorageEl(function(storageEl) {\n\t\tstorageEl.setAttribute(fixedKey, data)\n\t\tstorageEl.save(storageName)\n\t})\n}\n\nfunction read(unfixedKey) {\n\tif (disable) { return }\n\tvar fixedKey = fixKey(unfixedKey)\n\tvar res = null\n\t_withStorageEl(function(storageEl) {\n\t\tres = storageEl.getAttribute(fixedKey)\n\t})\n\treturn res\n}\n\nfunction each(callback) {\n\t_withStorageEl(function(storageEl) {\n\t\tvar attributes = storageEl.XMLDocument.documentElement.attributes\n\t\tfor (var i=attributes.length-1; i>=0; i--) {\n\t\t\tvar attr = attributes[i]\n\t\t\tcallback(storageEl.getAttribute(attr.name), attr.name)\n\t\t}\n\t})\n}\n\nfunction remove(unfixedKey) {\n\tvar fixedKey = fixKey(unfixedKey)\n\t_withStorageEl(function(storageEl) {\n\t\tstorageEl.removeAttribute(fixedKey)\n\t\tstorageEl.save(storageName)\n\t})\n}\n\nfunction clearAll() {\n\t_withStorageEl(function(storageEl) {\n\t\tvar attributes = storageEl.XMLDocument.documentElement.attributes\n\t\tstorageEl.load(storageName)\n\t\tfor (var i=attributes.length-1; i>=0; i--) {\n\t\t\tstorageEl.removeAttribute(attributes[i].name)\n\t\t}\n\t\tstorageEl.save(storageName)\n\t})\n}\n\n// Helpers\n//////////\n\n// In IE7, keys cannot start with a digit or contain certain chars.\n// See https://github.com/marcuswestin/store.js/issues/40\n// See https://github.com/marcuswestin/store.js/issues/83\nvar forbiddenCharsRegex = new RegExp(\"[!\\\"#$%&'()*+,/\\\\\\\\:;<=>?@[\\\\]^`{|}~]\", \"g\")\nfunction fixKey(key) {\n\treturn key.replace(/^\\d/, '___$&').replace(forbiddenCharsRegex, '___')\n}\n\nfunction _makeIEStorageElFunction() {\n\tif (!doc || !doc.documentElement || !doc.documentElement.addBehavior) {\n\t\treturn null\n\t}\n\tvar scriptTag = 'script',\n\t\tstorageOwner,\n\t\tstorageContainer,\n\t\tstorageEl\n\n\t// Since #userData storage applies only to specific paths, we need to\n\t// somehow link our data to a specific path. We choose /favicon.ico\n\t// as a pretty safe option, since all browsers already make a request to\n\t// this URL anyway and being a 404 will not hurt us here. We wrap an\n\t// iframe pointing to the favicon in an ActiveXObject(htmlfile) object\n\t// (see: http://msdn.microsoft.com/en-us/library/aa752574(v=VS.85).aspx)\n\t// since the iframe access rules appear to allow direct access and\n\t// manipulation of the document element, even for a 404 page. This\n\t// document can be used instead of the current document (which would\n\t// have been limited to the current path) to perform #userData storage.\n\ttry {\n\t\t/* global ActiveXObject */\n\t\tstorageContainer = new ActiveXObject('htmlfile')\n\t\tstorageContainer.open()\n\t\tstorageContainer.write('<'+scriptTag+'>document.w=window')\n\t\tstorageContainer.close()\n\t\tstorageOwner = storageContainer.w.frames[0].document\n\t\tstorageEl = storageOwner.createElement('div')\n\t} catch(e) {\n\t\t// somehow ActiveXObject instantiation failed (perhaps some special\n\t\t// security settings or otherwse), fall back to per-path storage\n\t\tstorageEl = doc.createElement('div')\n\t\tstorageOwner = doc.body\n\t}\n\n\treturn function(storeFunction) {\n\t\tvar args = [].slice.call(arguments, 0)\n\t\targs.unshift(storageEl)\n\t\t// See http://msdn.microsoft.com/en-us/library/ms531081(v=VS.85).aspx\n\t\t// and http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).aspx\n\t\tstorageOwner.appendChild(storageEl)\n\t\tstorageEl.addBehavior('#default#userData')\n\t\tstorageEl.load(storageName)\n\t\tstoreFunction.apply(this, args)\n\t\tstorageOwner.removeChild(storageEl)\n\t\treturn\n\t}\n}\n","// cookieStorage is useful Safari private browser mode, where localStorage\n// doesn't work but cookies do. This implementation is adopted from\n// https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage\n\nvar util = require('../src/util')\nvar Global = util.Global\nvar trim = util.trim\n\nmodule.exports = {\n\tname: 'cookieStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar doc = Global.document\n\nfunction read(key) {\n\tif (!key || !_has(key)) { return null }\n\tvar regexpStr = \"(?:^|.*;\\\\s*)\" +\n\t\tescape(key).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") +\n\t\t\"\\\\s*\\\\=\\\\s*((?:[^;](?!;))*[^;]?).*\"\n\treturn unescape(doc.cookie.replace(new RegExp(regexpStr), \"$1\"))\n}\n\nfunction each(callback) {\n\tvar cookies = doc.cookie.split(/; ?/g)\n\tfor (var i = cookies.length - 1; i >= 0; i--) {\n\t\tif (!trim(cookies[i])) {\n\t\t\tcontinue\n\t\t}\n\t\tvar kvp = cookies[i].split('=')\n\t\tvar key = unescape(kvp[0])\n\t\tvar val = unescape(kvp[1])\n\t\tcallback(val, key)\n\t}\n}\n\nfunction write(key, data) {\n\tif(!key) { return }\n\tdoc.cookie = escape(key) + \"=\" + escape(data) + \"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/\"\n}\n\nfunction remove(key) {\n\tif (!key || !_has(key)) {\n\t\treturn\n\t}\n\tdoc.cookie = escape(key) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/\"\n}\n\nfunction clearAll() {\n\teach(function(_, key) {\n\t\tremove(key)\n\t})\n}\n\nfunction _has(key) {\n\treturn (new RegExp(\"(?:^|;\\\\s*)\" + escape(key).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(doc.cookie)\n}\n","var util = require('../src/util')\nvar Global = util.Global\n\nmodule.exports = {\n\tname: 'sessionStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll\n}\n\nfunction sessionStorage() {\n\treturn Global.sessionStorage\n}\n\nfunction read(key) {\n\treturn sessionStorage().getItem(key)\n}\n\nfunction write(key, data) {\n\treturn sessionStorage().setItem(key, data)\n}\n\nfunction each(fn) {\n\tfor (var i = sessionStorage().length - 1; i >= 0; i--) {\n\t\tvar key = sessionStorage().key(i)\n\t\tfn(read(key), key)\n\t}\n}\n\nfunction remove(key) {\n\treturn sessionStorage().removeItem(key)\n}\n\nfunction clearAll() {\n\treturn sessionStorage().clear()\n}\n","// memoryStorage is a useful last fallback to ensure that the store\n// is functions (meaning store.get(), store.set(), etc will all function).\n// However, stored values will not persist when the browser navigates to\n// a new page or reloads the current page.\n\nmodule.exports = {\n\tname: 'memoryStorage',\n\tread: read,\n\twrite: write,\n\teach: each,\n\tremove: remove,\n\tclearAll: clearAll,\n}\n\nvar memoryStorage = {}\n\nfunction read(key) {\n\treturn memoryStorage[key]\n}\n\nfunction write(key, data) {\n\tmemoryStorage[key] = data\n}\n\nfunction each(callback) {\n\tfor (var key in memoryStorage) {\n\t\tif (memoryStorage.hasOwnProperty(key)) {\n\t\t\tcallback(memoryStorage[key], key)\n\t\t}\n\t}\n}\n\nfunction remove(key) {\n\tdelete memoryStorage[key]\n}\n\nfunction clearAll(key) {\n\tmemoryStorage = {}\n}\n","module.exports = json2Plugin\n\nfunction json2Plugin() {\n\trequire('./lib/json2')\n\treturn {}\n}\n","/* eslint-disable */\n\n// json2.js\n// 2016-10-28\n// Public Domain.\n// NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n// See http://www.JSON.org/js.html\n// This code should be minified before deployment.\n// See http://javascript.crockford.com/jsmin.html\n\n// USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n// NOT CONTROL.\n\n// This file creates a global JSON object containing two methods: stringify\n// and parse. This file provides the ES5 JSON capability to ES3 systems.\n// If a project might run on IE8 or earlier, then this file should be included.\n// This file does nothing on ES5 systems.\n\n// JSON.stringify(value, replacer, space)\n// value any JavaScript value, usually an object or array.\n// replacer an optional parameter that determines how object\n// values are stringified for objects. It can be a\n// function or an array of strings.\n// space an optional parameter that specifies the indentation\n// of nested structures. If it is omitted, the text will\n// be packed without extra whitespace. If it is a number,\n// it will specify the number of spaces to indent at each\n// level. If it is a string (such as \"\\t\" or \" \"),\n// it contains the characters used to indent at each level.\n// This method produces a JSON text from a JavaScript value.\n// When an object value is found, if the object contains a toJSON\n// method, its toJSON method will be called and the result will be\n// stringified. A toJSON method does not serialize: it returns the\n// value represented by the name/value pair that should be serialized,\n// or undefined if nothing should be serialized. The toJSON method\n// will be passed the key associated with the value, and this will be\n// bound to the value.\n\n// For example, this would serialize Dates as ISO strings.\n\n// Date.prototype.toJSON = function (key) {\n// function f(n) {\n// // Format integers to have at least two digits.\n// return (n < 10)\n// ? \"0\" + n\n// : n;\n// }\n// return this.getUTCFullYear() + \"-\" +\n// f(this.getUTCMonth() + 1) + \"-\" +\n// f(this.getUTCDate()) + \"T\" +\n// f(this.getUTCHours()) + \":\" +\n// f(this.getUTCMinutes()) + \":\" +\n// f(this.getUTCSeconds()) + \"Z\";\n// };\n\n// You can provide an optional replacer method. It will be passed the\n// key and value of each member, with this bound to the containing\n// object. The value that is returned from your method will be\n// serialized. If your method returns undefined, then the member will\n// be excluded from the serialization.\n\n// If the replacer parameter is an array of strings, then it will be\n// used to select the members to be serialized. It filters the results\n// such that only members with keys listed in the replacer array are\n// stringified.\n\n// Values that do not have JSON representations, such as undefined or\n// functions, will not be serialized. Such values in objects will be\n// dropped; in arrays they will be replaced with null. You can use\n// a replacer function to replace those with JSON values.\n\n// JSON.stringify(undefined) returns undefined.\n\n// The optional space parameter produces a stringification of the\n// value that is filled with line breaks and indentation to make it\n// easier to read.\n\n// If the space parameter is a non-empty string, then that string will\n// be used for indentation. If the space parameter is a number, then\n// the indentation will be that many spaces.\n\n// Example:\n\n// text = JSON.stringify([\"e\", {pluribus: \"unum\"}]);\n// // text is '[\"e\",{\"pluribus\":\"unum\"}]'\n\n// text = JSON.stringify([\"e\", {pluribus: \"unum\"}], null, \"\\t\");\n// // text is '[\\n\\t\"e\",\\n\\t{\\n\\t\\t\"pluribus\": \"unum\"\\n\\t}\\n]'\n\n// text = JSON.stringify([new Date()], function (key, value) {\n// return this[key] instanceof Date\n// ? \"Date(\" + this[key] + \")\"\n// : value;\n// });\n// // text is '[\"Date(---current time---)\"]'\n\n// JSON.parse(text, reviver)\n// This method parses a JSON text to produce an object or array.\n// It can throw a SyntaxError exception.\n\n// The optional reviver parameter is a function that can filter and\n// transform the results. It receives each of the keys and values,\n// and its return value is used instead of the original value.\n// If it returns what it received, then the structure is not modified.\n// If it returns undefined then the member is deleted.\n\n// Example:\n\n// // Parse the text. Values that look like ISO date strings will\n// // be converted to Date objects.\n\n// myData = JSON.parse(text, function (key, value) {\n// var a;\n// if (typeof value === \"string\") {\n// a =\n// /^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n// if (a) {\n// return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n// +a[5], +a[6]));\n// }\n// }\n// return value;\n// });\n\n// myData = JSON.parse('[\"Date(09/09/2001)\"]', function (key, value) {\n// var d;\n// if (typeof value === \"string\" &&\n// value.slice(0, 5) === \"Date(\" &&\n// value.slice(-1) === \")\") {\n// d = new Date(value.slice(5, -1));\n// if (d) {\n// return d;\n// }\n// }\n// return value;\n// });\n\n// This is a reference implementation. You are free to copy, modify, or\n// redistribute.\n\n/*jslint\n eval, for, this\n*/\n\n/*property\n JSON, apply, call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,\n getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,\n lastIndex, length, parse, prototype, push, replace, slice, stringify,\n test, toJSON, toString, valueOf\n*/\n\n\n// Create a JSON object only if one does not already exist. We create the\n// methods in a closure to avoid creating global variables.\n\nif (typeof JSON !== \"object\") {\n JSON = {};\n}\n\n(function () {\n \"use strict\";\n\n var rx_one = /^[\\],:{}\\s]*$/;\n var rx_two = /\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g;\n var rx_three = /\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g;\n var rx_four = /(?:^|:|,)(?:\\s*\\[)+/g;\n var rx_escapable = /[\\\\\"\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g;\n var rx_dangerous = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g;\n\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10\n ? \"0\" + n\n : n;\n }\n\n function this_value() {\n return this.valueOf();\n }\n\n if (typeof Date.prototype.toJSON !== \"function\") {\n\n Date.prototype.toJSON = function () {\n\n return isFinite(this.valueOf())\n ? this.getUTCFullYear() + \"-\" +\n f(this.getUTCMonth() + 1) + \"-\" +\n f(this.getUTCDate()) + \"T\" +\n f(this.getUTCHours()) + \":\" +\n f(this.getUTCMinutes()) + \":\" +\n f(this.getUTCSeconds()) + \"Z\"\n : null;\n };\n\n Boolean.prototype.toJSON = this_value;\n Number.prototype.toJSON = this_value;\n String.prototype.toJSON = this_value;\n }\n\n var gap;\n var indent;\n var meta;\n var rep;\n\n\n function quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n rx_escapable.lastIndex = 0;\n return rx_escapable.test(string)\n ? \"\\\"\" + string.replace(rx_escapable, function (a) {\n var c = meta[a];\n return typeof c === \"string\"\n ? c\n : \"\\\\u\" + (\"0000\" + a.charCodeAt(0).toString(16)).slice(-4);\n }) + \"\\\"\"\n : \"\\\"\" + string + \"\\\"\";\n }\n\n\n function str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i; // The loop counter.\n var k; // The member key.\n var v; // The member value.\n var length;\n var mind = gap;\n var partial;\n var value = holder[key];\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === \"object\" &&\n typeof value.toJSON === \"function\") {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === \"function\") {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case \"string\":\n return quote(value);\n\n case \"number\":\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value)\n ? String(value)\n : \"null\";\n\n case \"boolean\":\n case \"null\":\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce \"null\". The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is \"object\", we might be dealing with an object or an array or\n// null.\n\n case \"object\":\n\n// Due to a specification blunder in ECMAScript, typeof null is \"object\",\n// so watch out for that case.\n\n if (!value) {\n return \"null\";\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === \"[object Array]\") {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || \"null\";\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? \"[]\"\n : gap\n ? \"[\\n\" + gap + partial.join(\",\\n\" + gap) + \"\\n\" + mind + \"]\"\n : \"[\" + partial.join(\",\") + \"]\";\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === \"object\") {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === \"string\") {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (\n gap\n ? \": \"\n : \":\"\n ) + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (\n gap\n ? \": \"\n : \":\"\n ) + v);\n }\n }\n }\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? \"{}\"\n : gap\n ? \"{\\n\" + gap + partial.join(\",\\n\" + gap) + \"\\n\" + mind + \"}\"\n : \"{\" + partial.join(\",\") + \"}\";\n gap = mind;\n return v;\n }\n }\n\n// If the JSON object does not yet have a stringify method, give it one.\n\n if (typeof JSON.stringify !== \"function\") {\n meta = { // table of character substitutions\n \"\\b\": \"\\\\b\",\n \"\\t\": \"\\\\t\",\n \"\\n\": \"\\\\n\",\n \"\\f\": \"\\\\f\",\n \"\\r\": \"\\\\r\",\n \"\\\"\": \"\\\\\\\"\",\n \"\\\\\": \"\\\\\\\\\"\n };\n JSON.stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = \"\";\n indent = \"\";\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === \"number\") {\n for (i = 0; i < space; i += 1) {\n indent += \" \";\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === \"string\") {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== \"function\" &&\n (typeof replacer !== \"object\" ||\n typeof replacer.length !== \"number\")) {\n throw new Error(\"JSON.stringify\");\n }\n\n// Make a fake root object containing our value under the key of \"\".\n// Return the result of stringifying the value.\n\n return str(\"\", {\"\": value});\n };\n }\n\n\n// If the JSON object does not yet have a parse method, give it one.\n\n if (typeof JSON.parse !== \"function\") {\n JSON.parse = function (text, reviver) {\n\n// The parse method takes a text and an optional reviver function, and returns\n// a JavaScript value if the text is a valid JSON text.\n\n var j;\n\n function walk(holder, key) {\n\n// The walk method is used to recursively walk the resulting structure so\n// that modifications can be made.\n\n var k;\n var v;\n var value = holder[key];\n if (value && typeof value === \"object\") {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }\n\n\n// Parsing happens in four stages. In the first stage, we replace certain\n// Unicode characters with escape sequences. JavaScript handles many characters\n// incorrectly, either silently deleting them, or treating them as line endings.\n\n text = String(text);\n rx_dangerous.lastIndex = 0;\n if (rx_dangerous.test(text)) {\n text = text.replace(rx_dangerous, function (a) {\n return \"\\\\u\" +\n (\"0000\" + a.charCodeAt(0).toString(16)).slice(-4);\n });\n }\n\n// In the second stage, we run the text against regular expressions that look\n// for non-JSON patterns. We are especially concerned with \"()\" and \"new\"\n// because they can cause invocation, and \"=\" because it can cause mutation.\n// But just to be safe, we want to reject all unexpected forms.\n\n// We split the second stage into 4 regexp operations in order to work around\n// crippling inefficiencies in IE's and Safari's regexp engines. First we\n// replace the JSON backslash pairs with \"@\" (a non-JSON character). Second, we\n// replace all simple value tokens with \"]\" characters. Third, we delete all\n// open brackets that follow a colon or comma or that begin the text. Finally,\n// we look to see that the remaining characters are only whitespace or \"]\" or\n// \",\" or \":\" or \"{\" or \"}\". If that is so, then the text is safe for eval.\n\n if (\n rx_one.test(\n text\n .replace(rx_two, \"@\")\n .replace(rx_three, \"]\")\n .replace(rx_four, \"\")\n )\n ) {\n\n// In the third stage we use the eval function to compile the text into a\n// JavaScript structure. The \"{\" operator is subject to a syntactic ambiguity\n// in JavaScript: it can begin a block or an object literal. We wrap the text\n// in parens to eliminate the ambiguity.\n\n j = eval(\"(\" + text + \")\");\n\n// In the optional fourth stage, we recursively walk the new structure, passing\n// each name/value pair to a reviver function for possible transformation.\n\n return (typeof reviver === \"function\")\n ? walk({\"\": j}, \"\")\n : j;\n }\n\n// If the text is not JSON parseable, then a SyntaxError is thrown.\n\n throw new SyntaxError(\"JSON.parse\");\n };\n }\n}());","var hasOwn = require('../internals/has-own-property');\n\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};\n","var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nfunction _construct(Parent, args, Class) {\n if (_isNativeReflectConstruct()) {\n _construct = Reflect.construct;\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) _setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n\n return _construct.apply(null, arguments);\n}\n\nfunction _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !_isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return _construct(Class, arguments, _getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return _setPrototypeOf(Wrapper, Class);\n };\n\n return _wrapNativeSuper(Class);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(n);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n}\n\nfunction _createForOfIteratorHelperLoose(o) {\n var i = 0;\n\n if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n i = o[Symbol.iterator]();\n return i.next.bind(i);\n}\n\n// these aren't really private, but nor are they really useful to document\n\n/**\n * @private\n */\nvar LuxonError = /*#__PURE__*/function (_Error) {\n _inheritsLoose(LuxonError, _Error);\n\n function LuxonError() {\n return _Error.apply(this, arguments) || this;\n }\n\n return LuxonError;\n}( /*#__PURE__*/_wrapNativeSuper(Error));\n/**\n * @private\n */\n\n\nvar InvalidDateTimeError = /*#__PURE__*/function (_LuxonError) {\n _inheritsLoose(InvalidDateTimeError, _LuxonError);\n\n function InvalidDateTimeError(reason) {\n return _LuxonError.call(this, \"Invalid DateTime: \" + reason.toMessage()) || this;\n }\n\n return InvalidDateTimeError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidIntervalError = /*#__PURE__*/function (_LuxonError2) {\n _inheritsLoose(InvalidIntervalError, _LuxonError2);\n\n function InvalidIntervalError(reason) {\n return _LuxonError2.call(this, \"Invalid Interval: \" + reason.toMessage()) || this;\n }\n\n return InvalidIntervalError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidDurationError = /*#__PURE__*/function (_LuxonError3) {\n _inheritsLoose(InvalidDurationError, _LuxonError3);\n\n function InvalidDurationError(reason) {\n return _LuxonError3.call(this, \"Invalid Duration: \" + reason.toMessage()) || this;\n }\n\n return InvalidDurationError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar ConflictingSpecificationError = /*#__PURE__*/function (_LuxonError4) {\n _inheritsLoose(ConflictingSpecificationError, _LuxonError4);\n\n function ConflictingSpecificationError() {\n return _LuxonError4.apply(this, arguments) || this;\n }\n\n return ConflictingSpecificationError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidUnitError = /*#__PURE__*/function (_LuxonError5) {\n _inheritsLoose(InvalidUnitError, _LuxonError5);\n\n function InvalidUnitError(unit) {\n return _LuxonError5.call(this, \"Invalid unit \" + unit) || this;\n }\n\n return InvalidUnitError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar InvalidArgumentError = /*#__PURE__*/function (_LuxonError6) {\n _inheritsLoose(InvalidArgumentError, _LuxonError6);\n\n function InvalidArgumentError() {\n return _LuxonError6.apply(this, arguments) || this;\n }\n\n return InvalidArgumentError;\n}(LuxonError);\n/**\n * @private\n */\n\nvar ZoneIsAbstractError = /*#__PURE__*/function (_LuxonError7) {\n _inheritsLoose(ZoneIsAbstractError, _LuxonError7);\n\n function ZoneIsAbstractError() {\n return _LuxonError7.call(this, \"Zone is an abstract class\") || this;\n }\n\n return ZoneIsAbstractError;\n}(LuxonError);\n\n/**\n * @private\n */\nvar n = \"numeric\",\n s = \"short\",\n l = \"long\";\nvar DATE_SHORT = {\n year: n,\n month: n,\n day: n\n};\nvar DATE_MED = {\n year: n,\n month: s,\n day: n\n};\nvar DATE_MED_WITH_WEEKDAY = {\n year: n,\n month: s,\n day: n,\n weekday: s\n};\nvar DATE_FULL = {\n year: n,\n month: l,\n day: n\n};\nvar DATE_HUGE = {\n year: n,\n month: l,\n day: n,\n weekday: l\n};\nvar TIME_SIMPLE = {\n hour: n,\n minute: n\n};\nvar TIME_WITH_SECONDS = {\n hour: n,\n minute: n,\n second: n\n};\nvar TIME_WITH_SHORT_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n timeZoneName: s\n};\nvar TIME_WITH_LONG_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n timeZoneName: l\n};\nvar TIME_24_SIMPLE = {\n hour: n,\n minute: n,\n hour12: false\n};\n/**\n * {@link toLocaleString}; format like '09:30:23', always 24-hour.\n */\n\nvar TIME_24_WITH_SECONDS = {\n hour: n,\n minute: n,\n second: n,\n hour12: false\n};\n/**\n * {@link toLocaleString}; format like '09:30:23 EDT', always 24-hour.\n */\n\nvar TIME_24_WITH_SHORT_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n hour12: false,\n timeZoneName: s\n};\n/**\n * {@link toLocaleString}; format like '09:30:23 Eastern Daylight Time', always 24-hour.\n */\n\nvar TIME_24_WITH_LONG_OFFSET = {\n hour: n,\n minute: n,\n second: n,\n hour12: false,\n timeZoneName: l\n};\n/**\n * {@link toLocaleString}; format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.\n */\n\nvar DATETIME_SHORT = {\n year: n,\n month: n,\n day: n,\n hour: n,\n minute: n\n};\n/**\n * {@link toLocaleString}; format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.\n */\n\nvar DATETIME_SHORT_WITH_SECONDS = {\n year: n,\n month: n,\n day: n,\n hour: n,\n minute: n,\n second: n\n};\nvar DATETIME_MED = {\n year: n,\n month: s,\n day: n,\n hour: n,\n minute: n\n};\nvar DATETIME_MED_WITH_SECONDS = {\n year: n,\n month: s,\n day: n,\n hour: n,\n minute: n,\n second: n\n};\nvar DATETIME_MED_WITH_WEEKDAY = {\n year: n,\n month: s,\n day: n,\n weekday: s,\n hour: n,\n minute: n\n};\nvar DATETIME_FULL = {\n year: n,\n month: l,\n day: n,\n hour: n,\n minute: n,\n timeZoneName: s\n};\nvar DATETIME_FULL_WITH_SECONDS = {\n year: n,\n month: l,\n day: n,\n hour: n,\n minute: n,\n second: n,\n timeZoneName: s\n};\nvar DATETIME_HUGE = {\n year: n,\n month: l,\n day: n,\n weekday: l,\n hour: n,\n minute: n,\n timeZoneName: l\n};\nvar DATETIME_HUGE_WITH_SECONDS = {\n year: n,\n month: l,\n day: n,\n weekday: l,\n hour: n,\n minute: n,\n second: n,\n timeZoneName: l\n};\n\n/*\n This is just a junk drawer, containing anything used across multiple classes.\n Because Luxon is small(ish), this should stay small and we won't worry about splitting\n it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area.\n*/\n/**\n * @private\n */\n// TYPES\n\nfunction isUndefined(o) {\n return typeof o === \"undefined\";\n}\nfunction isNumber(o) {\n return typeof o === \"number\";\n}\nfunction isInteger(o) {\n return typeof o === \"number\" && o % 1 === 0;\n}\nfunction isString(o) {\n return typeof o === \"string\";\n}\nfunction isDate(o) {\n return Object.prototype.toString.call(o) === \"[object Date]\";\n} // CAPABILITIES\n\nfunction hasIntl() {\n try {\n return typeof Intl !== \"undefined\" && Intl.DateTimeFormat;\n } catch (e) {\n return false;\n }\n}\nfunction hasFormatToParts() {\n return !isUndefined(Intl.DateTimeFormat.prototype.formatToParts);\n}\nfunction hasRelative() {\n try {\n return typeof Intl !== \"undefined\" && !!Intl.RelativeTimeFormat;\n } catch (e) {\n return false;\n }\n} // OBJECTS AND ARRAYS\n\nfunction maybeArray(thing) {\n return Array.isArray(thing) ? thing : [thing];\n}\nfunction bestBy(arr, by, compare) {\n if (arr.length === 0) {\n return undefined;\n }\n\n return arr.reduce(function (best, next) {\n var pair = [by(next), next];\n\n if (!best) {\n return pair;\n } else if (compare(best[0], pair[0]) === best[0]) {\n return best;\n } else {\n return pair;\n }\n }, null)[1];\n}\nfunction pick(obj, keys) {\n return keys.reduce(function (a, k) {\n a[k] = obj[k];\n return a;\n }, {});\n}\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n} // NUMBERS AND STRINGS\n\nfunction integerBetween(thing, bottom, top) {\n return isInteger(thing) && thing >= bottom && thing <= top;\n} // x % n but takes the sign of n instead of x\n\nfunction floorMod(x, n) {\n return x - n * Math.floor(x / n);\n}\nfunction padStart(input, n) {\n if (n === void 0) {\n n = 2;\n }\n\n var minus = input < 0 ? \"-\" : \"\";\n var target = minus ? input * -1 : input;\n var result;\n\n if (target.toString().length < n) {\n result = (\"0\".repeat(n) + target).slice(-n);\n } else {\n result = target.toString();\n }\n\n return \"\" + minus + result;\n}\nfunction parseInteger(string) {\n if (isUndefined(string) || string === null || string === \"\") {\n return undefined;\n } else {\n return parseInt(string, 10);\n }\n}\nfunction parseMillis(fraction) {\n // Return undefined (instead of 0) in these cases, where fraction is not set\n if (isUndefined(fraction) || fraction === null || fraction === \"\") {\n return undefined;\n } else {\n var f = parseFloat(\"0.\" + fraction) * 1000;\n return Math.floor(f);\n }\n}\nfunction roundTo(number, digits, towardZero) {\n if (towardZero === void 0) {\n towardZero = false;\n }\n\n var factor = Math.pow(10, digits),\n rounder = towardZero ? Math.trunc : Math.round;\n return rounder(number * factor) / factor;\n} // DATE BASICS\n\nfunction isLeapYear(year) {\n return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n}\nfunction daysInYear(year) {\n return isLeapYear(year) ? 366 : 365;\n}\nfunction daysInMonth(year, month) {\n var modMonth = floorMod(month - 1, 12) + 1,\n modYear = year + (month - modMonth) / 12;\n\n if (modMonth === 2) {\n return isLeapYear(modYear) ? 29 : 28;\n } else {\n return [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][modMonth - 1];\n }\n} // covert a calendar object to a local timestamp (epoch, but with the offset baked in)\n\nfunction objToLocalTS(obj) {\n var d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond); // for legacy reasons, years between 0 and 99 are interpreted as 19XX; revert that\n\n if (obj.year < 100 && obj.year >= 0) {\n d = new Date(d);\n d.setUTCFullYear(d.getUTCFullYear() - 1900);\n }\n\n return +d;\n}\nfunction weeksInWeekYear(weekYear) {\n var p1 = (weekYear + Math.floor(weekYear / 4) - Math.floor(weekYear / 100) + Math.floor(weekYear / 400)) % 7,\n last = weekYear - 1,\n p2 = (last + Math.floor(last / 4) - Math.floor(last / 100) + Math.floor(last / 400)) % 7;\n return p1 === 4 || p2 === 3 ? 53 : 52;\n}\nfunction untruncateYear(year) {\n if (year > 99) {\n return year;\n } else return year > 60 ? 1900 + year : 2000 + year;\n} // PARSING\n\nfunction parseZoneInfo(ts, offsetFormat, locale, timeZone) {\n if (timeZone === void 0) {\n timeZone = null;\n }\n\n var date = new Date(ts),\n intlOpts = {\n hour12: false,\n year: \"numeric\",\n month: \"2-digit\",\n day: \"2-digit\",\n hour: \"2-digit\",\n minute: \"2-digit\"\n };\n\n if (timeZone) {\n intlOpts.timeZone = timeZone;\n }\n\n var modified = Object.assign({\n timeZoneName: offsetFormat\n }, intlOpts),\n intl = hasIntl();\n\n if (intl && hasFormatToParts()) {\n var parsed = new Intl.DateTimeFormat(locale, modified).formatToParts(date).find(function (m) {\n return m.type.toLowerCase() === \"timezonename\";\n });\n return parsed ? parsed.value : null;\n } else if (intl) {\n // this probably doesn't work for all locales\n var without = new Intl.DateTimeFormat(locale, intlOpts).format(date),\n included = new Intl.DateTimeFormat(locale, modified).format(date),\n diffed = included.substring(without.length),\n trimmed = diffed.replace(/^[, \\u200e]+/, \"\");\n return trimmed;\n } else {\n return null;\n }\n} // signedOffset('-5', '30') -> -330\n\nfunction signedOffset(offHourStr, offMinuteStr) {\n var offHour = parseInt(offHourStr, 10); // don't || this because we want to preserve -0\n\n if (Number.isNaN(offHour)) {\n offHour = 0;\n }\n\n var offMin = parseInt(offMinuteStr, 10) || 0,\n offMinSigned = offHour < 0 || Object.is(offHour, -0) ? -offMin : offMin;\n return offHour * 60 + offMinSigned;\n} // COERCION\n\nfunction asNumber(value) {\n var numericValue = Number(value);\n if (typeof value === \"boolean\" || value === \"\" || Number.isNaN(numericValue)) throw new InvalidArgumentError(\"Invalid unit value \" + value);\n return numericValue;\n}\nfunction normalizeObject(obj, normalizer, nonUnitKeys) {\n var normalized = {};\n\n for (var u in obj) {\n if (hasOwnProperty(obj, u)) {\n if (nonUnitKeys.indexOf(u) >= 0) continue;\n var v = obj[u];\n if (v === undefined || v === null) continue;\n normalized[normalizer(u)] = asNumber(v);\n }\n }\n\n return normalized;\n}\nfunction formatOffset(offset, format) {\n var hours = Math.trunc(Math.abs(offset / 60)),\n minutes = Math.trunc(Math.abs(offset % 60)),\n sign = offset >= 0 ? \"+\" : \"-\";\n\n switch (format) {\n case \"short\":\n return \"\" + sign + padStart(hours, 2) + \":\" + padStart(minutes, 2);\n\n case \"narrow\":\n return \"\" + sign + hours + (minutes > 0 ? \":\" + minutes : \"\");\n\n case \"techie\":\n return \"\" + sign + padStart(hours, 2) + padStart(minutes, 2);\n\n default:\n throw new RangeError(\"Value format \" + format + \" is out of range for property format\");\n }\n}\nfunction timeObject(obj) {\n return pick(obj, [\"hour\", \"minute\", \"second\", \"millisecond\"]);\n}\nvar ianaRegex = /[A-Za-z_+-]{1,256}(:?\\/[A-Za-z_+-]{1,256}(\\/[A-Za-z_+-]{1,256})?)?/;\n\nfunction stringify(obj) {\n return JSON.stringify(obj, Object.keys(obj).sort());\n}\n/**\n * @private\n */\n\n\nvar monthsLong = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\nvar monthsShort = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\nvar monthsNarrow = [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"];\nfunction months(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(monthsNarrow);\n\n case \"short\":\n return [].concat(monthsShort);\n\n case \"long\":\n return [].concat(monthsLong);\n\n case \"numeric\":\n return [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\"];\n\n case \"2-digit\":\n return [\"01\", \"02\", \"03\", \"04\", \"05\", \"06\", \"07\", \"08\", \"09\", \"10\", \"11\", \"12\"];\n\n default:\n return null;\n }\n}\nvar weekdaysLong = [\"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\", \"Sunday\"];\nvar weekdaysShort = [\"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\", \"Sun\"];\nvar weekdaysNarrow = [\"M\", \"T\", \"W\", \"T\", \"F\", \"S\", \"S\"];\nfunction weekdays(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(weekdaysNarrow);\n\n case \"short\":\n return [].concat(weekdaysShort);\n\n case \"long\":\n return [].concat(weekdaysLong);\n\n case \"numeric\":\n return [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\"];\n\n default:\n return null;\n }\n}\nvar meridiems = [\"AM\", \"PM\"];\nvar erasLong = [\"Before Christ\", \"Anno Domini\"];\nvar erasShort = [\"BC\", \"AD\"];\nvar erasNarrow = [\"B\", \"A\"];\nfunction eras(length) {\n switch (length) {\n case \"narrow\":\n return [].concat(erasNarrow);\n\n case \"short\":\n return [].concat(erasShort);\n\n case \"long\":\n return [].concat(erasLong);\n\n default:\n return null;\n }\n}\nfunction meridiemForDateTime(dt) {\n return meridiems[dt.hour < 12 ? 0 : 1];\n}\nfunction weekdayForDateTime(dt, length) {\n return weekdays(length)[dt.weekday - 1];\n}\nfunction monthForDateTime(dt, length) {\n return months(length)[dt.month - 1];\n}\nfunction eraForDateTime(dt, length) {\n return eras(length)[dt.year < 0 ? 0 : 1];\n}\nfunction formatRelativeTime(unit, count, numeric, narrow) {\n if (numeric === void 0) {\n numeric = \"always\";\n }\n\n if (narrow === void 0) {\n narrow = false;\n }\n\n var units = {\n years: [\"year\", \"yr.\"],\n quarters: [\"quarter\", \"qtr.\"],\n months: [\"month\", \"mo.\"],\n weeks: [\"week\", \"wk.\"],\n days: [\"day\", \"day\", \"days\"],\n hours: [\"hour\", \"hr.\"],\n minutes: [\"minute\", \"min.\"],\n seconds: [\"second\", \"sec.\"]\n };\n var lastable = [\"hours\", \"minutes\", \"seconds\"].indexOf(unit) === -1;\n\n if (numeric === \"auto\" && lastable) {\n var isDay = unit === \"days\";\n\n switch (count) {\n case 1:\n return isDay ? \"tomorrow\" : \"next \" + units[unit][0];\n\n case -1:\n return isDay ? \"yesterday\" : \"last \" + units[unit][0];\n\n case 0:\n return isDay ? \"today\" : \"this \" + units[unit][0];\n\n }\n }\n\n var isInPast = Object.is(count, -0) || count < 0,\n fmtValue = Math.abs(count),\n singular = fmtValue === 1,\n lilUnits = units[unit],\n fmtUnit = narrow ? singular ? lilUnits[1] : lilUnits[2] || lilUnits[1] : singular ? units[unit][0] : unit;\n return isInPast ? fmtValue + \" \" + fmtUnit + \" ago\" : \"in \" + fmtValue + \" \" + fmtUnit;\n}\nfunction formatString(knownFormat) {\n // these all have the offsets removed because we don't have access to them\n // without all the intl stuff this is backfilling\n var filtered = pick(knownFormat, [\"weekday\", \"era\", \"year\", \"month\", \"day\", \"hour\", \"minute\", \"second\", \"timeZoneName\", \"hour12\"]),\n key = stringify(filtered),\n dateTimeHuge = \"EEEE, LLLL d, yyyy, h:mm a\";\n\n switch (key) {\n case stringify(DATE_SHORT):\n return \"M/d/yyyy\";\n\n case stringify(DATE_MED):\n return \"LLL d, yyyy\";\n\n case stringify(DATE_MED_WITH_WEEKDAY):\n return \"EEE, LLL d, yyyy\";\n\n case stringify(DATE_FULL):\n return \"LLLL d, yyyy\";\n\n case stringify(DATE_HUGE):\n return \"EEEE, LLLL d, yyyy\";\n\n case stringify(TIME_SIMPLE):\n return \"h:mm a\";\n\n case stringify(TIME_WITH_SECONDS):\n return \"h:mm:ss a\";\n\n case stringify(TIME_WITH_SHORT_OFFSET):\n return \"h:mm a\";\n\n case stringify(TIME_WITH_LONG_OFFSET):\n return \"h:mm a\";\n\n case stringify(TIME_24_SIMPLE):\n return \"HH:mm\";\n\n case stringify(TIME_24_WITH_SECONDS):\n return \"HH:mm:ss\";\n\n case stringify(TIME_24_WITH_SHORT_OFFSET):\n return \"HH:mm\";\n\n case stringify(TIME_24_WITH_LONG_OFFSET):\n return \"HH:mm\";\n\n case stringify(DATETIME_SHORT):\n return \"M/d/yyyy, h:mm a\";\n\n case stringify(DATETIME_MED):\n return \"LLL d, yyyy, h:mm a\";\n\n case stringify(DATETIME_FULL):\n return \"LLLL d, yyyy, h:mm a\";\n\n case stringify(DATETIME_HUGE):\n return dateTimeHuge;\n\n case stringify(DATETIME_SHORT_WITH_SECONDS):\n return \"M/d/yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_MED_WITH_SECONDS):\n return \"LLL d, yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_MED_WITH_WEEKDAY):\n return \"EEE, d LLL yyyy, h:mm a\";\n\n case stringify(DATETIME_FULL_WITH_SECONDS):\n return \"LLLL d, yyyy, h:mm:ss a\";\n\n case stringify(DATETIME_HUGE_WITH_SECONDS):\n return \"EEEE, LLLL d, yyyy, h:mm:ss a\";\n\n default:\n return dateTimeHuge;\n }\n}\n\nfunction stringifyTokens(splits, tokenToString) {\n var s = \"\";\n\n for (var _iterator = _createForOfIteratorHelperLoose(splits), _step; !(_step = _iterator()).done;) {\n var token = _step.value;\n\n if (token.literal) {\n s += token.val;\n } else {\n s += tokenToString(token.val);\n }\n }\n\n return s;\n}\n\nvar _macroTokenToFormatOpts = {\n D: DATE_SHORT,\n DD: DATE_MED,\n DDD: DATE_FULL,\n DDDD: DATE_HUGE,\n t: TIME_SIMPLE,\n tt: TIME_WITH_SECONDS,\n ttt: TIME_WITH_SHORT_OFFSET,\n tttt: TIME_WITH_LONG_OFFSET,\n T: TIME_24_SIMPLE,\n TT: TIME_24_WITH_SECONDS,\n TTT: TIME_24_WITH_SHORT_OFFSET,\n TTTT: TIME_24_WITH_LONG_OFFSET,\n f: DATETIME_SHORT,\n ff: DATETIME_MED,\n fff: DATETIME_FULL,\n ffff: DATETIME_HUGE,\n F: DATETIME_SHORT_WITH_SECONDS,\n FF: DATETIME_MED_WITH_SECONDS,\n FFF: DATETIME_FULL_WITH_SECONDS,\n FFFF: DATETIME_HUGE_WITH_SECONDS\n};\n/**\n * @private\n */\n\nvar Formatter = /*#__PURE__*/function () {\n Formatter.create = function create(locale, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return new Formatter(locale, opts);\n };\n\n Formatter.parseFormat = function parseFormat(fmt) {\n var current = null,\n currentFull = \"\",\n bracketed = false;\n var splits = [];\n\n for (var i = 0; i < fmt.length; i++) {\n var c = fmt.charAt(i);\n\n if (c === \"'\") {\n if (currentFull.length > 0) {\n splits.push({\n literal: bracketed,\n val: currentFull\n });\n }\n\n current = null;\n currentFull = \"\";\n bracketed = !bracketed;\n } else if (bracketed) {\n currentFull += c;\n } else if (c === current) {\n currentFull += c;\n } else {\n if (currentFull.length > 0) {\n splits.push({\n literal: false,\n val: currentFull\n });\n }\n\n currentFull = c;\n current = c;\n }\n }\n\n if (currentFull.length > 0) {\n splits.push({\n literal: bracketed,\n val: currentFull\n });\n }\n\n return splits;\n };\n\n Formatter.macroTokenToFormatOpts = function macroTokenToFormatOpts(token) {\n return _macroTokenToFormatOpts[token];\n };\n\n function Formatter(locale, formatOpts) {\n this.opts = formatOpts;\n this.loc = locale;\n this.systemLoc = null;\n }\n\n var _proto = Formatter.prototype;\n\n _proto.formatWithSystemDefault = function formatWithSystemDefault(dt, opts) {\n if (this.systemLoc === null) {\n this.systemLoc = this.loc.redefaultToSystem();\n }\n\n var df = this.systemLoc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.format();\n };\n\n _proto.formatDateTime = function formatDateTime(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.format();\n };\n\n _proto.formatDateTimeParts = function formatDateTimeParts(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.formatToParts();\n };\n\n _proto.resolvedOptions = function resolvedOptions(dt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var df = this.loc.dtFormatter(dt, Object.assign({}, this.opts, opts));\n return df.resolvedOptions();\n };\n\n _proto.num = function num(n, p) {\n if (p === void 0) {\n p = 0;\n }\n\n // we get some perf out of doing this here, annoyingly\n if (this.opts.forceSimple) {\n return padStart(n, p);\n }\n\n var opts = Object.assign({}, this.opts);\n\n if (p > 0) {\n opts.padTo = p;\n }\n\n return this.loc.numberFormatter(opts).format(n);\n };\n\n _proto.formatDateTimeFromString = function formatDateTimeFromString(dt, fmt) {\n var _this = this;\n\n var knownEnglish = this.loc.listingMode() === \"en\",\n useDateTimeFormatter = this.loc.outputCalendar && this.loc.outputCalendar !== \"gregory\" && hasFormatToParts(),\n string = function string(opts, extract) {\n return _this.loc.extract(dt, opts, extract);\n },\n formatOffset = function formatOffset(opts) {\n if (dt.isOffsetFixed && dt.offset === 0 && opts.allowZ) {\n return \"Z\";\n }\n\n return dt.isValid ? dt.zone.formatOffset(dt.ts, opts.format) : \"\";\n },\n meridiem = function meridiem() {\n return knownEnglish ? meridiemForDateTime(dt) : string({\n hour: \"numeric\",\n hour12: true\n }, \"dayperiod\");\n },\n month = function month(length, standalone) {\n return knownEnglish ? monthForDateTime(dt, length) : string(standalone ? {\n month: length\n } : {\n month: length,\n day: \"numeric\"\n }, \"month\");\n },\n weekday = function weekday(length, standalone) {\n return knownEnglish ? weekdayForDateTime(dt, length) : string(standalone ? {\n weekday: length\n } : {\n weekday: length,\n month: \"long\",\n day: \"numeric\"\n }, \"weekday\");\n },\n maybeMacro = function maybeMacro(token) {\n var formatOpts = Formatter.macroTokenToFormatOpts(token);\n\n if (formatOpts) {\n return _this.formatWithSystemDefault(dt, formatOpts);\n } else {\n return token;\n }\n },\n era = function era(length) {\n return knownEnglish ? eraForDateTime(dt, length) : string({\n era: length\n }, \"era\");\n },\n tokenToString = function tokenToString(token) {\n // Where possible: http://cldr.unicode.org/translation/date-time-1/date-time#TOC-Standalone-vs.-Format-Styles\n switch (token) {\n // ms\n case \"S\":\n return _this.num(dt.millisecond);\n\n case \"u\": // falls through\n\n case \"SSS\":\n return _this.num(dt.millisecond, 3);\n // seconds\n\n case \"s\":\n return _this.num(dt.second);\n\n case \"ss\":\n return _this.num(dt.second, 2);\n // minutes\n\n case \"m\":\n return _this.num(dt.minute);\n\n case \"mm\":\n return _this.num(dt.minute, 2);\n // hours\n\n case \"h\":\n return _this.num(dt.hour % 12 === 0 ? 12 : dt.hour % 12);\n\n case \"hh\":\n return _this.num(dt.hour % 12 === 0 ? 12 : dt.hour % 12, 2);\n\n case \"H\":\n return _this.num(dt.hour);\n\n case \"HH\":\n return _this.num(dt.hour, 2);\n // offset\n\n case \"Z\":\n // like +6\n return formatOffset({\n format: \"narrow\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZ\":\n // like +06:00\n return formatOffset({\n format: \"short\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZZ\":\n // like +0600\n return formatOffset({\n format: \"techie\",\n allowZ: _this.opts.allowZ\n });\n\n case \"ZZZZ\":\n // like EST\n return dt.zone.offsetName(dt.ts, {\n format: \"short\",\n locale: _this.loc.locale\n });\n\n case \"ZZZZZ\":\n // like Eastern Standard Time\n return dt.zone.offsetName(dt.ts, {\n format: \"long\",\n locale: _this.loc.locale\n });\n // zone\n\n case \"z\":\n // like America/New_York\n return dt.zoneName;\n // meridiems\n\n case \"a\":\n return meridiem();\n // dates\n\n case \"d\":\n return useDateTimeFormatter ? string({\n day: \"numeric\"\n }, \"day\") : _this.num(dt.day);\n\n case \"dd\":\n return useDateTimeFormatter ? string({\n day: \"2-digit\"\n }, \"day\") : _this.num(dt.day, 2);\n // weekdays - standalone\n\n case \"c\":\n // like 1\n return _this.num(dt.weekday);\n\n case \"ccc\":\n // like 'Tues'\n return weekday(\"short\", true);\n\n case \"cccc\":\n // like 'Tuesday'\n return weekday(\"long\", true);\n\n case \"ccccc\":\n // like 'T'\n return weekday(\"narrow\", true);\n // weekdays - format\n\n case \"E\":\n // like 1\n return _this.num(dt.weekday);\n\n case \"EEE\":\n // like 'Tues'\n return weekday(\"short\", false);\n\n case \"EEEE\":\n // like 'Tuesday'\n return weekday(\"long\", false);\n\n case \"EEEEE\":\n // like 'T'\n return weekday(\"narrow\", false);\n // months - standalone\n\n case \"L\":\n // like 1\n return useDateTimeFormatter ? string({\n month: \"numeric\",\n day: \"numeric\"\n }, \"month\") : _this.num(dt.month);\n\n case \"LL\":\n // like 01, doesn't seem to work\n return useDateTimeFormatter ? string({\n month: \"2-digit\",\n day: \"numeric\"\n }, \"month\") : _this.num(dt.month, 2);\n\n case \"LLL\":\n // like Jan\n return month(\"short\", true);\n\n case \"LLLL\":\n // like January\n return month(\"long\", true);\n\n case \"LLLLL\":\n // like J\n return month(\"narrow\", true);\n // months - format\n\n case \"M\":\n // like 1\n return useDateTimeFormatter ? string({\n month: \"numeric\"\n }, \"month\") : _this.num(dt.month);\n\n case \"MM\":\n // like 01\n return useDateTimeFormatter ? string({\n month: \"2-digit\"\n }, \"month\") : _this.num(dt.month, 2);\n\n case \"MMM\":\n // like Jan\n return month(\"short\", false);\n\n case \"MMMM\":\n // like January\n return month(\"long\", false);\n\n case \"MMMMM\":\n // like J\n return month(\"narrow\", false);\n // years\n\n case \"y\":\n // like 2014\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year);\n\n case \"yy\":\n // like 14\n return useDateTimeFormatter ? string({\n year: \"2-digit\"\n }, \"year\") : _this.num(dt.year.toString().slice(-2), 2);\n\n case \"yyyy\":\n // like 0012\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year, 4);\n\n case \"yyyyyy\":\n // like 000012\n return useDateTimeFormatter ? string({\n year: \"numeric\"\n }, \"year\") : _this.num(dt.year, 6);\n // eras\n\n case \"G\":\n // like AD\n return era(\"short\");\n\n case \"GG\":\n // like Anno Domini\n return era(\"long\");\n\n case \"GGGGG\":\n return era(\"narrow\");\n\n case \"kk\":\n return _this.num(dt.weekYear.toString().slice(-2), 2);\n\n case \"kkkk\":\n return _this.num(dt.weekYear, 4);\n\n case \"W\":\n return _this.num(dt.weekNumber);\n\n case \"WW\":\n return _this.num(dt.weekNumber, 2);\n\n case \"o\":\n return _this.num(dt.ordinal);\n\n case \"ooo\":\n return _this.num(dt.ordinal, 3);\n\n case \"q\":\n // like 1\n return _this.num(dt.quarter);\n\n case \"qq\":\n // like 01\n return _this.num(dt.quarter, 2);\n\n case \"X\":\n return _this.num(Math.floor(dt.ts / 1000));\n\n case \"x\":\n return _this.num(dt.ts);\n\n default:\n return maybeMacro(token);\n }\n };\n\n return stringifyTokens(Formatter.parseFormat(fmt), tokenToString);\n };\n\n _proto.formatDurationFromString = function formatDurationFromString(dur, fmt) {\n var _this2 = this;\n\n var tokenToField = function tokenToField(token) {\n switch (token[0]) {\n case \"S\":\n return \"millisecond\";\n\n case \"s\":\n return \"second\";\n\n case \"m\":\n return \"minute\";\n\n case \"h\":\n return \"hour\";\n\n case \"d\":\n return \"day\";\n\n case \"M\":\n return \"month\";\n\n case \"y\":\n return \"year\";\n\n default:\n return null;\n }\n },\n tokenToString = function tokenToString(lildur) {\n return function (token) {\n var mapped = tokenToField(token);\n\n if (mapped) {\n return _this2.num(lildur.get(mapped), token.length);\n } else {\n return token;\n }\n };\n },\n tokens = Formatter.parseFormat(fmt),\n realTokens = tokens.reduce(function (found, _ref) {\n var literal = _ref.literal,\n val = _ref.val;\n return literal ? found : found.concat(val);\n }, []),\n collapsed = dur.shiftTo.apply(dur, realTokens.map(tokenToField).filter(function (t) {\n return t;\n }));\n\n return stringifyTokens(tokens, tokenToString(collapsed));\n };\n\n return Formatter;\n}();\n\nvar Invalid = /*#__PURE__*/function () {\n function Invalid(reason, explanation) {\n this.reason = reason;\n this.explanation = explanation;\n }\n\n var _proto = Invalid.prototype;\n\n _proto.toMessage = function toMessage() {\n if (this.explanation) {\n return this.reason + \": \" + this.explanation;\n } else {\n return this.reason;\n }\n };\n\n return Invalid;\n}();\n\n/**\n * @interface\n */\n\nvar Zone = /*#__PURE__*/function () {\n function Zone() {}\n\n var _proto = Zone.prototype;\n\n /**\n * Returns the offset's common name (such as EST) at the specified timestamp\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to get the name\n * @param {Object} opts - Options to affect the format\n * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.\n * @param {string} opts.locale - What locale to return the offset name in.\n * @return {string}\n */\n _proto.offsetName = function offsetName(ts, opts) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Returns the offset's value as a string\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to get the offset\n * @param {string} format - What style of offset to return.\n * Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively\n * @return {string}\n */\n ;\n\n _proto.formatOffset = function formatOffset(ts, format) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return the offset in minutes for this zone at the specified timestamp.\n * @abstract\n * @param {number} ts - Epoch milliseconds for which to compute the offset\n * @return {number}\n */\n ;\n\n _proto.offset = function offset(ts) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return whether this Zone is equal to another zone\n * @abstract\n * @param {Zone} otherZone - the zone to compare\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(otherZone) {\n throw new ZoneIsAbstractError();\n }\n /**\n * Return whether this Zone is valid.\n * @abstract\n * @type {boolean}\n */\n ;\n\n _createClass(Zone, [{\n key: \"type\",\n\n /**\n * The type of zone\n * @abstract\n * @type {string}\n */\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n /**\n * The name of this zone.\n * @abstract\n * @type {string}\n */\n\n }, {\n key: \"name\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n /**\n * Returns whether the offset is known to be fixed for the whole year.\n * @abstract\n * @type {boolean}\n */\n\n }, {\n key: \"universal\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n }, {\n key: \"isValid\",\n get: function get() {\n throw new ZoneIsAbstractError();\n }\n }]);\n\n return Zone;\n}();\n\nvar singleton = null;\n/**\n * Represents the local zone for this JavaScript environment.\n * @implements {Zone}\n */\n\nvar LocalZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(LocalZone, _Zone);\n\n function LocalZone() {\n return _Zone.apply(this, arguments) || this;\n }\n\n var _proto = LocalZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName(ts, _ref) {\n var format = _ref.format,\n locale = _ref.locale;\n return parseZoneInfo(ts, format, locale);\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.offset(ts), format);\n }\n /** @override **/\n ;\n\n _proto.offset = function offset(ts) {\n return -new Date(ts).getTimezoneOffset();\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"local\";\n }\n /** @override **/\n ;\n\n _createClass(LocalZone, [{\n key: \"type\",\n\n /** @override **/\n get: function get() {\n return \"local\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n if (hasIntl()) {\n return new Intl.DateTimeFormat().resolvedOptions().timeZone;\n } else return \"local\";\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return true;\n }\n }], [{\n key: \"instance\",\n\n /**\n * Get a singleton instance of the local zone\n * @return {LocalZone}\n */\n get: function get() {\n if (singleton === null) {\n singleton = new LocalZone();\n }\n\n return singleton;\n }\n }]);\n\n return LocalZone;\n}(Zone);\n\nvar matchingRegex = RegExp(\"^\" + ianaRegex.source + \"$\");\nvar dtfCache = {};\n\nfunction makeDTF(zone) {\n if (!dtfCache[zone]) {\n dtfCache[zone] = new Intl.DateTimeFormat(\"en-US\", {\n hour12: false,\n timeZone: zone,\n year: \"numeric\",\n month: \"2-digit\",\n day: \"2-digit\",\n hour: \"2-digit\",\n minute: \"2-digit\",\n second: \"2-digit\"\n });\n }\n\n return dtfCache[zone];\n}\n\nvar typeToPos = {\n year: 0,\n month: 1,\n day: 2,\n hour: 3,\n minute: 4,\n second: 5\n};\n\nfunction hackyOffset(dtf, date) {\n var formatted = dtf.format(date).replace(/\\u200E/g, \"\"),\n parsed = /(\\d+)\\/(\\d+)\\/(\\d+),? (\\d+):(\\d+):(\\d+)/.exec(formatted),\n fMonth = parsed[1],\n fDay = parsed[2],\n fYear = parsed[3],\n fHour = parsed[4],\n fMinute = parsed[5],\n fSecond = parsed[6];\n return [fYear, fMonth, fDay, fHour, fMinute, fSecond];\n}\n\nfunction partsOffset(dtf, date) {\n var formatted = dtf.formatToParts(date),\n filled = [];\n\n for (var i = 0; i < formatted.length; i++) {\n var _formatted$i = formatted[i],\n type = _formatted$i.type,\n value = _formatted$i.value,\n pos = typeToPos[type];\n\n if (!isUndefined(pos)) {\n filled[pos] = parseInt(value, 10);\n }\n }\n\n return filled;\n}\n\nvar ianaZoneCache = {};\n/**\n * A zone identified by an IANA identifier, like America/New_York\n * @implements {Zone}\n */\n\nvar IANAZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(IANAZone, _Zone);\n\n /**\n * @param {string} name - Zone name\n * @return {IANAZone}\n */\n IANAZone.create = function create(name) {\n if (!ianaZoneCache[name]) {\n ianaZoneCache[name] = new IANAZone(name);\n }\n\n return ianaZoneCache[name];\n }\n /**\n * Reset local caches. Should only be necessary in testing scenarios.\n * @return {void}\n */\n ;\n\n IANAZone.resetCache = function resetCache() {\n ianaZoneCache = {};\n dtfCache = {};\n }\n /**\n * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.\n * @param {string} s - The string to check validity on\n * @example IANAZone.isValidSpecifier(\"America/New_York\") //=> true\n * @example IANAZone.isValidSpecifier(\"Fantasia/Castle\") //=> true\n * @example IANAZone.isValidSpecifier(\"Sport~~blorp\") //=> false\n * @return {boolean}\n */\n ;\n\n IANAZone.isValidSpecifier = function isValidSpecifier(s) {\n return !!(s && s.match(matchingRegex));\n }\n /**\n * Returns whether the provided string identifies a real zone\n * @param {string} zone - The string to check\n * @example IANAZone.isValidZone(\"America/New_York\") //=> true\n * @example IANAZone.isValidZone(\"Fantasia/Castle\") //=> false\n * @example IANAZone.isValidZone(\"Sport~~blorp\") //=> false\n * @return {boolean}\n */\n ;\n\n IANAZone.isValidZone = function isValidZone(zone) {\n try {\n new Intl.DateTimeFormat(\"en-US\", {\n timeZone: zone\n }).format();\n return true;\n } catch (e) {\n return false;\n }\n } // Etc/GMT+8 -> -480\n\n /** @ignore */\n ;\n\n IANAZone.parseGMTOffset = function parseGMTOffset(specifier) {\n if (specifier) {\n var match = specifier.match(/^Etc\\/GMT(0|[+-]\\d{1,2})$/i);\n\n if (match) {\n return -60 * parseInt(match[1]);\n }\n }\n\n return null;\n };\n\n function IANAZone(name) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private **/\n\n _this.zoneName = name;\n /** @private **/\n\n _this.valid = IANAZone.isValidZone(name);\n return _this;\n }\n /** @override **/\n\n\n var _proto = IANAZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName(ts, _ref) {\n var format = _ref.format,\n locale = _ref.locale;\n return parseZoneInfo(ts, format, locale, this.name);\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.offset(ts), format);\n }\n /** @override **/\n ;\n\n _proto.offset = function offset(ts) {\n var date = new Date(ts);\n if (isNaN(date)) return NaN;\n\n var dtf = makeDTF(this.name),\n _ref2 = dtf.formatToParts ? partsOffset(dtf, date) : hackyOffset(dtf, date),\n year = _ref2[0],\n month = _ref2[1],\n day = _ref2[2],\n hour = _ref2[3],\n minute = _ref2[4],\n second = _ref2[5],\n adjustedHour = hour === 24 ? 0 : hour;\n\n var asUTC = objToLocalTS({\n year: year,\n month: month,\n day: day,\n hour: adjustedHour,\n minute: minute,\n second: second,\n millisecond: 0\n });\n var asTS = +date;\n var over = asTS % 1000;\n asTS -= over >= 0 ? over : 1000 + over;\n return (asUTC - asTS) / (60 * 1000);\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"iana\" && otherZone.name === this.name;\n }\n /** @override **/\n ;\n\n _createClass(IANAZone, [{\n key: \"type\",\n get: function get() {\n return \"iana\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.zoneName;\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return this.valid;\n }\n }]);\n\n return IANAZone;\n}(Zone);\n\nvar singleton$1 = null;\n/**\n * A zone with a fixed offset (meaning no DST)\n * @implements {Zone}\n */\n\nvar FixedOffsetZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(FixedOffsetZone, _Zone);\n\n /**\n * Get an instance with a specified offset\n * @param {number} offset - The offset in minutes\n * @return {FixedOffsetZone}\n */\n FixedOffsetZone.instance = function instance(offset) {\n return offset === 0 ? FixedOffsetZone.utcInstance : new FixedOffsetZone(offset);\n }\n /**\n * Get an instance of FixedOffsetZone from a UTC offset string, like \"UTC+6\"\n * @param {string} s - The offset string to parse\n * @example FixedOffsetZone.parseSpecifier(\"UTC+6\")\n * @example FixedOffsetZone.parseSpecifier(\"UTC+06\")\n * @example FixedOffsetZone.parseSpecifier(\"UTC-6:00\")\n * @return {FixedOffsetZone}\n */\n ;\n\n FixedOffsetZone.parseSpecifier = function parseSpecifier(s) {\n if (s) {\n var r = s.match(/^utc(?:([+-]\\d{1,2})(?::(\\d{2}))?)?$/i);\n\n if (r) {\n return new FixedOffsetZone(signedOffset(r[1], r[2]));\n }\n }\n\n return null;\n };\n\n _createClass(FixedOffsetZone, null, [{\n key: \"utcInstance\",\n\n /**\n * Get a singleton instance of UTC\n * @return {FixedOffsetZone}\n */\n get: function get() {\n if (singleton$1 === null) {\n singleton$1 = new FixedOffsetZone(0);\n }\n\n return singleton$1;\n }\n }]);\n\n function FixedOffsetZone(offset) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private **/\n\n _this.fixed = offset;\n return _this;\n }\n /** @override **/\n\n\n var _proto = FixedOffsetZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName() {\n return this.name;\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset$1(ts, format) {\n return formatOffset(this.fixed, format);\n }\n /** @override **/\n ;\n\n /** @override **/\n _proto.offset = function offset() {\n return this.fixed;\n }\n /** @override **/\n ;\n\n _proto.equals = function equals(otherZone) {\n return otherZone.type === \"fixed\" && otherZone.fixed === this.fixed;\n }\n /** @override **/\n ;\n\n _createClass(FixedOffsetZone, [{\n key: \"type\",\n get: function get() {\n return \"fixed\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.fixed === 0 ? \"UTC\" : \"UTC\" + formatOffset(this.fixed, \"narrow\");\n }\n }, {\n key: \"universal\",\n get: function get() {\n return true;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return true;\n }\n }]);\n\n return FixedOffsetZone;\n}(Zone);\n\n/**\n * A zone that failed to parse. You should never need to instantiate this.\n * @implements {Zone}\n */\n\nvar InvalidZone = /*#__PURE__*/function (_Zone) {\n _inheritsLoose(InvalidZone, _Zone);\n\n function InvalidZone(zoneName) {\n var _this;\n\n _this = _Zone.call(this) || this;\n /** @private */\n\n _this.zoneName = zoneName;\n return _this;\n }\n /** @override **/\n\n\n var _proto = InvalidZone.prototype;\n\n /** @override **/\n _proto.offsetName = function offsetName() {\n return null;\n }\n /** @override **/\n ;\n\n _proto.formatOffset = function formatOffset() {\n return \"\";\n }\n /** @override **/\n ;\n\n _proto.offset = function offset() {\n return NaN;\n }\n /** @override **/\n ;\n\n _proto.equals = function equals() {\n return false;\n }\n /** @override **/\n ;\n\n _createClass(InvalidZone, [{\n key: \"type\",\n get: function get() {\n return \"invalid\";\n }\n /** @override **/\n\n }, {\n key: \"name\",\n get: function get() {\n return this.zoneName;\n }\n /** @override **/\n\n }, {\n key: \"universal\",\n get: function get() {\n return false;\n }\n }, {\n key: \"isValid\",\n get: function get() {\n return false;\n }\n }]);\n\n return InvalidZone;\n}(Zone);\n\n/**\n * @private\n */\nfunction normalizeZone(input, defaultZone) {\n var offset;\n\n if (isUndefined(input) || input === null) {\n return defaultZone;\n } else if (input instanceof Zone) {\n return input;\n } else if (isString(input)) {\n var lowered = input.toLowerCase();\n if (lowered === \"local\") return defaultZone;else if (lowered === \"utc\" || lowered === \"gmt\") return FixedOffsetZone.utcInstance;else if ((offset = IANAZone.parseGMTOffset(input)) != null) {\n // handle Etc/GMT-4, which V8 chokes on\n return FixedOffsetZone.instance(offset);\n } else if (IANAZone.isValidSpecifier(lowered)) return IANAZone.create(input);else return FixedOffsetZone.parseSpecifier(lowered) || new InvalidZone(input);\n } else if (isNumber(input)) {\n return FixedOffsetZone.instance(input);\n } else if (typeof input === \"object\" && input.offset && typeof input.offset === \"number\") {\n // This is dumb, but the instanceof check above doesn't seem to really work\n // so we're duck checking it\n return input;\n } else {\n return new InvalidZone(input);\n }\n}\n\nvar now = function now() {\n return Date.now();\n},\n defaultZone = null,\n // not setting this directly to LocalZone.instance bc loading order issues\ndefaultLocale = null,\n defaultNumberingSystem = null,\n defaultOutputCalendar = null,\n throwOnInvalid = false;\n/**\n * Settings contains static getters and setters that control Luxon's overall behavior. Luxon is a simple library with few options, but the ones it does have live here.\n */\n\n\nvar Settings = /*#__PURE__*/function () {\n function Settings() {}\n\n /**\n * Reset Luxon's global caches. Should only be necessary in testing scenarios.\n * @return {void}\n */\n Settings.resetCaches = function resetCaches() {\n Locale.resetCache();\n IANAZone.resetCache();\n };\n\n _createClass(Settings, null, [{\n key: \"now\",\n\n /**\n * Get the callback for returning the current timestamp.\n * @type {function}\n */\n get: function get() {\n return now;\n }\n /**\n * Set the callback for returning the current timestamp.\n * The function should return a number, which will be interpreted as an Epoch millisecond count\n * @type {function}\n * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future\n * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time\n */\n ,\n set: function set(n) {\n now = n;\n }\n /**\n * Get the default time zone to create DateTimes in.\n * @type {string}\n */\n\n }, {\n key: \"defaultZoneName\",\n get: function get() {\n return Settings.defaultZone.name;\n }\n /**\n * Set the default time zone to create DateTimes in. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(z) {\n if (!z) {\n defaultZone = null;\n } else {\n defaultZone = normalizeZone(z);\n }\n }\n /**\n * Get the default time zone object to create DateTimes in. Does not affect existing instances.\n * @type {Zone}\n */\n\n }, {\n key: \"defaultZone\",\n get: function get() {\n return defaultZone || LocalZone.instance;\n }\n /**\n * Get the default locale to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultLocale\",\n get: function get() {\n return defaultLocale;\n }\n /**\n * Set the default locale to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(locale) {\n defaultLocale = locale;\n }\n /**\n * Get the default numbering system to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultNumberingSystem\",\n get: function get() {\n return defaultNumberingSystem;\n }\n /**\n * Set the default numbering system to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(numberingSystem) {\n defaultNumberingSystem = numberingSystem;\n }\n /**\n * Get the default output calendar to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n\n }, {\n key: \"defaultOutputCalendar\",\n get: function get() {\n return defaultOutputCalendar;\n }\n /**\n * Set the default output calendar to create DateTimes with. Does not affect existing instances.\n * @type {string}\n */\n ,\n set: function set(outputCalendar) {\n defaultOutputCalendar = outputCalendar;\n }\n /**\n * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals\n * @type {boolean}\n */\n\n }, {\n key: \"throwOnInvalid\",\n get: function get() {\n return throwOnInvalid;\n }\n /**\n * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals\n * @type {boolean}\n */\n ,\n set: function set(t) {\n throwOnInvalid = t;\n }\n }]);\n\n return Settings;\n}();\n\nvar intlDTCache = {};\n\nfunction getCachedDTF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var key = JSON.stringify([locString, opts]);\n var dtf = intlDTCache[key];\n\n if (!dtf) {\n dtf = new Intl.DateTimeFormat(locString, opts);\n intlDTCache[key] = dtf;\n }\n\n return dtf;\n}\n\nvar intlNumCache = {};\n\nfunction getCachedINF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var key = JSON.stringify([locString, opts]);\n var inf = intlNumCache[key];\n\n if (!inf) {\n inf = new Intl.NumberFormat(locString, opts);\n intlNumCache[key] = inf;\n }\n\n return inf;\n}\n\nvar intlRelCache = {};\n\nfunction getCachedRTF(locString, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _opts = opts,\n base = _opts.base,\n cacheKeyOpts = _objectWithoutPropertiesLoose(_opts, [\"base\"]); // exclude `base` from the options\n\n\n var key = JSON.stringify([locString, cacheKeyOpts]);\n var inf = intlRelCache[key];\n\n if (!inf) {\n inf = new Intl.RelativeTimeFormat(locString, opts);\n intlRelCache[key] = inf;\n }\n\n return inf;\n}\n\nvar sysLocaleCache = null;\n\nfunction systemLocale() {\n if (sysLocaleCache) {\n return sysLocaleCache;\n } else if (hasIntl()) {\n var computedSys = new Intl.DateTimeFormat().resolvedOptions().locale; // node sometimes defaults to \"und\". Override that because that is dumb\n\n sysLocaleCache = !computedSys || computedSys === \"und\" ? \"en-US\" : computedSys;\n return sysLocaleCache;\n } else {\n sysLocaleCache = \"en-US\";\n return sysLocaleCache;\n }\n}\n\nfunction parseLocaleString(localeStr) {\n // I really want to avoid writing a BCP 47 parser\n // see, e.g. https://github.com/wooorm/bcp-47\n // Instead, we'll do this:\n // a) if the string has no -u extensions, just leave it alone\n // b) if it does, use Intl to resolve everything\n // c) if Intl fails, try again without the -u\n var uIndex = localeStr.indexOf(\"-u-\");\n\n if (uIndex === -1) {\n return [localeStr];\n } else {\n var options;\n var smaller = localeStr.substring(0, uIndex);\n\n try {\n options = getCachedDTF(localeStr).resolvedOptions();\n } catch (e) {\n options = getCachedDTF(smaller).resolvedOptions();\n }\n\n var _options = options,\n numberingSystem = _options.numberingSystem,\n calendar = _options.calendar; // return the smaller one so that we can append the calendar and numbering overrides to it\n\n return [smaller, numberingSystem, calendar];\n }\n}\n\nfunction intlConfigString(localeStr, numberingSystem, outputCalendar) {\n if (hasIntl()) {\n if (outputCalendar || numberingSystem) {\n localeStr += \"-u\";\n\n if (outputCalendar) {\n localeStr += \"-ca-\" + outputCalendar;\n }\n\n if (numberingSystem) {\n localeStr += \"-nu-\" + numberingSystem;\n }\n\n return localeStr;\n } else {\n return localeStr;\n }\n } else {\n return [];\n }\n}\n\nfunction mapMonths(f) {\n var ms = [];\n\n for (var i = 1; i <= 12; i++) {\n var dt = DateTime.utc(2016, i, 1);\n ms.push(f(dt));\n }\n\n return ms;\n}\n\nfunction mapWeekdays(f) {\n var ms = [];\n\n for (var i = 1; i <= 7; i++) {\n var dt = DateTime.utc(2016, 11, 13 + i);\n ms.push(f(dt));\n }\n\n return ms;\n}\n\nfunction listStuff(loc, length, defaultOK, englishFn, intlFn) {\n var mode = loc.listingMode(defaultOK);\n\n if (mode === \"error\") {\n return null;\n } else if (mode === \"en\") {\n return englishFn(length);\n } else {\n return intlFn(length);\n }\n}\n\nfunction supportsFastNumbers(loc) {\n if (loc.numberingSystem && loc.numberingSystem !== \"latn\") {\n return false;\n } else {\n return loc.numberingSystem === \"latn\" || !loc.locale || loc.locale.startsWith(\"en\") || hasIntl() && new Intl.DateTimeFormat(loc.intl).resolvedOptions().numberingSystem === \"latn\";\n }\n}\n/**\n * @private\n */\n\n\nvar PolyNumberFormatter = /*#__PURE__*/function () {\n function PolyNumberFormatter(intl, forceSimple, opts) {\n this.padTo = opts.padTo || 0;\n this.floor = opts.floor || false;\n\n if (!forceSimple && hasIntl()) {\n var intlOpts = {\n useGrouping: false\n };\n if (opts.padTo > 0) intlOpts.minimumIntegerDigits = opts.padTo;\n this.inf = getCachedINF(intl, intlOpts);\n }\n }\n\n var _proto = PolyNumberFormatter.prototype;\n\n _proto.format = function format(i) {\n if (this.inf) {\n var fixed = this.floor ? Math.floor(i) : i;\n return this.inf.format(fixed);\n } else {\n // to match the browser's numberformatter defaults\n var _fixed = this.floor ? Math.floor(i) : roundTo(i, 3);\n\n return padStart(_fixed, this.padTo);\n }\n };\n\n return PolyNumberFormatter;\n}();\n/**\n * @private\n */\n\n\nvar PolyDateFormatter = /*#__PURE__*/function () {\n function PolyDateFormatter(dt, intl, opts) {\n this.opts = opts;\n this.hasIntl = hasIntl();\n var z;\n\n if (dt.zone.universal && this.hasIntl) {\n // UTC-8 or Etc/UTC-8 are not part of tzdata, only Etc/GMT+8 and the like.\n // That is why fixed-offset TZ is set to that unless it is:\n // 1. Representing offset 0 when UTC is used to maintain previous behavior and does not become GMT.\n // 2. Unsupported by the browser:\n // - some do not support Etc/\n // - < Etc/GMT-14, > Etc/GMT+12, and 30-minute or 45-minute offsets are not part of tzdata\n var gmtOffset = -1 * (dt.offset / 60);\n var offsetZ = gmtOffset >= 0 ? \"Etc/GMT+\" + gmtOffset : \"Etc/GMT\" + gmtOffset;\n var isOffsetZoneSupported = IANAZone.isValidZone(offsetZ);\n\n if (dt.offset !== 0 && isOffsetZoneSupported) {\n z = offsetZ;\n this.dt = dt;\n } else {\n // Not all fixed-offset zones like Etc/+4:30 are present in tzdata.\n // So we have to make do. Two cases:\n // 1. The format options tell us to show the zone. We can't do that, so the best\n // we can do is format the date in UTC.\n // 2. The format options don't tell us to show the zone. Then we can adjust them\n // the time and tell the formatter to show it to us in UTC, so that the time is right\n // and the bad zone doesn't show up.\n z = \"UTC\";\n\n if (opts.timeZoneName) {\n this.dt = dt;\n } else {\n this.dt = dt.offset === 0 ? dt : DateTime.fromMillis(dt.ts + dt.offset * 60 * 1000);\n }\n }\n } else if (dt.zone.type === \"local\") {\n this.dt = dt;\n } else {\n this.dt = dt;\n z = dt.zone.name;\n }\n\n if (this.hasIntl) {\n var intlOpts = Object.assign({}, this.opts);\n\n if (z) {\n intlOpts.timeZone = z;\n }\n\n this.dtf = getCachedDTF(intl, intlOpts);\n }\n }\n\n var _proto2 = PolyDateFormatter.prototype;\n\n _proto2.format = function format() {\n if (this.hasIntl) {\n return this.dtf.format(this.dt.toJSDate());\n } else {\n var tokenFormat = formatString(this.opts),\n loc = Locale.create(\"en-US\");\n return Formatter.create(loc).formatDateTimeFromString(this.dt, tokenFormat);\n }\n };\n\n _proto2.formatToParts = function formatToParts() {\n if (this.hasIntl && hasFormatToParts()) {\n return this.dtf.formatToParts(this.dt.toJSDate());\n } else {\n // This is kind of a cop out. We actually could do this for English. However, we couldn't do it for intl strings\n // and IMO it's too weird to have an uncanny valley like that\n return [];\n }\n };\n\n _proto2.resolvedOptions = function resolvedOptions() {\n if (this.hasIntl) {\n return this.dtf.resolvedOptions();\n } else {\n return {\n locale: \"en-US\",\n numberingSystem: \"latn\",\n outputCalendar: \"gregory\"\n };\n }\n };\n\n return PolyDateFormatter;\n}();\n/**\n * @private\n */\n\n\nvar PolyRelFormatter = /*#__PURE__*/function () {\n function PolyRelFormatter(intl, isEnglish, opts) {\n this.opts = Object.assign({\n style: \"long\"\n }, opts);\n\n if (!isEnglish && hasRelative()) {\n this.rtf = getCachedRTF(intl, opts);\n }\n }\n\n var _proto3 = PolyRelFormatter.prototype;\n\n _proto3.format = function format(count, unit) {\n if (this.rtf) {\n return this.rtf.format(count, unit);\n } else {\n return formatRelativeTime(unit, count, this.opts.numeric, this.opts.style !== \"long\");\n }\n };\n\n _proto3.formatToParts = function formatToParts(count, unit) {\n if (this.rtf) {\n return this.rtf.formatToParts(count, unit);\n } else {\n return [];\n }\n };\n\n return PolyRelFormatter;\n}();\n/**\n * @private\n */\n\n\nvar Locale = /*#__PURE__*/function () {\n Locale.fromOpts = function fromOpts(opts) {\n return Locale.create(opts.locale, opts.numberingSystem, opts.outputCalendar, opts.defaultToEN);\n };\n\n Locale.create = function create(locale, numberingSystem, outputCalendar, defaultToEN) {\n if (defaultToEN === void 0) {\n defaultToEN = false;\n }\n\n var specifiedLocale = locale || Settings.defaultLocale,\n // the system locale is useful for human readable strings but annoying for parsing/formatting known formats\n localeR = specifiedLocale || (defaultToEN ? \"en-US\" : systemLocale()),\n numberingSystemR = numberingSystem || Settings.defaultNumberingSystem,\n outputCalendarR = outputCalendar || Settings.defaultOutputCalendar;\n return new Locale(localeR, numberingSystemR, outputCalendarR, specifiedLocale);\n };\n\n Locale.resetCache = function resetCache() {\n sysLocaleCache = null;\n intlDTCache = {};\n intlNumCache = {};\n intlRelCache = {};\n };\n\n Locale.fromObject = function fromObject(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n locale = _ref.locale,\n numberingSystem = _ref.numberingSystem,\n outputCalendar = _ref.outputCalendar;\n\n return Locale.create(locale, numberingSystem, outputCalendar);\n };\n\n function Locale(locale, numbering, outputCalendar, specifiedLocale) {\n var _parseLocaleString = parseLocaleString(locale),\n parsedLocale = _parseLocaleString[0],\n parsedNumberingSystem = _parseLocaleString[1],\n parsedOutputCalendar = _parseLocaleString[2];\n\n this.locale = parsedLocale;\n this.numberingSystem = numbering || parsedNumberingSystem || null;\n this.outputCalendar = outputCalendar || parsedOutputCalendar || null;\n this.intl = intlConfigString(this.locale, this.numberingSystem, this.outputCalendar);\n this.weekdaysCache = {\n format: {},\n standalone: {}\n };\n this.monthsCache = {\n format: {},\n standalone: {}\n };\n this.meridiemCache = null;\n this.eraCache = {};\n this.specifiedLocale = specifiedLocale;\n this.fastNumbersCached = null;\n }\n\n var _proto4 = Locale.prototype;\n\n _proto4.listingMode = function listingMode(defaultOK) {\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n var intl = hasIntl(),\n hasFTP = intl && hasFormatToParts(),\n isActuallyEn = this.isEnglish(),\n hasNoWeirdness = (this.numberingSystem === null || this.numberingSystem === \"latn\") && (this.outputCalendar === null || this.outputCalendar === \"gregory\");\n\n if (!hasFTP && !(isActuallyEn && hasNoWeirdness) && !defaultOK) {\n return \"error\";\n } else if (!hasFTP || isActuallyEn && hasNoWeirdness) {\n return \"en\";\n } else {\n return \"intl\";\n }\n };\n\n _proto4.clone = function clone(alts) {\n if (!alts || Object.getOwnPropertyNames(alts).length === 0) {\n return this;\n } else {\n return Locale.create(alts.locale || this.specifiedLocale, alts.numberingSystem || this.numberingSystem, alts.outputCalendar || this.outputCalendar, alts.defaultToEN || false);\n }\n };\n\n _proto4.redefaultToEN = function redefaultToEN(alts) {\n if (alts === void 0) {\n alts = {};\n }\n\n return this.clone(Object.assign({}, alts, {\n defaultToEN: true\n }));\n };\n\n _proto4.redefaultToSystem = function redefaultToSystem(alts) {\n if (alts === void 0) {\n alts = {};\n }\n\n return this.clone(Object.assign({}, alts, {\n defaultToEN: false\n }));\n };\n\n _proto4.months = function months$1(length, format, defaultOK) {\n var _this = this;\n\n if (format === void 0) {\n format = false;\n }\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, months, function () {\n var intl = format ? {\n month: length,\n day: \"numeric\"\n } : {\n month: length\n },\n formatStr = format ? \"format\" : \"standalone\";\n\n if (!_this.monthsCache[formatStr][length]) {\n _this.monthsCache[formatStr][length] = mapMonths(function (dt) {\n return _this.extract(dt, intl, \"month\");\n });\n }\n\n return _this.monthsCache[formatStr][length];\n });\n };\n\n _proto4.weekdays = function weekdays$1(length, format, defaultOK) {\n var _this2 = this;\n\n if (format === void 0) {\n format = false;\n }\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, weekdays, function () {\n var intl = format ? {\n weekday: length,\n year: \"numeric\",\n month: \"long\",\n day: \"numeric\"\n } : {\n weekday: length\n },\n formatStr = format ? \"format\" : \"standalone\";\n\n if (!_this2.weekdaysCache[formatStr][length]) {\n _this2.weekdaysCache[formatStr][length] = mapWeekdays(function (dt) {\n return _this2.extract(dt, intl, \"weekday\");\n });\n }\n\n return _this2.weekdaysCache[formatStr][length];\n });\n };\n\n _proto4.meridiems = function meridiems$1(defaultOK) {\n var _this3 = this;\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, undefined, defaultOK, function () {\n return meridiems;\n }, function () {\n // In theory there could be aribitrary day periods. We're gonna assume there are exactly two\n // for AM and PM. This is probably wrong, but it's makes parsing way easier.\n if (!_this3.meridiemCache) {\n var intl = {\n hour: \"numeric\",\n hour12: true\n };\n _this3.meridiemCache = [DateTime.utc(2016, 11, 13, 9), DateTime.utc(2016, 11, 13, 19)].map(function (dt) {\n return _this3.extract(dt, intl, \"dayperiod\");\n });\n }\n\n return _this3.meridiemCache;\n });\n };\n\n _proto4.eras = function eras$1(length, defaultOK) {\n var _this4 = this;\n\n if (defaultOK === void 0) {\n defaultOK = true;\n }\n\n return listStuff(this, length, defaultOK, eras, function () {\n var intl = {\n era: length\n }; // This is problematic. Different calendars are going to define eras totally differently. What I need is the minimum set of dates\n // to definitely enumerate them.\n\n if (!_this4.eraCache[length]) {\n _this4.eraCache[length] = [DateTime.utc(-40, 1, 1), DateTime.utc(2017, 1, 1)].map(function (dt) {\n return _this4.extract(dt, intl, \"era\");\n });\n }\n\n return _this4.eraCache[length];\n });\n };\n\n _proto4.extract = function extract(dt, intlOpts, field) {\n var df = this.dtFormatter(dt, intlOpts),\n results = df.formatToParts(),\n matching = results.find(function (m) {\n return m.type.toLowerCase() === field;\n });\n return matching ? matching.value : null;\n };\n\n _proto4.numberFormatter = function numberFormatter(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n // this forcesimple option is never used (the only caller short-circuits on it, but it seems safer to leave)\n // (in contrast, the rest of the condition is used heavily)\n return new PolyNumberFormatter(this.intl, opts.forceSimple || this.fastNumbers, opts);\n };\n\n _proto4.dtFormatter = function dtFormatter(dt, intlOpts) {\n if (intlOpts === void 0) {\n intlOpts = {};\n }\n\n return new PolyDateFormatter(dt, this.intl, intlOpts);\n };\n\n _proto4.relFormatter = function relFormatter(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return new PolyRelFormatter(this.intl, this.isEnglish(), opts);\n };\n\n _proto4.isEnglish = function isEnglish() {\n return this.locale === \"en\" || this.locale.toLowerCase() === \"en-us\" || hasIntl() && new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith(\"en-us\");\n };\n\n _proto4.equals = function equals(other) {\n return this.locale === other.locale && this.numberingSystem === other.numberingSystem && this.outputCalendar === other.outputCalendar;\n };\n\n _createClass(Locale, [{\n key: \"fastNumbers\",\n get: function get() {\n if (this.fastNumbersCached == null) {\n this.fastNumbersCached = supportsFastNumbers(this);\n }\n\n return this.fastNumbersCached;\n }\n }]);\n\n return Locale;\n}();\n\n/*\n * This file handles parsing for well-specified formats. Here's how it works:\n * Two things go into parsing: a regex to match with and an extractor to take apart the groups in the match.\n * An extractor is just a function that takes a regex match array and returns a { year: ..., month: ... } object\n * parse() does the work of executing the regex and applying the extractor. It takes multiple regex/extractor pairs to try in sequence.\n * Extractors can take a \"cursor\" representing the offset in the match to look at. This makes it easy to combine extractors.\n * combineExtractors() does the work of combining them, keeping track of the cursor through multiple extractions.\n * Some extractions are super dumb and simpleParse and fromStrings help DRY them.\n */\n\nfunction combineRegexes() {\n for (var _len = arguments.length, regexes = new Array(_len), _key = 0; _key < _len; _key++) {\n regexes[_key] = arguments[_key];\n }\n\n var full = regexes.reduce(function (f, r) {\n return f + r.source;\n }, \"\");\n return RegExp(\"^\" + full + \"$\");\n}\n\nfunction combineExtractors() {\n for (var _len2 = arguments.length, extractors = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n extractors[_key2] = arguments[_key2];\n }\n\n return function (m) {\n return extractors.reduce(function (_ref, ex) {\n var mergedVals = _ref[0],\n mergedZone = _ref[1],\n cursor = _ref[2];\n\n var _ex = ex(m, cursor),\n val = _ex[0],\n zone = _ex[1],\n next = _ex[2];\n\n return [Object.assign(mergedVals, val), mergedZone || zone, next];\n }, [{}, null, 1]).slice(0, 2);\n };\n}\n\nfunction parse(s) {\n if (s == null) {\n return [null, null];\n }\n\n for (var _len3 = arguments.length, patterns = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n patterns[_key3 - 1] = arguments[_key3];\n }\n\n for (var _i = 0, _patterns = patterns; _i < _patterns.length; _i++) {\n var _patterns$_i = _patterns[_i],\n regex = _patterns$_i[0],\n extractor = _patterns$_i[1];\n var m = regex.exec(s);\n\n if (m) {\n return extractor(m);\n }\n }\n\n return [null, null];\n}\n\nfunction simpleParse() {\n for (var _len4 = arguments.length, keys = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n keys[_key4] = arguments[_key4];\n }\n\n return function (match, cursor) {\n var ret = {};\n var i;\n\n for (i = 0; i < keys.length; i++) {\n ret[keys[i]] = parseInteger(match[cursor + i]);\n }\n\n return [ret, null, cursor + i];\n };\n} // ISO and SQL parsing\n\n\nvar offsetRegex = /(?:(Z)|([+-]\\d\\d)(?::?(\\d\\d))?)/,\n isoTimeBaseRegex = /(\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(?:[.,](\\d{1,30}))?)?)?/,\n isoTimeRegex = RegExp(\"\" + isoTimeBaseRegex.source + offsetRegex.source + \"?\"),\n isoTimeExtensionRegex = RegExp(\"(?:T\" + isoTimeRegex.source + \")?\"),\n isoYmdRegex = /([+-]\\d{6}|\\d{4})(?:-?(\\d\\d)(?:-?(\\d\\d))?)?/,\n isoWeekRegex = /(\\d{4})-?W(\\d\\d)(?:-?(\\d))?/,\n isoOrdinalRegex = /(\\d{4})-?(\\d{3})/,\n extractISOWeekData = simpleParse(\"weekYear\", \"weekNumber\", \"weekDay\"),\n extractISOOrdinalData = simpleParse(\"year\", \"ordinal\"),\n sqlYmdRegex = /(\\d{4})-(\\d\\d)-(\\d\\d)/,\n // dumbed-down version of the ISO one\nsqlTimeRegex = RegExp(isoTimeBaseRegex.source + \" ?(?:\" + offsetRegex.source + \"|(\" + ianaRegex.source + \"))?\"),\n sqlTimeExtensionRegex = RegExp(\"(?: \" + sqlTimeRegex.source + \")?\");\n\nfunction int(match, pos, fallback) {\n var m = match[pos];\n return isUndefined(m) ? fallback : parseInteger(m);\n}\n\nfunction extractISOYmd(match, cursor) {\n var item = {\n year: int(match, cursor),\n month: int(match, cursor + 1, 1),\n day: int(match, cursor + 2, 1)\n };\n return [item, null, cursor + 3];\n}\n\nfunction extractISOTime(match, cursor) {\n var item = {\n hours: int(match, cursor, 0),\n minutes: int(match, cursor + 1, 0),\n seconds: int(match, cursor + 2, 0),\n milliseconds: parseMillis(match[cursor + 3])\n };\n return [item, null, cursor + 4];\n}\n\nfunction extractISOOffset(match, cursor) {\n var local = !match[cursor] && !match[cursor + 1],\n fullOffset = signedOffset(match[cursor + 1], match[cursor + 2]),\n zone = local ? null : FixedOffsetZone.instance(fullOffset);\n return [{}, zone, cursor + 3];\n}\n\nfunction extractIANAZone(match, cursor) {\n var zone = match[cursor] ? IANAZone.create(match[cursor]) : null;\n return [{}, zone, cursor + 1];\n} // ISO time parsing\n\n\nvar isoTimeOnly = RegExp(\"^T?\" + isoTimeBaseRegex.source + \"$\"); // ISO duration parsing\n\nvar isoDuration = /^-?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)?)?)$/;\n\nfunction extractISODuration(match) {\n var s = match[0],\n yearStr = match[1],\n monthStr = match[2],\n weekStr = match[3],\n dayStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n millisecondsStr = match[8];\n var hasNegativePrefix = s[0] === \"-\";\n var negativeSeconds = secondStr && secondStr[0] === \"-\";\n\n var maybeNegate = function maybeNegate(num, force) {\n if (force === void 0) {\n force = false;\n }\n\n return num !== undefined && (force || num && hasNegativePrefix) ? -num : num;\n };\n\n return [{\n years: maybeNegate(parseInteger(yearStr)),\n months: maybeNegate(parseInteger(monthStr)),\n weeks: maybeNegate(parseInteger(weekStr)),\n days: maybeNegate(parseInteger(dayStr)),\n hours: maybeNegate(parseInteger(hourStr)),\n minutes: maybeNegate(parseInteger(minuteStr)),\n seconds: maybeNegate(parseInteger(secondStr), secondStr === \"-0\"),\n milliseconds: maybeNegate(parseMillis(millisecondsStr), negativeSeconds)\n }];\n} // These are a little braindead. EDT *should* tell us that we're in, say, America/New_York\n// and not just that we're in -240 *right now*. But since I don't think these are used that often\n// I'm just going to ignore that\n\n\nvar obsOffsets = {\n GMT: 0,\n EDT: -4 * 60,\n EST: -5 * 60,\n CDT: -5 * 60,\n CST: -6 * 60,\n MDT: -6 * 60,\n MST: -7 * 60,\n PDT: -7 * 60,\n PST: -8 * 60\n};\n\nfunction fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {\n var result = {\n year: yearStr.length === 2 ? untruncateYear(parseInteger(yearStr)) : parseInteger(yearStr),\n month: monthsShort.indexOf(monthStr) + 1,\n day: parseInteger(dayStr),\n hour: parseInteger(hourStr),\n minute: parseInteger(minuteStr)\n };\n if (secondStr) result.second = parseInteger(secondStr);\n\n if (weekdayStr) {\n result.weekday = weekdayStr.length > 3 ? weekdaysLong.indexOf(weekdayStr) + 1 : weekdaysShort.indexOf(weekdayStr) + 1;\n }\n\n return result;\n} // RFC 2822/5322\n\n\nvar rfc2822 = /^(?:(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)))$/;\n\nfunction extractRFC2822(match) {\n var weekdayStr = match[1],\n dayStr = match[2],\n monthStr = match[3],\n yearStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n obsOffset = match[8],\n milOffset = match[9],\n offHourStr = match[10],\n offMinuteStr = match[11],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n var offset;\n\n if (obsOffset) {\n offset = obsOffsets[obsOffset];\n } else if (milOffset) {\n offset = 0;\n } else {\n offset = signedOffset(offHourStr, offMinuteStr);\n }\n\n return [result, new FixedOffsetZone(offset)];\n}\n\nfunction preprocessRFC2822(s) {\n // Remove comments and folding whitespace and replace multiple-spaces with a single space\n return s.replace(/\\([^)]*\\)|[\\n\\t]/g, \" \").replace(/(\\s\\s+)/g, \" \").trim();\n} // http date\n\n\nvar rfc1123 = /^(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$/,\n rfc850 = /^(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$/,\n ascii = /^(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})$/;\n\nfunction extractRFC1123Or850(match) {\n var weekdayStr = match[1],\n dayStr = match[2],\n monthStr = match[3],\n yearStr = match[4],\n hourStr = match[5],\n minuteStr = match[6],\n secondStr = match[7],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n return [result, FixedOffsetZone.utcInstance];\n}\n\nfunction extractASCII(match) {\n var weekdayStr = match[1],\n monthStr = match[2],\n dayStr = match[3],\n hourStr = match[4],\n minuteStr = match[5],\n secondStr = match[6],\n yearStr = match[7],\n result = fromStrings(weekdayStr, yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr);\n return [result, FixedOffsetZone.utcInstance];\n}\n\nvar isoYmdWithTimeExtensionRegex = combineRegexes(isoYmdRegex, isoTimeExtensionRegex);\nvar isoWeekWithTimeExtensionRegex = combineRegexes(isoWeekRegex, isoTimeExtensionRegex);\nvar isoOrdinalWithTimeExtensionRegex = combineRegexes(isoOrdinalRegex, isoTimeExtensionRegex);\nvar isoTimeCombinedRegex = combineRegexes(isoTimeRegex);\nvar extractISOYmdTimeAndOffset = combineExtractors(extractISOYmd, extractISOTime, extractISOOffset);\nvar extractISOWeekTimeAndOffset = combineExtractors(extractISOWeekData, extractISOTime, extractISOOffset);\nvar extractISOOrdinalDateAndTime = combineExtractors(extractISOOrdinalData, extractISOTime, extractISOOffset);\nvar extractISOTimeAndOffset = combineExtractors(extractISOTime, extractISOOffset);\n/**\n * @private\n */\n\nfunction parseISODate(s) {\n return parse(s, [isoYmdWithTimeExtensionRegex, extractISOYmdTimeAndOffset], [isoWeekWithTimeExtensionRegex, extractISOWeekTimeAndOffset], [isoOrdinalWithTimeExtensionRegex, extractISOOrdinalDateAndTime], [isoTimeCombinedRegex, extractISOTimeAndOffset]);\n}\nfunction parseRFC2822Date(s) {\n return parse(preprocessRFC2822(s), [rfc2822, extractRFC2822]);\n}\nfunction parseHTTPDate(s) {\n return parse(s, [rfc1123, extractRFC1123Or850], [rfc850, extractRFC1123Or850], [ascii, extractASCII]);\n}\nfunction parseISODuration(s) {\n return parse(s, [isoDuration, extractISODuration]);\n}\nvar extractISOTimeOnly = combineExtractors(extractISOTime);\nfunction parseISOTimeOnly(s) {\n return parse(s, [isoTimeOnly, extractISOTimeOnly]);\n}\nvar sqlYmdWithTimeExtensionRegex = combineRegexes(sqlYmdRegex, sqlTimeExtensionRegex);\nvar sqlTimeCombinedRegex = combineRegexes(sqlTimeRegex);\nvar extractISOYmdTimeOffsetAndIANAZone = combineExtractors(extractISOYmd, extractISOTime, extractISOOffset, extractIANAZone);\nvar extractISOTimeOffsetAndIANAZone = combineExtractors(extractISOTime, extractISOOffset, extractIANAZone);\nfunction parseSQL(s) {\n return parse(s, [sqlYmdWithTimeExtensionRegex, extractISOYmdTimeOffsetAndIANAZone], [sqlTimeCombinedRegex, extractISOTimeOffsetAndIANAZone]);\n}\n\nvar INVALID = \"Invalid Duration\"; // unit conversion constants\n\nvar lowOrderMatrix = {\n weeks: {\n days: 7,\n hours: 7 * 24,\n minutes: 7 * 24 * 60,\n seconds: 7 * 24 * 60 * 60,\n milliseconds: 7 * 24 * 60 * 60 * 1000\n },\n days: {\n hours: 24,\n minutes: 24 * 60,\n seconds: 24 * 60 * 60,\n milliseconds: 24 * 60 * 60 * 1000\n },\n hours: {\n minutes: 60,\n seconds: 60 * 60,\n milliseconds: 60 * 60 * 1000\n },\n minutes: {\n seconds: 60,\n milliseconds: 60 * 1000\n },\n seconds: {\n milliseconds: 1000\n }\n},\n casualMatrix = Object.assign({\n years: {\n quarters: 4,\n months: 12,\n weeks: 52,\n days: 365,\n hours: 365 * 24,\n minutes: 365 * 24 * 60,\n seconds: 365 * 24 * 60 * 60,\n milliseconds: 365 * 24 * 60 * 60 * 1000\n },\n quarters: {\n months: 3,\n weeks: 13,\n days: 91,\n hours: 91 * 24,\n minutes: 91 * 24 * 60,\n seconds: 91 * 24 * 60 * 60,\n milliseconds: 91 * 24 * 60 * 60 * 1000\n },\n months: {\n weeks: 4,\n days: 30,\n hours: 30 * 24,\n minutes: 30 * 24 * 60,\n seconds: 30 * 24 * 60 * 60,\n milliseconds: 30 * 24 * 60 * 60 * 1000\n }\n}, lowOrderMatrix),\n daysInYearAccurate = 146097.0 / 400,\n daysInMonthAccurate = 146097.0 / 4800,\n accurateMatrix = Object.assign({\n years: {\n quarters: 4,\n months: 12,\n weeks: daysInYearAccurate / 7,\n days: daysInYearAccurate,\n hours: daysInYearAccurate * 24,\n minutes: daysInYearAccurate * 24 * 60,\n seconds: daysInYearAccurate * 24 * 60 * 60,\n milliseconds: daysInYearAccurate * 24 * 60 * 60 * 1000\n },\n quarters: {\n months: 3,\n weeks: daysInYearAccurate / 28,\n days: daysInYearAccurate / 4,\n hours: daysInYearAccurate * 24 / 4,\n minutes: daysInYearAccurate * 24 * 60 / 4,\n seconds: daysInYearAccurate * 24 * 60 * 60 / 4,\n milliseconds: daysInYearAccurate * 24 * 60 * 60 * 1000 / 4\n },\n months: {\n weeks: daysInMonthAccurate / 7,\n days: daysInMonthAccurate,\n hours: daysInMonthAccurate * 24,\n minutes: daysInMonthAccurate * 24 * 60,\n seconds: daysInMonthAccurate * 24 * 60 * 60,\n milliseconds: daysInMonthAccurate * 24 * 60 * 60 * 1000\n }\n}, lowOrderMatrix); // units ordered by size\n\nvar orderedUnits = [\"years\", \"quarters\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", \"seconds\", \"milliseconds\"];\nvar reverseUnits = orderedUnits.slice(0).reverse(); // clone really means \"create another instance just like this one, but with these changes\"\n\nfunction clone(dur, alts, clear) {\n if (clear === void 0) {\n clear = false;\n }\n\n // deep merge for vals\n var conf = {\n values: clear ? alts.values : Object.assign({}, dur.values, alts.values || {}),\n loc: dur.loc.clone(alts.loc),\n conversionAccuracy: alts.conversionAccuracy || dur.conversionAccuracy\n };\n return new Duration(conf);\n}\n\nfunction antiTrunc(n) {\n return n < 0 ? Math.floor(n) : Math.ceil(n);\n} // NB: mutates parameters\n\n\nfunction convert(matrix, fromMap, fromUnit, toMap, toUnit) {\n var conv = matrix[toUnit][fromUnit],\n raw = fromMap[fromUnit] / conv,\n sameSign = Math.sign(raw) === Math.sign(toMap[toUnit]),\n // ok, so this is wild, but see the matrix in the tests\n added = !sameSign && toMap[toUnit] !== 0 && Math.abs(raw) <= 1 ? antiTrunc(raw) : Math.trunc(raw);\n toMap[toUnit] += added;\n fromMap[fromUnit] -= added * conv;\n} // NB: mutates parameters\n\n\nfunction normalizeValues(matrix, vals) {\n reverseUnits.reduce(function (previous, current) {\n if (!isUndefined(vals[current])) {\n if (previous) {\n convert(matrix, vals, previous, vals, current);\n }\n\n return current;\n } else {\n return previous;\n }\n }, null);\n}\n/**\n * A Duration object represents a period of time, like \"2 months\" or \"1 day, 1 hour\". Conceptually, it's just a map of units to their quantities, accompanied by some additional configuration and methods for creating, parsing, interrogating, transforming, and formatting them. They can be used on their own or in conjunction with other Luxon types; for example, you can use {@link DateTime.plus} to add a Duration object to a DateTime, producing another DateTime.\n *\n * Here is a brief overview of commonly used methods and getters in Duration:\n *\n * * **Creation** To create a Duration, use {@link Duration.fromMillis}, {@link Duration.fromObject}, or {@link Duration.fromISO}.\n * * **Unit values** See the {@link Duration.years}, {@link Duration.months}, {@link Duration.weeks}, {@link Duration.days}, {@link Duration.hours}, {@link Duration.minutes}, {@link Duration.seconds}, {@link Duration.milliseconds} accessors.\n * * **Configuration** See {@link Duration.locale} and {@link Duration.numberingSystem} accessors.\n * * **Transformation** To create new Durations out of old ones use {@link Duration.plus}, {@link Duration.minus}, {@link Duration.normalize}, {@link Duration.set}, {@link Duration.reconfigure}, {@link Duration.shiftTo}, and {@link Duration.negate}.\n * * **Output** To convert the Duration into other representations, see {@link Duration.as}, {@link Duration.toISO}, {@link Duration.toFormat}, and {@link Duration.toJSON}\n *\n * There's are more methods documented below. In addition, for more information on subtler topics like internationalization and validity, see the external documentation.\n */\n\n\nvar Duration = /*#__PURE__*/function () {\n /**\n * @private\n */\n function Duration(config) {\n var accurate = config.conversionAccuracy === \"longterm\" || false;\n /**\n * @access private\n */\n\n this.values = config.values;\n /**\n * @access private\n */\n\n this.loc = config.loc || Locale.create();\n /**\n * @access private\n */\n\n this.conversionAccuracy = accurate ? \"longterm\" : \"casual\";\n /**\n * @access private\n */\n\n this.invalid = config.invalid || null;\n /**\n * @access private\n */\n\n this.matrix = accurate ? accurateMatrix : casualMatrix;\n /**\n * @access private\n */\n\n this.isLuxonDuration = true;\n }\n /**\n * Create Duration from a number of milliseconds.\n * @param {number} count of milliseconds\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n\n\n Duration.fromMillis = function fromMillis(count, opts) {\n return Duration.fromObject(Object.assign({\n milliseconds: count\n }, opts));\n }\n /**\n * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.\n * If this object is empty then a zero milliseconds duration is returned.\n * @param {Object} obj - the object to create the DateTime from\n * @param {number} obj.years\n * @param {number} obj.quarters\n * @param {number} obj.months\n * @param {number} obj.weeks\n * @param {number} obj.days\n * @param {number} obj.hours\n * @param {number} obj.minutes\n * @param {number} obj.seconds\n * @param {number} obj.milliseconds\n * @param {string} [obj.locale='en-US'] - the locale to use\n * @param {string} obj.numberingSystem - the numbering system to use\n * @param {string} [obj.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n ;\n\n Duration.fromObject = function fromObject(obj) {\n if (obj == null || typeof obj !== \"object\") {\n throw new InvalidArgumentError(\"Duration.fromObject: argument expected to be an object, got \" + (obj === null ? \"null\" : typeof obj));\n }\n\n return new Duration({\n values: normalizeObject(obj, Duration.normalizeUnit, [\"locale\", \"numberingSystem\", \"conversionAccuracy\", \"zone\" // a bit of debt; it's super inconvenient internally not to be able to blindly pass this\n ]),\n loc: Locale.fromObject(obj),\n conversionAccuracy: obj.conversionAccuracy\n });\n }\n /**\n * Create a Duration from an ISO 8601 duration string.\n * @param {string} text - text to parse\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @see https://en.wikipedia.org/wiki/ISO_8601#Durations\n * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }\n * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }\n * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }\n * @return {Duration}\n */\n ;\n\n Duration.fromISO = function fromISO(text, opts) {\n var _parseISODuration = parseISODuration(text),\n parsed = _parseISODuration[0];\n\n if (parsed) {\n var obj = Object.assign(parsed, opts);\n return Duration.fromObject(obj);\n } else {\n return Duration.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n }\n /**\n * Create a Duration from an ISO 8601 time string.\n * @param {string} text - text to parse\n * @param {Object} opts - options for parsing\n * @param {string} [opts.locale='en-US'] - the locale to use\n * @param {string} opts.numberingSystem - the numbering system to use\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @see https://en.wikipedia.org/wiki/ISO_8601#Times\n * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }\n * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }\n * @return {Duration}\n */\n ;\n\n Duration.fromISOTime = function fromISOTime(text, opts) {\n var _parseISOTimeOnly = parseISOTimeOnly(text),\n parsed = _parseISOTimeOnly[0];\n\n if (parsed) {\n var obj = Object.assign(parsed, opts);\n return Duration.fromObject(obj);\n } else {\n return Duration.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n }\n /**\n * Create an invalid Duration.\n * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {Duration}\n */\n ;\n\n Duration.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the Duration is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidDurationError(invalid);\n } else {\n return new Duration({\n invalid: invalid\n });\n }\n }\n /**\n * @private\n */\n ;\n\n Duration.normalizeUnit = function normalizeUnit(unit) {\n var normalized = {\n year: \"years\",\n years: \"years\",\n quarter: \"quarters\",\n quarters: \"quarters\",\n month: \"months\",\n months: \"months\",\n week: \"weeks\",\n weeks: \"weeks\",\n day: \"days\",\n days: \"days\",\n hour: \"hours\",\n hours: \"hours\",\n minute: \"minutes\",\n minutes: \"minutes\",\n second: \"seconds\",\n seconds: \"seconds\",\n millisecond: \"milliseconds\",\n milliseconds: \"milliseconds\"\n }[unit ? unit.toLowerCase() : unit];\n if (!normalized) throw new InvalidUnitError(unit);\n return normalized;\n }\n /**\n * Check if an object is a Duration. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n Duration.isDuration = function isDuration(o) {\n return o && o.isLuxonDuration || false;\n }\n /**\n * Get the locale of a Duration, such 'en-GB'\n * @type {string}\n */\n ;\n\n var _proto = Duration.prototype;\n\n /**\n * Returns a string representation of this Duration formatted according to the specified format string. You may use these tokens:\n * * `S` for milliseconds\n * * `s` for seconds\n * * `m` for minutes\n * * `h` for hours\n * * `d` for days\n * * `M` for months\n * * `y` for years\n * Notes:\n * * Add padding by repeating the token, e.g. \"yy\" pads the years to two digits, \"hhhh\" pads the hours out to four digits\n * * The duration will be converted to the set of units in the format string using {@link Duration.shiftTo} and the Durations's conversion accuracy setting.\n * @param {string} fmt - the format string\n * @param {Object} opts - options\n * @param {boolean} [opts.floor=true] - floor numerical values\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"y d s\") //=> \"1 6 2\"\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"yy dd sss\") //=> \"01 06 002\"\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat(\"M S\") //=> \"12 518402000\"\n * @return {string}\n */\n _proto.toFormat = function toFormat(fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n // reverse-compat since 1.2; we always round down now, never up, and we do it by default\n var fmtOpts = Object.assign({}, opts, {\n floor: opts.round !== false && opts.floor !== false\n });\n return this.isValid ? Formatter.create(this.loc, fmtOpts).formatDurationFromString(this, fmt) : INVALID;\n }\n /**\n * Returns a JavaScript object with this Duration's values.\n * @param opts - options for generating the object\n * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output\n * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }\n * @return {Object}\n */\n ;\n\n _proto.toObject = function toObject(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return {};\n var base = Object.assign({}, this.values);\n\n if (opts.includeConfig) {\n base.conversionAccuracy = this.conversionAccuracy;\n base.numberingSystem = this.loc.numberingSystem;\n base.locale = this.loc.locale;\n }\n\n return base;\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Duration.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Durations\n * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'\n * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'\n * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'\n * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'\n * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO() {\n // we could use the formatter, but this is an easier way to get the minimum string\n if (!this.isValid) return null;\n var s = \"P\";\n if (this.years !== 0) s += this.years + \"Y\";\n if (this.months !== 0 || this.quarters !== 0) s += this.months + this.quarters * 3 + \"M\";\n if (this.weeks !== 0) s += this.weeks + \"W\";\n if (this.days !== 0) s += this.days + \"D\";\n if (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) s += \"T\";\n if (this.hours !== 0) s += this.hours + \"H\";\n if (this.minutes !== 0) s += this.minutes + \"M\";\n if (this.seconds !== 0 || this.milliseconds !== 0) // this will handle \"floating point madness\" by removing extra decimal places\n // https://stackoverflow.com/questions/588004/is-floating-point-math-broken\n s += roundTo(this.seconds + this.milliseconds / 1000, 3) + \"S\";\n if (s === \"P\") s += \"T0S\";\n return s;\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.\n * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Times\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includePrefix=false] - include the `T` prefix\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'\n * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return null;\n var millis = this.toMillis();\n if (millis < 0 || millis >= 86400000) return null;\n opts = Object.assign({\n suppressMilliseconds: false,\n suppressSeconds: false,\n includePrefix: false,\n format: \"extended\"\n }, opts);\n var value = this.shiftTo(\"hours\", \"minutes\", \"seconds\", \"milliseconds\");\n var fmt = opts.format === \"basic\" ? \"hhmm\" : \"hh:mm\";\n\n if (!opts.suppressSeconds || value.seconds !== 0 || value.milliseconds !== 0) {\n fmt += opts.format === \"basic\" ? \"ss\" : \":ss\";\n\n if (!opts.suppressMilliseconds || value.milliseconds !== 0) {\n fmt += \".SSS\";\n }\n }\n\n var str = value.toFormat(fmt);\n\n if (opts.includePrefix) {\n str = \"T\" + str;\n }\n\n return str;\n }\n /**\n * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.\n * @return {string}\n */\n ;\n\n _proto.toJSON = function toJSON() {\n return this.toISO();\n }\n /**\n * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n return this.toISO();\n }\n /**\n * Returns an milliseconds value of this Duration.\n * @return {number}\n */\n ;\n\n _proto.toMillis = function toMillis() {\n return this.as(\"milliseconds\");\n }\n /**\n * Returns an milliseconds value of this Duration. Alias of {@link toMillis}\n * @return {number}\n */\n ;\n\n _proto.valueOf = function valueOf() {\n return this.toMillis();\n }\n /**\n * Make this Duration longer by the specified amount. Return a newly-constructed Duration.\n * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @return {Duration}\n */\n ;\n\n _proto.plus = function plus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration),\n result = {};\n\n for (var _iterator = _createForOfIteratorHelperLoose(orderedUnits), _step; !(_step = _iterator()).done;) {\n var k = _step.value;\n\n if (hasOwnProperty(dur.values, k) || hasOwnProperty(this.values, k)) {\n result[k] = dur.get(k) + this.get(k);\n }\n }\n\n return clone(this, {\n values: result\n }, true);\n }\n /**\n * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.\n * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @return {Duration}\n */\n ;\n\n _proto.minus = function minus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration);\n return this.plus(dur.negate());\n }\n /**\n * Scale this Duration by the specified amount. Return a newly-constructed Duration.\n * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.\n * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit(x => x * 2) //=> { hours: 2, minutes: 60 }\n * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnit((x, u) => u === \"hour\" ? x * 2 : x) //=> { hours: 2, minutes: 30 }\n * @return {Duration}\n */\n ;\n\n _proto.mapUnits = function mapUnits(fn) {\n if (!this.isValid) return this;\n var result = {};\n\n for (var _i = 0, _Object$keys = Object.keys(this.values); _i < _Object$keys.length; _i++) {\n var k = _Object$keys[_i];\n result[k] = asNumber(fn(this.values[k], k));\n }\n\n return clone(this, {\n values: result\n }, true);\n }\n /**\n * Get the value of unit.\n * @param {string} unit - a unit such as 'minute' or 'day'\n * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2\n * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0\n * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3\n * @return {number}\n */\n ;\n\n _proto.get = function get(unit) {\n return this[Duration.normalizeUnit(unit)];\n }\n /**\n * \"Set\" the values of specified units. Return a newly-constructed Duration.\n * @param {Object} values - a mapping of units to numbers\n * @example dur.set({ years: 2017 })\n * @example dur.set({ hours: 8, minutes: 30 })\n * @return {Duration}\n */\n ;\n\n _proto.set = function set(values) {\n if (!this.isValid) return this;\n var mixed = Object.assign(this.values, normalizeObject(values, Duration.normalizeUnit, []));\n return clone(this, {\n values: mixed\n });\n }\n /**\n * \"Set\" the locale and/or numberingSystem. Returns a newly-constructed Duration.\n * @example dur.reconfigure({ locale: 'en-GB' })\n * @return {Duration}\n */\n ;\n\n _proto.reconfigure = function reconfigure(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n locale = _ref.locale,\n numberingSystem = _ref.numberingSystem,\n conversionAccuracy = _ref.conversionAccuracy;\n\n var loc = this.loc.clone({\n locale: locale,\n numberingSystem: numberingSystem\n }),\n opts = {\n loc: loc\n };\n\n if (conversionAccuracy) {\n opts.conversionAccuracy = conversionAccuracy;\n }\n\n return clone(this, opts);\n }\n /**\n * Return the length of the duration in the specified unit.\n * @param {string} unit - a unit such as 'minutes' or 'days'\n * @example Duration.fromObject({years: 1}).as('days') //=> 365\n * @example Duration.fromObject({years: 1}).as('months') //=> 12\n * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5\n * @return {number}\n */\n ;\n\n _proto.as = function as(unit) {\n return this.isValid ? this.shiftTo(unit).get(unit) : NaN;\n }\n /**\n * Reduce this Duration to its canonical representation in its current units.\n * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }\n * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }\n * @return {Duration}\n */\n ;\n\n _proto.normalize = function normalize() {\n if (!this.isValid) return this;\n var vals = this.toObject();\n normalizeValues(this.matrix, vals);\n return clone(this, {\n values: vals\n }, true);\n }\n /**\n * Convert this Duration into its representation in a different set of units.\n * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }\n * @return {Duration}\n */\n ;\n\n _proto.shiftTo = function shiftTo() {\n for (var _len = arguments.length, units = new Array(_len), _key = 0; _key < _len; _key++) {\n units[_key] = arguments[_key];\n }\n\n if (!this.isValid) return this;\n\n if (units.length === 0) {\n return this;\n }\n\n units = units.map(function (u) {\n return Duration.normalizeUnit(u);\n });\n var built = {},\n accumulated = {},\n vals = this.toObject();\n var lastUnit;\n\n for (var _iterator2 = _createForOfIteratorHelperLoose(orderedUnits), _step2; !(_step2 = _iterator2()).done;) {\n var k = _step2.value;\n\n if (units.indexOf(k) >= 0) {\n lastUnit = k;\n var own = 0; // anything we haven't boiled down yet should get boiled to this unit\n\n for (var ak in accumulated) {\n own += this.matrix[ak][k] * accumulated[ak];\n accumulated[ak] = 0;\n } // plus anything that's already in this unit\n\n\n if (isNumber(vals[k])) {\n own += vals[k];\n }\n\n var i = Math.trunc(own);\n built[k] = i;\n accumulated[k] = own - i; // we'd like to absorb these fractions in another unit\n // plus anything further down the chain that should be rolled up in to this\n\n for (var down in vals) {\n if (orderedUnits.indexOf(down) > orderedUnits.indexOf(k)) {\n convert(this.matrix, vals, down, built, k);\n }\n } // otherwise, keep it in the wings to boil it later\n\n } else if (isNumber(vals[k])) {\n accumulated[k] = vals[k];\n }\n } // anything leftover becomes the decimal for the last unit\n // lastUnit must be defined since units is not empty\n\n\n for (var key in accumulated) {\n if (accumulated[key] !== 0) {\n built[lastUnit] += key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];\n }\n }\n\n return clone(this, {\n values: built\n }, true).normalize();\n }\n /**\n * Return the negative of this Duration.\n * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }\n * @return {Duration}\n */\n ;\n\n _proto.negate = function negate() {\n if (!this.isValid) return this;\n var negated = {};\n\n for (var _i2 = 0, _Object$keys2 = Object.keys(this.values); _i2 < _Object$keys2.length; _i2++) {\n var k = _Object$keys2[_i2];\n negated[k] = -this.values[k];\n }\n\n return clone(this, {\n values: negated\n }, true);\n }\n /**\n * Get the years.\n * @type {number}\n */\n ;\n\n /**\n * Equality check\n * Two Durations are equal iff they have the same units and the same values for each unit.\n * @param {Duration} other\n * @return {boolean}\n */\n _proto.equals = function equals(other) {\n if (!this.isValid || !other.isValid) {\n return false;\n }\n\n if (!this.loc.equals(other.loc)) {\n return false;\n }\n\n function eq(v1, v2) {\n // Consider 0 and undefined as equal\n if (v1 === undefined || v1 === 0) return v2 === undefined || v2 === 0;\n return v1 === v2;\n }\n\n for (var _iterator3 = _createForOfIteratorHelperLoose(orderedUnits), _step3; !(_step3 = _iterator3()).done;) {\n var u = _step3.value;\n\n if (!eq(this.values[u], other.values[u])) {\n return false;\n }\n }\n\n return true;\n };\n\n _createClass(Duration, [{\n key: \"locale\",\n get: function get() {\n return this.isValid ? this.loc.locale : null;\n }\n /**\n * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration\n *\n * @type {string}\n */\n\n }, {\n key: \"numberingSystem\",\n get: function get() {\n return this.isValid ? this.loc.numberingSystem : null;\n }\n }, {\n key: \"years\",\n get: function get() {\n return this.isValid ? this.values.years || 0 : NaN;\n }\n /**\n * Get the quarters.\n * @type {number}\n */\n\n }, {\n key: \"quarters\",\n get: function get() {\n return this.isValid ? this.values.quarters || 0 : NaN;\n }\n /**\n * Get the months.\n * @type {number}\n */\n\n }, {\n key: \"months\",\n get: function get() {\n return this.isValid ? this.values.months || 0 : NaN;\n }\n /**\n * Get the weeks\n * @type {number}\n */\n\n }, {\n key: \"weeks\",\n get: function get() {\n return this.isValid ? this.values.weeks || 0 : NaN;\n }\n /**\n * Get the days.\n * @type {number}\n */\n\n }, {\n key: \"days\",\n get: function get() {\n return this.isValid ? this.values.days || 0 : NaN;\n }\n /**\n * Get the hours.\n * @type {number}\n */\n\n }, {\n key: \"hours\",\n get: function get() {\n return this.isValid ? this.values.hours || 0 : NaN;\n }\n /**\n * Get the minutes.\n * @type {number}\n */\n\n }, {\n key: \"minutes\",\n get: function get() {\n return this.isValid ? this.values.minutes || 0 : NaN;\n }\n /**\n * Get the seconds.\n * @return {number}\n */\n\n }, {\n key: \"seconds\",\n get: function get() {\n return this.isValid ? this.values.seconds || 0 : NaN;\n }\n /**\n * Get the milliseconds.\n * @return {number}\n */\n\n }, {\n key: \"milliseconds\",\n get: function get() {\n return this.isValid ? this.values.milliseconds || 0 : NaN;\n }\n /**\n * Returns whether the Duration is invalid. Invalid durations are returned by diff operations\n * on invalid DateTimes or Intervals.\n * @return {boolean}\n */\n\n }, {\n key: \"isValid\",\n get: function get() {\n return this.invalid === null;\n }\n /**\n * Returns an error code if this Duration became invalid, or null if the Duration is valid\n * @return {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this Duration became invalid, or null if the Duration is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n }]);\n\n return Duration;\n}();\nfunction friendlyDuration(durationish) {\n if (isNumber(durationish)) {\n return Duration.fromMillis(durationish);\n } else if (Duration.isDuration(durationish)) {\n return durationish;\n } else if (typeof durationish === \"object\") {\n return Duration.fromObject(durationish);\n } else {\n throw new InvalidArgumentError(\"Unknown duration argument \" + durationish + \" of type \" + typeof durationish);\n }\n}\n\nvar INVALID$1 = \"Invalid Interval\"; // checks if the start is equal to or before the end\n\nfunction validateStartEnd(start, end) {\n if (!start || !start.isValid) {\n return Interval.invalid(\"missing or invalid start\");\n } else if (!end || !end.isValid) {\n return Interval.invalid(\"missing or invalid end\");\n } else if (end < start) {\n return Interval.invalid(\"end before start\", \"The end of an interval must be after its start, but you had start=\" + start.toISO() + \" and end=\" + end.toISO());\n } else {\n return null;\n }\n}\n/**\n * An Interval object represents a half-open interval of time, where each endpoint is a {@link DateTime}. Conceptually, it's a container for those two endpoints, accompanied by methods for creating, parsing, interrogating, comparing, transforming, and formatting them.\n *\n * Here is a brief overview of the most commonly used methods and getters in Interval:\n *\n * * **Creation** To create an Interval, use {@link fromDateTimes}, {@link after}, {@link before}, or {@link fromISO}.\n * * **Accessors** Use {@link start} and {@link end} to get the start and end.\n * * **Interrogation** To analyze the Interval, use {@link count}, {@link length}, {@link hasSame}, {@link contains}, {@link isAfter}, or {@link isBefore}.\n * * **Transformation** To create other Intervals out of this one, use {@link set}, {@link splitAt}, {@link splitBy}, {@link divideEqually}, {@link merge}, {@link xor}, {@link union}, {@link intersection}, or {@link difference}.\n * * **Comparison** To compare this Interval to another one, use {@link equals}, {@link overlaps}, {@link abutsStart}, {@link abutsEnd}, {@link engulfs}.\n * * **Output** To convert the Interval into other representations, see {@link toString}, {@link toISO}, {@link toISODate}, {@link toISOTime}, {@link toFormat}, and {@link toDuration}.\n */\n\n\nvar Interval = /*#__PURE__*/function () {\n /**\n * @private\n */\n function Interval(config) {\n /**\n * @access private\n */\n this.s = config.start;\n /**\n * @access private\n */\n\n this.e = config.end;\n /**\n * @access private\n */\n\n this.invalid = config.invalid || null;\n /**\n * @access private\n */\n\n this.isLuxonInterval = true;\n }\n /**\n * Create an invalid Interval.\n * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {Interval}\n */\n\n\n Interval.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the Interval is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidIntervalError(invalid);\n } else {\n return new Interval({\n invalid: invalid\n });\n }\n }\n /**\n * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.\n * @param {DateTime|Date|Object} start\n * @param {DateTime|Date|Object} end\n * @return {Interval}\n */\n ;\n\n Interval.fromDateTimes = function fromDateTimes(start, end) {\n var builtStart = friendlyDateTime(start),\n builtEnd = friendlyDateTime(end);\n var validateError = validateStartEnd(builtStart, builtEnd);\n\n if (validateError == null) {\n return new Interval({\n start: builtStart,\n end: builtEnd\n });\n } else {\n return validateError;\n }\n }\n /**\n * Create an Interval from a start DateTime and a Duration to extend to.\n * @param {DateTime|Date|Object} start\n * @param {Duration|Object|number} duration - the length of the Interval.\n * @return {Interval}\n */\n ;\n\n Interval.after = function after(start, duration) {\n var dur = friendlyDuration(duration),\n dt = friendlyDateTime(start);\n return Interval.fromDateTimes(dt, dt.plus(dur));\n }\n /**\n * Create an Interval from an end DateTime and a Duration to extend backwards to.\n * @param {DateTime|Date|Object} end\n * @param {Duration|Object|number} duration - the length of the Interval.\n * @return {Interval}\n */\n ;\n\n Interval.before = function before(end, duration) {\n var dur = friendlyDuration(duration),\n dt = friendlyDateTime(end);\n return Interval.fromDateTimes(dt.minus(dur), dt);\n }\n /**\n * Create an Interval from an ISO 8601 string.\n * Accepts `/`, `/`, and `/` formats.\n * @param {string} text - the ISO string to parse\n * @param {Object} [opts] - options to pass {@link DateTime.fromISO} and optionally {@link Duration.fromISO}\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @return {Interval}\n */\n ;\n\n Interval.fromISO = function fromISO(text, opts) {\n var _split = (text || \"\").split(\"/\", 2),\n s = _split[0],\n e = _split[1];\n\n if (s && e) {\n var start, startIsValid;\n\n try {\n start = DateTime.fromISO(s, opts);\n startIsValid = start.isValid;\n } catch (e) {\n startIsValid = false;\n }\n\n var end, endIsValid;\n\n try {\n end = DateTime.fromISO(e, opts);\n endIsValid = end.isValid;\n } catch (e) {\n endIsValid = false;\n }\n\n if (startIsValid && endIsValid) {\n return Interval.fromDateTimes(start, end);\n }\n\n if (startIsValid) {\n var dur = Duration.fromISO(e, opts);\n\n if (dur.isValid) {\n return Interval.after(start, dur);\n }\n } else if (endIsValid) {\n var _dur = Duration.fromISO(s, opts);\n\n if (_dur.isValid) {\n return Interval.before(end, _dur);\n }\n }\n }\n\n return Interval.invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as ISO 8601\");\n }\n /**\n * Check if an object is an Interval. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n Interval.isInterval = function isInterval(o) {\n return o && o.isLuxonInterval || false;\n }\n /**\n * Returns the start of the Interval\n * @type {DateTime}\n */\n ;\n\n var _proto = Interval.prototype;\n\n /**\n * Returns the length of the Interval in the specified unit.\n * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.\n * @return {number}\n */\n _proto.length = function length(unit) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n return this.isValid ? this.toDuration.apply(this, [unit]).get(unit) : NaN;\n }\n /**\n * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.\n * Unlike {@link length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'\n * asks 'what dates are included in this interval?', not 'how many days long is this interval?'\n * @param {string} [unit='milliseconds'] - the unit of time to count.\n * @return {number}\n */\n ;\n\n _proto.count = function count(unit) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (!this.isValid) return NaN;\n var start = this.start.startOf(unit),\n end = this.end.startOf(unit);\n return Math.floor(end.diff(start, unit).get(unit)) + 1;\n }\n /**\n * Returns whether this Interval's start and end are both in the same unit of time\n * @param {string} unit - the unit of time to check sameness on\n * @return {boolean}\n */\n ;\n\n _proto.hasSame = function hasSame(unit) {\n return this.isValid ? this.isEmpty() || this.e.minus(1).hasSame(this.s, unit) : false;\n }\n /**\n * Return whether this Interval has the same start and end DateTimes.\n * @return {boolean}\n */\n ;\n\n _proto.isEmpty = function isEmpty() {\n return this.s.valueOf() === this.e.valueOf();\n }\n /**\n * Return whether this Interval's start is after the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.isAfter = function isAfter(dateTime) {\n if (!this.isValid) return false;\n return this.s > dateTime;\n }\n /**\n * Return whether this Interval's end is before the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.isBefore = function isBefore(dateTime) {\n if (!this.isValid) return false;\n return this.e <= dateTime;\n }\n /**\n * Return whether this Interval contains the specified DateTime.\n * @param {DateTime} dateTime\n * @return {boolean}\n */\n ;\n\n _proto.contains = function contains(dateTime) {\n if (!this.isValid) return false;\n return this.s <= dateTime && this.e > dateTime;\n }\n /**\n * \"Sets\" the start and/or end dates. Returns a newly-constructed Interval.\n * @param {Object} values - the values to set\n * @param {DateTime} values.start - the starting DateTime\n * @param {DateTime} values.end - the ending DateTime\n * @return {Interval}\n */\n ;\n\n _proto.set = function set(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n start = _ref.start,\n end = _ref.end;\n\n if (!this.isValid) return this;\n return Interval.fromDateTimes(start || this.s, end || this.e);\n }\n /**\n * Split this Interval at each of the specified DateTimes\n * @param {...[DateTime]} dateTimes - the unit of time to count.\n * @return {[Interval]}\n */\n ;\n\n _proto.splitAt = function splitAt() {\n var _this = this;\n\n if (!this.isValid) return [];\n\n for (var _len = arguments.length, dateTimes = new Array(_len), _key = 0; _key < _len; _key++) {\n dateTimes[_key] = arguments[_key];\n }\n\n var sorted = dateTimes.map(friendlyDateTime).filter(function (d) {\n return _this.contains(d);\n }).sort(),\n results = [];\n var s = this.s,\n i = 0;\n\n while (s < this.e) {\n var added = sorted[i] || this.e,\n next = +added > +this.e ? this.e : added;\n results.push(Interval.fromDateTimes(s, next));\n s = next;\n i += 1;\n }\n\n return results;\n }\n /**\n * Split this Interval into smaller Intervals, each of the specified length.\n * Left over time is grouped into a smaller interval\n * @param {Duration|Object|number} duration - The length of each resulting interval.\n * @return {[Interval]}\n */\n ;\n\n _proto.splitBy = function splitBy(duration) {\n var dur = friendlyDuration(duration);\n\n if (!this.isValid || !dur.isValid || dur.as(\"milliseconds\") === 0) {\n return [];\n }\n\n var s = this.s,\n idx = 1,\n next;\n var results = [];\n\n while (s < this.e) {\n var added = this.start.plus(dur.mapUnits(function (x) {\n return x * idx;\n }));\n next = +added > +this.e ? this.e : added;\n results.push(Interval.fromDateTimes(s, next));\n s = next;\n idx += 1;\n }\n\n return results;\n }\n /**\n * Split this Interval into the specified number of smaller intervals.\n * @param {number} numberOfParts - The number of Intervals to divide the Interval into.\n * @return {[Interval]}\n */\n ;\n\n _proto.divideEqually = function divideEqually(numberOfParts) {\n if (!this.isValid) return [];\n return this.splitBy(this.length() / numberOfParts).slice(0, numberOfParts);\n }\n /**\n * Return whether this Interval overlaps with the specified Interval\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.overlaps = function overlaps(other) {\n return this.e > other.s && this.s < other.e;\n }\n /**\n * Return whether this Interval's end is adjacent to the specified Interval's start.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.abutsStart = function abutsStart(other) {\n if (!this.isValid) return false;\n return +this.e === +other.s;\n }\n /**\n * Return whether this Interval's start is adjacent to the specified Interval's end.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.abutsEnd = function abutsEnd(other) {\n if (!this.isValid) return false;\n return +other.e === +this.s;\n }\n /**\n * Return whether this Interval engulfs the start and end of the specified Interval.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.engulfs = function engulfs(other) {\n if (!this.isValid) return false;\n return this.s <= other.s && this.e >= other.e;\n }\n /**\n * Return whether this Interval has the same start and end as the specified Interval.\n * @param {Interval} other\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(other) {\n if (!this.isValid || !other.isValid) {\n return false;\n }\n\n return this.s.equals(other.s) && this.e.equals(other.e);\n }\n /**\n * Return an Interval representing the intersection of this Interval and the specified Interval.\n * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.\n * Returns null if the intersection is empty, meaning, the intervals don't intersect.\n * @param {Interval} other\n * @return {Interval}\n */\n ;\n\n _proto.intersection = function intersection(other) {\n if (!this.isValid) return this;\n var s = this.s > other.s ? this.s : other.s,\n e = this.e < other.e ? this.e : other.e;\n\n if (s >= e) {\n return null;\n } else {\n return Interval.fromDateTimes(s, e);\n }\n }\n /**\n * Return an Interval representing the union of this Interval and the specified Interval.\n * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.\n * @param {Interval} other\n * @return {Interval}\n */\n ;\n\n _proto.union = function union(other) {\n if (!this.isValid) return this;\n var s = this.s < other.s ? this.s : other.s,\n e = this.e > other.e ? this.e : other.e;\n return Interval.fromDateTimes(s, e);\n }\n /**\n * Merge an array of Intervals into a equivalent minimal set of Intervals.\n * Combines overlapping and adjacent Intervals.\n * @param {[Interval]} intervals\n * @return {[Interval]}\n */\n ;\n\n Interval.merge = function merge(intervals) {\n var _intervals$sort$reduc = intervals.sort(function (a, b) {\n return a.s - b.s;\n }).reduce(function (_ref2, item) {\n var sofar = _ref2[0],\n current = _ref2[1];\n\n if (!current) {\n return [sofar, item];\n } else if (current.overlaps(item) || current.abutsStart(item)) {\n return [sofar, current.union(item)];\n } else {\n return [sofar.concat([current]), item];\n }\n }, [[], null]),\n found = _intervals$sort$reduc[0],\n final = _intervals$sort$reduc[1];\n\n if (final) {\n found.push(final);\n }\n\n return found;\n }\n /**\n * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.\n * @param {[Interval]} intervals\n * @return {[Interval]}\n */\n ;\n\n Interval.xor = function xor(intervals) {\n var _Array$prototype;\n\n var start = null,\n currentCount = 0;\n\n var results = [],\n ends = intervals.map(function (i) {\n return [{\n time: i.s,\n type: \"s\"\n }, {\n time: i.e,\n type: \"e\"\n }];\n }),\n flattened = (_Array$prototype = Array.prototype).concat.apply(_Array$prototype, ends),\n arr = flattened.sort(function (a, b) {\n return a.time - b.time;\n });\n\n for (var _iterator = _createForOfIteratorHelperLoose(arr), _step; !(_step = _iterator()).done;) {\n var i = _step.value;\n currentCount += i.type === \"s\" ? 1 : -1;\n\n if (currentCount === 1) {\n start = i.time;\n } else {\n if (start && +start !== +i.time) {\n results.push(Interval.fromDateTimes(start, i.time));\n }\n\n start = null;\n }\n }\n\n return Interval.merge(results);\n }\n /**\n * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.\n * @param {...Interval} intervals\n * @return {[Interval]}\n */\n ;\n\n _proto.difference = function difference() {\n var _this2 = this;\n\n for (var _len2 = arguments.length, intervals = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n intervals[_key2] = arguments[_key2];\n }\n\n return Interval.xor([this].concat(intervals)).map(function (i) {\n return _this2.intersection(i);\n }).filter(function (i) {\n return i && !i.isEmpty();\n });\n }\n /**\n * Returns a string representation of this Interval appropriate for debugging.\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n if (!this.isValid) return INVALID$1;\n return \"[\" + this.s.toISO() + \" \\u2013 \" + this.e.toISO() + \")\";\n }\n /**\n * Returns an ISO 8601-compliant string representation of this Interval.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @param {Object} opts - The same options as {@link DateTime.toISO}\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO(opts) {\n if (!this.isValid) return INVALID$1;\n return this.s.toISO(opts) + \"/\" + this.e.toISO(opts);\n }\n /**\n * Returns an ISO 8601-compliant string representation of date of this Interval.\n * The time components are ignored.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @return {string}\n */\n ;\n\n _proto.toISODate = function toISODate() {\n if (!this.isValid) return INVALID$1;\n return this.s.toISODate() + \"/\" + this.e.toISODate();\n }\n /**\n * Returns an ISO 8601-compliant string representation of time of this Interval.\n * The date components are ignored.\n * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals\n * @param {Object} opts - The same options as {@link DateTime.toISO}\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(opts) {\n if (!this.isValid) return INVALID$1;\n return this.s.toISOTime(opts) + \"/\" + this.e.toISOTime(opts);\n }\n /**\n * Returns a string representation of this Interval formatted according to the specified format string.\n * @param {string} dateFormat - the format string. This string formats the start and end time. See {@link DateTime.toFormat} for details.\n * @param {Object} opts - options\n * @param {string} [opts.separator = ' – '] - a separator to place between the start and end representations\n * @return {string}\n */\n ;\n\n _proto.toFormat = function toFormat(dateFormat, _temp2) {\n var _ref3 = _temp2 === void 0 ? {} : _temp2,\n _ref3$separator = _ref3.separator,\n separator = _ref3$separator === void 0 ? \" – \" : _ref3$separator;\n\n if (!this.isValid) return INVALID$1;\n return \"\" + this.s.toFormat(dateFormat) + separator + this.e.toFormat(dateFormat);\n }\n /**\n * Return a Duration representing the time spanned by this interval.\n * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }\n * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }\n * @return {Duration}\n */\n ;\n\n _proto.toDuration = function toDuration(unit, opts) {\n if (!this.isValid) {\n return Duration.invalid(this.invalidReason);\n }\n\n return this.e.diff(this.s, unit, opts);\n }\n /**\n * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes\n * @param {function} mapFn\n * @return {Interval}\n * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())\n * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))\n */\n ;\n\n _proto.mapEndpoints = function mapEndpoints(mapFn) {\n return Interval.fromDateTimes(mapFn(this.s), mapFn(this.e));\n };\n\n _createClass(Interval, [{\n key: \"start\",\n get: function get() {\n return this.isValid ? this.s : null;\n }\n /**\n * Returns the end of the Interval\n * @type {DateTime}\n */\n\n }, {\n key: \"end\",\n get: function get() {\n return this.isValid ? this.e : null;\n }\n /**\n * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.\n * @type {boolean}\n */\n\n }, {\n key: \"isValid\",\n get: function get() {\n return this.invalidReason === null;\n }\n /**\n * Returns an error code if this Interval is invalid, or null if the Interval is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this Interval became invalid, or null if the Interval is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n }]);\n\n return Interval;\n}();\n\n/**\n * The Info class contains static methods for retrieving general time and date related data. For example, it has methods for finding out if a time zone has a DST, for listing the months in any supported locale, and for discovering which of Luxon features are available in the current environment.\n */\n\nvar Info = /*#__PURE__*/function () {\n function Info() {}\n\n /**\n * Return whether the specified zone contains a DST.\n * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.\n * @return {boolean}\n */\n Info.hasDST = function hasDST(zone) {\n if (zone === void 0) {\n zone = Settings.defaultZone;\n }\n\n var proto = DateTime.now().setZone(zone).set({\n month: 12\n });\n return !zone.universal && proto.offset !== proto.set({\n month: 6\n }).offset;\n }\n /**\n * Return whether the specified zone is a valid IANA specifier.\n * @param {string} zone - Zone to check\n * @return {boolean}\n */\n ;\n\n Info.isValidIANAZone = function isValidIANAZone(zone) {\n return IANAZone.isValidSpecifier(zone) && IANAZone.isValidZone(zone);\n }\n /**\n * Converts the input into a {@link Zone} instance.\n *\n * * If `input` is already a Zone instance, it is returned unchanged.\n * * If `input` is a string containing a valid time zone name, a Zone instance\n * with that name is returned.\n * * If `input` is a string that doesn't refer to a known time zone, a Zone\n * instance with {@link Zone.isValid} == false is returned.\n * * If `input is a number, a Zone instance with the specified fixed offset\n * in minutes is returned.\n * * If `input` is `null` or `undefined`, the default zone is returned.\n * @param {string|Zone|number} [input] - the value to be converted\n * @return {Zone}\n */\n ;\n\n Info.normalizeZone = function normalizeZone$1(input) {\n return normalizeZone(input, Settings.defaultZone);\n }\n /**\n * Return an array of standalone month names.\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param {string} [length='long'] - the length of the month representation, such as \"numeric\", \"2-digit\", \"narrow\", \"short\", \"long\"\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @param {string} [opts.outputCalendar='gregory'] - the calendar\n * @example Info.months()[0] //=> 'January'\n * @example Info.months('short')[0] //=> 'Jan'\n * @example Info.months('numeric')[0] //=> '1'\n * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'\n * @example Info.months('numeric', { locale: 'ar' })[0] //=> '١'\n * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'Rabiʻ I'\n * @return {[string]}\n */\n ;\n\n Info.months = function months(length, _temp) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$locale = _ref.locale,\n locale = _ref$locale === void 0 ? null : _ref$locale,\n _ref$numberingSystem = _ref.numberingSystem,\n numberingSystem = _ref$numberingSystem === void 0 ? null : _ref$numberingSystem,\n _ref$locObj = _ref.locObj,\n locObj = _ref$locObj === void 0 ? null : _ref$locObj,\n _ref$outputCalendar = _ref.outputCalendar,\n outputCalendar = _ref$outputCalendar === void 0 ? \"gregory\" : _ref$outputCalendar;\n\n return (locObj || Locale.create(locale, numberingSystem, outputCalendar)).months(length);\n }\n /**\n * Return an array of format month names.\n * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that\n * changes the string.\n * See {@link months}\n * @param {string} [length='long'] - the length of the month representation, such as \"numeric\", \"2-digit\", \"narrow\", \"short\", \"long\"\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @param {string} [opts.outputCalendar='gregory'] - the calendar\n * @return {[string]}\n */\n ;\n\n Info.monthsFormat = function monthsFormat(length, _temp2) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref2 = _temp2 === void 0 ? {} : _temp2,\n _ref2$locale = _ref2.locale,\n locale = _ref2$locale === void 0 ? null : _ref2$locale,\n _ref2$numberingSystem = _ref2.numberingSystem,\n numberingSystem = _ref2$numberingSystem === void 0 ? null : _ref2$numberingSystem,\n _ref2$locObj = _ref2.locObj,\n locObj = _ref2$locObj === void 0 ? null : _ref2$locObj,\n _ref2$outputCalendar = _ref2.outputCalendar,\n outputCalendar = _ref2$outputCalendar === void 0 ? \"gregory\" : _ref2$outputCalendar;\n\n return (locObj || Locale.create(locale, numberingSystem, outputCalendar)).months(length, true);\n }\n /**\n * Return an array of standalone week names.\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param {string} [length='long'] - the length of the weekday representation, such as \"narrow\", \"short\", \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @example Info.weekdays()[0] //=> 'Monday'\n * @example Info.weekdays('short')[0] //=> 'Mon'\n * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'\n * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'\n * @return {[string]}\n */\n ;\n\n Info.weekdays = function weekdays(length, _temp3) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref3 = _temp3 === void 0 ? {} : _temp3,\n _ref3$locale = _ref3.locale,\n locale = _ref3$locale === void 0 ? null : _ref3$locale,\n _ref3$numberingSystem = _ref3.numberingSystem,\n numberingSystem = _ref3$numberingSystem === void 0 ? null : _ref3$numberingSystem,\n _ref3$locObj = _ref3.locObj,\n locObj = _ref3$locObj === void 0 ? null : _ref3$locObj;\n\n return (locObj || Locale.create(locale, numberingSystem, null)).weekdays(length);\n }\n /**\n * Return an array of format week names.\n * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that\n * changes the string.\n * See {@link weekdays}\n * @param {string} [length='long'] - the length of the weekday representation, such as \"narrow\", \"short\", \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale=null] - the locale code\n * @param {string} [opts.numberingSystem=null] - the numbering system\n * @param {string} [opts.locObj=null] - an existing locale object to use\n * @return {[string]}\n */\n ;\n\n Info.weekdaysFormat = function weekdaysFormat(length, _temp4) {\n if (length === void 0) {\n length = \"long\";\n }\n\n var _ref4 = _temp4 === void 0 ? {} : _temp4,\n _ref4$locale = _ref4.locale,\n locale = _ref4$locale === void 0 ? null : _ref4$locale,\n _ref4$numberingSystem = _ref4.numberingSystem,\n numberingSystem = _ref4$numberingSystem === void 0 ? null : _ref4$numberingSystem,\n _ref4$locObj = _ref4.locObj,\n locObj = _ref4$locObj === void 0 ? null : _ref4$locObj;\n\n return (locObj || Locale.create(locale, numberingSystem, null)).weekdays(length, true);\n }\n /**\n * Return an array of meridiems.\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @example Info.meridiems() //=> [ 'AM', 'PM' ]\n * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]\n * @return {[string]}\n */\n ;\n\n Info.meridiems = function meridiems(_temp5) {\n var _ref5 = _temp5 === void 0 ? {} : _temp5,\n _ref5$locale = _ref5.locale,\n locale = _ref5$locale === void 0 ? null : _ref5$locale;\n\n return Locale.create(locale).meridiems();\n }\n /**\n * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.\n * @param {string} [length='short'] - the length of the era representation, such as \"short\" or \"long\".\n * @param {Object} opts - options\n * @param {string} [opts.locale] - the locale code\n * @example Info.eras() //=> [ 'BC', 'AD' ]\n * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]\n * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]\n * @return {[string]}\n */\n ;\n\n Info.eras = function eras(length, _temp6) {\n if (length === void 0) {\n length = \"short\";\n }\n\n var _ref6 = _temp6 === void 0 ? {} : _temp6,\n _ref6$locale = _ref6.locale,\n locale = _ref6$locale === void 0 ? null : _ref6$locale;\n\n return Locale.create(locale, null, \"gregory\").eras(length);\n }\n /**\n * Return the set of available features in this environment.\n * Some features of Luxon are not available in all environments. For example, on older browsers, timezone support is not available. Use this function to figure out if that's the case.\n * Keys:\n * * `zones`: whether this environment supports IANA timezones\n * * `intlTokens`: whether this environment supports internationalized token-based formatting/parsing\n * * `intl`: whether this environment supports general internationalization\n * * `relative`: whether this environment supports relative time formatting\n * @example Info.features() //=> { intl: true, intlTokens: false, zones: true, relative: false }\n * @return {Object}\n */\n ;\n\n Info.features = function features() {\n var intl = false,\n intlTokens = false,\n zones = false,\n relative = false;\n\n if (hasIntl()) {\n intl = true;\n intlTokens = hasFormatToParts();\n relative = hasRelative();\n\n try {\n zones = new Intl.DateTimeFormat(\"en\", {\n timeZone: \"America/New_York\"\n }).resolvedOptions().timeZone === \"America/New_York\";\n } catch (e) {\n zones = false;\n }\n }\n\n return {\n intl: intl,\n intlTokens: intlTokens,\n zones: zones,\n relative: relative\n };\n };\n\n return Info;\n}();\n\nfunction dayDiff(earlier, later) {\n var utcDayStart = function utcDayStart(dt) {\n return dt.toUTC(0, {\n keepLocalTime: true\n }).startOf(\"day\").valueOf();\n },\n ms = utcDayStart(later) - utcDayStart(earlier);\n\n return Math.floor(Duration.fromMillis(ms).as(\"days\"));\n}\n\nfunction highOrderDiffs(cursor, later, units) {\n var differs = [[\"years\", function (a, b) {\n return b.year - a.year;\n }], [\"quarters\", function (a, b) {\n return b.quarter - a.quarter;\n }], [\"months\", function (a, b) {\n return b.month - a.month + (b.year - a.year) * 12;\n }], [\"weeks\", function (a, b) {\n var days = dayDiff(a, b);\n return (days - days % 7) / 7;\n }], [\"days\", dayDiff]];\n var results = {};\n var lowestOrder, highWater;\n\n for (var _i = 0, _differs = differs; _i < _differs.length; _i++) {\n var _differs$_i = _differs[_i],\n unit = _differs$_i[0],\n differ = _differs$_i[1];\n\n if (units.indexOf(unit) >= 0) {\n var _cursor$plus;\n\n lowestOrder = unit;\n var delta = differ(cursor, later);\n highWater = cursor.plus((_cursor$plus = {}, _cursor$plus[unit] = delta, _cursor$plus));\n\n if (highWater > later) {\n var _cursor$plus2;\n\n cursor = cursor.plus((_cursor$plus2 = {}, _cursor$plus2[unit] = delta - 1, _cursor$plus2));\n delta -= 1;\n } else {\n cursor = highWater;\n }\n\n results[unit] = delta;\n }\n }\n\n return [cursor, results, highWater, lowestOrder];\n}\n\nfunction _diff (earlier, later, units, opts) {\n var _highOrderDiffs = highOrderDiffs(earlier, later, units),\n cursor = _highOrderDiffs[0],\n results = _highOrderDiffs[1],\n highWater = _highOrderDiffs[2],\n lowestOrder = _highOrderDiffs[3];\n\n var remainingMillis = later - cursor;\n var lowerOrderUnits = units.filter(function (u) {\n return [\"hours\", \"minutes\", \"seconds\", \"milliseconds\"].indexOf(u) >= 0;\n });\n\n if (lowerOrderUnits.length === 0) {\n if (highWater < later) {\n var _cursor$plus3;\n\n highWater = cursor.plus((_cursor$plus3 = {}, _cursor$plus3[lowestOrder] = 1, _cursor$plus3));\n }\n\n if (highWater !== cursor) {\n results[lowestOrder] = (results[lowestOrder] || 0) + remainingMillis / (highWater - cursor);\n }\n }\n\n var duration = Duration.fromObject(Object.assign(results, opts));\n\n if (lowerOrderUnits.length > 0) {\n var _Duration$fromMillis;\n\n return (_Duration$fromMillis = Duration.fromMillis(remainingMillis, opts)).shiftTo.apply(_Duration$fromMillis, lowerOrderUnits).plus(duration);\n } else {\n return duration;\n }\n}\n\nvar numberingSystems = {\n arab: \"[\\u0660-\\u0669]\",\n arabext: \"[\\u06F0-\\u06F9]\",\n bali: \"[\\u1B50-\\u1B59]\",\n beng: \"[\\u09E6-\\u09EF]\",\n deva: \"[\\u0966-\\u096F]\",\n fullwide: \"[\\uFF10-\\uFF19]\",\n gujr: \"[\\u0AE6-\\u0AEF]\",\n hanidec: \"[〇|一|二|三|四|五|六|七|八|九]\",\n khmr: \"[\\u17E0-\\u17E9]\",\n knda: \"[\\u0CE6-\\u0CEF]\",\n laoo: \"[\\u0ED0-\\u0ED9]\",\n limb: \"[\\u1946-\\u194F]\",\n mlym: \"[\\u0D66-\\u0D6F]\",\n mong: \"[\\u1810-\\u1819]\",\n mymr: \"[\\u1040-\\u1049]\",\n orya: \"[\\u0B66-\\u0B6F]\",\n tamldec: \"[\\u0BE6-\\u0BEF]\",\n telu: \"[\\u0C66-\\u0C6F]\",\n thai: \"[\\u0E50-\\u0E59]\",\n tibt: \"[\\u0F20-\\u0F29]\",\n latn: \"\\\\d\"\n};\nvar numberingSystemsUTF16 = {\n arab: [1632, 1641],\n arabext: [1776, 1785],\n bali: [6992, 7001],\n beng: [2534, 2543],\n deva: [2406, 2415],\n fullwide: [65296, 65303],\n gujr: [2790, 2799],\n khmr: [6112, 6121],\n knda: [3302, 3311],\n laoo: [3792, 3801],\n limb: [6470, 6479],\n mlym: [3430, 3439],\n mong: [6160, 6169],\n mymr: [4160, 4169],\n orya: [2918, 2927],\n tamldec: [3046, 3055],\n telu: [3174, 3183],\n thai: [3664, 3673],\n tibt: [3872, 3881]\n}; // eslint-disable-next-line\n\nvar hanidecChars = numberingSystems.hanidec.replace(/[\\[|\\]]/g, \"\").split(\"\");\nfunction parseDigits(str) {\n var value = parseInt(str, 10);\n\n if (isNaN(value)) {\n value = \"\";\n\n for (var i = 0; i < str.length; i++) {\n var code = str.charCodeAt(i);\n\n if (str[i].search(numberingSystems.hanidec) !== -1) {\n value += hanidecChars.indexOf(str[i]);\n } else {\n for (var key in numberingSystemsUTF16) {\n var _numberingSystemsUTF = numberingSystemsUTF16[key],\n min = _numberingSystemsUTF[0],\n max = _numberingSystemsUTF[1];\n\n if (code >= min && code <= max) {\n value += code - min;\n }\n }\n }\n }\n\n return parseInt(value, 10);\n } else {\n return value;\n }\n}\nfunction digitRegex(_ref, append) {\n var numberingSystem = _ref.numberingSystem;\n\n if (append === void 0) {\n append = \"\";\n }\n\n return new RegExp(\"\" + numberingSystems[numberingSystem || \"latn\"] + append);\n}\n\nvar MISSING_FTP = \"missing Intl.DateTimeFormat.formatToParts support\";\n\nfunction intUnit(regex, post) {\n if (post === void 0) {\n post = function post(i) {\n return i;\n };\n }\n\n return {\n regex: regex,\n deser: function deser(_ref) {\n var s = _ref[0];\n return post(parseDigits(s));\n }\n };\n}\n\nvar NBSP = String.fromCharCode(160);\nvar spaceOrNBSP = \"( |\" + NBSP + \")\";\nvar spaceOrNBSPRegExp = new RegExp(spaceOrNBSP, \"g\");\n\nfunction fixListRegex(s) {\n // make dots optional and also make them literal\n // make space and non breakable space characters interchangeable\n return s.replace(/\\./g, \"\\\\.?\").replace(spaceOrNBSPRegExp, spaceOrNBSP);\n}\n\nfunction stripInsensitivities(s) {\n return s.replace(/\\./g, \"\") // ignore dots that were made optional\n .replace(spaceOrNBSPRegExp, \" \") // interchange space and nbsp\n .toLowerCase();\n}\n\nfunction oneOf(strings, startIndex) {\n if (strings === null) {\n return null;\n } else {\n return {\n regex: RegExp(strings.map(fixListRegex).join(\"|\")),\n deser: function deser(_ref2) {\n var s = _ref2[0];\n return strings.findIndex(function (i) {\n return stripInsensitivities(s) === stripInsensitivities(i);\n }) + startIndex;\n }\n };\n }\n}\n\nfunction offset(regex, groups) {\n return {\n regex: regex,\n deser: function deser(_ref3) {\n var h = _ref3[1],\n m = _ref3[2];\n return signedOffset(h, m);\n },\n groups: groups\n };\n}\n\nfunction simple(regex) {\n return {\n regex: regex,\n deser: function deser(_ref4) {\n var s = _ref4[0];\n return s;\n }\n };\n}\n\nfunction escapeToken(value) {\n // eslint-disable-next-line no-useless-escape\n return value.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g, \"\\\\$&\");\n}\n\nfunction unitForToken(token, loc) {\n var one = digitRegex(loc),\n two = digitRegex(loc, \"{2}\"),\n three = digitRegex(loc, \"{3}\"),\n four = digitRegex(loc, \"{4}\"),\n six = digitRegex(loc, \"{6}\"),\n oneOrTwo = digitRegex(loc, \"{1,2}\"),\n oneToThree = digitRegex(loc, \"{1,3}\"),\n oneToSix = digitRegex(loc, \"{1,6}\"),\n oneToNine = digitRegex(loc, \"{1,9}\"),\n twoToFour = digitRegex(loc, \"{2,4}\"),\n fourToSix = digitRegex(loc, \"{4,6}\"),\n literal = function literal(t) {\n return {\n regex: RegExp(escapeToken(t.val)),\n deser: function deser(_ref5) {\n var s = _ref5[0];\n return s;\n },\n literal: true\n };\n },\n unitate = function unitate(t) {\n if (token.literal) {\n return literal(t);\n }\n\n switch (t.val) {\n // era\n case \"G\":\n return oneOf(loc.eras(\"short\", false), 0);\n\n case \"GG\":\n return oneOf(loc.eras(\"long\", false), 0);\n // years\n\n case \"y\":\n return intUnit(oneToSix);\n\n case \"yy\":\n return intUnit(twoToFour, untruncateYear);\n\n case \"yyyy\":\n return intUnit(four);\n\n case \"yyyyy\":\n return intUnit(fourToSix);\n\n case \"yyyyyy\":\n return intUnit(six);\n // months\n\n case \"M\":\n return intUnit(oneOrTwo);\n\n case \"MM\":\n return intUnit(two);\n\n case \"MMM\":\n return oneOf(loc.months(\"short\", true, false), 1);\n\n case \"MMMM\":\n return oneOf(loc.months(\"long\", true, false), 1);\n\n case \"L\":\n return intUnit(oneOrTwo);\n\n case \"LL\":\n return intUnit(two);\n\n case \"LLL\":\n return oneOf(loc.months(\"short\", false, false), 1);\n\n case \"LLLL\":\n return oneOf(loc.months(\"long\", false, false), 1);\n // dates\n\n case \"d\":\n return intUnit(oneOrTwo);\n\n case \"dd\":\n return intUnit(two);\n // ordinals\n\n case \"o\":\n return intUnit(oneToThree);\n\n case \"ooo\":\n return intUnit(three);\n // time\n\n case \"HH\":\n return intUnit(two);\n\n case \"H\":\n return intUnit(oneOrTwo);\n\n case \"hh\":\n return intUnit(two);\n\n case \"h\":\n return intUnit(oneOrTwo);\n\n case \"mm\":\n return intUnit(two);\n\n case \"m\":\n return intUnit(oneOrTwo);\n\n case \"q\":\n return intUnit(oneOrTwo);\n\n case \"qq\":\n return intUnit(two);\n\n case \"s\":\n return intUnit(oneOrTwo);\n\n case \"ss\":\n return intUnit(two);\n\n case \"S\":\n return intUnit(oneToThree);\n\n case \"SSS\":\n return intUnit(three);\n\n case \"u\":\n return simple(oneToNine);\n // meridiem\n\n case \"a\":\n return oneOf(loc.meridiems(), 0);\n // weekYear (k)\n\n case \"kkkk\":\n return intUnit(four);\n\n case \"kk\":\n return intUnit(twoToFour, untruncateYear);\n // weekNumber (W)\n\n case \"W\":\n return intUnit(oneOrTwo);\n\n case \"WW\":\n return intUnit(two);\n // weekdays\n\n case \"E\":\n case \"c\":\n return intUnit(one);\n\n case \"EEE\":\n return oneOf(loc.weekdays(\"short\", false, false), 1);\n\n case \"EEEE\":\n return oneOf(loc.weekdays(\"long\", false, false), 1);\n\n case \"ccc\":\n return oneOf(loc.weekdays(\"short\", true, false), 1);\n\n case \"cccc\":\n return oneOf(loc.weekdays(\"long\", true, false), 1);\n // offset/zone\n\n case \"Z\":\n case \"ZZ\":\n return offset(new RegExp(\"([+-]\" + oneOrTwo.source + \")(?::(\" + two.source + \"))?\"), 2);\n\n case \"ZZZ\":\n return offset(new RegExp(\"([+-]\" + oneOrTwo.source + \")(\" + two.source + \")?\"), 2);\n // we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing\n // because we don't have any way to figure out what they are\n\n case \"z\":\n return simple(/[a-z_+-/]{1,256}?/i);\n\n default:\n return literal(t);\n }\n };\n\n var unit = unitate(token) || {\n invalidReason: MISSING_FTP\n };\n unit.token = token;\n return unit;\n}\n\nvar partTypeStyleToTokenVal = {\n year: {\n \"2-digit\": \"yy\",\n numeric: \"yyyyy\"\n },\n month: {\n numeric: \"M\",\n \"2-digit\": \"MM\",\n short: \"MMM\",\n long: \"MMMM\"\n },\n day: {\n numeric: \"d\",\n \"2-digit\": \"dd\"\n },\n weekday: {\n short: \"EEE\",\n long: \"EEEE\"\n },\n dayperiod: \"a\",\n dayPeriod: \"a\",\n hour: {\n numeric: \"h\",\n \"2-digit\": \"hh\"\n },\n minute: {\n numeric: \"m\",\n \"2-digit\": \"mm\"\n },\n second: {\n numeric: \"s\",\n \"2-digit\": \"ss\"\n }\n};\n\nfunction tokenForPart(part, locale, formatOpts) {\n var type = part.type,\n value = part.value;\n\n if (type === \"literal\") {\n return {\n literal: true,\n val: value\n };\n }\n\n var style = formatOpts[type];\n var val = partTypeStyleToTokenVal[type];\n\n if (typeof val === \"object\") {\n val = val[style];\n }\n\n if (val) {\n return {\n literal: false,\n val: val\n };\n }\n\n return undefined;\n}\n\nfunction buildRegex(units) {\n var re = units.map(function (u) {\n return u.regex;\n }).reduce(function (f, r) {\n return f + \"(\" + r.source + \")\";\n }, \"\");\n return [\"^\" + re + \"$\", units];\n}\n\nfunction match(input, regex, handlers) {\n var matches = input.match(regex);\n\n if (matches) {\n var all = {};\n var matchIndex = 1;\n\n for (var i in handlers) {\n if (hasOwnProperty(handlers, i)) {\n var h = handlers[i],\n groups = h.groups ? h.groups + 1 : 1;\n\n if (!h.literal && h.token) {\n all[h.token.val[0]] = h.deser(matches.slice(matchIndex, matchIndex + groups));\n }\n\n matchIndex += groups;\n }\n }\n\n return [matches, all];\n } else {\n return [matches, {}];\n }\n}\n\nfunction dateTimeFromMatches(matches) {\n var toField = function toField(token) {\n switch (token) {\n case \"S\":\n return \"millisecond\";\n\n case \"s\":\n return \"second\";\n\n case \"m\":\n return \"minute\";\n\n case \"h\":\n case \"H\":\n return \"hour\";\n\n case \"d\":\n return \"day\";\n\n case \"o\":\n return \"ordinal\";\n\n case \"L\":\n case \"M\":\n return \"month\";\n\n case \"y\":\n return \"year\";\n\n case \"E\":\n case \"c\":\n return \"weekday\";\n\n case \"W\":\n return \"weekNumber\";\n\n case \"k\":\n return \"weekYear\";\n\n case \"q\":\n return \"quarter\";\n\n default:\n return null;\n }\n };\n\n var zone;\n\n if (!isUndefined(matches.Z)) {\n zone = new FixedOffsetZone(matches.Z);\n } else if (!isUndefined(matches.z)) {\n zone = IANAZone.create(matches.z);\n } else {\n zone = null;\n }\n\n if (!isUndefined(matches.q)) {\n matches.M = (matches.q - 1) * 3 + 1;\n }\n\n if (!isUndefined(matches.h)) {\n if (matches.h < 12 && matches.a === 1) {\n matches.h += 12;\n } else if (matches.h === 12 && matches.a === 0) {\n matches.h = 0;\n }\n }\n\n if (matches.G === 0 && matches.y) {\n matches.y = -matches.y;\n }\n\n if (!isUndefined(matches.u)) {\n matches.S = parseMillis(matches.u);\n }\n\n var vals = Object.keys(matches).reduce(function (r, k) {\n var f = toField(k);\n\n if (f) {\n r[f] = matches[k];\n }\n\n return r;\n }, {});\n return [vals, zone];\n}\n\nvar dummyDateTimeCache = null;\n\nfunction getDummyDateTime() {\n if (!dummyDateTimeCache) {\n dummyDateTimeCache = DateTime.fromMillis(1555555555555);\n }\n\n return dummyDateTimeCache;\n}\n\nfunction maybeExpandMacroToken(token, locale) {\n if (token.literal) {\n return token;\n }\n\n var formatOpts = Formatter.macroTokenToFormatOpts(token.val);\n\n if (!formatOpts) {\n return token;\n }\n\n var formatter = Formatter.create(locale, formatOpts);\n var parts = formatter.formatDateTimeParts(getDummyDateTime());\n var tokens = parts.map(function (p) {\n return tokenForPart(p, locale, formatOpts);\n });\n\n if (tokens.includes(undefined)) {\n return token;\n }\n\n return tokens;\n}\n\nfunction expandMacroTokens(tokens, locale) {\n var _Array$prototype;\n\n return (_Array$prototype = Array.prototype).concat.apply(_Array$prototype, tokens.map(function (t) {\n return maybeExpandMacroToken(t, locale);\n }));\n}\n/**\n * @private\n */\n\n\nfunction explainFromTokens(locale, input, format) {\n var tokens = expandMacroTokens(Formatter.parseFormat(format), locale),\n units = tokens.map(function (t) {\n return unitForToken(t, locale);\n }),\n disqualifyingUnit = units.find(function (t) {\n return t.invalidReason;\n });\n\n if (disqualifyingUnit) {\n return {\n input: input,\n tokens: tokens,\n invalidReason: disqualifyingUnit.invalidReason\n };\n } else {\n var _buildRegex = buildRegex(units),\n regexString = _buildRegex[0],\n handlers = _buildRegex[1],\n regex = RegExp(regexString, \"i\"),\n _match = match(input, regex, handlers),\n rawMatches = _match[0],\n matches = _match[1],\n _ref6 = matches ? dateTimeFromMatches(matches) : [null, null],\n result = _ref6[0],\n zone = _ref6[1];\n\n if (hasOwnProperty(matches, \"a\") && hasOwnProperty(matches, \"H\")) {\n throw new ConflictingSpecificationError(\"Can't include meridiem when specifying 24-hour format\");\n }\n\n return {\n input: input,\n tokens: tokens,\n regex: regex,\n rawMatches: rawMatches,\n matches: matches,\n result: result,\n zone: zone\n };\n }\n}\nfunction parseFromTokens(locale, input, format) {\n var _explainFromTokens = explainFromTokens(locale, input, format),\n result = _explainFromTokens.result,\n zone = _explainFromTokens.zone,\n invalidReason = _explainFromTokens.invalidReason;\n\n return [result, zone, invalidReason];\n}\n\nvar nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],\n leapLadder = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];\n\nfunction unitOutOfRange(unit, value) {\n return new Invalid(\"unit out of range\", \"you specified \" + value + \" (of type \" + typeof value + \") as a \" + unit + \", which is invalid\");\n}\n\nfunction dayOfWeek(year, month, day) {\n var js = new Date(Date.UTC(year, month - 1, day)).getUTCDay();\n return js === 0 ? 7 : js;\n}\n\nfunction computeOrdinal(year, month, day) {\n return day + (isLeapYear(year) ? leapLadder : nonLeapLadder)[month - 1];\n}\n\nfunction uncomputeOrdinal(year, ordinal) {\n var table = isLeapYear(year) ? leapLadder : nonLeapLadder,\n month0 = table.findIndex(function (i) {\n return i < ordinal;\n }),\n day = ordinal - table[month0];\n return {\n month: month0 + 1,\n day: day\n };\n}\n/**\n * @private\n */\n\n\nfunction gregorianToWeek(gregObj) {\n var year = gregObj.year,\n month = gregObj.month,\n day = gregObj.day,\n ordinal = computeOrdinal(year, month, day),\n weekday = dayOfWeek(year, month, day);\n var weekNumber = Math.floor((ordinal - weekday + 10) / 7),\n weekYear;\n\n if (weekNumber < 1) {\n weekYear = year - 1;\n weekNumber = weeksInWeekYear(weekYear);\n } else if (weekNumber > weeksInWeekYear(year)) {\n weekYear = year + 1;\n weekNumber = 1;\n } else {\n weekYear = year;\n }\n\n return Object.assign({\n weekYear: weekYear,\n weekNumber: weekNumber,\n weekday: weekday\n }, timeObject(gregObj));\n}\nfunction weekToGregorian(weekData) {\n var weekYear = weekData.weekYear,\n weekNumber = weekData.weekNumber,\n weekday = weekData.weekday,\n weekdayOfJan4 = dayOfWeek(weekYear, 1, 4),\n yearInDays = daysInYear(weekYear);\n var ordinal = weekNumber * 7 + weekday - weekdayOfJan4 - 3,\n year;\n\n if (ordinal < 1) {\n year = weekYear - 1;\n ordinal += daysInYear(year);\n } else if (ordinal > yearInDays) {\n year = weekYear + 1;\n ordinal -= daysInYear(weekYear);\n } else {\n year = weekYear;\n }\n\n var _uncomputeOrdinal = uncomputeOrdinal(year, ordinal),\n month = _uncomputeOrdinal.month,\n day = _uncomputeOrdinal.day;\n\n return Object.assign({\n year: year,\n month: month,\n day: day\n }, timeObject(weekData));\n}\nfunction gregorianToOrdinal(gregData) {\n var year = gregData.year,\n month = gregData.month,\n day = gregData.day,\n ordinal = computeOrdinal(year, month, day);\n return Object.assign({\n year: year,\n ordinal: ordinal\n }, timeObject(gregData));\n}\nfunction ordinalToGregorian(ordinalData) {\n var year = ordinalData.year,\n ordinal = ordinalData.ordinal,\n _uncomputeOrdinal2 = uncomputeOrdinal(year, ordinal),\n month = _uncomputeOrdinal2.month,\n day = _uncomputeOrdinal2.day;\n\n return Object.assign({\n year: year,\n month: month,\n day: day\n }, timeObject(ordinalData));\n}\nfunction hasInvalidWeekData(obj) {\n var validYear = isInteger(obj.weekYear),\n validWeek = integerBetween(obj.weekNumber, 1, weeksInWeekYear(obj.weekYear)),\n validWeekday = integerBetween(obj.weekday, 1, 7);\n\n if (!validYear) {\n return unitOutOfRange(\"weekYear\", obj.weekYear);\n } else if (!validWeek) {\n return unitOutOfRange(\"week\", obj.week);\n } else if (!validWeekday) {\n return unitOutOfRange(\"weekday\", obj.weekday);\n } else return false;\n}\nfunction hasInvalidOrdinalData(obj) {\n var validYear = isInteger(obj.year),\n validOrdinal = integerBetween(obj.ordinal, 1, daysInYear(obj.year));\n\n if (!validYear) {\n return unitOutOfRange(\"year\", obj.year);\n } else if (!validOrdinal) {\n return unitOutOfRange(\"ordinal\", obj.ordinal);\n } else return false;\n}\nfunction hasInvalidGregorianData(obj) {\n var validYear = isInteger(obj.year),\n validMonth = integerBetween(obj.month, 1, 12),\n validDay = integerBetween(obj.day, 1, daysInMonth(obj.year, obj.month));\n\n if (!validYear) {\n return unitOutOfRange(\"year\", obj.year);\n } else if (!validMonth) {\n return unitOutOfRange(\"month\", obj.month);\n } else if (!validDay) {\n return unitOutOfRange(\"day\", obj.day);\n } else return false;\n}\nfunction hasInvalidTimeData(obj) {\n var hour = obj.hour,\n minute = obj.minute,\n second = obj.second,\n millisecond = obj.millisecond;\n var validHour = integerBetween(hour, 0, 23) || hour === 24 && minute === 0 && second === 0 && millisecond === 0,\n validMinute = integerBetween(minute, 0, 59),\n validSecond = integerBetween(second, 0, 59),\n validMillisecond = integerBetween(millisecond, 0, 999);\n\n if (!validHour) {\n return unitOutOfRange(\"hour\", hour);\n } else if (!validMinute) {\n return unitOutOfRange(\"minute\", minute);\n } else if (!validSecond) {\n return unitOutOfRange(\"second\", second);\n } else if (!validMillisecond) {\n return unitOutOfRange(\"millisecond\", millisecond);\n } else return false;\n}\n\nvar INVALID$2 = \"Invalid DateTime\";\nvar MAX_DATE = 8.64e15;\n\nfunction unsupportedZone(zone) {\n return new Invalid(\"unsupported zone\", \"the zone \\\"\" + zone.name + \"\\\" is not supported\");\n} // we cache week data on the DT object and this intermediates the cache\n\n\nfunction possiblyCachedWeekData(dt) {\n if (dt.weekData === null) {\n dt.weekData = gregorianToWeek(dt.c);\n }\n\n return dt.weekData;\n} // clone really means, \"make a new object with these modifications\". all \"setters\" really use this\n// to create a new object while only changing some of the properties\n\n\nfunction clone$1(inst, alts) {\n var current = {\n ts: inst.ts,\n zone: inst.zone,\n c: inst.c,\n o: inst.o,\n loc: inst.loc,\n invalid: inst.invalid\n };\n return new DateTime(Object.assign({}, current, alts, {\n old: current\n }));\n} // find the right offset a given local time. The o input is our guess, which determines which\n// offset we'll pick in ambiguous cases (e.g. there are two 3 AMs b/c Fallback DST)\n\n\nfunction fixOffset(localTS, o, tz) {\n // Our UTC time is just a guess because our offset is just a guess\n var utcGuess = localTS - o * 60 * 1000; // Test whether the zone matches the offset for this ts\n\n var o2 = tz.offset(utcGuess); // If so, offset didn't change and we're done\n\n if (o === o2) {\n return [utcGuess, o];\n } // If not, change the ts by the difference in the offset\n\n\n utcGuess -= (o2 - o) * 60 * 1000; // If that gives us the local time we want, we're done\n\n var o3 = tz.offset(utcGuess);\n\n if (o2 === o3) {\n return [utcGuess, o2];\n } // If it's different, we're in a hole time. The offset has changed, but the we don't adjust the time\n\n\n return [localTS - Math.min(o2, o3) * 60 * 1000, Math.max(o2, o3)];\n} // convert an epoch timestamp into a calendar object with the given offset\n\n\nfunction tsToObj(ts, offset) {\n ts += offset * 60 * 1000;\n var d = new Date(ts);\n return {\n year: d.getUTCFullYear(),\n month: d.getUTCMonth() + 1,\n day: d.getUTCDate(),\n hour: d.getUTCHours(),\n minute: d.getUTCMinutes(),\n second: d.getUTCSeconds(),\n millisecond: d.getUTCMilliseconds()\n };\n} // convert a calendar object to a epoch timestamp\n\n\nfunction objToTS(obj, offset, zone) {\n return fixOffset(objToLocalTS(obj), offset, zone);\n} // create a new DT instance by adding a duration, adjusting for DSTs\n\n\nfunction adjustTime(inst, dur) {\n var oPre = inst.o,\n year = inst.c.year + Math.trunc(dur.years),\n month = inst.c.month + Math.trunc(dur.months) + Math.trunc(dur.quarters) * 3,\n c = Object.assign({}, inst.c, {\n year: year,\n month: month,\n day: Math.min(inst.c.day, daysInMonth(year, month)) + Math.trunc(dur.days) + Math.trunc(dur.weeks) * 7\n }),\n millisToAdd = Duration.fromObject({\n years: dur.years - Math.trunc(dur.years),\n quarters: dur.quarters - Math.trunc(dur.quarters),\n months: dur.months - Math.trunc(dur.months),\n weeks: dur.weeks - Math.trunc(dur.weeks),\n days: dur.days - Math.trunc(dur.days),\n hours: dur.hours,\n minutes: dur.minutes,\n seconds: dur.seconds,\n milliseconds: dur.milliseconds\n }).as(\"milliseconds\"),\n localTS = objToLocalTS(c);\n\n var _fixOffset = fixOffset(localTS, oPre, inst.zone),\n ts = _fixOffset[0],\n o = _fixOffset[1];\n\n if (millisToAdd !== 0) {\n ts += millisToAdd; // that could have changed the offset by going over a DST, but we want to keep the ts the same\n\n o = inst.zone.offset(ts);\n }\n\n return {\n ts: ts,\n o: o\n };\n} // helper useful in turning the results of parsing into real dates\n// by handling the zone options\n\n\nfunction parseDataToDateTime(parsed, parsedZone, opts, format, text) {\n var setZone = opts.setZone,\n zone = opts.zone;\n\n if (parsed && Object.keys(parsed).length !== 0) {\n var interpretationZone = parsedZone || zone,\n inst = DateTime.fromObject(Object.assign(parsed, opts, {\n zone: interpretationZone,\n // setZone is a valid option in the calling methods, but not in fromObject\n setZone: undefined\n }));\n return setZone ? inst : inst.setZone(zone);\n } else {\n return DateTime.invalid(new Invalid(\"unparsable\", \"the input \\\"\" + text + \"\\\" can't be parsed as \" + format));\n }\n} // if you want to output a technical format (e.g. RFC 2822), this helper\n// helps handle the details\n\n\nfunction toTechFormat(dt, format, allowZ) {\n if (allowZ === void 0) {\n allowZ = true;\n }\n\n return dt.isValid ? Formatter.create(Locale.create(\"en-US\"), {\n allowZ: allowZ,\n forceSimple: true\n }).formatDateTimeFromString(dt, format) : null;\n} // technical time formats (e.g. the time part of ISO 8601), take some options\n// and this commonizes their handling\n\n\nfunction toTechTimeFormat(dt, _ref) {\n var _ref$suppressSeconds = _ref.suppressSeconds,\n suppressSeconds = _ref$suppressSeconds === void 0 ? false : _ref$suppressSeconds,\n _ref$suppressMillisec = _ref.suppressMilliseconds,\n suppressMilliseconds = _ref$suppressMillisec === void 0 ? false : _ref$suppressMillisec,\n includeOffset = _ref.includeOffset,\n _ref$includePrefix = _ref.includePrefix,\n includePrefix = _ref$includePrefix === void 0 ? false : _ref$includePrefix,\n _ref$includeZone = _ref.includeZone,\n includeZone = _ref$includeZone === void 0 ? false : _ref$includeZone,\n _ref$spaceZone = _ref.spaceZone,\n spaceZone = _ref$spaceZone === void 0 ? false : _ref$spaceZone,\n _ref$format = _ref.format,\n format = _ref$format === void 0 ? \"extended\" : _ref$format;\n var fmt = format === \"basic\" ? \"HHmm\" : \"HH:mm\";\n\n if (!suppressSeconds || dt.second !== 0 || dt.millisecond !== 0) {\n fmt += format === \"basic\" ? \"ss\" : \":ss\";\n\n if (!suppressMilliseconds || dt.millisecond !== 0) {\n fmt += \".SSS\";\n }\n }\n\n if ((includeZone || includeOffset) && spaceZone) {\n fmt += \" \";\n }\n\n if (includeZone) {\n fmt += \"z\";\n } else if (includeOffset) {\n fmt += format === \"basic\" ? \"ZZZ\" : \"ZZ\";\n }\n\n var str = toTechFormat(dt, fmt);\n\n if (includePrefix) {\n str = \"T\" + str;\n }\n\n return str;\n} // defaults for unspecified units in the supported calendars\n\n\nvar defaultUnitValues = {\n month: 1,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n},\n defaultWeekUnitValues = {\n weekNumber: 1,\n weekday: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n},\n defaultOrdinalUnitValues = {\n ordinal: 1,\n hour: 0,\n minute: 0,\n second: 0,\n millisecond: 0\n}; // Units in the supported calendars, sorted by bigness\n\nvar orderedUnits$1 = [\"year\", \"month\", \"day\", \"hour\", \"minute\", \"second\", \"millisecond\"],\n orderedWeekUnits = [\"weekYear\", \"weekNumber\", \"weekday\", \"hour\", \"minute\", \"second\", \"millisecond\"],\n orderedOrdinalUnits = [\"year\", \"ordinal\", \"hour\", \"minute\", \"second\", \"millisecond\"]; // standardize case and plurality in units\n\nfunction normalizeUnit(unit) {\n var normalized = {\n year: \"year\",\n years: \"year\",\n month: \"month\",\n months: \"month\",\n day: \"day\",\n days: \"day\",\n hour: \"hour\",\n hours: \"hour\",\n minute: \"minute\",\n minutes: \"minute\",\n quarter: \"quarter\",\n quarters: \"quarter\",\n second: \"second\",\n seconds: \"second\",\n millisecond: \"millisecond\",\n milliseconds: \"millisecond\",\n weekday: \"weekday\",\n weekdays: \"weekday\",\n weeknumber: \"weekNumber\",\n weeksnumber: \"weekNumber\",\n weeknumbers: \"weekNumber\",\n weekyear: \"weekYear\",\n weekyears: \"weekYear\",\n ordinal: \"ordinal\"\n }[unit.toLowerCase()];\n if (!normalized) throw new InvalidUnitError(unit);\n return normalized;\n} // this is a dumbed down version of fromObject() that runs about 60% faster\n// but doesn't do any validation, makes a bunch of assumptions about what units\n// are present, and so on.\n\n\nfunction quickDT(obj, zone) {\n // assume we have the higher-order units\n for (var _iterator = _createForOfIteratorHelperLoose(orderedUnits$1), _step; !(_step = _iterator()).done;) {\n var u = _step.value;\n\n if (isUndefined(obj[u])) {\n obj[u] = defaultUnitValues[u];\n }\n }\n\n var invalid = hasInvalidGregorianData(obj) || hasInvalidTimeData(obj);\n\n if (invalid) {\n return DateTime.invalid(invalid);\n }\n\n var tsNow = Settings.now(),\n offsetProvis = zone.offset(tsNow),\n _objToTS = objToTS(obj, offsetProvis, zone),\n ts = _objToTS[0],\n o = _objToTS[1];\n\n return new DateTime({\n ts: ts,\n zone: zone,\n o: o\n });\n}\n\nfunction diffRelative(start, end, opts) {\n var round = isUndefined(opts.round) ? true : opts.round,\n format = function format(c, unit) {\n c = roundTo(c, round || opts.calendary ? 0 : 2, true);\n var formatter = end.loc.clone(opts).relFormatter(opts);\n return formatter.format(c, unit);\n },\n differ = function differ(unit) {\n if (opts.calendary) {\n if (!end.hasSame(start, unit)) {\n return end.startOf(unit).diff(start.startOf(unit), unit).get(unit);\n } else return 0;\n } else {\n return end.diff(start, unit).get(unit);\n }\n };\n\n if (opts.unit) {\n return format(differ(opts.unit), opts.unit);\n }\n\n for (var _iterator2 = _createForOfIteratorHelperLoose(opts.units), _step2; !(_step2 = _iterator2()).done;) {\n var unit = _step2.value;\n var count = differ(unit);\n\n if (Math.abs(count) >= 1) {\n return format(count, unit);\n }\n }\n\n return format(start > end ? -0 : 0, opts.units[opts.units.length - 1]);\n}\n/**\n * A DateTime is an immutable data structure representing a specific date and time and accompanying methods. It contains class and instance methods for creating, parsing, interrogating, transforming, and formatting them.\n *\n * A DateTime comprises of:\n * * A timestamp. Each DateTime instance refers to a specific millisecond of the Unix epoch.\n * * A time zone. Each instance is considered in the context of a specific zone (by default the local system's zone).\n * * Configuration properties that effect how output strings are formatted, such as `locale`, `numberingSystem`, and `outputCalendar`.\n *\n * Here is a brief overview of the most commonly used functionality it provides:\n *\n * * **Creation**: To create a DateTime from its components, use one of its factory class methods: {@link local}, {@link utc}, and (most flexibly) {@link fromObject}. To create one from a standard string format, use {@link fromISO}, {@link fromHTTP}, and {@link fromRFC2822}. To create one from a custom string format, use {@link fromFormat}. To create one from a native JS date, use {@link fromJSDate}.\n * * **Gregorian calendar and time**: To examine the Gregorian properties of a DateTime individually (i.e as opposed to collectively through {@link toObject}), use the {@link year}, {@link month},\n * {@link day}, {@link hour}, {@link minute}, {@link second}, {@link millisecond} accessors.\n * * **Week calendar**: For ISO week calendar attributes, see the {@link weekYear}, {@link weekNumber}, and {@link weekday} accessors.\n * * **Configuration** See the {@link locale} and {@link numberingSystem} accessors.\n * * **Transformation**: To transform the DateTime into other DateTimes, use {@link set}, {@link reconfigure}, {@link setZone}, {@link setLocale}, {@link plus}, {@link minus}, {@link endOf}, {@link startOf}, {@link toUTC}, and {@link toLocal}.\n * * **Output**: To convert the DateTime to other representations, use the {@link toRelative}, {@link toRelativeCalendar}, {@link toJSON}, {@link toISO}, {@link toHTTP}, {@link toObject}, {@link toRFC2822}, {@link toString}, {@link toLocaleString}, {@link toFormat}, {@link toMillis} and {@link toJSDate}.\n *\n * There's plenty others documented below. In addition, for more information on subtler topics like internationalization, time zones, alternative calendars, validity, and so on, see the external documentation.\n */\n\n\nvar DateTime = /*#__PURE__*/function () {\n /**\n * @access private\n */\n function DateTime(config) {\n var zone = config.zone || Settings.defaultZone;\n var invalid = config.invalid || (Number.isNaN(config.ts) ? new Invalid(\"invalid input\") : null) || (!zone.isValid ? unsupportedZone(zone) : null);\n /**\n * @access private\n */\n\n this.ts = isUndefined(config.ts) ? Settings.now() : config.ts;\n var c = null,\n o = null;\n\n if (!invalid) {\n var unchanged = config.old && config.old.ts === this.ts && config.old.zone.equals(zone);\n\n if (unchanged) {\n var _ref2 = [config.old.c, config.old.o];\n c = _ref2[0];\n o = _ref2[1];\n } else {\n var ot = zone.offset(this.ts);\n c = tsToObj(this.ts, ot);\n invalid = Number.isNaN(c.year) ? new Invalid(\"invalid input\") : null;\n c = invalid ? null : c;\n o = invalid ? null : ot;\n }\n }\n /**\n * @access private\n */\n\n\n this._zone = zone;\n /**\n * @access private\n */\n\n this.loc = config.loc || Locale.create();\n /**\n * @access private\n */\n\n this.invalid = invalid;\n /**\n * @access private\n */\n\n this.weekData = null;\n /**\n * @access private\n */\n\n this.c = c;\n /**\n * @access private\n */\n\n this.o = o;\n /**\n * @access private\n */\n\n this.isLuxonDateTime = true;\n } // CONSTRUCT\n\n /**\n * Create a DateTime for the current instant, in the system's time zone.\n *\n * Use Settings to override these default values if needed.\n * @example DateTime.now().toISO() //~> now in the ISO format\n * @return {DateTime}\n */\n\n\n DateTime.now = function now() {\n return new DateTime({});\n }\n /**\n * Create a local DateTime\n * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used\n * @param {number} [month=1] - The month, 1-indexed\n * @param {number} [day=1] - The day of the month, 1-indexed\n * @param {number} [hour=0] - The hour of the day, in 24-hour time\n * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59\n * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59\n * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999\n * @example DateTime.local() //~> now\n * @example DateTime.local(2017) //~> 2017-01-01T00:00:00\n * @example DateTime.local(2017, 3) //~> 2017-03-01T00:00:00\n * @example DateTime.local(2017, 3, 12) //~> 2017-03-12T00:00:00\n * @example DateTime.local(2017, 3, 12, 5) //~> 2017-03-12T05:00:00\n * @example DateTime.local(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00\n * @example DateTime.local(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10\n * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765\n * @return {DateTime}\n */\n ;\n\n DateTime.local = function local(year, month, day, hour, minute, second, millisecond) {\n if (isUndefined(year)) {\n return DateTime.now();\n } else {\n return quickDT({\n year: year,\n month: month,\n day: day,\n hour: hour,\n minute: minute,\n second: second,\n millisecond: millisecond\n }, Settings.defaultZone);\n }\n }\n /**\n * Create a DateTime in UTC\n * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used\n * @param {number} [month=1] - The month, 1-indexed\n * @param {number} [day=1] - The day of the month\n * @param {number} [hour=0] - The hour of the day, in 24-hour time\n * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59\n * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59\n * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999\n * @example DateTime.utc() //~> now\n * @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z\n * @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z\n * @example DateTime.utc(2017, 3, 12) //~> 2017-03-12T00:00:00Z\n * @example DateTime.utc(2017, 3, 12, 5) //~> 2017-03-12T05:00:00Z\n * @example DateTime.utc(2017, 3, 12, 5, 45) //~> 2017-03-12T05:45:00Z\n * @example DateTime.utc(2017, 3, 12, 5, 45, 10) //~> 2017-03-12T05:45:10Z\n * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765) //~> 2017-03-12T05:45:10.765Z\n * @return {DateTime}\n */\n ;\n\n DateTime.utc = function utc(year, month, day, hour, minute, second, millisecond) {\n if (isUndefined(year)) {\n return new DateTime({\n ts: Settings.now(),\n zone: FixedOffsetZone.utcInstance\n });\n } else {\n return quickDT({\n year: year,\n month: month,\n day: day,\n hour: hour,\n minute: minute,\n second: second,\n millisecond: millisecond\n }, FixedOffsetZone.utcInstance);\n }\n }\n /**\n * Create a DateTime from a JavaScript Date object. Uses the default zone.\n * @param {Date} date - a JavaScript Date object\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @return {DateTime}\n */\n ;\n\n DateTime.fromJSDate = function fromJSDate(date, options) {\n if (options === void 0) {\n options = {};\n }\n\n var ts = isDate(date) ? date.valueOf() : NaN;\n\n if (Number.isNaN(ts)) {\n return DateTime.invalid(\"invalid input\");\n }\n\n var zoneToUse = normalizeZone(options.zone, Settings.defaultZone);\n\n if (!zoneToUse.isValid) {\n return DateTime.invalid(unsupportedZone(zoneToUse));\n }\n\n return new DateTime({\n ts: ts,\n zone: zoneToUse,\n loc: Locale.fromObject(options)\n });\n }\n /**\n * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.\n * @param {number} milliseconds - a number of milliseconds since 1970 UTC\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @param {string} [options.locale] - a locale to set on the resulting DateTime instance\n * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromMillis = function fromMillis(milliseconds, options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!isNumber(milliseconds)) {\n throw new InvalidArgumentError(\"fromMillis requires a numerical input, but received a \" + typeof milliseconds + \" with value \" + milliseconds);\n } else if (milliseconds < -MAX_DATE || milliseconds > MAX_DATE) {\n // this isn't perfect because because we can still end up out of range because of additional shifting, but it's a start\n return DateTime.invalid(\"Timestamp out of range\");\n } else {\n return new DateTime({\n ts: milliseconds,\n zone: normalizeZone(options.zone, Settings.defaultZone),\n loc: Locale.fromObject(options)\n });\n }\n }\n /**\n * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.\n * @param {number} seconds - a number of seconds since 1970 UTC\n * @param {Object} options - configuration options for the DateTime\n * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into\n * @param {string} [options.locale] - a locale to set on the resulting DateTime instance\n * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromSeconds = function fromSeconds(seconds, options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!isNumber(seconds)) {\n throw new InvalidArgumentError(\"fromSeconds requires a numerical input\");\n } else {\n return new DateTime({\n ts: seconds * 1000,\n zone: normalizeZone(options.zone, Settings.defaultZone),\n loc: Locale.fromObject(options)\n });\n }\n }\n /**\n * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.\n * @param {Object} obj - the object to create the DateTime from\n * @param {number} obj.year - a year, such as 1987\n * @param {number} obj.month - a month, 1-12\n * @param {number} obj.day - a day of the month, 1-31, depending on the month\n * @param {number} obj.ordinal - day of the year, 1-365 or 366\n * @param {number} obj.weekYear - an ISO week year\n * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year\n * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday\n * @param {number} obj.hour - hour of the day, 0-23\n * @param {number} obj.minute - minute of the hour, 0-59\n * @param {number} obj.second - second of the minute, 0-59\n * @param {number} obj.millisecond - millisecond of the second, 0-999\n * @param {string|Zone} [obj.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()\n * @param {string} [obj.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} obj.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} obj.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'\n * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'utc' }),\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'local' })\n * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6, zone: 'America/New_York' })\n * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'\n * @return {DateTime}\n */\n ;\n\n DateTime.fromObject = function fromObject(obj) {\n var zoneToUse = normalizeZone(obj.zone, Settings.defaultZone);\n\n if (!zoneToUse.isValid) {\n return DateTime.invalid(unsupportedZone(zoneToUse));\n }\n\n var tsNow = Settings.now(),\n offsetProvis = zoneToUse.offset(tsNow),\n normalized = normalizeObject(obj, normalizeUnit, [\"zone\", \"locale\", \"outputCalendar\", \"numberingSystem\"]),\n containsOrdinal = !isUndefined(normalized.ordinal),\n containsGregorYear = !isUndefined(normalized.year),\n containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day),\n containsGregor = containsGregorYear || containsGregorMD,\n definiteWeekDef = normalized.weekYear || normalized.weekNumber,\n loc = Locale.fromObject(obj); // cases:\n // just a weekday -> this week's instance of that weekday, no worries\n // (gregorian data or ordinal) + (weekYear or weekNumber) -> error\n // (gregorian month or day) + ordinal -> error\n // otherwise just use weeks or ordinals or gregorian, depending on what's specified\n\n if ((containsGregor || containsOrdinal) && definiteWeekDef) {\n throw new ConflictingSpecificationError(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");\n }\n\n if (containsGregorMD && containsOrdinal) {\n throw new ConflictingSpecificationError(\"Can't mix ordinal dates with month/day\");\n }\n\n var useWeekData = definiteWeekDef || normalized.weekday && !containsGregor; // configure ourselves to deal with gregorian dates or week stuff\n\n var units,\n defaultValues,\n objNow = tsToObj(tsNow, offsetProvis);\n\n if (useWeekData) {\n units = orderedWeekUnits;\n defaultValues = defaultWeekUnitValues;\n objNow = gregorianToWeek(objNow);\n } else if (containsOrdinal) {\n units = orderedOrdinalUnits;\n defaultValues = defaultOrdinalUnitValues;\n objNow = gregorianToOrdinal(objNow);\n } else {\n units = orderedUnits$1;\n defaultValues = defaultUnitValues;\n } // set default values for missing stuff\n\n\n var foundFirst = false;\n\n for (var _iterator3 = _createForOfIteratorHelperLoose(units), _step3; !(_step3 = _iterator3()).done;) {\n var u = _step3.value;\n var v = normalized[u];\n\n if (!isUndefined(v)) {\n foundFirst = true;\n } else if (foundFirst) {\n normalized[u] = defaultValues[u];\n } else {\n normalized[u] = objNow[u];\n }\n } // make sure the values we have are in range\n\n\n var higherOrderInvalid = useWeekData ? hasInvalidWeekData(normalized) : containsOrdinal ? hasInvalidOrdinalData(normalized) : hasInvalidGregorianData(normalized),\n invalid = higherOrderInvalid || hasInvalidTimeData(normalized);\n\n if (invalid) {\n return DateTime.invalid(invalid);\n } // compute the actual time\n\n\n var gregorian = useWeekData ? weekToGregorian(normalized) : containsOrdinal ? ordinalToGregorian(normalized) : normalized,\n _objToTS2 = objToTS(gregorian, offsetProvis, zoneToUse),\n tsFinal = _objToTS2[0],\n offsetFinal = _objToTS2[1],\n inst = new DateTime({\n ts: tsFinal,\n zone: zoneToUse,\n o: offsetFinal,\n loc: loc\n }); // gregorian data + weekday serves only to validate\n\n\n if (normalized.weekday && containsGregor && obj.weekday !== inst.weekday) {\n return DateTime.invalid(\"mismatched weekday\", \"you can't specify both a weekday of \" + normalized.weekday + \" and a date of \" + inst.toISO());\n }\n\n return inst;\n }\n /**\n * Create a DateTime from an ISO 8601 string\n * @param {string} text - the ISO string\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance\n * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromISO('2016-05-25T09:08:34.123')\n * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')\n * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})\n * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})\n * @example DateTime.fromISO('2016-W05-4')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromISO = function fromISO(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseISODate = parseISODate(text),\n vals = _parseISODate[0],\n parsedZone = _parseISODate[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"ISO 8601\", text);\n }\n /**\n * Create a DateTime from an RFC 2822 string\n * @param {string} text - the RFC 2822 string\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.\n * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')\n * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')\n * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromRFC2822 = function fromRFC2822(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseRFC2822Date = parseRFC2822Date(text),\n vals = _parseRFC2822Date[0],\n parsedZone = _parseRFC2822Date[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"RFC 2822\", text);\n }\n /**\n * Create a DateTime from an HTTP header date\n * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1\n * @param {string} text - the HTTP header date\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.\n * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.\n * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance\n * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')\n * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')\n * @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromHTTP = function fromHTTP(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseHTTPDate = parseHTTPDate(text),\n vals = _parseHTTPDate[0],\n parsedZone = _parseHTTPDate[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"HTTP\", opts);\n }\n /**\n * Create a DateTime from an input string and format string.\n * Defaults to en-US if no locale has been specified, regardless of the system's locale.\n * @see https://moment.github.io/luxon/docs/manual/parsing.html#table-of-tokens\n * @param {string} text - the string to parse\n * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale\n * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @return {DateTime}\n */\n ;\n\n DateTime.fromFormat = function fromFormat(text, fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (isUndefined(text) || isUndefined(fmt)) {\n throw new InvalidArgumentError(\"fromFormat requires an input string and a format\");\n }\n\n var _opts = opts,\n _opts$locale = _opts.locale,\n locale = _opts$locale === void 0 ? null : _opts$locale,\n _opts$numberingSystem = _opts.numberingSystem,\n numberingSystem = _opts$numberingSystem === void 0 ? null : _opts$numberingSystem,\n localeToUse = Locale.fromOpts({\n locale: locale,\n numberingSystem: numberingSystem,\n defaultToEN: true\n }),\n _parseFromTokens = parseFromTokens(localeToUse, text, fmt),\n vals = _parseFromTokens[0],\n parsedZone = _parseFromTokens[1],\n invalid = _parseFromTokens[2];\n\n if (invalid) {\n return DateTime.invalid(invalid);\n } else {\n return parseDataToDateTime(vals, parsedZone, opts, \"format \" + fmt, text);\n }\n }\n /**\n * @deprecated use fromFormat instead\n */\n ;\n\n DateTime.fromString = function fromString(text, fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return DateTime.fromFormat(text, fmt, opts);\n }\n /**\n * Create a DateTime from a SQL date, time, or datetime\n * Defaults to en-US if no locale has been specified, regardless of the system's locale\n * @param {string} text - the string to parse\n * @param {Object} opts - options to affect the creation\n * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone\n * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one\n * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale\n * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system\n * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance\n * @example DateTime.fromSQL('2017-05-15')\n * @example DateTime.fromSQL('2017-05-15 09:12:34')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })\n * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })\n * @example DateTime.fromSQL('09:12:34.342')\n * @return {DateTime}\n */\n ;\n\n DateTime.fromSQL = function fromSQL(text, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _parseSQL = parseSQL(text),\n vals = _parseSQL[0],\n parsedZone = _parseSQL[1];\n\n return parseDataToDateTime(vals, parsedZone, opts, \"SQL\", text);\n }\n /**\n * Create an invalid DateTime.\n * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent\n * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information\n * @return {DateTime}\n */\n ;\n\n DateTime.invalid = function invalid(reason, explanation) {\n if (explanation === void 0) {\n explanation = null;\n }\n\n if (!reason) {\n throw new InvalidArgumentError(\"need to specify a reason the DateTime is invalid\");\n }\n\n var invalid = reason instanceof Invalid ? reason : new Invalid(reason, explanation);\n\n if (Settings.throwOnInvalid) {\n throw new InvalidDateTimeError(invalid);\n } else {\n return new DateTime({\n invalid: invalid\n });\n }\n }\n /**\n * Check if an object is a DateTime. Works across context boundaries\n * @param {object} o\n * @return {boolean}\n */\n ;\n\n DateTime.isDateTime = function isDateTime(o) {\n return o && o.isLuxonDateTime || false;\n } // INFO\n\n /**\n * Get the value of unit.\n * @param {string} unit - a unit such as 'minute' or 'day'\n * @example DateTime.local(2017, 7, 4).get('month'); //=> 7\n * @example DateTime.local(2017, 7, 4).get('day'); //=> 4\n * @return {number}\n */\n ;\n\n var _proto = DateTime.prototype;\n\n _proto.get = function get(unit) {\n return this[unit];\n }\n /**\n * Returns whether the DateTime is valid. Invalid DateTimes occur when:\n * * The DateTime was created from invalid calendar information, such as the 13th month or February 30\n * * The DateTime was created by an operation on another invalid date\n * @type {boolean}\n */\n ;\n\n /**\n * Returns the resolved Intl options for this DateTime.\n * This is useful in understanding the behavior of formatting methods\n * @param {Object} opts - the same options as toLocaleString\n * @return {Object}\n */\n _proto.resolvedLocaleOpts = function resolvedLocaleOpts(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n var _Formatter$create$res = Formatter.create(this.loc.clone(opts), opts).resolvedOptions(this),\n locale = _Formatter$create$res.locale,\n numberingSystem = _Formatter$create$res.numberingSystem,\n calendar = _Formatter$create$res.calendar;\n\n return {\n locale: locale,\n numberingSystem: numberingSystem,\n outputCalendar: calendar\n };\n } // TRANSFORM\n\n /**\n * \"Set\" the DateTime's zone to UTC. Returns a newly-constructed DateTime.\n *\n * Equivalent to {@link setZone}('utc')\n * @param {number} [offset=0] - optionally, an offset from UTC in minutes\n * @param {Object} [opts={}] - options to pass to `setZone()`\n * @return {DateTime}\n */\n ;\n\n _proto.toUTC = function toUTC(offset, opts) {\n if (offset === void 0) {\n offset = 0;\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n return this.setZone(FixedOffsetZone.instance(offset), opts);\n }\n /**\n * \"Set\" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.\n *\n * Equivalent to `setZone('local')`\n * @return {DateTime}\n */\n ;\n\n _proto.toLocal = function toLocal() {\n return this.setZone(Settings.defaultZone);\n }\n /**\n * \"Set\" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.\n *\n * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link plus}. You may wish to use {@link toLocal} and {@link toUTC} which provide simple convenience wrappers for commonly used zones.\n * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link Zone} class.\n * @param {Object} opts - options\n * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.\n * @return {DateTime}\n */\n ;\n\n _proto.setZone = function setZone(zone, _temp) {\n var _ref3 = _temp === void 0 ? {} : _temp,\n _ref3$keepLocalTime = _ref3.keepLocalTime,\n keepLocalTime = _ref3$keepLocalTime === void 0 ? false : _ref3$keepLocalTime,\n _ref3$keepCalendarTim = _ref3.keepCalendarTime,\n keepCalendarTime = _ref3$keepCalendarTim === void 0 ? false : _ref3$keepCalendarTim;\n\n zone = normalizeZone(zone, Settings.defaultZone);\n\n if (zone.equals(this.zone)) {\n return this;\n } else if (!zone.isValid) {\n return DateTime.invalid(unsupportedZone(zone));\n } else {\n var newTS = this.ts;\n\n if (keepLocalTime || keepCalendarTime) {\n var offsetGuess = zone.offset(this.ts);\n var asObj = this.toObject();\n\n var _objToTS3 = objToTS(asObj, offsetGuess, zone);\n\n newTS = _objToTS3[0];\n }\n\n return clone$1(this, {\n ts: newTS,\n zone: zone\n });\n }\n }\n /**\n * \"Set\" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.\n * @param {Object} properties - the properties to set\n * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })\n * @return {DateTime}\n */\n ;\n\n _proto.reconfigure = function reconfigure(_temp2) {\n var _ref4 = _temp2 === void 0 ? {} : _temp2,\n locale = _ref4.locale,\n numberingSystem = _ref4.numberingSystem,\n outputCalendar = _ref4.outputCalendar;\n\n var loc = this.loc.clone({\n locale: locale,\n numberingSystem: numberingSystem,\n outputCalendar: outputCalendar\n });\n return clone$1(this, {\n loc: loc\n });\n }\n /**\n * \"Set\" the locale. Returns a newly-constructed DateTime.\n * Just a convenient alias for reconfigure({ locale })\n * @example DateTime.local(2017, 5, 25).setLocale('en-GB')\n * @return {DateTime}\n */\n ;\n\n _proto.setLocale = function setLocale(locale) {\n return this.reconfigure({\n locale: locale\n });\n }\n /**\n * \"Set\" the values of specified units. Returns a newly-constructed DateTime.\n * You can only set units with this method; for \"setting\" metadata, see {@link reconfigure} and {@link setZone}.\n * @param {Object} values - a mapping of units to numbers\n * @example dt.set({ year: 2017 })\n * @example dt.set({ hour: 8, minute: 30 })\n * @example dt.set({ weekday: 5 })\n * @example dt.set({ year: 2005, ordinal: 234 })\n * @return {DateTime}\n */\n ;\n\n _proto.set = function set(values) {\n if (!this.isValid) return this;\n var normalized = normalizeObject(values, normalizeUnit, []),\n settingWeekStuff = !isUndefined(normalized.weekYear) || !isUndefined(normalized.weekNumber) || !isUndefined(normalized.weekday),\n containsOrdinal = !isUndefined(normalized.ordinal),\n containsGregorYear = !isUndefined(normalized.year),\n containsGregorMD = !isUndefined(normalized.month) || !isUndefined(normalized.day),\n containsGregor = containsGregorYear || containsGregorMD,\n definiteWeekDef = normalized.weekYear || normalized.weekNumber;\n\n if ((containsGregor || containsOrdinal) && definiteWeekDef) {\n throw new ConflictingSpecificationError(\"Can't mix weekYear/weekNumber units with year/month/day or ordinals\");\n }\n\n if (containsGregorMD && containsOrdinal) {\n throw new ConflictingSpecificationError(\"Can't mix ordinal dates with month/day\");\n }\n\n var mixed;\n\n if (settingWeekStuff) {\n mixed = weekToGregorian(Object.assign(gregorianToWeek(this.c), normalized));\n } else if (!isUndefined(normalized.ordinal)) {\n mixed = ordinalToGregorian(Object.assign(gregorianToOrdinal(this.c), normalized));\n } else {\n mixed = Object.assign(this.toObject(), normalized); // if we didn't set the day but we ended up on an overflow date,\n // use the last day of the right month\n\n if (isUndefined(normalized.day)) {\n mixed.day = Math.min(daysInMonth(mixed.year, mixed.month), mixed.day);\n }\n }\n\n var _objToTS4 = objToTS(mixed, this.o, this.zone),\n ts = _objToTS4[0],\n o = _objToTS4[1];\n\n return clone$1(this, {\n ts: ts,\n o: o\n });\n }\n /**\n * Add a period of time to this DateTime and return the resulting DateTime\n *\n * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.\n * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n * @example DateTime.now().plus(123) //~> in 123 milliseconds\n * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes\n * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow\n * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday\n * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min\n * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min\n * @return {DateTime}\n */\n ;\n\n _proto.plus = function plus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration);\n return clone$1(this, adjustTime(this, dur));\n }\n /**\n * Subtract a period of time to this DateTime and return the resulting DateTime\n * See {@link plus}\n * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()\n @return {DateTime}\n */\n ;\n\n _proto.minus = function minus(duration) {\n if (!this.isValid) return this;\n var dur = friendlyDuration(duration).negate();\n return clone$1(this, adjustTime(this, dur));\n }\n /**\n * \"Set\" this DateTime to the beginning of a unit of time.\n * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.\n * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'\n * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'\n * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays\n * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'\n * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'\n * @return {DateTime}\n */\n ;\n\n _proto.startOf = function startOf(unit) {\n if (!this.isValid) return this;\n var o = {},\n normalizedUnit = Duration.normalizeUnit(unit);\n\n switch (normalizedUnit) {\n case \"years\":\n o.month = 1;\n // falls through\n\n case \"quarters\":\n case \"months\":\n o.day = 1;\n // falls through\n\n case \"weeks\":\n case \"days\":\n o.hour = 0;\n // falls through\n\n case \"hours\":\n o.minute = 0;\n // falls through\n\n case \"minutes\":\n o.second = 0;\n // falls through\n\n case \"seconds\":\n o.millisecond = 0;\n break;\n // no default, invalid units throw in normalizeUnit()\n }\n\n if (normalizedUnit === \"weeks\") {\n o.weekday = 1;\n }\n\n if (normalizedUnit === \"quarters\") {\n var q = Math.ceil(this.month / 3);\n o.month = (q - 1) * 3 + 1;\n }\n\n return this.set(o);\n }\n /**\n * \"Set\" this DateTime to the end (meaning the last millisecond) of a unit of time\n * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.\n * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays\n * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'\n * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'\n * @return {DateTime}\n */\n ;\n\n _proto.endOf = function endOf(unit) {\n var _this$plus;\n\n return this.isValid ? this.plus((_this$plus = {}, _this$plus[unit] = 1, _this$plus)).startOf(unit).minus(1) : this;\n } // OUTPUT\n\n /**\n * Returns a string representation of this DateTime formatted according to the specified format string.\n * **You may not want this.** See {@link toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens).\n * Defaults to en-US if no locale has been specified, regardless of the system's locale.\n * @see https://moment.github.io/luxon/docs/manual/formatting.html#table-of-tokens\n * @param {string} fmt - the format string\n * @param {Object} opts - opts to override the configuration options\n * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'\n * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'\n * @example DateTime.now().toFormat('yyyy LLL dd', { locale: \"fr\" }) //=> '2017 avr. 22'\n * @example DateTime.now().toFormat(\"HH 'hours and' mm 'minutes'\") //=> '20 hours and 55 minutes'\n * @return {string}\n */\n ;\n\n _proto.toFormat = function toFormat(fmt, opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return this.isValid ? Formatter.create(this.loc.redefaultToEN(opts)).formatDateTimeFromString(this, fmt) : INVALID$2;\n }\n /**\n * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.\n * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation\n * of the DateTime in the assigned locale.\n * Defaults to the system's locale if no locale has been specified\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat\n * @param opts {Object} - Intl.DateTimeFormat constructor options and configuration options\n * @example DateTime.now().toLocaleString(); //=> 4/20/2017\n * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'\n * @example DateTime.now().toLocaleString({ locale: 'en-gb' }); //=> '20/04/2017'\n * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'\n * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'\n * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'\n * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'\n * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'\n * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hour12: false }); //=> '11:32'\n * @return {string}\n */\n ;\n\n _proto.toLocaleString = function toLocaleString(opts) {\n if (opts === void 0) {\n opts = DATE_SHORT;\n }\n\n return this.isValid ? Formatter.create(this.loc.clone(opts), opts).formatDateTime(this) : INVALID$2;\n }\n /**\n * Returns an array of format \"parts\", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.\n * Defaults to the system's locale if no locale has been specified\n * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts\n * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.\n * @example DateTime.now().toLocaleParts(); //=> [\n * //=> { type: 'day', value: '25' },\n * //=> { type: 'literal', value: '/' },\n * //=> { type: 'month', value: '05' },\n * //=> { type: 'literal', value: '/' },\n * //=> { type: 'year', value: '1982' }\n * //=> ]\n */\n ;\n\n _proto.toLocaleParts = function toLocaleParts(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n return this.isValid ? Formatter.create(this.loc.clone(opts), opts).formatDateTimeParts(this) : [];\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc(1982, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'\n * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'\n * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'\n * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'\n * @return {string}\n */\n ;\n\n _proto.toISO = function toISO(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) {\n return null;\n }\n\n return this.toISODate(opts) + \"T\" + this.toISOTime(opts);\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's date component\n * @param {Object} opts - options\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'\n * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'\n * @return {string}\n */\n ;\n\n _proto.toISODate = function toISODate(_temp3) {\n var _ref5 = _temp3 === void 0 ? {} : _temp3,\n _ref5$format = _ref5.format,\n format = _ref5$format === void 0 ? \"extended\" : _ref5$format;\n\n var fmt = format === \"basic\" ? \"yyyyMMdd\" : \"yyyy-MM-dd\";\n\n if (this.year > 9999) {\n fmt = \"+\" + fmt;\n }\n\n return toTechFormat(this, fmt);\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's week date\n * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'\n * @return {string}\n */\n ;\n\n _proto.toISOWeekDate = function toISOWeekDate() {\n return toTechFormat(this, \"kkkk-'W'WW-c\");\n }\n /**\n * Returns an ISO 8601-compliant string representation of this DateTime's time component\n * @param {Object} opts - options\n * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0\n * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @param {boolean} [opts.includePrefix=false] - include the `T` prefix\n * @param {string} [opts.format='extended'] - choose between the basic and extended format\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'\n * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'\n * @return {string}\n */\n ;\n\n _proto.toISOTime = function toISOTime(_temp4) {\n var _ref6 = _temp4 === void 0 ? {} : _temp4,\n _ref6$suppressMillise = _ref6.suppressMilliseconds,\n suppressMilliseconds = _ref6$suppressMillise === void 0 ? false : _ref6$suppressMillise,\n _ref6$suppressSeconds = _ref6.suppressSeconds,\n suppressSeconds = _ref6$suppressSeconds === void 0 ? false : _ref6$suppressSeconds,\n _ref6$includeOffset = _ref6.includeOffset,\n includeOffset = _ref6$includeOffset === void 0 ? true : _ref6$includeOffset,\n _ref6$includePrefix = _ref6.includePrefix,\n includePrefix = _ref6$includePrefix === void 0 ? false : _ref6$includePrefix,\n _ref6$format = _ref6.format,\n format = _ref6$format === void 0 ? \"extended\" : _ref6$format;\n\n return toTechTimeFormat(this, {\n suppressSeconds: suppressSeconds,\n suppressMilliseconds: suppressMilliseconds,\n includeOffset: includeOffset,\n includePrefix: includePrefix,\n format: format\n });\n }\n /**\n * Returns an RFC 2822-compatible string representation of this DateTime, always in UTC\n * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'\n * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'\n * @return {string}\n */\n ;\n\n _proto.toRFC2822 = function toRFC2822() {\n return toTechFormat(this, \"EEE, dd LLL yyyy HH:mm:ss ZZZ\", false);\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in HTTP headers.\n * Specifically, the string conforms to RFC 1123.\n * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1\n * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'\n * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'\n * @return {string}\n */\n ;\n\n _proto.toHTTP = function toHTTP() {\n return toTechFormat(this.toUTC(), \"EEE, dd LLL yyyy HH:mm:ss 'GMT'\");\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL Date\n * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'\n * @return {string}\n */\n ;\n\n _proto.toSQLDate = function toSQLDate() {\n return toTechFormat(this, \"yyyy-MM-dd\");\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL Time\n * @param {Object} opts - options\n * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @example DateTime.utc().toSQL() //=> '05:15:16.345'\n * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'\n * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'\n * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'\n * @return {string}\n */\n ;\n\n _proto.toSQLTime = function toSQLTime(_temp5) {\n var _ref7 = _temp5 === void 0 ? {} : _temp5,\n _ref7$includeOffset = _ref7.includeOffset,\n includeOffset = _ref7$includeOffset === void 0 ? true : _ref7$includeOffset,\n _ref7$includeZone = _ref7.includeZone,\n includeZone = _ref7$includeZone === void 0 ? false : _ref7$includeZone;\n\n return toTechTimeFormat(this, {\n includeOffset: includeOffset,\n includeZone: includeZone,\n spaceZone: true\n });\n }\n /**\n * Returns a string representation of this DateTime appropriate for use in SQL DateTime\n * @param {Object} opts - options\n * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.\n * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'\n * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'\n * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'\n * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'\n * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'\n * @return {string}\n */\n ;\n\n _proto.toSQL = function toSQL(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) {\n return null;\n }\n\n return this.toSQLDate() + \" \" + this.toSQLTime(opts);\n }\n /**\n * Returns a string representation of this DateTime appropriate for debugging\n * @return {string}\n */\n ;\n\n _proto.toString = function toString() {\n return this.isValid ? this.toISO() : INVALID$2;\n }\n /**\n * Returns the epoch milliseconds of this DateTime. Alias of {@link toMillis}\n * @return {number}\n */\n ;\n\n _proto.valueOf = function valueOf() {\n return this.toMillis();\n }\n /**\n * Returns the epoch milliseconds of this DateTime.\n * @return {number}\n */\n ;\n\n _proto.toMillis = function toMillis() {\n return this.isValid ? this.ts : NaN;\n }\n /**\n * Returns the epoch seconds of this DateTime.\n * @return {number}\n */\n ;\n\n _proto.toSeconds = function toSeconds() {\n return this.isValid ? this.ts / 1000 : NaN;\n }\n /**\n * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.\n * @return {string}\n */\n ;\n\n _proto.toJSON = function toJSON() {\n return this.toISO();\n }\n /**\n * Returns a BSON serializable equivalent to this DateTime.\n * @return {Date}\n */\n ;\n\n _proto.toBSON = function toBSON() {\n return this.toJSDate();\n }\n /**\n * Returns a JavaScript object with this DateTime's year, month, day, and so on.\n * @param opts - options for generating the object\n * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output\n * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }\n * @return {Object}\n */\n ;\n\n _proto.toObject = function toObject(opts) {\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid) return {};\n var base = Object.assign({}, this.c);\n\n if (opts.includeConfig) {\n base.outputCalendar = this.outputCalendar;\n base.numberingSystem = this.loc.numberingSystem;\n base.locale = this.loc.locale;\n }\n\n return base;\n }\n /**\n * Returns a JavaScript Date equivalent to this DateTime.\n * @return {Date}\n */\n ;\n\n _proto.toJSDate = function toJSDate() {\n return new Date(this.isValid ? this.ts : NaN);\n } // COMPARE\n\n /**\n * Return the difference between two DateTimes as a Duration.\n * @param {DateTime} otherDateTime - the DateTime to compare this one to\n * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @example\n * var i1 = DateTime.fromISO('1982-05-25T09:45'),\n * i2 = DateTime.fromISO('1983-10-14T10:30');\n * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }\n * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }\n * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }\n * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }\n * @return {Duration}\n */\n ;\n\n _proto.diff = function diff(otherDateTime, unit, opts) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n if (!this.isValid || !otherDateTime.isValid) {\n return Duration.invalid(this.invalid || otherDateTime.invalid, \"created by diffing an invalid DateTime\");\n }\n\n var durOpts = Object.assign({\n locale: this.locale,\n numberingSystem: this.numberingSystem\n }, opts);\n\n var units = maybeArray(unit).map(Duration.normalizeUnit),\n otherIsLater = otherDateTime.valueOf() > this.valueOf(),\n earlier = otherIsLater ? this : otherDateTime,\n later = otherIsLater ? otherDateTime : this,\n diffed = _diff(earlier, later, units, durOpts);\n\n return otherIsLater ? diffed.negate() : diffed;\n }\n /**\n * Return the difference between this DateTime and right now.\n * See {@link diff}\n * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration\n * @param {Object} opts - options that affect the creation of the Duration\n * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use\n * @return {Duration}\n */\n ;\n\n _proto.diffNow = function diffNow(unit, opts) {\n if (unit === void 0) {\n unit = \"milliseconds\";\n }\n\n if (opts === void 0) {\n opts = {};\n }\n\n return this.diff(DateTime.now(), unit, opts);\n }\n /**\n * Return an Interval spanning between this DateTime and another DateTime\n * @param {DateTime} otherDateTime - the other end point of the Interval\n * @return {Interval}\n */\n ;\n\n _proto.until = function until(otherDateTime) {\n return this.isValid ? Interval.fromDateTimes(this, otherDateTime) : this;\n }\n /**\n * Return whether this DateTime is in the same unit of time as another DateTime.\n * Higher-order units must also be identical for this function to return `true`.\n * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link setZone} to convert one of the dates if needed.\n * @param {DateTime} otherDateTime - the other DateTime\n * @param {string} unit - the unit of time to check sameness on\n * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day\n * @return {boolean}\n */\n ;\n\n _proto.hasSame = function hasSame(otherDateTime, unit) {\n if (!this.isValid) return false;\n var inputMs = otherDateTime.valueOf();\n var otherZoneDateTime = this.setZone(otherDateTime.zone, {\n keepLocalTime: true\n });\n return otherZoneDateTime.startOf(unit) <= inputMs && inputMs <= otherZoneDateTime.endOf(unit);\n }\n /**\n * Equality check\n * Two DateTimes are equal iff they represent the same millisecond, have the same zone and location, and are both valid.\n * To compare just the millisecond values, use `+dt1 === +dt2`.\n * @param {DateTime} other - the other DateTime\n * @return {boolean}\n */\n ;\n\n _proto.equals = function equals(other) {\n return this.isValid && other.isValid && this.valueOf() === other.valueOf() && this.zone.equals(other.zone) && this.loc.equals(other.loc);\n }\n /**\n * Returns a string representation of a this time relative to now, such as \"in two days\". Can only internationalize if your\n * platform supports Intl.RelativeTimeFormat. Rounds down by default.\n * @param {Object} options - options that affect the output\n * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.\n * @param {string} [options.style=\"long\"] - the style of units, must be \"long\", \"short\", or \"narrow\"\n * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of \"years\", \"quarters\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", or \"seconds\"\n * @param {boolean} [options.round=true] - whether to round the numbers in the output.\n * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.\n * @param {string} options.locale - override the locale of this DateTime\n * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this\n * @example DateTime.now().plus({ days: 1 }).toRelative() //=> \"in 1 day\"\n * @example DateTime.now().setLocale(\"es\").toRelative({ days: 1 }) //=> \"dentro de 1 día\"\n * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: \"fr\" }) //=> \"dans 23 heures\"\n * @example DateTime.now().minus({ days: 2 }).toRelative() //=> \"2 days ago\"\n * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: \"hours\" }) //=> \"48 hours ago\"\n * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> \"1.5 days ago\"\n */\n ;\n\n _proto.toRelative = function toRelative(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!this.isValid) return null;\n var base = options.base || DateTime.fromObject({\n zone: this.zone\n }),\n padding = options.padding ? this < base ? -options.padding : options.padding : 0;\n var units = [\"years\", \"months\", \"days\", \"hours\", \"minutes\", \"seconds\"];\n var unit = options.unit;\n\n if (Array.isArray(options.unit)) {\n units = options.unit;\n unit = undefined;\n }\n\n return diffRelative(base, this.plus(padding), Object.assign(options, {\n numeric: \"always\",\n units: units,\n unit: unit\n }));\n }\n /**\n * Returns a string representation of this date relative to today, such as \"yesterday\" or \"next month\".\n * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.\n * @param {Object} options - options that affect the output\n * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.\n * @param {string} options.locale - override the locale of this DateTime\n * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of \"years\", \"quarters\", \"months\", \"weeks\", or \"days\"\n * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this\n * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> \"tomorrow\"\n * @example DateTime.now().setLocale(\"es\").plus({ days: 1 }).toRelative() //=> \"\"mañana\"\n * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: \"fr\" }) //=> \"demain\"\n * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> \"2 days ago\"\n */\n ;\n\n _proto.toRelativeCalendar = function toRelativeCalendar(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (!this.isValid) return null;\n return diffRelative(options.base || DateTime.fromObject({\n zone: this.zone\n }), this, Object.assign(options, {\n numeric: \"auto\",\n units: [\"years\", \"months\", \"days\"],\n calendary: true\n }));\n }\n /**\n * Return the min of several date times\n * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum\n * @return {DateTime} the min DateTime, or undefined if called with no argument\n */\n ;\n\n DateTime.min = function min() {\n for (var _len = arguments.length, dateTimes = new Array(_len), _key = 0; _key < _len; _key++) {\n dateTimes[_key] = arguments[_key];\n }\n\n if (!dateTimes.every(DateTime.isDateTime)) {\n throw new InvalidArgumentError(\"min requires all arguments be DateTimes\");\n }\n\n return bestBy(dateTimes, function (i) {\n return i.valueOf();\n }, Math.min);\n }\n /**\n * Return the max of several date times\n * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum\n * @return {DateTime} the max DateTime, or undefined if called with no argument\n */\n ;\n\n DateTime.max = function max() {\n for (var _len2 = arguments.length, dateTimes = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n dateTimes[_key2] = arguments[_key2];\n }\n\n if (!dateTimes.every(DateTime.isDateTime)) {\n throw new InvalidArgumentError(\"max requires all arguments be DateTimes\");\n }\n\n return bestBy(dateTimes, function (i) {\n return i.valueOf();\n }, Math.max);\n } // MISC\n\n /**\n * Explain how a string would be parsed by fromFormat()\n * @param {string} text - the string to parse\n * @param {string} fmt - the format the string is expected to be in (see description)\n * @param {Object} options - options taken by fromFormat()\n * @return {Object}\n */\n ;\n\n DateTime.fromFormatExplain = function fromFormatExplain(text, fmt, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n _options$locale = _options.locale,\n locale = _options$locale === void 0 ? null : _options$locale,\n _options$numberingSys = _options.numberingSystem,\n numberingSystem = _options$numberingSys === void 0 ? null : _options$numberingSys,\n localeToUse = Locale.fromOpts({\n locale: locale,\n numberingSystem: numberingSystem,\n defaultToEN: true\n });\n return explainFromTokens(localeToUse, text, fmt);\n }\n /**\n * @deprecated use fromFormatExplain instead\n */\n ;\n\n DateTime.fromStringExplain = function fromStringExplain(text, fmt, options) {\n if (options === void 0) {\n options = {};\n }\n\n return DateTime.fromFormatExplain(text, fmt, options);\n } // FORMAT PRESETS\n\n /**\n * {@link toLocaleString} format like 10/14/1983\n * @type {Object}\n */\n ;\n\n _createClass(DateTime, [{\n key: \"isValid\",\n get: function get() {\n return this.invalid === null;\n }\n /**\n * Returns an error code if this DateTime is invalid, or null if the DateTime is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidReason\",\n get: function get() {\n return this.invalid ? this.invalid.reason : null;\n }\n /**\n * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid\n * @type {string}\n */\n\n }, {\n key: \"invalidExplanation\",\n get: function get() {\n return this.invalid ? this.invalid.explanation : null;\n }\n /**\n * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"locale\",\n get: function get() {\n return this.isValid ? this.loc.locale : null;\n }\n /**\n * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"numberingSystem\",\n get: function get() {\n return this.isValid ? this.loc.numberingSystem : null;\n }\n /**\n * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime\n *\n * @type {string}\n */\n\n }, {\n key: \"outputCalendar\",\n get: function get() {\n return this.isValid ? this.loc.outputCalendar : null;\n }\n /**\n * Get the time zone associated with this DateTime.\n * @type {Zone}\n */\n\n }, {\n key: \"zone\",\n get: function get() {\n return this._zone;\n }\n /**\n * Get the name of the time zone.\n * @type {string}\n */\n\n }, {\n key: \"zoneName\",\n get: function get() {\n return this.isValid ? this.zone.name : null;\n }\n /**\n * Get the year\n * @example DateTime.local(2017, 5, 25).year //=> 2017\n * @type {number}\n */\n\n }, {\n key: \"year\",\n get: function get() {\n return this.isValid ? this.c.year : NaN;\n }\n /**\n * Get the quarter\n * @example DateTime.local(2017, 5, 25).quarter //=> 2\n * @type {number}\n */\n\n }, {\n key: \"quarter\",\n get: function get() {\n return this.isValid ? Math.ceil(this.c.month / 3) : NaN;\n }\n /**\n * Get the month (1-12).\n * @example DateTime.local(2017, 5, 25).month //=> 5\n * @type {number}\n */\n\n }, {\n key: \"month\",\n get: function get() {\n return this.isValid ? this.c.month : NaN;\n }\n /**\n * Get the day of the month (1-30ish).\n * @example DateTime.local(2017, 5, 25).day //=> 25\n * @type {number}\n */\n\n }, {\n key: \"day\",\n get: function get() {\n return this.isValid ? this.c.day : NaN;\n }\n /**\n * Get the hour of the day (0-23).\n * @example DateTime.local(2017, 5, 25, 9).hour //=> 9\n * @type {number}\n */\n\n }, {\n key: \"hour\",\n get: function get() {\n return this.isValid ? this.c.hour : NaN;\n }\n /**\n * Get the minute of the hour (0-59).\n * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30\n * @type {number}\n */\n\n }, {\n key: \"minute\",\n get: function get() {\n return this.isValid ? this.c.minute : NaN;\n }\n /**\n * Get the second of the minute (0-59).\n * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52\n * @type {number}\n */\n\n }, {\n key: \"second\",\n get: function get() {\n return this.isValid ? this.c.second : NaN;\n }\n /**\n * Get the millisecond of the second (0-999).\n * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654\n * @type {number}\n */\n\n }, {\n key: \"millisecond\",\n get: function get() {\n return this.isValid ? this.c.millisecond : NaN;\n }\n /**\n * Get the week year\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2014, 12, 31).weekYear //=> 2015\n * @type {number}\n */\n\n }, {\n key: \"weekYear\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekYear : NaN;\n }\n /**\n * Get the week number of the week year (1-52ish).\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2017, 5, 25).weekNumber //=> 21\n * @type {number}\n */\n\n }, {\n key: \"weekNumber\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekNumber : NaN;\n }\n /**\n * Get the day of the week.\n * 1 is Monday and 7 is Sunday\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2014, 11, 31).weekday //=> 4\n * @type {number}\n */\n\n }, {\n key: \"weekday\",\n get: function get() {\n return this.isValid ? possiblyCachedWeekData(this).weekday : NaN;\n }\n /**\n * Get the ordinal (meaning the day of the year)\n * @example DateTime.local(2017, 5, 25).ordinal //=> 145\n * @type {number|DateTime}\n */\n\n }, {\n key: \"ordinal\",\n get: function get() {\n return this.isValid ? gregorianToOrdinal(this.c).ordinal : NaN;\n }\n /**\n * Get the human readable short month name, such as 'Oct'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).monthShort //=> Oct\n * @type {string}\n */\n\n }, {\n key: \"monthShort\",\n get: function get() {\n return this.isValid ? Info.months(\"short\", {\n locObj: this.loc\n })[this.month - 1] : null;\n }\n /**\n * Get the human readable long month name, such as 'October'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).monthLong //=> October\n * @type {string}\n */\n\n }, {\n key: \"monthLong\",\n get: function get() {\n return this.isValid ? Info.months(\"long\", {\n locObj: this.loc\n })[this.month - 1] : null;\n }\n /**\n * Get the human readable short weekday, such as 'Mon'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon\n * @type {string}\n */\n\n }, {\n key: \"weekdayShort\",\n get: function get() {\n return this.isValid ? Info.weekdays(\"short\", {\n locObj: this.loc\n })[this.weekday - 1] : null;\n }\n /**\n * Get the human readable long weekday, such as 'Monday'.\n * Defaults to the system's locale if no locale has been specified\n * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday\n * @type {string}\n */\n\n }, {\n key: \"weekdayLong\",\n get: function get() {\n return this.isValid ? Info.weekdays(\"long\", {\n locObj: this.loc\n })[this.weekday - 1] : null;\n }\n /**\n * Get the UTC offset of this DateTime in minutes\n * @example DateTime.now().offset //=> -240\n * @example DateTime.utc().offset //=> 0\n * @type {number}\n */\n\n }, {\n key: \"offset\",\n get: function get() {\n return this.isValid ? +this.o : NaN;\n }\n /**\n * Get the short human name for the zone's current offset, for example \"EST\" or \"EDT\".\n * Defaults to the system's locale if no locale has been specified\n * @type {string}\n */\n\n }, {\n key: \"offsetNameShort\",\n get: function get() {\n if (this.isValid) {\n return this.zone.offsetName(this.ts, {\n format: \"short\",\n locale: this.locale\n });\n } else {\n return null;\n }\n }\n /**\n * Get the long human name for the zone's current offset, for example \"Eastern Standard Time\" or \"Eastern Daylight Time\".\n * Defaults to the system's locale if no locale has been specified\n * @type {string}\n */\n\n }, {\n key: \"offsetNameLong\",\n get: function get() {\n if (this.isValid) {\n return this.zone.offsetName(this.ts, {\n format: \"long\",\n locale: this.locale\n });\n } else {\n return null;\n }\n }\n /**\n * Get whether this zone's offset ever changes, as in a DST.\n * @type {boolean}\n */\n\n }, {\n key: \"isOffsetFixed\",\n get: function get() {\n return this.isValid ? this.zone.universal : null;\n }\n /**\n * Get whether the DateTime is in a DST.\n * @type {boolean}\n */\n\n }, {\n key: \"isInDST\",\n get: function get() {\n if (this.isOffsetFixed) {\n return false;\n } else {\n return this.offset > this.set({\n month: 1\n }).offset || this.offset > this.set({\n month: 5\n }).offset;\n }\n }\n /**\n * Returns true if this DateTime is in a leap year, false otherwise\n * @example DateTime.local(2016).isInLeapYear //=> true\n * @example DateTime.local(2013).isInLeapYear //=> false\n * @type {boolean}\n */\n\n }, {\n key: \"isInLeapYear\",\n get: function get() {\n return isLeapYear(this.year);\n }\n /**\n * Returns the number of days in this DateTime's month\n * @example DateTime.local(2016, 2).daysInMonth //=> 29\n * @example DateTime.local(2016, 3).daysInMonth //=> 31\n * @type {number}\n */\n\n }, {\n key: \"daysInMonth\",\n get: function get() {\n return daysInMonth(this.year, this.month);\n }\n /**\n * Returns the number of days in this DateTime's year\n * @example DateTime.local(2016).daysInYear //=> 366\n * @example DateTime.local(2013).daysInYear //=> 365\n * @type {number}\n */\n\n }, {\n key: \"daysInYear\",\n get: function get() {\n return this.isValid ? daysInYear(this.year) : NaN;\n }\n /**\n * Returns the number of weeks in this DateTime's year\n * @see https://en.wikipedia.org/wiki/ISO_week_date\n * @example DateTime.local(2004).weeksInWeekYear //=> 53\n * @example DateTime.local(2013).weeksInWeekYear //=> 52\n * @type {number}\n */\n\n }, {\n key: \"weeksInWeekYear\",\n get: function get() {\n return this.isValid ? weeksInWeekYear(this.weekYear) : NaN;\n }\n }], [{\n key: \"DATE_SHORT\",\n get: function get() {\n return DATE_SHORT;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_MED\",\n get: function get() {\n return DATE_MED;\n }\n /**\n * {@link toLocaleString} format like 'Fri, Oct 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_MED_WITH_WEEKDAY\",\n get: function get() {\n return DATE_MED_WITH_WEEKDAY;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_FULL\",\n get: function get() {\n return DATE_FULL;\n }\n /**\n * {@link toLocaleString} format like 'Tuesday, October 14, 1983'\n * @type {Object}\n */\n\n }, {\n key: \"DATE_HUGE\",\n get: function get() {\n return DATE_HUGE;\n }\n /**\n * {@link toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_SIMPLE\",\n get: function get() {\n return TIME_SIMPLE;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_SECONDS\",\n get: function get() {\n return TIME_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_SHORT_OFFSET\",\n get: function get() {\n return TIME_WITH_SHORT_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_WITH_LONG_OFFSET\",\n get: function get() {\n return TIME_WITH_LONG_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_SIMPLE\",\n get: function get() {\n return TIME_24_SIMPLE;\n }\n /**\n * {@link toLocaleString} format like '09:30:23', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_SECONDS\",\n get: function get() {\n return TIME_24_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 EDT', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_SHORT_OFFSET\",\n get: function get() {\n return TIME_24_WITH_SHORT_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.\n * @type {Object}\n */\n\n }, {\n key: \"TIME_24_WITH_LONG_OFFSET\",\n get: function get() {\n return TIME_24_WITH_LONG_OFFSET;\n }\n /**\n * {@link toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_SHORT\",\n get: function get() {\n return DATETIME_SHORT;\n }\n /**\n * {@link toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_SHORT_WITH_SECONDS\",\n get: function get() {\n return DATETIME_SHORT_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED\",\n get: function get() {\n return DATETIME_MED;\n }\n /**\n * {@link toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED_WITH_SECONDS\",\n get: function get() {\n return DATETIME_MED_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_MED_WITH_WEEKDAY\",\n get: function get() {\n return DATETIME_MED_WITH_WEEKDAY;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_FULL\",\n get: function get() {\n return DATETIME_FULL;\n }\n /**\n * {@link toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_FULL_WITH_SECONDS\",\n get: function get() {\n return DATETIME_FULL_WITH_SECONDS;\n }\n /**\n * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_HUGE\",\n get: function get() {\n return DATETIME_HUGE;\n }\n /**\n * {@link toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.\n * @type {Object}\n */\n\n }, {\n key: \"DATETIME_HUGE_WITH_SECONDS\",\n get: function get() {\n return DATETIME_HUGE_WITH_SECONDS;\n }\n }]);\n\n return DateTime;\n}();\nfunction friendlyDateTime(dateTimeish) {\n if (DateTime.isDateTime(dateTimeish)) {\n return dateTimeish;\n } else if (dateTimeish && dateTimeish.valueOf && isNumber(dateTimeish.valueOf())) {\n return DateTime.fromJSDate(dateTimeish);\n } else if (dateTimeish && typeof dateTimeish === \"object\") {\n return DateTime.fromObject(dateTimeish);\n } else {\n throw new InvalidArgumentError(\"Unknown datetime argument: \" + dateTimeish + \", of type \" + typeof dateTimeish);\n }\n}\n\nvar VERSION = \"1.28.0\";\n\nexports.DateTime = DateTime;\nexports.Duration = Duration;\nexports.FixedOffsetZone = FixedOffsetZone;\nexports.IANAZone = IANAZone;\nexports.Info = Info;\nexports.Interval = Interval;\nexports.InvalidZone = InvalidZone;\nexports.LocalZone = LocalZone;\nexports.Settings = Settings;\nexports.VERSION = VERSION;\nexports.Zone = Zone;\n//# sourceMappingURL=luxon.js.map\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n setInterval: setInterval\n});\n","/* global Bun -- Deno case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n setTimeout: setTimeout\n});\n",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/*globals window, global, require*/\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\n\t var crypto;\n\n\t // Native crypto from window (Browser)\n\t if (typeof window !== 'undefined' && window.crypto) {\n\t crypto = window.crypto;\n\t }\n\n\t // Native crypto in web worker (Browser)\n\t if (typeof self !== 'undefined' && self.crypto) {\n\t crypto = self.crypto;\n\t }\n\n\t // Native crypto from worker\n\t if (typeof globalThis !== 'undefined' && globalThis.crypto) {\n\t crypto = globalThis.crypto;\n\t }\n\n\t // Native (experimental IE 11) crypto from window (Browser)\n\t if (!crypto && typeof window !== 'undefined' && window.msCrypto) {\n\t crypto = window.msCrypto;\n\t }\n\n\t // Native crypto from global (NodeJS)\n\t if (!crypto && typeof global !== 'undefined' && global.crypto) {\n\t crypto = global.crypto;\n\t }\n\n\t // Native crypto import via require (NodeJS)\n\t if (!crypto && typeof require === 'function') {\n\t try {\n\t crypto = require('crypto');\n\t } catch (err) {}\n\t }\n\n\t /*\n\t * Cryptographically secure pseudorandom number generator\n\t *\n\t * As Math.random() is cryptographically not safe to use\n\t */\n\t var cryptoSecureRandomInt = function () {\n\t if (crypto) {\n\t // Use getRandomValues method (Browser)\n\t if (typeof crypto.getRandomValues === 'function') {\n\t try {\n\t return crypto.getRandomValues(new Uint32Array(1))[0];\n\t } catch (err) {}\n\t }\n\n\t // Use randomBytes method (NodeJS)\n\t if (typeof crypto.randomBytes === 'function') {\n\t try {\n\t return crypto.randomBytes(4).readInt32LE();\n\t } catch (err) {}\n\t }\n\t }\n\n\t throw new Error('Native crypto module could not be used to get secure random number.');\n\t };\n\n\t /*\n\t * Local polyfill of Object.create\n\n\t */\n\t var create = Object.create || (function () {\n\t function F() {}\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }());\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var j = 0; j < thatSigBytes; j += 4) {\n\t thisWords[(thisSigBytes + j) >>> 2] = thatWords[j >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t for (var i = 0; i < nBytes; i += 4) {\n\t words.push(cryptoSecureRandomInt());\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t var processedWords;\n\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));","var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n from: from\n});\n","'use strict';\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (;!(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (;length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};\n","var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n\n if (res.done) return res.value;\n\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }\n ];\n});\n","// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.map.constructor');\n","'use strict';\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n","'use strict';\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n\n var fixMethod = function (KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY,\n KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n }\n );\n };\n\n var REPLACE = isForced(\n CONSTRUCTOR_NAME,\n !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n }))\n );\n\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({ global: true, constructor: true, forced: Constructor != NativeConstructor }, exported);\n\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n return Constructor;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","'use strict';\nvar create = require('../internals/object-create');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/iterator-define');\nvar createIterResultObject = require('../internals/create-iter-result-object');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n });\n\n var Prototype = Constructor.prototype;\n\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n var define = function (that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;\n else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n } return that;\n };\n\n var getEntry = function (that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;\n else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function (key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;\n else that.size--;\n } return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {\n configurable: true,\n get: function () {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return createIterResultObject(undefined, true);\n }\n // return step by kind\n if (kind == 'keys') return createIterResultObject(entry.key, false);\n if (kind == 'values') return createIterResultObject(entry.value, false);\n return createIterResultObject([entry.key, entry.value], false);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};\n","var defineBuiltIn = require('../internals/define-built-in');\n\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};\n","'use strict';\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n","var arraySlice = require('../internals/array-slice-simple');\n\nvar floor = Math.floor;\n\nvar mergeSort = function (array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(\n array,\n mergeSort(arraySlice(array, 0, middle), comparefn),\n mergeSort(arraySlice(array, middle), comparefn),\n comparefn\n );\n};\n\nvar insertionSort = function (array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n } return array;\n};\n\nvar merge = function (array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = (lindex < llength && rindex < rlength)\n ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n : lindex < llength ? left[lindex++] : right[rindex++];\n } return array;\n};\n\nmodule.exports = mergeSort;\n","var userAgent = require('../internals/engine-user-agent');\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n","var UA = require('../internals/engine-user-agent');\n\nmodule.exports = /MSIE|Trident/.test(UA);\n","var userAgent = require('../internals/engine-user-agent');\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n","(function(root){\n 'use strict';\n\n function NumberAbbreviate() {\n var units\n if (!(this instanceof NumberAbbreviate)) {\n // function usage: abbrev(n, decPlaces, units)\n var n = arguments[0]\n var decPlaces = arguments[1]\n units = arguments[2]\n var ab = new NumberAbbreviate(units)\n return ab.abbreviate(n, decPlaces)\n }\n // class usage: new NumberAbbreviate(units)\n units = arguments[0]\n this.units = units == null ? ['k', 'm', 'b', 't'] : units\n }\n\n NumberAbbreviate.prototype._abbreviate = function(number, decPlaces) {\n decPlaces = Math.pow(10, decPlaces)\n\n for (var i = this.units.length - 1; i >= 0; i--) {\n\n var size = Math.pow(10, (i + 1) * 3)\n\n if (size <= number) {\n number = Math.round(number * decPlaces / size) / decPlaces\n\n if ((number === 1000) && (i < this.units.length - 1)) {\n number = 1\n i++\n }\n\n number += this.units[i]\n\n break\n }\n }\n\n return number\n }\n\n NumberAbbreviate.prototype.abbreviate = function(number, decPlaces) {\n var isNegative = number < 0\n var abbreviatedNumber = this._abbreviate(Math.abs(number), decPlaces || 0)\n\n return isNegative ? '-' + abbreviatedNumber : abbreviatedNumber;\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = NumberAbbreviate\n } else {\n root.NumberAbbreviate = NumberAbbreviate\n }\n\n})(this);\n","class Type {\r\n\r\n /**\r\n * Attempts to determine the type of the provided value.\r\n *\r\n * @param {(Object|string)} type The type to check.\r\n * @returns {null|String}\r\n */\r\n static typeOf(type): String {\r\n if (typeof type === 'undefined') {\r\n return null;\r\n }\r\n\r\n if (typeof type.prototype !== 'object') {\r\n if (typeof type.__proto__ === 'object') {\r\n return type.__proto__.constructor.name;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n if (typeof type.prototype.constructor !== 'function') {\r\n return null;\r\n }\r\n\r\n return type.prototype.constructor.name;\r\n }\r\n\r\n /**\r\n * Tests if the provided value is of the specified type.\r\n *\r\n * @param {Object|string} value The value to test.\r\n * @param {Object|string} type The type to guarantee.\r\n * @returns {boolean}\r\n */\r\n static isTypeOf(value, type) : Boolean {\r\n return Type.typeOf(value) === Type.typeOf(type);\r\n }\r\n\r\n /**\r\n * Tests if the provided value has a value set.\r\n *\r\n * @param {(Object|string|number)} value The value to test.\r\n * @returns {boolean}\r\n */\r\n static hasValue(value) {\r\n if (typeof value === 'undefined') {\r\n return false;\r\n }\r\n\r\n return value !== null;\r\n }\r\n\r\n /**\r\n * Tests if all the provided value paths are set.\r\n *\r\n * @param {Array} values The paths to test.\r\n * @returns {boolean}\r\n */\r\n static hasAllValues(values : Array) {\r\n for (let i = 0; i < values.length; i += 1) {\r\n if (Type.hasValue(values[i]) === false) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * Returns the value, or the default if no value set.\r\n *\r\n * @param {(Object|string|number)} value The value to test.\r\n * @param {(Object|string|number)} defaultValue The default value, if any.\r\n * @returns {(Object|string|number)}\r\n */\r\n static withDefault(value, defaultValue) {\r\n if (Type.hasValue(value)) {\r\n return value;\r\n }\r\n\r\n return defaultValue;\r\n }\r\n\r\n}\r\n\r\nexport default Type;\r\n","class Convert {\r\n\r\n /**\r\n * Attempts to convert the provided value to an integer.\r\n *\r\n * @param {String|number|null} val The value to convert.\r\n * @returns {number}\r\n */\r\n static toInt(val) {\r\n if (typeof val === 'undefined' || val === null) {\r\n return 0;\r\n }\r\n\r\n let result = parseInt(val, 10);\r\n\r\n if (isNaN(result)) {\r\n return 0;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n}\r\n\r\nexport default Convert;\r\n","class Guid {\r\n\r\n static newGuid(): string {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n var r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n}\r\n\r\nexport default Guid;\r\n","import Type from './type';\r\n\r\nclass Range {\r\n\r\n /**\r\n * Generates a range between the provided min and maximum.\r\n *\r\n * @param {Number} min Where the range should start.\r\n * @param {Number} max Where the range should end.\r\n * @param {Number} step The amount to increment each range element. Default: 1.\r\n * @returns {Array}\r\n */\r\n static get(min: Number, max: Number, step: Number): Array {\r\n step = Type.withDefault(step, 1);\r\n\r\n let range = [];\r\n\r\n for (let i = min; i <= max; i += step) {\r\n range.push(i);\r\n }\r\n\r\n return range;\r\n }\r\n\r\n}\r\n\r\nexport default Range;\r\n","import Type from './type';\n\nclass String {\n\n /**\n * Limits the value's length.\n *\n * @param {string} value The value to limit.\n * @param {Number} limit The maximum number of characters of the value.\n * @param {string} cap An optional end cap. Defaults to `...`.\n * @returns {string}\n */\n static truncate(value: string, limit: Number, cap: string): string {\n if (Type.hasValue(cap) === false) {\n cap = '...';\n }\n\n if (value.length > limit) {\n return value.substr(0, limit - 1) + cap;\n }\n\n return value;\n }\n\n /**\n * Tests if the value has a string value.\n *\n * @param {string|null} value The value to test.\n * @returns {boolean}\n */\n static hasValue(value) {\n\n if (Type.hasValue(value) === false) {\n return false;\n }\n\n if (value.constructor.name !== 'String') {\n return false;\n }\n\n return value.trim().length !== 0;\n }\n\n /**\n * Returns the value, or the default if no value set.\n *\n * @param {string} value The value to test.\n * @param {string} defaultValue The value to return if no value present.\n * @returns {string|*}\n */\n static withDefault(value, defaultValue: string): string {\n if (String.hasValue(value)) {\n return value;\n }\n\n return defaultValue;\n }\n\n /**\n * Ensures the value ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static finish(value: string, suffix: string): string {\n if (String.endsWith(value, suffix)) {\n return value;\n }\n\n return value + suffix;\n }\n\n /**\n * Ensures the value begins with the prefix.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static start(value: string, prefix: string): string {\n if (String.startsWith(value, prefix)) {\n return value;\n }\n\n return prefix + value;\n }\n\n /**\n * Indicates if the value string starts with the value.\n *\n * @param {string} value\n * @param {string} prefix\n * @returns {string}\n */\n static startsWith(value: string, prefix: string): string {\n return (value.substr(0, prefix.length) === prefix);\n }\n\n /**\n * Indicates if the value string ends with the suffix.\n *\n * @param {string} value\n * @param {string} suffix\n * @returns {string}\n */\n static endsWith(value: string, suffix: string): string {\n return (value.substr(value.length - suffix.length) === suffix);\n }\n\n /**\n * Formats the provided value with the replacements.\n *\n * @param {string} value\n * @param {array|string} replacements\n */\n static format(value, ...replacements) {\n let content = value;\n\n for (let i = 0; i < replacements.length; i++) {\n let replacement = '{' + i + '}';\n\n content = content.replace(replacement, replacements[i]);\n }\n\n return content;\n }\n\n /**\n * Transforms the value's first character to upper-cased.\n *\n * @param {string} value The value to transform.\n * @returns {string}\n */\n static ucFirst(value: string): string {\n if (String.hasValue(value) === false) {\n return value;\n }\n\n if (value.length === 1) {\n return value.toUpperCase();\n }\n\n return value.charAt(0).toUpperCase() + value.slice(1);\n }\n\n}\n\nexport default String;\n","class Url {\r\n\r\n static toAbsolute(base: string, relative: string): string {\r\n let stack = base.split('/'),\r\n parts = relative.split('/');\r\n\r\n stack.pop();\r\n\r\n for (let i = 0; i < parts.length; i += 1) {\r\n if (parts[i] === '.') {\r\n continue;\r\n }\r\n\r\n if (parts[i] === '..') {\r\n stack.pop();\r\n } else {\r\n stack.push(parts[i]);\r\n }\r\n }\r\n\r\n return stack.join('/');\r\n }\r\n\r\n static current() {\r\n return window.location.href;\r\n }\r\n\r\n static currentLastValue() {\r\n return Url.lastValue(Url.current());\r\n\r\n }\r\n\r\n static lastValue(url: string) {\r\n let parts = url.split('?'),\r\n nonParamPart = parts[0].split('/');\r\n\r\n if (nonParamPart.length === 0) {\r\n return '';\r\n }\r\n\r\n return nonParamPart[nonParamPart.length - 1];\r\n }\r\n\r\n}\r\n\r\nexport default Url;\r\n","import String from '../../Types/string';\r\nimport Type from '../../Types/type';\r\n\r\nclass Author {\r\n\r\n constructor() {\r\n this.id = null;\r\n this.initials = '';\r\n this.email = '';\r\n this.hasUser = false;\r\n this.name = '';\r\n this.userAgent = '';\r\n this.userIp = '';\r\n this.webAddress = '';\r\n }\r\n\r\n /**\r\n * Tests if the author contains an email address value.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasEmailAddress(): Boolean {\r\n return String.hasValue(this.email);\r\n }\r\n\r\n /**\r\n * Tests if the author contains a web address value.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasWebAddress(): Boolean {\r\n return String.hasValue(this.webAddress);\r\n }\r\n\r\n /**\r\n * Converts an API object into an Author instance.\r\n *\r\n * @param {Object} apiObject The result from the API.\r\n * @returns {Author}\r\n */\r\n static fromApiObject(apiObject): Author {\r\n let author = new Author();\r\n\r\n author.id = Type.withDefault(apiObject[Author.ApiId], null);\r\n author.initials = Type.withDefault(apiObject[Author.ApiInitials], '');\r\n author.email = Type.withDefault(apiObject[Author.ApiEmail], '');\r\n author.hasUser = Type.withDefault(apiObject[Author.ApiHasUser], false);\r\n author.name = Type.withDefault(apiObject[Author.ApiName], '');\r\n author.userAgent = Type.withDefault(apiObject[Author.ApiUserAgent], '');\r\n author.userIp = Type.withDefault(apiObject[Author.ApiUserIp], '');\r\n author.webAddress = Type.withDefault(apiObject[Author.ApiWebAddress], '');\r\n\r\n return author;\r\n }\r\n\r\n}\r\n\r\nAuthor.ApiId = 'id';\r\nAuthor.ApiInitials = 'initials';\r\nAuthor.ApiWebAddress = 'url';\r\nAuthor.ApiEmail = 'email';\r\nAuthor.ApiHasUser = 'has_user';\r\nAuthor.ApiName = 'name';\r\nAuthor.ApiUserAgent = 'user_agent';\r\nAuthor.ApiUserIp = 'user_ip';\r\n\r\nexport default Author;\r\n","class ThreadContext {\r\n\r\n constructor() {\r\n this.id = null;\r\n this.name = '';\r\n this.createdUtc = 0;\r\n }\r\n\r\n static fromApiObject(apiObject) : ThreadContext {\r\n let context = new ThreadContext();\r\n\r\n context.id = apiObject.contextId;\r\n context.name = apiObject.contextName;\r\n context.createdUtc = apiObject.createdUtc;\r\n\r\n return context;\r\n }\r\n\r\n}\r\n\r\nexport default ThreadContext;\r\n","import Type from '../../Types/type';\r\nimport String from '../../Types/string';\r\n\r\nclass BaseResponse {\r\n\r\n constructor() {\r\n this.success = true;\r\n this.isRecoverable = false;\r\n this.errorCode = null;\r\n this.msg = '';\r\n this.error = null;\r\n this.authorized = true;\r\n this.permission = null;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): BaseResponse {\r\n let response = new BaseResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n return response;\r\n }\r\n\r\n static applyResponseToObject(apiResponse, err, object) {\r\n object.success = Type.withDefault(apiResponse[BaseResponse.ApiSuccess], false);\r\n object.isRecoverable = Type.withDefault(apiResponse[BaseResponse.ApiIsRecoverable], true);\r\n object.errorCode = Type.withDefault(apiResponse[BaseResponse.ApiErrorCode], null);\r\n object.msg = String.withDefault(apiResponse[BaseResponse.ApiMessage], '');\r\n object.error = Type.withDefault(err, null);\r\n }\r\n\r\n}\r\n\r\nBaseResponse.ApiSuccess = 'success';\r\nBaseResponse.ApiIsRecoverable = 'is_recoverable';\r\nBaseResponse.ApiMessage = 'msg';\r\nBaseResponse.ApiErrorCode = 'error_code';\r\n\r\nexport default BaseResponse;\r\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ErrorResponse extends BaseResponse {\n\n static fromError(err) {\n let response = new ErrorResponse();\n\n response.success = false;\n response.error = err;\n\n if (Type.hasValue(err, 'response')) {\n if (Type.hasValue(err.response, 'status')) {\n if (err.response.status === 403) {\n response.authorized = false;\n response.permission = err.response.headers.get('meerkat-permission');\n }\n }\n }\n\n return response;\n }\n\n static makeStateError() {\n let response = new ErrorResponse();\n\n response.success = false;\n response.err = null;\n\n return response;\n }\n\n getMessage(): string {\n return Type.typeOf(this.error) + '\\n' + this.error.message + '\\n' + this.error.stack;\n }\n\n}\n\nexport default ErrorResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass CommentMutationResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.autoDeleted = false;\n this.comments = [];\n this.comment = null;\n }\n\n static fromApiResponse(apiResponse, err): CommentMutationResponse {\n let response = new CommentMutationResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n\n response.comment = Type.withDefault(apiResponse[CommentMutationResponse.ApiComment], null);\n response.comments = Type.withDefault(apiResponse[CommentMutationResponse.ApiComments], []);\n response.autoDeleted = Type.withDefault(apiResponse[CommentMutationResponse.ApiAutoDeleted], false);\n\n return response;\n }\n\n}\n\nCommentMutationResponse.ApiComments = 'comments';\nCommentMutationResponse.ApiAutoDeleted = 'auto_deleted';\nCommentMutationResponse.ApiComment = 'comment';\n\nexport default CommentMutationResponse;\n","import BaseResponse from './baseResponse';\r\nimport Type from '../../Types/type';\r\n\r\nclass AffectedCommentsResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.partialSuccess = false;\r\n this.comments = [];\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): AffectedCommentsResponse {\r\n let response = new AffectedCommentsResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.comments = Type.withDefault(apiResponse[AffectedCommentsResponse.ApiComments], []);\r\n\r\n if (response.success === false && response.comments.length > 0) {\r\n response.partialSuccess = true;\r\n }\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nAffectedCommentsResponse.ApiComments = 'comments';\r\n\r\nexport default AffectedCommentsResponse;\r\n","import {Type, Convert, String} from '../../Types/common';\r\nimport {canBeSelected} from '../Concerns/canBeSelected';\r\nimport Author from './author';\r\nimport ThreadContext from './threadContext';\r\nimport ErrorResponse from '../../Http/Responses/errorResponse';\r\nimport CommentMutationResponse from '../../Http/Responses/commentMutationResponse';\r\nimport AffectedCommentsResponse from '../../Http/Responses/AffectedCommentsResponse';\r\n\r\nconst syncjs = require('syncjs'),\r\n {DateTime} = require('luxon');\r\n\r\n/**\r\n * @member {boolean} isSelected\r\n */\r\nclass Comment {\r\n\r\n constructor() {\r\n\r\n canBeSelected(this);\r\n\r\n /** {CommentResponse} */\r\n this._internalCommentResponse = null;\r\n\r\n this.isNew = true;\r\n\r\n this.id = null;\r\n this.parentId = null;\r\n this.authorId = null;\r\n this.parentAuthorId = null;\r\n this.contextId = null;\r\n this.internalContextId = null;\r\n this.internalRoot = null;\r\n\r\n this.ancestors = [];\r\n this.children = [];\r\n this.runtimeDate = null;\r\n this.localDateFormatted = null;\r\n this.commentDate = null;\r\n this.commentDateFormatted = null;\r\n this.replies = [];\r\n this.content = '';\r\n this.contentRaw = '';\r\n this.depth = 1;\r\n this.descendents = [];\r\n this.hasReplies = false;\r\n this.internalContentTruncated = false;\r\n this.isReply = false;\r\n this.isParent = false;\r\n this.isRoot = false;\r\n this.published = false;\r\n this.revisionCount = 0;\r\n this.isDeleted = false;\r\n this.hasAuthorEmail = false;\r\n this.hasAuthorName = false;\r\n this.controlPanelViewEntryUrl = '';\r\n\r\n this.hasBeenCheckedForSpam = false;\r\n this.isSpam = null;\r\n\r\n this.state = {\r\n isEditing: false,\r\n isReplying: false,\r\n reply: null\r\n };\r\n\r\n this.editProperties = null;\r\n\r\n syncjs.reactsToType(this, {'identity': 'id'});\r\n }\r\n\r\n onCommentPublished() {\r\n this.published = true;\r\n }\r\n\r\n onCommentUnpublished() {\r\n this.published = false;\r\n }\r\n\r\n onCommentMarkedAsSpam() {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = true;\r\n }\r\n\r\n onCommentMarkedAsHam() {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = false;\r\n }\r\n\r\n onCommentRemoved() {\r\n this.isSelected = false;\r\n this.cancelReply();\r\n this.cancelEditing();\r\n this.isDeleted = true;\r\n }\r\n\r\n onCommentUpdated(newVal : Comment) {\r\n this.content = newVal.content;\r\n }\r\n\r\n startReplying() {\r\n if (this.state.isEditing === true) {\r\n this.cancelWithDraft();\r\n }\r\n\r\n if (this.state.reply === null) {\r\n this.state.reply = new Comment();\r\n this.state.reply.parentId = this.id;\r\n }\r\n\r\n this.state.isReplying = true;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.setReplying(this);\r\n }\r\n }\r\n\r\n cancelReplyWithDraft() {\r\n this.state.isReplying = false;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelReplying(this);\r\n }\r\n }\r\n\r\n cancelReply() {\r\n if (this.state.isReplying === true) {\r\n this.state.isReplying = false;\r\n this.state.reply = null;\r\n }\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelReplying(this);\r\n }\r\n }\r\n\r\n startEditing() {\r\n if (this.editProperties === null) {\r\n this.editProperties = Object.assign({}, this);\r\n }\r\n\r\n this.state.isEditing = true;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.setEditing(this);\r\n }\r\n }\r\n\r\n cancelWithDraft() {\r\n this.state.isEditing = false;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelEditing(this);\r\n }\r\n }\r\n\r\n cancelEditing() {\r\n this.state.isEditing = false;\r\n this.editProperties = null;\r\n\r\n if (Type.hasValue(this._internalCommentResponse)) {\r\n this._internalCommentResponse.comments.cancelEditing(this);\r\n }\r\n }\r\n\r\n /**\r\n * Tests if the comment has an author.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasAuthor(): Boolean {\r\n return String.hasValue(this.authorId);\r\n }\r\n\r\n /**\r\n * Tests if the comment has a parent author.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasParentAuthor(): Boolean {\r\n return String.hasValue(this.parentAuthorId);\r\n }\r\n\r\n /**\r\n * Tests if the comment has a thread context available.\r\n *\r\n * @returns {boolean}\r\n */\r\n hasThreadContext(): Boolean {\r\n return String.hasValue(this.contextId);\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's author.\r\n *\r\n * @returns {null|Author}\r\n */\r\n getAuthor(): Author {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasAuthor()) {\r\n return this._internalCommentResponse.getResponseAuthor(this.authorId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's parent author, if available.\r\n *\r\n * @returns {null|Author}\r\n */\r\n getParentAuthor(): Author {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasParentAuthor()) {\r\n return this._internalCommentResponse.getResponseAuthor(this.parentAuthorId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Attempts to retrieve the comment's thread context, if available.\r\n *\r\n * @returns {ThreadContext|null}\r\n */\r\n getThreadContext(): ThreadContext {\r\n if (!Type.hasValue(this._internalCommentResponse)) {\r\n return null;\r\n }\r\n\r\n if (this.hasThreadContext()) {\r\n return this._internalCommentResponse.getResponseThread(this.contextId);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n /**\r\n * Gets the thread name, if available.\r\n *\r\n * @returns {string}\r\n */\r\n getThreadName() : String {\r\n let threadContext = this.getThreadContext();\r\n\r\n if (threadContext !== null) {\r\n return threadContext.name;\r\n }\r\n\r\n return '';\r\n }\r\n\r\n /**\r\n * Converts an API response object to a new Comment instance.\r\n *\r\n * @param {Object} apiObject The API response object.\r\n * @returns {Comment}\r\n */\r\n static fromApiObject(apiObject: Object): Comment {\r\n let comment = new Comment();\r\n\r\n comment.id = Type.withDefault(apiObject[Comment.ApiId], null);\r\n\r\n if (comment.id === null) {\r\n throw new Error('Comment with a NULL id was supplied.');\r\n }\r\n\r\n comment.authorId = Type.withDefault(apiObject[Comment.ApiAuthor], null);\r\n comment.parentAuthorId = Type.withDefault(apiObject[Comment.ApiParentAuthor], null);\r\n comment.contextId = Type.withDefault(apiObject[Comment.ApiContext], null);\r\n comment.internalContextId = Type.withDefault(apiObject[Comment.ApiInternalContextId], null);\r\n comment.internalRoot = Type.withDefault(apiObject[Comment.ApiInternalRoot], Convert.toInt(comment.id));\r\n comment.ancestors = Type.withDefault(apiObject[Comment.ApiAncestors], []);\r\n comment.children = Type.withDefault(apiObject[Comment.ApiChildren], []);\r\n comment.commentDate = Type.withDefault(apiObject[Comment.ApiCommentDate], null);\r\n comment.commentDateFormatted = Type.withDefault(apiObject[Comment.ApiCommentDateFormatted], null);\r\n comment.replies = Type.withDefault(apiObject[Comment.ApiComments], []);\r\n comment.content = Type.withDefault(apiObject[Comment.ApiContent], '');\r\n comment.contentRaw = Type.withDefault(apiObject[Comment.ApiContentRaw], '');\r\n comment.runtimeDate = DateTime.fromSeconds(parseInt(comment.id, 10), {zone: 'UTC'}).toLocal();\r\n comment.localDateFormatted = comment.runtimeDate.toLocaleString(DateTime.DATETIME_MED);\r\n comment.depth = Type.withDefault(apiObject[Comment.ApiDepth], 1);\r\n comment.descendents = Type.withDefault(apiObject[Comment.ApiDescendents], []);\r\n comment.hasReplies = Type.withDefault(apiObject[Comment.ApiHasReplies], false);\r\n comment.internalContentTruncated = Type.withDefault(apiObject[Comment.ApiInternalContentTruncated], false);\r\n comment.isReply = Type.withDefault(apiObject[Comment.ApiIsReply], false);\r\n comment.isParent = Type.withDefault(apiObject[Comment.ApiIsParent], false);\r\n comment.parentId = Type.withDefault(apiObject[Comment.ApiParentId], null);\r\n comment.isRoot = Type.withDefault(apiObject[Comment.ApiIsRoot], true);\r\n comment.published = Type.withDefault(apiObject[Comment.ApiPublished], false);\r\n comment.revisionCount = Type.withDefault(apiObject[Comment.ApiRevisionCount], 0);\r\n comment.hasBeenCheckedForSpam = Type.withDefault(apiObject[Comment.ApiHasCheckedForSpam], false);\r\n comment.hasAuthorEmail = Type.withDefault(apiObject[Comment.ApiCommentHasAuthorEmail], false);\r\n comment.hasAuthorName = Type.withDefault(apiObject[Comment.ApiCommentHasAuthorName], false);\r\n comment.controlPanelViewEntryUrl = Type.withDefault(apiObject[Comment.ApiControlPanelUrl], '#');\r\n\r\n if (comment.hasBeenCheckedForSpam) {\r\n comment.isSpam = Type.withDefault(apiObject[Comment.ApiSpam], true);\r\n } else {\r\n comment.isSpam = null;\r\n }\r\n\r\n return comment;\r\n }\r\n\r\n saveReply(): Promise {\r\n if (this.state.isReplying === true && this.state.reply !== null) {\r\n let contentToSave = this.state.reply.content;\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.attachReply(this.id, contentToSave).then(function (result) {\r\n if (result.success) {\r\n this.descendents.push(result.comment.id);\r\n this.replies.push(result.comment.id);\r\n this.cancelReply();\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n reject(ErrorResponse.makeStateError());\r\n });\r\n }\r\n\r\n save(): Promise {\r\n let contentToSave = this.content;\r\n\r\n if (this.state.isEditing && this.editProperties !== null) {\r\n contentToSave = this.editProperties.content;\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.update(this.id, contentToSave).then(function (result) {\r\n\r\n if (result.success) {\r\n this.content = result.comment.content;\r\n\r\n if (this.state.isEditing) {\r\n this.cancelEditing();\r\n }\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n delete(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.delete(this.id).then(function (result) {\r\n if (result.success) {\r\n this.isDeleted = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n publish(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.publish(this.id).then(function (result) {\r\n if (result.success) {\r\n this.published = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n unpublish(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.unpublish(this.id).then(function (result) {\r\n if (result.success) {\r\n this.published = false;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n markAsSpam(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.markAsSpam(this.id).then(function (result) {\r\n if (result.success) {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = true;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n markAsNotSpam(): Promise {\r\n return new Promise(function (resolve, reject) {\r\n this._internalCommentResponse._originator.markAsNotSpam(this.id).then(function (result) {\r\n if (result.success) {\r\n this.hasBeenCheckedForSpam = true;\r\n this.isSpam = false;\r\n }\r\n\r\n resolve(result);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n });\r\n }.bind(this));\r\n }\r\n\r\n}\r\n\r\nComment.ApiAncestors = 'ancestors';\r\nComment.ApiAuthor = 'author';\r\nComment.ApiParentAuthor = 'internal_parent_author';\r\nComment.ApiChildren = 'children';\r\nComment.ApiCommentDate = 'comment_date';\r\nComment.ApiCommentDateFormatted = 'comment_date_formatted';\r\nComment.ApiComments = 'comments';\r\nComment.ApiContent = 'content';\r\nComment.ApiContentRaw = 'content_raw';\r\nComment.ApiContext = 'context';\r\nComment.ApiDepth = 'depth';\r\nComment.ApiDescendents = 'descendents';\r\nComment.ApiHasReplies = 'has_replies';\r\nComment.ApiId = 'id';\r\nComment.ApiCommentHasAuthorEmail = 'internal_author_has_email';\r\nComment.ApiCommentHasAuthorName = 'internal_author_has_name';\r\nComment.ApiInternalContentTruncated = 'internal_content_truncated';\r\nComment.ApiInternalContextId = 'internal_context_id';\r\nComment.ApiInternalRoot = 'internal_root';\r\nComment.ApiIsReply = 'isReply';\r\nComment.ApiParentId = 'parent';\r\nComment.ApiIsParent = 'is_parent';\r\nComment.ApiIsRoot = 'is_root';\r\nComment.ApiPublished = 'published';\r\nComment.ApiRevisionCount = 'revision_count';\r\nComment.ApiSpam = 'spam';\r\nComment.ApiHasCheckedForSpam = 'has_checked_for_spam';\r\nComment.ApiControlPanelUrl = '_cp_view_entry_url';\r\n\r\nexport default Comment;\r\n","export function canBeSelected(instance) {\r\n instance.isSelected = false;\r\n\r\n instance.select = function () {\r\n this.isSelected = true;\r\n }.bind(instance);\r\n\r\n instance.unselect = function () {\r\n this.isSelected = false;\r\n }.bind(instance);\r\n}\r\n","/** Registers the syncjs hubs that are used across the app implementation. */\nimport Type from '../Types/type';\nimport Comment from '../Data/Comments/comment';\n\n/** Create some syncjs hubs that we will use throughout. */\nconst syncjs = require('syncjs');\n\nexport function registerHubs() {\n syncjs.Hubs.make('comments', Type.typeOf(Comment));\n syncjs.Hubs.make('config', Type.typeOf({}));\n}\n","class Settings {\n\n constructor() {\n this.avatarDriver = '';\n this.controlPanelConfigurationEnabled = false;\n }\n\n}\n\nexport default Settings;\n","export default {\r\n canApproveComments: false,\r\n canEditComments: false,\r\n canRemoveComments: false,\r\n canReplyToComments: false,\r\n canReportAsHam: false,\r\n canReportAsSpam: false,\r\n canUnApproveComments: false,\r\n canViewComments: false\r\n};\r\n","import jQuery from '../Types/jQuery';\r\nimport Settings from './settings';\r\nimport Type from '../Types/type';\r\nimport String from '../Types/string';\r\nimport DefaultPermissionSet from '../Data/defaultPermissionSet';\r\n\r\nclass Environment {\r\n\r\n static window() {\r\n return Environment.CONTEXT_WINDOW;\r\n }\r\n\r\n /**\r\n * @param {string} selector\r\n * @returns {*}\r\n */\r\n static $(selector: string): jQuery {\r\n return Environment.ContextJquery.apply(null, arguments);\r\n }\r\n\r\n /**\r\n * Moves the visible window to the top of the document.\r\n */\r\n static scrollTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n /**\r\n * Returns the current user's permission set.\r\n *\r\n * @returns {Object|string|number}\r\n */\r\n static getPermissions(): Object {\r\n return Type.withDefault(Environment.UserContext, DefaultPermissionSet);\r\n }\r\n\r\n /**\r\n * Tests if Control Panel configuration has been enabled.\r\n *\r\n * @returns {boolean}\r\n */\r\n static isControlPanelConfigEnabled(): Boolean {\r\n let curValue = Type.withDefault(Environment.Settings['controlPanelConfigurationEnabled'], true);\r\n\r\n return (curValue === true);\r\n }\r\n\r\n static getCsrfToken(): string {\r\n return window.Statamic.$config.get('csrfToken');\r\n }\r\n\r\n static pushHistoryState(relativeUrl) {\r\n if (window.history.pushState) {\r\n let fullUrl = String.finish(Environment.StatamicCpRoot, '/') + 'meerkat/' + relativeUrl;\r\n\r\n window.history.pushState({urlPath: fullUrl}, '', fullUrl);\r\n }\r\n }\r\n\r\n}\r\n\r\nEnvironment.MarkdownHandler = null;\r\nEnvironment.Settings = new Settings();\r\nEnvironment.UserContext = null;\r\nEnvironment.UserPreferences = {\r\n 'cp_avatar_driver': 'initials',\r\n 'cp_per_page': 10\r\n};\r\nEnvironment.Preferences = null;\r\n\r\nEnvironment.StatamicApiRoot = '';\r\nEnvironment.StatamicCpRoot = '';\r\nEnvironment.ContextJquery = null;\r\nEnvironment.ContextVueJs = null;\r\nEnvironment.ContextComponentRegister = null;\r\n\r\nexport default Environment;\r\n","import entryTemplate from './blueprintEntry.html';\r\n\r\n/**\r\n * Provides utilities for adding entries to the\r\n * Blueprints Statamic Control list at runtime.\r\n */\r\nclass Blueprints {\r\n\r\n /**\r\n * Adds an entry to the Blueprints Collections list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addCollectionsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_COLLECTIONS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Taxonomies list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addTaxonomiesEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_TAXONOMIES),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Globals list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addGlobalsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_GLOBALS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Asset Containers list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addAssetContainersEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_CONTAINERS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Forms list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addFormsEntry(svgIcon, title, url) {\r\n this.addTableEntry(\r\n this.getTable(Blueprints.TABLE_FORMS),\r\n svgIcon,\r\n title\r\n );\r\n }\r\n\r\n /**\r\n * Adds an entry to the Blueprints Other list.\r\n *\r\n * @param svgIcon\r\n * @param title\r\n * @param url\r\n */\r\n addOtherEntry(svgIcon, title, url) {\r\n let allTables = window.jQuery('table.data-table'),\r\n otherTable = allTables[allTables.length - 1];\r\n\r\n this.addTableEntry(\r\n otherTable,\r\n svgIcon,\r\n title,\r\n url\r\n );\r\n }\r\n\r\n getTable(table) {\r\n return window.jQuery('table.data-table')[table];\r\n }\r\n\r\n /**\r\n * Adds a new entry to the provided table.\r\n *\r\n * @param table\r\n * @param svgIcon\r\n * @param url\r\n * @param title\r\n */\r\n addTableEntry(table, svgIcon, title, url) {\r\n let newEntry = entryTemplate;\r\n\r\n newEntry = newEntry.replace('@svg', svgIcon);\r\n newEntry = newEntry.replace('@title', title);\r\n newEntry = newEntry.replace('@url', url);\r\n\r\n window.jQuery(table).find('tbody').append(window.jQuery(\r\n newEntry\r\n ));\r\n }\r\n\r\n}\r\n\r\nBlueprints.TABLE_COLLECTIONS = 0;\r\nBlueprints.TABLE_TAXONOMIES = 1;\r\nBlueprints.TABLE_GLOBALS = 2;\r\nBlueprints.TABLE_CONTAINERS = 3;\r\nBlueprints.TABLE_FORMS = 4;\r\nBlueprints.TABLE_OTHER = 5;\r\n\r\nexport default Blueprints;\r\n","/**\r\n * Provides utilities for interacting with Statamic's Control Panel toast bus.\r\n */\r\nclass Notifications {\r\n\r\n /**\r\n * Displays a success message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n success(message, options) {\r\n window.Statamic.$toast.success(message, options);\r\n }\r\n\r\n /**\r\n * Displays an information message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n info(message, options) {\r\n window.Statamic.$toast.info(message, options);\r\n }\r\n\r\n /**\r\n * Displays an error message in the Statamic Control Panel.\r\n *\r\n * @param {string} message The message to display.\r\n * @param {Object} options The message options.\r\n */\r\n error(message, options) {\r\n window.Statamic.$toast.error(message, options);\r\n }\r\n\r\n}\r\n\r\nexport default Notifications;\r\n","export function debounce(func, wait, immediate) {\r\n let timeout;\r\n\r\n return function () {\r\n let context = this, args = arguments, later = function () {\r\n timeout = null;\r\n if (!immediate) func.apply(context, args);\r\n };\r\n\r\n let callNow = immediate && !timeout;\r\n\r\n clearTimeout(timeout);\r\n timeout = setTimeout(later, wait);\r\n if (callNow) func.apply(context, args);\r\n };\r\n}\r\n","import Environment from '../Config/environment';\nimport {debounce} from '../utils';\n\nclass Addons {\n\n runActualLinkCheck(packageName, link) {\n let matchingElement = Environment.ContextJquery('td').filter(function () {\n return Environment.ContextJquery(this).text() === packageName;\n });\n\n if (matchingElement !== null && matchingElement.length === 1) {\n let parentElement = Environment.ContextJquery(matchingElement).parent(),\n alreadyInjected = parentElement.data('addon-listing-updated');\n\n if (typeof alreadyInjected === 'undefined' || alreadyInjected === null || alreadyInjected.trim().length === '') {\n parentElement.data('addon-listing-updated', 'true');\n\n parentElement.find('td').each(function () {\n let currentElement = Environment.ContextJquery(this),\n currentContent = currentElement.text(),\n newInnerContent = '' + currentContent + '';\n\n currentElement.html(newInnerContent);\n });\n }\n }\n }\n\n addLinkToPackage(packageName, link) {\n Environment.ContextJquery('body').bind('DOMSubtreeModified', function () {\n debounce(this.runActualLinkCheck(packageName, link), 250);\n }.bind(this));\n }\n\n}\n\nexport default Addons;\n","import Environment from '../Config/environment';\nimport Blueprints from './blueprints';\nimport Notifications from './Notifications';\nimport Addons from './addons';\n\nclass ControlPanel {\n\n constructor() {\n this._blueprints = new Blueprints();\n this._notif = new Notifications();\n this._addons = new Addons();\n }\n\n blueprints(): Blueprints {\n return this._blueprints;\n }\n\n addons(): Addons {\n return this._addons;\n }\n\n message(): Notifications {\n return this._notif;\n }\n\n /**\n * Generates a Statamic Control Panel URL.\n *\n * @param path\n * @returns {string}\n */\n static cpUrl(path) {\n return Environment.StatamicCpRoot + path;\n }\n\n}\n\nexport default ControlPanel;\n","import BlueprintHook from './Statamic/Hooks/blueprintHook';\nimport AddonConfigHook from './Statamic/Hooks/addonConfigHook';\n\nlet controlPanelHooks = [\n {\n 'path': /^(.*?)\\/fields\\/blueprints(.*?)$/,\n 'uses': BlueprintHook\n },\n {\n 'path': /^(.*?)\\/addons(.*?)$/,\n 'uses': AddonConfigHook\n }\n];\n\nexport {\n controlPanelHooks\n};\n","import commentIcon from '../../Icons/comment.html';\r\nimport ControlPanel from '../controlPanel';\r\n\r\nclass BlueprintHook {\r\n\r\n static run(app) {\r\n app.controlPanel.blueprints().addOtherEntry(\r\n commentIcon,\r\n 'Meerkat Comments',\r\n ControlPanel.cpUrl('meerkat/blueprint')\r\n );\r\n }\r\n\r\n}\r\n\r\nexport default BlueprintHook;\r\n","class AddonConfigHook {\n\n static run(app) {\n app.controlPanel.addons().addLinkToPackage('stillat/meerkat', app.url('addons/meerkat/settings'));\n }\n\n}\n\nexport default AddonConfigHook;\n","class Translator {\r\n\r\n translate(val) : String {\r\n throw new Error('Translator instance not supplied.');\r\n }\r\n\r\n errorCode(errorCode) : String {\r\n let targetKey = this.translate('codes.' + errorCode);\r\n\r\n return this.translate(targetKey);\r\n }\r\n\r\n}\r\n\r\n/**\r\n * A shared translator implementation instance.\r\n *\r\n * @type {(Translator|null)}\r\n */\r\nTranslator.Instance = new Translator();\r\n\r\nexport default Translator;\r\n","export default {\r\n addonName: 'Meerkat',\r\n codeAddonName: 'meerkat',\r\n addonId: 'stillat/meerkat'\r\n};\r\n","import Translator from '../Translation/translator';\r\nimport String from '../Types/string';\r\nimport Addon from 'addon';\r\n\r\nclass StatamicTranslator extends Translator {\r\n\r\n translate(val): String {\r\n return window.__(String.format('{0}::{1}', Addon.codeAddonName, val));\r\n }\r\n\r\n}\r\n\r\nexport default StatamicTranslator;\r\n","import Type from '../../Types/type';\nimport Environment from '../../Config/environment';\n\nclass AvatarDriverRegistry {\n\n /**\n * Registers the Avatar drivers with the VueJS and CoreJS runtime.\n */\n static registerDriversWithRunTime() {\n for (let driver in AvatarDriverRegistry.Drivers) {\n let driverComponent = AvatarDriverRegistry.Drivers[driver];\n\n Environment.ContextVueJs.component(driver, driverComponent);\n }\n }\n\n /**\n * Generates an internal driver name.\n *\n * @param {string} name The driver name.\n * @returns {string}\n */\n static getDriverName(name): String {\n return 'meerkat_avatarDriver_' + name;\n }\n\n /**\n * Registers a new avatar driver.\n *\n * @param {String} driverName The driver name.\n * @param {String} displayName A user-friendly name for the driver.\n * @param {Object} driverComponent The driver component.\n */\n static registerDriver(driverName, displayName, driverComponent) {\n let newDriverName = AvatarDriverRegistry.getDriverName(driverName);\n\n AvatarDriverRegistry.DriverMapping[driverName] = displayName;\n AvatarDriverRegistry.Drivers[newDriverName] = driverComponent;\n AvatarDriverRegistry.DisplayNames[newDriverName] = displayName;\n }\n\n /**\n * Sets the Avatar driver mapping.\n *\n * @param {Object} drivers The driver mapping to set.\n */\n static setDrivers(drivers) {\n AvatarDriverRegistry.Drivers = drivers;\n }\n\n /**\n * Sets the Avatar driver display name mapping.\n *\n * @param {Object} displayNames The display names.\n */\n static setDisplayNames(displayNames: Object) {\n AvatarDriverRegistry.DisplayNames = displayNames;\n }\n\n /**\n * Gets the Avatar driver display name mapping.\n *\n * @returns {Object}\n */\n static getDisplayNames(): Object {\n return AvatarDriverRegistry.DisplayNames;\n }\n\n /**\n * Gets the avatar driver mapping.\n *\n * @returns {Object}\n */\n static getDrivers(): Object {\n return AvatarDriverRegistry.Drivers;\n }\n\n /**\n * Tests if a driver with the provided name has been registered.\n *\n * @param {string} driverName The driver name.\n * @returns {boolean}\n */\n static hasDriver(driverName): Boolean {\n return Type.hasValue(AvatarDriverRegistry.Drivers[AvatarDriverRegistry.getDriverName(driverName)]);\n }\n\n}\n\nAvatarDriverRegistry.DefaultDriverName = 'initials';\nAvatarDriverRegistry.DisplayNames = {};\nAvatarDriverRegistry.Drivers = {};\nAvatarDriverRegistry.DriverMapping = {};\n\nexport default AvatarDriverRegistry;\n","import Environment from '../Config/environment';\r\nimport Type from '../Types/type';\r\n\r\n/**\r\n * Attempts to parse the provided content as Markdown.\r\n *\r\n * @param {string} content The content to parse.\r\n * @returns {string|*}\r\n */\r\nexport function parseMarkdown(content : string) : string {\r\n if (Type.hasValue(Environment.MarkdownHandler)) {\r\n return Environment.MarkdownHandler(content);\r\n }\r\n\r\n return content;\r\n}\r\n","import String from '../Types/string';\r\nimport {parseMarkdown} from './markdown';\r\n\r\nconst FilterPrefix = 'meerkat';\r\n\r\n/**\r\n * Registers a single VueJS filter.\r\n * @param {Object} vue The current VueJS instance.\r\n * @param {string} filter The filter name.\r\n * @param {Function} callback The filter implementation.\r\n */\r\nfunction registerFilter(vue, filter, callback) {\r\n vue.filter(FilterPrefix + String.ucFirst(filter), callback);\r\n}\r\n\r\n/**\r\n * Registers all Meerkat-related VueJS filters.\r\n *\r\n * @param {Object} vue The current VueJS instance.\r\n */\r\nexport function registerVueFilters(vue) {\r\n registerFilter(vue, 'markdown', parseMarkdown);\r\n registerFilter(vue, 'truncate', String.truncate);\r\n}\r\n","import Type from '../../Types/type';\r\n\r\n/**\r\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\r\n * @property {function(request)} releasePending()\r\n */\r\n\r\nexport class RequestState {\r\n constructor() {\r\n this.shouldProcess = false;\r\n this.shouldWait = false;\r\n this.pendingRequests = 0;\r\n this.request = '';\r\n }\r\n}\r\n\r\nexport function canPoolHttpRequests(instance) {\r\n instance._requestedOnMapping = {};\r\n\r\n instance.releasePending = function (request) {\r\n this._requestedOnMapping[request].isPending = false;\r\n }.bind(instance);\r\n\r\n instance.shouldProcessRequest = function (request, waitTime): RequestState {\r\n let state = new RequestState();\r\n\r\n state.request = request;\r\n\r\n if (Type.hasValue(this._requestedOnMapping[request]) === false ||\r\n this._requestedOnMapping[request].isPending === false) {\r\n this._requestedOnMapping[request] = {\r\n isPending: true,\r\n pendingRequests: 1\r\n };\r\n\r\n state.pendingRequests = 1;\r\n state.shouldProcess = true;\r\n state.shouldWait = false;\r\n\r\n return state;\r\n }\r\n\r\n if (this._requestedOnMapping[request].isPending) {\r\n this._requestedOnMapping[request].pendingRequests += 1;\r\n state.shouldProcess = false;\r\n state.shouldWait = true;\r\n state.pendingRequests = this._requestedOnMapping[request].pendingRequests;\r\n\r\n return state;\r\n }\r\n\r\n state.shouldProcess = true;\r\n state.shouldWait = false;\r\n this._requestedOnMapping[request].pendingRequests = 1;\r\n state.pendingRequests = this._requestedOnMapping[request].pendingRequests;\r\n\r\n return state;\r\n }.bind(instance);\r\n}\r\n","import ky from 'ky';\r\nimport String from '../Types/string';\r\nimport {RequestState} from '../Data/Concerns/canPoolHttpRequests';\r\nimport Type from '../Types/type';\r\nimport Environment from '../Config/environment';\r\n\r\nclass Client {\r\n\r\n constructor() {\r\n this._pendingRequestMapping = {};\r\n this.api = ky.extend({\r\n timeout: false,\r\n hooks: {\r\n beforeRequest: [\r\n request => {\r\n request.headers.set('X-CSRF-TOKEN', Environment.getCsrfToken());\r\n }\r\n ]\r\n }\r\n });\r\n }\r\n\r\n /**\r\n * Transforms the provide data into a URL-appropriate string.\r\n *\r\n * @param {Object} data The data to transform.\r\n * @returns {string}\r\n */\r\n urlEncode(data) {\r\n let str = [];\r\n\r\n for (let p in data) {\r\n if (data.hasOwnProperty(p)) {\r\n str.push(encodeURIComponent(p) + '=' + encodeURIComponent(data[p]));\r\n }\r\n }\r\n\r\n return str.join('&');\r\n }\r\n\r\n /**\r\n * Invokes all pending request handlers with the provided value.\r\n *\r\n * @param {string} request The request hash.\r\n * @param {string} handlerType The handler method to call.\r\n * @param {Object|string|number|Error} value The value to supply to the handler.\r\n * @private\r\n */\r\n _processRequestHandlers(request: string, handlerType: string, value: Object) {\r\n if (Type.hasValue(this._pendingRequestMapping[request]) === false) {\r\n return;\r\n }\r\n\r\n if (Type.hasValue(this._pendingRequestMapping[request][handlerType]) === false) {\r\n return;\r\n }\r\n\r\n for (let i = 0; i < this._pendingRequestMapping[request][handlerType].length; i += 1) {\r\n this._pendingRequestMapping[request][handlerType][i](value);\r\n }\r\n\r\n this._pendingRequestMapping[request].resolveHandlers = [];\r\n this._pendingRequestMapping[request].rejectHandlers = [];\r\n }\r\n\r\n /**\r\n * Issues a GET HTTP request to the provided URL.\r\n *\r\n * If multiple requests to the same resource are made in rapid\r\n * succession, the subsequent requests will be pooled and\r\n * resolved using the response from the first request.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @param {RequestState} state The request state.\r\n * @returns {Promise}\r\n */\r\n get(url, data, state: RequestState): Promise {\r\n if (Type.hasValue(this._pendingRequestMapping[state.request]) === false) {\r\n this._pendingRequestMapping[state.request] = {\r\n resolveHandlers: [],\r\n rejectHandlers: []\r\n };\r\n }\r\n\r\n if (state.shouldProcess) {\r\n if (Type.hasValue(data)) {\r\n url = String.format('{0}?{1}', url, this.urlEncode(data));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.get(url).then(function (response) {\r\n let responseJson = response.json();\r\n\r\n resolve(responseJson);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerResolve, responseJson);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerReject, err);\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._pendingRequestMapping[state.request].resolveHandlers.push(resolve);\r\n this._pendingRequestMapping[state.request].rejectHandlers.push(reject);\r\n }.bind(this));\r\n }\r\n\r\n /**\r\n * Issues a GET HTTP request to the provided URL.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @returns {Promise}\r\n */\r\n getWithoutState(url, data): Promise {\r\n if (typeof data !== 'undefined' && data !== null) {\r\n url = String.format('{0}?{1}', url, this.urlEncode(data));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.get(url).then(function (response) {\r\n resolve(response.json());\r\n }).catch(function (err) {\r\n reject(err);\r\n });\r\n });\r\n }\r\n\r\n _rewritePostData(data) {\r\n if (Type.hasValue(data)) {\r\n data = {json: data};\r\n }\r\n\r\n return data;\r\n }\r\n\r\n /**\r\n * Issues a POST HTTP request to the provided URL.\r\n *\r\n * If multiple requests to the same resource are made in rapid\r\n * succession, the subsequent requests will be pooled and\r\n * resolved using the response from the first request.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @param {RequestState} state The request state.\r\n * @returns {Promise}\r\n */\r\n post(url: string, data: Object, state: RequestState): Promise {\r\n if (Type.hasValue(this._pendingRequestMapping[state.request]) === false) {\r\n this._pendingRequestMapping[state.request] = {\r\n resolveHandlers: [],\r\n rejectHandlers: []\r\n };\r\n }\r\n\r\n if (state.shouldProcess) {\r\n data = this._rewritePostData(data);\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.post(url, data).then(function (response) {\r\n let responseJson = response.json();\r\n\r\n resolve(responseJson);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerResolve, responseJson);\r\n }.bind(this)).catch(function (err) {\r\n reject(err);\r\n\r\n this._processRequestHandlers(state.request, Client.HandlerReject, err);\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n\r\n return new Promise(function (resolve, reject) {\r\n this._pendingRequestMapping[state.request].resolveHandlers.push(resolve);\r\n this._pendingRequestMapping[state.request].rejectHandlers.push(reject);\r\n }.bind(this));\r\n }\r\n\r\n /**\r\n * Issues a POST HTTP request to the provided URL.\r\n *\r\n * @param {string} url The request URL.\r\n * @param {Object} data The request data.\r\n * @returns {Promise}\r\n */\r\n postWithoutState(url, data): Promise {\r\n data = this._rewritePostData(data);\r\n\r\n return new Promise(function (resolve, reject) {\r\n this.api.post(url, data).then(function (response) {\r\n resolve(response.json());\r\n }).catch(function (err) {\r\n reject(err);\r\n });\r\n });\r\n }\r\n\r\n}\r\n\r\nClient.HandlerReject = 'rejectHandlers';\r\nClient.HandlerResolve = 'resolveHandlers';\r\n\r\nexport default Client;\r\n","import BaseResponse from '../baseResponse';\r\nimport Type from '../../../Types/type';\r\n\r\nclass OverviewResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.total = 0;\r\n this.totalThreads = 0;\r\n this.needsMigration = 0;\r\n this.totalSpam = 0;\r\n this.totalHam = 0;\r\n this.requiresReview = 0;\r\n this.totalPublished = 0;\r\n this.publishedAndSpam = 0;\r\n this.pending = 0;\r\n this.completionTime = 0;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err): OverviewResponse {\r\n let response = new OverviewResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.total = Type.withDefault(apiResponse[OverviewResponse.ApiTotal], 0);\r\n response.totalThreads = Type.withDefault(apiResponse[OverviewResponse.ApiTotalThreads], 0);\r\n response.needsMigration = Type.withDefault(apiResponse[OverviewResponse.ApiNeedsMigration], 0);\r\n response.totalSpam = Type.withDefault(apiResponse[OverviewResponse.ApiIsSpam], 0);\r\n response.totalHam = Type.withDefault(apiResponse[OverviewResponse.ApiIsHam], 0);\r\n response.requiresReview = Type.withDefault(apiResponse[OverviewResponse.ApiRequiresReview], 0);\r\n response.totalPublished = Type.withDefault(apiResponse[OverviewResponse.ApiIsPublished], 0);\r\n response.publishedAndSpam = Type.withDefault(apiResponse[OverviewResponse.ApiPublishedAndSpam], 0);\r\n response.pending = Type.withDefault(apiResponse[OverviewResponse.ApiPending], 0);\r\n response.completionTime = Type.withDefault(apiResponse[OverviewResponse.ApiCompletionTime], 0);\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nOverviewResponse.ApiTotal = 'total';\r\nOverviewResponse.ApiTotalThreads = 'total_threads';\r\nOverviewResponse.ApiNeedsMigration = 'needs_migration';\r\nOverviewResponse.ApiIsSpam = 'is_spam';\r\nOverviewResponse.ApiIsHam = 'is_ham';\r\nOverviewResponse.ApiRequiresReview = 'requires_review';\r\nOverviewResponse.ApiIsPublished = 'is_published';\r\nOverviewResponse.ApiPublishedAndSpam = 'published_and_spam';\r\nOverviewResponse.ApiPending = 'pending';\r\nOverviewResponse.ApiCompletionTime = 'completion_time';\r\n\r\nexport default OverviewResponse;\r\n","import md5 from 'crypto-js/md5';\r\n\r\n/**\r\n * @property {function() : String} toJsonString() Returns the object to a JSON-encoded string.\r\n * @property {function() : String} toHash() Returns the object as a hash string.\r\n */\r\n\r\nexport function hash(value) {\r\n return md5(value).toString();\r\n}\r\n\r\nexport function canBeStringOrHash(instance) {\r\n\r\n instance.toJsonString = function () {\r\n return JSON.stringify(this);\r\n }.bind(instance);\r\n\r\n instance.toHash = function () {\r\n return md5(this.toJsonString()).toString();\r\n }.bind(instance);\r\n}\r\n","import Environment from '../Config/environment';\r\nimport String from '../Types/string';\r\n\r\nclass Endpoints {\r\n\r\n static url(endpoint) {\r\n let baseUrl = String.finish(Environment.StatamicApiRoot, '/');\r\n\r\n return baseUrl + Endpoints.Prefix + endpoint;\r\n }\r\n\r\n}\r\n\r\nEndpoints.Prefix = 'mapi/meerkat/';\r\nEndpoints.SystemDetails = '';\r\nEndpoints.CommentsSearch = 'comments/search';\r\nEndpoints.CommentsApprove = 'comments/publish';\r\nEndpoints.CommentsApproveMany = 'comments/publish-many';\r\nEndpoints.CommentsReply = 'comments/reply';\r\nEndpoints.CommentsUnapprove = 'comments/unpublish';\r\nEndpoints.CommentsUnapproveMany = 'comments/unpublish-many';\r\nEndpoints.CommentsRemove = 'comments/remove';\r\nEndpoints.CommentsRemoveMany = 'comments/remove-many';\r\nEndpoints.CommentsRemoveSpam = 'comments/remove-all-spam';\r\nEndpoints.CommentMarkSpam = 'comments/report-spam';\r\nEndpoints.CommentMarkManySpam = 'comments/report-many-spam';\r\nEndpoints.CommentMarkHam = 'comments/report-ham';\r\nEndpoints.CommentMarkManyHam = 'comments/report-many-ham';\r\nEndpoints.CommentsUpdate = 'comments/update';\r\nEndpoints.CommentsCheckForSpam = 'comments/check-for-spam';\r\n\r\nEndpoints.TaskGetStatus = 'tasks/status';\r\n\r\nEndpoints.CurrentUser = 'settings/current-user';\r\nEndpoints.SettingsFetch = 'settings/fetch';\r\nEndpoints.SettingsSave = 'settings/save';\r\nEndpoints.SettingsGetCurrentChangeSet = 'settings/current-change-set';\r\nEndpoints.SettingsValidateAkismet = 'settings/validate-akismet';\r\nEndpoints.SettingsUpdatePerPage = 'settings/update-per-page';\r\n\r\nEndpoints.ExportCsv = 'export/csv';\r\nEndpoints.ExportJson = 'export/json';\r\n\r\nEndpoints.ReportingOverview = 'reporting/overview';\r\n\r\nexport default Endpoints;\r\n","import Client from '../Http/client';\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport OverviewResponse from '../Http/Responses/Reporting/overviewResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport Endpoints from '../Http/endpoints';\nimport ErrorResponse from '../Http/Responses/errorResponse';\n\n/**\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass ReportingRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n overview(): Promise {\n let requestHash = hash({});\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 1000);\n\n this.client.get(Endpoints.url(Endpoints.ReportingOverview), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(OverviewResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nReportingRepository.Instance = new ReportingRepository();\n\nexport default ReportingRepository;\n\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport ReportingRepository from '../Repositories/reportingRepository';\r\n\r\nclass OverviewProvider extends EventEmitter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.intervalId = null;\r\n this.report = null;\r\n this.lastError = null;\r\n }\r\n\r\n _updateNow() {\r\n /* We will use the Instance property so that we can share pooled requests app-wide. */\r\n ReportingRepository.Instance.overview().then(function (report) {\r\n this.report = report;\r\n\r\n this.emit(OverviewProvider.EventUpdated, this.report);\r\n }.bind(this)).catch(function (err) {\r\n this.lastError = err;\r\n\r\n this.emit(OverviewProvider.EventError, this.lastError);\r\n }.bind(this));\r\n }\r\n\r\n hasData() {\r\n return this.report !== null;\r\n }\r\n\r\n start() {\r\n this._updateNow();\r\n window.setInterval(this._updateNow.bind(this), 30000);\r\n }\r\n\r\n stop() {\r\n if (this.intervalId !== null) {\r\n window.clearInterval(this.intervalId);\r\n this.intervalId = null;\r\n }\r\n }\r\n\r\n refresh() {\r\n this._updateNow();\r\n }\r\n\r\n}\r\n\r\nOverviewProvider.EventError = 'error';\r\nOverviewProvider.EventUpdated = 'updated';\r\nOverviewProvider.Instance = null;\r\n\r\nexport default OverviewProvider;\r\n","import template from './template.html';\r\nimport OverviewProvider from '../../../Reporting/overviewProvider';\r\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../index';\r\n\r\nexport default {\r\n template: template,\r\n data() {\r\n return {\r\n shouldDisplay: false,\r\n count: 0,\r\n countDisplay: ''\r\n };\r\n },\r\n methods: {\r\n updateDisplay(report: OverviewResponse) {\r\n if (report.success) {\r\n this.count = report.pending;\r\n\r\n if (this.count > 0) {\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count, 2);\r\n this.shouldDisplay = true;\r\n } else {\r\n this.shouldDisplay = false;\r\n }\r\n }\r\n }\r\n },\r\n created() {\r\n OverviewProvider.Instance.on('updated', this.updateDisplay.bind(this));\r\n }\r\n};\r\n","import Translator from '../../Translation/translator';\r\nimport String from '../../Types/string';\r\n\r\nexport default {\r\n methods: {\r\n trans(val): String {\r\n return Translator.Instance.translate(val);\r\n },\r\n transErrorCode(code): String {\r\n return Translator.Instance?.errorCode(code);\r\n },\r\n transFormat(val, replacements) {\r\n return String.format(this.trans(val), ...replacements);\r\n }\r\n }\r\n};\r\n","import Translator from './Translation/translator';\r\n\r\nexport default function trans(message): String {\r\n return Translator.Instance.translate(message);\r\n}\r\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport trans from '../trans';\r\nimport ControlPanelApplication from './controlPanelApplication';\r\nimport Type from '../Types/type';\r\nimport ErrorResponse from '../Http/Responses/errorResponse';\r\nimport Guid from '../Types/guid';\r\nimport Comment from '../Data/Comments/comment';\r\n\r\nclass ActionState extends EventEmitter {\r\n constructor(comment : Comment) {\r\n super();\r\n\r\n ActionState.CurrentActionId = Guid.newGuid();\r\n\r\n this.comment = comment;\r\n this.commentIds = [];\r\n this.display = false;\r\n this.title = 'Please override this title: title';\r\n this.activeTitle = '';\r\n this.message = 'Please override this message: message';\r\n this.successMessage = 'Please override this message: successMessage';\r\n\r\n this.progressMessage = 'Please override this message: progressMessage';\r\n this.tooLongMessage = trans('errors.process_taking_too_long');\r\n\r\n this.errorMessage = trans('errors.general');\r\n this.abandonMessage = trans('errors.process_abandon');\r\n this.abandonedMessage = 'Please override this message: abandonedMessage';\r\n this.clientErrorMessage = trans('errors.client_side_error');\r\n this.repeatedFailureMessage = trans('errors.process_repeated_failure');\r\n this.unauthorizedMessage = trans('errors.permissions');\r\n\r\n this.tryAgain = trans('actions.try_again');\r\n this.cancelText = trans('actions.cancel');\r\n this.confirmText = trans('actions.confirm');\r\n\r\n this.hasResponse = false;\r\n this.response = null;\r\n\r\n this.lastClientError = null;\r\n\r\n this.hasInteraction = false;\r\n this.interactionComponent = '';\r\n this.numberOfErrorsEncountered = 0;\r\n this.isDestructive = false;\r\n this.isProcessing = false;\r\n this.doesNotHavePrivileges = false;\r\n this.isErrorState = false;\r\n this.wasClientError = false;\r\n this.promptAbandon = false;\r\n this.isProcessTakingTooLong = false;\r\n this.longProcessTrigger = 10000;\r\n this.giveUpPromptTrigger = 3000;\r\n this.failedRequestCutoff = 2;\r\n this.isLoadingLog = false;\r\n this.serverErrorReport = null;\r\n this.isSendingErrorLog = null;\r\n this.missingPermission = null;\r\n this.timeouts = [];\r\n }\r\n\r\n /**\r\n * Updates all messages with the provided action scope.\r\n *\r\n * @param {string} messageScope The action translation prefix.\r\n */\r\n setMessages(messageScope) {\r\n this.title = trans('actions.' + messageScope + '_confirm_title');\r\n this.activeTitle = trans('actions.' + messageScope + '_confirm_title_active');\r\n this.message = trans('actions.' + messageScope + '_confirm_message');\r\n this.progressMessage = trans('actions.' + messageScope + '_confirm_progress_message');\r\n this.abandonedMessage = trans('actions.' + messageScope + '_confirm_abandoned');\r\n this.errorMessage = trans('actions.' + messageScope + '_error_encountered');\r\n this.successMessage = trans('actions.' + messageScope + '_success');\r\n }\r\n\r\n _clearErrorState() {\r\n this.isLoadingLog = false;\r\n this.serverErrorReport = null;\r\n this.isSendingErrorLog = null;\r\n this.isErrorState = false;\r\n this.wasClientError = false;\r\n this.promptAbandon = false;\r\n this.numberOfErrorsEncountered = 0;\r\n this.missingPermission = null;\r\n this.doesNotHavePrivileges = false;\r\n }\r\n\r\n canDismiss() {\r\n return !this.isProcessing;\r\n }\r\n\r\n _abandon() {\r\n this.emit(ActionState.EventAbandoned, this);\r\n ControlPanelApplication.controlPanel().message().info(this.abandonedMessage);\r\n\r\n this._cancel();\r\n }\r\n\r\n _cancel() {\r\n this._clearErrorState();\r\n this.resetProcessingState();\r\n this.display = false;\r\n this.emit(ActionState.EventCanceled, this);\r\n }\r\n\r\n dismiss() {\r\n this._cancel();\r\n }\r\n\r\n _tryAgain() {\r\n this.resetProcessingState();\r\n this.proceed();\r\n }\r\n\r\n _submitAndTryAgain() {\r\n this._clearErrorState();\r\n this._tryAgain();\r\n }\r\n\r\n _confirm() {\r\n this.emit(ActionState.EventConfirmed, this);\r\n }\r\n\r\n _clearWatchers() {\r\n for (let i = 0; i < this.timeouts.length; i += 1) {\r\n clearTimeout(this.timeouts[i]);\r\n }\r\n }\r\n\r\n _notAuthorized(permission) {\r\n this._clearErrorState();\r\n this.resetProcessingState();\r\n this.doesNotHavePrivileges = true;\r\n this.missingPermission = Type.withDefault(permission, null);\r\n }\r\n\r\n _complete() {\r\n this.resetProcessingState();\r\n this.display = false;\r\n ControlPanelApplication.controlPanel().message().success(this.successMessage);\r\n this.emit(ActionState.EventComplete, this);\r\n }\r\n\r\n _startGiveUpTimer() {\r\n let intervalId = setTimeout(function () {\r\n this.promptAbandon = true;\r\n this.isProcessTakingTooLong = false;\r\n }.bind(this), this.giveUpPromptTrigger);\r\n\r\n this.timeouts.push(intervalId);\r\n }\r\n\r\n _startWatchingProgress() {\r\n let intervalId = setTimeout(function () {\r\n this.isProcessTakingTooLong = true;\r\n this._startGiveUpTimer();\r\n }.bind(this), this.longProcessTrigger);\r\n\r\n this.timeouts.push(intervalId);\r\n }\r\n\r\n resetProcessingState() {\r\n this._clearWatchers();\r\n this.isLoadingLog = false;\r\n this.isProcessing = false;\r\n this.isProcessTakingTooLong = false;\r\n this.promptAbandon = false;\r\n }\r\n\r\n errorEncountered(incrementErrorCounter: Boolean) {\r\n incrementErrorCounter = Type.withDefault(incrementErrorCounter, true);\r\n\r\n this.isErrorState = true;\r\n this.resetProcessingState();\r\n\r\n if (incrementErrorCounter) {\r\n this.numberOfErrorsEncountered += 1;\r\n }\r\n }\r\n\r\n proceed(donePromise: Promise) {\r\n this.isProcessing = true;\r\n this.isErrorState = false;\r\n this._startWatchingProgress();\r\n\r\n if (Type.hasValue(this[ActionState.HandleProceedWith])) {\r\n this.proceedWith()\r\n .then(function (result) {\r\n if (result.success) {\r\n this._complete();\r\n } else {\r\n this.wasClientError = false;\r\n this.response = result;\r\n this.errorEncountered(!result.isRecoverable);\r\n this.hasResponse = true;\r\n }\r\n }.bind(this))\r\n .catch(function (err) {\r\n if (Type.isTypeOf(err, ErrorResponse)) {\r\n if (err.authorized === false) {\r\n this._notAuthorized(err.permission);\r\n } else {\r\n this.wasClientError = true;\r\n this.lastClientError = err;\r\n this.errorEncountered();\r\n }\r\n } else {\r\n this.errorEncountered();\r\n }\r\n }.bind(this));\r\n }\r\n }\r\n\r\n start() {\r\n this._confirm();\r\n\r\n return this;\r\n }\r\n\r\n onConfirm(callback): ActionState {\r\n this.on(ActionState.EventConfirmed, callback);\r\n\r\n return this;\r\n }\r\n\r\n onCancel(callback): ActionState {\r\n this.on(ActionState.EventCanceled, callback);\r\n\r\n return this;\r\n }\r\n\r\n onAbandoned(callback): ActionState {\r\n this.on(ActionState.EventAbandoned, callback);\r\n\r\n return this;\r\n }\r\n\r\n onComplete(callback): ActionState {\r\n this.on(ActionState.EventComplete, callback);\r\n\r\n return this;\r\n }\r\n\r\n onUnauthorized(callback): ActionState {\r\n this.on(ActionState.EventUnauthorized, callback);\r\n\r\n return this;\r\n }\r\n\r\n}\r\n\r\nActionState.CurrentActionId = null;\r\nActionState.HandleProceedWith = 'proceedWith';\r\nActionState.EventCanceled = 'canceled';\r\nActionState.EventAbandoned = 'abandoned';\r\nActionState.EventConfirmed = 'confirmed';\r\nActionState.EventComplete = 'complete';\r\nActionState.EventUnauthorized = 'unauthorized';\r\n\r\nexport default ActionState;\r\n","import ActionState from '../actionState';\r\n\r\nexport default {\r\n methods: {\r\n getHandler() {\r\n return this.currentAction;\r\n },\r\n closeHandler() {\r\n if (this.currentAction !== null) {\r\n this.currentAction.display = false;\r\n this.currentAction = null;\r\n }\r\n },\r\n confirm(handler: ActionState): ActionState {\r\n this.currentAction = handler;\r\n this.currentAction.display = true;\r\n\r\n /** Automatically clean up the action state. */\r\n handler.onCancel(function () {\r\n this.currentAction.display = false;\r\n this.currentAction = null;\r\n }.bind(this));\r\n\r\n return handler;\r\n }\r\n }\r\n};\r\n","export default {\n methods: {\n forceDismiss() {\n if (this.currentAction !== null) {\n this.currentAction.dismiss();\n }\n },\n checkForDismiss() {\n if (this.currentAction !== null && this.currentAction.display === true && this.currentAction.canDismiss()) {\n this.currentAction.dismiss();\n }\n }\n }\n};\n","import ActionState from '../../../actionState';\nimport Comment from '../../../../Data/Comments/comment';\nimport trans from '../../../../trans';\n\nclass LostChangesHandler extends ActionState {\n\n constructor(comment : Comment) {\n super(comment);\n\n this.setMessages('edit_unsaved_changes');\n this.confirmText = trans('actions.discard_changes');\n }\n\n}\n\nexport default LostChangesHandler;\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismissAction from '../../Mixins/canDismissAction';\nimport LostChangesHandler from './Handlers/lostChangesHandler';\nimport ActionState from '../../actionState';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator, ActionHandler, CanDismissAction],\n props: {\n comment: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n currentAction: null\n };\n },\n methods: {\n cancel() {\n if (this.comment.editProperties.content !== this.comment.content) {\n let handler = new LostChangesHandler(this.comment);\n\n this.confirm(handler).onConfirm(function (state : ActionState) {\n this.$emit('update-canceled', this.comment);\n this.comment.cancelEditing();\n }.bind(this));\n\n return;\n }\n\n this.$emit('update-canceled', this.comment);\n this.comment.cancelEditing();\n }\n },\n mounted() {\n this.$refs.markdownEditor.focus();\n },\n created() {\n this.$keys.bind('esc', this.cancel);\n }\n};\n","import template from './template.html';\nimport ActionState from '../../actionState';\nimport String from '../../../Types/string';\nimport Guid from '../../../Types/guid';\nimport Environment from '../../../Config/environment';\nimport UsesTranslator from '../../Mixins/usesTranslator';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n props: {\n actionState: {\n type: Object,\n default: null\n }\n },\n watch: {\n 'actionState.isErrorState': function (val) {\n if (val === true) {\n this.jiggle();\n }\n }\n },\n data() {\n return {\n modalId: 'meerkat__modal-' + Guid.newGuid()\n };\n },\n methods: {\n jiggle() {\n let nonPortalModalParent = Environment.$('#' + this.modalId).parent();\n\n nonPortalModalParent.addClass('meerkat__modal--error-state').delay(820).queue(function (n) {\n nonPortalModalParent.removeClass('meerkat__modal--error-state');\n n();\n });\n },\n getInteractionProperties() {\n return {\n state: this.actionState,\n comment: this.actionState.comment\n };\n },\n dismiss() {\n this.$emit('cancel');\n },\n submit() {\n this.$emit('confirm');\n }\n },\n computed: {\n progressColor() {\n if (this.actionState.isProcessTakingTooLong) {\n return '#f1c40f';\n }\n\n if (this.actionState.promptAbandon) {\n return '#e74c3c';\n }\n\n return '#3498db';\n },\n errorMessage() {\n if (this.actionState.hasResponse === true && String.hasValue(this.actionState.response.msg)) {\n return this.actionState.response.msg;\n }\n\n return this.actionState.errorMessage;\n },\n progressMessage() {\n if (this.actionState.isProcessTakingTooLong) {\n return this.actionState.tooLongMessage;\n }\n\n return this.actionState.progressMessage;\n },\n titleMessage() {\n if (this.actionState.isProcessing && String.hasValue(this.actionState.activeTitle)) {\n return this.actionState.activeTitle;\n }\n\n return this.actionState.title;\n },\n buttonClass() {\n return this.actionState.isDestructive ? 'btn-danger' : 'btn-primary';\n }\n },\n created() {\n this.$keys.bind('esc', this.dismiss);\n this.$keys.bind('enter', this.submit);\n }\n};\n","import template from './template.html';\r\nimport Type from '../../../Types/type';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n displayText: {\r\n type: String,\r\n default: ''\r\n },\r\n size: {\r\n type: Number\r\n },\r\n displayInline: {\r\n type: Boolean,\r\n default: false\r\n },\r\n color: {\r\n type: String,\r\n default: '#737f8c'\r\n }\r\n },\r\n computed: {\r\n computedSize() {\r\n if (Type.hasValue(this.size)) {\r\n return this.size;\r\n }\r\n\r\n return this.displayInline ? 16 : 24;\r\n }\r\n }\r\n};\r\n","import BaseResponse from './baseResponse';\r\n\r\nclass PagedResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.totalResults = 0;\r\n this.currentPage = 1;\r\n this.hasNextPage = false;\r\n this.hasPreviousPage = false;\r\n }\r\n\r\n}\r\n\r\nexport default PagedResponse;\r\n","import Comment from './comment';\r\nimport Type from '../../Types/type';\r\n\r\nimport {\r\n applyCollectionSelectable, applyErrorState,\r\n enforceCollectionType\r\n} from '../Concerns/providesCollectionInteractivity';\r\n\r\nclass CommentCollection extends Array {\r\n\r\n constructor() {\r\n super();\r\n\r\n enforceCollectionType(this, Type.typeOf(Comment));\r\n applyCollectionSelectable(this);\r\n applyErrorState(this);\r\n\r\n this.anyInView = function (commentIds) {\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (commentIds.includes(this[i].id)) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n };\r\n\r\n this.whereIn = function (commentIds) {\r\n let commentsToReturn = [];\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (commentIds.includes(this[i].id)) {\r\n commentsToReturn.push(this[i]);\r\n }\r\n }\r\n\r\n return commentsToReturn;\r\n };\r\n\r\n this.editCount = 0;\r\n this.replyingCount = 0;\r\n\r\n this.getSelected = function () {\r\n let selected = [];\r\n\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (this[i].isSelected === true) {\r\n selected.push(this[i]);\r\n }\r\n }\r\n\r\n return selected;\r\n }.bind(this);\r\n\r\n this.setEditing = function (comment: Comment) {\r\n this.editCount += 1;\r\n }.bind(this);\r\n\r\n this.setReplying = function (comment: Comment) {\r\n this.replyingCount += 1;\r\n }.bind(this);\r\n\r\n this.cancelEditing = function (comment: Comment) {\r\n this.editCount -= 1;\r\n }.bind(this);\r\n\r\n this.cancelReplying = function (comment: Comment) {\r\n this.replyingCount -= 1;\r\n }.bind(this);\r\n\r\n this.cancelAllEditing = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isEditing) {\r\n comment.cancelEditing();\r\n }\r\n });\r\n\r\n if (this.editCount < 0) {\r\n this.editCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.cancelAllReplying = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isReplying) {\r\n comment.cancelReply();\r\n }\r\n });\r\n\r\n if (this.replyingCount < 0) {\r\n this.replyingCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.draftAllEditing = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isEditing) {\r\n comment.cancelWithDraft();\r\n }\r\n });\r\n\r\n if (this.editCount < 0) {\r\n this.editCount = 0;\r\n }\r\n }.bind(this);\r\n\r\n this.draftAllReplying = function () {\r\n this.forEach(function (comment: Comment) {\r\n if (comment.state.isReplying) {\r\n comment.cancelReplyWithDraft();\r\n }\r\n });\r\n\r\n if (this.replyingCount < 0) {\r\n this.replyingCount = 0;\r\n }\r\n }.bind(this);\r\n }\r\n\r\n}\r\n\r\nexport default CommentCollection;\r\n","import Type from '../../Types/type';\r\n\r\nexport function applyCollectionSelectable(instance) {\r\n instance.allSelected = false;\r\n\r\n instance.toggleSelections = function () {\r\n if (this.allSelected === true) {\r\n this.unSelectAll();\r\n } else {\r\n this.selectAll();\r\n }\r\n }.bind(instance);\r\n\r\n instance.selectAll = function () {\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (Type.hasValue(this[i], 'isSelected')) {\r\n this[i].isSelected = true;\r\n }\r\n }\r\n\r\n this.allSelected = true;\r\n }.bind(instance);\r\n\r\n instance.unSelectAll = function () {\r\n for (let i = 0; i < this.length; i += 1) {\r\n if (Type.hasValue(this[i], 'isSelected')) {\r\n this[i].isSelected = false;\r\n }\r\n }\r\n\r\n this.allSelected = false;\r\n }.bind(instance);\r\n}\r\n\r\nexport function applyErrorState(instance) {\r\n instance.errors = [];\r\n instance.hasErrors = false;\r\n}\r\n\r\nexport function enforceCollectionType(instance, type) {\r\n instance._typeEnforced = type;\r\n instance._outerType = instance.constructor.name;\r\n instance._pushProxy = instance.push;\r\n\r\n instance.push = function (val) {\r\n if (typeof val.constructor !== 'undefined') {\r\n if (val.constructor.name === this._typeEnforced) {\r\n if (Type.hasValue(val['_internalCollection'])) {\r\n val._internalCollection = this;\r\n }\r\n\r\n this._pushProxy(val);\r\n\r\n return;\r\n }\r\n }\r\n\r\n throw new Error(this._outerType + ' expects type ' +\r\n this._typeEnforced + '. ' + val.constructor.name + ' provided');\r\n }.bind(instance);\r\n}\r\n","import Type from '../../Types/type';\r\n\r\nclass PagedMetaData {\r\n\r\n constructor() {\r\n this.currentPage = 1;\r\n this.totalPages = 1;\r\n this.totalItems = 1;\r\n this.itemsPerPage = 1;\r\n }\r\n\r\n /**\r\n * Converts an API response object to a new PagedMetaData instance.\r\n *\r\n * @param {Object} apiObject The API response object.\r\n * @returns {PagedMetaData}\r\n */\r\n static fromApiObject(apiObject): PagedMetaData {\r\n let newMetaData = new PagedMetaData();\r\n\r\n newMetaData.currentPage = Type.withDefault(apiObject[PagedMetaData.ApiCurrentPage], 1);\r\n newMetaData.totalPages = Type.withDefault(apiObject[PagedMetaData.ApiTotalPages], 1);\r\n newMetaData.totalItems = Type.withDefault(apiObject[PagedMetaData.ApiTotalItems], 1);\r\n newMetaData.itemsPerPage = Type.withDefault(apiObject[PagedMetaData.ApiItemsPerPage], 1);\r\n\r\n return newMetaData;\r\n }\r\n\r\n}\r\n\r\nPagedMetaData.ApiCurrentPage = 'current_page';\r\nPagedMetaData.ApiTotalPages = 'total_pages';\r\nPagedMetaData.ApiTotalItems = 'total_items';\r\nPagedMetaData.ApiItemsPerPage = 'items_per_page';\r\n\r\nexport default PagedMetaData;\r\n","import {canBeStringOrHash} from '../Concerns/canBeStringOrHash';\r\n\r\n/**\r\n * @property {function() : String} toJsonString() Returns the object to a JSON-encoded string.\r\n * @property {function() : String} toHash() Returns the object as a hash string.\r\n */\r\nclass SearchOptions {\r\n\r\n constructor() {\r\n canBeStringOrHash(this);\r\n\r\n this.page = 1;\r\n this.resultsPerPage = 10;\r\n this.query = {\r\n order: 'id,desc'\r\n };\r\n }\r\n\r\n getRequestData(): Object {\r\n return Object.assign({}, {\r\n page: this.page,\r\n resultsPerPage: this.resultsPerPage\r\n }, this.query);\r\n }\r\n\r\n}\r\n\r\nexport default SearchOptions;\r\n","import Author from './author';\r\nimport Comment from './comment';\r\nimport CommentCollection from './commentCollection';\r\nimport ThreadContext from './threadContext';\r\nimport SearchOptions from './searchOptions';\r\n\r\nclass Comments {\r\n\r\n}\r\n\r\nComments.Author = Author;\r\nComments.Comment = Comment;\r\nComments.CommentCollection = CommentCollection;\r\nComments.SearchOptions = SearchOptions;\r\nComments.ThreadContext = ThreadContext;\r\n\r\nexport {\r\n Comments\r\n};\r\n","import PagedMetaData from './Paged/pagedMetaData';\r\nimport {Comments} from './Comments/index';\r\n\r\nclass Data {\r\n\r\n}\r\n\r\nData.Comments = Comments;\r\nData.PagedMetaData = PagedMetaData;\r\n\r\nexport {\r\n Data, PagedMetaData\r\n};\r\n","class AuthorsRepository {\r\n\r\n}\r\n\r\nexport default AuthorsRepository;\r\n","class ThreadsRepository {\r\n\r\n}\r\n\r\nexport default ThreadsRepository;\r\n","import AuthorsRepository from './authorsRepository';\r\nimport CommentRepository from './commentRepository';\r\nimport ThreadsRepository from './threadsRepository';\r\n\r\nclass Repositories {\r\n\r\n}\r\n\r\nRepositories.AuthorsRepository = AuthorsRepository;\r\nRepositories.ThreadsRepository = ThreadsRepository;\r\nRepositories.CommentRepository = CommentRepository;\r\n\r\nexport {\r\n Repositories, AuthorsRepository, ThreadsRepository, CommentRepository\r\n};\r\n","import ThreadContext from '../../Data/Comments/threadContext';\nimport Comment from '../../Data/Comments/comment';\nimport Author from '../../Data/Comments/author';\nimport PagedResponse from './pagedResponse';\nimport CommentCollection from '../../Data/Comments/commentCollection';\nimport {PagedMetaData} from '../../Data';\nimport Type from '../../Types/type';\nimport {CommentRepository} from '../../Repositories';\n\nclass CommentResponse extends PagedResponse {\n\n constructor() {\n super();\n\n /** {CommentRepository} */\n this._originator = null;\n this._threadMapping = {};\n this.threads = [];\n\n this._authorMapping = {};\n this.authors = [];\n\n this._commentMapping = {};\n this.comments = new CommentCollection();\n this.pages = new PagedMetaData();\n this.sortString = '';\n }\n\n clear() {\n this._threadMapping = {};\n this.threads = [];\n this._authorMapping = {};\n this.authors = [];\n this._commentMapping = {};\n this.comments = new CommentCollection();\n this.pages = new PagedMetaData();\n this.sortString = '';\n }\n\n /**\n * Converts an API response to a new CommentResponse object.\n *\n * @param {Object} result The API response.\n * @param {CommentRepository} originator The repository that processed the request.\n * @returns {CommentResponse}\n */\n static fromApiResponse(result, originator: CommentRepository) {\n let response = new CommentResponse();\n\n response._originator = originator;\n\n if (result.success) {\n for (let i = 0; i < result.threads.length; i += 1) {\n let newThread = ThreadContext.fromApiObject(result.threads[i]);\n\n response._threadMapping[newThread.id] = newThread;\n\n response.threads.push(newThread);\n }\n\n for (let i = 0; i < result.authors.length; i += 1) {\n let newAuthor = Author.fromApiObject(result.authors[i]);\n\n response._authorMapping[newAuthor.id] = newAuthor;\n\n response.authors.push(newAuthor);\n }\n\n for (let i = 0; i < result.comments.length; i += 1) {\n let newComment = Comment.fromApiObject(result.comments[i]);\n\n newComment._internalCommentResponse = response;\n\n response._commentMapping[newComment.id] = newComment;\n\n response.comments.push(newComment);\n }\n\n response.pages = PagedMetaData.fromApiObject(result.pages);\n response.sortString = Type.withDefault(result[CommentResponse.ApiSortString], '');\n }\n\n return response;\n }\n\n /**\n * Attempts to locate an author with the provided identifier.\n *\n * @param {string} authorId The author's identifier.\n * @returns {Author|null}\n */\n getResponseAuthor(authorId: String): Author {\n return Type.withDefault(this._authorMapping[authorId], null);\n }\n\n /**\n * Attempts to locate a comment with the provided identifier.\n *\n * @param {string} commentId The comment's identifier.\n * @returns {Comment|null}\n */\n getResponseComment(commentId: String): Comment {\n return Type.withDefault(this._commentMapping[commentId], null);\n }\n\n /**\n * Attempts to locate a thread with the provided identifier.\n *\n * @param {string} threadId The thread's identifier..\n * @returns {ThreadContext|null}\n */\n getResponseThread(threadId: String): ThreadContext {\n return Type.withDefault(this._threadMapping[threadId], null);\n }\n\n}\n\nCommentResponse.ApiSortString = 'orders';\n\nexport default CommentResponse;\n\n","class TaskStatus {\r\n\r\n}\r\n\r\nTaskStatus.InProgress = 0;\r\nTaskStatus.Complete = 1;\r\nTaskStatus.Canceled = 2;\r\n\r\nexport default TaskStatus;\r\n","import BaseResponse from './baseResponse';\r\nimport TaskStatus from '../../Data/taskStatus';\r\nimport Type from '../../Types/type';\r\n\r\nclass TaskResponse extends BaseResponse {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.taskId = null;\r\n this.status = TaskStatus.InProgress;\r\n }\r\n\r\n static fromApiResponse(apiResponse, err) : TaskResponse {\r\n let response = new TaskResponse();\r\n\r\n BaseResponse.applyResponseToObject(apiResponse, err, response);\r\n\r\n response.taskId = Type.withDefault(apiResponse[TaskResponse.ApiTaskId], null);\r\n response.status = Type.withDefault(apiResponse[TaskResponse.ApiTaskStatus], TaskStatus.InProgress);\r\n\r\n return response;\r\n }\r\n\r\n}\r\n\r\nTaskResponse.ApiTaskId = 'task';\r\nTaskResponse.ApiTaskStatus = 'status';\r\n\r\nexport default TaskResponse;\r\n","import Endpoints from '../Http/endpoints';\nimport Client from '../Http/client';\nimport CommentResponse from '../Http/Responses/commentResponse';\nimport ErrorResponse from '../Http/Responses/errorResponse';\nimport SearchOptions from '../Data/Comments/searchOptions';\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport CommentMutationResponse from '../Http/Responses/commentMutationResponse';\nimport AffectedCommentsResponse from '../Http/Responses/AffectedCommentsResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport ActionState from '../App/actionState';\nimport TaskResponse from '../Http/Responses/taskResponse';\n\nconst syncjs = require('syncjs');\n\n/**\n * Provides a wrapper around Meerkat's comment-related HTTP API endpoints.\n *\n * @property {function(request) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass CommentRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n /**\n * Issues a comment search request.\n *\n * @param {SearchOptions} options The search options.\n * @returns {Promise}\n */\n search(options: SearchOptions): Promise {\n let requestHash = options.toHash();\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsSearch), options.getRequestData(), requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(CommentResponse.fromApiResponse(result, this));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to attach a reply to provided comment identifier.\n *\n * @param {string} replyingToId The parent identifier.\n * @param {string} newCommentContent The content of the new comment.\n * @returns {Promise}\n */\n attachReply(replyingToId: string, newCommentContent: string): Promise {\n let request = {\n replyingTo: replyingToId,\n comment: newCommentContent,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsReply), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(CommentMutationResponse.fromApiResponse(result));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to publish the requested comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n publish(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsApprove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let publishResult = CommentMutationResponse.fromApiResponse(result);\n\n if (publishResult.success) {\n syncjs.Hubs.comments().published([publishResult.comment.id]);\n }\n\n resolve(publishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to publish the provided comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n publishMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsApproveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let publishResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (publishResult.partialSuccess || publishResult.success) {\n syncjs.Hubs.comments().published(publishResult.comments);\n }\n\n resolve(publishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to unpublish the requested comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n unpublish(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUnapprove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let unpublishedResult = CommentMutationResponse.fromApiResponse(result);\n\n if (unpublishedResult.success) {\n syncjs.Hubs.comments().unpublished([unpublishedResult.comment.id]);\n }\n\n resolve(unpublishedResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove the provided comment.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n delete(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemove), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove the requested comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n deleteMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemoveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.partialSuccess || deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to remove all comments currently marked as spam.\n *\n * @returns {Promise}\n */\n removeAllSpam(): Promise {\n let request = {\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsRemoveSpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let deleteResponse = AffectedCommentsResponse.fromApiResponse(result);\n\n if (deleteResponse.partialSuccess || deleteResponse.success) {\n syncjs.Hubs.comments().removed(deleteResponse.comments);\n }\n\n resolve(deleteResponse);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to unpublish the provided comments.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n unpublishMany(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUnapproveMany), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let unpublishResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (unpublishResult.partialSuccess || unpublishResult.success) {\n syncjs.Hubs.comments().unpublished(unpublishResult.comments);\n }\n\n resolve(unpublishResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to update the comment's content.\n *\n * @param {string} commentId The comment identifier.\n * @param {string} newContent The new comment content.\n * @returns {Promise}\n */\n update(commentId: string, newContent: string): Promise {\n let request = {\n comment: commentId,\n content: newContent,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsUpdate), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let updateResult = CommentMutationResponse.fromApiResponse(result);\n\n if (updateResult.success) {\n syncjs.Hubs.comments().updated([result.comment]);\n }\n\n resolve(updateResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the comment as spam.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n markAsSpam(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkSpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let spamResult = CommentMutationResponse.fromApiResponse(result);\n\n if (spamResult.success && spamResult.autoDeleted === false) {\n syncjs.Hubs.comments().markedAsSpam([spamResult.comment.id]);\n } else if (spamResult.success && spamResult.autoDeleted === true) {\n syncjs.Hubs.comments().removed(spamResult.comments);\n }\n\n resolve(spamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the provided comments as spam.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n markManyAsSpam(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkManySpam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markSpamResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (markSpamResult.partialSuccess || markSpamResult.success) {\n syncjs.Hubs.comments().markedAsSpam(markSpamResult.comments);\n }\n\n resolve(markSpamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the comment as not spam.\n *\n * @param {string} commentId The comment identifier.\n * @returns {Promise}\n */\n markAsNotSpam(commentId: string): Promise {\n let request = {\n comment: commentId,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkHam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markHamResult = CommentMutationResponse.fromApiResponse(result);\n\n if (markHamResult.success) {\n syncjs.Hubs.comments().markedAsHam([markHamResult.comment.id]);\n }\n\n resolve(markHamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Issues a request to check all pending comments for spam.\n *\n * @returns {Promise}\n */\n checkForSpam(): Promise {\n let request = {'checkForSpam': true}, requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentsCheckForSpam), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n resolve(TaskResponse.fromApiResponse(result));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n /**\n * Attempts to mark the provided comments as not spam.\n *\n * @param {Array} commentIds The comment identifiers.\n * @returns {Promise}\n */\n markManyAsNotSpam(commentIds: Array): Promise {\n let request = {\n comments: commentIds,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.CommentMarkManyHam), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n\n let markHamResult = AffectedCommentsResponse.fromApiResponse(result);\n\n if (markHamResult.partialSuccess || markHamResult.success) {\n syncjs.Hubs.comments().markedAsHam(markHamResult.comments);\n }\n\n resolve(markHamResult);\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nCommentRepository.Instance = new CommentRepository();\n\nexport default CommentRepository;\n","class RangeItem {\r\n constructor() {\r\n this.isSelected = false;\r\n this.isSeparator = false;\r\n this.pageNumber = 1;\r\n }\r\n\r\n static makeSeparator(): RangeItem {\r\n let newItem = new RangeItem();\r\n\r\n newItem.isSeparator = true;\r\n\r\n return newItem;\r\n }\r\n\r\n}\r\n\r\nexport default RangeItem;\r\n","import template from './template.html';\nimport {Range} from '../../../Types/common';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport {RangeItem, PagedMetaData} from '../../../Data/Paged/common';\n\nconst forceSmallSliderCutOff = 10;\nconst paginatorRangeAdjustment = 2;\nconst paginatorRangeSizeOffset = 6;\nconst sharedSeparator = [RangeItem.makeSeparator()];\n\nexport default {\n mixins: [UsesTranslator],\n\n template: template,\n props: {\n displayArrows: {\n type: Boolean,\n default: true\n },\n displayInline: {\n type: Boolean,\n default: false\n },\n displayRange: {\n type: Boolean,\n default: true\n },\n rangeItemsPerSide: {\n type: Number,\n default: 3\n },\n displayPerPage: {\n type: Boolean,\n default: true\n },\n perPage: {\n type: Number,\n default: 10\n },\n perPageOptions: {\n type: Array,\n default: function () {\n return [\n 10,\n 25,\n 50,\n 100\n ];\n }\n },\n /**\n * @type PagedMetaData\n */\n pageData: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n instancePerPage: -1,\n visibleRangeWindow: 0\n };\n },\n watch: {\n instancePerPage: function (val, oldVal) {\n if (oldVal > -1) {\n this.$emit('per-page-updated', val);\n }\n }\n },\n methods: {\n // region Range Generation\n getWindowStart(): Array {\n return Range.get(1, this.visibleRangeWindow + paginatorRangeAdjustment);\n },\n getWindowEnd(): Array {\n return Range.get(\n this.pageData.totalPages - (this.visibleRangeWindow + paginatorRangeAdjustment),\n this.pageData.totalPages\n );\n },\n getRangeStart(): Array {\n return Range.get(1, 2);\n },\n getRangeEnd(): Array {\n return Range.get(this.pageData.totalPages - 1, this.pageData.totalPages);\n },\n getRangeAdjacent(): Array {\n return Range.get(\n this.pageData.currentPage - this.rangeItemsPerSide,\n this.pageData.currentPage + this.rangeItemsPerSide\n );\n },\n // endregion\n // region Navigation Support\n hasPage(pageNumber: Number) {\n if (this.pageData === null) {\n return false;\n }\n\n return pageNumber >= 1 && pageNumber <= this.pageData.totalPages;\n },\n moveToPage(pageNumber: Number) {\n if (this.pageData === null) {\n return;\n }\n\n this.pageData.currentPage = pageNumber;\n\n this.$emit('page-updated', pageNumber);\n },\n updatePerPage(event) {\n this.$emit('per-page-updated', event.target.value);\n event.preventDefault();\n },\n movePrevious() {\n if (this.pageData === null) {\n return;\n }\n\n if (this.pageData.currentPage === 1) {\n return;\n }\n\n this.moveToPage(this.pageData.currentPage - 1);\n },\n moveNext() {\n if (this.pageData === null) {\n return;\n }\n\n if (this.pageData.currentPage === this.pageData.totalPages) {\n return;\n }\n\n this.moveToPage(this.pageData.currentPage + 1);\n },\n // endregion\n // region Display Logic Helpers\n shouldUseSmallSlider(): Boolean {\n if (this.displayPerPage === true) {\n if (this.pageData.totalPages <= this.instancePerPage && this.pageData.totalPages <= forceSmallSliderCutOff) {\n return true;\n }\n }\n\n return this.pageData.totalPages < (this.rangePerSide * paginatorRangeAdjustment) + paginatorRangeSizeOffset;\n },\n shouldUseBeginningSlider(): Boolean {\n return this.pageData.currentPage <= this.visibleRangeWindow;\n },\n shouldUseEndSlider(): Boolean {\n return this.pageData.currentPage > (this.pageData.totalPages - this.visibleRangeWindow);\n },\n updateVisibleRange(perSide: Number) {\n this.visibleRangeWindow = perSide * paginatorRangeAdjustment;\n },\n makeRangeItem(pageNumber: Number): RangeItem {\n let newItem = new RangeItem();\n\n newItem.pageNumber = pageNumber;\n\n if (this.pageData !== null && this.pageData.currentPage === pageNumber) {\n newItem.isSelected = true;\n }\n\n return newItem;\n },\n makeRangeArray(range: Array): Array {\n let rangeItems = [];\n\n for (let i = 0; i < range.length; i += 1) {\n rangeItems.push(this.makeRangeItem(range[i]));\n }\n\n return rangeItems;\n },\n buildSeparatedRangeItems(ranges: Array>): Array {\n let rangeItems = [],\n rangeMax = ranges.length - 1;\n\n for (let i = 0; i < ranges.length; i += 1) {\n rangeItems = rangeItems.concat(this.makeRangeArray(ranges[i]));\n\n if (i < rangeMax) {\n rangeItems = rangeItems.concat(sharedSeparator);\n }\n }\n\n return rangeItems;\n }\n // endregion\n },\n computed: {\n hasMultiplePages(): Boolean {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.totalPages > 1;\n },\n shouldDisplayPerPageSelection(): Boolean {\n if (this.perPageOptions === null || this.perPageOptions.length === 0) {\n return false;\n }\n\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.totalItems >= this.perPageOptions[0];\n },\n visibleRange(): Array {\n if (this.pageData === null) {\n return [];\n }\n\n let rangeItems = [];\n\n if (this.shouldUseSmallSlider()) {\n rangeItems = this.makeRangeArray(\n Range.get(1, this.pageData.totalPages)\n );\n } else if (this.shouldUseBeginningSlider()) {\n rangeItems = this.buildSeparatedRangeItems([\n this.getWindowStart(),\n this.getRangeEnd()\n ]);\n } else if (this.shouldUseEndSlider()) {\n rangeItems = this.buildSeparatedRangeItems([\n this.getRangeStart(),\n this.getWindowEnd()\n ]);\n } else {\n rangeItems = this.buildSeparatedRangeItems([\n this.getRangeStart(),\n this.getRangeAdjacent(),\n this.getRangeEnd()\n ]);\n }\n\n return rangeItems;\n },\n hasPrevious() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage > 1;\n },\n hasNext() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage < this.pageData.totalPages;\n },\n isFirstPage() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage <= 1;\n },\n isLastPage() {\n if (this.pageData === null) {\n return false;\n }\n\n return this.pageData.currentPage >= this.pageData.totalPages;\n }\n },\n created() {\n this.instancePerPage = this.perPage;\n this.updateVisibleRange(this.rangeItemsPerSide);\n }\n};\n","import ActionState from '../../../actionState';\r\nimport trans from '../../../../trans';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass EditCommentHandler extends ActionState {\r\n\r\n constructor(comment: Comment) {\r\n super(comment);\r\n\r\n this.setMessages('edit');\r\n this.confirmText = trans('actions.edit_confirm_button');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.save();\r\n }\r\n\r\n}\r\n\r\nexport default EditCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport trans from '../../../../trans';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass ReplyCommentHandler extends ActionState {\r\n\r\n constructor(comment: Comment) {\r\n super(comment);\r\n\r\n this.setMessages('reply');\r\n this.confirmText = trans('actions.reply_confirm_button');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.saveReply();\r\n }\r\n\r\n}\r\n\r\nexport default ReplyCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkApproveHandler extends ActionState {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_approve');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.publishMany(this.commentIds);\r\n }\r\n\r\n}\r\n\r\nexport default BulkApproveHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkUnapproveHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_unapprove');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.unpublishMany(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkUnapproveHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkDeleteHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_delete');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.deleteMany(this.commentIds);\r\n }\r\n\r\n}\r\n\r\nexport default BulkDeleteHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkSpamHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_mark_spam');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.markManyAsSpam(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkSpamHandler;\r\n","import ActionState from '../../../actionState';\r\nimport CommentRepository from '../../../../Repositories/commentRepository';\r\n\r\nclass BulkNotSpamHandler extends ActionState {\r\n constructor() {\r\n super();\r\n\r\n this.setMessages('bulk_mark_ham');\r\n }\r\n\r\n proceedWith() {\r\n return CommentRepository.Instance.markManyAsNotSpam(this.commentIds);\r\n }\r\n}\r\n\r\nexport default BulkNotSpamHandler;\r\n","import ActionState from '../../../actionState';\nimport CommentRepository from '../../../../Repositories/commentRepository';\n\nclass BulkRemoveAllSpam extends ActionState {\n constructor() {\n super();\n\n this.setMessages('bulk_remove_spam');\n }\n\n proceedWith() {\n return CommentRepository.Instance.removeAllSpam();\n }\n}\n\nexport default BulkRemoveAllSpam;\n","require('./style.less');\r\n\r\nimport template from './template.html';\r\nimport Author from '../../../Data/Comments/author';\r\nimport Comment from '../../../Data/Comments/comment';\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n comment: {\r\n type: Object,\r\n default: null\r\n },\r\n author: {\r\n type: Object,\r\n default: null\r\n },\r\n avatarDriver: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n methods: {\r\n getAuthor() {\r\n return {\r\n author: this.author\r\n };\r\n }\r\n }\r\n};\r\n","import Type from '../../Types/type';\nimport ActionState from '../actionState';\n\nexport default {\n methods: {\n performAction(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n });\n }\n }\n }\n};\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass ApproveCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('approve');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.publish();\r\n }\r\n\r\n}\r\n\r\nexport default ApproveCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass UnApproveCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('unapprove');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.unpublish();\r\n }\r\n\r\n}\r\n\r\nexport default UnApproveCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass DeleteCommentHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('delete');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.delete();\r\n }\r\n\r\n}\r\n\r\nexport default DeleteCommentHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass MarkAsSpamHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('mark_spam');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.markAsSpam();\r\n }\r\n\r\n}\r\n\r\nexport default MarkAsSpamHandler;\r\n","import ActionState from '../../../actionState';\r\nimport Comment from '../../../../Data/Comments/comment';\r\n\r\nclass MarkAsNotSpamHandler extends ActionState {\r\n\r\n constructor(comment : Comment) {\r\n super(comment);\r\n\r\n this.setMessages('mark_ham');\r\n }\r\n\r\n proceedWith() {\r\n return this.comment.markAsNotSpam();\r\n }\r\n\r\n}\r\n\r\nexport default MarkAsNotSpamHandler;\r\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismiss from '../../Mixins/canDismissAction';\nimport CanPerformAction from '../../Mixins/canPerformAction';\nimport {\n ApproveCommentHandler, DeleteCommentHandler,\n MarkAsNotSpamHandler, MarkAsSpamHandler, UnApproveCommentHandler\n} from './Handlers';\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator, ActionHandler, CanDismiss, CanPerformAction],\n template: template,\n props: {\n comment: {\n type: Object,\n default: null\n },\n permissions: {\n type: Object,\n default: null,\n required: true\n }\n },\n data() {\n return {\n currentAction: null,\n handlers: {\n 'approve': ApproveCommentHandler,\n 'unapprove': UnApproveCommentHandler,\n 'delete': DeleteCommentHandler,\n 'mark-spam': MarkAsSpamHandler,\n 'mark-ham': MarkAsNotSpamHandler\n }\n };\n }\n};\n","import Author from '../../../Data/Comments/author';\r\nimport template from './template.html';\r\nimport UsesTranslator from '../../Mixins/usesTranslator';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n props: {\r\n author: {\r\n type: Author,\r\n default: null\r\n },\r\n avatarDriver: {\r\n type: String,\r\n default: null\r\n }\r\n },\r\n methods: {\r\n getAuthor() {\r\n return {\r\n author: this.author\r\n };\r\n }\r\n }\r\n};\r\n","import template from './template.html';\nimport Comment from '../../../Data/Comments/comment';\nimport CommentActions from '../CommentActions';\nimport ReplyAuthor from '../ReplyToAuthorDisplay';\nimport {parseMarkdown} from '../../markdown';\nimport UsesTranslator from '../../Mixins/usesTranslator';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n components: {\n 'comment-actions': CommentActions,\n 'reply-author': ReplyAuthor\n },\n props: {\n permissions: {\n type: Object,\n default: null,\n required: true\n },\n avatarDriver: {\n type: String,\n default: ''\n },\n comment: {\n type: Object,\n default: null\n },\n actionsDisabled: {\n type: Boolean,\n default: false\n },\n displayThread: {\n type: Boolean,\n default: false\n }\n },\n methods: {\n forceDismiss() {\n this.$refs.actions.forceDismiss();\n },\n parseMarkdown: parseMarkdown\n }\n};\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport CanDismissAction from '../../Mixins/canDismissAction';\nimport LostChangesHandler from '../CommentEditor/Handlers/lostChangesHandler';\nimport ActionState from '../../actionState';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator, ActionHandler, CanDismissAction],\n props: {\n comment: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n currentAction: null\n };\n },\n methods: {\n cancel() {\n if (this.comment.state.reply.content.trim().length > 0) {\n let handler = new LostChangesHandler(this.comment);\n\n this.confirm(handler).onConfirm(function (state : ActionState) {\n this.$emit('reply-canceled', this.comment);\n this.comment.cancelReply();\n }.bind(this));\n\n return;\n }\n\n this.$emit('reply-canceled', this.comment);\n this.comment.cancelReply();\n }\n },\n mounted() {\n this.$refs.markdownEditor.focus();\n },\n created() {\n this.$keys.bind('esc', this.cancel);\n }\n};\n","import SearchOptions from '../Comments/searchOptions';\nimport Guid from '../../Types/guid';\nimport Comment from '../Comments/comment';\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\n\nclass Filter {\n constructor() {\n this.id = Guid.newGuid();\n this.internalName = '';\n this.name = '';\n\n this.count = 0;\n this.countDisplay = '';\n this.query = {};\n this.filters = [];\n }\n\n adjustOptions(options: SearchOptions) {\n options.query = Object.assign({}, this.query, options.query);\n\n options.query.filter = this.filters.join('|');\n\n return options;\n }\n\n /**\n * Determines if the filter should reload based on the comment.\n *\n * @param {Array} comments The comment to test.\n * @returns {boolean}\n */\n shouldReload(comments: Array): Boolean {\n return false;\n }\n\n updateState(report : OverviewResponse) {\n }\n\n}\n\nexport default Filter;\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\n\r\nclass AllFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 0;\r\n this.internalName = 'all';\r\n this.name = trans('filters.all');\r\n }\r\n\r\n updateState(report : OverviewResponse) {\r\n this.count = report.total;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n}\r\n\r\nexport default AllFilter;\r\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\nimport Comment from '../Comments/comment';\r\n\r\nclass IsSpamFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 1;\r\n this.internalName = 'spam';\r\n this.name = trans('filters.spam');\r\n this.filters = [\r\n 'is:spam(true)'\r\n ];\r\n }\r\n\r\n updateState(report: OverviewResponse) {\r\n this.count = report.totalSpam;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n /**\r\n * Determines if the filter should reload based on the comment.\r\n *\r\n * @param {Array} comments The comment to test.\r\n * @returns {boolean}\r\n */\r\n shouldReload(comments: Array): Boolean {\r\n for (let i = 0; i < comments.length; i += 1) {\r\n if (comments[i].hasBeenCheckedForSpam === false || comments[i].isSpam === false) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n}\r\n\r\nexport default IsSpamFilter;\r\n","import Filter from './filter';\nimport trans from '../../trans';\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\nimport {App} from '../../App';\nimport Comment from '../Comments/comment';\n\nclass PendingFilter extends Filter {\n\n constructor() {\n super();\n\n this.id = 2;\n this.internalName = 'pending';\n this.name = trans('filters.pending');\n this.filters = [\n 'where(spam, !==, true)',\n 'is:published(false)'\n ];\n }\n\n updateState(report : OverviewResponse) {\n this.count = report.pending;\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\n }\n\n /**\n * Determines if the filter should reload based on the comment.\n *\n * @param {Array} comments The comment to test.\n * @returns {boolean}\n */\n shouldReload(comments: Array): Boolean {\n for (let i = 0; i < comments.length; i += 1) {\n if (comments[i].published === true) {\n return true;\n }\n }\n\n return false;\n }\n\n}\n\nexport default PendingFilter;\n","import Filter from './filter';\r\nimport trans from '../../trans';\r\nimport OverviewResponse from '../../Http/Responses/Reporting/overviewResponse';\r\nimport {App} from '../../App';\r\nimport Comment from '../Comments/comment';\r\n\r\nclass PublishedFilter extends Filter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.id = 3;\r\n this.internalName = 'published';\r\n this.name = trans('filters.published');\r\n this.filters = [\r\n 'is:published(true)'\r\n ];\r\n }\r\n\r\n updateState(report : OverviewResponse) {\r\n this.count = report.totalPublished;\r\n this.countDisplay = App.NumberFormatter.abbreviate(this.count);\r\n }\r\n\r\n /**\r\n * Determines if the filter should reload based on the comment.\r\n *\r\n * @param {Array} comments The comment to test.\r\n * @returns {boolean}\r\n */\r\n shouldReload(comments: Array): Boolean {\r\n for (let i = 0; i < comments.length; i += 1) {\r\n if (comments[i].published === false) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n\r\n}\r\n\r\nexport default PublishedFilter;\r\n","import template from './template.html';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport {AllFilter, IsSpamFilter, PendingFilter, PublishedFilter} from '../../../Data/Filters/defaultFilters';\nimport Guid from '../../../Types/guid';\nimport Environment from '../../../Config/environment';\nimport {debounce} from '../../../utils';\nimport OverviewProvider from '../../../Reporting/overviewProvider';\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\nimport Type from '../../../Types/type';\n\nrequire('./style.less');\n\nexport default {\n template: template,\n mixins: [UsesTranslator],\n props: {\n activeFilterId: {\n type: Number,\n default: 0\n }\n },\n data: function () {\n return {\n searchId: 'meerkat-search-' + Guid.newGuid(),\n searchFilter: '',\n filters: [],\n state: {\n isOpen: false\n }\n };\n },\n methods: {\n filterRequiresUpdate(comments) {\n for (let i = 0; i < this.filters.length; i += 1) {\n if (Type.hasValue(this.filters[i]['shouldReload'])) {\n if (this.filters[i].shouldReload(comments)) {\n return true;\n }\n }\n }\n\n return false;\n },\n updateFilterDisplays(report: OverviewResponse) {\n if (report.success) {\n for (let i = 0; i < this.filters.length; i += 1) {\n if (Type.hasValue(this.filters[i]['updateState'])) {\n this.filters[i].updateState(report);\n }\n }\n }\n },\n resetSearch() {\n if (this.searchFilter === '') {\n return;\n }\n\n this.searchFilter = '';\n\n this.$emit('search-updated', this.searchFilter);\n },\n searchEvent: debounce(function (e) {\n this.$emit('search-updated', this.searchFilter);\n }, 750),\n toggle() {\n this.state.isOpen = !this.state.isOpen;\n Environment.Preferences.updateDisplayTableFilters(this.state.isOpen);\n\n this.checkForFocus();\n },\n checkForFocus() {\n if (this.state.isOpen) {\n this.$nextTick(function () {\n Environment.ContextJquery('#' + this.searchId).focus();\n });\n }\n },\n onFilterClick(filter) {\n if (filter.id !== this.activeFilterId) {\n this.activeFilterId = filter.id;\n this.$emit('filter-changed', filter);\n }\n }\n },\n created() {\n this.filters.push(new AllFilter());\n this.filters.push(new PendingFilter());\n this.filters.push(new IsSpamFilter());\n this.filters.push(new PublishedFilter());\n\n OverviewProvider.Instance.on('updated', this.updateFilterDisplays);\n\n if (OverviewProvider.Instance.hasData()) {\n this.updateFilterDisplays(OverviewProvider.Instance.report);\n }\n\n this.state.isOpen = Environment.Preferences.getDisplayTableFilters();\n this.checkForFocus();\n }\n};\n","import String from '../../../Types/string';\r\n\r\nclass SortManager {\r\n\r\n constructor() {\r\n this.columns = {};\r\n this.orders = {};\r\n this.sortIndex = [];\r\n this.hasMultipleOrders = false;\r\n this.sortString = '';\r\n }\r\n\r\n /**\r\n * Sets which columns to consider when building internal sort state.\r\n *\r\n * @param {Object} columns The columns to set.\r\n */\r\n setColumns(columns) {\r\n this.columns = columns;\r\n this.buildSortIndex();\r\n }\r\n\r\n /**\r\n * Toggles a column's sort direction from desc to asc, and then none.\r\n *\r\n * @param {string} column The column name.\r\n */\r\n toggleColumn(column) {\r\n if (this.columns[column] === SortManager.Desc) {\r\n this.columns[column] = SortManager.Asc;\r\n } else if (this.columns[column] === SortManager.Asc) {\r\n this.columns[column] = SortManager.None;\r\n } else {\r\n this.columns[column] = SortManager.Desc;\r\n }\r\n\r\n this.rebuildSortIndex();\r\n }\r\n\r\n /**\r\n * Sets the internal sort string and parses it.\r\n *\r\n * @param {String} sortString The sort string.\r\n */\r\n setSortString(sortString: string) {\r\n if (String.hasValue(sortString) === false) {\r\n return;\r\n }\r\n\r\n let parts = sortString.split('|'),\r\n columnsToSet = this.columns;\r\n\r\n if (parts.length === 0) {\r\n return;\r\n }\r\n\r\n for (let i = 0; i < parts.length; i += 1) {\r\n let columnParts = parts[i].split(',');\r\n\r\n if (columnParts.length !== 2) {\r\n continue;\r\n }\r\n\r\n let column = columnParts[0],\r\n direction = columnParts[1],\r\n mapDirection = SortManager.None;\r\n\r\n if (String.hasValue(column) === false || String.hasValue(direction) === false) {\r\n continue;\r\n }\r\n\r\n column = column.trim();\r\n direction = direction.toLowerCase().trim();\r\n\r\n if (direction === 'asc') {\r\n mapDirection = SortManager.Asc;\r\n } else if (direction === 'desc') {\r\n mapDirection = SortManager.Desc;\r\n }\r\n\r\n columnsToSet[column] = mapDirection;\r\n }\r\n\r\n this.setColumns(columnsToSet);\r\n }\r\n\r\n /**\r\n * Builds the internal sort string that can be used to communicate with the server.\r\n */\r\n buildSortString() {\r\n let parts = [];\r\n\r\n for (let i = 0; i < this.sortIndex.length; i += 1) {\r\n let sortOrder = this.columns[this.sortIndex[i].column];\r\n\r\n if (sortOrder === SortManager.Asc) {\r\n parts.push(this.sortIndex[i].column + ',asc');\r\n } else if (sortOrder === SortManager.Desc) {\r\n parts.push(this.sortIndex[i].column + ',desc');\r\n }\r\n }\r\n\r\n if (parts.length === 0) {\r\n this.sortString = '';\r\n } else {\r\n this.sortString = parts.join('|');\r\n }\r\n }\r\n\r\n /**\r\n * Rebuilds the internal sort index.\r\n */\r\n rebuildSortIndex() {\r\n let tempSortIndex = [],\r\n indexMap = {}, currentIndex = 0,\r\n totalSorting = 0,\r\n orderedIndex = this.sortIndex.sort((a, b) => (a.order > b.order) ? 1 : -1),\r\n indexFinal = [], mapFinal = {};\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n totalSorting += 1;\r\n }\r\n }\r\n\r\n for (let i = 0; i < orderedIndex.length; i += 1) {\r\n if (this.columns[orderedIndex[i].column] !== SortManager.None) {\r\n indexMap[orderedIndex[i].column] = orderedIndex[i].order;\r\n currentIndex = i;\r\n }\r\n }\r\n\r\n if (totalSorting === 0) {\r\n this.orders = {};\r\n this.sortIndex = [];\r\n this.hasMultipleOrders = false;\r\n\r\n this.buildSortString();\r\n\r\n return;\r\n }\r\n\r\n if (currentIndex > 0) {\r\n currentIndex += 1;\r\n }\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n let curSortIndex = currentIndex;\r\n\r\n if (typeof indexMap[key] !== 'undefined') {\r\n curSortIndex = indexMap[key];\r\n }\r\n\r\n tempSortIndex.push({\r\n column: key,\r\n order: curSortIndex\r\n });\r\n\r\n currentIndex += 1;\r\n }\r\n }\r\n\r\n // Resort.\r\n tempSortIndex = tempSortIndex.sort((a, b) => (a.order > b.order) ? 1 : -1);\r\n\r\n currentIndex = 0;\r\n\r\n for (let i = 0; i < tempSortIndex.length; i += 1) {\r\n indexFinal.push({\r\n column: tempSortIndex[i].column,\r\n order: currentIndex\r\n });\r\n\r\n mapFinal[tempSortIndex[i].column] = currentIndex + 1;\r\n\r\n currentIndex += 1;\r\n }\r\n\r\n this.orders = mapFinal;\r\n this.sortIndex = indexFinal;\r\n this.hasMultipleOrders = this.sortIndex.length > 1;\r\n\r\n this.buildSortString();\r\n }\r\n\r\n /**\r\n * Builds the initial internal sort index.\r\n */\r\n buildSortIndex() {\r\n let index = 0, tempSortIndex = [], tempOrderMap = {};\r\n\r\n for (let key in this.columns) {\r\n if (this.columns[key] !== SortManager.None) {\r\n tempSortIndex.push({\r\n column: key,\r\n order: index\r\n });\r\n\r\n tempOrderMap[key] = index + 1;\r\n }\r\n\r\n index += 1;\r\n }\r\n\r\n this.orders = tempOrderMap;\r\n this.sortIndex = tempSortIndex;\r\n this.hasMultipleOrders = this.sortIndex.length > 1;\r\n\r\n this.buildSortString();\r\n }\r\n\r\n}\r\n\r\nSortManager.Asc = 1;\r\nSortManager.Desc = -1;\r\nSortManager.None = 0;\r\n\r\nexport default SortManager;\r\n","import template from './sortIndicator.html';\r\n\r\nrequire('./sortIndicator.less');\r\n\r\nexport default {\r\n template: template,\r\n props: {\r\n column: {\r\n type: String,\r\n default: null\r\n },\r\n manager: {\r\n type: Object,\r\n default: null\r\n },\r\n respondToClick: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n methods: {\r\n updateManager() {\r\n if (this.respondToClick === true) {\r\n this.manager.toggleColumn(this.column);\r\n this.$emit('order-changed');\r\n }\r\n }\r\n }\r\n};\r\n","import template from './template.html';\r\nimport UsesTranslator from '../../Mixins/usesTranslator';\r\n\r\nrequire('./style.less');\r\n\r\nexport default {\r\n template: template,\r\n mixins: [UsesTranslator],\r\n props: {\r\n totalCount: {\r\n type: Number,\r\n default: 0\r\n }\r\n }\r\n};\r\n","import {\n BulkApproveHandler,\n BulkDeleteHandler, BulkNotSpamHandler, BulkRemoveAllSpam, BulkSpamHandler,\n BulkUnapproveHandler,\n EditCommentHandler,\n ReplyCommentHandler\n} from './Handlers';\nimport template from './template.html';\nimport CommentResponse from '../../../Http/Responses/commentResponse';\nimport Environment from '../../../Config/environment';\nimport AvatarDriverRegistry from '../../../Extend/Avatars/avatarDriverRegistry';\nimport AuthorDisplay from '../AuthorDisplay';\nimport Comment from '../../../Data/Comments/comment';\nimport CommentDisplay from '../CommentDisplay';\nimport CommentEditor from '../CommentEditor';\nimport ReplyEditor from '../ReplyEditor';\nimport UsesTranslator from '../../Mixins/usesTranslator';\nimport Type from '../../../Types/type';\nimport String from '../../../Types/string';\nimport ActionState from '../../actionState';\nimport ActionHandler from '../../Mixins/actionHandler';\nimport TableFilters from '../TableFilters';\nimport SortManager from './sortManager';\nimport SortIndicator from './sortIndicator';\nimport EmptyIndicator from '../EmptyIndicator';\nimport OverviewProvider from '../../../Reporting/overviewProvider';\nimport OverviewResponse from '../../../Http/Responses/Reporting/overviewResponse';\n\nconst syncjs = require('syncjs');\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator, ActionHandler],\n template: template,\n components: {\n 'table-filters': TableFilters,\n 'author-display': AuthorDisplay,\n 'comment-display': CommentDisplay,\n 'comment-editor': CommentEditor,\n 'reply-editor': ReplyEditor,\n 'sort-indicator': SortIndicator,\n 'empty-indicator': EmptyIndicator\n },\n props: {\n loading: {\n type: Boolean,\n default: false\n },\n comments: {\n type: Object,\n default: null\n },\n displayFocusMode: {\n type: Boolean,\n default: false\n },\n activeFilterId: {\n type: Number,\n default: 0\n }\n },\n data() {\n return {\n sortManager: null,\n currentAction: null,\n avatarDriver: null,\n state: {\n totalCount: 0\n },\n permissions: null,\n handlers: {\n 'edit': EditCommentHandler,\n 'reply': ReplyCommentHandler\n },\n singleSelectTranslation: this.trans('actions.select_comment'),\n canUseBulkActions: false,\n currentBulkAction: 'approve',\n bulkHandlers: {\n 'approve': BulkApproveHandler,\n 'unapprove': BulkUnapproveHandler,\n 'delete': BulkDeleteHandler,\n 'mark-spam': BulkSpamHandler,\n 'mark-ham': BulkNotSpamHandler,\n 'remove-spam': BulkRemoveAllSpam\n }\n };\n },\n computed: {\n hasData() {\n if (Type.hasValue(this.comments) === false) {\n return false;\n }\n\n return this.comments.comments.length > 0;\n },\n shouldDisplayThread() {\n if (Type.hasValue(this.comments) === false) {\n return false;\n }\n\n return this.comments.threads.length > 1;\n },\n hasCommentResponse() {\n return Type.hasValue(this.comments);\n },\n selectedCount: function () {\n let selectedCount = 0;\n\n if (Type.hasValue(this.comments) === false) {\n return selectedCount;\n }\n\n for (let i = 0; i < this.comments.comments.length; i += 1) {\n if (this.comments.comments[i].isSelected === true) {\n selectedCount += 1;\n }\n }\n\n return selectedCount;\n },\n hasSelection: function () {\n let hasSelection = false;\n\n if (Type.hasValue(this.comments) === false) {\n return hasSelection;\n }\n\n for (let i = 0; i < this.comments.comments.length; i += 1) {\n if (this.comments.comments[i].isSelected === true) {\n hasSelection = true;\n break;\n }\n }\n\n return hasSelection;\n },\n tableClasses: function () {\n return {\n 'opacity-50': this.loading,\n 'meerkat__comment-table--focus': (this.selectedCount === 0 && this.displayFocusMode)\n };\n }\n },\n methods: {\n checkFilters(comments) {\n if (this.$refs.tableFilters.filterRequiresUpdate(comments)) {\n this.$emit('data-update-requested');\n }\n },\n checkStateFromProvider(report: OverviewResponse) {\n if (report.success) {\n this.state.totalCount = report.total;\n\n if (report.total === 0) {\n this.clearData();\n }\n\n if (Type.hasValue(this.comments) === true && this.comments.comments.length === 0) {\n if (report.total > 0) {\n this.$emit('data-update-requested');\n }\n }\n }\n },\n exitFocusMode() {\n this.displayFocusMode = false;\n },\n clearData() {\n this.closeAllActionDialogs([]);\n this.comments.clear();\n },\n updateSortFromHeader(columnId) {\n if (String.hasValue(columnId)) {\n this.sortManager.toggleColumn(columnId);\n this.updateStateFromOrder();\n }\n },\n setSortString(sortString: String) {\n this.sortManager.setSortString(sortString);\n },\n updateStateFromOrder() {\n this.$emit('order-changed', this.sortManager);\n },\n onConfigAvatarUpdated(config) {\n if (Type.hasValue(config)) {\n if (config.length > 0) {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(config[0]);\n }\n }\n },\n onConfigUserAvailable() {\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canApproveComments || this.permissions.canEditComments ||\n this.permissions.canRemoveComments || this.permissions.canReportAsHam ||\n this.permissions.canReportAsSpam || this.permissions.canUnApproveComments) {\n this.canUseBulkActions = true;\n }\n },\n onFilterChange(filter) {\n this.$emit('filter-changed', filter);\n },\n onSearchUpdated(terms) {\n this.$emit('search-updated', terms);\n },\n closeAllActionDialogs(comments) {\n this.forceDismissBulkActions();\n this.$refs.commentDisplay.forEach(function (d) {\n d.forceDismiss();\n });\n },\n getSelectedIds() {\n let ids = [],\n selectedComments = this.comments.comments.getSelected();\n\n for (let i = 0; i < selectedComments.length; i += 1) {\n ids.push(selectedComments[i].id);\n }\n\n return ids;\n },\n getCommentClasses: function (comment: Comment) {\n return {\n 'meerkat__comment-row--focused': (comment.state.isEditing || comment.state.isReplying),\n 'meerkat__comment-row--pending': (comment.published || comment.hasBeenCheckedForSpam === false),\n 'meerkat__comment--row--spam': (comment.hasBeenCheckedForSpam && comment.isSpam === true),\n 'meerkat__comment-row--selected row-selected': comment.isSelected\n };\n },\n checkForDismiss() {\n if (this.currentAction !== null && this.currentAction.display === true && this.currentAction.canDismiss()) {\n this.currentAction.dismiss();\n }\n },\n forceDismissBulkActions() {\n if (this.currentAction !== null) {\n this.currentAction.dismiss();\n }\n this.currentAction = null;\n },\n cancelBulkActions() {\n this.comments.comments.unSelectAll();\n },\n performBulkAction(action) {\n if (Type.hasValue(this.bulkHandlers[action])) {\n let bulkHandler = new this.bulkHandlers[action](null);\n\n bulkHandler.commentIds = this.getSelectedIds();\n\n this.confirm(bulkHandler)\n .onConfirm((state: ActionState) => {\n state.proceed();\n })\n .onComplete(function () {\n this.comments.comments.unSelectAll();\n }.bind(this));\n }\n },\n performAction(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n });\n }\n },\n performActionNow(action, comment) {\n if (Type.hasValue(this.handlers[action])) {\n this.confirm(new this.handlers[action](comment))\n .onConfirm((state: ActionState) => {\n state.proceed();\n })\n .onComplete(function () {\n this.displayFocusMode = false;\n }.bind(this)).start();\n }\n },\n disableFocusMode() {\n this.displayFocusMode = false;\n },\n beforeReply(comment) {\n this.displayFocusMode = true;\n this.comments.comments.draftAllReplying();\n },\n beforeEdit(comment) {\n this.displayFocusMode = true;\n this.comments.comments.draftAllEditing();\n }\n },\n mounted() {\n this.$emit('table-available', this);\n\n this.$keys.bind('alt+shift+f', function () {\n this.$refs.tableFilters.toggle();\n }.bind(this));\n },\n created() {\n syncjs.Hubs.config().handledBy(this);\n syncjs.Hubs.comments().handledBy(this)\n .reactsToInstance(false)\n .redirectTo(this.closeAllActionDialogs);\n\n let sortManager = new SortManager();\n\n OverviewProvider.Instance.on('updated', this.checkStateFromProvider);\n\n if (OverviewProvider.Instance.hasData()) {\n this.state.totalCount = OverviewProvider.Instance.report.total;\n }\n\n sortManager.setColumns({\n 'id': SortManager.Desc,\n 'comment': SortManager.None\n });\n\n this.sortManager = sortManager;\n\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canApproveComments || this.permissions.canEditComments ||\n this.permissions.canRemoveComments || this.permissions.canReportAsHam ||\n this.permissions.canReportAsSpam || this.permissions.canUnApproveComments) {\n this.canUseBulkActions = true;\n }\n\n if (AvatarDriverRegistry.hasDriver(Environment.UserPreferences.cp_avatar_driver)) {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(Environment.UserPreferences.cp_avatar_driver);\n } else {\n this.avatarDriver = AvatarDriverRegistry.getDriverName(AvatarDriverRegistry.DefaultDriverName);\n }\n }\n};\n","import Endpoints from '../Http/endpoints';\r\nimport Client from '../Http/client';\r\nimport ErrorResponse from '../Http/Responses/errorResponse';\r\nimport {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\r\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\r\nimport TaskResponse from '../Http/Responses/taskResponse';\r\n\r\n/**\r\n * @property {function(request, waitTime) : RequestState} shouldProcessRequest()\r\n * @property {function(request)} releasePending()\r\n */\r\nclass TasksRepository {\r\n\r\n constructor() {\r\n canPoolHttpRequests(this);\r\n this.client = new Client();\r\n }\r\n\r\n /**\r\n * Retrieves the tasks's current status.\r\n *\r\n * @param {string} taskId The task's identifier.\r\n * @returns {Promise}\r\n */\r\n getStatus(taskId : string) : Promise {\r\n let requestHash = hash({\r\n task: taskId\r\n });\r\n\r\n return new Promise(function (resolve, reject) {\r\n let requestState = this.shouldProcessRequest(requestHash, 1000);\r\n\r\n this.client.get(Endpoints.url(Endpoints.TaskGetStatus), {\r\n task: taskId\r\n }, requestState)\r\n .then(function (result) {\r\n this.releasePending(requestHash);\r\n resolve(TaskResponse.fromApiResponse(result, null));\r\n }.bind(this))\r\n .catch(function (err) {\r\n this.releasePending(requestHash);\r\n reject(ErrorResponse.fromError(err));\r\n }.bind(this));\r\n }.bind(this));\r\n }\r\n}\r\n\r\nexport default TasksRepository;\r\n","import EventEmitter from 'wolfy87-eventemitter';\r\nimport TasksRepository from '../Repositories/tasksRepository';\r\nimport TaskStatus from '../Data/taskStatus';\r\n\r\nclass TaskObserver extends EventEmitter {\r\n\r\n constructor() {\r\n super();\r\n\r\n this.tasks = new TasksRepository();\r\n this.intervalId = null;\r\n this.taskId = null;\r\n }\r\n\r\n /**\r\n * Watches the specified tasks status for server-side changes.\r\n *\r\n * @param {string} taskId The task identifier.\r\n */\r\n watch(taskId) {\r\n this.taskId = taskId;\r\n\r\n this.intervalId = window.setInterval(function () {\r\n this.tasks.getStatus(this.taskId).then(function (response) {\r\n if (response.success === true) {\r\n if (response.status === TaskStatus.Complete) {\r\n window.clearInterval(this.intervalId);\r\n this.emit(TaskObserver.EventComplete);\r\n } else if (response.status === TaskStatus.Canceled) {\r\n this.emit(TaskObserver.EventCanceled);\r\n window.clearInterval(this.intervalId);\r\n }\r\n }\r\n }.bind(this))\r\n .catch(function (err) {\r\n window.clearInterval(this.intervalId);\r\n this.emitEvent(TaskObserver.EventError, err);\r\n }.bind(this));\r\n }.bind(this), 1000);\r\n }\r\n\r\n /**\r\n * Ensures that the interval has been cleared.\r\n */\r\n ensureStopped() {\r\n if (this.intervalId !== null) {\r\n window.clearInterval(this.intervalId);\r\n }\r\n }\r\n\r\n}\r\n\r\nTaskObserver.EventError = 'error';\r\nTaskObserver.EventComplete = 'complete';\r\nTaskObserver.EventCanceled = 'canceled';\r\n\r\nexport default TaskObserver;\r\n","class EntryBehavior {\n\n}\n\nEntryBehavior.Managed = 0;\nEntryBehavior.Merge = 1;\nEntryBehavior.Replace = 2;\nEntryBehavior.UserValueOrReplace = 3;\n\nexport default EntryBehavior;\n\n","import Type from '../../Types/type';\nimport EntryBehavior from './entryBehavior';\n\nclass ConfigItem {\n\n constructor() {\n this.namespace = '';\n this.runtimeValue = '';\n this.key = '';\n this.behavior = EntryBehavior.Managed;\n this.defaults = [];\n this.value = null;\n }\n\n /**\n * Constructs a new ConfigItem instance from an API object.\n *\n * @param {Object} apiObject The API object.\n * @returns {ConfigItem}\n */\n static fromApiObject(apiObject): ConfigItem {\n let item = new ConfigItem();\n\n item.namespace = Type.withDefault(apiObject[ConfigItem.ApiNamespace], '');\n item.key = Type.withDefault(apiObject[ConfigItem.ApiKey], '');\n item.behavior = Type.withDefault(apiObject[ConfigItem.ApiBehavior], EntryBehavior.Managed);\n item.defaults = Type.withDefault(apiObject[ConfigItem.ApiDefaults], []);\n item.value = Type.withDefault(apiObject[ConfigItem.ApiValue], null);\n item.runtimeValue = item.namespace + '.' + item.key;\n\n return item;\n }\n\n}\n\nConfigItem.ApiNamespace = 'namespace';\nConfigItem.ApiKey = 'key';\nConfigItem.ApiBehavior = 'behavior';\nConfigItem.ApiDefaults = 'defaults';\nConfigItem.ApiValue = 'value';\n\nexport default ConfigItem;\n","import Type from '../../Types/type';\n\nclass SpamGuard {\n\n constructor() {\n this.name = '';\n this.class = '';\n this.enabled = false;\n }\n\n static fromApiObject(apiObject): SpamGuard {\n let spamGuard = new SpamGuard();\n\n spamGuard.name = Type.withDefault(apiObject[SpamGuard.ApiName], '');\n spamGuard.class = Type.withDefault(apiObject[SpamGuard.ApiClass], '');\n spamGuard.enabled = Type.withDefault(apiObject[SpamGuard.ApiEnabled], true);\n\n return spamGuard;\n }\n\n}\n\nSpamGuard.ApiName = 'name';\nSpamGuard.ApiClass = 'class';\nSpamGuard.ApiEnabled = 'enabled';\n\nexport default SpamGuard;\n\n","import Type from '../Types/type';\n\nclass PermissionSet {\n\n constructor() {\n this.hasAllPermissions = false;\n this.canApproveComments = false;\n this.canEditComments = false;\n this.canRemoveComments = false;\n this.canReplyToComments = false;\n this.canReportAsHam = false;\n this.canReportAsSpam = false;\n this.canUnApproveComments = false;\n this.canViewComments = false;\n }\n\n static fromApiObject(apiObject): PermissionSet {\n let permissionSet = new PermissionSet();\n\n permissionSet.hasAllPermissions = Type.withDefault(apiObject[PermissionSet.ApiAllPermissions], false);\n permissionSet.canApproveComments = Type.withDefault(apiObject[PermissionSet.ApiCanApproveComments], false);\n permissionSet.canEditComments = Type.withDefault(apiObject[PermissionSet.ApiCanEditComments], false);\n permissionSet.canRemoveComments = Type.withDefault(apiObject[PermissionSet.ApiCanRemoveComments], false);\n permissionSet.canReplyToComments = Type.withDefault(apiObject[PermissionSet.ApiCanReplyToComments], false);\n permissionSet.canReportAsHam = Type.withDefault(apiObject[PermissionSet.ApiCanReportAsHam], false);\n permissionSet.canReportAsSpam = Type.withDefault(apiObject[PermissionSet.ApiCanReportAsSpam], false);\n permissionSet.canUnApproveComments = Type.withDefault(apiObject[PermissionSet.ApiCanUnapproveComments], false);\n permissionSet.canViewComments = Type.withDefault(apiObject[PermissionSet.ApiCanViewComments], false);\n\n return permissionSet;\n }\n\n}\n\nPermissionSet.ApiAllPermissions = 'all_permissions';\nPermissionSet.ApiCanApproveComments = 'can_approve_comments';\nPermissionSet.ApiCanEditComments = 'can_edit_comments';\nPermissionSet.ApiCanRemoveComments = 'can_remove_comments';\nPermissionSet.ApiCanReplyToComments = 'can_reply_to_comments';\nPermissionSet.ApiCanReportAsHam = 'can_report_as_ham';\nPermissionSet.ApiCanReportAsSpam = 'can_report_as_spam';\nPermissionSet.ApiCanUnapproveComments = 'can_unapprove_comments';\nPermissionSet.ApiCanViewComments = 'can_view_comments';\n\nexport default PermissionSet;\n","import Type from '../../Types/type';\nimport PermissionSet from '../permissionSet';\n\nclass GroupPermission {\n\n constructor() {\n this.id = '';\n this.name = '';\n this.permissions = new PermissionSet();\n }\n\n static fromApiObject(apiObject) : GroupPermission {\n let groupPerm = new GroupPermission();\n\n groupPerm.id = Type.withDefault(apiObject[GroupPermission.ApiId], '');\n groupPerm.name = Type.withDefault(apiObject[GroupPermission.ApiName], '');\n\n if (Type.hasValue(apiObject[GroupPermission.ApiPermissions])) {\n groupPerm.permissions = PermissionSet.fromApiObject(apiObject[GroupPermission.ApiPermissions]);\n }\n\n return groupPerm;\n }\n\n}\n\nGroupPermission.ApiName = 'name';\nGroupPermission.ApiId = 'id';\nGroupPermission.ApiPermissions = 'permissions';\n\nexport default GroupPermission;\n\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\nimport ConfigItem from '../../Data/Configuration/configItem';\nimport SpamGuard from '../../Data/Configuration/spamGuard';\nimport GroupPermission from '../../Data/Configuration/groupPermission';\n\nclass SettingsResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.hasManagedItems = true;\n this.changeSet = '';\n this.items = {};\n this.permissions = [];\n this.guards = [];\n }\n\n static fromApiResponse(apiResponse, err): SettingsResponse {\n let response = new SettingsResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n response.hasManagedItems = Type.withDefault(apiResponse[SettingsResponse.ApiHasManaged], true);\n response.changeSet = Type.withDefault(apiResponse[SettingsResponse.ApiCurrentChangeSet], '');\n\n let configItems = Type.withDefault(apiResponse[SettingsResponse.ApiConfig], []),\n permissions = Type.withDefault(apiResponse[SettingsResponse.ApiPermissions], []),\n guards = Type.withDefault(apiResponse[SettingsResponse.ApiSpamGuards], []);\n\n for (let i = 0; i < configItems.length; i++) {\n let newItem = ConfigItem.fromApiObject(configItems[i]);\n\n response.items[newItem.runtimeValue] = newItem;\n }\n\n for (let i = 0; i < guards.length; i++) {\n let newGuardItem = SpamGuard.fromApiObject(guards[i]);\n\n response.guards.push(newGuardItem);\n }\n\n for (let i = 0; i < permissions.length; i++) {\n let newPermItem = GroupPermission.fromApiObject(permissions[i]);\n\n response.permissions.push(newPermItem);\n }\n\n return response;\n }\n\n}\n\nSettingsResponse.ApiConfig = 'config';\nSettingsResponse.ApiHasManaged = 'has_managed';\nSettingsResponse.ApiSpamGuards = 'spam_guards';\nSettingsResponse.ApiCurrentChangeSet = 'change_set';\nSettingsResponse.ApiPermissions = 'permissions';\n\nexport default SettingsResponse;\n\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass SaveSettingsResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.preferencesUpdated = false;\n this.settingsUpdated = false;\n }\n\n static fromApiObject(apiObject, err): SaveSettingsResponse {\n let response = new SaveSettingsResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.preferencesUpdated = Type.withDefault(apiObject[SaveSettingsResponse.ApiPreferencesUpdated], false);\n response.settingsUpdated = Type.withDefault(apiObject[SaveSettingsResponse.ApiSettingsUpdated], false);\n\n return response;\n }\n\n}\n\nSaveSettingsResponse.ApiPreferencesUpdated = 'preferences_updated';\nSaveSettingsResponse.ApiSettingsUpdated = 'settings_updated';\n\nexport default SaveSettingsResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ValidateAkismetResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.message = '';\n }\n\n static fromApiObject(apiObject, err): ValidateAkismetResponse {\n let response = new ValidateAkismetResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.message = Type.withDefault(apiObject[ValidateAkismetResponse.ApiMessage], '');\n\n return response;\n }\n\n}\n\nValidateAkismetResponse.ApiMessage = 'message';\n\nexport default ValidateAkismetResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass ChangeSetResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.changeSet = '';\n }\n\n static fromApiObject(apiObject, err): ChangeSetResponse {\n let response = new ChangeSetResponse();\n\n BaseResponse.applyResponseToObject(apiObject, err, response);\n\n response.changeSet = Type.withDefault(apiObject[ChangeSetResponse.ApiChangeSet], '');\n\n return response;\n }\n\n}\n\nChangeSetResponse.ApiChangeSet = 'change_set';\n\nexport default ChangeSetResponse;\n","import BaseResponse from './baseResponse';\nimport Type from '../../Types/type';\n\nclass UserConfigurationResponse extends BaseResponse {\n\n constructor() {\n super();\n\n this.settings = null;\n }\n\n static fromApiResponse(apiResponse, err): UserConfigurationResponse {\n let response = new UserConfigurationResponse();\n\n BaseResponse.applyResponseToObject(apiResponse, err, response);\n response.settings = Type.withDefault(apiResponse[UserConfigurationResponse.ApiSettings], null);\n\n return response;\n }\n\n}\n\nUserConfigurationResponse.ApiSettings = 'settings';\n\nexport default UserConfigurationResponse;\n\n","import {canPoolHttpRequests} from '../Data/Concerns/canPoolHttpRequests';\nimport Client from '../Http/client';\nimport SettingsResponse from '../Http/Responses/settingsResponse';\nimport ErrorResponse from '../Http/Responses/errorResponse';\nimport {hash} from '../Data/Concerns/canBeStringOrHash';\nimport Endpoints from '../Http/endpoints';\nimport ActionState from '../App/actionState';\nimport SaveSettingsResponse from '../Http/Responses/saveSettingsResponse';\nimport ValidateAkismetResponse from '../Http/Responses/validateAkismetResponse';\nimport ChangeSetResponse from '../Http/Responses/changeSetResponse';\nimport BaseResponse from '../Http/Responses/baseResponse';\nimport UserConfigurationResponse from '../Http/Responses/userConfigurationResponse';\n\n/**\n * Provides a wrapper around Meerkat's configuration-related HTTP API endpoints.\n *\n * @property {function(request) : RequestState} shouldProcessRequest()\n * @property {function(request)} releasePending()\n */\nclass SettingsRepository {\n\n constructor() {\n canPoolHttpRequests(this);\n this.client = new Client();\n }\n\n getCurrentUserSettings() :Promise {\n let request = {},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.CurrentUser), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(UserConfigurationResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n updatePerPage(perPage) :Promise {\n let request = {'per_page': perPage},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsUpdatePerPage), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(BaseResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n getCurrentChangeSet(): Promise {\n let request = {},\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.SettingsGetCurrentChangeSet), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(ChangeSetResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n validateAkismet(apiKey, frontPage): Promise {\n let request = {\n 'api_key': apiKey,\n 'front_page': frontPage,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsValidateAkismet), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(ValidateAkismetResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n saveSettings(settings): Promise {\n let request = {\n settings: settings,\n actionId: ActionState.CurrentActionId\n },\n requestHash = hash(request);\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.post(Endpoints.url(Endpoints.SettingsSave), request, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(SaveSettingsResponse.fromApiObject(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n getSettings(): Promise {\n let requestHash = hash({});\n\n return new Promise(function (resolve, reject) {\n let requestState = this.shouldProcessRequest(requestHash, 500);\n\n this.client.get(Endpoints.url(Endpoints.SettingsFetch), {}, requestState)\n .then(function (result) {\n this.releasePending(requestHash);\n resolve(SettingsResponse.fromApiResponse(result, null));\n }.bind(this))\n .catch(function (err) {\n this.releasePending(requestHash);\n reject(ErrorResponse.fromError(err));\n }.bind(this));\n }.bind(this));\n }\n\n}\n\nSettingsRepository.Instance = new SettingsRepository();\n\nexport default SettingsRepository;\n","import template from './template.html';\nimport CommentRepository from '../../Repositories/commentRepository';\nimport paginator from '../Components/Pagination';\nimport UsesTranslator from '../Mixins/usesTranslator';\nimport CommentTable from '../Components/CommentTable';\nimport SearchOptions from '../../Data/Comments/searchOptions';\nimport Loader from '../Components/Loader';\nimport Environment from '../../Config/environment';\nimport Filter from '../../Data/Filters/filter';\nimport SortManager from '../Components/CommentTable/sortManager';\nimport Url from '../../Types/url';\nimport {getDefaultFilter} from '../../Data/Filters/defaultFilterApplicator';\nimport Endpoints from '../../Http/endpoints';\nimport OverviewProvider from '../../Reporting/overviewProvider';\nimport ControlPanelApplication from '../controlPanelApplication';\nimport TaskObserver from '../../Tasks/taskObserver';\nimport SettingsRepository from '../../Repositories/settingsRepository';\n\nconst syncjs = require('syncjs');\n\nrequire('./style.less');\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n components: {\n 'comment-table': CommentTable,\n 'loader': Loader,\n 'paginator': paginator\n },\n data() {\n return {\n state: {\n hasLoadedInitial: false,\n loadingInitial: false,\n loadingData: false,\n lastPageRequest: 1,\n lastPerPageRequest: -1,\n initialPerPage: 10,\n initialSortString: null,\n tableIsAvailable: false,\n activeFilterId: 0,\n activeFilterName: 'all',\n isCheckingAllForSpam: false,\n statusMessage: '',\n showStatusMessage: false\n },\n silentPreferenceUpdate: true,\n defaultFilters: ['all', 'pending', 'published', 'spam'],\n searchOptions: new SearchOptions(),\n commentRepo: new CommentRepository(),\n commentData: null,\n configUrl: ControlPanelApplication.current().url('addons/meerkat/settings'),\n exportLinks: {\n csv: Endpoints.url(Endpoints.ExportCsv) + '?download=true',\n json: Endpoints.url(Endpoints.ExportJson) + '?download=true'\n },\n permissions: null,\n canCheckForSpam: false,\n spamTaskObserver: null\n };\n },\n methods: {\n removeAllSpam() {\n this.$refs.commentTable.performBulkAction('remove-spam');\n },\n hasEditorOpen() {\n if (this.commentData === null) {\n return false;\n }\n\n for (let i = 0; i < this.commentData.comments.length; i += 1) {\n let comment = this.commentData.comments[i];\n\n if (comment.state.isEditing === true || comment.state.isReplying === true) {\n return true;\n }\n }\n\n return false;\n },\n reloadStateAnyway() {\n this.commentData.comments.cancelAllEditing();\n this.commentData.comments.cancelAllReplying();\n this.state.showStatusMessage = false;\n this.$refs.commentTable.exitFocusMode();\n this.loadCommentData();\n },\n checkForSpam() {\n this.state.isCheckingAllForSpam = true;\n this.commentRepo.checkForSpam().then(function (response) {\n if (response.success === true) {\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('actions.check_all_spam_task_created')\n );\n\n this.spamTaskObserver.watch(response.taskId);\n } else {\n this.state.isCheckingAllForSpam = false;\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('actions.check_all_spam_error')\n );\n }\n }.bind(this)).catch(function () {\n this.state.isCheckingAllForSpam = false;\n ControlPanelApplication.current().controlPanel.message().error(this.trans('actions.check_all_spam_error'));\n }.bind(this));\n },\n onConfigUserAvailable(config) {\n this.permissions = Environment.getPermissions();\n if (this.permissions.canReportAsHam && this.permissions.canReportAsSpam) {\n this.canCheckForSpam = true;\n }\n\n this.state.initialPerPage = Environment.UserPreferences.cp_per_page;\n this.searchOptions.resultsPerPage = this.state.initialPerPage;\n this.updateQueryWithPerPage(this.state.initialPerPage);\n },\n onCommentsGlobalSpamCheckComplete() {\n OverviewProvider.Instance.refresh();\n\n if (this.hasEditorOpen() === false) {\n this.loadCommentData();\n } else {\n this.state.statusMessage = this.trans('actions.check_all_spam_complete_open_editors');\n this.state.showStatusMessage = true;\n }\n },\n onSpamTaskComplete() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('actions.check_all_spam_complete')\n );\n\n OverviewProvider.Instance.refresh();\n syncjs.Hubs.comments().globalSpamCheckComplete();\n },\n onSpamTaskCanceled() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('actions.check_all_spam_canceled')\n );\n },\n onSpamTaskError() {\n this.state.isCheckingAllForSpam = false;\n this.spamTaskObserver.ensureStopped();\n ControlPanelApplication.current().controlPanel.message().error(this.trans('actions.check_all_spam_error'));\n },\n onTableAvailable(table) {\n this.state.tableIsAvailable = true;\n\n this.$refs.commentTable.setSortString(this.state.initialSortString);\n },\n onSearchUpdated(terms) {\n this.searchOptions.query.terms = terms;\n\n this.loadCommentData();\n },\n checkFilters(comments) {\n let filterComments = this.commentData.comments.whereIn(comments);\n\n this.$refs.commentTable.checkFilters(filterComments);\n OverviewProvider.Instance.refresh();\n },\n onCommentsPublished(comments) {\n this.checkFilters(comments);\n },\n onCommentsUnpublished(comments) {\n this.checkFilters(comments);\n },\n onCommentsMarkedAsSpam(comments) {\n this.checkFilters(comments);\n },\n onCommentsMarkedAsHam(comments) {\n this.checkFilters(comments);\n },\n onCommentsRemoved(comments) {\n OverviewProvider.Instance.refresh();\n\n this.loadCommentData();\n },\n onFilterChanged(filter: Filter) {\n this.state.activeFilterId = filter.id;\n this.state.activeFilterName = filter.internalName;\n\n this.updateHistoryState();\n this.searchOptions = filter.adjustOptions(this.searchOptions);\n\n this.loadCommentData();\n },\n updateHistoryState() {\n Environment.pushHistoryState(this.state.activeFilterName);\n },\n onOrderUpdated(manager: SortManager) {\n this.searchOptions.query.order = manager.sortString;\n\n this.loadCommentData();\n },\n updateQueryWithPerPage(perPageCount) {\n SettingsRepository.Instance.updatePerPage(perPageCount).then(function (response) {\n if (this.silentPreferenceUpdate === false) {\n ControlPanelApplication.current().controlPanel.message().success(\n this.trans('config.preferences_updated')\n );\n }\n }.bind(this))\n .catch(function () {\n if (this.silentPreferenceUpdate === false) {\n ControlPanelApplication.current().controlPanel.message().error(\n this.trans('errors.config_preferences_failure')\n );\n }\n }.bind(this));\n\n if (this.state.lastPerPageRequest > -1 && this.state.lastPerPageRequest === perPageCount) {\n return;\n }\n\n this.state.lastPerPageRequest = perPageCount;\n this.searchOptions.resultsPerPage = perPageCount;\n\n this.loadCommentData().then(function () {\n this.$nextTick(function () {\n Environment.scrollTop();\n });\n }.bind(this));\n },\n updateQueryWithPage(pageNumber) {\n if (this.state.lastPageRequest === pageNumber) {\n return;\n }\n\n this.state.lastPageRequest = pageNumber;\n this.searchOptions.page = pageNumber;\n\n this.loadCommentData();\n },\n onRefreshRequested() {\n this.loadCommentData();\n },\n loadCommentData() {\n if (this.state.hasLoadedInitial === false) {\n this.state.loadingInitial = true;\n }\n\n this.state.loadingData = true;\n\n return new Promise(function (resolve, reject) {\n this.commentRepo.search(this.searchOptions).then(function (response) {\n\n if (this.state.hasLoadedInitial === false) {\n this.state.hasLoadedInitial = true;\n this.state.loadingInitial = false;\n }\n\n this.commentData = response;\n this.state.initialSortString = response.sortString;\n\n this.state.loadingData = false;\n resolve();\n }.bind(this)).catch(function (e) {\n reject(e);\n });\n }.bind(this));\n },\n applyFromDefaultFilter(currentUrlRequest) {\n if (this.defaultFilters.includes(currentUrlRequest)) {\n let defaultFilter = getDefaultFilter(currentUrlRequest);\n\n if (defaultFilter !== null) {\n this.state.activeFilterId = defaultFilter.id;\n this.state.activeFilterName = defaultFilter.internalName;\n this.onFilterChanged(defaultFilter);\n }\n }\n }\n },\n created() {\n this.spamTaskObserver = new TaskObserver();\n this.spamTaskObserver.on('error', this.onSpamTaskError.bind(this));\n this.spamTaskObserver.on('complete', this.onSpamTaskComplete.bind(this));\n this.spamTaskObserver.on('canceled', this.onSpamTaskCanceled.bind(this));\n\n this.permissions = Environment.getPermissions();\n\n if (this.permissions.canReportAsHam && this.permissions.canReportAsSpam) {\n this.canCheckForSpam = true;\n }\n\n let currentUrlRequest = Url.currentLastValue().toLowerCase();\n\n this.applyFromDefaultFilter(currentUrlRequest);\n\n window.onpopstate = function (event) {\n if (event.state !== null && event.state.urlPath !== null) {\n let poppedValue = Url.lastValue(event.state.urlPath);\n\n this.applyFromDefaultFilter(poppedValue);\n }\n }.bind(this);\n syncjs.Hubs.config().handledBy(this);\n\n syncjs.Hubs.comments().handledBy(this);\n\n this.loadCommentData();\n\n this.state.initialPerPage = Environment.UserPreferences.cp_per_page;\n this.searchOptions.resultsPerPage = this.state.initialPerPage;\n }\n};\n","import {AllFilter, IsSpamFilter, PendingFilter, PublishedFilter} from './defaultFilters';\r\nimport Type from '../../Types/type';\r\n\r\nexport function getDefaultFilter(filterName) {\r\n // Create a temp mapping for all of the default filters.\r\n let allFilter = new AllFilter(),\r\n spamFilter = new IsSpamFilter(),\r\n pendingFilter = new PendingFilter(),\r\n publishedFilter = new PublishedFilter(),\r\n filterMap = {};\r\n\r\n filterMap[allFilter.internalName] = allFilter;\r\n filterMap[spamFilter.internalName] = spamFilter;\r\n filterMap[pendingFilter.internalName] = pendingFilter;\r\n filterMap[publishedFilter.internalName] = publishedFilter;\r\n\r\n if (Type.hasValue(filterMap[filterName])) {\r\n return filterMap[filterName];\r\n }\r\n\r\n return null;\r\n}\r\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n autoPublish: true,\n autoClose: false,\n closeDays: 2\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\nimport Loader from '../../../Components/Loader';\nimport SettingsRepository from '../../../../Repositories/settingsRepository';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n components: {\n 'loader': Loader\n },\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n computed: {\n hasAkismetSettings() {\n let curApiKey = this.$parent.settings.items['akismet.api_key'].value,\n curFrontPage = this.$parent.settings.items['akismet.front_page'].value;\n\n return curApiKey.trim().length > 0 && curFrontPage.trim().length > 0;\n }\n },\n methods: {\n validateConfiguration() {\n let curApiKey = this.$parent.settings.items['akismet.api_key'].value,\n curFrontPage = this.$parent.settings.items['akismet.front_page'].value;\n\n this.state.currentMessage = this.trans('config.validate_akismet_validating');\n this.state.isValidating = true;\n\n SettingsRepository.Instance.validateAkismet(curApiKey, curFrontPage)\n .then(function (result) {\n this.state.currentMessage = result.message;\n this.state.isValidating = false;\n }.bind(this))\n .catch(function () {\n this.state.currentMessage = this.trans('config.validate_akismet_failure');\n this.state.isValidating = false;\n }.bind(this));\n },\n guardUpdated() {\n this.$parent.updateGuardConfiguration();\n }\n },\n data() {\n return {\n state: {\n currentMessage: '',\n isValidating: false\n }\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n showDefaults: false\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n methods: {\n checkPermissions(configItem) {\n if (configItem.permissions.hasAllPermissions) {\n configItem.permissions.canApproveComments = true;\n configItem.permissions.canEditComments = true;\n configItem.permissions.canRemoveComments = true;\n configItem.permissions.canReplyToComments = true;\n configItem.permissions.canReportAsHam = true;\n configItem.permissions.canReportAsSpam = true;\n configItem.permissions.canUnApproveComments = true;\n configItem.permissions.canViewComments = true;\n } else {\n configItem.permissions.canApproveComments = false;\n configItem.permissions.canEditComments = false;\n configItem.permissions.canRemoveComments = false;\n configItem.permissions.canReplyToComments = false;\n configItem.permissions.canReportAsHam = false;\n configItem.permissions.canReportAsSpam = false;\n configItem.permissions.canUnApproveComments = false;\n configItem.permissions.canViewComments = false;\n configItem.permissions.hasAllPermissions = false;\n }\n }\n },\n data() {\n return {\n };\n }\n};\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n props: {\n settings: {\n type: Object,\n default: null\n }\n },\n data() {\n return {\n showDefaults: false\n };\n }\n};\n","import template from './template.html';\r\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\r\nimport UsesTranslator from '../../../Mixins/usesTranslator';\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n data() {\r\n return {\r\n showDefaults: false\r\n };\r\n },\r\n props: {\r\n settings: {\r\n type: Object,\r\n default: null\r\n }\r\n }\r\n};\r\n","import template from './template.html';\nimport SettingsResponse from '../../../../Http/Responses/settingsResponse';\nimport UsesTranslator from '../../../Mixins/usesTranslator';\n\nexport default {\n mixins: [UsesTranslator],\n template: template,\n data() {\n return {\n showDefaults: false\n };\n },\n props: {\n settings: {\n type: Object,\n default: null\n }\n }\n};\n","import GroupPermission from './groupPermission';\nimport ConfigItem from './configItem';\n\nclass PermissionsMapper {\n\n /**\n * Maps the group permissions to the appropriate configuration item locations.\n *\n * @param {Array} items The configuration items.\n * @param {Array} groupPermissions The group permissions.\n * @returns {*}\n */\n static mapPermissions(items : Array, groupPermissions: Array) {\n for (let i = 0; i < groupPermissions.length; i++) {\n let currentGroup = groupPermissions[i],\n permissions = currentGroup.permissions;\n\n if (permissions.hasAllPermissions) {\n items[PermissionsMapper.AllPermissions].value.push(currentGroup.id);\n } else {\n if (permissions.canApproveComments) {\n items[PermissionsMapper.CanApprove].value.push(currentGroup.id);\n }\n\n if (permissions.canViewComments) {\n items[PermissionsMapper.CanViewComments].value.push(currentGroup.id);\n }\n\n if (permissions.canEditComments) {\n items[PermissionsMapper.CanEdit].value.push(currentGroup.id);\n }\n\n if (permissions.canRemoveComments) {\n items[PermissionsMapper.CanRemove].value.push(currentGroup.id);\n }\n\n if (permissions.canReplyToComments) {\n items[PermissionsMapper.CanReplyToComments].value.push(currentGroup.id);\n }\n\n if (permissions.canReportAsHam) {\n items[PermissionsMapper.CanReportAsHam].value.push(currentGroup.id);\n }\n\n if (permissions.canReportAsSpam) {\n items[PermissionsMapper.CanReportAsSpam].value.push(currentGroup.id);\n }\n\n if (permissions.canUnApproveComments) {\n items[PermissionsMapper.CanUnApproveComments].value.push(currentGroup.id);\n }\n\n if (permissions.canViewComments) {\n items[PermissionsMapper.CanViewComments].value.push(currentGroup.id);\n }\n }\n }\n\n return items;\n }\n\n}\n\nPermissionsMapper.AllPermissions = 'permissions.all_permissions';\nPermissionsMapper.CanApprove = 'permissions.can_approve_comments';\nPermissionsMapper.CanEdit = 'permissions.can_edit_comments';\nPermissionsMapper.CanRemove = 'permissions.can_remove_comments';\nPermissionsMapper.CanReplyToComments = 'permissions.can_reply_to_comments';\nPermissionsMapper.CanReportAsHam = 'permissions.can_report_as_ham';\nPermissionsMapper.CanReportAsSpam = 'permissions.can_report_as_spam';\nPermissionsMapper.CanUnApproveComments = 'permissions.can_unapprove_comments';\nPermissionsMapper.CanViewComments = 'permissions.can_view_comments';\n\nexport default PermissionsMapper;\n","import ConfigItem from './configItem';\nimport SpamGuard from './spamGuard';\n\nclass GuardMapper {\n\n /**\n * Maps the spam guard configuration to the appropriate configuration item locations.\n *\n * @param {Array} items The configuration items.\n * @param {Array} guards The current spam guard configuration.\n */\n static mapGuards(items: Array, guards: Array) {\n let newGuards = [];\n\n for (let i = 0; i < guards.length; i++) {\n let currentGuard = guards[i];\n\n if (currentGuard.enabled === true) {\n newGuards.push(currentGuard.class);\n }\n }\n\n items[GuardMapper.SpamGuards].value = newGuards;\n\n return items;\n }\n\n}\n\nGuardMapper.SpamGuards = 'publishing.guards';\n\nexport default GuardMapper;\n\n","import template from './template.html';\r\nimport UsesTranslator from '../Mixins/usesTranslator';\r\nimport Publishing from './Panels/Publishing';\r\nimport Guard from './Panels/Guard';\r\nimport IpFilter from './Panels/IpFilter';\r\nimport Permissions from './Panels/Permissions';\r\nimport WordFilter from './Panels/WordFilter';\r\nimport Privacy from './Panels/Privacy';\r\nimport Email from './Panels/Email';\r\nimport SettingsRepository from '../../Repositories/settingsRepository';\r\nimport ControlPanelApplication from '../controlPanelApplication';\r\nimport String from '../../Types/string';\r\nimport Type from '../../Types/type';\r\nimport Environment from '../../Config/environment';\r\nimport AvatarDriverRegistry from '../../Extend/Avatars/avatarDriverRegistry';\r\nimport PermissionsMapper from '../../Data/Configuration/permissionsMapper';\r\nimport Loader from '../Components/Loader';\r\nimport GuardMapper from '../../Data/Configuration/guardMapper';\r\n\r\nrequire('./style.less');\r\nconst syncjs = require('syncjs');\r\n\r\nexport default {\r\n mixins: [UsesTranslator],\r\n template: template,\r\n components: {\r\n 'publishing': Publishing,\r\n 'guard': Guard,\r\n 'ip-filter': IpFilter,\r\n 'permissions': Permissions,\r\n 'word-filter': WordFilter,\r\n 'privacy': Privacy,\r\n 'email': Email,\r\n 'loader': Loader\r\n },\r\n data() {\r\n return {\r\n activePage: 'publishing',\r\n settings: null,\r\n lastError: null,\r\n wordFilterEnabled: false,\r\n ipFilterEnabled: false,\r\n userEmail: 'example@example.org',\r\n akismetFilterEnabled: false,\r\n avatarOptions: [],\r\n canChangeConfig: false,\r\n hasLoaded: false,\r\n perPageOptions: [\r\n 10,\r\n 25,\r\n 50,\r\n 100\r\n ],\r\n userPreferences: {\r\n avatarDriver: 'initials',\r\n perPage: 25\r\n },\r\n state: {\r\n serverDiffers: false,\r\n loading: true,\r\n lastError: null\r\n }\r\n };\r\n },\r\n watch: {\r\n 'settings.guards': function (newVal) {\r\n this.updateGuardConfiguration();\r\n }\r\n },\r\n methods: {\r\n onConfigUserAvailable(config) {\r\n this.reloadConfigState();\r\n },\r\n reloadConfigState() {\r\n if (Environment.isControlPanelConfigEnabled()) {\r\n if (Environment.UserPreferences.isSuper === true) {\r\n this.watchForServerConfigChanges();\r\n this.canChangeConfig = true;\r\n }\r\n }\r\n\r\n if (Type.hasValue(Environment.UserPreferences)) {\r\n this.userPreferences.avatarDriver = Environment.UserPreferences.cp_avatar_driver;\r\n this.userPreferences.perPage = Environment.UserPreferences.cp_per_page;\r\n this.userEmail = Environment.UserPreferences.email;\r\n }\r\n\r\n this.reloadSettings();\r\n },\r\n watchForServerConfigChanges() {\r\n window.setInterval(function () {\r\n SettingsRepository.Instance.getCurrentChangeSet().then(function (response) {\r\n this.state.serverDiffers = response.changeSet !== this.settings.changeSet;\r\n }.bind(this));\r\n }.bind(this), 5000);\r\n },\r\n refreshAvatarDrivers() {\r\n let currentDriverMapping = AvatarDriverRegistry.DriverMapping,\r\n newOptions = [];\r\n\r\n for (let prop in currentDriverMapping) {\r\n newOptions.push({\r\n value: prop,\r\n driverName: currentDriverMapping[prop]\r\n });\r\n }\r\n\r\n newOptions.sort(function (a, b) {\r\n let aName = a.driverName,\r\n bName = b.driverName;\r\n\r\n return (aName < bName) ? -1 : (aName > bName) ? 1 : 0;\r\n });\r\n\r\n this.avatarOptions = newOptions;\r\n },\r\n updateGuardConfiguration() {\r\n this.wordFilterEnabled = this.hasGuardEnabled('WordFilterSpamGuard');\r\n this.ipFilterEnabled = this.hasGuardEnabled('IpFilterSpamGuard');\r\n this.akismetFilterEnabled = this.hasGuardEnabled('AkismetSpamGuard');\r\n },\r\n hasGuardEnabled(relativeClassName) {\r\n if (this.settings === null) {\r\n return false;\r\n }\r\n\r\n for (let i = 0; i < this.settings.guards.length; i++) {\r\n if (String.endsWith(this.settings.guards[i].class, '\\\\' + relativeClassName)) {\r\n return this.settings.guards[i].enabled;\r\n }\r\n }\r\n\r\n return false;\r\n },\r\n getSettings() {\r\n let returnItems = {};\r\n\r\n for (let prop in this.settings.items) {\r\n if (this.settings.items.hasOwnProperty(prop)) {\r\n let curProp = this.settings.items[prop];\r\n\r\n curProp.defaults = null;\r\n returnItems[prop] = curProp;\r\n }\r\n }\r\n\r\n returnItems[GuardMapper.SpamGuards].value = [];\r\n returnItems[PermissionsMapper.AllPermissions].value = [];\r\n returnItems[PermissionsMapper.CanApprove].value = [];\r\n returnItems[PermissionsMapper.CanEdit].value = [];\r\n returnItems[PermissionsMapper.CanEdit].value = [];\r\n returnItems[PermissionsMapper.CanReplyToComments].value = [];\r\n returnItems[PermissionsMapper.CanReportAsSpam].value = [];\r\n returnItems[PermissionsMapper.CanReportAsHam].value = [];\r\n returnItems[PermissionsMapper.CanUnApproveComments].value = [];\r\n returnItems[PermissionsMapper.CanViewComments].value = [];\r\n\r\n returnItems = GuardMapper.mapGuards(returnItems, this.settings.guards);\r\n returnItems = PermissionsMapper.mapPermissions(returnItems, this.settings.permissions);\r\n\r\n return {\r\n items: returnItems,\r\n user: {\r\n perPage: this.userPreferences.perPage,\r\n avatar: this.userPreferences.avatarDriver\r\n }\r\n };\r\n },\r\n saveSettings() {\r\n SettingsRepository.Instance.saveSettings(this.getSettings()).then(function (response) {\r\n if (response.success) {\r\n syncjs.Hubs.config().avatarUpdated([this.userPreferences.avatarDriver]);\r\n\r\n ControlPanelApplication.current().controlPanel.message().success(\r\n this.trans('config.updated')\r\n );\r\n } else {\r\n if (response.settingsUpdated === false && response.preferencesUpdated === false) {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_both_failure')\r\n );\r\n } else {\r\n if (response.settingsUpdated === false) {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_settings_failure')\r\n );\r\n } else {\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.config_preferences_failure')\r\n );\r\n }\r\n }\r\n }\r\n this.reloadSettings();\r\n }.bind(this)).catch(function (err) {\r\n this.state.lastError = err;\r\n ControlPanelApplication.current().controlPanel.message().error(\r\n this.trans('errors.const_preferences_unknown_failure')\r\n );\r\n }.bind(this));\r\n },\r\n reloadSettings() {\r\n this.state.loading = true;\r\n\r\n SettingsRepository.Instance.getSettings().then(function (settings) {\r\n this.settings = settings;\r\n this.state.loading = false;\r\n this.hasLoaded = true;\r\n this.state.serverDiffers = false;\r\n }.bind(this)).catch(function (err) {\r\n this.lastError = err;\r\n this.state.loading = false;\r\n }.bind(this));\r\n }\r\n },\r\n created() {\r\n syncjs.Hubs.config().handledBy(this);\r\n this.refreshAvatarDrivers();\r\n this.reloadConfigState();\r\n }\r\n\r\n};\r\n","import Type from '../Types/type';\n\nconst store = require('store');\n\nclass UserSettings {\n\n getSettings() {\n let userPreferences = store.get(UserSettings.SettingsKey);\n\n if (Type.hasValue(userPreferences) === false) {\n userPreferences = this._getDefaultSettings();\n\n this._saveSettings(userPreferences);\n }\n\n return userPreferences;\n }\n\n getDisplayTableFilters(): Boolean {\n let settings = this.getSettings();\n\n return Type.withDefault(settings[UserSettings.SettingDisplayTableFilter], false);\n }\n\n updateDisplayTableFilters(display: Boolean) {\n let preferences = this.getSettings();\n\n preferences.displayTableFilter = display;\n\n this._saveSettings(preferences);\n }\n\n _saveSettings(settings: Object) {\n store.set(UserSettings.SettingsKey, settings);\n }\n\n _getDefaultSettings() {\n return {\n displayTableFilter: false\n };\n }\n\n}\n\nUserSettings.SettingDisplayTableFilter = 'displayTableFilter';\nUserSettings.SettingsKey = 'meerkat_user_preferences';\n\nexport default UserSettings;\n","import Environment from '../Config/environment';\r\nimport {Guid, Type} from './../Types/common';\r\nimport Translator from '../Translation/translator';\r\nimport StatamicTranslator from '../Statamic/statamicTranslator';\r\nimport AvatarDriverRegistry from '../Extend/Avatars/avatarDriverRegistry';\r\nimport {registerVueFilters} from './registerVueFilters';\r\nimport {registerVueComponents} from './registerVueComponents';\r\nimport UserSettings from './userSettings';\r\nimport SettingsRepository from '../Repositories/settingsRepository';\r\n\r\nconst syncjs = require('syncjs');\r\n\r\n/**\r\n * Provides utilities for bootstrapping Meerkat applications and components.\r\n */\r\nclass Bootstrapper {\r\n\r\n static registerVueJsDependencies() {\r\n if (Type.hasValue(Environment.ContextVueJs)) {\r\n registerVueFilters(Environment.ContextVueJs);\r\n registerVueComponents(Environment.ContextVueJs);\r\n }\r\n }\r\n\r\n /**\r\n * Registers extensibility drivers from the global window state.\r\n */\r\n static liftExtensibilityDrivers() {\r\n if (typeof window[Bootstrapper.ExtensibilityInstance] !== 'undefined') {\r\n /**\r\n * We will locate any existing extensibility objects stored in the\r\n * temporary `meerkatExtend` environment. We do not want to keep\r\n * that environment around, so we will destroy it afterwards.\r\n */\r\n let extendInstance = window[Bootstrapper.ExtensibilityInstance]['Extend'],\r\n existingDrivers = extendInstance.Avatars.getDrivers(),\r\n existingDisplayNames = extendInstance.Avatars.getDisplayNames();\r\n\r\n AvatarDriverRegistry.setDisplayNames(existingDisplayNames);\r\n AvatarDriverRegistry.setDrivers(existingDrivers);\r\n AvatarDriverRegistry.DriverMapping = extendInstance.Avatars.DriverMapping;\r\n\r\n delete window[Bootstrapper.ExtensibilityInstance];\r\n\r\n AvatarDriverRegistry.registerDriversWithRunTime();\r\n }\r\n\r\n }\r\n\r\n /**\r\n * Registers the Meerkat UI core dependencies, such as the Translator.\r\n */\r\n static registerDependencies() {\r\n Translator.Instance = new StatamicTranslator();\r\n }\r\n\r\n /**\r\n * Analyzes the DOM for any elements containing Meerkat application requests.\r\n */\r\n static bootstrapApplications() {\r\n Environment.Preferences = new UserSettings();\r\n\r\n SettingsRepository.Instance.getCurrentUserSettings().then(function (response) {\r\n if (response.success) {\r\n Environment.UserPreferences = response.settings['user'];\r\n Environment.UserContext = response.settings['permissions'];\r\n Environment.Settings.avatarDriver = response.settings['general'].avatarDriver;\r\n Environment.Settings.controlPanelConfigurationEnabled =\r\n response.settings['general'].controlPanelConfigurationEnabled;\r\n syncjs.Hubs.config().userAvailable([Environment.UserPreferences]);\r\n }\r\n });\r\n\r\n Bootstrapper.registerDependencies();\r\n Bootstrapper.liftExtensibilityDrivers();\r\n Bootstrapper.registerVueJsDependencies();\r\n\r\n let appElements = Environment.$('[data-meerkat-app]');\r\n\r\n if (appElements.length > 0) {\r\n for (let i = 0; i < appElements.length; i += 1) {\r\n let elementHost = Environment.$(appElements[i]);\r\n\r\n Bootstrapper.runApp(elementHost.data('meerkat-app'), elementHost);\r\n }\r\n }\r\n }\r\n\r\n static runApp(appName, elementHost) {\r\n if (typeof Bootstrapper.AppMap[appName] !== 'undefined') {\r\n let appType = Bootstrapper.AppMap[appName],\r\n instanceId = Guid.newGuid(),\r\n appId = 'app-' + instanceId;\r\n\r\n elementHost.attr('data-meerkat-application', instanceId);\r\n elementHost.attr('id', appId);\r\n\r\n appType.el = '#' + appId;\r\n\r\n Bootstrapper.Instances[instanceId] = new Environment.ContextVueJs(appType);\r\n }\r\n }\r\n\r\n}\r\n\r\nBootstrapper.ExtensibilityInstance = 'meerkatExtend';\r\nBootstrapper.Instances = {};\r\nBootstrapper.AppMap = {};\r\n\r\nexport default Bootstrapper;\r\n","import NavigationBadge from '../App/Components/NavigationBadge';\nimport CommentEditor from '../App/Components/CommentEditor';\nimport StatefulConfirmationDialog from '../App/Components/StatefulConfirmationDialog';\nimport Loader from '../App/Components/Loader';\nimport CommentThread from '../App/CommentThread';\nimport Configurator from '../App/Configurator';\nimport Environment from '../Config/environment';\n\nimport Type from '../Types/type';\n\nexport function registerVueComponents(vue) {\n let registerCallback = vue.component;\n\n if (Type.hasValue(Environment.ContextComponentRegister)) {\n registerCallback = Environment.ContextComponentRegister;\n }\n\n registerCallback('meerkat-nav-badge', NavigationBadge);\n registerCallback('meerkat-comment-editor', CommentEditor);\n registerCallback('meerkat-comment-thread', CommentThread);\n registerCallback('meerkat-configurator', Configurator);\n registerCallback('meerkat-loader', Loader);\n registerCallback('meerkat-stateful-confirm-dialog', StatefulConfirmationDialog);\n\n}\n","import {controlPanelHooks} from '../hooks';\nimport ControlPanel from './../Statamic/controlPanel';\nimport Bootstrapper from './bootstrapper';\n\n/**\n * Provides utilities for interacting with the Statamic Control Panel\n * and bootstrapping Meerkat specific applications and components.\n */\nclass ControlPanelApplication {\n\n constructor() {\n this.cpHooks = controlPanelHooks;\n this.controlPanel = new ControlPanel();\n }\n\n boot() {\n this.runCpHooks();\n\n Bootstrapper.bootstrapApplications();\n }\n\n runCpHooks() {\n let pathName = window.location.pathname;\n\n for (let i = 0; i < this.cpHooks.length; i += 1) {\n if (this.cpHooks[i].path.test(pathName)) {\n this.cpHooks[i].uses.run(this);\n }\n }\n }\n\n url(relativePath) {\n return ControlPanel.cpUrl(relativePath);\n }\n\n /**\n * Returns the global Control Panel application.\n *\n * @returns {ControlPanelApplication}\n */\n static current(): ControlPanelApplication {\n return ControlPanelApplication.Instance;\n }\n\n /**\n * Returns the current Control Panel instance.\n *\n * @returns {ControlPanel}\n */\n static controlPanel(): ControlPanel {\n return ControlPanelApplication.Instance.controlPanel;\n }\n\n}\n\n/**\n * The current Control Panel instance.\n *\n * @type {ControlPanelApplication|null}\n */\nControlPanelApplication.Instance = null;\n\nexport default ControlPanelApplication;\n","import {registerHubs} from './registerHubs';\r\nimport ControlPanelApplication from './controlPanelApplication';\r\nimport Bootstrapper from './bootstrapper';\r\nimport OverviewProvider from '../Reporting/overviewProvider';\r\n\r\nconst NumAbbr = require('number-abbreviate');\r\n\r\nrequire('./meerkat.less');\r\n\r\nclass App {\r\n\r\n}\r\n\r\nApp.NumberFormatter = new NumAbbr();\r\nApp.Bootstrapper = Bootstrapper;\r\nApp.ControlPanelApplication = ControlPanelApplication;\r\n\r\nregisterHubs();\r\n\r\nOverviewProvider.Instance = new OverviewProvider();\r\nOverviewProvider.Instance.start();\r\n\r\nexport {\r\n App\r\n};\r\n","import Environment from './environment';\r\n\r\nclass Config {\r\n\r\n}\r\n\r\nConfig.Environment = Environment;\r\n\r\nexport {\r\n Config\r\n};\r\n","import AvatarDriverRegistry from './Avatars/avatarDriverRegistry';\r\n\r\nclass Extend {\r\n\r\n}\r\n\r\nExtend.Avatars = AvatarDriverRegistry;\r\n\r\nexport {\r\n Extend\r\n};\r\n","import Guid from './guid';\r\nimport String from './string';\r\nimport Url from './url';\r\nimport Range from './range';\r\nimport Convert from './convert';\r\nimport Type from './type';\r\n\r\nclass Types {\r\n\r\n}\r\n\r\nTypes.Convert = Convert;\r\nTypes.Guid = Guid;\r\nTypes.String = String;\r\nTypes.Range = Range;\r\nTypes.Type = Type;\r\nTypes.Url = Url;\r\n\r\nexport {\r\n Types\r\n};\r\n"],"sourceRoot":""} \ No newline at end of file diff --git a/resources/dist/js/replies-to.min.js.map b/resources/dist/js/replies-to.min.js.map index b3586ffb..9bdb0b2e 100644 --- a/resources/dist/js/replies-to.min.js.map +++ b/resources/dist/js/replies-to.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://replies-to/webpack/universalModuleDefinition","webpack://replies-to/webpack/bootstrap","webpack://replies-to/./node_modules/core-js/internals/fails.js","webpack://replies-to/./node_modules/core-js/internals/function-uncurry-this.js","webpack://replies-to/./node_modules/core-js/internals/global.js","webpack://replies-to/./node_modules/core-js/internals/is-callable.js","webpack://replies-to/./node_modules/core-js/internals/descriptors.js","webpack://replies-to/./node_modules/core-js/internals/is-object.js","webpack://replies-to/./node_modules/core-js/internals/has-own-property.js","webpack://replies-to/./node_modules/core-js/internals/an-object.js","webpack://replies-to/./node_modules/core-js/internals/export.js","webpack://replies-to/./node_modules/core-js/internals/function-call.js","webpack://replies-to/./node_modules/core-js/internals/classof-raw.js","webpack://replies-to/./node_modules/core-js/internals/object-define-property.js","webpack://replies-to/./node_modules/core-js/internals/well-known-symbol.js","webpack://replies-to/./node_modules/core-js/internals/to-indexed-object.js","webpack://replies-to/./node_modules/core-js/internals/require-object-coercible.js","webpack://replies-to/./node_modules/core-js/internals/define-built-in.js","webpack://replies-to/./node_modules/core-js/internals/to-string.js","webpack://replies-to/./node_modules/core-js/internals/function-bind-native.js","webpack://replies-to/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://replies-to/./node_modules/core-js/internals/get-built-in.js","webpack://replies-to/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://replies-to/./node_modules/core-js/internals/hidden-keys.js","webpack://replies-to/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://replies-to/./node_modules/core-js/internals/create-property-descriptor.js","webpack://replies-to/./node_modules/core-js/internals/to-property-key.js","webpack://replies-to/./node_modules/core-js/internals/get-method.js","webpack://replies-to/./node_modules/core-js/internals/shared.js","webpack://replies-to/./node_modules/core-js/internals/shared-store.js","webpack://replies-to/./node_modules/core-js/internals/define-global-property.js","webpack://replies-to/./node_modules/core-js/internals/to-object.js","webpack://replies-to/./node_modules/core-js/internals/uid.js","webpack://replies-to/./node_modules/core-js/internals/document-create-element.js","webpack://replies-to/./node_modules/core-js/internals/function-name.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://replies-to/./node_modules/core-js/internals/length-of-array-like.js","webpack://replies-to/./node_modules/core-js/internals/to-length.js","webpack://replies-to/./node_modules/core-js/internals/enum-bug-keys.js","webpack://replies-to/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://replies-to/./node_modules/core-js/internals/classof.js","webpack://replies-to/./node_modules/core-js/internals/to-string-tag-support.js","webpack://replies-to/./node_modules/core-js/internals/array-method-is-strict.js","webpack://replies-to/./node_modules/core-js/internals/regexp-exec.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://replies-to/./node_modules/core-js/internals/indexed-object.js","webpack://replies-to/./node_modules/core-js/internals/document-all.js","webpack://replies-to/./node_modules/core-js/internals/is-symbol.js","webpack://replies-to/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://replies-to/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://replies-to/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://replies-to/./node_modules/core-js/internals/engine-user-agent.js","webpack://replies-to/./node_modules/core-js/internals/a-callable.js","webpack://replies-to/./node_modules/core-js/internals/ie8-dom-define.js","webpack://replies-to/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://replies-to/./node_modules/core-js/internals/make-built-in.js","webpack://replies-to/./node_modules/core-js/internals/inspect-source.js","webpack://replies-to/./node_modules/core-js/internals/internal-state.js","webpack://replies-to/./node_modules/core-js/internals/shared-key.js","webpack://replies-to/./node_modules/core-js/internals/object-keys-internal.js","webpack://replies-to/./node_modules/core-js/internals/array-includes.js","webpack://replies-to/./node_modules/core-js/internals/to-absolute-index.js","webpack://replies-to/./node_modules/core-js/internals/freezing.js","webpack://replies-to/./node_modules/core-js/internals/array-iteration.js","webpack://replies-to/./node_modules/core-js/modules/es.regexp.exec.js","webpack://replies-to/./node_modules/core-js/internals/regexp-flags.js","webpack://replies-to/./node_modules/core-js/internals/function-apply.js","webpack://replies-to/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://replies-to/./node_modules/core-js/internals/advance-string-index.js","webpack://replies-to/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://replies-to/./node_modules/core-js/internals/array-for-each.js","webpack://replies-to/./node_modules/core-js/internals/schedulers-fix.js","webpack://replies-to/./src/Site/replies.js","webpack://replies-to/./node_modules/core-js/modules/es.object.freeze.js","webpack://replies-to/(webpack)/buildin/global.js","webpack://replies-to/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://replies-to/./node_modules/core-js/internals/to-primitive.js","webpack://replies-to/./node_modules/core-js/internals/engine-v8-version.js","webpack://replies-to/./node_modules/core-js/internals/try-to-string.js","webpack://replies-to/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://replies-to/./node_modules/core-js/internals/is-pure.js","webpack://replies-to/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://replies-to/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://replies-to/./node_modules/core-js/internals/own-keys.js","webpack://replies-to/./node_modules/core-js/internals/math-trunc.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://replies-to/./node_modules/core-js/internals/is-forced.js","webpack://replies-to/./node_modules/core-js/internals/internal-metadata.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://replies-to/./node_modules/core-js/internals/array-slice-simple.js","webpack://replies-to/./node_modules/core-js/internals/create-property.js","webpack://replies-to/./node_modules/core-js/internals/object-is-extensible.js","webpack://replies-to/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://replies-to/./node_modules/core-js/modules/es.array.some.js","webpack://replies-to/./node_modules/core-js/internals/function-bind-context.js","webpack://replies-to/./node_modules/core-js/internals/array-species-create.js","webpack://replies-to/./node_modules/core-js/internals/array-species-constructor.js","webpack://replies-to/./node_modules/core-js/internals/is-array.js","webpack://replies-to/./node_modules/core-js/internals/is-constructor.js","webpack://replies-to/./node_modules/core-js/modules/es.object.to-string.js","webpack://replies-to/./node_modules/core-js/internals/object-to-string.js","webpack://replies-to/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://replies-to/./node_modules/core-js/internals/object-create.js","webpack://replies-to/./node_modules/core-js/internals/object-define-properties.js","webpack://replies-to/./node_modules/core-js/internals/object-keys.js","webpack://replies-to/./node_modules/core-js/internals/html.js","webpack://replies-to/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://replies-to/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://replies-to/./node_modules/core-js/modules/es.string.replace.js","webpack://replies-to/./node_modules/core-js/internals/string-multibyte.js","webpack://replies-to/./node_modules/core-js/internals/get-substitution.js","webpack://replies-to/./node_modules/core-js/modules/es.date.to-string.js","webpack://replies-to/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://replies-to/./node_modules/core-js/internals/regexp-get-flags.js","webpack://replies-to/./node_modules/core-js/modules/es.string.match.js","webpack://replies-to/./node_modules/core-js/modules/es.array.index-of.js","webpack://replies-to/./node_modules/core-js/modules/es.function.name.js","webpack://replies-to/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://replies-to/./node_modules/core-js/modules/es.array.for-each.js","webpack://replies-to/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://replies-to/./node_modules/core-js/internals/dom-iterables.js","webpack://replies-to/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://replies-to/./node_modules/core-js/modules/web.timers.js","webpack://replies-to/./node_modules/core-js/modules/web.set-interval.js","webpack://replies-to/./node_modules/core-js/internals/engine-is-bun.js","webpack://replies-to/./node_modules/core-js/internals/array-slice.js","webpack://replies-to/./node_modules/core-js/internals/validate-arguments-length.js","webpack://replies-to/./node_modules/core-js/modules/web.set-timeout.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","exec","error","NATIVE_BIND","FunctionPrototype","Function","uncurryThisWithBind","fn","apply","arguments","it","Math","check","globalThis","self","global","this","$documentAll","documentAll","all","IS_HTMLDDA","argument","fails","isCallable","uncurryThis","toObject","hasOwn","isObject","$String","String","$TypeError","TypeError","getOwnPropertyDescriptor","f","createNonEnumerableProperty","defineBuiltIn","defineGlobalProperty","copyConstructorProperties","isForced","options","source","target","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","undefined","sham","toString","stringSlice","slice","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","O","P","Attributes","current","configurable","writable","shared","uid","NATIVE_SYMBOL","USE_SYMBOL_AS_UID","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","IndexedObject","requireObjectCoercible","isNullOrUndefined","definePropertyModule","makeBuiltIn","simple","unsafe","nonConfigurable","nonWritable","classof","test","aFunction","namespace","method","length","createPropertyDescriptor","trunc","number","bitmap","toPrimitive","isSymbol","aCallable","V","func","IS_PURE","store","push","version","copyright","license","SHARED","$Object","id","postfix","random","document","EXISTS","createElement","getDescriptor","PROPER","internalObjectKeys","hiddenKeys","concat","getOwnPropertyNames","toLength","obj","toIntegerOrInfinity","min","classofRaw","TO_STRING_TAG_SUPPORT","TO_STRING_TAG","wellKnownSymbol","CORRECT_ARGUMENTS","tag","result","tryGet","callee","METHOD_NAME","re1","re2","regexpFlags","stickyHelpers","getInternalState","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","replace","nativeExec","RegExp","patchedExec","charAt","indexOf","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","string","reCopy","match","group","re","state","str","raw","groups","sticky","flags","charsAdded","strCopy","multiline","input","index","propertyIsEnumerableModule","toIndexedObject","split","propertyIsEnumerable","getBuiltIn","isPrototypeOf","$Symbol","iterator","V8_VERSION","getOwnPropertySymbols","symbol","navigator","userAgent","tryToString","a","CONFIGURABLE_FUNCTION_NAME","inspectSource","InternalStateModule","enforceInternalState","enforce","join","CONFIGURABLE_LENGTH","TEMPLATE","setter","arity","constructor","functionToString","set","has","NATIVE_WEAK_MAP","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","getterFor","TYPE","type","keys","names","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","max","integer","isExtensible","preventExtensions","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","that","specificCreate","boundFunction","forEach","map","filter","some","every","find","findIndex","filterReject","$","proto","hasIndices","ignoreCase","dotAll","unicode","unicodeSets","Reflect","regexpExec","SPECIES","RegExpPrototype","KEY","FORCED","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","uncurriedNativeRegExpMethod","methods","nativeMethod","regexp","arg2","forceStringMethod","uncurriedNativeMethod","$exec","done","S","R","$forEach","STRICT_METHOD","arrayMethodIsStrict","ENGINE_IS_BUN","USER_AGENT","arraySlice","validateArgumentsLength","WRAP","Bun","scheduler","hasTimeArg","firstParamIndex","handler","timeout","boundArgs","params","callback","MeerkatReply","MeerkatForms","Endpoints","freeze","SubmitComment","closeOnCancel","replyOpen","canceled","submit","event","getOpenReplyForm","forms","querySelectorAll","data","ReplyForm","Extend","IsHCaptchaInUse","IsGoogleRecaptchaInUse","CaptchaElementId","GoogleRecaptchaInstance","HCaptchaInstance","GoogleRecaptchaTheme","GoogleRecaptchaSiteKey","HCaptchaSiteKey","findClosest","selector","matchesFn","parent","body","parentElement","generateId","findElementWithClass","node","classRegex","matches","traverse","childNode","childNodes","getAttribute","getReplyForm","form","meerkatReplyForm","cloneNode","innerHTML","captchaElements","captchaEle","setAttribute","dataset","captchaDataSet","sitekey","theme","makeReplyInput","replyingTo","replyInput","addEventListeners","_this","addEventListener","parentNode","removeChild","appendChild","insertBefore","nextSibling","setTimeout","getElementById","grecaptcha","render","err","hcaptcha","addCancelReplyListeners","preventDefault","replyHandler","meerkatForm","removeEventListener","remove","init","FREEZING","onFreeze","$freeze","g","e","$propertyIsEnumerable","NASHORN_BUG","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","pref","exoticToPrim","process","Deno","versions","v8","val","valueOf","ownKeys","getOwnPropertyDescriptorModule","exceptions","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","ceil","floor","x","replacement","feature","detection","normalize","POLYFILL","NATIVE","toLowerCase","getOwnPropertyNamesExternalModule","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","enable","splice","fastKey","getWeakData","$getOwnPropertyNames","windowNames","getWindowNames","createProperty","$Array","Array","start","end","k","fin","propertyKey","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","ArrayBuffer","buffer","$some","arraySpeciesConstructor","originalArray","isArray","isConstructor","C","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","called","$RegExp","MISSED_STICKY","activeXDocument","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","domain","style","display","src","contentWindow","open","F","Properties","objectKeys","defineProperties","props","fixRegExpWellKnownSymbolLogic","advanceStringIndex","getSubstitution","regExpExec","REPLACE","stringIndexOf","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","rx","res","functionalReplace","fullUnicode","results","accumulatedResult","nextSourcePosition","matched","position","captures","j","namedCaptures","replacerArgs","charCodeAt","CONVERT_TO_STRING","pos","first","second","size","codeAt","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","tailPos","symbols","ch","capture","DatePrototype","Date","INVALID_DATE","TO_STRING","nativeDateToString","thisTimeValue","getTime","NaN","PROPER_FUNCTION_NAME","$toString","getRegExpFlags","nativeToString","NOT_GENERIC","INCORRECT_NAME","regExpFlags","MATCH","nativeMatch","matcher","A","matchStr","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","FUNCTION_NAME_EXISTS","defineBuiltInAccessor","nameRE","DOMIterables","DOMTokenListPrototype","handlePrototype","CollectionPrototype","COLLECTION_NAME","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","setInterval","schedulersFix","passed","required"],"mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,aAAc,GAAIH,GACC,iBAAZC,QACdA,QAAQ,cAAgBD,IAExBD,EAAK,cAAgBC,GACtB,CATD,CASGK,QAAQ,WACX,O,YCTE,I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efinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"replies-to\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"replies-to\"] = factory();\n\telse\n\t\troot[\"replies-to\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 70);\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = {};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.28.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar ENGINE_IS_BUN = require('../internals/engine-is-bun');\nvar USER_AGENT = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n var version = global.Bun.version.split('.');\n return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0);\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n var firstParamIndex = hasTimeArg ? 2 : 1;\n return WRAP ? function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n var fn = isCallable(handler) ? handler : Function(handler);\n var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n var callback = boundArgs ? function () {\n apply(fn, this, params);\n } : fn;\n return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n } : scheduler;\n};\n","/**\n * Provides a simple way to implement automatic reply forms in Statamic Meerkat templates.\n *\n * Can be automatically loaded using the {{ meerkat:replies-to }} Antlers tag.\n */\n(function () {\n let MeerkatReply = {\n Endpoints: Object.freeze({\n SubmitComment: '/!/Meerkat/socialize'\n }),\n closeOnCancel: true,\n replyOpen: null,\n canceled: null,\n submit: function (event) {\n\n },\n getOpenReplyForm: function () {\n let forms = document.querySelectorAll('form[data-meerkat-form=\"comment-reply-form\"]');\n\n return forms[forms.length - 1];\n }\n };\n const MeerkatForms = {\n data: {\n ReplyForm: null,\n Extend: null,\n IsHCaptchaInUse: false,\n IsGoogleRecaptchaInUse: false,\n CaptchaElementId: null,\n GoogleRecaptchaInstance: null,\n HCaptchaInstance: null,\n GoogleRecaptchaTheme: null,\n GoogleRecaptchaSiteKey: null,\n HCaptchaSiteKey: null\n },\n findClosest: function (el, selector) {\n let matchesFn;\n\n [\n 'matches', 'webkitMatchesSelector', 'mozMatchesSelector',\n 'msMatchesSelector', 'oMatchesSelector']\n .some(function (fn) {\n if (typeof document.body[fn] === 'function') {\n matchesFn = fn;\n return true;\n }\n return false;\n });\n\n let parent;\n\n while (el) {\n parent = el.parentElement;\n if (parent && parent[matchesFn](selector)) {\n return parent;\n }\n el = parent;\n }\n\n return null;\n },\n generateId: function () {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\n let r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\n\n return v.toString(16);\n });\n },\n findElementWithClass: function (node, classRegex) {\n let matches = [];\n\n function traverse(childNode) {\n for (let i = 0; i < childNode.childNodes.length; i++) {\n if (childNode.childNodes[i].getAttribute && childNode.childNodes[i].getAttribute('class')) {\n if (childNode.childNodes[i].getAttribute('class').match(classRegex)) {\n matches.push(childNode.childNodes[i]);\n }\n }\n\n if (childNode.childNodes[i].childNodes.length > 0) {\n traverse(childNode.childNodes[i]);\n }\n }\n }\n\n traverse(node);\n\n return matches;\n },\n getReplyForm: function () {\n let form = document.querySelectorAll('[data-meerkat-form=\"comment-reply-form\"]');\n\n if (form.length === 0) {\n form = document.querySelectorAll('[data-meerkat-form=\"comment-form\"]');\n }\n\n if (form.length > 0) {\n let meerkatReplyForm = form[0].cloneNode(true);\n\n if (meerkatReplyForm.innerHTML.indexOf('h-captcha') > -1) {\n this.data.IsHCaptchaInUse = true;\n this.data.IsGoogleRecaptchaInUse = false;\n\n let captchaElements = this.findElementWithClass(meerkatReplyForm, '\\s*h-captcha\\s*');\n\n if (typeof captchaElements !== 'undefined' && captchaElements.length > 0) {\n let captchaEle = captchaElements[0];\n\n this.data.CaptchaElementId = 'meerkat_c-' + this.generateId();\n captchaEle.setAttribute('id', this.data.CaptchaElementId);\n\n if (typeof captchaEle.dataset !== 'undefined') {\n let captchaDataSet = captchaEle.dataset;\n\n this.data.HCaptchaSiteKey = captchaDataSet.sitekey;\n }\n }\n } else if (meerkatReplyForm.innerHTML.indexOf('g-recaptcha') > -1) {\n if (typeof window['grecaptcha'] !== 'undefined') {\n this.data.IsGoogleRecaptchaInUse = true;\n this.data.IsHCaptchaInUse = false;\n\n let captchaElements = this.findElementWithClass(meerkatReplyForm, '\\s*g-recaptcha\\s*');\n\n if (typeof captchaElements !== 'undefined' && captchaElements.length > 0) {\n let captchaEle = captchaElements[0];\n\n this.data.CaptchaElementId = 'meerkat_c-' + this.generateId();\n captchaEle.setAttribute('id', this.data.CaptchaElementId);\n\n if (typeof captchaEle.dataset !== 'undefined') {\n let captchaDataSet = captchaEle.dataset;\n\n if (typeof captchaDataSet.sitekey !== 'undefined') {\n this.data.GoogleRecaptchaSiteKey = captchaDataSet.sitekey;\n }\n\n if (typeof captchaDataSet.theme !== 'undefined') {\n this.data.GoogleRecaptchaTheme = captchaDataSet.theme;\n } else {\n this.data.GoogleRecaptchaTheme = 'light';\n }\n }\n }\n }\n }\n\n form = meerkatReplyForm;\n }\n\n return form;\n },\n makeReplyInput: function (replyingTo) {\n let replyInput = document.createElement('input');\n\n replyInput.type = 'hidden';\n replyInput.value = replyingTo;\n replyInput.name = 'ids';\n\n return replyInput;\n },\n addEventListeners: function () {\n let _this = this,\n replyLinks = document.querySelectorAll('[data-meerkat-form=\"reply\"]');\n\n replyLinks.forEach(function (el) {\n el.addEventListener('click', function (event) {\n\n if (_this.data.ReplyForm !== null && _this.data.ReplyForm.parentNode != null) {\n _this.data.ReplyForm.parentNode.removeChild(_this.data.ReplyForm);\n }\n\n _this.data.ReplyForm = _this.getReplyForm();\n\n let replyingTo = event.target.getAttribute('data-meerkat-reply-to');\n\n _this.data.ReplyForm.appendChild(_this.makeReplyInput(replyingTo));\n _this.data.ReplyForm.addEventListener('submit', _this.data.Extend.submit, false);\n\n if (typeof MeerkatForms.data.Extend.replyOpen !== 'undefined' &&\n MeerkatForms.data.Extend.replyOpen !== null) {\n MeerkatForms.data.Extend.replyOpen(_this.data.ReplyForm);\n }\n\n el.parentNode.insertBefore(_this.data.ReplyForm, el.nextSibling);\n\n if (_this.data.IsGoogleRecaptchaInUse && _this.data.CaptchaElementId !== null) {\n if (_this.data.GoogleRecaptchaTheme !== null && _this.data.GoogleRecaptchaSiteKey !== null) {\n window.setTimeout(function () {\n let captchaElement = window.document.getElementById(_this.data.CaptchaElementId);\n\n captchaElement.innerHTML = '';\n\n try {\n _this.data.GoogleRecaptchaInstance = window.grecaptcha.render(_this.data.CaptchaElementId, {\n 'sitekey': _this.data.GoogleRecaptchaSiteKey,\n 'theme': _this.data.GoogleRecaptchaTheme\n });\n } catch (err) {\n }\n }, 250);\n }\n }\n\n if (_this.data.IsHCaptchaInUse === true && _this.data.CaptchaElementId !== null) {\n if (_this.data.HCaptchaSiteKey !== null) {\n window.setTimeout(function () {\n let captchaElement = window.document.getElementById(_this.data.CaptchaElementId);\n\n captchaElement.innerHTML = '';\n\n try {\n _this.data.HCaptchaInstance = window.hcaptcha.render(_this.data.CaptchaElementId, {\n 'sitekey': _this.data.HCaptchaSiteKey\n });\n } catch (err) {\n }\n }, 250);\n }\n }\n\n _this.addCancelReplyListeners();\n event.preventDefault();\n });\n });\n },\n replyHandler: function (event) {\n let meerkatForm = MeerkatForms.findClosest(event.target, '[data-meerkat-form]');\n\n if (typeof meerkatForm !== 'undefined' && meerkatForm !== null) {\n\n var replyingTo = meerkatForm.querySelectorAll('[name=ids]')[0].value;\n\n if (typeof MeerkatForms.data.Extend.canceled !== 'undefined' && MeerkatForms.data.Extend.canceled !== null) {\n MeerkatForms.data.Extend.canceled(replyingTo, meerkatForm);\n }\n\n if (MeerkatForms.data.Extend.closeOnCancel) {\n this.removeEventListener('click', MeerkatForms.replyHandler);\n meerkatForm.remove();\n }\n }\n\n event.preventDefault();\n },\n addCancelReplyListeners: function () {\n let _this = this,\n cancelLinks = document.querySelectorAll('[data-meerkat-form=\"cancel-reply\"]');\n\n cancelLinks.forEach(function (el) {\n el.addEventListener('click', _this.replyHandler);\n });\n },\n init: function () {\n this.data.Extend = MeerkatReply;\n this.getReplyForm();\n this.addEventListeners();\n window.MeerkatReply = this.data.Extend;\n }\n };\n\n MeerkatForms.init();\n})();\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","// TODO: Remove from `core-js@4`\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n defineBuiltIn(DatePrototype, TO_STRING, function toString() {\n var value = thisTimeValue(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? nativeDateToString(this) : INVALID_DATE;\n });\n}\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.set-interval');\nrequire('../modules/web.set-timeout');\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n setInterval: setInterval\n});\n","/* global Bun -- Deno case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n setTimeout: setTimeout\n});\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://replies-to/webpack/universalModuleDefinition","webpack://replies-to/webpack/bootstrap","webpack://replies-to/./node_modules/core-js/internals/fails.js","webpack://replies-to/./node_modules/core-js/internals/function-uncurry-this.js","webpack://replies-to/./node_modules/core-js/internals/global.js","webpack://replies-to/./node_modules/core-js/internals/is-callable.js","webpack://replies-to/./node_modules/core-js/internals/descriptors.js","webpack://replies-to/./node_modules/core-js/internals/is-object.js","webpack://replies-to/./node_modules/core-js/internals/has-own-property.js","webpack://replies-to/./node_modules/core-js/internals/an-object.js","webpack://replies-to/./node_modules/core-js/internals/export.js","webpack://replies-to/./node_modules/core-js/internals/function-call.js","webpack://replies-to/./node_modules/core-js/internals/classof-raw.js","webpack://replies-to/./node_modules/core-js/internals/object-define-property.js","webpack://replies-to/./node_modules/core-js/internals/well-known-symbol.js","webpack://replies-to/./node_modules/core-js/internals/to-indexed-object.js","webpack://replies-to/./node_modules/core-js/internals/require-object-coercible.js","webpack://replies-to/./node_modules/core-js/internals/define-built-in.js","webpack://replies-to/./node_modules/core-js/internals/to-string.js","webpack://replies-to/./node_modules/core-js/internals/function-bind-native.js","webpack://replies-to/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://replies-to/./node_modules/core-js/internals/get-built-in.js","webpack://replies-to/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://replies-to/./node_modules/core-js/internals/hidden-keys.js","webpack://replies-to/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://replies-to/./node_modules/core-js/internals/create-property-descriptor.js","webpack://replies-to/./node_modules/core-js/internals/to-property-key.js","webpack://replies-to/./node_modules/core-js/internals/get-method.js","webpack://replies-to/./node_modules/core-js/internals/shared.js","webpack://replies-to/./node_modules/core-js/internals/shared-store.js","webpack://replies-to/./node_modules/core-js/internals/define-global-property.js","webpack://replies-to/./node_modules/core-js/internals/to-object.js","webpack://replies-to/./node_modules/core-js/internals/uid.js","webpack://replies-to/./node_modules/core-js/internals/document-create-element.js","webpack://replies-to/./node_modules/core-js/internals/function-name.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://replies-to/./node_modules/core-js/internals/length-of-array-like.js","webpack://replies-to/./node_modules/core-js/internals/to-length.js","webpack://replies-to/./node_modules/core-js/internals/enum-bug-keys.js","webpack://replies-to/./node_modules/core-js/internals/function-uncurry-this-clause.js","webpack://replies-to/./node_modules/core-js/internals/classof.js","webpack://replies-to/./node_modules/core-js/internals/to-string-tag-support.js","webpack://replies-to/./node_modules/core-js/internals/array-method-is-strict.js","webpack://replies-to/./node_modules/core-js/internals/regexp-exec.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://replies-to/./node_modules/core-js/internals/indexed-object.js","webpack://replies-to/./node_modules/core-js/internals/document-all.js","webpack://replies-to/./node_modules/core-js/internals/is-symbol.js","webpack://replies-to/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://replies-to/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://replies-to/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://replies-to/./node_modules/core-js/internals/engine-user-agent.js","webpack://replies-to/./node_modules/core-js/internals/a-callable.js","webpack://replies-to/./node_modules/core-js/internals/ie8-dom-define.js","webpack://replies-to/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://replies-to/./node_modules/core-js/internals/make-built-in.js","webpack://replies-to/./node_modules/core-js/internals/inspect-source.js","webpack://replies-to/./node_modules/core-js/internals/internal-state.js","webpack://replies-to/./node_modules/core-js/internals/shared-key.js","webpack://replies-to/./node_modules/core-js/internals/object-keys-internal.js","webpack://replies-to/./node_modules/core-js/internals/array-includes.js","webpack://replies-to/./node_modules/core-js/internals/to-absolute-index.js","webpack://replies-to/./node_modules/core-js/internals/freezing.js","webpack://replies-to/./node_modules/core-js/internals/array-iteration.js","webpack://replies-to/./node_modules/core-js/modules/es.regexp.exec.js","webpack://replies-to/./node_modules/core-js/internals/regexp-flags.js","webpack://replies-to/./node_modules/core-js/internals/function-apply.js","webpack://replies-to/./node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js","webpack://replies-to/./node_modules/core-js/internals/advance-string-index.js","webpack://replies-to/./node_modules/core-js/internals/regexp-exec-abstract.js","webpack://replies-to/./node_modules/core-js/internals/array-for-each.js","webpack://replies-to/./node_modules/core-js/internals/schedulers-fix.js","webpack://replies-to/./src/Site/replies.js","webpack://replies-to/./node_modules/core-js/modules/es.object.freeze.js","webpack://replies-to/(webpack)/buildin/global.js","webpack://replies-to/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://replies-to/./node_modules/core-js/internals/to-primitive.js","webpack://replies-to/./node_modules/core-js/internals/engine-v8-version.js","webpack://replies-to/./node_modules/core-js/internals/try-to-string.js","webpack://replies-to/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://replies-to/./node_modules/core-js/internals/is-pure.js","webpack://replies-to/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://replies-to/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://replies-to/./node_modules/core-js/internals/own-keys.js","webpack://replies-to/./node_modules/core-js/internals/math-trunc.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://replies-to/./node_modules/core-js/internals/is-forced.js","webpack://replies-to/./node_modules/core-js/internals/internal-metadata.js","webpack://replies-to/./node_modules/core-js/internals/object-get-own-property-names-external.js","webpack://replies-to/./node_modules/core-js/internals/array-slice-simple.js","webpack://replies-to/./node_modules/core-js/internals/create-property.js","webpack://replies-to/./node_modules/core-js/internals/object-is-extensible.js","webpack://replies-to/./node_modules/core-js/internals/array-buffer-non-extensible.js","webpack://replies-to/./node_modules/core-js/modules/es.array.some.js","webpack://replies-to/./node_modules/core-js/internals/function-bind-context.js","webpack://replies-to/./node_modules/core-js/internals/array-species-create.js","webpack://replies-to/./node_modules/core-js/internals/array-species-constructor.js","webpack://replies-to/./node_modules/core-js/internals/is-array.js","webpack://replies-to/./node_modules/core-js/internals/is-constructor.js","webpack://replies-to/./node_modules/core-js/modules/es.object.to-string.js","webpack://replies-to/./node_modules/core-js/internals/object-to-string.js","webpack://replies-to/./node_modules/core-js/internals/regexp-sticky-helpers.js","webpack://replies-to/./node_modules/core-js/internals/object-create.js","webpack://replies-to/./node_modules/core-js/internals/object-define-properties.js","webpack://replies-to/./node_modules/core-js/internals/object-keys.js","webpack://replies-to/./node_modules/core-js/internals/html.js","webpack://replies-to/./node_modules/core-js/internals/regexp-unsupported-dot-all.js","webpack://replies-to/./node_modules/core-js/internals/regexp-unsupported-ncg.js","webpack://replies-to/./node_modules/core-js/modules/es.string.replace.js","webpack://replies-to/./node_modules/core-js/internals/string-multibyte.js","webpack://replies-to/./node_modules/core-js/internals/get-substitution.js","webpack://replies-to/./node_modules/core-js/modules/es.date.to-string.js","webpack://replies-to/./node_modules/core-js/modules/es.regexp.to-string.js","webpack://replies-to/./node_modules/core-js/internals/regexp-get-flags.js","webpack://replies-to/./node_modules/core-js/modules/es.string.match.js","webpack://replies-to/./node_modules/core-js/modules/es.array.index-of.js","webpack://replies-to/./node_modules/core-js/modules/es.function.name.js","webpack://replies-to/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://replies-to/./node_modules/core-js/modules/es.array.for-each.js","webpack://replies-to/./node_modules/core-js/modules/web.dom-collections.for-each.js","webpack://replies-to/./node_modules/core-js/internals/dom-iterables.js","webpack://replies-to/./node_modules/core-js/internals/dom-token-list-prototype.js","webpack://replies-to/./node_modules/core-js/modules/web.timers.js","webpack://replies-to/./node_modules/core-js/modules/web.set-interval.js","webpack://replies-to/./node_modules/core-js/internals/engine-is-bun.js","webpack://replies-to/./node_modules/core-js/internals/array-slice.js","webpack://replies-to/./node_modules/core-js/internals/validate-arguments-length.js","webpack://replies-to/./node_modules/core-js/modules/web.set-timeout.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","exec","error","NATIVE_BIND","FunctionPrototype","Function","uncurryThisWithBind","fn","apply","arguments","it","Math","check","globalThis","self","global","this","$documentAll","documentAll","all","IS_HTMLDDA","argument","fails","isCallable","uncurryThis","toObject","hasOwn","isObject","$String","String","$TypeError","TypeError","getOwnPropertyDescriptor","f","createNonEnumerableProperty","defineBuiltIn","defineGlobalProperty","copyConstructorProperties","isForced","options","source","target","targetProperty","sourceProperty","descriptor","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","undefined","sham","toString","stringSlice","slice","DESCRIPTORS","IE8_DOM_DEFINE","V8_PROTOTYPE_DEFINE_BUG","anObject","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","CONFIGURABLE","WRITABLE","O","P","Attributes","current","configurable","writable","shared","uid","NATIVE_SYMBOL","USE_SYMBOL_AS_UID","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","IndexedObject","requireObjectCoercible","isNullOrUndefined","definePropertyModule","makeBuiltIn","simple","unsafe","nonConfigurable","nonWritable","classof","test","aFunction","namespace","method","length","createPropertyDescriptor","trunc","number","bitmap","toPrimitive","isSymbol","aCallable","V","func","IS_PURE","store","push","version","copyright","license","SHARED","$Object","id","postfix","random","document","EXISTS","createElement","getDescriptor","PROPER","internalObjectKeys","hiddenKeys","concat","getOwnPropertyNames","toLength","obj","toIntegerOrInfinity","min","classofRaw","TO_STRING_TAG_SUPPORT","TO_STRING_TAG","wellKnownSymbol","CORRECT_ARGUMENTS","tag","result","tryGet","callee","METHOD_NAME","re1","re2","regexpFlags","stickyHelpers","getInternalState","UNSUPPORTED_DOT_ALL","UNSUPPORTED_NCG","nativeReplace","replace","nativeExec","RegExp","patchedExec","charAt","indexOf","UPDATES_LAST_INDEX_WRONG","lastIndex","UNSUPPORTED_Y","BROKEN_CARET","NPCG_INCLUDED","string","reCopy","match","group","re","state","str","raw","groups","sticky","flags","charsAdded","strCopy","multiline","input","index","propertyIsEnumerableModule","toIndexedObject","split","propertyIsEnumerable","getBuiltIn","isPrototypeOf","$Symbol","iterator","V8_VERSION","getOwnPropertySymbols","symbol","navigator","userAgent","tryToString","a","CONFIGURABLE_FUNCTION_NAME","inspectSource","InternalStateModule","enforceInternalState","enforce","join","CONFIGURABLE_LENGTH","TEMPLATE","setter","arity","constructor","functionToString","set","has","NATIVE_WEAK_MAP","sharedKey","OBJECT_ALREADY_INITIALIZED","WeakMap","metadata","facade","STATE","getterFor","TYPE","type","keys","names","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","includes","max","integer","isExtensible","preventExtensions","arraySpeciesCreate","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","IS_FILTER_REJECT","NO_HOLES","callbackfn","that","specificCreate","boundFunction","forEach","map","filter","some","every","find","findIndex","filterReject","$","proto","hasIndices","ignoreCase","dotAll","unicode","unicodeSets","Reflect","regexpExec","SPECIES","RegExpPrototype","KEY","FORCED","SHAM","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","uncurriedNativeRegExpMethod","methods","nativeMethod","regexp","arg2","forceStringMethod","uncurriedNativeMethod","$exec","done","S","R","$forEach","STRICT_METHOD","arrayMethodIsStrict","ENGINE_IS_BUN","USER_AGENT","arraySlice","validateArgumentsLength","WRAP","Bun","scheduler","hasTimeArg","firstParamIndex","handler","timeout","boundArgs","params","callback","MeerkatReply","MeerkatForms","Endpoints","freeze","SubmitComment","closeOnCancel","replyOpen","canceled","submit","event","getOpenReplyForm","forms","querySelectorAll","data","ReplyForm","Extend","IsHCaptchaInUse","IsGoogleRecaptchaInUse","CaptchaElementId","GoogleRecaptchaInstance","HCaptchaInstance","GoogleRecaptchaTheme","GoogleRecaptchaSiteKey","HCaptchaSiteKey","findClosest","selector","matchesFn","parent","body","parentElement","generateId","findElementWithClass","node","classRegex","matches","traverse","childNode","childNodes","getAttribute","getReplyForm","form","meerkatReplyForm","cloneNode","innerHTML","captchaElements","captchaEle","setAttribute","dataset","captchaDataSet","sitekey","theme","makeReplyInput","replyingTo","replyInput","addEventListeners","_this","addEventListener","parentNode","removeChild","appendChild","insertBefore","nextSibling","setTimeout","getElementById","grecaptcha","render","err","hcaptcha","addCancelReplyListeners","preventDefault","replyHandler","meerkatForm","removeEventListener","remove","init","FREEZING","onFreeze","$freeze","g","e","$propertyIsEnumerable","NASHORN_BUG","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","pref","exoticToPrim","process","Deno","versions","v8","val","valueOf","ownKeys","getOwnPropertyDescriptorModule","exceptions","getOwnPropertyNamesModule","getOwnPropertySymbolsModule","ceil","floor","x","replacement","feature","detection","normalize","POLYFILL","NATIVE","toLowerCase","getOwnPropertyNamesExternalModule","REQUIRED","METADATA","setMetadata","objectID","weakData","meta","enable","splice","fastKey","getWeakData","$getOwnPropertyNames","windowNames","getWindowNames","createProperty","$Array","Array","start","end","k","fin","propertyKey","ARRAY_BUFFER_NON_EXTENSIBLE","$isExtensible","FAILS_ON_PRIMITIVES","ArrayBuffer","buffer","$some","arraySpeciesConstructor","originalArray","isArray","isConstructor","C","noop","empty","construct","constructorRegExp","INCORRECT_TO_STRING","isConstructorModern","isConstructorLegacy","called","$RegExp","MISSED_STICKY","activeXDocument","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","domain","style","display","src","contentWindow","open","F","Properties","objectKeys","defineProperties","props","fixRegExpWellKnownSymbolLogic","advanceStringIndex","getSubstitution","regExpExec","REPLACE","stringIndexOf","REPLACE_KEEPS_$0","REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE","_","maybeCallNative","UNSAFE_SUBSTITUTE","searchValue","replaceValue","replacer","rx","res","functionalReplace","fullUnicode","results","accumulatedResult","nextSourcePosition","matched","position","captures","j","namedCaptures","replacerArgs","charCodeAt","CONVERT_TO_STRING","pos","first","second","size","codeAt","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","tailPos","symbols","ch","capture","DatePrototype","Date","INVALID_DATE","TO_STRING","nativeDateToString","thisTimeValue","getTime","NaN","PROPER_FUNCTION_NAME","$toString","getRegExpFlags","nativeToString","NOT_GENERIC","INCORRECT_NAME","regExpFlags","MATCH","nativeMatch","matcher","A","matchStr","$indexOf","nativeIndexOf","NEGATIVE_ZERO","searchElement","FUNCTION_NAME_EXISTS","defineBuiltInAccessor","nameRE","DOMIterables","DOMTokenListPrototype","handlePrototype","CollectionPrototype","COLLECTION_NAME","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","classList","setInterval","schedulersFix","passed","required"],"mappings":";CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,aAAc,GAAIH,GACC,iBAAZC,QACdA,QAAQ,cAAgBD,IAExBD,EAAK,cAAgBC,GACtB,CATD,CASGK,QAAQ,WACX,O,YCTE,IAAIC,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUP,QAGnC,IAAIC,EAASI,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHT,QAAS,CAAC,GAUX,OANAU,EAAQH,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOQ,GAAI,EA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iBAAkB,EAClBC,cAAe,EACfC,UAAW,E,kBChCb,IAEIC,EAFwB,EAAQ,GAEpBpI,CAAsB,QAAQoI,UAC1CnC,EAAwBmC,GAAaA,EAAU7X,aAAe6X,EAAU7X,YAAYxM,UAExFnC,EAAOD,QAAUskB,IAA0BpjB,OAAOkB,eAAYsD,EAAY4e,C,kBCL1E,EAAQ,KACR,EAAQ,I,kBCFR,IAAI1S,EAAI,EAAQ,GACZtO,EAAS,EAAQ,GAGjBojB,EAFgB,EAAQ,GAEVC,CAAcrjB,EAAOojB,aAAa,GAIpD9U,EAAE,CAAEtO,QAAQ,EAAMtB,MAAM,EAAMyD,OAAQnC,EAAOojB,cAAgBA,GAAe,CAC1EA,YAAaA,G,gBCRfzmB,EAAOD,QAAwB,mBAAPiU,KAAqBA,KAA6B,iBAAfA,IAAIhL,O,kBCD/D,IAAIlF,EAAc,EAAQ,GAE1B9D,EAAOD,QAAU+D,EAAY,GAAG+B,M,gBCFhC,IAAIzB,EAAaC,UAEjBrE,EAAOD,QAAU,SAAU4mB,EAAQC,GACjC,GAAID,EAASC,EAAU,MAAMxiB,EAAW,wBACxC,OAAOuiB,CACT,C,kBCLA,IAAIhV,EAAI,EAAQ,GACZtO,EAAS,EAAQ,GAGjBkV,EAFgB,EAAQ,GAEXmO,CAAcrjB,EAAOkV,YAAY,GAIlD5G,EAAE,CAAEtO,QAAQ,EAAMtB,MAAM,EAAMyD,OAAQnC,EAAOkV,aAAeA,GAAc,CACxEA,WAAYA,G","file":"replies-to.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"replies-to\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"replies-to\"] = factory();\n\telse\n\t\troot[\"replies-to\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 70);\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","var check = function (it) {\n return it && it.Math == Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","var $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = $documentAll.IS_HTMLDDA ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","var fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;\n});\n","var isCallable = require('../internals/is-callable');\nvar $documentAll = require('../internals/document-all');\n\nvar documentAll = $documentAll.all;\n\nmodule.exports = $documentAll.IS_HTMLDDA ? function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;\n} : function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","var isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","module.exports = {};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","var aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.28.0',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\n\nmodule.exports = store;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","var classofRaw = require('../internals/classof-raw');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (fn) {\n // Nashorn bug:\n // https://github.com/zloirock/core-js/issues/1128\n // https://github.com/zloirock/core-js/issues/1130\n if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n try {\n return it[key];\n } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\n\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n})();\n\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\n\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n\n return match;\n };\n}\n\nmodule.exports = patchedExec;\n","var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var documentAll = typeof document == 'object' && document.all;\n\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nvar IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;\n\nmodule.exports = {\n all: documentAll,\n IS_HTMLDDA: IS_HTMLDDA\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a != 7;\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","var NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});\n","var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (;length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3: return true; // some\n case 5: return value; // find\n case 6: return index; // findIndex\n case 2: push(target, value); // filter\n } else switch (TYPE) {\n case 4: return false; // every\n case 7: push(target, value); // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {\n exec: exec\n});\n","'use strict';\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","'use strict';\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () { return 7; };\n return ''[KEY](O) != 7;\n });\n\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () { return re; };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n\n re.exec = function () { execCalled = true; return null; };\n\n re[SYMBOL]('');\n return !execCalled;\n });\n\n if (\n !DELEGATES_TO_SYMBOL ||\n !DELEGATES_TO_EXEC ||\n FORCED\n ) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };\n }\n return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };\n }\n return { done: false };\n });\n\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};\n","'use strict';\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n","'use strict';\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar isCallable = require('../internals/is-callable');\nvar ENGINE_IS_BUN = require('../internals/engine-is-bun');\nvar USER_AGENT = require('../internals/engine-user-agent');\nvar arraySlice = require('../internals/array-slice');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n var version = global.Bun.version.split('.');\n return version.length < 3 || version[0] == 0 && (version[1] < 3 || version[1] == 3 && version[2] == 0);\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n var firstParamIndex = hasTimeArg ? 2 : 1;\n return WRAP ? function (handler, timeout /* , ...arguments */) {\n var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n var fn = isCallable(handler) ? handler : Function(handler);\n var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n var callback = boundArgs ? function () {\n apply(fn, this, params);\n } : fn;\n return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n } : scheduler;\n};\n","/**\r\n * Provides a simple way to implement automatic reply forms in Statamic Meerkat templates.\r\n *\r\n * Can be automatically loaded using the {{ meerkat:replies-to }} Antlers tag.\r\n */\r\n(function () {\r\n let MeerkatReply = {\r\n Endpoints: Object.freeze({\r\n SubmitComment: '/!/Meerkat/socialize'\r\n }),\r\n closeOnCancel: true,\r\n replyOpen: null,\r\n canceled: null,\r\n submit: function (event) {\r\n\r\n },\r\n getOpenReplyForm: function () {\r\n let forms = document.querySelectorAll('form[data-meerkat-form=\"comment-reply-form\"]');\r\n\r\n return forms[forms.length - 1];\r\n }\r\n };\r\n const MeerkatForms = {\r\n data: {\r\n ReplyForm: null,\r\n Extend: null,\r\n IsHCaptchaInUse: false,\r\n IsGoogleRecaptchaInUse: false,\r\n CaptchaElementId: null,\r\n GoogleRecaptchaInstance: null,\r\n HCaptchaInstance: null,\r\n GoogleRecaptchaTheme: null,\r\n GoogleRecaptchaSiteKey: null,\r\n HCaptchaSiteKey: null\r\n },\r\n findClosest: function (el, selector) {\r\n let matchesFn;\r\n\r\n [\r\n 'matches', 'webkitMatchesSelector', 'mozMatchesSelector',\r\n 'msMatchesSelector', 'oMatchesSelector']\r\n .some(function (fn) {\r\n if (typeof document.body[fn] === 'function') {\r\n matchesFn = fn;\r\n return true;\r\n }\r\n return false;\r\n });\r\n\r\n let parent;\r\n\r\n while (el) {\r\n parent = el.parentElement;\r\n if (parent && parent[matchesFn](selector)) {\r\n return parent;\r\n }\r\n el = parent;\r\n }\r\n\r\n return null;\r\n },\r\n generateId: function () {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\r\n let r = Math.random() * 16 | 0, v = c === 'x' ? r : (r & 0x3 | 0x8);\r\n\r\n return v.toString(16);\r\n });\r\n },\r\n findElementWithClass: function (node, classRegex) {\r\n let matches = [];\r\n\r\n function traverse(childNode) {\r\n for (let i = 0; i < childNode.childNodes.length; i++) {\r\n if (childNode.childNodes[i].getAttribute && childNode.childNodes[i].getAttribute('class')) {\r\n if (childNode.childNodes[i].getAttribute('class').match(classRegex)) {\r\n matches.push(childNode.childNodes[i]);\r\n }\r\n }\r\n\r\n if (childNode.childNodes[i].childNodes.length > 0) {\r\n traverse(childNode.childNodes[i]);\r\n }\r\n }\r\n }\r\n\r\n traverse(node);\r\n\r\n return matches;\r\n },\r\n getReplyForm: function () {\r\n let form = document.querySelectorAll('[data-meerkat-form=\"comment-reply-form\"]');\r\n\r\n if (form.length === 0) {\r\n form = document.querySelectorAll('[data-meerkat-form=\"comment-form\"]');\r\n }\r\n\r\n if (form.length > 0) {\r\n let meerkatReplyForm = form[0].cloneNode(true);\r\n\r\n if (meerkatReplyForm.innerHTML.indexOf('h-captcha') > -1) {\r\n this.data.IsHCaptchaInUse = true;\r\n this.data.IsGoogleRecaptchaInUse = false;\r\n\r\n let captchaElements = this.findElementWithClass(meerkatReplyForm, '\\s*h-captcha\\s*');\r\n\r\n if (typeof captchaElements !== 'undefined' && captchaElements.length > 0) {\r\n let captchaEle = captchaElements[0];\r\n\r\n this.data.CaptchaElementId = 'meerkat_c-' + this.generateId();\r\n captchaEle.setAttribute('id', this.data.CaptchaElementId);\r\n\r\n if (typeof captchaEle.dataset !== 'undefined') {\r\n let captchaDataSet = captchaEle.dataset;\r\n\r\n this.data.HCaptchaSiteKey = captchaDataSet.sitekey;\r\n }\r\n }\r\n } else if (meerkatReplyForm.innerHTML.indexOf('g-recaptcha') > -1) {\r\n if (typeof window['grecaptcha'] !== 'undefined') {\r\n this.data.IsGoogleRecaptchaInUse = true;\r\n this.data.IsHCaptchaInUse = false;\r\n\r\n let captchaElements = this.findElementWithClass(meerkatReplyForm, '\\s*g-recaptcha\\s*');\r\n\r\n if (typeof captchaElements !== 'undefined' && captchaElements.length > 0) {\r\n let captchaEle = captchaElements[0];\r\n\r\n this.data.CaptchaElementId = 'meerkat_c-' + this.generateId();\r\n captchaEle.setAttribute('id', this.data.CaptchaElementId);\r\n\r\n if (typeof captchaEle.dataset !== 'undefined') {\r\n let captchaDataSet = captchaEle.dataset;\r\n\r\n if (typeof captchaDataSet.sitekey !== 'undefined') {\r\n this.data.GoogleRecaptchaSiteKey = captchaDataSet.sitekey;\r\n }\r\n\r\n if (typeof captchaDataSet.theme !== 'undefined') {\r\n this.data.GoogleRecaptchaTheme = captchaDataSet.theme;\r\n } else {\r\n this.data.GoogleRecaptchaTheme = 'light';\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n form = meerkatReplyForm;\r\n }\r\n\r\n return form;\r\n },\r\n makeReplyInput: function (replyingTo) {\r\n let replyInput = document.createElement('input');\r\n\r\n replyInput.type = 'hidden';\r\n replyInput.value = replyingTo;\r\n replyInput.name = 'ids';\r\n\r\n return replyInput;\r\n },\r\n addEventListeners: function () {\r\n let _this = this,\r\n replyLinks = document.querySelectorAll('[data-meerkat-form=\"reply\"]');\r\n\r\n replyLinks.forEach(function (el) {\r\n el.addEventListener('click', function (event) {\r\n\r\n if (_this.data.ReplyForm !== null && _this.data.ReplyForm.parentNode != null) {\r\n _this.data.ReplyForm.parentNode.removeChild(_this.data.ReplyForm);\r\n }\r\n\r\n _this.data.ReplyForm = _this.getReplyForm();\r\n\r\n let replyingTo = event.target.getAttribute('data-meerkat-reply-to');\r\n\r\n _this.data.ReplyForm.appendChild(_this.makeReplyInput(replyingTo));\r\n _this.data.ReplyForm.addEventListener('submit', _this.data.Extend.submit, false);\r\n\r\n if (typeof MeerkatForms.data.Extend.replyOpen !== 'undefined' &&\r\n MeerkatForms.data.Extend.replyOpen !== null) {\r\n MeerkatForms.data.Extend.replyOpen(_this.data.ReplyForm);\r\n }\r\n\r\n el.parentNode.insertBefore(_this.data.ReplyForm, el.nextSibling);\r\n\r\n if (_this.data.IsGoogleRecaptchaInUse && _this.data.CaptchaElementId !== null) {\r\n if (_this.data.GoogleRecaptchaTheme !== null && _this.data.GoogleRecaptchaSiteKey !== null) {\r\n window.setTimeout(function () {\r\n let captchaElement = window.document.getElementById(_this.data.CaptchaElementId);\r\n\r\n captchaElement.innerHTML = '';\r\n\r\n try {\r\n _this.data.GoogleRecaptchaInstance = window.grecaptcha.render(_this.data.CaptchaElementId, {\r\n 'sitekey': _this.data.GoogleRecaptchaSiteKey,\r\n 'theme': _this.data.GoogleRecaptchaTheme\r\n });\r\n } catch (err) {\r\n }\r\n }, 250);\r\n }\r\n }\r\n\r\n if (_this.data.IsHCaptchaInUse === true && _this.data.CaptchaElementId !== null) {\r\n if (_this.data.HCaptchaSiteKey !== null) {\r\n window.setTimeout(function () {\r\n let captchaElement = window.document.getElementById(_this.data.CaptchaElementId);\r\n\r\n captchaElement.innerHTML = '';\r\n\r\n try {\r\n _this.data.HCaptchaInstance = window.hcaptcha.render(_this.data.CaptchaElementId, {\r\n 'sitekey': _this.data.HCaptchaSiteKey\r\n });\r\n } catch (err) {\r\n }\r\n }, 250);\r\n }\r\n }\r\n\r\n _this.addCancelReplyListeners();\r\n event.preventDefault();\r\n });\r\n });\r\n },\r\n replyHandler: function (event) {\r\n let meerkatForm = MeerkatForms.findClosest(event.target, '[data-meerkat-form]');\r\n\r\n if (typeof meerkatForm !== 'undefined' && meerkatForm !== null) {\r\n\r\n var replyingTo = meerkatForm.querySelectorAll('[name=ids]')[0].value;\r\n\r\n if (typeof MeerkatForms.data.Extend.canceled !== 'undefined' && MeerkatForms.data.Extend.canceled !== null) {\r\n MeerkatForms.data.Extend.canceled(replyingTo, meerkatForm);\r\n }\r\n\r\n if (MeerkatForms.data.Extend.closeOnCancel) {\r\n this.removeEventListener('click', MeerkatForms.replyHandler);\r\n meerkatForm.remove();\r\n }\r\n }\r\n\r\n event.preventDefault();\r\n },\r\n addCancelReplyListeners: function () {\r\n let _this = this,\r\n cancelLinks = document.querySelectorAll('[data-meerkat-form=\"cancel-reply\"]');\r\n\r\n cancelLinks.forEach(function (el) {\r\n el.addEventListener('click', _this.replyHandler);\r\n });\r\n },\r\n init: function () {\r\n this.data.Extend = MeerkatReply;\r\n this.getReplyForm();\r\n this.addEventListeners();\r\n window.MeerkatReply = this.data.Extend;\r\n }\r\n };\r\n\r\n MeerkatForms.init();\r\n})();\r\n","var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});\n","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","module.exports = false;\n","var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true\n : value == NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n defineProperty(it, METADATA, { value: {\n objectID: 'O' + id++, // object ID\n weakData: {} // weak collections IDs\n } });\n};\n\nvar fastKey = function (it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\n\nvar enable = function () {\n meta.enable = function () { /* empty */ };\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n } return result;\n };\n\n $({ target: 'Object', stat: true, forced: true }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\n\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n","/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window'\n ? getWindowNames(it)\n : $getOwnPropertyNames(toIndexedObject(it));\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","'use strict';\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));\n else object[propertyKey] = value;\n};\n","var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n","// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\n\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $some = require('../internals/array-iteration').some;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n some: function some(callbackfn /* , thisArg */) {\n return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","var uncurryThis = require('../internals/function-uncurry-this-clause');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n","var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? $Array : C;\n};\n","var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });\n}\n","'use strict';\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\n\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\n\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};\n","/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});\n","var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n\nvar maybeToString = function (it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = (function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n})();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n})();\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = { a: '7' };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);\n return replacer\n ? call(replacer, searchValue, O, replaceValue)\n : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n\n if (\n typeof replaceValue == 'string' &&\n stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&\n stringIndexOf(replaceValue, '$<') === -1\n ) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n\n push(results, result);\n if (!global) break;\n\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }\n ];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$': return '$';\n case '&': return matched;\n case '`': return stringSlice(str, 0, position);\n case \"'\": return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default: // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};\n","// TODO: Remove from `core-js@4`\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\n\nvar DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = uncurryThis(DatePrototype[TO_STRING]);\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\n\n// `Date.prototype.toString` method\n// https://tc39.es/ecma262/#sec-date.prototype.tostring\nif (String(new Date(NaN)) != INVALID_DATE) {\n defineBuiltIn(DatePrototype, TO_STRING, function toString() {\n var value = thisTimeValue(this);\n // eslint-disable-next-line no-self-compare -- NaN check\n return value === value ? nativeDateToString(this) : INVALID_DATE;\n });\n}\n","'use strict';\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\n\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar nativeToString = RegExpPrototype[TO_STRING];\n\nvar NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, { unsafe: true });\n}\n","var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\n\nvar RegExpPrototype = RegExp.prototype;\n\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R)\n ? call(regExpFlags, R) : flags;\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n\n if (res.done) return res.value;\n\n if (!rx.global) return regExpExec(rx, S);\n\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }\n ];\n});\n","'use strict';\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this-clause');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? nativeIndexOf(this, searchElement, fromIndex) || 0\n : $indexOf(this, searchElement, fromIndex);\n }\n});\n","var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar forEach = require('../internals/array-for-each');\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {\n forEach: forEach\n});\n","var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\nvar handlePrototype = function (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\n\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\n\nhandlePrototype(DOMTokenListPrototype);\n","// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};\n","// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\n\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\n\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;\n","// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/web.set-interval');\nrequire('../modules/web.set-timeout');\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n setInterval: setInterval\n});\n","/* global Bun -- Deno case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis([].slice);\n","var $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};\n","var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar schedulersFix = require('../internals/schedulers-fix');\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n setTimeout: setTimeout\n});\n"],"sourceRoot":""} \ No newline at end of file