25-plus-5-Clock/public/tests.js

581 lines
971 KiB
JavaScript
Raw Normal View History

2023-04-03 05:36:00 +02:00
var FCC_Global=function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=91)}([function(e,t,r){var a=r(84)();e.exports=a;try{regeneratorRuntime=a}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}},function(e,t){function r(e,t,r,a,n,o,i){try{var s=e[o](i),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(a,n)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(n,o){var i=e.apply(t,a);function s(e){r(i,n,o,s,u,"next",e)}function u(e){r(i,n,o,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){e.exports=r(5)},function(e,t){
/*!
* Chai - flag utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t,r){var a=e.__flags||(e.__flags=Object.create(null));if(3!==arguments.length)return a[t];a[t]=r}},function(e,t,r){var a=r(85),n=r(86),o=r(30),i=r(87);e.exports=function(e){return a(e)||n(e)||o(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){
/*!
* chai
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=[];
/*!
* Chai version
*/t.version="4.3.3",
/*!
* Assertion Error
*/
t.AssertionError=r(23);
/*!
* Utils for plugins (not exported)
*/
var n=r(43);t.use=function(e){return~a.indexOf(e)||(e(t,n),a.push(e)),t},
/*!
* Utility Functions
*/
t.util=n;
/*!
* Configuration
*/
var o=r(7);t.config=o;
/*!
* Primary `Assertion` prototype
*/
var i=r(66);t.use(i);
/*!
* Core Assertions
*/
var s=r(67);t.use(s);
/*!
* Expect interface
*/
var u=r(68);t.use(u);
/*!
* Should interface
*/
var l=r(69);t.use(l);
/*!
* Assert interface
*/
var c=r(70);t.use(c)},function(e,t){
/*!
* Chai - transferFlags utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t,r){var a=e.__flags||(e.__flags=Object.create(null));for(var n in t.__flags||(t.__flags=Object.create(null)),r=3!==arguments.length||r,a)(r||"object"!==n&&"ssfi"!==n&&"lockSsfi"!==n&&"message"!=n)&&(t.__flags[n]=a[n])}},function(e,t){e.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"]}},function(e){e.exports=JSON.parse('[{"fips":1001,"state":"AL","area_name":"Autauga County","bachelorsOrHigher":21.9},{"fips":1003,"state":"AL","area_name":"Baldwin County","bachelorsOrHigher":28.6},{"fips":1005,"state":"AL","area_name":"Barbour County","bachelorsOrHigher":13.6},{"fips":1007,"state":"AL","area_name":"Bibb County","bachelorsOrHigher":10.2},{"fips":1009,"state":"AL","area_name":"Blount County","bachelorsOrHigher":12.3},{"fips":1011,"state":"AL","area_name":"Bullock County","bachelorsOrHigher":14.1},{"fips":1013,"state":"AL","area_name":"Butler County","bachelorsOrHigher":14.3},{"fips":1015,"state":"AL","area_name":"Calhoun County","bachelorsOrHigher":16.9},{"fips":1017,"state":"AL","area_name":"Chambers County","bachelorsOrHigher":12.2},{"fips":1019,"state":"AL","area_name":"Cherokee County","bachelorsOrHigher":13.7},{"fips":1021,"state":"AL","area_name":"Chilton County","bachelorsOrHigher":13.5},{"fips":1023,"state":"AL","area_name":"Choctaw County","bachelorsOrHigher":12.8},{"fips":1025,"state":"AL","area_name":"Clarke County","bachelorsOrHigher":11.9},{"fips":1027,"state":"AL","area_name":"Clay County","bachelorsOrHigher":8.6},{"fips":1029,"state":"AL","area_name":"Cleburne County","bachelorsOrHigher":10.6},{"fips":1031,"state":"AL","area_name":"Coffee County","bachelorsOrHigher":23.2},{"fips":1033,"state":"AL","area_name":"Colbert County","bachelorsOrHigher":17.6},{"fips":1035,"state":"AL","area_name":"Conecuh County","bachelorsOrHigher":8.3},{"fips":1037,"state":"AL","area_name":"Coosa County","bachelorsOrHigher":9.1},{"fips":1039,"state":"AL","area_name":"Covington County","bachelorsOrHigher":14.6},{"fips":1041,"state":"AL","area_name":"Crenshaw County","bachelorsOrHigher":12.5},{"fips":1043,"state":"AL","area_name":"Cullman County","bachelorsOrHigher":15.1},{"fips":1045,"state":"AL","area_name":"Dale County","bachelorsOrHigher":16.9},{"fips":1047,"state":"AL","area_name":"Dallas County","bachelorsOrHigher":14.5},{"fips":1049,"state":"AL","area_name":"DeKalb County","bachelorsOrHigher":11.3},{"fips":1051,"state":"AL","area_name":"Elmore County","bachelorsOrHigher":21.4},{"fips":1053,"state":"AL","area_name":"Escambia County","bachelorsOrHigher":12.5},{"fips":1055,"state":"AL","area_name":"Etowah County","bachelorsOrHigher":15.4},{"fips":1057,"state":"AL","area_name":"Fayette County","bachelorsOrHigher":13.8},{"fips":1059,"state":"AL","area_name":"Franklin County","bachelorsOrHigher":10.9},{"fips":1061,"state":"AL","area_name":"Geneva County","bachelorsOrHigher":11.2},{"fips":1063,"state":"AL","area_name":"Greene County","bachelorsOrHigher":11.5},{"fips":1065,"state":"AL","area_name":"Hale County","bachelorsOrHigher":14},{"fips":1067,"state":"AL","area_name":"Henry County","bachelorsOrHigher":16.8},{"fips":1069,"state":"AL","area_name":"Houston County","bachelorsOrHigher":20.1},{"fips":1071,"state":"AL","area_name":"Jackson County","bachelorsOrHigher":12.9},{"fips":1073,"state":"AL","area_name":"Jefferson County","bachelorsOrHigher":30.3},{"fips":1075,"state":"AL","area_name":"Lamar County","bachelorsOrHigher":11.4},{"fips":1077,"state":"AL","area_name":"Lauderdale County","bachelorsOrHigher":22.1},{"fips":1079,"state":"AL","area_name":"Lawrence County","bachelorsOrHigher":11.3},{"fips":1081,"state":"AL","area_name":"Lee County","bachelorsOrHigher":33.2},{"fips":1083,"state":"AL","area_name":"Limestone County","bachelorsOrHigher":23.1},{"fips":1085,"state":"AL","area_name":"Lowndes County","bachelorsOrHigher":13.2},{"fips":1087,"state":"AL","area_name":"Macon County","bachelorsOrHigher":19.4},{"fips":1089,"state":"AL","area_name":"Madison County","bachelorsOrHigher":38.6},{"fips":1091,"state":"AL","area_name":"Marengo County"
/*!
* Chai - isProxyEnabled helper
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/e.exports=function(){return a.useProxy&&"undefined"!=typeof Proxy&&"undefined"!=typeof Reflect}},function(e,t){var r=Object.getOwnPropertyDescriptor((function(){}),"length");
/*!
* Chai - addLengthGuard utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/e.exports=function(e,t,a){return r.configurable?(Object.defineProperty(e,"length",{get:function(){if(a)throw Error("Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.');throw Error("Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e):e}},function(e,t,r){var a=r(7),n=r(3),o=r(56),i=r(12),s=["__flags","__methods","_obj","assert"];e.exports=function(e,t){return i()?new Proxy(e,{get:function e(r,i){if("string"==typeof i&&-1===a.proxyExcludedKeys.indexOf(i)&&!Reflect.has(r,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');var u=null,l=4;throw o(r).forEach((function(e){if(!Object.prototype.hasOwnProperty(e)&&-1===s.indexOf(e)){var t=function(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var a=[],n=0;n<=e.length;n++)a[n]=Array(t.length+1).fill(0),a[n][0]=n;for(var o=0;o<t.length;o++)a[0][o]=o;for(n=1;n<=e.length;n++){var i=e.charCodeAt(n-1);for(o=1;o<=t.length;o++)Math.abs(n-o)>=r?a[n][o]=r:a[n][o]=Math.min(a[n-1][o]+1,a[n][o-1]+1,a[n-1][o-1]+(i===t.charCodeAt(o-1)?0:1))}return a[e.length][t.length]}(i,e,l);t<l&&(u=e,l=t)}})),null!==u?Error("Invalid Chai property: "+i+'. Did you mean "'+u+'"?'):Error("Invalid Chai property: "+i)}return-1!==s.indexOf(i)||n(r,"lockSsfi")||n(r,"ssfi",e),Reflect.get(r,i)}}):e}},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",a=e[3];if(!a)return r;if(t&&"function"==typeof btoa){var n=(i=a,s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(u," */")),o=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([n]).join("\n")}var i,s,u;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,a){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(a)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(n[i]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);a&&n[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),t.push(u))}},t}},function(e,t,r){"use strict";(function(e,a){const{nanoid:n}=r(77);var o=r(78),i=r(79),s=r(82);function u(e,t){switch(t){case"function":return"[Function]";case"object":return"{}";case"array":return"[]";default:return e.toString()}}t.inherits=i.inherits,t.escape=function(e){return s.encode(String(e),{useNamedReferences:!1})},t.isString=function(e){return"string"==typeof e},t.slug=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^-\w]/g,"").replace(/-{2,}/g,"-")},t.clean=function(e){var t=(e=e.replace(/\r\n?|[\n\u2028\u2029]/g,"\n").replace(/^\uFEFF/,"").replace(/^function(?:\s*|\s+[^(]*)\([^)]*\)\s*\{((?:.|\n)*?)\s*\}$|^\([^)]*\)\s*=>\s*(?:\{((?:.|\n)*?)\s*\}|((?:.|\n)*))$/,"$1$2$3")).match(/^\n?( *)/)[1].length,r=e.match(/^\n?(\t*)/)[1].length,a=new RegExp("^\n?"+(r?"\t":" ")+"{"+(r||t)+"}","gm");return(e=e.replace(a,"")).trim()};var l=t.canonicalType=function(t){return void 0===t?"undefined":null===t?"null":e.isBuffer(t)?"buffer":Object.prototype.toString.call(t).replace(/^\[.+\s(.+?)]$/,"$1").toLowerCase()};function c(e,t,r){if(void 0===t)return u(e);var a=t*(r=r||1),n=Array.isArray(e)?"[":"{",o=Array.isArray(e)?"]":"}",i="number"==typeof e.length?e.length:Object.keys(e).length;function s(e,t){return new Array(t).join(e)}function u(e){switch(l(e)){case"null":case"undefined":e="["+e+"]";break;case"array":case"object":e=c(e,t,r+1);break;case"boolean":case"regexp":case"symbol":case"number":e=0===e&
/*!
* assertion-error
* Copyright(c) 2013 Jake Luer <jake@qualiancy.com>
* MIT Licensed
*/
/*!
* Return a function that will copy properties from
* one object to another excluding any originally
* listed. Returned function will create a new `{}`.
*
* @param {String} excluded properties ...
* @return {Function}
*/
function r(){var e=[].slice.call(arguments);function t(t,r){Object.keys(r).forEach((function(a){~e.indexOf(a)||(t[a]=r[a])}))}return function(){for(var e=[].slice.call(arguments),r=0,a={};r<e.length;r++)t(a,e[r]);return a}}function a(e,t,n){var o=r("name","message","stack","constructor","toJSON")(t||{});for(var i in this.message=e||"Unspecified AssertionError",this.showDiff=!1,o)this[i]=o[i];if(n=n||a,Error.captureStackTrace)Error.captureStackTrace(this,n);else try{throw new Error}catch(e){this.stack=e.stack}}
/*!
* Inherit from Error.prototype
*/
/*!
* Primary Exports
*/
e.exports=a,a.prototype=Object.create(Error.prototype),
/*!
* Statically set name
*/
a.prototype.name="AssertionError",
/*!
* Ensure correct constructor
*/
a.prototype.constructor=a,a.prototype.toJSON=function(e){var t=r("constructor","toJSON","stack")({name:this.name},this);return!1!==e&&this.stack&&(t.stack=this.stack),t}},function(e,t){
/*!
* Chai - getActual utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t){return t.length>4?t[4]:e._obj}},function(e,t,r){
/*!
* Chai - flag utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(19),n=r(7);e.exports=function(e){var t=a(e),r=Object.prototype.toString.call(e);if(n.truncateThreshold&&t.length>=n.truncateThreshold){if("[object Function]"===r)return e.name&&""!==e.name?"[Function: "+e.name+"]":"[Function]";if("[object Array]"===r)return"[ Array("+e.length+") ]";if("[object Object]"===r){var o=Object.keys(e);return"{ Object ("+(o.length>2?o.splice(0,2).join(", ")+", ...":o.join(", "))+") }"}return t}return t}},function(e,t,r){"use strict";var a=Function.prototype.toString,n=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;e.exports=function(e){if("function"!=typeof e)return null;var t="";if(void 0===Function.prototype.name&&void 0===e.name){var r=a.call(e).match(n);r&&(t=r[1])}else t=e.name;return t}},function(e,t,r){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var a=r(49),n=r(50),o=r(51);function i(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(i()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return l(this,e,t,r)}function l(e,t,r,a){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,a){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(a||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===a?new Uint8Array(t):void 0===a?new Uint8Array(t,r):new Uint8Array(t,r,a);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,r,a):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var a=0|d(t,r),n=(e=s(e,a)).write(t,r);n!==a&&(e=e.slice(0,n));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|p(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(a=t.length)!=a?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var a;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function h(e,t){if(c(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|p(t.length);e=s(e,r);for(var a=0;a<r;a+=1)e[a]=255&t[a];return e}function p(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function d(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(e).length;default:if(a)return P(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return x(this,t,r);case"latin1":case"binary":return D(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function m(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function y(e,t,r,a,n){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=u.from(t,a)),u.isBuffer(t))return 0===t.length?-1:b(e,t,r,a,n);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,a,n);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,a,n){var o,i=1,s=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs
/*!
* Chai - getOwnEnumerablePropertySymbols utility
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e){return"function"!=typeof Object.getOwnPropertySymbols?[]:Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var a=r(29);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var a=r(73);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,a(n.key),n)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var a=r(75);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var a=r(15).default,n=r(76);e.exports=function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";function a(){this.percent=0,this.size(0),this.fontSize(11),this.font("helvetica, arial, sans-serif")}e.exports=a,a.prototype.size=function(e){return this._size=e,this},a.prototype.text=function(e){return this._text=e,this},a.prototype.fontSize=function(e){return this._fontSize=e,this},a.prototype.font=function(e){return this._font=e,this},a.prototype.update=function(e){return this.percent=e,this},a.prototype.draw=function(e){try{var t=Math.min(this.percent,100),r=this._size,a=r/2,n=a,o=a,i=a-1,s=this._fontSize;e.font=s+"px "+this._font;var u=2*Math.PI*(t/100);e.clearRect(0,0,r,r),e.strokeStyle="#9f9f9f",e.beginPath(),e.arc(n,o,i,0,u,!1),e.stroke(),e.strokeStyle="#eee",e.beginPath(),e.arc(n,o,i-1,0,u,!0),e.stroke();var l=this._text||(0|t)+"%",c=e.measureText(l).width;e.fillText(l,n-c/2+1,o+s/2-1)}catch(e){}return this}},function(e,t){e.exports='<div id="fcc_foldout_menu_inner"> <label for="test-suite-selector">Select Test Suite:</label> <select name="Test Suite Selector" id="test-suite-selector" onchange="FCC_Global.selectProject(this.value)"> <option id="placeholder" value="">- - -</option> </select> <div id="fcc_test_buttons_wrapper"> <button id="fcc_test_message-box-rerun-button" type="button" class="fcc_foldout_button" title="CTRL + SHIFT + ENTER" onclick="FCC_Global.FCCRerunTests()"> Run Tests </button> <button id="fcc_test_button" type="button" class="fcc_foldout_button fcc_test_btn-default" title="CTRL + SHIFT + T" onclick="FCC_Global.FCCOpenTestModal()"> Tests </button> </div> <div id="fcc_legend_wrapper"> <div class="fcc_legend key"></div> <span class="fcc_legend">Test(s) Failed</span> <div class="fcc_legend key"></div> <span class="fcc_legend">Tests Passed</span> <div class="fcc_legend key"></div> <span class="fcc_legend">Tests Executing</span> </div> <span id="fcc_ask-for-help"><a href="https://forum.freecodecamp.org/c/general" target="_blank">Ask For Help</a> </span> </div> '},function(e,t){e.exports='<div id="fcc_foldout_toggler"> <span id="hamburger_top" class="fcc_hamburger transform_top"></span> <span id="hamburger_middle" class="fcc_hamburger transform_middle"></span> <span i
/*!
* chai
* Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Dependencies that are used for multiple exports are required here only once
*/
var a=r(44);
/*!
* test utility
*/t.test=r(45),
/*!
* type utility
*/
t.type=r(9),
/*!
* expectTypes utility
*/
t.expectTypes=r(46),
/*!
* message utility
*/
t.getMessage=r(47),
/*!
* actual utility
*/
t.getActual=r(24),
/*!
* Inspect util
*/
t.inspect=r(19),
/*!
* Object Display util
*/
t.objDisplay=r(25),
/*!
* Flag utility
*/
t.flag=r(3),
/*!
* Flag transferring utility
*/
t.transferFlags=r(6),
/*!
* Deep equal utility
*/
t.eql=r(53),
/*!
* Deep path info
*/
t.getPathInfo=a.getPathInfo,
/*!
* Check if a property exists
*/
t.hasProperty=a.hasProperty,
/*!
* Function name
*/
t.getName=r(26),
/*!
* add Property
*/
t.addProperty=r(54),
/*!
* add Method
*/
t.addMethod=r(55),
/*!
* overwrite Property
*/
t.overwriteProperty=r(57),
/*!
* overwrite Method
*/
t.overwriteMethod=r(58),
/*!
* Add a chainable method
*/
t.addChainableMethod=r(59),
/*!
* Overwrite chainable method
*/
t.overwriteChainableMethod=r(60),
/*!
* Compare by inspect method
*/
t.compareByInspect=r(61),
/*!
* Get own enumerable property symbols method
*/
t.getOwnEnumerablePropertySymbols=r(28),
/*!
* Get own enumerable properties method
*/
t.getOwnEnumerableProperties=r(62),
/*!
* Checks error against a given set of criteria
*/
t.checkError=r(63),
/*!
* Proxify util
*/
t.proxify=r(14),
/*!
* addLengthGuard util
*/
t.addLengthGuard=r(13),
/*!
* isProxyEnabled helper
*/
t.isProxyEnabled=r(12),
/*!
* isNaN method
*/
t.isNaN=r(64),
/*!
* getOperator method
*/
t.getOperator=r(65)},function(e,t,r){"use strict";function a(e,t){return null!=e&&t in Object(e)}function n(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(e){if("constructor"===e||"__proto__"===e||"prototype"===e)return{};var t=/^\[(\d+)\]$/.exec(e);return t?{i:parseFloat(t[1])}:{p:e.replace(/\\([.[\]])/g,"$1")}}))}function o(e,t,r){var a=e,n=null;r=void 0===r?t.length:r;for(var o=0;o<r;o++){var i=t[o];a&&(a=void 0===i.p?a[i.i]:a[i.p],o===r-1&&(n=a))}return n}function i(e,t){var r=n(t),i=r[r.length-1],s={parent:r.length>1?o(e,r,r.length-1):e,name:i.p||i.i,value:o(e,r)};return s.exists=a(s.parent,s.name),s}e.exports={hasProperty:a,getPathInfo:i,getPathValue:function(e,t){return i(e,t).value},setPathValue:function(e,t,r){return function(e,t,r){for(var a=e,n=r.length,o=null,i=0;i<n;i++){var s=null,u=null;if(o=r[i],i===n-1)a[s=void 0===o.p?o.i:o.p]=t;else if(void 0!==o.p&&a[o.p])a=a[o.p];else if(void 0!==o.i&&a[o.i])a=a[o.i];else{var l=r[i+1];s=void 0===o.p?o.i:o.p,u=void 0===l.p?[]:{},a[s]=u,a=a[s]}}}(e,r,n(t)),e}}},function(e,t,r){
/*!
* Chai - test utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(3);e.exports=function(e,t){var r=a(e,"negate"),n=t[0];return r?!n:n}},function(e,t,r){
/*!
* Chai - expectTypes utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(23),n=r(3),o=r(9);e.exports=function(e,t){var r=n(e,"message"),i=n(e,"ssfi");r=r?r+": ":"",e=n(e,"object"),(t=t.map((function(e){return e.toLowerCase()}))).sort();var s=t.map((function(e,r){var a=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an":"a";return(t.length>1&&r===t.length-1?"or ":"")+a+" "+e})).join(", "),u=o(e).toLowerCase();if(!t.some((function(e){return u===e})))throw new a(r+"object tested must be "+s+", but "+u+" given",void 0,i)}},function(e,t,r){
/*!
* Chai - message composition utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(3),n=r(24),o=r(25);e.exports=function(e,t){var r=a(e,"negate"),i=a(e,"object"),s=t[3],u=n(e,t),l=r?t[2]:t[1],c=a(e,"message");return"function"==typeof l&&(l=l()),l=(l=l||"").replace(/#\{this\}/g,(function(){return o(i)})).replace(/#\{act\}/g,(function(){return o(u)})).replace(/#\{exp\}/g,(function(){return o(s)})),c?c+": "+l:l}},function(e,t,r){(function(e,a){!function(t){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],a=!0,n=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(a=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);a=!0);}catch(e){n=!0,o=e}finally{try{a||null==s.return||s.return()}finally{if(n)throw o}}return r}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var s={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},u={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"};function l(e,t){var r=s[u[t]]||s[t];return r?"[".concat(r[0],"m").concat(String(e),"[").concat(r[1],"m"):String(e)}function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"…";e=String(e);var a=r.length,n=e.length;return a>t&&n>a?r:n>t&&n>a?"".concat(e.slice(0,t-a)).concat(r):e}function h(e,t,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";r=r||t.inspect;var n=e.length;if(0===n)return"";for(var o=t.truncate,i="",s="",u="",l=0;l<n;l+=1){var c=l+1===e.length,h=l+2===e.length;u="".concat("…","(").concat(e.length-l,")");var f=e[l];t.truncate=o-i.length-(c?0:a.length);var p=s||r(f,t)+(c?"":a),d=i.length+p.length,g=d+u.length;if(c&&d>o&&i.length+u.length<=o)break;if(!c&&!h&&g>o)break;if(s=c?"":r(e[l+1],t)+(h?"":a),!c&&h&&g>o&&d+s.length>o)break;if(i+=p,!c&&!h&&d+s.length>=o){u="".concat("…","(").concat(e.length-l-1,")");break}u=""}return"".concat(i).concat(u)}function f(e,t){var r=o(e,2),a=r[0],n=r[1];return t.truncate-=2,"string"==typeof a?a=function(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(a):"number"!=typeof a&&(a="[".concat(t.inspect(a,t),"]")),t.truncate-=a.length,n=t.inspect(n,t),"".concat(a,": ").concat(n)}var p=Function.prototype.toString,d=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,g=function(e){if("function"!=typeof e)return null;var t="";if(void 0===Function.prototype.name&&void 0===e.name){var r=p.call(e).match(d);r&&(t=r[1])}else t=e.name;return t};function m(t,r){var a=function(t){return"function"==typeof e&&t instanceof e?"Buffer":t[Symbol.toStringTag]?t[Symbol.toStringTag]:g(t.constructor)}(t);r.truncate-=a.length+4;var n=Object.keys(t).slice(t.length);if(!t.length&&!n.length)return"".concat(a,"[]");for(var o="",i=0;i<t.length;i++){var s="".concat(r.stylize(c(t[i],r.truncate)
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,r,a,n){var o,i,s=8*n-a-1,u=(1<<s)-1,l=u>>1,c=-7,h=r?n-1:0,f=r?-1:1,p=e[t+h];for(h+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+h],h+=f,c-=8);for(i=o&(1<<-c)-1,o>>=-c,c+=a;c>0;i=256*i+e[t+h],h+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return i?NaN:1/0*(p?-1:1);i+=Math.pow(2,a),o-=l}return(p?-1:1)*i*Math.pow(2,o-a)},t.write=function(e,t,r,a,n,o){var i,s,u,l=8*o-n-1,c=(1<<l)-1,h=c>>1,f=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=a?0:o-1,d=a?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-i))<1&&(i--,u*=2),(t+=i+h>=1?f/u:f*Math.pow(2,1-h))*u>=2&&(i++,u/=2),i+h>=c?(s=0,i=c):i+h>=1?(s=(t*u-1)*Math.pow(2,n),i+=h):(s=t*Math.pow(2,h-1)*Math.pow(2,n),i=0));n>=8;e[r+p]=255&s,p+=d,s/=256,n-=8);for(i=i<<n|s,l+=n;l>0;e[r+p]=255&i,p+=d,i/=256,l-=8);e[r+p-d]|=128*g}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){},function(e,t,r){"use strict";
/*!
* deep-eql
* Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/var a=r(9);function n(){this._key="chai/deep-eql__"+Math.random()+Date.now()}n.prototype={get:function(e){return e[this._key]},set:function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})}};var o="function"==typeof WeakMap?WeakMap:n;
/*!
* Check to see if the MemoizeMap has recorded a result of the two operands
*
* @param {Mixed} leftHandOperand
* @param {Mixed} rightHandOperand
* @param {MemoizeMap} memoizeMap
* @returns {Boolean|null} result
*/function i(e,t,r){if(!r||b(e)||b(t))return null;var a=r.get(e);if(a){var n=a.get(t);if("boolean"==typeof n)return n}return null}
/*!
* Set the result of the equality into the MemoizeMap
*
* @param {Mixed} leftHandOperand
* @param {Mixed} rightHandOperand
* @param {MemoizeMap} memoizeMap
* @param {Boolean} result
*/function s(e,t,r,a){if(r&&!b(e)&&!b(t)){var n=r.get(e);n?n.set(t,a):((n=new o).set(t,a),r.set(e,n))}}
/*!
* Primary Export
*/function u(e,t,r){if(r&&r.comparator)return c(e,t,r);var a=l(e,t);return null!==a?a:c(e,t,r)}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t||!b(e)&&!b(t)&&null}
/*!
* The main logic of the `deepEqual` function.
*
* @param {Mixed} leftHandOperand
* @param {Mixed} rightHandOperand
* @param {Object} [options] (optional) Additional options
* @param {Array} [options.comparator] (optional) Override default algorithm, determining custom equality.
* @param {Array} [options.memoize] (optional) Provide a custom memoization object which will cache the results of
complex objects for a speed boost. By passing `false` you can disable memoization, but this will cause circular
references to blow the stack.
* @return {Boolean} equal match
*/function c(e,t,r){(r=r||{}).memoize=!1!==r.memoize&&(r.memoize||new o);var n=r&&r.comparator,c=i(e,t,r.memoize);if(null!==c)return c;var b=i(t,e,r.memoize);if(null!==b)return b;if(n){var v=n(e,t);if(!1===v||!0===v)return s(e,t,r.memoize,v),v;var _=l(e,t);if(null!==_)return _}var O=a(e);if(O!==a(t))return s(e,t,r.memoize,!1),!1;s(e,t,r.memoize,!0);var w=function(e,t,r,a){switch(r){case"String":case"Number":case"Boolean":case"Date":return u(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return y(e,t,["name","message","code"],a);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return f(e,t,a);case"RegExp":
/*!
* Compare two Regular Expressions for equality.
*
* @param {RegExp} leftHandOperand
* @param {RegExp} rightHandOperand
* @return {Boolean} result
*/
return function(e,t){return e.toString()===t.toString()}
/*!
* Compare two Sets/Maps for equality. Faster than other equality functions.
*
* @param {Set} leftHandOperand
* @param {Set} rightHandOperand
* @param {Object} [options] (Optional)
* @return {Boolean} result
*/(e,t);case"Generator":
/*!
* Simple equality for generator objects such as those returned by generator functions.
*
* @param {Iterable} leftHandOperand
* @param {Iterable} rightHandOperand
* @param {Object} [options] (Optional)
* @return {Boolean} result
*/
return function(e,t,r){return f(d(e),d(t),r)}
/*!
* Determine if the given object has an @@iterator function.
*
* @param {Object} target
* @return {Boolean} `true` if the object has an @@iterator function.
*/(e,t,a);case"DataView":return f(new Uint8Array(e.buffer),new Uint8Array(t.buffer),a);case"ArrayBuffer":return f(new Uint8Array(e),new Uint8Array(t),a);case"Set":case"Map":return h(e,t,a);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:
/*!
* Recursively check the equality of two Objects. Once basic sameness has been established it will defer to `deepEqual`
* for each enumerable key in the object.
*
* @param {Mixed} leftHandOperand
* @param {Mixed} rightHandOperand
* @param {Object} [options] (Optional)
* @return {Boolean} result
*/
return function(e,t,r){var a=g(e),n=g(t),o=m(e),i=m(t);if(a=a.concat(o),n=n.concat(i),a.length&&a.length===n.length)return!1!==f(C(a).sort(),C(n).sort())&&y(e,t,a,r);var s=p(e),u=p(t);if(s.length&&s.length===u.length)return s.sort(),u.sort(),f(s,u,r);if(0===a.length&&0===s.length&&0===n.length&&0===u.length)return!0;return!1}
/*!
* Returns true if the argument is a primitive.
*
* This intentionally returns true for all objects that can be compared by reference,
* including functions and symbols.
*
* @param {Mixed} value
* @return {Boolean} result
*/(e,t,a)}}(e,t,O,r);return s(e,t,r.memoize,w),w}function h(e,t,r){if(e.size!==t.size)return!1;if(0===e.size)return!0;var a=[],n=[];return e.forEach((function(e,t){a.push([e,t])})),t.forEach((function(e,t){n.push([e,t])})),f(a.sort(),n.sort(),r)}
/*!
* Simple equality for flat iterable objects such as Arrays, TypedArrays or Node.js buffers.
*
* @param {Iterable} leftHandOperand
* @param {Iterable} rightHandOperand
* @param {Object} [options] (Optional)
* @return {Boolean} result
*/function f(e,t,r){var a=e.length;if(a!==t.length)return!1;if(0===a)return!0;for(var n=-1;++n<a;)if(!1===u(e[n],t[n],r))return!1;return!0}
/*!
* Gets all iterator entries from the given Object. If the Object has no @@iterator function, returns an empty array.
* This will consume the iterator - which could have side effects depending on the @@iterator implementation.
*
* @param {Object} target
* @returns {Array} an array of entries from the @@iterator function
*/
function p(e){if(function(e){return"undefined"!=typeof Symbol&&"object"==typeof e&&void 0!==Symbol.iterator&&"function"==typeof e[Symbol.iterator]}(e))try{return d(e[Symbol.iterator]())}catch(e){return[]}return[]}
/*!
* Gets all entries from a Generator. This will consume the generator - which could have side effects.
*
* @param {Generator} target
* @returns {Array} an array of entries from the Generator.
*/function d(e){for(var t=e.next(),r=[t.value];!1===t.done;)t=e.next(),r.push(t.value);return r}
/*!
* Gets all own and inherited enumerable keys from a target.
*
* @param {Object} target
* @returns {Array} an array of own and inherited enumerable keys from the target.
*/function g(e){var t=[];for(var r in e)t.push(r);return t}function m(e){for(var t=[],r=Object.getOwnPropertySymbols(e),a=0;a<r.length;a+=1){var n=r[a];Object.getOwnPropertyDescriptor(e,n).enumerable&&t.push(n)}return t}
/*!
* Determines if two objects have matching values, given a set of keys. Defers to deepEqual for the equality check of
* each key. If any value of the given key is not equal, the function will return false (early).
*
* @param {Mixed} leftHandOperand
* @param {Mixed} rightHandOperand
* @param {Array} keys An array of keys to compare the values of leftHandOperand and rightHandOperand against
* @param {Object} [options] (Optional)
* @return {Boolean} result
*/function y(e,t,r,a){var n=r.length;if(0===n)return!0;for(var o=0;o<n;o+=1)if(!1===u(e[r[o]],t[r[o]],a))return!1;return!0}function b(e){return null===e||"object"!=typeof e}function C(e){return e.map((function(e){return"symbol"==typeof e?e.toString():e}))}e.exports=u,e.exports.MemoizeMap=o},function(e,t,r){
/*!
* Chai - addProperty utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(5),n=r(3),o=r(12),i=r(6);e.exports=function(e,t,r){r=void 0===r?function(){}:r,Object.defineProperty(e,t,{get:function e(){o()||n(this,"lockSsfi")||n(this,"ssfi",e);var t=r.call(this);if(void 0!==t)return t;var s=new a.Assertion;return i(this,s),s},configurable:!0})}},function(e,t,r){
/*!
* Chai - addMethod utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(13),n=r(5),o=r(3),i=r(14),s=r(6);e.exports=function(e,t,r){var u=function(){o(this,"lockSsfi")||o(this,"ssfi",u);var e=r.apply(this,arguments);if(void 0!==e)return e;var t=new n.Assertion;return s(this,t),t};a(u,t,!1),e[t]=i(u,t)}},function(e,t){
/*!
* Chai - getProperties utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e){var t=Object.getOwnPropertyNames(e);function r(e){-1===t.indexOf(e)&&t.push(e)}for(var a=Object.getPrototypeOf(e);null!==a;)Object.getOwnPropertyNames(a).forEach(r),a=Object.getPrototypeOf(a);return t}},function(e,t,r){
/*!
* Chai - overwriteProperty utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(5),n=r(3),o=r(12),i=r(6);e.exports=function(e,t,r){var s=Object.getOwnPropertyDescriptor(e,t),u=function(){};s&&"function"==typeof s.get&&(u=s.get),Object.defineProperty(e,t,{get:function e(){o()||n(this,"lockSsfi")||n(this,"ssfi",e);var t=n(this,"lockSsfi");n(this,"lockSsfi",!0);var s=r(u).call(this);if(n(this,"lockSsfi",t),void 0!==s)return s;var l=new a.Assertion;return i(this,l),l},configurable:!0})}},function(e,t,r){
/*!
* Chai - overwriteMethod utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(13),n=r(5),o=r(3),i=r(14),s=r(6);e.exports=function(e,t,r){var u=e[t],l=function(){throw new Error(t+" is not a function")};u&&"function"==typeof u&&(l=u);var c=function(){o(this,"lockSsfi")||o(this,"ssfi",c);var e=o(this,"lockSsfi");o(this,"lockSsfi",!0);var t=r(l).apply(this,arguments);if(o(this,"lockSsfi",e),void 0!==t)return t;var a=new n.Assertion;return s(this,a),a};a(c,t,!1),e[t]=i(c,t)}},function(e,t,r){
/*!
* Chai - addChainingMethod utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(13),n=r(5),o=r(3),i=r(14),s=r(6),u="function"==typeof Object.setPrototypeOf,l=function(){},c=Object.getOwnPropertyNames(l).filter((function(e){var t=Object.getOwnPropertyDescriptor(l,e);return"object"!=typeof t||!t.configurable})),h=Function.prototype.call,f=Function.prototype.apply;e.exports=function(e,t,r,l){"function"!=typeof l&&(l=function(){});var p={method:r,chainingBehavior:l};e.__methods||(e.__methods={}),e.__methods[t]=p,Object.defineProperty(e,t,{get:function(){p.chainingBehavior.call(this);var r=function(){o(this,"lockSsfi")||o(this,"ssfi",r);var e=p.method.apply(this,arguments);if(void 0!==e)return e;var t=new n.Assertion;return s(this,t),t};if(a(r,t,!0),u){var l=Object.create(this);l.call=h,l.apply=f,Object.setPrototypeOf(r,l)}else{Object.getOwnPropertyNames(e).forEach((function(t){if(-1===c.indexOf(t)){var a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a)}}))}return s(this,r),i(r)},configurable:!0})}},function(e,t,r){
/*!
* Chai - overwriteChainableMethod utility
* Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(5),n=r(6);e.exports=function(e,t,r,o){var i=e.__methods[t],s=i.chainingBehavior;i.chainingBehavior=function(){var e=o(s).call(this);if(void 0!==e)return e;var t=new a.Assertion;return n(this,t),t};var u=i.method;i.method=function(){var e=r(u).apply(this,arguments);if(void 0!==e)return e;var t=new a.Assertion;return n(this,t),t}}},function(e,t,r){
/*!
* Chai - compareByInspect utility
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(19);e.exports=function(e,t){return a(e)<a(t)?-1:1}},function(e,t,r){
/*!
* Chai - getOwnEnumerableProperties utility
* Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
/*!
* Module dependencies
*/
var a=r(28);e.exports=function(e){return Object.keys(e).concat(a(e))}},function(e,t,r){"use strict";var a=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\(\/]+)/;function n(e){var t="";if(void 0===e.name){var r=String(e).match(a);r&&(t=r[1])}else t=e.name;return t}e.exports={compatibleInstance:function(e,t){return t instanceof Error&&e===t},compatibleConstructor:function(e,t){return t instanceof Error?e.constructor===t.constructor||e instanceof t.constructor:(t.prototype instanceof Error||t===Error)&&(e.constructor===t||e instanceof t)},compatibleMessage:function(e,t){var r="string"==typeof e?e:e.message;return t instanceof RegExp?t.test(r):"string"==typeof t&&-1!==r.indexOf(t)},getMessage:function(e){var t="";return e&&e.message?t=e.message:"string"==typeof e&&(t=e),t},getConstructorName:function(e){var t=e;return e instanceof Error?t=n(e.constructor):"function"==typeof e&&(t=n(e).trim()||n(new e)),t}}},function(e,t){e.exports=Number.isNaN||
/*!
* Chai - isNaN utility
* Copyright(c) 2012-2015 Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
* MIT Licensed
*/
function(e){return e!=e}},function(e,t,r){var a=r(9),n=r(3);e.exports=function(e,t){var r=n(e,"operator"),o=n(e,"negate"),i=t[3],s=o?t[2]:t[1];if(r)return r;if("function"==typeof s&&(s=s()),(s=s||"")&&!/\shave\s/.test(s)){var u=function(e){var t=a(e);return-1!==["Array","Object","function"].indexOf(t)}(i);return/\snot\s/.test(s)?u?"notDeepStrictEqual":"notStrictEqual":u?"deepStrictEqual":"strictEqual"}}},function(e,t,r){
/*!
* chai
* http://chaijs.com
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
var a=r(7);e.exports=function(e,t){
/*!
* Module dependencies.
*/
var r=e.AssertionError,n=t.flag;
/*!
* Module export.
*/
/*!
* Assertion Constructor
*
* Creates object for chaining.
*
* `Assertion` objects contain metadata in the form of flags. Three flags can
* be assigned during instantiation by passing arguments to this constructor:
*
* - `object`: This flag contains the target of the assertion. For example, in
* the assertion `expect(numKittens).to.equal(7);`, the `object` flag will
* contain `numKittens` so that the `equal` assertion can reference it when
* needed.
*
* - `message`: This flag contains an optional custom error message to be
* prepended to the error message that's generated by the assertion when it
* fails.
*
* - `ssfi`: This flag stands for "start stack function indicator". It
* contains a function reference that serves as the starting point for
* removing frames from the stack trace of the error that's created by the
* assertion when it fails. The goal is to provide a cleaner stack trace to
* end users by removing Chai's internal functions. Note that it only works
* in environments that support `Error.captureStackTrace`, and only when
* `Chai.config.includeStack` hasn't been set to `false`.
*
* - `lockSsfi`: This flag controls whether or not the given `ssfi` flag
* should retain its current value, even as assertions are chained off of
* this object. This is usually set to `true` when creating a new assertion
* from within another assertion. It's also temporarily set to `true` before
* an overwritten assertion gets called by the overwriting assertion.
*
* @param {Mixed} obj target of the assertion
* @param {String} msg (optional) custom error message
* @param {Function} ssfi (optional) starting point for removing stack frames
* @param {Boolean} lockSsfi (optional) whether or not the ssfi flag is locked
* @api private
*/
function o(e,r,a,i){return n(this,"ssfi",a||o),n(this,"lockSsfi",i),n(this,"object",e),n(this,"message",r),t.proxify(this)}e.Assertion=o,Object.defineProperty(o,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),a.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),a.includeStack=e}}),Object.defineProperty(o,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),a.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),a.showDiff=e}}),o.addProperty=function(e,r){t.addProperty(this.prototype,e,r)},o.addMethod=function(e,r){t.addMethod(this.prototype,e,r)},o.addChainableMethod=function(e,r,a){t.addChainableMethod(this.prototype,e,r,a)},o.overwriteProperty=function(e,r){t.overwriteProperty(this.prototype,e,r)},o.overwriteMethod=function(e,r){t.overwriteMethod(this.prototype,e,r)},o.overwriteChainableMethod=function(e,r,a){t.overwriteChainableMethod(this.prototype,e,r,a)},o.prototype.assert=function(e,o,i,s,u,l){var c=t.test(this,arguments);if(!1!==l&&(l=!0),void 0===s&&void 0===u&&(l=!1),!0!==a.showDiff&&(l=!1),!c){o=t.getMessage(this,arguments);var h=t.getActual(this,arguments),f={actual:h,expected:s,showDiff:l},p=t.getOperator(this,arguments);throw p&&(f.operator=p),new r(o,f,a.includeStack?this.assert:n(this,"ssfi"))}},
/*!
* ### ._obj
*
* Quick reference to stored `actual` value for plugin developers.
*
* @api private
*/
Object.defineProperty(o.prototype,"_obj",{get:function(){return n(this,"object")},set:function(e){n(this,"object",e)}})}},function(e,t){
/*!
* chai
* http://chaijs.com
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t){var r=e.Assertion,a=e.AssertionError,n=t.flag;function o(e,r){r&&n(this,"message",r),e=e.toLowerCase();var a=n(this,"object"),o=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";this.assert(e===t.type(a).toLowerCase(),"expected #{this} to be "+o+e,"expected #{this} not to be "+o+e)}function i(e,r){return t.isNaN(e)&&t.isNaN(r)||e===r}function s(){n(this,"contains",!0)}function u(e,o){o&&n(this,"message",o);var s=n(this,"object"),u=t.type(s).toLowerCase(),l=n(this,"message"),c=n(this,"negate"),h=n(this,"ssfi"),f=n(this,"deep"),p=f?"deep ":"";l=l?l+": ":"";var d=!1;switch(u){case"string":d=-1!==s.indexOf(e);break;case"weakset":if(f)throw new a(l+"unable to use .deep.include with WeakSet",void 0,h);d=s.has(e);break;case"map":var g=f?t.eql:i;s.forEach((function(t){d=d||g(t,e)}));break;case"set":f?s.forEach((function(r){d=d||t.eql(r,e)})):d=s.has(e);break;case"array":d=f?s.some((function(r){return t.eql(r,e)})):-1!==s.indexOf(e);break;default:if(e!==Object(e))throw new a(l+"the given combination of arguments ("+u+" and "+t.type(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+t.type(e).toLowerCase(),void 0,h);var m=Object.keys(e),y=null,b=0;if(m.forEach((function(o){var i=new r(s);if(t.transferFlags(this,i,!0),n(i,"lockSsfi",!0),c&&1!==m.length)try{i.property(o,e[o])}catch(e){if(!t.checkError.compatibleConstructor(e,a))throw e;null===y&&(y=e),b++}else i.property(o,e[o])}),this),c&&m.length>1&&b===m.length)throw y;return}this.assert(d,"expected #{this} to "+p+"include "+t.inspect(e),"expected #{this} to not "+p+"include "+t.inspect(e))}function l(){var e=n(this,"object");this.assert(null!=e,"expected #{this} to exist","expected #{this} to not exist")}function c(){var e=n(this,"object"),r=t.type(e);this.assert("Arguments"===r,"expected #{this} to be arguments but got "+r,"expected #{this} to not be arguments")}function h(e,t){t&&n(this,"message",t);var r=n(this,"object");if(n(this,"deep")){var a=n(this,"lockSsfi");n(this,"lockSsfi",!0),this.eql(e),n(this,"lockSsfi",a)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}function f(e,r){r&&n(this,"message",r),this.assert(t.eql(e,n(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}function p(e,o){o&&n(this,"message",o);var i,s=n(this,"object"),u=n(this,"doLength"),l=n(this,"message"),c=l?l+": ":"",h=n(this,"ssfi"),f=t.type(s).toLowerCase(),p=t.type(e).toLowerCase(),d=!0;if(u&&"map"!==f&&"set"!==f&&new r(s,l,h,!0).to.have.property("length"),u||"date"!==f||"date"===p)if("number"===p||!u&&"number"!==f)if(u||"date"===f||"number"===f)d=!1;else{i=c+"expected "+("string"===f?"'"+s+"'":s)+" to be a number or a date"}else i=c+"the argument to above must be a number";else i=c+"the argument to above must be a date";if(d)throw new a(i,void 0,h);if(u){var g,m="length";"map"===f||"set"===f?(m="size",g=s.size):g=s.length,this.assert(g>e,"expected #{this} to have a "+m+" above #{exp} but got #{act}","expected #{this} to not have a "+m+" above #{exp}",e,g)}else this.assert(s>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}function d(e,o){o&&n(this,"message",o);var i,s=n(this,"object"),u=n(this,"doLength"),l=n(this,"message"),c=l?l+": ":"",h=n(this,"ssfi"),f=t.type(s).toLowerCase(),p=t.type(e).toLowerCase(),d=!0;if(u&&"map"!==f&&"set"!==f&&new r(s,l,h,!0).to.have.property("length"),u||"date"!==f||"date"===p)if("number"===p||!u&&"number"!==f)if(u||"date"===f||"number"===f)d=!1;else{i=c+"expected "+("string"===f?"'"+s+"'":s)+" to be a number or a date"}else i=c+"the argument to least must be a number";else i=c+"the argument to least must be a date";if(d)throw new a(i,void 0,h);if(u){var g,m="length";"map"===f||"set"===f?(m="size",g=s.size):g=s.length,this.assert(g>=e,"expected #{this} to have a "+m+" at least #{exp} but got #{act}","expected #{this} to have a "+m+" below #{exp}",e,g)}else this.assert(s>=e,"expected #{this}
/*!
* chai
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t){e.expect=function(t,r){return new e.Assertion(t,r)},e.expect.fail=function(t,r,a,n){throw arguments.length<2&&(a=t,t=void 0),a=a||"expect.fail()",new e.AssertionError(a,{actual:t,expected:r,operator:n},e.expect.fail)}}},function(e,t){
/*!
* chai
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t){var r=e.Assertion;function a(){Object.defineProperty(Object.prototype,"should",{set:function(e){Object.defineProperty(this,"should",{value:e,enumerable:!0,configurable:!0,writable:!0})},get:function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new r(this.valueOf(),null,e):new r(this,null,e)},configurable:!0});var t={fail:function(r,a,n,o){throw arguments.length<2&&(n=r,r=void 0),n=n||"should.fail()",new e.AssertionError(n,{actual:r,expected:a,operator:o},t.fail)},equal:function(e,t,a){new r(e,a).to.equal(t)},Throw:function(e,t,a,n){new r(e,n).to.Throw(t,a)},exist:function(e,t){new r(e,t).to.exist},not:{}};return t.not.equal=function(e,t,a){new r(e,a).to.not.equal(t)},t.not.Throw=function(e,t,a,n){new r(e,n).to.not.Throw(t,a)},t.not.exist=function(e,t){new r(e,t).to.not.exist},t.throw=t.Throw,t.not.throw=t.not.Throw,t}e.should=a,e.Should=a}},function(e,t){
/*!
* chai
* Copyright(c) 2011-2014 Jake Luer <jake@alogicalparadox.com>
* MIT Licensed
*/
e.exports=function(e,t){
/*!
* Chai dependencies.
*/
var r=e.Assertion,a=t.flag,n=e.assert=function(t,a){new r(null,null,e.assert,!0).assert(t,a,"[ negation message unavailable ]")};
/*!
* Module export.
*/n.fail=function(t,r,a,o){throw arguments.length<2&&(a=t,t=void 0),a=a||"assert.fail()",new e.AssertionError(a,{actual:t,expected:r,operator:o},n.fail)},n.isOk=function(e,t){new r(e,t,n.isOk,!0).is.ok},n.isNotOk=function(e,t){new r(e,t,n.isNotOk,!0).is.not.ok},n.equal=function(e,t,o){var i=new r(e,o,n.equal,!0);i.assert(t==a(i,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)},n.notEqual=function(e,t,o){var i=new r(e,o,n.notEqual,!0);i.assert(t!=a(i,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)},n.strictEqual=function(e,t,a){new r(e,a,n.strictEqual,!0).to.equal(t)},n.notStrictEqual=function(e,t,a){new r(e,a,n.notStrictEqual,!0).to.not.equal(t)},n.deepEqual=n.deepStrictEqual=function(e,t,a){new r(e,a,n.deepEqual,!0).to.eql(t)},n.notDeepEqual=function(e,t,a){new r(e,a,n.notDeepEqual,!0).to.not.eql(t)},n.isAbove=function(e,t,a){new r(e,a,n.isAbove,!0).to.be.above(t)},n.isAtLeast=function(e,t,a){new r(e,a,n.isAtLeast,!0).to.be.least(t)},n.isBelow=function(e,t,a){new r(e,a,n.isBelow,!0).to.be.below(t)},n.isAtMost=function(e,t,a){new r(e,a,n.isAtMost,!0).to.be.most(t)},n.isTrue=function(e,t){new r(e,t,n.isTrue,!0).is.true},n.isNotTrue=function(e,t){new r(e,t,n.isNotTrue,!0).to.not.equal(!0)},n.isFalse=function(e,t){new r(e,t,n.isFalse,!0).is.false},n.isNotFalse=function(e,t){new r(e,t,n.isNotFalse,!0).to.not.equal(!1)},n.isNull=function(e,t){new r(e,t,n.isNull,!0).to.equal(null)},n.isNotNull=function(e,t){new r(e,t,n.isNotNull,!0).to.not.equal(null)},n.isNaN=function(e,t){new r(e,t,n.isNaN,!0).to.be.NaN},n.isNotNaN=function(e,t){new r(e,t,n.isNotNaN,!0).not.to.be.NaN},n.exists=function(e,t){new r(e,t,n.exists,!0).to.exist},n.notExists=function(e,t){new r(e,t,n.notExists,!0).to.not.exist},n.isUndefined=function(e,t){new r(e,t,n.isUndefined,!0).to.equal(void 0)},n.isDefined=function(e,t){new r(e,t,n.isDefined,!0).to.not.equal(void 0)},n.isFunction=function(e,t){new r(e,t,n.isFunction,!0).to.be.a("function")},n.isNotFunction=function(e,t){new r(e,t,n.isNotFunction,!0).to.not.be.a("function")},n.isObject=function(e,t){new r(e,t,n.isObject,!0).to.be.a("object")},n.isNotObject=function(e,t){new r(e,t,n.isNotObject,!0).to.not.be.a("object")},n.isArray=function(e,t){new r(e,t,n.isArray,!0).to.be.an("array")},n.isNotArray=function(e,t){new r(e,t,n.isNotArray,!0).to.not.be.an("array")},n.isString=function(e,t){new r(e,t,n.isString,!0).to.be.a("string")},n.isNotString=function(e,t){new r(e,t,n.isNotString,!0).to.not.be.a("string")},n.isNumber=function(e,t){new r(e,t,n.isNumber,!0).to.be.a("number")},n.isNotNumber=function(e,t){new r(e,t,n.isNotNumber,!0).to.not.be.a("number")},n.isFinite=function(e,t){new r(e,t,n.isFinite,!0).to.be.finite},n.isBoolean=function(e,t){new r(e,t,n.isBoolean,!0).to.be.a("boolean")},n.isNotBoolean=function(e,t){new r(e,t,n.isNotBoolean,!0).to.not.be.a("boolean")},n.typeOf=function(e,t,a){new r(e,a,n.typeOf,!0).to.be.a(t)},n.notTypeOf=function(e,t,a){new r(e,a,n.notTypeOf,!0).to.not.be.a(t)},n.instanceOf=function(e,t,a){new r(e,a,n.instanceOf,!0).to.be.instanceOf(t)},n.notInstanceOf=function(e,t,a){new r(e,a,n.notInstanceOf,!0).to.not.be.instanceOf(t)},n.include=function(e,t,a){new r(e,a,n.include,!0).include(t)},n.notInclude=function(e,t,a){new r(e,a,n.notInclude,!0).not.include(t)},n.deepInclude=function(e,t,a){new r(e,a,n.deepInclude,!0).deep.include(t)},n.notDeepInclude=function(e,t,a){new r(e,a,n.notDeepInclude,!0).not.deep.include(t)},n.nestedInclude=function(e,t,a){new r(e,a,n.nestedInclude,!0).nested.include(t)},n.notNestedInclude=function(e,t,a){new r(e,a,n.notNestedInclude,!0).not.nested.include(t)},n.deepNestedInclude=function(e,t,a){new r(e,a,n.deepNestedInclude,!0).deep.nested.include(t)},n.notDeepNestedInclude=function(e,t,a){new r(e,a,n.notDeepNestedInclude,!0).not.deep.nested.include(t)},n.ownInclude=function(e,t,a){new r(e,a,n.ownInclude,!0).own.include(t)},n.notOwnInclude=function(e,t,a){new r(e,a,n.notOwnInclude,!0).not.own.include(t)},n.deepOwnInclude=function(e,t,a){new r(e,a,n.deepOwnInclude,!0).de
/*!
* ### .ifError(object)
*
* Asserts if value is not a false value, and throws if it is a true value.
* This is added to allow for chai to be a drop-in replacement for Node's
* assert class.
*
* var err = new Error('I am a custom error');
* assert.ifError(err); // Rethrows err!
*
* @name ifError
* @param {Object} object
* @namespace Assert
* @api public
*/,n.ifError=function(e){if(e)throw e},n.isExtensible=function(e,t){new r(e,t,n.isExtensible,!0).to.be.extensible},n.isNotExtensible=function(e,t){new r(e,t,n.isNotExtensible,!0).to.not.be.extensible},n.isSealed=function(e,t){new r(e,t,n.isSealed,!0).to.be.sealed},n.isNotSealed=function(e,t){new r(e,t,n.isNotSealed,!0).to.not.be.sealed},n.isFrozen=function(e,t){new r(e,t,n.isFrozen,!0).to.be.frozen},n.isNotFrozen=function(e,t){new r(e,t,n.isNotFrozen,!0).to.not.be.frozen},n.isEmpty=function(e,t){new r(e,t,n.isEmpty,!0).to.be.empty},n.isNotEmpty=function(e,t){new r(e,t,n.isNotEmpty,!0).to.not.be.empty},
/*!
* Aliases.
*/
function e(t,r){return n[r]=n[t],e}("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")}},function(e,t,r){(function(t){var a;a=function(){"use strict";var e,a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function n(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return i(null==t&&r.path)}},r.exports),r.exports}function o(e){return e&&e.default||e}function i(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var s,u,l=function(e){return e&&e.Math==Math&&e},c=l("object"==typeof globalThis&&globalThis)||l("object"==typeof window&&window)||l("object"==typeof self&&self)||l("object"==typeof a&&a)||function(){return this}()||Function("return this")(),h=function(e){try{return!!e()}catch(e){return!0}},f=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),p=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),d=Function.prototype.call,g=p?d.bind(d):function(){return d.apply(d,arguments)},m={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b={f:y&&!m.call({1:2},1)?function(e){var t=y(this,e);return!!t&&t.enumerable}:m},C=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},v=Function.prototype,_=v.bind,O=v.call,w=p&&_.bind(O,O),H=p?function(e){return e&&w(e)}:function(e){return e&&function(){return O.apply(e,arguments)}},A=H({}.toString),E=H("".slice),x=function(e){return E(A(e),8,-1)},D=c.Object,T=H("".split),S=h((function(){return!D("z").propertyIsEnumerable(0)}))?function(e){return"String"==x(e)?T(e,""):D(e)}:D,k=c.TypeError,N=function(e){if(null==e)throw k("Can't call method on "+e);return e},L=function(e){return S(N(e))},I=function(e){return"function"==typeof e},M=function(e){return"object"==typeof e?null!==e:I(e)},R=function(e){return I(e)?e:void 0},B=function(e,t){return arguments.length<2?R(c[e]):c[e]&&c[e][t]},q=H({}.isPrototypeOf),F=B("navigator","userAgent")||"",P=c.process,j=c.Deno,U=P&&P.versions||j&&j.version,V=U&&U.v8;V&&(u=(s=V.split("."))[0]>0&&s[0]<4?1:+(s[0]+s[1])),!u&&F&&(!(s=F.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=F.match(/Chrome\/(\d+)/))&&(u=+s[1]);var G=u,W=!!Object.getOwnPropertySymbols&&!h((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&G&&G<41})),z=W&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=c.Object,Y=z?function(e){return"symbol"==typeof e}:function(e){var t=B("Symbol");return I(t)&&q(t.prototype,K(e))},X=c.String,J=function(e){try{return X(e)}catch(e){return"Object"}},$=c.TypeError,Z=function(e){if(I(e))return e;throw $(J(e)+" is not a function")},Q=function(e,t){var r=e[t];return null==r?void 0:Z(r)},ee=c.TypeError,te=Object.defineProperty,re=function(e,t){try{te(c,e,{value:t,configurable:!0,writable:!0})}catch(r){c[e]=t}return t},ae=c["__core-js_shared__"]||re("__core-js_shared__",{}),ne=n((function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),oe=c.Object,ie=function(e){return oe(N(e))},se=H({}.hasOwnProperty),ue=Object.hasOwn||function(e,t){return se(ie(e),t)},le=0,ce=Math.random(),he=H(1..toString),fe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+he(++le+ce,36)},pe=ne("wks"),de=c.Symbol,ge=de&&de.for,me=z?de:de&&de.withoutSetter||fe,ye=function(e){if(!ue(pe,e)||!W&&"string"!=typeof pe[e]){var t="Symbol."+e;W&&ue(de,e)?pe[e]=de[e]:pe[e]=z&&ge?ge(t):me(t)}return pe[e]},be=c.TypeError,Ce=ye("toPrimitive"),ve=function(e,t){if(!M(e)||Y(e))return e;var r,a=Q(e,Ce);if(a){if(void 0===t&&(t="default"),r=g(a,e,t),!M(r)||Y(r))return r;throw be("Can'
/*!
* mocha
* Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
var o=Rb.createInvalidReporterError,s=Rb.createInvalidInterfaceError,u=Rb.createMochaInstanceAlreadyDisposedError,l=Rb.createMochaInstanceAlreadyRunningError,c=Rb.createUnsupportedError,h=Qb.constants,f=h.EVENT_FILE_PRE_REQUIRE,p=h.EVENT_FILE_POST_REQUIRE,d=h.EVENT_FILE_REQUIRE,g=_b("mocha:mocha");n=t.exports=C;var m,y=lb.defineConstants({INIT:"init",RUNNING:"running",REFERENCES_CLEANED:"referencesCleaned",DISPOSED:"disposed"});if(!lb.isBrowser()&&void 0!==t.paths){var b=lb.cwd();t.paths.push(b,wy.join(b,"node_modules"))}function C(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=wn(wn({},Gv),e),this.files=[],this.options=e,this.suite=new n.Suite("",new n.Context,!0),this._cleanReferencesAfterRun=!0,this._state=y.INIT,this.grep(e.grep).fgrep(e.fgrep).ui(e.ui).reporter(e.reporter,e.reporterOption||e.reporterOptions).slow(e.slow).global(e.global),void 0!==e.timeout&&this.timeout(!1===e.timeout?0:e.timeout),"retries"in e&&this.retries(e.retries),["allowUncaught","asyncOnly","bail","checkLeaks","color","delay","diff","dryRun","failZero","forbidOnly","forbidPending","fullTrace","growl","inlineDiffs","invert"].forEach((function(t){e[t]&&this[t]()}),this),e.rootHooks&&this.rootHooks(e.rootHooks),this._runnerClass=n.Runner,this._lazyLoadFiles=!1,this.isWorker=Boolean(e.isWorker),this.globalSetup(e.globalSetup).globalTeardown(e.globalTeardown).enableGlobalSetup(e.enableGlobalSetup).enableGlobalTeardown(e.enableGlobalTeardown),e.parallel&&(void 0===e.jobs||e.jobs>1)&&(g("attempting to enable parallel mode"),this.parallelMode(!0))}n.utils=lb,n.interfaces=jv,n.reporters=ev,n.Runnable=zb,n.Context=Uv,n.Runner=OC,n.Suite=Qb,n.Hook=$b,n.Test=Dv,n.afterEach=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.afterEach||m.teardown).apply(this,t)},n.after=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.after||m.suiteTeardown).apply(this,t)},n.beforeEach=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.beforeEach||m.setup).apply(this,t)},n.before=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.before||m.suiteSetup).apply(this,t)},n.describe=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.describe||m.suite).apply(this,t)},n.describe.only=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.describe||m.suite).only.apply(this,t)},n.describe.skip=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.describe||m.suite).skip.apply(this,t)},n.it=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.it||m.test).apply(this,t)},n.it.only=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.it||m.test).only.apply(this,t)},n.it.skip=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(m.it||m.test).skip.apply(this,t)},n.xdescribe=n.describe.skip,n.xit=n.it.skip,n.setup=n.beforeEach,n.suiteSetup=n.before,n.suiteTeardown=n.after,n.suite=n.describe,n.teardown=n.afterEach,n.test=n.it,n.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return m.run.apply(this,t)},C.prototype.bail=function(e){return this.suite.bail(!1!==e),this},C.prototype.addFile=function(e){return this.files.push(e),this},C.prototype.reporter=function(e,t){if("function"==typeof e)this._reporter=e;else{var a,n;if(ev[e=e||"spec"]&&(a=ev[e]),!a)try{n=r(72).resolve(e),a=i()}catch(t){if(n)throw o(t.message,n);try{a=i(wy.resolve(e))}catch(t){throw o(t.message,e)}}this._reporter=a}return this.options.reporterOption=t,this.options.reporterOptions=t,this},C.prototype.ui=function(e){var t;if("function"==typeof e)t=e;else if(e=e||"bdd",!(t=n.interfaces[e]))try{t=i()}catch(t){throw s("invalid interface '".concat(e,"'"),e)}return t(this.suite),this.suite.on(f,(function(e){m=e})),this},C.prototype.loadFiles=function(e){var t=this,r=this.suite;this