videomail-client 2.17.1 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).VideomailClient=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],2:[function(e,t,n){function r(e){return t.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},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},{}],3:[function(e,t,n){var r,i;r=this,i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"passive";if(void 0!==e.addEventListener){var s=r.SupportMap[a]?Object.assign({},o,i({},a,!0)):o;e.addEventListener(t,n,s)}};var r=n(1);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.SupportMap=void 0;var i=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(o(r={},i.PASSIVE,!1),o(r,i.CAPTURE,!1),o(r,i.ONCE,!1),r);t.SupportMap=(Object.keys(a).forEach((function(e,t){a[e]=function(e){if(a[e])return a[e];try{var t=Object.defineProperty({},e,{get:function(){a[e]=!0}});window.addEventListener("test",null,t),window.removeListener("test",null)}catch(e){}return a[e]}(e)})),a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PASSIVE="passive",t.CAPTURE="capture",t.ONCE="once"}])},"object"==typeof n&&"object"==typeof t?t.exports=i():"object"==typeof n?n["add-eventlistener-with-options"]=i():r["add-eventlistener-with-options"]=i()},{}],4:[function(e,t,n){var r,i=e("events").EventEmitter,o=e("inherits"),a=e("raf"),s={requestAnimationFrame:a,cancelAnimationFrame:a.cancel};function u(){return!0}function l(e){e=e||{},this.__delay=e.delay||0,this.fixedDelta=!!e.fixedDelta,this.frameCount=0,this.deltaTime=0,this.elapsedTime=0,this.__running=!1,this.__completed=!1,this.setFPS(e.fps||1/0),this.setRequestAnimationFrameObject(e.requestAnimationFrameObject||s)}function c(e){var t,r=Date.now();if(e.__running)return e;n.running+=1,e.__running=!0,e.__lastTime=r,e.deltaTime=0,e.emit("start",e.deltaTime,0,e.frameCount);var i=e.requestAnimationFrameObject,o=function(){if(i!==e.requestAnimationFrameObject)return i=e.requestAnimationFrameObject,void e.requestAnimationFrameObject.requestAnimationFrame(o);e.__isReadyForUpdate()&&e.update(),e.__running?t=e.requestAnimationFrameObject.requestAnimationFrame(o):e.requestAnimationFrameObject.cancelAnimationFrame(t)};return e.requestAnimationFrameObject.requestAnimationFrame(o),e}for(var f in o(l,i),r={off:i.prototype.removeListener,trigger:i.prototype.emit,complete:function(){return this.stop(),this.__completed=!0,this.emit("complete",this.frameCount,this.deltaTime),this},dispose:function(){return this.stop(),this.removeAllListeners(),this},getDeltaTime:function(){return this.deltaTime},getElapsedTime:function(){return this.elapsedTime},getFPS:function(){return this.deltaTime>0?1e3/this.deltaTime:0},getFPSLimit:function(){return this.__fps},getFrameCount:function(){return this.frameCount},getRequestAnimationFrameObject:function(){return this.requestAnimationFrameObject},isRunning:function(){return this.__running},isCompleted:function(){return this.__completed},reset:function(){return this.stop(),this.__completed=!1,this.__lastTime=0,this.deltaTime=0,this.elapsedTime=0,this.frameCount=0,this.emit("reset",0,0,this.frameCount),this},setFPS:function(e){return this.__fps=e,this.__isReadyForUpdate=function(e){var t=1e3/e,n=Date.now();if(e<=0||e===1/0)return u;var r=Math.ceil(1e3/60)/2;return function(){var e=Date.now();return!(e-n<t-r||(n=e,0))}}(e),this},setRequestAnimationFrameObject:function(e){if("function"!=typeof e.requestAnimationFrame||"function"!=typeof e.cancelAnimationFrame)throw new Error("Invalid object provide to `setRequestAnimationFrameObject`");return this.requestAnimationFrameObject=e,this},start:function(){var e=this;return this.__delay?setTimeout((function(){c(e)}),this.__delay):c(this),this},stop:function(){return this.__running&&(this.__running=!1,n.running-=1,this.emit("stop",this.deltaTime,this.elapsedTime,this.frameCount)),this},update:function(){this.frameCount++;var e=Date.now();return this.__lastTime=this.__lastTime||e,this.deltaTime=this.fixedDelta||n.globalFixedDelta?1e3/Math.min(60,this.__fps):e-this.__lastTime,this.elapsedTime+=this.deltaTime,this.__lastTime=e,this.emit("update",this.deltaTime,this.elapsedTime,this.frameCount),this}})l.prototype[f]=r[f];function d(e,t){1===arguments.length&&"function"==typeof e&&(t=e,e={});var n=new l(e);return t&&n.on("update",t),n}function p(e,t){return"function"==typeof e.bind?e.bind(t):function(){return e.apply(t,arguments)}}t.exports=n=d,n.bound=function(e,t){for(var n,r=d(e,t),i=function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)"function"==typeof e[t[r]]&&n.push(t[r]);return n}(l.prototype),o=!!Function.prototype.bind,a=0;a<i.length;a++)r[n=i[a]]=o?r[n].bind(r):p(r[n],r);return r},n.Animitter=l,n.globalFixedDelta=!1,n.EventEmitter=i,n.running=0,Date.now=Date.now||function(){return(new Date).getTime()}},{events:242,inherits:263,raf:280}],5:[function(e,t,n){(function(e){(function(){!function(n){"use strict";var r,i="function"==typeof(r=n.atob)?r:"function"==typeof e?function(t){
1
+ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).VideomailClient=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],2:[function(e,t,n){function r(e){return t.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},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},{}],3:[function(e,t,n){var r,i;r=this,i=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"passive";if(void 0!==e.addEventListener){var s=r.SupportMap[a]?Object.assign({},o,i({},a,!0)):o;e.addEventListener(t,n,s)}};var r=n(1);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.SupportMap=void 0;var i=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(o(r={},i.PASSIVE,!1),o(r,i.CAPTURE,!1),o(r,i.ONCE,!1),r);t.SupportMap=(Object.keys(a).forEach((function(e,t){a[e]=function(e){if(a[e])return a[e];try{var t=Object.defineProperty({},e,{get:function(){a[e]=!0}});window.addEventListener("test",null,t),window.removeListener("test",null)}catch(e){}return a[e]}(e)})),a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PASSIVE="passive",t.CAPTURE="capture",t.ONCE="once"}])},"object"==typeof n&&"object"==typeof t?t.exports=i():"object"==typeof n?n["add-eventlistener-with-options"]=i():r["add-eventlistener-with-options"]=i()},{}],4:[function(e,t,n){var r,i=e("events").EventEmitter,o=e("inherits"),a=e("raf"),s={requestAnimationFrame:a,cancelAnimationFrame:a.cancel};function u(){return!0}function l(e){e=e||{},this.__delay=e.delay||0,this.fixedDelta=!!e.fixedDelta,this.frameCount=0,this.deltaTime=0,this.elapsedTime=0,this.__running=!1,this.__completed=!1,this.setFPS(e.fps||1/0),this.setRequestAnimationFrameObject(e.requestAnimationFrameObject||s)}function c(e){var t,r=Date.now();if(e.__running)return e;n.running+=1,e.__running=!0,e.__lastTime=r,e.deltaTime=0,e.emit("start",e.deltaTime,0,e.frameCount);var i=e.requestAnimationFrameObject,o=function(){if(i!==e.requestAnimationFrameObject)return i=e.requestAnimationFrameObject,void e.requestAnimationFrameObject.requestAnimationFrame(o);e.__isReadyForUpdate()&&e.update(),e.__running?t=e.requestAnimationFrameObject.requestAnimationFrame(o):e.requestAnimationFrameObject.cancelAnimationFrame(t)};return e.requestAnimationFrameObject.requestAnimationFrame(o),e}for(var f in o(l,i),r={off:i.prototype.removeListener,trigger:i.prototype.emit,complete:function(){return this.stop(),this.__completed=!0,this.emit("complete",this.frameCount,this.deltaTime),this},dispose:function(){return this.stop(),this.removeAllListeners(),this},getDeltaTime:function(){return this.deltaTime},getElapsedTime:function(){return this.elapsedTime},getFPS:function(){return this.deltaTime>0?1e3/this.deltaTime:0},getFPSLimit:function(){return this.__fps},getFrameCount:function(){return this.frameCount},getRequestAnimationFrameObject:function(){return this.requestAnimationFrameObject},isRunning:function(){return this.__running},isCompleted:function(){return this.__completed},reset:function(){return this.stop(),this.__completed=!1,this.__lastTime=0,this.deltaTime=0,this.elapsedTime=0,this.frameCount=0,this.emit("reset",0,0,this.frameCount),this},setFPS:function(e){return this.__fps=e,this.__isReadyForUpdate=function(e){var t=1e3/e,n=Date.now();if(e<=0||e===1/0)return u;var r=Math.ceil(1e3/60)/2;return function(){var e=Date.now();return!(e-n<t-r||(n=e,0))}}(e),this},setRequestAnimationFrameObject:function(e){if("function"!=typeof e.requestAnimationFrame||"function"!=typeof e.cancelAnimationFrame)throw new Error("Invalid object provide to `setRequestAnimationFrameObject`");return this.requestAnimationFrameObject=e,this},start:function(){var e=this;return this.__delay?setTimeout((function(){c(e)}),this.__delay):c(this),this},stop:function(){return this.__running&&(this.__running=!1,n.running-=1,this.emit("stop",this.deltaTime,this.elapsedTime,this.frameCount)),this},update:function(){this.frameCount++;var e=Date.now();return this.__lastTime=this.__lastTime||e,this.deltaTime=this.fixedDelta||n.globalFixedDelta?1e3/Math.min(60,this.__fps):e-this.__lastTime,this.elapsedTime+=this.deltaTime,this.__lastTime=e,this.emit("update",this.deltaTime,this.elapsedTime,this.frameCount),this}})l.prototype[f]=r[f];function d(e,t){1===arguments.length&&"function"==typeof e&&(t=e,e={});var n=new l(e);return t&&n.on("update",t),n}function p(e,t){return"function"==typeof e.bind?e.bind(t):function(){return e.apply(t,arguments)}}t.exports=n=d,n.bound=function(e,t){for(var n,r=d(e,t),i=function(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)"function"==typeof e[t[r]]&&n.push(t[r]);return n}(l.prototype),o=!!Function.prototype.bind,a=0;a<i.length;a++)r[n=i[a]]=o?r[n].bind(r):p(r[n],r);return r},n.Animitter=l,n.globalFixedDelta=!1,n.EventEmitter=i,n.running=0,Date.now=Date.now||function(){return(new Date).getTime()}},{events:242,inherits:263,raf:285}],5:[function(e,t,n){(function(e){(function(){!function(n){"use strict";var r,i="function"==typeof(r=n.atob)?r:"function"==typeof e?function(t){
2
2
  //!! Deliberately using an API that's deprecated in node.js because
3
3
  //!! this file is for browsers and we expect them to cope with it.
4
4
  //!! Discussion: github.com/node-browser-compat/atob/pull/9
@@ -18,13 +18,13 @@ t.exports=function(e){var t,n=String.prototype.split,r=/()??/.exec("")[1]===e;re
18
18
  */
19
19
  "use strict";var t=e("base64-js"),r=e("ieee754");n.Buffer=a,n.SlowBuffer=function(e){+e!=e&&(e=0);return a.alloc(+e)},n.INSPECT_MAX_BYTES=50;var i=2147483647;function o(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return t.__proto__=a.prototype,t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|d(e,t),r=o(n),i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer))return function(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n);return r.__proto__=a.prototype,r}(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return a.from(r,t,n);var i=function(e){if(a.isBuffer(e)){var t=0|f(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||q(e.length)?o(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return u(e),o(e<0?0:0|f(e))}function c(e){for(var t=e.length<0?0:0|f(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(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(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return B(e).length;default:if(i)return r?-1:D(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return x(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),q(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):m(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;d<u;d++)if(l(e,o+d)!==l(t,d)){f=!1;break}if(f)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(q(s))return a;e[n+a]=s}return a}function g(e,t,n,r){return U(D(t,e.length-n),e,n,r)}function v(e,t,n,r){return U(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return v(e,t,n,r)}function j(e,t,n,r){return U(B(t),e,n,r)}function E(e,t,n,r){return U(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function x(e,n,r){return 0===n&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,f=l>239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=_));return n}(r)}n.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,n){return s(e,t,n)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)}(e,t,n)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=a.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(F(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)h(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)h(this,t,t+3),h(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)h(this,t,t+7),h(this,t+1,t+6),h(this,t+2,t+5),h(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,r,i){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),u=Math.min(o,s),l=this.slice(r,i),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){o=l[f],s=c[f];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},a.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},a.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return g(this,e,t,n);case"ascii":return v(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return j(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function k(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=N(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function T(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(e,t,n,i,o){return t=+t,n>>>=0,o||I(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return t=+t,n>>>=0,o||I(e,0,n,8),r.write(e,t,n,i,52,8),n+8}a.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=a.prototype,r},a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||T(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||T(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return e>>>=0,t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||T(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||T(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||T(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||T(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return P(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return P(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var o=i-1;o>=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var s=a.isBuffer(e)?e:a.from(e,r),u=s.length;if(0===u)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=s[o%u]}return this};var L=/[^+/0-9A-Za-z-_]/g;function N(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function B(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function q(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":8,buffer:11,ieee754:261}],12:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("./"),o=i(r("String.prototype.indexOf"));t.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},{"./":13,"get-intrinsic":249}],13:[function(e,t,n){"use strict";var r=e("function-bind"),i=e("get-intrinsic"),o=i("%Function.prototype.apply%"),a=i("%Function.prototype.call%"),s=i("%Reflect.apply%",!0)||r.call(a,o),u=i("%Object.getOwnPropertyDescriptor%",!0),l=i("%Object.defineProperty%",!0),c=i("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}t.exports=function(e){var t=s(r,a,arguments);if(u&&l){var n=u(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(r,o,arguments)};l?l(t.exports,"apply",{value:f}):t.exports.apply=f},{"function-bind":247,"get-intrinsic":249}],14:[function(e,t,n){var r,i=e("typedarray-to-buffer"),o=e("atob"),a="undefined"!=typeof document&&"function"==typeof document.createElement;t.exports=function(e,t){void 0===t&&(t={});var n=this;if(t.image=t.image?t.image:{},t.image.types=t.image.types?t.image.types:[],t.image.types.length>2)throw new Error("Too many image types are specified!");t.image.types.length<1&&(t.image.types=a?["webp","jpeg"]:["png"]),t.image.quality||(t.image.quality=.5);var s=parseFloat(t.image.quality);function u(e){var n;return t.image.types[e]&&(n="image/"+t.image.types[e]),n}function l(e,n){var r=e&&e.match(n);return r&&t.debug&&t.debug("Image type %s verified",n),r}function c(){var t;return a?(t=document.createElement("canvas")).width=t.height=1:t=e,t}function f(e,t){try{c().toDataURL(e,(function(n,r){n?t(n):t(null,l(r,e))}))}catch(e){t(null,!1)}}function d(e){var n;try{var r=c();n=l(r.toDataURL&&r.toDataURL(e),e)}catch(n){t.debug&&t.logger.debug("Failed to call toDataURL() on canvas for image type %s",e)}return n}function p(e){var n=u(0);if(!e)return function(e){return d(e)||t.image.types[1]&&d(e=u(1))||(e=null),!e&&t.debug&&t.logger.debug("Unable to verify image type"),e}(n);!function(e,t){f(e,(function(n,r){n?t(n):r?t(null,e):f(e=u(1),(function(n,r){n?t(n):t(null,r?e:null)}))}))}(n,e)}function h(e){var t,r=e.split(",")[1];if("function"==typeof o)t=o(r);else{if("function"!=typeof n.constructor.atob)throw new Error("atob function is missing");t=n.constructor.atob(r)}for(var a=new Uint8Array(t.length),s=0,u=t.length;s<u;s++)a[s]=t.charCodeAt(s);return i(a)}this.toBuffer=function(t){if(!t)return(i=n.getImageType())&&(r=h(e.toDataURL(i,s))),r;var r,i;!function(t){n.getImageType((function(n,r){n?t(n):r?e.toDataURL(r,(function(e,n){e?t(e):t(null,h(n))})):t()}))}(t)},this.getImageType=function(e){if(!e)return r&&a||(r=p()),r;r&&a?e(null,r):p((function(t,n){t?e(t):e(null,r=n)}))}}},{atob:5,"typedarray-to-buffer":311}],15:[function(e,t,n){var r=e("indexof");function i(e){return!!e}t.exports=function(e){var t=e.classList;if(t)return t;var n={add:o,remove:a,contains:s,toggle:function(e){return s(e)?(a(e),!1):(o(e),!0)},toString:function(){return e.className},length:0,item:function(e){return u()[e]||null}};return n;function o(e){var t=u();r(t,e)>-1||(t.push(e),l(t))}function a(e){var t=u(),n=r(t,e);-1!==n&&(t.splice(n,1),l(t))}function s(e){return r(u(),e)>-1}function u(){return function(e,t){for(var n=[],r=0;r<e.length;r++)t(e[r])&&n.push(e[r]);return n}(e.className.split(" "),i)}function l(t){var r=t.length;e.className=t.join(" "),n.length=r;for(var i=0;i<t.length;i++)n[i]=t[i];delete t[r]}}},{indexof:262}],16:[function(e,t,n){
20
20
  /*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
21
- "document"in self&&(!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?function(e){"use strict";if("Element"in e){var t="classList",n=e.Element.prototype,r=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(e,t)},u=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},l=u.prototype=[],c=function(){return new u(this)};if(a.prototype=Error.prototype,l.item=function(e){return this[e]||null},l.contains=function(e){return-1!==s(this,e+="")},l.add=function(){var e,t=arguments,n=0,r=t.length,i=!1;do{e=t[n]+"",-1===s(this,e)&&(this.push(e),i=!0)}while(++n<r);i&&this._updateClassName()},l.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(e=n[r]+"",t=s(this,e);-1!==t;)this.splice(t,1),o=!0,t=s(this,e)}while(++r<i);o&&this._updateClassName()},l.toggle=function(e,t){e+="";var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},l.toString=function(){return this.join(" ")},r.defineProperty){var f={get:c,enumerable:!0,configurable:!0};try{r.defineProperty(n,t,f)}catch(e){-2146823252===e.number&&(f.enumerable=!1,r.defineProperty(n,t,f))}}else r.prototype.__defineGetter__&&n.__defineGetter__(t,c)}}(self):function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}())},{}],17:[function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}void 0!==t&&(t.exports=r),r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],18:[function(e,t,n){t.exports=function(e,t){if(e.contains)return e.contains(t);var n=e.compareDocumentPosition(t);return 0===n||16&n}},{}],19:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/try-to-string"),a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},{"../internals/global":85,"../internals/is-callable":98,"../internals/try-to-string":172}],20:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-constructor"),o=e("../internals/try-to-string"),a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},{"../internals/global":85,"../internals/is-constructor":99,"../internals/try-to-string":172}],21:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.String,a=r.TypeError;t.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},{"../internals/global":85,"../internals/is-callable":98}],22:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":119,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],23:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},{"../internals/string-multibyte":154}],24:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-is-prototype-of"),o=r.TypeError;t.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},{"../internals/global":85,"../internals/object-is-prototype-of":127}],25:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.String,a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},{"../internals/global":85,"../internals/is-object":102}],26:[function(e,t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},{}],27:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/array-buffer-native"),s=e("../internals/descriptors"),u=e("../internals/global"),l=e("../internals/is-callable"),c=e("../internals/is-object"),f=e("../internals/has-own-property"),d=e("../internals/classof"),p=e("../internals/try-to-string"),h=e("../internals/create-non-enumerable-property"),y=e("../internals/redefine"),m=e("../internals/object-define-property").f,b=e("../internals/object-is-prototype-of"),g=e("../internals/object-get-prototype-of"),v=e("../internals/object-set-prototype-of"),w=e("../internals/well-known-symbol"),j=e("../internals/uid"),E=u.Int8Array,x=E&&E.prototype,S=u.Uint8ClampedArray,_=S&&S.prototype,A=E&&g(E),R=x&&g(x),k=Object.prototype,O=u.TypeError,T=w("toStringTag"),M=j("TYPED_ARRAY_TAG"),I=j("TYPED_ARRAY_CONSTRUCTOR"),P=a&&!!v&&"Opera"!==d(u.opera),C=!1,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},D=function(e){if(!c(e))return!1;var t=d(e);return f(L,t)||f(N,t)};for(r in L)(o=(i=u[r])&&i.prototype)?h(o,I,i):P=!1;for(r in N)(o=(i=u[r])&&i.prototype)&&h(o,I,i);if((!P||!l(A)||A===Function.prototype)&&(A=function(){throw O("Incorrect invocation")},P))for(r in L)u[r]&&v(u[r],A);if((!P||!R||R===k)&&(R=A.prototype,P))for(r in L)u[r]&&v(u[r].prototype,R);if(P&&g(_)!==R&&v(_,R),s&&!f(R,T))for(r in C=!0,m(R,T,{get:function(){return c(this)?this[M]:void 0}}),L)u[r]&&h(u[r],M,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_CONSTRUCTOR:I,TYPED_ARRAY_TAG:C&&M,aTypedArray:function(e){if(D(e))return e;throw O("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!v||b(A,e)))return e;throw O(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var i in L){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}R[e]&&!n||y(R,e,n?t:P&&x[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(v){if(n)for(r in L)if((i=u[r])&&f(i,e))try{delete i[e]}catch(e){}if(A[e]&&!n)return;try{return y(A,e,n?t:P&&A[e]||t)}catch(e){}}for(r in L)!(i=u[r])||i[e]&&!n||y(i,e,t)}},isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(L,t)||f(N,t)},isTypedArray:D,TypedArray:A,TypedArrayPrototype:R}},{"../internals/array-buffer-native":26,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/descriptors":56,"../internals/global":85,"../internals/has-own-property":86,"../internals/is-callable":98,"../internals/is-object":102,"../internals/object-define-property":121,"../internals/object-get-prototype-of":126,"../internals/object-is-prototype-of":127,"../internals/object-set-prototype-of":131,"../internals/redefine":139,"../internals/try-to-string":172,"../internals/uid":178,"../internals/well-known-symbol":182}],28:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/descriptors"),a=e("../internals/array-buffer-native"),s=e("../internals/function-name"),u=e("../internals/create-non-enumerable-property"),l=e("../internals/redefine-all"),c=e("../internals/fails"),f=e("../internals/an-instance"),d=e("../internals/to-integer-or-infinity"),p=e("../internals/to-length"),h=e("../internals/to-index"),y=e("../internals/ieee754"),m=e("../internals/object-get-prototype-of"),b=e("../internals/object-set-prototype-of"),g=e("../internals/object-get-own-property-names").f,v=e("../internals/object-define-property").f,w=e("../internals/array-fill"),j=e("../internals/array-slice-simple"),E=e("../internals/set-to-string-tag"),x=e("../internals/internal-state"),S=s.PROPER,_=s.CONFIGURABLE,A=x.get,R=x.set,k="ArrayBuffer",O="DataView",T="Wrong index",M=r.ArrayBuffer,I=M,P=I&&I.prototype,C=r.DataView,L=C&&C.prototype,N=Object.prototype,D=r.Array,B=r.RangeError,U=i(w),F=i([].reverse),q=y.pack,W=y.unpack,H=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},z=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Y=function(e){return q(e,23,4)},$=function(e){return q(e,52,8)},J=function(e,t){v(e.prototype,t,{get:function(){return A(this)[t]}})},K=function(e,t,n,r){var i=h(n),o=A(e);if(i+t>o.byteLength)throw B(T);var a=A(o.buffer).bytes,s=i+o.byteOffset,u=j(a,s,s+t);return r?u:F(u)},X=function(e,t,n,r,i,o){var a=h(n),s=A(e);if(a+t>s.byteLength)throw B(T);for(var u=A(s.buffer).bytes,l=a+s.byteOffset,c=r(+i),f=0;f<t;f++)u[l+f]=c[o?f:t-f-1]};if(a){var Q=S&&M.name!==k;if(c((function(){M(1)}))&&c((function(){new M(-1)}))&&!c((function(){return new M,new M(1.5),new M(NaN),Q&&!_})))Q&&_&&u(M,"name",k);else{(I=function(e){return f(this,P),new M(h(e))}).prototype=P;for(var Z,ee=g(M),te=0;ee.length>te;)(Z=ee[te++])in I||u(I,Z,M[Z]);P.constructor=I}b&&m(L)!==N&&b(L,N);var ne=new C(new I(2)),re=i(L.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(L,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else P=(I=function(e){f(this,P);var t=h(e);R(this,{bytes:U(D(t),0),byteLength:t}),o||(this.byteLength=t)}).prototype,L=(C=function(e,t,n){f(this,L),f(e,P);var r=A(e).byteLength,i=d(t);if(i<0||i>r)throw B("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw B("Wrong length");R(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)}).prototype,o&&(J(I,"byteLength"),J(C,"buffer"),J(C,"byteLength"),J(C,"byteOffset")),l(L,{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return G(K(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return G(K(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return W(K(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return W(K(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){X(this,1,e,H,t)},setUint8:function(e,t){X(this,1,e,H,t)},setInt16:function(e,t){X(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){X(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){X(this,4,e,z,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){X(this,4,e,z,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){X(this,4,e,Y,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,$,t,arguments.length>2?arguments[2]:void 0)}});E(I,k),E(C,O),t.exports={ArrayBuffer:I,DataView:C}},{"../internals/an-instance":24,"../internals/array-buffer-native":26,"../internals/array-fill":30,"../internals/array-slice-simple":40,"../internals/create-non-enumerable-property":52,"../internals/descriptors":56,"../internals/fails":72,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/ieee754":91,"../internals/internal-state":95,"../internals/object-define-property":121,"../internals/object-get-own-property-names":124,"../internals/object-get-prototype-of":126,"../internals/object-set-prototype-of":131,"../internals/redefine-all":138,"../internals/set-to-string-tag":149,"../internals/to-index":161,"../internals/to-integer-or-infinity":163,"../internals/to-length":164}],29:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=Math.min;t.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n),u=i(e,s),l=i(t,s),c=arguments.length>2?arguments[2]:void 0,f=a((void 0===c?s:i(c,s))-l,s-u),d=1;for(l<u&&u<l+f&&(d=-1,l+=f-1,u+=f-1);f-- >0;)l in n?n[u]=n[l]:delete n[u],u+=d,l+=d;return n}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-object":165}],30:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like");t.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-object":165}],31:[function(e,t,n){"use strict";var r=e("../internals/array-iteration").forEach,i=e("../internals/array-method-is-strict")("forEach");t.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":35,"../internals/array-method-is-strict":38}],32:[function(e,t,n){var r=e("../internals/length-of-array-like");t.exports=function(e,t){for(var n=0,i=r(t),o=new e(i);i>n;)o[n]=t[n++];return o}},{"../internals/length-of-array-like":109}],33:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),a=e("../internals/to-object"),s=e("../internals/call-with-safe-iteration-closing"),u=e("../internals/is-array-iterator-method"),l=e("../internals/is-constructor"),c=e("../internals/length-of-array-like"),f=e("../internals/create-property"),d=e("../internals/get-iterator"),p=e("../internals/get-iterator-method"),h=r.Array;t.exports=function(e){var t=a(e),n=l(this),r=arguments.length,y=r>1?arguments[1]:void 0,m=void 0!==y;m&&(y=i(y,r>2?arguments[2]:void 0));var b,g,v,w,j,E,x=p(t),S=0;if(!x||this==h&&u(x))for(b=c(t),g=n?new this(b):h(b);b>S;S++)E=m?y(t[S],S):t[S],f(g,S,E);else for(j=(w=d(t,x)).next,g=n?new this:[];!(v=o(j,w)).done;S++)E=m?s(w,y,[v.value,S],!0):v.value,f(g,S,E);return g.length=S,g}},{"../internals/call-with-safe-iteration-closing":45,"../internals/create-property":54,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/is-array-iterator-method":96,"../internals/is-constructor":99,"../internals/length-of-array-like":109,"../internals/to-object":165}],34:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-indexed-object":162}],35:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),u=e("../internals/array-species-create"),l=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,y,m,b){for(var g,v,w=a(h),j=o(w),E=r(y,m),x=s(j),S=0,_=b||u,A=t?_(h,x):n||d?_(h,0):void 0;x>S;S++)if((p||S in j)&&(v=E(g=j[S],S,w),e))if(t)A[S]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:l(A,g)}else switch(e){case 4:return!1;case 7:l(A,g)}return f?-1:i||c?c:A}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},{"../internals/array-species-create":44,"../internals/function-bind-context":75,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/length-of-array-like":109,"../internals/to-object":165}],36:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/to-indexed-object"),o=e("../internals/to-integer-or-infinity"),a=e("../internals/length-of-array-like"),s=e("../internals/array-method-is-strict"),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),d=c||!f;t.exports=d?function(e){if(c)return r(l,this,arguments)||0;var t=i(this),n=a(t),s=n-1;for(arguments.length>1&&(s=u(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},{"../internals/array-method-is-strict":38,"../internals/function-apply":74,"../internals/length-of-array-like":109,"../internals/to-indexed-object":162,"../internals/to-integer-or-infinity":163}],37:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/engine-v8-version"),a=i("species");t.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},{"../internals/engine-v8-version":68,"../internals/fails":72,"../internals/well-known-symbol":182}],38:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},{"../internals/fails":72}],39:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/a-callable"),o=e("../internals/to-object"),a=e("../internals/indexed-object"),s=e("../internals/length-of-array-like"),u=r.TypeError,l=function(e){return function(t,n,r,l){i(n);var c=o(t),f=a(c),d=s(c),p=e?d-1:0,h=e?-1:1;if(r<2)for(;;){if(p in f){l=f[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw u("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in f&&(l=n(l,f[p],p,c));return l}};t.exports={left:l(!1),right:l(!0)}},{"../internals/a-callable":19,"../internals/global":85,"../internals/indexed-object":92,"../internals/length-of-array-like":109,"../internals/to-object":165}],40:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=e("../internals/create-property"),s=r.Array,u=Math.max;t.exports=function(e,t,n){for(var r=o(e),l=i(t,r),c=i(void 0===n?r:n,r),f=s(u(c-l,0)),d=0;l<c;l++,d++)a(f,d,e[l]);return f.length=d,f}},{"../internals/create-property":54,"../internals/global":85,"../internals/length-of-array-like":109,"../internals/to-absolute-index":160}],41:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":79}],42:[function(e,t,n){var r=e("../internals/array-slice-simple"),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};t.exports=o},{"../internals/array-slice-simple":40}],43:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-array"),o=e("../internals/is-constructor"),a=e("../internals/is-object"),s=e("../internals/well-known-symbol")("species"),u=r.Array;t.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},{"../internals/global":85,"../internals/is-array":97,"../internals/is-constructor":99,"../internals/is-object":102,"../internals/well-known-symbol":182}],44:[function(e,t,n){var r=e("../internals/array-species-constructor");t.exports=function(e,t){return new(r(e))(0===t?0:t)}},{"../internals/array-species-constructor":43}],45:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},{"../internals/an-object":25,"../internals/iterator-close":106}],46:[function(e,t,n){var r=e("../internals/well-known-symbol")("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(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},{"../internals/well-known-symbol":182}],47:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=r({}.toString),o=r("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this":79}],48:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-string-tag-support"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("toStringTag"),u=r.Object,l="Arguments"==a(function(){return arguments}());t.exports=i?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:l?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},{"../internals/classof-raw":47,"../internals/global":85,"../internals/is-callable":98,"../internals/to-string-tag-support":170,"../internals/well-known-symbol":182}],49:[function(e,t,n){var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/object-define-property");t.exports=function(e,t,n){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];r(e,f)||n&&r(n,f)||u(e,f,l(t,f))}}},{"../internals/has-own-property":86,"../internals/object-define-property":121,"../internals/object-get-own-property-descriptor":122,"../internals/own-keys":134}],50:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":72}],51:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),a=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),u=function(){return this};t.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),a(e,c,!1,!0),s[c]=u,e}},{"../internals/create-property-descriptor":53,"../internals/iterators":108,"../internals/iterators-core":107,"../internals/object-create":119,"../internals/set-to-string-tag":149}],52:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/object-define-property":121}],53:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],54:[function(e,t,n){"use strict";var r=e("../internals/to-property-key"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},{"../internals/create-property-descriptor":53,"../internals/object-define-property":121,"../internals/to-property-key":169}],55:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/is-pure"),a=e("../internals/function-name"),s=e("../internals/is-callable"),u=e("../internals/create-iterator-constructor"),l=e("../internals/object-get-prototype-of"),c=e("../internals/object-set-prototype-of"),f=e("../internals/set-to-string-tag"),d=e("../internals/create-non-enumerable-property"),p=e("../internals/redefine"),h=e("../internals/well-known-symbol"),y=e("../internals/iterators"),m=e("../internals/iterators-core"),b=a.PROPER,g=a.CONFIGURABLE,v=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,j=h("iterator"),E="keys",x="values",S="entries",_=function(){return this};t.exports=function(e,t,n,a,h,m,A){u(n,t,a);var R,k,O,T=function(e){if(e===h&&L)return L;if(!w&&e in P)return P[e];switch(e){case E:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",I=!1,P=e.prototype,C=P[j]||P["@@iterator"]||h&&P[h],L=!w&&C||T(h),N="Array"==t&&P.entries||C;if(N&&(R=l(N.call(new e)))!==Object.prototype&&R.next&&(o||l(R)===v||(c?c(R,v):s(R[j])||p(R,j,_)),f(R,M,!0,!0),o&&(y[M]=_)),b&&h==x&&C&&C.name!==x&&(!o&&g?d(P,"name",x):(I=!0,L=function(){return i(C,this)})),h)if(k={values:T(x),keys:m?L:T(E),entries:T(S)},A)for(O in k)(w||I||!(O in P))&&p(P,O,k[O]);else r({target:t,proto:!0,forced:w||I},k);return o&&!A||P[j]===L||p(P,j,L,{name:h}),y[t]=L,k}},{"../internals/create-iterator-constructor":51,"../internals/create-non-enumerable-property":52,"../internals/export":71,"../internals/function-call":77,"../internals/function-name":78,"../internals/is-callable":98,"../internals/is-pure":103,"../internals/iterators":108,"../internals/iterators-core":107,"../internals/object-get-prototype-of":126,"../internals/object-set-prototype-of":131,"../internals/redefine":139,"../internals/set-to-string-tag":149,"../internals/well-known-symbol":182}],56:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":72}],57:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(e){return a?o.createElement(e):{}}},{"../internals/global":85,"../internals/is-object":102}],58:[function(e,t,n){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}},{}],59:[function(e,t,n){var r=e("../internals/document-create-element")("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},{"../internals/document-create-element":57}],60:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":67}],61:[function(e,t,n){t.exports="object"==typeof window},{}],62:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},{"../internals/engine-user-agent":67}],63:[function(e,t,n){var r=e("../internals/engine-user-agent"),i=e("../internals/global");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},{"../internals/engine-user-agent":67,"../internals/global":85}],64:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":67}],65:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/global");t.exports="process"==r(i.process)},{"../internals/classof-raw":47,"../internals/global":85}],66:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":67}],67:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":80}],68:[function(e,t,n){var r,i,o=e("../internals/global"),a=e("../internals/engine-user-agent"),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&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},{"../internals/engine-user-agent":67,"../internals/global":85}],69:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":67}],70:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],71:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine"),s=e("../internals/set-global"),u=e("../internals/copy-constructor-properties"),l=e("../internals/is-forced");t.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=i(n,c))&&p.value:n[c],!l(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},{"../internals/copy-constructor-properties":49,"../internals/create-non-enumerable-property":52,"../internals/global":85,"../internals/is-forced":100,"../internals/object-get-own-property-descriptor":122,"../internals/redefine":139,"../internals/set-global":147}],72:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],73:[function(e,t,n){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/function-uncurry-this"),i=e("../internals/redefine"),o=e("../internals/regexp-exec"),a=e("../internals/fails"),s=e("../internals/well-known-symbol"),u=e("../internals/create-non-enumerable-property"),l=s("species"),c=RegExp.prototype;t.exports=function(e,t,n,f){var d=s(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,i,a){var s=r(e),u=t.exec;return u===o||u===c.exec?p&&!a?{done:!0,value:y(t,n,i)}:{done:!0,value:s(n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(c,d,m[1])}f&&u(c[d],"sham",!0)}},{"../internals/create-non-enumerable-property":52,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/redefine":139,"../internals/regexp-exec":141,"../internals/well-known-symbol":182,"../modules/es.regexp.exec":200}],74:[function(e,t,n){var r=e("../internals/function-bind-native"),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)})},{"../internals/function-bind-native":76}],75:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/a-callable"),o=e("../internals/function-bind-native"),a=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":19,"../internals/function-bind-native":76,"../internals/function-uncurry-this":79}],76:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":72}],77:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":76}],78:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},{"../internals/descriptors":56,"../internals/has-own-property":86}],79:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},{"../internals/function-bind-native":76}],80:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},{"../internals/global":85,"../internals/is-callable":98}],81:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/iterators"),a=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},{"../internals/classof":48,"../internals/get-method":83,"../internals/iterators":108,"../internals/well-known-symbol":182}],82:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/an-object"),s=e("../internals/try-to-string"),u=e("../internals/get-iterator-method"),l=r.TypeError;t.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return a(i(n,e));throw l(s(e)+" is not iterable")}},{"../internals/a-callable":19,"../internals/an-object":25,"../internals/function-call":77,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/try-to-string":172}],83:[function(e,t,n){var r=e("../internals/a-callable");t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},{"../internals/a-callable":19}],84:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=i(f),y=l),s(d,y,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>h){var d=o(c/10);return 0===d?i:d<=h?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}l=r[c-1]}return void 0===l?"":l}))}},{"../internals/function-uncurry-this":79,"../internals/to-object":165}],85:[function(e,t,n){(function(e){(function(){var n=function(e){return e&&e.Math==Math&&e};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)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],86:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},{"../internals/function-uncurry-this":79,"../internals/to-object":165}],87:[function(e,t,n){t.exports={}},{}],88:[function(e,t,n){var r=e("../internals/global");t.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},{"../internals/global":85}],89:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":80}],90:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":56,"../internals/document-create-element":57,"../internals/fails":72}],91:[function(e,t,n){var r=e("../internals/global").Array,i=Math.abs,o=Math.pow,a=Math.floor,s=Math.log,u=Math.LN2;t.exports={pack:function(e,t,n){var l,c,f,d=r(n),p=8*n-t-1,h=(1<<p)-1,y=h>>1,m=23===t?o(2,-24)-o(2,-77):0,b=e<0||0===e&&1/e<0?1:0,g=0;for((e=i(e))!=e||e===1/0?(c=e!=e?1:0,l=h):(l=a(s(e)/u),e*(f=o(2,-l))<1&&(l--,f*=2),(e+=l+y>=1?m/f:m*o(2,1-y))*f>=2&&(l++,f/=2),l+y>=h?(c=0,l=h):l+y>=1?(c=(e*f-1)*o(2,t),l+=y):(c=e*o(2,y-1)*o(2,t),l=0));t>=8;)d[g++]=255&c,c/=256,t-=8;for(l=l<<t|c,p+=t;p>0;)d[g++]=255&l,l/=256,p-=8;return d[--g]|=128*b,d},unpack:function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,s=a>>1,u=i-7,l=r-1,c=e[l--],f=127&c;for(c>>=7;u>0;)f=256*f+e[l--],u-=8;for(n=f&(1<<-u)-1,f>>=-u,u+=t;u>0;)n=256*n+e[l--],u-=8;if(0===f)f=1-s;else{if(f===a)return n?NaN:c?-1/0:1/0;n+=o(2,t),f-=s}return(c?-1:1)*n*o(2,f-t)}}},{"../internals/global":85}],92:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/classof-raw"),s=r.Object,u=i("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},{"../internals/classof-raw":47,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],93:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/is-object"),o=e("../internals/object-set-prototype-of");t.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},{"../internals/is-callable":98,"../internals/is-object":102,"../internals/object-set-prototype-of":131}],94:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),o=e("../internals/shared-store"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),t.exports=o.inspectSource},{"../internals/function-uncurry-this":79,"../internals/is-callable":98,"../internals/shared-store":151}],95:[function(e,t,n){var r,i,o,a=e("../internals/native-weak-map"),s=e("../internals/global"),u=e("../internals/function-uncurry-this"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),f=e("../internals/has-own-property"),d=e("../internals/shared-store"),p=e("../internals/shared-key"),h=e("../internals/hidden-keys"),y="Object already initialized",m=s.TypeError,b=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new b),v=u(g.get),w=u(g.has),j=u(g.set);r=function(e,t){if(w(g,e))throw new m(y);return t.facade=e,j(g,e,t),t},i=function(e){return v(g,e)||{}},o=function(e){return w(g,e)}}else{var E=p("state");h[E]=!0,r=function(e,t){if(f(e,E))throw new m(y);return t.facade=e,c(e,E,t),t},i=function(e){return f(e,E)?e[E]:{}},o=function(e){return f(e,E)}}t.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":52,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/has-own-property":86,"../internals/hidden-keys":87,"../internals/is-object":102,"../internals/native-weak-map":114,"../internals/shared-key":150,"../internals/shared-store":151}],96:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},{"../internals/iterators":108,"../internals/well-known-symbol":182}],97:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":47}],98:[function(e,t,n){t.exports=function(e){return"function"==typeof e}},{}],99:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/classof"),s=e("../internals/get-built-in"),u=e("../internals/inspect-source"),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(l),y=function(e){if(!o(e))return!1;try{return f(l,c,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!f||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},{"../internals/classof":48,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/inspect-source":94,"../internals/is-callable":98}],100:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/is-callable"),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":72,"../internals/is-callable":98}],101:[function(e,t,n){var r=e("../internals/is-object"),i=Math.floor;t.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},{"../internals/is-object":102}],102:[function(e,t,n){var r=e("../internals/is-callable");t.exports=function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/is-callable":98}],103:[function(e,t,n){t.exports=!1},{}],104:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/get-built-in"),o=e("../internals/is-callable"),a=e("../internals/object-is-prototype-of"),s=e("../internals/use-symbol-as-uid"),u=r.Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},{"../internals/get-built-in":80,"../internals/global":85,"../internals/is-callable":98,"../internals/object-is-prototype-of":127,"../internals/use-symbol-as-uid":179}],105:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),a=e("../internals/an-object"),s=e("../internals/try-to-string"),u=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),c=e("../internals/object-is-prototype-of"),f=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),p=e("../internals/iterator-close"),h=r.TypeError,y=function(e,t){this.stopped=e,this.result=t},m=y.prototype;t.exports=function(e,t,n){var r,b,g,v,w,j,E,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),R=i(t,x),k=function(e){return r&&p(r,"normal",e),new y(!0,e)},O=function(e){return S?(a(e),A?R(e[0],e[1],k):R(e[0],e[1])):A?R(e,k):R(e)};if(_)r=e;else{if(!(b=d(e)))throw h(s(e)+" is not iterable");if(u(b)){for(g=0,v=l(e);v>g;g++)if((w=O(e[g]))&&c(m,w))return w;return new y(!1)}r=f(e,b)}for(j=r.next;!(E=o(j,r)).done;){try{w=O(E.value)}catch(e){p(r,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new y(!1)}},{"../internals/an-object":25,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/is-array-iterator-method":96,"../internals/iterator-close":106,"../internals/length-of-array-like":109,"../internals/object-is-prototype-of":127,"../internals/try-to-string":172}],106:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/get-method");t.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},{"../internals/an-object":25,"../internals/function-call":77,"../internals/get-method":83}],107:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),u=e("../internals/object-create"),l=e("../internals/object-get-prototype-of"),c=e("../internals/redefine"),f=e("../internals/well-known-symbol"),d=e("../internals/is-pure"),p=f("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),s(r[p])||c(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},{"../internals/fails":72,"../internals/is-callable":98,"../internals/is-pure":103,"../internals/object-create":119,"../internals/object-get-prototype-of":126,"../internals/redefine":139,"../internals/well-known-symbol":182}],108:[function(e,t,n){arguments[4][87][0].apply(n,arguments)},{dup:87}],109:[function(e,t,n){var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":164}],110:[function(e,t,n){var r,i,o,a,s,u,l,c,f=e("../internals/global"),d=e("../internals/function-bind-context"),p=e("../internals/object-get-own-property-descriptor").f,h=e("../internals/task").set,y=e("../internals/engine-is-ios"),m=e("../internals/engine-is-ios-pebble"),b=e("../internals/engine-is-webos-webkit"),g=e("../internals/engine-is-node"),v=f.MutationObserver||f.WebKitMutationObserver,w=f.document,j=f.process,E=f.Promise,x=p(f,"queueMicrotask"),S=x&&x.value;S||(r=function(){var e,t;for(g&&(e=j.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y||g||b||!v||!w?!m&&E&&E.resolve?((l=E.resolve(void 0)).constructor=E,c=d(l.then,l),a=function(){c(r)}):g?a=function(){j.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(s=!0,u=w.createTextNode(""),new v(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),t.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},{"../internals/engine-is-ios":64,"../internals/engine-is-ios-pebble":63,"../internals/engine-is-node":65,"../internals/engine-is-webos-webkit":66,"../internals/function-bind-context":75,"../internals/global":85,"../internals/object-get-own-property-descriptor":122,"../internals/task":158}],111:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":85}],112:[function(e,t,n){var r=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/engine-v8-version":68,"../internals/fails":72}],113:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/is-pure"),a=i("iterator");t.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},{"../internals/fails":72,"../internals/is-pure":103,"../internals/well-known-symbol":182}],114:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/inspect-source"),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},{"../internals/global":85,"../internals/inspect-source":94,"../internals/is-callable":98}],115:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new i(e)}},{"../internals/a-callable":19}],116:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-string"),s=e("../internals/string-trim").trim,u=e("../internals/whitespaces"),l=o("".charAt),c=r.parseFloat,f=r.Symbol,d=f&&f.iterator,p=1/c(u+"-0")!=-1/0||d&&!i((function(){c(Object(d))}));t.exports=p?function(e){var t=s(a(e)),n=c(t);return 0===n&&"-"==l(t,0)?-0:n}:c},{"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-trim":157,"../internals/to-string":171,"../internals/whitespaces":183}],117:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-string"),s=e("../internals/string-trim").trim,u=e("../internals/whitespaces"),l=r.parseInt,c=r.Symbol,f=c&&c.iterator,d=/^[+-]?0x/i,p=o(d.exec),h=8!==l(u+"08")||22!==l(u+"0x16")||f&&!i((function(){l(Object(f))}));t.exports=h?function(e,t){var n=s(a(e));return l(n,t>>>0||(p(d,n)?16:10))}:l},{"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-trim":157,"../internals/to-string":171,"../internals/whitespaces":183}],118:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),a=e("../internals/fails"),s=e("../internals/object-keys"),u=e("../internals/object-get-own-property-symbols"),l=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),f=e("../internals/indexed-object"),d=Object.assign,p=Object.defineProperty,h=i([].concat);t.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,d=u.f,p=l.f;i>a;)for(var y,m=f(arguments[a++]),b=d?h(s(m),d(m)):s(m),g=b.length,v=0;g>v;)y=b[v++],r&&!o(p,m,y)||(n[y]=m[y]);return n}:d},{"../internals/descriptors":56,"../internals/fails":72,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/object-get-own-property-symbols":125,"../internals/object-keys":129,"../internals/object-property-is-enumerable":130,"../internals/to-object":165}],119:[function(e,t,n){var r,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),a=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),u=e("../internals/html"),l=e("../internals/document-create-element"),c=e("../internals/shared-key"),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=l("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete y.prototype[a[n]];return y()};s[f]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:o.f(n,t)}},{"../internals/an-object":25,"../internals/document-create-element":57,"../internals/enum-bug-keys":70,"../internals/hidden-keys":87,"../internals/html":89,"../internals/object-define-properties":120,"../internals/shared-key":150}],120:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),a=e("../internals/an-object"),s=e("../internals/to-indexed-object"),u=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,n=i[c++],r[n]);return e}},{"../internals/an-object":25,"../internals/descriptors":56,"../internals/object-define-property":121,"../internals/object-keys":129,"../internals/to-indexed-object":162,"../internals/v8-prototype-define-bug":180}],121:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/descriptors"),o=e("../internals/ie8-dom-define"),a=e("../internals/v8-prototype-define-bug"),s=e("../internals/an-object"),u=e("../internals/to-property-key"),l=r.TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";n.f=i?a?function(e,t,n){if(s(e),t=u(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=f(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:p in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=u(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":25,"../internals/descriptors":56,"../internals/global":85,"../internals/ie8-dom-define":90,"../internals/to-property-key":169,"../internals/v8-prototype-define-bug":180}],122:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),s=e("../internals/to-indexed-object"),u=e("../internals/to-property-key"),l=e("../internals/has-own-property"),c=e("../internals/ie8-dom-define"),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},{"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/function-call":77,"../internals/has-own-property":86,"../internals/ie8-dom-define":90,"../internals/object-property-is-enumerable":130,"../internals/to-indexed-object":162,"../internals/to-property-key":169}],123:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,a=e("../internals/array-slice-simple"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},{"../internals/array-slice-simple":40,"../internals/classof-raw":47,"../internals/object-get-own-property-names":124,"../internals/to-indexed-object":162}],124:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":70,"../internals/object-keys-internal":128}],125:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],126:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/has-own-property"),o=e("../internals/is-callable"),a=e("../internals/to-object"),s=e("../internals/shared-key"),u=e("../internals/correct-prototype-getter"),l=s("IE_PROTO"),c=r.Object,f=c.prototype;t.exports=u?c.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?f:null}},{"../internals/correct-prototype-getter":50,"../internals/global":85,"../internals/has-own-property":86,"../internals/is-callable":98,"../internals/shared-key":150,"../internals/to-object":165}],127:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":79}],128:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,s=e("../internals/hidden-keys"),u=r([].push);t.exports=function(e,t){var n,r=o(e),l=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&u(c,n);for(;t.length>l;)i(r,n=t[l++])&&(~a(c,n)||u(c,n));return c}},{"../internals/array-includes":34,"../internals/function-uncurry-this":79,"../internals/has-own-property":86,"../internals/hidden-keys":87,"../internals/to-indexed-object":162}],129:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":70,"../internals/object-keys-internal":128}],130:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],131:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/an-object"),o=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},{"../internals/a-possible-prototype":21,"../internals/an-object":25,"../internals/function-uncurry-this":79}],132:[function(e,t,n){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/classof");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},{"../internals/classof":48,"../internals/to-string-tag-support":170}],133:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-callable"),a=e("../internals/is-object"),s=r.TypeError;t.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}},{"../internals/function-call":77,"../internals/global":85,"../internals/is-callable":98,"../internals/is-object":102}],134:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/an-object"),u=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},{"../internals/an-object":25,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/object-get-own-property-names":124,"../internals/object-get-own-property-symbols":125}],135:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],136:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/is-object"),o=e("../internals/new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},{"../internals/an-object":25,"../internals/is-object":102,"../internals/new-promise-capability":115}],137:[function(e,t,n){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},t.exports=r},{}],138:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":139}],139:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/has-own-property"),a=e("../internals/create-non-enumerable-property"),s=e("../internals/set-global"),u=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=e("../internals/function-name").CONFIGURABLE,f=l.get,d=l.enforce,p=String(String).split("String");(t.exports=function(e,t,n,u){var l,f=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet,m=u&&void 0!==u.name?u.name:t;i(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==m)&&a(n,"name",m),(l=d(n)).source||(l.source=p.join("string"==typeof m?m:""))),e!==r?(f?!y&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||u(this)}))},{"../internals/create-non-enumerable-property":52,"../internals/function-name":78,"../internals/global":85,"../internals/has-own-property":86,"../internals/inspect-source":94,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/set-global":147}],140:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/is-callable"),s=e("../internals/classof-raw"),u=e("../internals/regexp-exec"),l=r.TypeError;t.exports=function(e,t){var n=e.exec;if(a(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===s(e))return i(u,e,t);throw l("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":25,"../internals/classof-raw":47,"../internals/function-call":77,"../internals/global":85,"../internals/is-callable":98,"../internals/regexp-exec":141}],141:[function(e,t,n){"use strict";var r,i,o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/to-string"),u=e("../internals/regexp-flags"),l=e("../internals/regexp-sticky-helpers"),c=e("../internals/shared"),f=e("../internals/object-create"),d=e("../internals/internal-state").get,p=e("../internals/regexp-unsupported-dot-all"),h=e("../internals/regexp-unsupported-ncg"),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,b=m,g=a("".charAt),v=a("".indexOf),w=a("".replace),j=a("".slice),E=(i=/b*/g,o(m,r=/a/,"a"),o(m,i,"a"),0!==r.lastIndex||0!==i.lastIndex),x=l.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(E||S||x||p||h)&&(b=function(e){var t,n,r,i,a,l,c,p=this,h=d(p),_=s(e),A=h.raw;if(A)return A.lastIndex=p.lastIndex,t=o(b,A,_),p.lastIndex=A.lastIndex,t;var R=h.groups,k=x&&p.sticky,O=o(u,p),T=p.source,M=0,I=_;if(k&&(O=w(O,"y",""),-1===v(O,"g")&&(O+="g"),I=j(_,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(_,p.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,M++),n=new RegExp("^(?:"+T+")",O)),S&&(n=new RegExp("^"+T+"$(?!\\s)",O)),E&&(r=p.lastIndex),i=o(m,k?n:p,I),k?i?(i.input=j(i.input,M),i[0]=j(i[0],M),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:E&&i&&(p.lastIndex=p.global?i.index+i[0].length:r),S&&i&&i.length>1&&o(y,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&R)for(i.groups=l=f(null),a=0;a<R.length;a++)l[(c=R[a])[0]]=i[c[1]];return i}),t.exports=b},{"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/internal-state":95,"../internals/object-create":119,"../internals/regexp-flags":142,"../internals/regexp-sticky-helpers":143,"../internals/regexp-unsupported-dot-all":144,"../internals/regexp-unsupported-ncg":145,"../internals/shared":152,"../internals/to-string":171}],142:[function(e,t,n){"use strict";var r=e("../internals/an-object");t.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"../internals/an-object":25}],143:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},{"../internals/fails":72,"../internals/global":85}],144:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},{"../internals/fails":72,"../internals/global":85}],145:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},{"../internals/fails":72,"../internals/global":85}],146:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},{"../internals/global":85}],147:[function(e,t,n){var r=e("../internals/global"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global":85}],148:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),o=e("../internals/well-known-symbol"),a=e("../internals/descriptors"),s=o("species");t.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":56,"../internals/get-built-in":80,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],149:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},{"../internals/has-own-property":86,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],150:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),o=r("keys");t.exports=function(e){return o[e]||(o[e]=i(e))}},{"../internals/shared":152,"../internals/uid":178}],151:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},{"../internals/global":85,"../internals/set-global":147}],152:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":103,"../internals/shared-store":151}],153:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},{"../internals/a-constructor":20,"../internals/an-object":25,"../internals/well-known-symbol":182}],154:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),a=e("../internals/require-object-coercible"),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,n){var r,c,f=o(a(t)),d=i(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?s(f,d):r:e?l(f,d,d+2):c-56320+(r-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},{"../internals/function-uncurry-this":79,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-string":171}],155:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=2147483647,a=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",l=r.RangeError,c=i(s.exec),f=Math.floor,d=String.fromCharCode,p=i("".charCodeAt),h=i([].join),y=i([].push),m=i("".replace),b=i("".split),g=i("".toLowerCase),v=function(e){return e+22+75*(e<26)},w=function(e,t,n){var r=0;for(e=n?f(e/700):e>>1,e+=f(e/t);e>455;)e=f(e/35),r+=36;return f(r+36*e/(e+38))},j=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=p(e,n++);if(i>=55296&&i<=56319&&n<r){var o=p(e,n++);56320==(64512&o)?y(t,((1023&i)<<10)+(1023&o)+65536):(y(t,i),n--)}else y(t,i)}return t}(e);var n,r,i=e.length,a=128,s=0,c=72;for(n=0;n<e.length;n++)(r=e[n])<128&&y(t,d(r));var m=t.length,b=m;for(m&&y(t,"-");b<i;){var g=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<g&&(g=r);var j=b+1;if(g-a>f((o-s)/j))throw l(u);for(s+=(g-a)*j,a=g,n=0;n<e.length;n++){if((r=e[n])<a&&++s>o)throw l(u);if(r==a){for(var E=s,x=36;;){var S=x<=c?1:x>=c+26?26:x-c;if(E<S)break;var _=E-S,A=36-S;y(t,d(v(S+_%A))),E=f(_/A),x+=36}y(t,d(v(E))),c=w(s,j,b==m),s=0,b++}}s++,a++}return h(t,"")};t.exports=function(e){var t,n,r=[],i=b(m(g(e),s,"."),".");for(t=0;t<i.length;t++)n=i[t],y(r,c(a,n)?"xn--"+j(n):n);return h(r,".")}},{"../internals/function-uncurry-this":79,"../internals/global":85}],156:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),a=e("../internals/require-object-coercible"),s=r.RangeError;t.exports=function(e){var t=o(a(this)),n="",r=i(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},{"../internals/global":85,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-string":171}],157:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/require-object-coercible"),o=e("../internals/to-string"),a=e("../internals/whitespaces"),s=r("".replace),u="["+a+"]",l=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),f=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"")),n}};t.exports={start:f(1),end:f(2),trim:f(3)}},{"../internals/function-uncurry-this":79,"../internals/require-object-coercible":146,"../internals/to-string":171,"../internals/whitespaces":183}],158:[function(e,t,n){var r,i,o,a,s=e("../internals/global"),u=e("../internals/function-apply"),l=e("../internals/function-bind-context"),c=e("../internals/is-callable"),f=e("../internals/has-own-property"),d=e("../internals/fails"),p=e("../internals/html"),h=e("../internals/array-slice"),y=e("../internals/document-create-element"),m=e("../internals/validate-arguments-length"),b=e("../internals/engine-is-ios"),g=e("../internals/engine-is-node"),v=s.setImmediate,w=s.clearImmediate,j=s.process,E=s.Dispatch,x=s.Function,S=s.MessageChannel,_=s.String,A=0,R={},k="onreadystatechange";try{r=s.location}catch(e){}var O=function(e){if(f(R,e)){var t=R[e];delete R[e],t()}},T=function(e){return function(){O(e)}},M=function(e){O(e.data)},I=function(e){s.postMessage(_(e),r.protocol+"//"+r.host)};v&&w||(v=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return R[++A]=function(){u(t,void 0,n)},i(A),A},w=function(e){delete R[e]},g?i=function(e){j.nextTick(T(e))}:E&&E.now?i=function(e){E.now(T(e))}:S&&!b?(a=(o=new S).port2,o.port1.onmessage=M,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(I)?(i=I,s.addEventListener("message",M,!1)):i=k in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(T(e),0)}),t.exports={set:v,clear:w}},{"../internals/array-slice":41,"../internals/document-create-element":57,"../internals/engine-is-ios":64,"../internals/engine-is-node":65,"../internals/fails":72,"../internals/function-apply":74,"../internals/function-bind-context":75,"../internals/global":85,"../internals/has-own-property":86,"../internals/html":89,"../internals/is-callable":98,"../internals/validate-arguments-length":181}],159:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r(1..valueOf)},{"../internals/function-uncurry-this":79}],160:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.max,o=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},{"../internals/to-integer-or-infinity":163}],161:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-length"),a=r.RangeError;t.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw a("Wrong length or index");return n}},{"../internals/global":85,"../internals/to-integer-or-infinity":163,"../internals/to-length":164}],162:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":92,"../internals/require-object-coercible":146}],163:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?i:r)(t)}},{}],164:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer-or-infinity":163}],165:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/require-object-coercible"),o=r.Object;t.exports=function(e){return o(i(e))}},{"../internals/global":85,"../internals/require-object-coercible":146}],166:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-positive-integer"),o=r.RangeError;t.exports=function(e,t){var n=i(e);if(n%t)throw o("Wrong offset");return n}},{"../internals/global":85,"../internals/to-positive-integer":167}],167:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=r.RangeError;t.exports=function(e){var t=i(e);if(t<0)throw o("The argument can't be less than 0");return t}},{"../internals/global":85,"../internals/to-integer-or-infinity":163}],168:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-object"),a=e("../internals/is-symbol"),s=e("../internals/get-method"),u=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),c=r.TypeError,f=l("toPrimitive");t.exports=function(e,t){if(!o(e)||a(e))return e;var n,r=s(e,f);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},{"../internals/function-call":77,"../internals/get-method":83,"../internals/global":85,"../internals/is-object":102,"../internals/is-symbol":104,"../internals/ordinary-to-primitive":133,"../internals/well-known-symbol":182}],169:[function(e,t,n){var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":104,"../internals/to-primitive":168}],170:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":182}],171:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/classof"),o=r.String;t.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},{"../internals/classof":48,"../internals/global":85}],172:[function(e,t,n){var r=e("../internals/global").String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{"../internals/global":85}],173:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/descriptors"),s=e("../internals/typed-array-constructors-require-wrappers"),u=e("../internals/array-buffer-view-core"),l=e("../internals/array-buffer"),c=e("../internals/an-instance"),f=e("../internals/create-property-descriptor"),d=e("../internals/create-non-enumerable-property"),p=e("../internals/is-integral-number"),h=e("../internals/to-length"),y=e("../internals/to-index"),m=e("../internals/to-offset"),b=e("../internals/to-property-key"),g=e("../internals/has-own-property"),v=e("../internals/classof"),w=e("../internals/is-object"),j=e("../internals/is-symbol"),E=e("../internals/object-create"),x=e("../internals/object-is-prototype-of"),S=e("../internals/object-set-prototype-of"),_=e("../internals/object-get-own-property-names").f,A=e("../internals/typed-array-from"),R=e("../internals/array-iteration").forEach,k=e("../internals/set-species"),O=e("../internals/object-define-property"),T=e("../internals/object-get-own-property-descriptor"),M=e("../internals/internal-state"),I=e("../internals/inherit-if-required"),P=M.get,C=M.set,L=O.f,N=T.f,D=Math.round,B=i.RangeError,U=l.ArrayBuffer,F=U.prototype,q=l.DataView,W=u.NATIVE_ARRAY_BUFFER_VIEWS,H=u.TYPED_ARRAY_CONSTRUCTOR,V=u.TYPED_ARRAY_TAG,z=u.TypedArray,G=u.TypedArrayPrototype,Y=u.aTypedArrayConstructor,$=u.isTypedArray,J="BYTES_PER_ELEMENT",K="Wrong length",X=function(e,t){Y(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},Q=function(e,t){L(e,t,{get:function(){return P(this)[t]}})},Z=function(e){var t;return x(F,e)||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},ee=function(e,t){return $(e)&&!j(t)&&t in e&&p(+t)&&t>=0},te=function(e,t){return t=b(t),ee(e,t)?f(2,e[t]):N(e,t)},ne=function(e,t,n){return t=b(t),!(ee(e,t)&&w(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?L(e,t,n):(e[t]=n.value,e)};a?(W||(T.f=te,O.f=ne,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:te,defineProperty:ne}),t.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,f="set"+e,p=i[u],b=p,g=b&&b.prototype,v={},j=function(e,t){L(e,t,{get:function(){return function(e,t){var n=P(e);return n.view[l](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=P(e);n&&(r=(r=D(r))<0?0:r>255?255:255&r),i.view[f](t*a+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};W?s&&(b=t((function(e,t,n,r){return c(e,g),I(w(t)?Z(t)?void 0!==r?new p(t,m(n,a),r):void 0!==n?new p(t,m(n,a)):new p(t):$(t)?X(b,t):o(A,b,t):new p(y(t)),e,b)})),S&&S(b,z),R(_(p),(function(e){e in b||d(b,e,p[e])})),b.prototype=g):(b=t((function(e,t,n,r){c(e,g);var i,s,u,l=0,f=0;if(w(t)){if(!Z(t))return $(t)?X(b,t):o(A,b,t);i=t,f=m(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw B(K);if((s=d-f)<0)throw B(K)}else if((s=h(r)*a)+f>d)throw B(K);u=s/a}else u=y(t),i=new U(s=u*a);for(C(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new q(i)});l<u;)j(e,l++)})),S&&S(b,z),g=b.prototype=E(G)),g.constructor!==b&&d(g,"constructor",b),d(g,H,b),V&&d(g,V,u),v[u]=b,r({global:!0,forced:b!=p,sham:!W},v),J in b||d(b,J,a),J in g||d(g,J,a),k(u)}):t.exports=function(){}},{"../internals/an-instance":24,"../internals/array-buffer":28,"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/export":71,"../internals/function-call":77,"../internals/global":85,"../internals/has-own-property":86,"../internals/inherit-if-required":93,"../internals/internal-state":95,"../internals/is-integral-number":101,"../internals/is-object":102,"../internals/is-symbol":104,"../internals/object-create":119,"../internals/object-define-property":121,"../internals/object-get-own-property-descriptor":122,"../internals/object-get-own-property-names":124,"../internals/object-is-prototype-of":127,"../internals/object-set-prototype-of":131,"../internals/set-species":148,"../internals/to-index":161,"../internals/to-length":164,"../internals/to-offset":166,"../internals/to-property-key":169,"../internals/typed-array-constructors-require-wrappers":174,"../internals/typed-array-from":176}],174:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/check-correctness-of-iteration"),a=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},{"../internals/array-buffer-view-core":27,"../internals/check-correctness-of-iteration":46,"../internals/fails":72,"../internals/global":85}],175:[function(e,t,n){var r=e("../internals/array-from-constructor-and-list"),i=e("../internals/typed-array-species-constructor");t.exports=function(e,t){return r(i(e),t)}},{"../internals/array-from-constructor-and-list":32,"../internals/typed-array-species-constructor":177}],176:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/a-constructor"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),u=e("../internals/get-iterator"),l=e("../internals/get-iterator-method"),c=e("../internals/is-array-iterator-method"),f=e("../internals/array-buffer-view-core").aTypedArrayConstructor;t.exports=function(e){var t,n,d,p,h,y,m=o(this),b=a(e),g=arguments.length,v=g>1?arguments[1]:void 0,w=void 0!==v,j=l(b);if(j&&!c(j))for(y=(h=u(b,j)).next,b=[];!(p=i(y,h)).done;)b.push(p.value);for(w&&g>2&&(v=r(v,arguments[2])),n=s(b),d=new(f(m))(n),t=0;n>t;t++)d[t]=w?v(b[t],t):b[t];return d}},{"../internals/a-constructor":20,"../internals/array-buffer-view-core":27,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/is-array-iterator-method":96,"../internals/length-of-array-like":109,"../internals/to-object":165}],177:[function(e,t,n){var r=e("../internals/array-buffer-view-core"),i=e("../internals/species-constructor"),o=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;t.exports=function(e){return a(i(e,e[o]))}},{"../internals/array-buffer-view-core":27,"../internals/species-constructor":153}],178:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},{"../internals/function-uncurry-this":79}],179:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":112}],180:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":56,"../internals/fails":72}],181:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},{"../internals/global":85}],182:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),o=e("../internals/has-own-property"),a=e("../internals/uid"),s=e("../internals/native-symbol"),u=e("../internals/use-symbol-as-uid"),l=i("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||a;t.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:l[e]=u&&f?f(t):d(t)}return l[e]}},{"../internals/global":85,"../internals/has-own-property":86,"../internals/native-symbol":112,"../internals/shared":152,"../internals/uid":178,"../internals/use-symbol-as-uid":179}],183:[function(e,t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},{}],184:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/array-buffer"),a=e("../internals/set-species"),s="ArrayBuffer",u=o.ArrayBuffer;r({global:!0,forced:i.ArrayBuffer!==u},{ArrayBuffer:u}),a(s)},{"../internals/array-buffer":28,"../internals/export":71,"../internals/global":85,"../internals/set-species":148}],185:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/array-buffer"),s=e("../internals/an-object"),u=e("../internals/to-absolute-index"),l=e("../internals/to-length"),c=e("../internals/species-constructor"),f=a.ArrayBuffer,d=a.DataView,p=d.prototype,h=i(f.prototype.slice),y=i(p.getUint8),m=i(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var n=s(this).byteLength,r=u(e,n),i=u(void 0===t?n:t,n),o=new(c(this,f))(l(i-r)),a=new d(this),p=new d(o),b=0;r<i;)m(p,b++,y(a,r++));return o}})},{"../internals/an-object":25,"../internals/array-buffer":28,"../internals/export":71,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/species-constructor":153,"../internals/to-absolute-index":160,"../internals/to-length":164}],186:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-for-each");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},{"../internals/array-for-each":31,"../internals/export":71}],187:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/array-includes").indexOf,a=e("../internals/array-method-is-strict"),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,l=a("indexOf");r({target:"Array",proto:!0,forced:u||!l},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},{"../internals/array-includes":34,"../internals/array-method-is-strict":38,"../internals/export":71,"../internals/function-uncurry-this":79}],188:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),a=e("../internals/internal-state"),s=e("../internals/object-define-property").f,u=e("../internals/define-iterator"),l=e("../internals/is-pure"),c=e("../internals/descriptors"),f="Array Iterator",d=a.set,p=a.getterFor(f);t.exports=u(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&c&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":22,"../internals/define-iterator":55,"../internals/descriptors":56,"../internals/internal-state":95,"../internals/is-pure":103,"../internals/iterators":108,"../internals/object-define-property":121,"../internals/to-indexed-object":162}],189:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-indexed-object"),s=e("../internals/array-method-is-strict"),u=i([].join),l=o!=Object,c=s("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return u(a(this),void 0===e?",":e)}})},{"../internals/array-method-is-strict":38,"../internals/export":71,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/to-indexed-object":162}],190:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/is-array"),a=e("../internals/is-constructor"),s=e("../internals/is-object"),u=e("../internals/to-absolute-index"),l=e("../internals/length-of-array-like"),c=e("../internals/to-indexed-object"),f=e("../internals/create-property"),d=e("../internals/well-known-symbol"),p=e("../internals/array-method-has-species-support"),h=e("../internals/array-slice"),y=p("slice"),m=d("species"),b=i.Array,g=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(e,t){var n,r,i,d=c(this),p=l(d),y=u(e,p),v=u(void 0===t?p:t,p);if(o(d)&&(n=d.constructor,(a(n)&&(n===b||o(n.prototype))||s(n)&&null===(n=n[m]))&&(n=void 0),n===b||void 0===n))return h(d,y,v);for(r=new(void 0===n?b:n)(g(v-y,0)),i=0;y<v;y++,i++)y in d&&f(r,i,d[y]);return r.length=i,r}})},{"../internals/array-method-has-species-support":37,"../internals/array-slice":41,"../internals/create-property":54,"../internals/export":71,"../internals/global":85,"../internals/is-array":97,"../internals/is-constructor":99,"../internals/is-object":102,"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-indexed-object":162,"../internals/well-known-symbol":182}],191:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-name").EXISTS,o=e("../internals/function-uncurry-this"),a=e("../internals/object-define-property").f,s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(e){return""}}})},{"../internals/descriptors":56,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/object-define-property":121}],192:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-integer-or-infinity"),s=e("../internals/this-number-value"),u=e("../internals/string-repeat"),l=e("../internals/fails"),c=i.RangeError,f=i.String,d=Math.floor,p=o(u),h=o("".slice),y=o(1..toFixed),m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},b=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=d(i/1e7)},g=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=d(r/t),r=r%t*1e7},v=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=f(e[t]);n=""===n?r:n+p("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l((function(){return"0.000"!==y(8e-5,3)||"1"!==y(.9,0)||"1.25"!==y(1.255,2)||"1000000000000000128"!==y(0xde0b6b3a7640080,0)}))||!l((function(){y({})}))},{toFixed:function(e){var t,n,r,i,o=s(this),u=a(e),l=[0,0,0,0,0,0],d="",y="0";if(u<0||u>20)throw c("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return f(o);if(o<0&&(d="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*m(2,69,1))-69)<0?o*m(2,-t,1):o/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(b(l,0,n),r=u;r>=7;)b(l,1e7,0),r-=7;for(b(l,m(10,r,1),0),r=t-1;r>=23;)g(l,1<<23),r-=23;g(l,1<<r),b(l,1,1),g(l,2),y=v(l)}else b(l,0,n),b(l,1<<-t,0),y=v(l)+p("0",u);return y=u>0?d+((i=y.length)<=u?"0."+p("0",u-i)+y:h(y,0,i-u)+"."+h(y,i-u)):d+y}})},{"../internals/export":71,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-repeat":156,"../internals/this-number-value":159,"../internals/to-integer-or-infinity":163}],193:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/descriptors"),o=e("../internals/object-define-property").f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},{"../internals/descriptors":56,"../internals/export":71,"../internals/object-define-property":121}],194:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/fails"),o=e("../internals/object-get-own-property-names-external").f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},{"../internals/export":71,"../internals/fails":72,"../internals/object-get-own-property-names-external":123}],195:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/to-object"),o=e("../internals/object-keys");r({target:"Object",stat:!0,forced:e("../internals/fails")((function(){o(1)}))},{keys:function(e){return o(i(e))}})},{"../internals/export":71,"../internals/fails":72,"../internals/object-keys":129,"../internals/to-object":165}],196:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/redefine"),o=e("../internals/object-to-string");r||i(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/object-to-string":132,"../internals/redefine":139,"../internals/to-string-tag-support":170}],197:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/number-parse-float");r({global:!0,forced:parseFloat!=i},{parseFloat:i})},{"../internals/export":71,"../internals/number-parse-float":116}],198:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/number-parse-int");r({global:!0,forced:parseInt!=i},{parseInt:i})},{"../internals/export":71,"../internals/number-parse-int":117}],199:[function(e,t,n){"use strict";var r,i,o,a,s=e("../internals/export"),u=e("../internals/is-pure"),l=e("../internals/global"),c=e("../internals/get-built-in"),f=e("../internals/function-call"),d=e("../internals/native-promise-constructor"),p=e("../internals/redefine"),h=e("../internals/redefine-all"),y=e("../internals/object-set-prototype-of"),m=e("../internals/set-to-string-tag"),b=e("../internals/set-species"),g=e("../internals/a-callable"),v=e("../internals/is-callable"),w=e("../internals/is-object"),j=e("../internals/an-instance"),E=e("../internals/inspect-source"),x=e("../internals/iterate"),S=e("../internals/check-correctness-of-iteration"),_=e("../internals/species-constructor"),A=e("../internals/task").set,R=e("../internals/microtask"),k=e("../internals/promise-resolve"),O=e("../internals/host-report-errors"),T=e("../internals/new-promise-capability"),M=e("../internals/perform"),I=e("../internals/queue"),P=e("../internals/internal-state"),C=e("../internals/is-forced"),L=e("../internals/well-known-symbol"),N=e("../internals/engine-is-browser"),D=e("../internals/engine-is-node"),B=e("../internals/engine-v8-version"),U=L("species"),F="Promise",q=P.getterFor(F),W=P.set,H=P.getterFor(F),V=d&&d.prototype,z=d,G=V,Y=l.TypeError,$=l.document,J=l.process,K=T.f,X=K,Q=!!($&&$.createEvent&&l.dispatchEvent),Z=v(l.PromiseRejectionEvent),ee="unhandledrejection",te=!1,ne=C(F,(function(){var e=E(z),t=e!==String(z);if(!t&&66===B)return!0;if(u&&!G.finally)return!0;if(B>=51&&/native code/.test(e))return!1;var n=new z((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[U]=r,!(te=n.then((function(){}))instanceof r)||!t&&N&&!Z})),re=ne||!S((function(e){z.all(e).catch((function(){}))})),ie=function(e){var t;return!(!w(e)||!v(t=e.then))&&t},oe=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&ce(t),t.rejection=1),!0===s?n=o:(c&&c.enter(),n=s(o),c&&(c.exit(),i=!0)),n===e.promise?l(Y("Promise-chain cycle")):(r=ie(n))?f(r,n,u,l):u(n)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},ae=function(e,t){e.notified||(e.notified=!0,R((function(){for(var n,r=e.reactions;n=r.get();)oe(n,e);e.notified=!1,t&&!e.rejection&&ue(e)})))},se=function(e,t,n){var r,i;Q?((r=$.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(i=l["on"+e])?i(r):e===ee&&O("Unhandled promise rejection",n)},ue=function(e){f(A,l,(function(){var t,n=e.facade,r=e.value;if(le(e)&&(t=M((function(){D?J.emit("unhandledRejection",r,n):se(ee,n,r)})),e.rejection=D||le(e)?2:1,t.error))throw t.value}))},le=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){f(A,l,(function(){var t=e.facade;D?J.emit("rejectionHandled",t):se("rejectionhandled",t,e.value)}))},fe=function(e,t,n){return function(r){e(t,r,n)}},de=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ae(e,!0))},pe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var r=ie(t);r?R((function(){var n={done:!1};try{f(r,t,fe(pe,n,e),fe(de,n,e))}catch(t){de(n,t,e)}})):(e.value=t,e.state=1,ae(e,!1))}catch(t){de({done:!1},t,e)}}};if(ne&&(G=(z=function(e){j(this,G),g(e),f(r,this);var t=q(this);try{e(fe(pe,t),fe(de,t))}catch(e){de(t,e)}}).prototype,(r=function(e){W(this,{type:F,done:!1,notified:!1,parent:!1,reactions:new I,rejection:!1,state:0,value:void 0})}).prototype=h(G,{then:function(e,t){var n=H(this),r=K(_(this,z));return n.parent=!0,r.ok=!v(e)||e,r.fail=v(t)&&t,r.domain=D?J.domain:void 0,0==n.state?n.reactions.add(r):R((function(){oe(r,n)})),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=q(e);this.promise=e,this.resolve=fe(pe,t),this.reject=fe(de,t)},T.f=K=function(e){return e===z||e===o?new i(e):X(e)},!u&&v(d)&&V!==Object.prototype)){a=V.then,te||(p(V,"then",(function(e,t){var n=this;return new z((function(e,t){f(a,n,e,t)})).then(e,t)}),{unsafe:!0}),p(V,"catch",G.catch,{unsafe:!0}));try{delete V.constructor}catch(e){}y&&y(V,G)}s({global:!0,wrap:!0,forced:ne},{Promise:z}),m(z,F,!1,!0),b(F),o=c(F),s({target:F,stat:!0,forced:ne},{reject:function(e){var t=K(this);return f(t.reject,void 0,e),t.promise}}),s({target:F,stat:!0,forced:u||ne},{resolve:function(e){return k(u&&this===o?z:this,e)}}),s({target:F,stat:!0,forced:re},{all:function(e){var t=this,n=K(t),r=n.resolve,i=n.reject,o=M((function(){var n=g(t.resolve),o=[],a=0,s=1;x(e,(function(e){var u=a++,l=!1;s++,f(n,t,e).then((function(e){l||(l=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,i=M((function(){var i=g(t.resolve);x(e,(function(e){f(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},{"../internals/a-callable":19,"../internals/an-instance":24,"../internals/check-correctness-of-iteration":46,"../internals/engine-is-browser":61,"../internals/engine-is-node":65,"../internals/engine-v8-version":68,"../internals/export":71,"../internals/function-call":77,"../internals/get-built-in":80,"../internals/global":85,"../internals/host-report-errors":88,"../internals/inspect-source":94,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/is-forced":100,"../internals/is-object":102,"../internals/is-pure":103,"../internals/iterate":105,"../internals/microtask":110,"../internals/native-promise-constructor":111,"../internals/new-promise-capability":115,"../internals/object-set-prototype-of":131,"../internals/perform":135,"../internals/promise-resolve":136,"../internals/queue":137,"../internals/redefine":139,"../internals/redefine-all":138,"../internals/set-species":148,"../internals/set-to-string-tag":149,"../internals/species-constructor":153,"../internals/task":158,"../internals/well-known-symbol":182}],200:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/regexp-exec");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},{"../internals/export":71,"../internals/regexp-exec":141}],201:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/function-name").PROPER,o=e("../internals/redefine"),a=e("../internals/an-object"),s=e("../internals/object-is-prototype-of"),u=e("../internals/to-string"),l=e("../internals/fails"),c=e("../internals/regexp-flags"),f="toString",d=RegExp.prototype,p=d.toString,h=r(c),y=l((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),m=i&&p.name!=f;(y||m)&&o(RegExp.prototype,f,(function(){var e=a(this),t=u(e.source),n=e.flags;return"/"+t+"/"+u(void 0===n&&s(d,e)&&!("flags"in d)?h(e):n)}),{unsafe:!0})},{"../internals/an-object":25,"../internals/fails":72,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/object-is-prototype-of":127,"../internals/redefine":139,"../internals/regexp-flags":142,"../internals/to-string":171}],202:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,i=e("../internals/to-string"),o=e("../internals/internal-state"),a=e("../internals/define-iterator"),s="String Iterator",u=o.set,l=o.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},{"../internals/define-iterator":55,"../internals/internal-state":95,"../internals/string-multibyte":154,"../internals/to-string":171}],203:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),a=e("../internals/fix-regexp-well-known-symbol-logic"),s=e("../internals/fails"),u=e("../internals/an-object"),l=e("../internals/is-callable"),c=e("../internals/to-integer-or-infinity"),f=e("../internals/to-length"),d=e("../internals/to-string"),p=e("../internals/require-object-coercible"),h=e("../internals/advance-string-index"),y=e("../internals/get-method"),m=e("../internals/get-substitution"),b=e("../internals/regexp-exec-abstract"),g=e("../internals/well-known-symbol")("replace"),v=Math.max,w=Math.min,j=o([].concat),E=o([].push),x=o("".indexOf),S=o("".slice),_="$0"==="a".replace(/./,"$0"),A=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(e,t,n){var o=A?"$":"$0";return[function(e,n){var r=p(this),o=null==e?void 0:y(e,g);return o?i(o,e,r,n):i(t,d(r),e,n)},function(e,i){var a=u(this),s=d(e);if("string"==typeof i&&-1===x(i,o)&&-1===x(i,"$<")){var p=n(t,a,s,i);if(p.done)return p.value}var y=l(i);y||(i=d(i));var g=a.global;if(g){var _=a.unicode;a.lastIndex=0}for(var A=[];;){var R=b(a,s);if(null===R)break;if(E(A,R),!g)break;""===d(R[0])&&(a.lastIndex=h(s,f(a.lastIndex),_))}for(var k,O="",T=0,M=0;M<A.length;M++){for(var I=d((R=A[M])[0]),P=v(w(c(R.index),s.length),0),C=[],L=1;L<R.length;L++)E(C,void 0===(k=R[L])?k:String(k));var N=R.groups;if(y){var D=j([I],C,P,s);void 0!==N&&E(D,N);var B=d(r(i,void 0,D))}else B=m(I,s,P,C,N,i);P>=T&&(O+=S(s,T,P)+B,T=P+I.length)}return O+S(s,T)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!_||A)},{"../internals/advance-string-index":23,"../internals/an-object":25,"../internals/fails":72,"../internals/fix-regexp-well-known-symbol-logic":73,"../internals/function-apply":74,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/get-method":83,"../internals/get-substitution":84,"../internals/is-callable":98,"../internals/regexp-exec-abstract":140,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-length":164,"../internals/to-string":171,"../internals/well-known-symbol":182}],204:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/array-buffer-view-core"),o=r(e("../internals/array-copy-within")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return o(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-copy-within":29,"../internals/function-uncurry-this":79}],205:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],206:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-call"),o=e("../internals/array-fill"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return i(o,a(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-fill":30,"../internals/function-call":77}],207:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").filter,o=e("../internals/typed-array-from-species-and-list"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/typed-array-from-species-and-list":175}],208:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],209:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],210:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],211:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-includes":34}],212:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-includes":34}],213:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/array-buffer-view-core"),s=e("../modules/es.array.iterator"),u=e("../internals/well-known-symbol")("iterator"),l=r.Uint8Array,c=o(s.values),f=o(s.keys),d=o(s.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,y=l&&l.prototype,m=!i((function(){y[u].call([1])})),b=!!y&&y.values&&y[u]===y.values&&"values"===y.values.name,g=function(){return c(p(this))};h("entries",(function(){return d(p(this))}),m),h("keys",(function(){return f(p(this))}),m),h("values",g,m||!b,{name:"values"}),h(u,g,m||!b,{name:"values"})},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],214:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-uncurry-this"),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=i([].join);a("join",(function(e){return s(o(this),e)}))},{"../internals/array-buffer-view-core":27,"../internals/function-uncurry-this":79}],215:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-apply"),o=e("../internals/array-last-index-of"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(o,a(this),t>1?[e,arguments[1]]:[e])}))},{"../internals/array-buffer-view-core":27,"../internals/array-last-index-of":36,"../internals/function-apply":74}],216:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").map,o=e("../internals/typed-array-species-constructor"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/typed-array-species-constructor":177}],217:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-reduce":39}],218:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-reduce":39}],219:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=this,n=i(t).length,r=a(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},{"../internals/array-buffer-view-core":27}],220:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/array-buffer-view-core"),a=e("../internals/length-of-array-like"),s=e("../internals/to-offset"),u=e("../internals/to-object"),l=e("../internals/fails"),c=r.RangeError,f=r.Int8Array,d=f&&f.prototype,p=d&&d.set,h=o.aTypedArray,y=o.exportTypedArrayMethod,m=!l((function(){var e=new Uint8ClampedArray(2);return i(p,e,{length:1,0:3},1),3!==e[1]})),b=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));y("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=u(e);if(m)return i(p,this,n,t);var r=this.length,o=a(n),l=0;if(o+t>r)throw c("Wrong length");for(;l<o;)this[t+l]=n[l++]}),!m||b)},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-call":77,"../internals/global":85,"../internals/length-of-array-like":109,"../internals/to-object":165,"../internals/to-offset":166}],221:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/typed-array-species-constructor"),o=e("../internals/fails"),a=e("../internals/array-slice"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=i(this),o=0,u=n.length,l=new r(u);u>o;)l[o]=n[o++];return l}),o((function(){new Int8Array(1).slice()})))},{"../internals/array-buffer-view-core":27,"../internals/array-slice":41,"../internals/fails":72,"../internals/typed-array-species-constructor":177}],222:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],223:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/a-callable"),s=e("../internals/array-sort"),u=e("../internals/array-buffer-view-core"),l=e("../internals/engine-ff-version"),c=e("../internals/engine-is-ie-or-edge"),f=e("../internals/engine-v8-version"),d=e("../internals/engine-webkit-version"),p=r.Array,h=u.aTypedArray,y=u.exportTypedArrayMethod,m=r.Uint16Array,b=m&&i(m.prototype.sort),g=!(!b||o((function(){b(new m(2),null)}))&&o((function(){b(new m(2),{})}))),v=!!b&&!o((function(){if(f)return f<74;if(l)return l<67;if(c)return!0;if(d)return d<602;var e,t,n=new m(516),r=p(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(b(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));y("sort",(function(e){return void 0!==e&&a(e),v?b(this,e):s(h(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!v||g)},{"../internals/a-callable":19,"../internals/array-buffer-view-core":27,"../internals/array-sort":42,"../internals/engine-ff-version":60,"../internals/engine-is-ie-or-edge":62,"../internals/engine-v8-version":68,"../internals/engine-webkit-version":69,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],224:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/to-length"),o=e("../internals/to-absolute-index"),a=e("../internals/typed-array-species-constructor"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,u=o(e,r);return new(a(n))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-u))}))},{"../internals/array-buffer-view-core":27,"../internals/to-absolute-index":160,"../internals/to-length":164,"../internals/typed-array-species-constructor":177}],225:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-apply"),o=e("../internals/array-buffer-view-core"),a=e("../internals/fails"),s=e("../internals/array-slice"),u=r.Int8Array,l=o.aTypedArray,c=o.exportTypedArrayMethod,f=[].toLocaleString,d=!!u&&a((function(){f.call(new u(1))}));c("toLocaleString",(function(){return i(f,d?s(l(this)):l(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!=new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])})))},{"../internals/array-buffer-view-core":27,"../internals/array-slice":41,"../internals/fails":72,"../internals/function-apply":74,"../internals/global":85}],226:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core").exportTypedArrayMethod,i=e("../internals/fails"),o=e("../internals/global"),a=e("../internals/function-uncurry-this"),s=o.Uint8Array,u=s&&s.prototype||{},l=[].toString,c=a([].join);i((function(){l.call({})}))&&(l=function(){return c(this)});var f=u.toString!=l;r("toString",l,f)},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],227:[function(e,t,n){e("../internals/typed-array-constructor")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},{"../internals/typed-array-constructor":173}],228:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),a=e("../internals/array-for-each"),s=e("../internals/create-non-enumerable-property"),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&u(r[l]&&r[l].prototype);u(o)},{"../internals/array-for-each":31,"../internals/create-non-enumerable-property":52,"../internals/dom-iterables":58,"../internals/dom-token-list-prototype":59,"../internals/global":85}],229:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),a=e("../modules/es.array.iterator"),s=e("../internals/create-non-enumerable-property"),u=e("../internals/well-known-symbol"),l=u("iterator"),c=u("toStringTag"),f=a.values,d=function(e,t){if(e){if(e[l]!==f)try{s(e,l,f)}catch(t){e[l]=f}if(e[c]||s(e,c,t),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in i)d(r[p]&&r[p].prototype,p);d(o,"DOMTokenList")},{"../internals/create-non-enumerable-property":52,"../internals/dom-iterables":58,"../internals/dom-token-list-prototype":59,"../internals/global":85,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],230:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/get-built-in"),a=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),u=e("../internals/native-url"),l=e("../internals/redefine"),c=e("../internals/redefine-all"),f=e("../internals/set-to-string-tag"),d=e("../internals/create-iterator-constructor"),p=e("../internals/internal-state"),h=e("../internals/an-instance"),y=e("../internals/is-callable"),m=e("../internals/has-own-property"),b=e("../internals/function-bind-context"),g=e("../internals/classof"),v=e("../internals/an-object"),w=e("../internals/is-object"),j=e("../internals/to-string"),E=e("../internals/object-create"),x=e("../internals/create-property-descriptor"),S=e("../internals/get-iterator"),_=e("../internals/get-iterator-method"),A=e("../internals/validate-arguments-length"),R=e("../internals/well-known-symbol"),k=e("../internals/array-sort"),O=R("iterator"),T="URLSearchParams",M="URLSearchParamsIterator",I=p.set,P=p.getterFor(T),C=p.getterFor(M),L=o("fetch"),N=o("Request"),D=o("Headers"),B=N&&N.prototype,U=D&&D.prototype,F=i.RegExp,q=i.TypeError,W=i.decodeURIComponent,H=i.encodeURIComponent,V=s("".charAt),z=s([].join),G=s([].push),Y=s("".replace),$=s([].shift),J=s([].splice),K=s("".split),X=s("".slice),Q=/\+/g,Z=Array(4),ee=function(e){return Z[e-1]||(Z[e-1]=F("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return W(e)}catch(t){return e}},ne=function(e){var t=Y(e,Q," "),n=4;try{return W(t)}catch(e){for(;n;)t=Y(t,ee(n--),te);return t}},re=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return ie[e]},ae=function(e){return Y(H(e),re,oe)},se=d((function(e,t){I(this,{type:M,iterator:S(P(e).entries),kind:t})}),"Iterator",(function(){var e=C(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),ue=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===V(e,0)?X(e,1):e:j(e)))};ue.prototype={type:T,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,s,u,l=_(e);if(l)for(n=(t=S(e,l)).next;!(r=a(n,t)).done;){if(o=(i=S(v(r.value))).next,(s=a(o,i)).done||(u=a(o,i)).done||!a(o,i).done)throw q("Expected sequence with length 2");G(this.entries,{key:j(s.value),value:j(u.value)})}else for(var c in e)m(e,c)&&G(this.entries,{key:c,value:j(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=K(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=K(t,"="),G(this.entries,{key:ne($(n)),value:ne(z(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],G(n,ae(e.key)+"="+ae(e.value));return z(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var le=function(){h(this,ce);var e=arguments.length>0?arguments[0]:void 0;I(this,new ue(e))},ce=le.prototype;if(c(ce,{append:function(e,t){A(arguments.length,2);var n=P(this);G(n.entries,{key:j(e),value:j(t)}),n.updateURL()},delete:function(e){A(arguments.length,1);for(var t=P(this),n=t.entries,r=j(e),i=0;i<n.length;)n[i].key===r?J(n,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=[],i=0;i<t.length;i++)t[i].key===n&&G(r,t[i].value);return r},has:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var n,r=P(this),i=r.entries,o=!1,a=j(e),s=j(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?J(i,u--,1):(o=!0,n.value=s));o||G(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=P(this);k(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=b(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new se(this,"keys")},values:function(){return new se(this,"values")},entries:function(){return new se(this,"entries")}},{enumerable:!0}),l(ce,O,ce.entries,{name:"entries"}),l(ce,"toString",(function(){return P(this).serialize()}),{enumerable:!0}),f(le,T),r({global:!0,forced:!u},{URLSearchParams:le}),!u&&y(D)){var fe=s(U.has),de=s(U.set),pe=function(e){if(w(e)){var t,n=e.body;if(g(n)===T)return t=e.headers?new D(e.headers):new D,fe(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:x(0,j(n)),headers:x(0,t)})}return e};if(y(L)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?pe(arguments[1]):{})}}),y(N)){var he=function(e){return h(this,B),new N(e,arguments.length>1?pe(arguments[1]):{})};B.constructor=he,he.prototype=B,r({global:!0,forced:!0},{Request:he})}}t.exports={URLSearchParams:le,getState:P}},{"../internals/an-instance":24,"../internals/an-object":25,"../internals/array-sort":42,"../internals/classof":48,"../internals/create-iterator-constructor":51,"../internals/create-property-descriptor":53,"../internals/export":71,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/has-own-property":86,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/is-object":102,"../internals/native-url":113,"../internals/object-create":119,"../internals/redefine":139,"../internals/redefine-all":138,"../internals/set-to-string-tag":149,"../internals/to-string":171,"../internals/validate-arguments-length":181,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],231:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),o=e("../internals/descriptors"),a=e("../internals/native-url"),s=e("../internals/global"),u=e("../internals/function-bind-context"),l=e("../internals/function-uncurry-this"),c=e("../internals/object-define-properties").f,f=e("../internals/redefine"),d=e("../internals/an-instance"),p=e("../internals/has-own-property"),h=e("../internals/object-assign"),y=e("../internals/array-from"),m=e("../internals/array-slice-simple"),b=e("../internals/string-multibyte").codeAt,g=e("../internals/string-punycode-to-ascii"),v=e("../internals/to-string"),w=e("../internals/set-to-string-tag"),j=e("../internals/validate-arguments-length"),E=e("../modules/web.url-search-params"),x=e("../internals/internal-state"),S=x.set,_=x.getterFor("URL"),A=E.URLSearchParams,R=E.getState,k=s.URL,O=s.TypeError,T=s.parseInt,M=Math.floor,I=Math.pow,P=l("".charAt),C=l(/./.exec),L=l([].join),N=l(1..toString),D=l([].pop),B=l([].push),U=l("".replace),F=l([].shift),q=l("".split),W=l("".slice),H=l("".toLowerCase),V=l([].unshift),z="Invalid scheme",G="Invalid host",Y="Invalid port",$=/[a-z]/i,J=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)V(t,e%256),e=M(e/256);return L(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=N(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},se,{"#":1,"?":1,"{":1,"}":1}),le=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var n=b(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var n;return 2==e.length&&C($,P(e,0))&&(":"==(n=P(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(W(e,0,2))&&(2==e.length||"/"===(t=P(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===H(e)},ye={},me={},be={},ge={},ve={},we={},je={},Ee={},xe={},Se={},_e={},Ae={},Re={},ke={},Oe={},Te={},Me={},Ie={},Pe={},Ce={},Le={},Ne=function(e,t,n){var r,i,o,a=v(e);if(t){if(i=this.parse(a))throw O(i);this.searchParams=null}else{if(void 0!==n&&(r=new Ne(n,!0)),i=this.parse(a,null,r))throw O(i);(o=R(new A)).bindURL(this),this.searchParams=o}};Ne.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,l=this,c=t||ye,f=0,d="",h=!1,b=!1,g=!1;for(e=v(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=U(e,re,"")),e=U(e,ie,""),i=y(e);f<=i.length;){switch(o=i[f],c){case ye:if(!o||!C($,o)){if(t)return z;c=be;continue}d+=H(o),c=me;break;case me:if(o&&(C(J,o)||"+"==o||"-"==o||"."==o))d+=H(o);else{if(":"!=o){if(t)return z;d="",c=be,f=0;continue}if(t&&(l.isSpecial()!=p(fe,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&fe[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?c=ke:l.isSpecial()&&n&&n.scheme==l.scheme?c=ge:l.isSpecial()?c=Ee:"/"==i[f+1]?(c=ve,f++):(l.cannotBeABaseURL=!0,B(l.path,""),c=Pe)}break;case be:if(!n||n.cannotBeABaseURL&&"#"!=o)return z;if(n.cannotBeABaseURL&&"#"==o){l.scheme=n.scheme,l.path=m(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Le;break}c="file"==n.scheme?ke:we;continue;case ge:if("/"!=o||"/"!=i[f+1]){c=we;continue}c=xe,f++;break;case ve:if("/"==o){c=Se;break}c=Ie;continue;case we:if(l.scheme=n.scheme,o==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query;else if("/"==o||"\\"==o&&l.isSpecial())c=je;else if("?"==o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query="",c=Ce;else{if("#"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.path.length--,c=Ie;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query,l.fragment="",c=Le}break;case je:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Ie;continue}c=Se}else c=xe;break;case Ee:if(c=xe,"/"!=o||"/"!=P(d,f+1))continue;f++;break;case xe:if("/"!=o&&"\\"!=o){c=Se;continue}break;case Se:if("@"==o){h&&(d="%40"+d),h=!0,a=y(d);for(var w=0;w<a.length;w++){var j=a[w];if(":"!=j||g){var E=ce(j,le);g?l.password+=E:l.username+=E}else g=!0}d=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(h&&""==d)return"Invalid authority";f-=y(d).length+1,d="",c=_e}else d+=o;break;case _e:case Ae:if(t&&"file"==l.scheme){c=Te;continue}if(":"!=o||b){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(l.isSpecial()&&""==d)return G;if(t&&""==d&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(d))return s;if(d="",c=Me,t)return;continue}"["==o?b=!0:"]"==o&&(b=!1),d+=o}else{if(""==d)return G;if(s=l.parseHost(d))return s;if(d="",c=Re,t==Ae)return}break;case Re:if(!C(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||t){if(""!=d){var x=T(d,10);if(x>65535)return Y;l.port=l.isSpecial()&&x===fe[l.scheme]?null:x,d=""}if(t)return;c=Me;continue}return Y}d+=o;break;case ke:if(l.scheme="file","/"==o||"\\"==o)c=Oe;else{if(!n||"file"!=n.scheme){c=Ie;continue}if(o==r)l.host=n.host,l.path=m(n.path),l.query=n.query;else if("?"==o)l.host=n.host,l.path=m(n.path),l.query="",c=Ce;else{if("#"!=o){pe(L(m(i,f),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Ie;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Le}}break;case Oe:if("/"==o||"\\"==o){c=Te;break}n&&"file"==n.scheme&&!pe(L(m(i,f),""))&&(de(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Ie;continue;case Te:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))c=Ie;else if(""==d){if(l.host="",t)return;c=Me}else{if(s=l.parseHost(d))return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=Me}continue}d+=o;break;case Me:if(l.isSpecial()){if(c=Ie,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Ie,"/"!=o))continue}else l.fragment="",c=Le;else l.query="",c=Ce;break;case Ie:if(o==r||"/"==o||"\\"==o&&l.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=H(u=d))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||B(l.path,"")):he(d)?"/"==o||"\\"==o&&l.isSpecial()||B(l.path,""):("file"==l.scheme&&!l.path.length&&de(d)&&(l.host&&(l.host=""),d=P(d,0)+":"),B(l.path,d)),d="","file"==l.scheme&&(o==r||"?"==o||"#"==o))for(;l.path.length>1&&""===l.path[0];)F(l.path);"?"==o?(l.query="",c=Ce):"#"==o&&(l.fragment="",c=Le)}else d+=ce(o,ue);break;case Pe:"?"==o?(l.query="",c=Ce):"#"==o?(l.fragment="",c=Le):o!=r&&(l.path[0]+=ce(o,ae));break;case Ce:t||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ce(o,ae)):(l.fragment="",c=Le);break;case Le:o!=r&&(l.fragment+=ce(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==P(e,0)){if("]"!=P(e,e.length-1))return G;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,f=0,d=function(){return P(e,f)};if(":"==d()){if(":"!=P(e,1))return;f+=2,c=++l}for(;d();){if(8==l)return;if(":"!=d()){for(t=n=0;n<4&&C(ee,d());)t=16*t+T(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,l>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!C(K,d()))return;for(;C(K,d());){if(o=T(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[l]=256*u[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[l++]=t}else{if(null!==c)return;f++,c=++l}}if(null!==c)for(a=l-c,l=7;0!=l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!=l)return;return u}(W(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=g(e),C(te,e))return G;if(t=function(e){var t,n,r,i,o,a,s,u=q(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==P(i,0)&&(o=C(X,i)?16:8,i=W(i,8==o?1:2)),""===i)a=0;else{if(!C(10==o?Z:8==o?Q:ee,i))return e;a=T(i,o)}B(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=I(256,5-t))return null}else if(a>255)return null;for(s=D(n),r=0;r<n.length;r++)s+=n[r]*I(256,3-r);return s}(e),null===t)return G;this.host=t}else{if(C(ne,e))return G;for(t="",n=y(e),r=0;r<n.length;r++)t+=ce(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=oe(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new De(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(v(e)+":",ye)},getUsername:function(){return this.username},setUsername:function(e){var t=y(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ce(t[n],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ce(t[n],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,_e)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":v(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=v(e))?this.port=null:this.parse(e,Re))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Me))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=v(e))?this.query=null:("?"==P(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Ce)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=v(e))?("#"==P(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var De=function(e){var t=d(this,Be),n=j(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new Ne(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=De.prototype,Ue=function(e,t){return{get:function(){return _(this)[e]()},set:t&&function(e){return _(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&c(Be,{href:Ue("serialize","setHref"),origin:Ue("getOrigin"),protocol:Ue("getProtocol","setProtocol"),username:Ue("getUsername","setUsername"),password:Ue("getPassword","setPassword"),host:Ue("getHost","setHost"),hostname:Ue("getHostname","setHostname"),port:Ue("getPort","setPort"),pathname:Ue("getPathname","setPathname"),search:Ue("getSearch","setSearch"),searchParams:Ue("getSearchParams"),hash:Ue("getHash","setHash")}),f(Be,"toJSON",(function(){return _(this).serialize()}),{enumerable:!0}),f(Be,"toString",(function(){return _(this).serialize()}),{enumerable:!0}),k){var Fe=k.createObjectURL,qe=k.revokeObjectURL;Fe&&f(De,"createObjectURL",u(Fe,k)),qe&&f(De,"revokeObjectURL",u(qe,k))}w(De,"URL"),i({global:!0,forced:!a,sham:!o},{URL:De})},{"../internals/an-instance":24,"../internals/array-from":33,"../internals/array-slice-simple":40,"../internals/descriptors":56,"../internals/export":71,"../internals/function-bind-context":75,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/has-own-property":86,"../internals/internal-state":95,"../internals/native-url":113,"../internals/object-assign":118,"../internals/object-define-properties":120,"../internals/redefine":139,"../internals/set-to-string-tag":149,"../internals/string-multibyte":154,"../internals/string-punycode-to-ascii":155,"../internals/to-string":171,"../internals/validate-arguments-length":181,"../modules/es.string.iterator":202,"../modules/web.url-search-params":230}],232:[function(e,t,n){function r(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===r(e)},n.isObject=function(e){return"object"==typeof e&&null!==e},n.isDate=function(e){return"[object Date]"===r(e)},n.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("buffer").Buffer.isBuffer},{buffer:11}],233:[function(e,t,n){!function(e){"use strict";!function(e){if("object"==typeof n)t.exports=e();else{var r=this,i=r.createError,o=r.createError=e();o.noConflict=function(){return r.createError=i,o}}}((function(){var e=Object.prototype.toString;return function(){for(var e=new Array(arguments.length),i=0;i<e.length;++i)e[i]=arguments[i];var a=t(e),s=n(e),u=r(e);function l(e,t){o(this,u),o(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function c(){this.constructor=l}return c.prototype=s.prototype,l.prototype=new c,l.prototype.name=""+a||"CustomError",l};function t(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function n(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function r(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function i(e){return"function"==typeof e}function o(t,n){if((s=n)&&"object"==typeof s&&"[object Object]"===e.call(s))for(var r=function(e){var t=[];for(var n in e)t.push(n);return t}(n),i=0,o=r.length;i<o;++i)t[r[i]]=a(n[r[i]]);var s}function a(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}}))}()},{}],234:[function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function u(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=o(e[t],n)})),s(t).forEach((function(i){(function(e,t){return u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(u(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function c(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var f=c;t.exports=f},{}],235:[function(e,t,n){t.exports=function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}},{}],236:[function(e,t,n){var r,i=e("util"),o=e("global"),a=e("events");t.exports=(r=function(){if(o._singletonDespotInstance)return o._singletonDespotInstance;o._singletonDespotInstance=this,a.call(this)},i.inherits(r,a),new r)},{events:242,global:253,util:316}],237:[function(e,t,n){"use strict";var r=e("global/document"),i=e("geval"),o=e("./keys");function a(){}t.exports=function(){var e=o(r);return e?{visible:t,onChange:i((function(n){r.addEventListener(e.event,(function(){n(t())}))}))}:function(){return{visible:function(){return!0},onChange:a}}();function t(){return!r[e.hidden]}}},{"./keys":238,geval:251,"global/document":252}],238:[function(e,t,n){"use strict";t.exports=function(e){var t=function(e){if(null!=e.hidden)return"";if(null!=e.mozHidden)return"moz";if(null!=e.msHidden)return"ms";if(null!=e.webkitHidden)return"webkit"}(e);if(null==t)return;return{hidden:(n=t+"Hidden",n.substring(0,1).toLowerCase()+n.substring(1)),event:t+"visibilitychange"};var n}},{}],239:[function(e,t,n){t.exports=function(e){var t=e.Element.prototype;"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof t.closest&&(t.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}},{}],240:[function(e,t,n){(function(n){(function(){var r=e("once"),i=function(){},o=function(e,t,a){if("function"==typeof t)return o(e,null,t);t||(t={}),a=r(a||i);var s=e._writableState,u=e._readableState,l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,f=!1,d=function(){e.writable||p()},p=function(){c=!1,l||a.call(e)},h=function(){l=!1,c||a.call(e)},y=function(t){a.call(e,t?new Error("exited with error code: "+t):null)},m=function(t){a.call(e,t)},b=function(){n.nextTick(g)},g=function(){if(!f)return(!l||u&&u.ended&&!u.destroyed)&&(!c||s&&s.ended&&!s.destroyed)?void 0:a.call(e,new Error("premature close"))},v=function(){e.req.on("finish",p)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?c&&!s&&(e.on("end",d),e.on("close",d)):(e.on("complete",p),e.on("abort",b),e.req?v():e.on("request",v)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",y),e.on("end",h),e.on("finish",p),!1!==t.error&&e.on("error",m),e.on("close",b),function(){f=!0,e.removeListener("complete",p),e.removeListener("abort",b),e.removeListener("request",v),e.req&&e.req.removeListener("finish",p),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("exit",y),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",b)}};t.exports=o}).call(this)}).call(this,e("_process"))},{_process:279,once:276}],241:[function(e,t,n){"use strict";var r=e("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}t.exports=r},{"get-intrinsic":249}],242:[function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}b(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&b(e,"error",t,n)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function y(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function b(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(n=0;n<l;++n)o(c[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},s.prototype.listenerCount=y,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],243:[function(e,t,n){t.exports=u,u.default=u,u.stable=d,u.stableStringify=d;var r="[...]",i="[Circular]",o=[],a=[];function s(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(e,t,n,r){var i;void 0===r&&(r=s()),c(e,"",0,[],void 0,0,r);try{i=0===a.length?JSON.stringify(e,t,n):JSON.stringify(e,h(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var u=o.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return i}function l(e,t,n,r){var i=Object.getOwnPropertyDescriptor(r,n);void 0!==i.get?i.configurable?(Object.defineProperty(r,n,{value:e}),o.push([r,n,t,i])):a.push([t,n,e]):(r[n]=e,o.push([r,n,t]))}function c(e,t,n,o,a,s,u){var f;if(s+=1,"object"==typeof e&&null!==e){for(f=0;f<o.length;f++)if(o[f]===e)return void l(i,e,t,a);if(void 0!==u.depthLimit&&s>u.depthLimit)return void l(r,e,t,a);if(void 0!==u.edgesLimit&&n+1>u.edgesLimit)return void l(r,e,t,a);if(o.push(e),Array.isArray(e))for(f=0;f<e.length;f++)c(e[f],f,f,o,e,s,u);else{var d=Object.keys(e);for(f=0;f<d.length;f++){var p=d[f];c(e[p],p,f,o,e,s,u)}}o.pop()}}function f(e,t){return e<t?-1:e>t?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=p(e,"",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,h(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var l=o.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return i}function p(e,t,n,a,s,u,c){var d;if(u+=1,"object"==typeof e&&null!==e){for(d=0;d<a.length;d++)if(a[d]===e)return void l(i,e,t,s);try{if("function"==typeof e.toJSON)return}catch(e){return}if(void 0!==c.depthLimit&&u>c.depthLimit)return void l(r,e,t,s);if(void 0!==c.edgesLimit&&n+1>c.edgesLimit)return void l(r,e,t,s);if(a.push(e),Array.isArray(e))for(d=0;d<e.length;d++)p(e[d],d,d,a,e,u,c);else{var h={},y=Object.keys(e).sort(f);for(d=0;d<y.length;d++){var m=y[d];p(e[m],m,d,a,e,u,c),h[m]=e[m]}if(void 0===s)return h;o.push([s,t,e]),s[t]=h}a.pop()}}function h(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(a.length>0)for(var r=0;r<a.length;r++){var i=a[r];if(i[1]===t&&i[0]===n){n=i[2],a.splice(r,1);break}}return e.call(this,t,n)}}},{}],244:[function(e,t,n){var r,i;r=this,i=function(){"use strict";var e=/^(b|B)$/,t={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},r={floor:Math.floor,ceil:Math.ceil};function i(i){var o,a,s,u,l,c,f,d,p,h,y,m,b,g,v,w,j,E,x,S,_,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=[],k=0;if(isNaN(i))throw new TypeError("Invalid number");if(s=!0===A.bits,v=!0===A.unix,m=!0===A.pad,a=A.base||10,b=void 0!==A.round?A.round:v?1:2,f=void 0!==A.locale?A.locale:"",d=A.localeOptions||{},w=void 0!==A.separator?A.separator:"",j=void 0!==A.spacer?A.spacer:v?"":" ",x=A.symbols||{},E=2===a?A.standard||"iec":"jedec",y=A.output||"string",l=!0===A.fullform,c=A.fullforms instanceof Array?A.fullforms:[],o=void 0!==A.exponent?A.exponent:-1,S=r[A.roundingMethod]||Math.round,p=(h=Number(i))<0,u=a>2?1e3:1024,_=!1===isNaN(A.precision)?parseInt(A.precision,10):0,p&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(u)))<0&&(o=0),o>8&&(_>0&&(_+=8-o),o=8),"exponent"===y)return o;if(0===h)R[0]=0,g=R[1]=v?"":t[E][s?"bits":"bytes"][o];else{k=h/(2===a?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(k*=8)>=u&&o<8&&(k/=u,o++);var O=Math.pow(10,o>0?b:0);R[0]=S(k*O)/O,R[0]===u&&o<8&&void 0===A.exponent&&(R[0]=1,o++),g=R[1]=10===a&&1===o?s?"kbit":"kB":t[E][s?"bits":"bytes"][o],v&&(R[1]=R[1].charAt(0),e.test(R[1])&&(R[0]=Math.floor(R[0]),R[1]=""))}if(p&&(R[0]=-R[0]),_>0&&(R[0]=R[0].toPrecision(_)),R[1]=x[R[1]]||R[1],!0===f?R[0]=R[0].toLocaleString():f.length>0?R[0]=R[0].toLocaleString(f,d):w.length>0&&(R[0]=R[0].toString().replace(".",w)),m&&!1===Number.isInteger(R[0])&&b>0){var T=w||".",M=R[0].toString().split(T),I=M[1]||"",P=I.length,C=b-P;R[0]="".concat(M[0]).concat(T).concat(I.padEnd(P+C,"0"))}return l&&(R[1]=c[o]?c[o]:n[E][o]+(s?"bit":"byte")+(1===R[0]?"":"s")),"array"===y?R:"object"===y?{value:R[0],symbol:R[1],exponent:o,unit:g}:R.join(j)}return i.partial=function(e){return function(t){return i(t,e)}},i},"object"==typeof n&&void 0!==t?t.exports=i():(r="undefined"!=typeof globalThis?globalThis:r||self).filesize=i()},{}],245:[function(e,t,n){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(e,t,n){if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(n,e[a],a,e);else for(var s in e)r.call(e,s)&&t.call(n,e[s],s,e)}},{}],246:[function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(e){var t=this;if("function"!=typeof t||o.call(t)!==a)throw new TypeError(r+t);for(var n,s=i.call(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,s.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(e,s.concat(i.call(arguments)))},l=Math.max(0,t.length-s.length),c=[],f=0;f<l;f++)c.push("$"+f);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},{}],247:[function(e,t,n){"use strict";var r=e("./implementation");t.exports=Function.prototype.bind||r},{"./implementation":246}],248:[function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.__esModule=!0,n.default=c,n.getFieldData=f;var i={"[object HTMLCollection]":!0,"[object NodeList]":!0,"[object RadioNodeList]":!0},o={button:!0,fieldset:!0,reset:!0,submit:!0},a={checkbox:!0,radio:!0},s=/^\s+|\s+$/g,u=Array.prototype.slice,l=Object.prototype.toString;function c(e,t){if(!e)throw new Error("A form is required by getFormData, was given form="+e);t=r({includeDisabled:!1,trim:!1},t);for(var n,i={},a=[],s={},u=0,l=e.elements.length;u<l;u++){var c=e.elements[u];o[c.type]||c.disabled&&!t.includeDisabled||(n=c.name||c.id)&&!s[n]&&(a.push(n),s[n]=!0)}for(var d=0,p=a.length;d<p;d++){var h=f(e,n=a[d],t);null!=h&&(i[n]=h)}return i}function f(e,t,n){if(!e)throw new Error("A form is required by getFieldData, was given form="+e);if(!t&&"[object String]"!==l.call(t))throw new Error("A field name is required by getFieldData, was given fieldName="+t);n=r({includeDisabled:!1,trim:!1},n);var o=e.elements[t];if(!o||o.disabled&&!n.includeDisabled)return null;if(!i[l.call(o)])return d(o,n.trim);for(var a=[],s=!0,u=0,c=o.length;u<c;u++)if(!o[u].disabled||n.includeDisabled){s&&"radio"!==o[u].type&&(s=!1);var f=d(o[u],n.trim);null!=f&&(a=a.concat(f))}return s&&1===a.length?a[0]:a.length>0?a:null}function d(e,t){var n=null,r=e.type;if("select-one"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if("select-multiple"===r){n=[];for(var i=0,o=e.options.length;i<o;i++)e.options[i].selected&&n.push(e.options[i].value);return 0===n.length&&(n=null),n}return"file"===r&&"files"in e?(e.multiple?0===(n=u.call(e.files)).length&&(n=null):n=e.files[0],n):(a[r]?e.checked&&(n="checkbox"===r&&!e.hasAttribute("value")||e.value):n=t?e.value.replace(s,""):e.value,n)}c.getFieldData=f},{}],249:[function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,f=e("has-symbols")(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:d(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=d(i.prototype))}return y[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=e("function-bind"),v=e("has"),w=g.call(Function.call,Array.prototype.concat),j=g.call(Function.apply,Array.prototype.splice),E=g.call(Function.call,String.prototype.replace),x=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,A=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,S,(function(e,t,n,i){r[r.length]=n?E(i,_,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(v(b,r)&&(r="%"+(n=b[r])[0]+"%"),v(y,r)){var o=y[r];if(o===p&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=A(e),r=n.length>0?n[0]:"",o=R("%"+r+"%",t),s=o.name,l=o.value,c=!1,f=o.alias;f&&(r=f[0],j(n,w([0,1],f)));for(var d=1,p=!0;d<n.length;d+=1){var h=n[d],m=x(h,0,1),b=x(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===b||"'"===b||"`"===b)&&m!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&p||(c=!0),v(y,s="%"+(r+="."+h)+"%"))l=y[s];else if(null!=l){if(!(h in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&d+1>=n.length){var g=u(l,h);l=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[h]}else p=v(l,h),l=l[h];p&&!c&&(y[s]=l)}}return l}},{"function-bind":247,has:257,"has-symbols":254}],250:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n<e.length;n++)e[n](t)},listen:function(t){return e.push(t),n;function n(){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}}},{}],251:[function(e,t,n){var r=e("./event.js");t.exports=function(e){var t=r();return e(t.broadcast),t.listen}},{"./event.js":250}],252:[function(e,t,n){(function(n){(function(){var r,i=void 0!==n?n:"undefined"!=typeof window?window:{},o=e("min-document");"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=r}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":9}],253:[function(e,t,n){(function(e){(function(){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],254:[function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=e("./shams");t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},{"./shams":255}],255:[function(e,t,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},{}],256:[function(e,t,n){"use strict";var r=e("has-symbols/shams");t.exports=function(){return r()&&!!Symbol.toStringTag}},{"has-symbols/shams":255}],257:[function(e,t,n){"use strict";var r=e("function-bind");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":247}],258:[function(e,t,n){t.exports=function(e,t){if(void 0===t)return"none"===e.style.display;e.style.display=t?"none":""}},{}],259:[function(e,t,n){!function(){var e={y:function(e){return 1===e?"χρόνος":"χρόνια"},mo:function(e){return 1===e?"μήνας":"μήνες"},w:function(e){return 1===e?"εβδομάδα":"εβδομάδες"},d:function(e){return 1===e?"μέρα":"μέρες"},h:function(e){return 1===e?"ώρα":"ώρες"},m:function(e){return 1===e?"λεπτό":"λεπτά"},s:function(e){return 1===e?"δευτερόλεπτο":"δευτερόλεπτα"},ms:function(e){return 1===e?"χιλιοστό του δευτερολέπτου":"χιλιοστά του δευτερολέπτου"},decimal:","},n=["۰","١","٢","٣","٤","٥","٦","٧","٨","٩"],r={af:{y:"jaar",mo:function(e){return"maand"+(1===e?"":"e")},w:function(e){return 1===e?"week":"weke"},d:function(e){return 1===e?"dag":"dae"},h:function(e){return 1===e?"uur":"ure"},m:function(e){return 1===e?"minuut":"minute"},s:function(e){return"sekonde"+(1===e?"":"s")},ms:function(e){return"millisekonde"+(1===e?"":"s")},decimal:","},ar:{y:function(e){return["سنة","سنتان","سنوات"][u(e)]},mo:function(e){return["شهر","شهران","أشهر"][u(e)]},w:function(e){return["أسبوع","أسبوعين","أسابيع"][u(e)]},d:function(e){return["يوم","يومين","أيام"][u(e)]},h:function(e){return["ساعة","ساعتين","ساعات"][u(e)]},m:function(e){return["دقيقة","دقيقتان","دقائق"][u(e)]},s:function(e){return["ثانية","ثانيتان","ثواني"][u(e)]},ms:function(e){return["جزء من الثانية","جزآن من الثانية","أجزاء من الثانية"][u(e)]},decimal:",",delimiter:" و ",_formatCount:function(e,t){for(var r=s(n,{".":t}),i=e.toString().split(""),o=0;o<i.length;o++){var a=i[o];y(r,a)&&(i[o]=r[a])}return i.join("")}},bg:{y:function(e){return["години","година","години"][c(e)]},mo:function(e){return["месеца","месец","месеца"][c(e)]},w:function(e){return["седмици","седмица","седмици"][c(e)]},d:function(e){return["дни","ден","дни"][c(e)]},h:function(e){return["часа","час","часа"][c(e)]},m:function(e){return["минути","минута","минути"][c(e)]},s:function(e){return["секунди","секунда","секунди"][c(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунди"][c(e)]},decimal:","},bn:{y:"বছর",mo:"মাস",w:"সপ্তাহ",d:"দিন",h:"ঘন্টা",m:"মিনিট",s:"সেকেন্ড",ms:"মিলিসেকেন্ড"},ca:{y:function(e){return"any"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"os")},w:function(e){return"setman"+(1===e?"a":"es")},d:function(e){return"di"+(1===e?"a":"es")},h:function(e){return"hor"+(1===e?"a":"es")},m:function(e){return"minut"+(1===e?"":"s")},s:function(e){return"segon"+(1===e?"":"s")},ms:function(e){return"milisegon"+(1===e?"":"s")},decimal:","},cs:{y:function(e){return["rok","roku","roky","let"][f(e)]},mo:function(e){return["měsíc","měsíce","měsíce","měsíců"][f(e)]},w:function(e){return["týden","týdne","týdny","týdnů"][f(e)]},d:function(e){return["den","dne","dny","dní"][f(e)]},h:function(e){return["hodina","hodiny","hodiny","hodin"][f(e)]},m:function(e){return["minuta","minuty","minuty","minut"][f(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][f(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][f(e)]},decimal:","},cy:{y:"flwyddyn",mo:"mis",w:"wythnos",d:"diwrnod",h:"awr",m:"munud",s:"eiliad",ms:"milieiliad"},da:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uge"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"e")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minut"+(1===e?"":"ter")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},de:{y:function(e){return"Jahr"+(1===e?"":"e")},mo:function(e){return"Monat"+(1===e?"":"e")},w:function(e){return"Woche"+(1===e?"":"n")},d:function(e){return"Tag"+(1===e?"":"e")},h:function(e){return"Stunde"+(1===e?"":"n")},m:function(e){return"Minute"+(1===e?"":"n")},s:function(e){return"Sekunde"+(1===e?"":"n")},ms:function(e){return"Millisekunde"+(1===e?"":"n")},decimal:","},el:e,en:{y:function(e){return"year"+(1===e?"":"s")},mo:function(e){return"month"+(1===e?"":"s")},w:function(e){return"week"+(1===e?"":"s")},d:function(e){return"day"+(1===e?"":"s")},h:function(e){return"hour"+(1===e?"":"s")},m:function(e){return"minute"+(1===e?"":"s")},s:function(e){return"second"+(1===e?"":"s")},ms:function(e){return"millisecond"+(1===e?"":"s")},decimal:"."},eo:{y:function(e){return"jaro"+(1===e?"":"j")},mo:function(e){return"monato"+(1===e?"":"j")},w:function(e){return"semajno"+(1===e?"":"j")},d:function(e){return"tago"+(1===e?"":"j")},h:function(e){return"horo"+(1===e?"":"j")},m:function(e){return"minuto"+(1===e?"":"j")},s:function(e){return"sekundo"+(1===e?"":"j")},ms:function(e){return"milisekundo"+(1===e?"":"j")},decimal:","},es:{y:function(e){return"año"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"es")},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"día"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milisegundo"+(1===e?"":"s")},decimal:","},et:{y:function(e){return"aasta"+(1===e?"":"t")},mo:function(e){return"kuu"+(1===e?"":"d")},w:function(e){return"nädal"+(1===e?"":"at")},d:function(e){return"päev"+(1===e?"":"a")},h:function(e){return"tund"+(1===e?"":"i")},m:function(e){return"minut"+(1===e?"":"it")},s:function(e){return"sekund"+(1===e?"":"it")},ms:function(e){return"millisekund"+(1===e?"":"it")},decimal:","},eu:{y:"urte",mo:"hilabete",w:"aste",d:"egun",h:"ordu",m:"minutu",s:"segundo",ms:"milisegundo",decimal:","},fa:{y:"سال",mo:"ماه",w:"هفته",d:"روز",h:"ساعت",m:"دقیقه",s:"ثانیه",ms:"میلی ثانیه",decimal:"."},fi:{y:function(e){return 1===e?"vuosi":"vuotta"},mo:function(e){return 1===e?"kuukausi":"kuukautta"},w:function(e){return"viikko"+(1===e?"":"a")},d:function(e){return"päivä"+(1===e?"":"ä")},h:function(e){return"tunti"+(1===e?"":"a")},m:function(e){return"minuutti"+(1===e?"":"a")},s:function(e){return"sekunti"+(1===e?"":"a")},ms:function(e){return"millisekunti"+(1===e?"":"a")},decimal:","},fo:{y:"ár",mo:function(e){return 1===e?"mánaður":"mánaðir"},w:function(e){return 1===e?"vika":"vikur"},d:function(e){return 1===e?"dagur":"dagar"},h:function(e){return 1===e?"tími":"tímar"},m:function(e){return 1===e?"minuttur":"minuttir"},s:"sekund",ms:"millisekund",decimal:","},fr:{y:function(e){return"an"+(e>=2?"s":"")},mo:"mois",w:function(e){return"semaine"+(e>=2?"s":"")},d:function(e){return"jour"+(e>=2?"s":"")},h:function(e){return"heure"+(e>=2?"s":"")},m:function(e){return"minute"+(e>=2?"s":"")},s:function(e){return"seconde"+(e>=2?"s":"")},ms:function(e){return"milliseconde"+(e>=2?"s":"")},decimal:","},gr:e,he:{y:function(e){return 1===e?"שנה":"שנים"},mo:function(e){return 1===e?"חודש":"חודשים"},w:function(e){return 1===e?"שבוע":"שבועות"},d:function(e){return 1===e?"יום":"ימים"},h:function(e){return 1===e?"שעה":"שעות"},m:function(e){return 1===e?"דקה":"דקות"},s:function(e){return 1===e?"שניה":"שניות"},ms:function(e){return 1===e?"מילישנייה":"מילישניות"},decimal:"."},hr:{y:function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"},mo:function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"},w:function(e){return e%10==1&&11!==e?"tjedan":"tjedna"},d:function(e){return 1===e?"dan":"dana"},h:function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"},m:function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?"minuta":"minute"},s:function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi"},ms:function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"},decimal:","},hi:{y:"साल",mo:function(e){return 1===e?"महीना":"महीने"},w:function(e){return 1===e?"हफ़्ता":"हफ्ते"},d:"दिन",h:function(e){return 1===e?"घंटा":"घंटे"},m:"मिनट",s:"सेकंड",ms:"मिलीसेकंड",decimal:"."},hu:{y:"év",mo:"hónap",w:"hét",d:"nap",h:"óra",m:"perc",s:"másodperc",ms:"ezredmásodperc",decimal:","},id:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"menit",s:"detik",ms:"milidetik",decimal:"."},is:{y:"ár",mo:function(e){return"mánuð"+(1===e?"ur":"ir")},w:function(e){return"vik"+(1===e?"a":"ur")},d:function(e){return"dag"+(1===e?"ur":"ar")},h:function(e){return"klukkutím"+(1===e?"i":"ar")},m:function(e){return"mínút"+(1===e?"a":"ur")},s:function(e){return"sekúnd"+(1===e?"a":"ur")},ms:function(e){return"millisekúnd"+(1===e?"a":"ur")},decimal:"."},it:{y:function(e){return"ann"+(1===e?"o":"i")},mo:function(e){return"mes"+(1===e?"e":"i")},w:function(e){return"settiman"+(1===e?"a":"e")},d:function(e){return"giorn"+(1===e?"o":"i")},h:function(e){return"or"+(1===e?"a":"e")},m:function(e){return"minut"+(1===e?"o":"i")},s:function(e){return"second"+(1===e?"o":"i")},ms:function(e){return"millisecond"+(1===e?"o":"i")},decimal:","},ja:{y:"年",mo:"ヶ月",w:"週",d:"日",h:"時間",m:"分",s:"秒",ms:"ミリ秒",decimal:"."},km:{y:"ឆ្នាំ",mo:"ខែ",w:"សប្តាហ៍",d:"ថ្ងៃ",h:"ម៉ោង",m:"នាទី",s:"វិនាទី",ms:"មិល្លីវិនាទី"},kn:{y:function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"},mo:function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"},w:function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"},d:function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"},h:function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"},m:function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"},s:function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"},ms:function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"}},ko:{y:"년",mo:"개월",w:"주일",d:"일",h:"시간",m:"분",s:"초",ms:"밀리 초",decimal:"."},ku:{y:"sal",mo:"meh",w:"hefte",d:"roj",h:"seet",m:"deqe",s:"saniye",ms:"mîlîçirk",decimal:","},lo:{y:"ປີ",mo:"ເດືອນ",w:"ອາທິດ",d:"ມື້",h:"ຊົ່ວໂມງ",m:"ນາທີ",s:"ວິນາທີ",ms:"ມິນລິວິນາທີ",decimal:","},lt:{y:function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"},mo:function(e){return["mėnuo","mėnesiai","mėnesių"][d(e)]},w:function(e){return["savaitė","savaitės","savaičių"][d(e)]},d:function(e){return["diena","dienos","dienų"][d(e)]},h:function(e){return["valanda","valandos","valandų"][d(e)]},m:function(e){return["minutė","minutės","minučių"][d(e)]},s:function(e){return["sekundė","sekundės","sekundžių"][d(e)]},ms:function(e){return["milisekundė","milisekundės","milisekundžių"][d(e)]},decimal:","},lv:{y:function(e){return p(e)?"gads":"gadi"},mo:function(e){return p(e)?"mēnesis":"mēneši"},w:function(e){return p(e)?"nedēļa":"nedēļas"},d:function(e){return p(e)?"diena":"dienas"},h:function(e){return p(e)?"stunda":"stundas"},m:function(e){return p(e)?"minūte":"minūtes"},s:function(e){return p(e)?"sekunde":"sekundes"},ms:function(e){return p(e)?"milisekunde":"milisekundes"},decimal:","},mk:{y:function(e){return 1===e?"година":"години"},mo:function(e){return 1===e?"месец":"месеци"},w:function(e){return 1===e?"недела":"недели"},d:function(e){return 1===e?"ден":"дена"},h:function(e){return 1===e?"час":"часа"},m:function(e){return 1===e?"минута":"минути"},s:function(e){return 1===e?"секунда":"секунди"},ms:function(e){return 1===e?"милисекунда":"милисекунди"},decimal:","},mr:{y:function(e){return 1===e?"वर्ष":"वर्षे"},mo:function(e){return 1===e?"महिना":"महिने"},w:function(e){return 1===e?"आठवडा":"आठवडे"},d:"दिवस",h:"तास",m:function(e){return 1===e?"मिनिट":"मिनिटे"},s:"सेकंद",ms:"मिलिसेकंद"},ms:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"minit",s:"saat",ms:"milisaat",decimal:"."},nl:{y:"jaar",mo:function(e){return 1===e?"maand":"maanden"},w:function(e){return 1===e?"week":"weken"},d:function(e){return 1===e?"dag":"dagen"},h:"uur",m:function(e){return 1===e?"minuut":"minuten"},s:function(e){return 1===e?"seconde":"seconden"},ms:function(e){return 1===e?"milliseconde":"milliseconden"},decimal:","},no:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uke"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"er")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minutt"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},pl:{y:function(e){return["rok","roku","lata","lat"][l(e)]},mo:function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][l(e)]},w:function(e){return["tydzień","tygodnia","tygodnie","tygodni"][l(e)]},d:function(e){return["dzień","dnia","dni","dni"][l(e)]},h:function(e){return["godzina","godziny","godziny","godzin"][l(e)]},m:function(e){return["minuta","minuty","minuty","minut"][l(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][l(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][l(e)]},decimal:","},pt:{y:function(e){return"ano"+(1===e?"":"s")},mo:function(e){return 1===e?"mês":"meses"},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"dia"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milissegundo"+(1===e?"":"s")},decimal:","},ro:{y:function(e){return 1===e?"an":"ani"},mo:function(e){return 1===e?"lună":"luni"},w:function(e){return 1===e?"săptămână":"săptămâni"},d:function(e){return 1===e?"zi":"zile"},h:function(e){return 1===e?"oră":"ore"},m:function(e){return 1===e?"minut":"minute"},s:function(e){return 1===e?"secundă":"secunde"},ms:function(e){return 1===e?"milisecundă":"milisecunde"},decimal:","},ru:{y:function(e){return["лет","год","года"][c(e)]},mo:function(e){return["месяцев","месяц","месяца"][c(e)]},w:function(e){return["недель","неделя","недели"][c(e)]},d:function(e){return["дней","день","дня"][c(e)]},h:function(e){return["часов","час","часа"][c(e)]},m:function(e){return["минут","минута","минуты"][c(e)]},s:function(e){return["секунд","секунда","секунды"][c(e)]},ms:function(e){return["миллисекунд","миллисекунда","миллисекунды"][c(e)]},decimal:","},sq:{y:function(e){return 1===e?"vit":"vjet"},mo:"muaj",w:"javë",d:"ditë",h:"orë",m:function(e){return"minut"+(1===e?"ë":"a")},s:function(e){return"sekond"+(1===e?"ë":"a")},ms:function(e){return"milisekond"+(1===e?"ë":"a")},decimal:","},sr:{y:function(e){return["години","година","године"][c(e)]},mo:function(e){return["месеци","месец","месеца"][c(e)]},w:function(e){return["недељи","недеља","недеље"][c(e)]},d:function(e){return["дани","дан","дана"][c(e)]},h:function(e){return["сати","сат","сата"][c(e)]},m:function(e){return["минута","минут","минута"][c(e)]},s:function(e){return["секунди","секунда","секунде"][c(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунде"][c(e)]},decimal:","},ta:{y:function(e){return 1===e?"வருடம்":"ஆண்டுகள்"},mo:function(e){return 1===e?"மாதம்":"மாதங்கள்"},w:function(e){return 1===e?"வாரம்":"வாரங்கள்"},d:function(e){return 1===e?"நாள்":"நாட்கள்"},h:function(e){return 1===e?"மணி":"மணிநேரம்"},m:function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")},s:function(e){return"வினாடி"+(1===e?"":"கள்")},ms:function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")}},te:{y:function(e){return"సంవత్స"+(1===e?"రం":"రాల")},mo:function(e){return"నెల"+(1===e?"":"ల")},w:function(e){return 1===e?"వారం":"వారాలు"},d:function(e){return"రోజు"+(1===e?"":"లు")},h:function(e){return"గంట"+(1===e?"":"లు")},m:function(e){return 1===e?"నిమిషం":"నిమిషాలు"},s:function(e){return 1===e?"సెకను":"సెకన్లు"},ms:function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"}},uk:{y:function(e){return["років","рік","роки"][c(e)]},mo:function(e){return["місяців","місяць","місяці"][c(e)]},w:function(e){return["тижнів","тиждень","тижні"][c(e)]},d:function(e){return["днів","день","дні"][c(e)]},h:function(e){return["годин","година","години"][c(e)]},m:function(e){return["хвилин","хвилина","хвилини"][c(e)]},s:function(e){return["секунд","секунда","секунди"][c(e)]},ms:function(e){return["мілісекунд","мілісекунда","мілісекунди"][c(e)]},decimal:","},ur:{y:"سال",mo:function(e){return 1===e?"مہینہ":"مہینے"},w:function(e){return 1===e?"ہفتہ":"ہفتے"},d:"دن",h:function(e){return 1===e?"گھنٹہ":"گھنٹے"},m:"منٹ",s:"سیکنڈ",ms:"ملی سیکنڈ",decimal:"."},sk:{y:function(e){return["rok","roky","roky","rokov"][f(e)]},mo:function(e){return["mesiac","mesiace","mesiace","mesiacov"][f(e)]},w:function(e){return["týždeň","týždne","týždne","týždňov"][f(e)]},d:function(e){return["deň","dni","dni","dní"][f(e)]},h:function(e){return["hodina","hodiny","hodiny","hodín"][f(e)]},m:function(e){return["minúta","minúty","minúty","minút"][f(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekúnd"][f(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][f(e)]},decimal:","},sl:{y:function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"},mo:function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"},w:function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"},d:function(e){return e%100==1?"dan":"dni"},h:function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"},m:function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"},s:function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"},ms:function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"},decimal:","},sv:{y:"år",mo:function(e){return"månad"+(1===e?"":"er")},w:function(e){return"veck"+(1===e?"a":"or")},d:function(e){return"dag"+(1===e?"":"ar")},h:function(e){return"timm"+(1===e?"e":"ar")},m:function(e){return"minut"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},sw:{y:function(e){return 1===e?"mwaka":"miaka"},mo:function(e){return 1===e?"mwezi":"miezi"},w:"wiki",d:function(e){return 1===e?"siku":"masiku"},h:function(e){return 1===e?"saa":"masaa"},m:"dakika",s:"sekunde",ms:"milisekunde",decimal:"."},tr:{y:"yıl",mo:"ay",w:"hafta",d:"gün",h:"saat",m:"dakika",s:"saniye",ms:"milisaniye",decimal:","},th:{y:"ปี",mo:"เดือน",w:"สัปดาห์",d:"วัน",h:"ชั่วโมง",m:"นาที",s:"วินาที",ms:"มิลลิวินาที",decimal:"."},vi:{y:"năm",mo:"tháng",w:"tuần",d:"ngày",h:"giờ",m:"phút",s:"giây",ms:"mili giây",decimal:","},zh_CN:{y:"年",mo:"个月",w:"周",d:"天",h:"小时",m:"分钟",s:"秒",ms:"毫秒",decimal:"."},zh_TW:{y:"年",mo:"個月",w:"周",d:"天",h:"小時",m:"分鐘",s:"秒",ms:"毫秒",decimal:"."}};function i(e){var t=function(e,n){return function(e,t){var n,i,o;e=Math.abs(e);var s,u,l,c=function(e){var t=[e.language];if(y(e,"fallbacks")){if(!h(e.fallbacks)||!e.fallbacks.length)throw new Error("fallbacks must be an array with at least one element");t=t.concat(e.fallbacks)}for(var n=0;n<t.length;n++){var i=t[n];if(y(e.languages,i))return e.languages[i];if(y(r,i))return r[i]}throw new Error("No language found.")}(t),f=[];for(n=0,i=t.units.length;n<i;n++){if(s=t.units[n],u=t.unitMeasures[s],n+1===i)if(y(t,"maxDecimalPoints")){var d=Math.pow(10,t.maxDecimalPoints),p=e/u;l=parseFloat((Math.floor(d*p)/d).toFixed(t.maxDecimalPoints))}else l=e/u;else l=Math.floor(e/u);f.push({unitCount:l,unitName:s}),e-=l*u}var m,b,g=0;for(n=0;n<f.length;n++)if(f[n].unitCount){g=n;break}if(t.round)for(n=f.length-1;n>=0&&((o=f[n]).unitCount=Math.round(o.unitCount),0!==n);n--)b=f[n-1],m=t.unitMeasures[b.unitName]/t.unitMeasures[o.unitName],(o.unitCount%m==0||t.largest&&t.largest-1<n-g)&&(b.unitCount+=o.unitCount/m,o.unitCount=0);var v=[];for(n=0,f.length;n<i&&((o=f[n]).unitCount&&v.push(a(o.unitCount,o.unitName,c,t)),v.length!==t.largest);n++);if(!v.length)return a(0,t.units[t.units.length-1],c,t);var w;if(w=y(t,"delimiter")?t.delimiter:y(c,"delimiter")?c.delimiter:", ",!t.conjunction||1===v.length)return v.join(w);if(2===v.length)return v.join(t.conjunction);if(v.length>2)return v.slice(0,-1).join(w)+(t.serialComma?",":"")+t.conjunction+v.slice(-1)}(e,s({},t,n||{}))};return s(t,{language:"en",spacer:" ",conjunction:"",serialComma:!0,units:["y","mo","w","d","h","m","s"],languages:{},round:!1,unitMeasures:{y:315576e5,mo:26298e5,w:6048e5,d:864e5,h:36e5,m:6e4,s:1e3,ms:1}},e)}var o=i({});function a(e,t,n,r){var i,o;i=y(r,"decimal")?r.decimal:y(n,"decimal")?n.decimal:".",o="function"==typeof n._formatCount?n._formatCount(e,i):e.toString().replace(".",i);var a,s=n[t];return a="function"==typeof s?s(e):s,o+r.spacer+a}function s(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])y(t,r)&&(e[r]=t[r]);return e}function u(e){return 1===e?0:2===e?1:e>2&&e<11?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function c(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function f(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function d(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function p(e){return e%10==1&&e%100!=11}var h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}o.getSupportedLanguages=function(){var e=[];for(var t in r)y(r,t)&&"gr"!==t&&e.push(t);return e},o.humanizer=i,void 0!==t&&t.exports?t.exports=o:this.humanizeDuration=o}()},{}],260:[function(e,t,n){var r=e("browser-split"),i=e("class-list"),o="undefined"==typeof window?e("html-element"):window,a=o.document,s=o.Text;function u(){var e=[];function t(){var t=[].slice.call(arguments),n=null;function o(t){var u,d;if(null==t);else if("string"==typeof t)n?n.appendChild(u=a.createTextNode(t)):(d=r(t,/([\.#]?[^\s#.]+)/),/^\.|#/.test(d[1])&&(n=a.createElement("div")),c(d,(function(e){var t=e.substring(1,e.length);e&&(n?"."===e[0]?i(n).add(t):"#"===e[0]&&n.setAttribute("id",t):n=a.createElement(e))})));else if("number"==typeof t||"boolean"==typeof t||t instanceof Date||t instanceof RegExp)n.appendChild(u=a.createTextNode(t.toString()));else if(f(t))c(t,o);else if(l(t))n.appendChild(u=t);else if(t instanceof s)n.appendChild(u=t);else if("object"==typeof t)for(var p in t)if("function"==typeof t[p])/^on\w+/.test(p)?function(t,r){n.addEventListener?(n.addEventListener(t.substring(2),r[t],!1),e.push((function(){n.removeEventListener(t.substring(2),r[t],!1)}))):(n.attachEvent(t,r[t]),e.push((function(){n.detachEvent(t,r[t])})))}(p,t):(n[p]=t[p](),e.push(t[p]((function(e){n[p]=e}))));else if("style"===p)if("string"==typeof t[p])n.style.cssText=t[p];else for(var h in t[p])!function(r,i){if("function"==typeof i)n.style.setProperty(r,i()),e.push(i((function(e){n.style.setProperty(r,e)})));else var o=t[p][r].match(/(.*)\W+!important\W*$/);o?n.style.setProperty(r,o[1],"important"):n.style.setProperty(r,t[p][r])}(h,t[p][h]);else if("attrs"===p)for(var y in t[p])n.setAttribute(y,t[p][y]);else"data-"===p.substr(0,5)?n.setAttribute(p,t[p]):n[p]=t[p];else if("function"==typeof t){y=t();n.appendChild(u=l(y)?y:a.createTextNode(y)),e.push(t((function(e){l(e)&&u.parentElement?(u.parentElement.replaceChild(e,u),u=e):u.textContent=e})))}return u}for(;t.length;)o(t.shift());return n}return t.cleanup=function(){for(var t=0;t<e.length;t++)e[t]();e.length=0},t}function l(e){return e&&e.nodeName&&e.nodeType}function c(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n)}function f(e){return"[object Array]"==Object.prototype.toString.call(e)}(t.exports=u()).context=u},{"browser-split":10,"class-list":15,"html-element":9}],261:[function(e,t,n){
21
+ "document"in self&&(!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))?function(e){"use strict";if("Element"in e){var t="classList",n=e.Element.prototype,r=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},o=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return o.call(e,t)},u=function(e){for(var t=i.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},l=u.prototype=[],c=function(){return new u(this)};if(a.prototype=Error.prototype,l.item=function(e){return this[e]||null},l.contains=function(e){return-1!==s(this,e+="")},l.add=function(){var e,t=arguments,n=0,r=t.length,i=!1;do{e=t[n]+"",-1===s(this,e)&&(this.push(e),i=!0)}while(++n<r);i&&this._updateClassName()},l.remove=function(){var e,t,n=arguments,r=0,i=n.length,o=!1;do{for(e=n[r]+"",t=s(this,e);-1!==t;)this.splice(t,1),o=!0,t=s(this,e)}while(++r<i);o&&this._updateClassName()},l.toggle=function(e,t){e+="";var n=this.contains(e),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},l.toString=function(){return this.join(" ")},r.defineProperty){var f={get:c,enumerable:!0,configurable:!0};try{r.defineProperty(n,t,f)}catch(e){-2146823252===e.number&&(f.enumerable=!1,r.defineProperty(n,t,f))}}else r.prototype.__defineGetter__&&n.__defineGetter__(t,c)}}(self):function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;n<r;n++)e=arguments[n],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}())},{}],17:[function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}void 0!==t&&(t.exports=r),r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],18:[function(e,t,n){t.exports=function(e,t){if(e.contains)return e.contains(t);var n=e.compareDocumentPosition(t);return 0===n||16&n}},{}],19:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/try-to-string"),a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},{"../internals/global":85,"../internals/is-callable":98,"../internals/try-to-string":172}],20:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-constructor"),o=e("../internals/try-to-string"),a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},{"../internals/global":85,"../internals/is-constructor":99,"../internals/try-to-string":172}],21:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.String,a=r.TypeError;t.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},{"../internals/global":85,"../internals/is-callable":98}],22:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":119,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],23:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},{"../internals/string-multibyte":154}],24:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-is-prototype-of"),o=r.TypeError;t.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},{"../internals/global":85,"../internals/object-is-prototype-of":127}],25:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.String,a=r.TypeError;t.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},{"../internals/global":85,"../internals/is-object":102}],26:[function(e,t,n){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},{}],27:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/array-buffer-native"),s=e("../internals/descriptors"),u=e("../internals/global"),l=e("../internals/is-callable"),c=e("../internals/is-object"),f=e("../internals/has-own-property"),d=e("../internals/classof"),p=e("../internals/try-to-string"),h=e("../internals/create-non-enumerable-property"),y=e("../internals/redefine"),m=e("../internals/object-define-property").f,b=e("../internals/object-is-prototype-of"),g=e("../internals/object-get-prototype-of"),v=e("../internals/object-set-prototype-of"),w=e("../internals/well-known-symbol"),j=e("../internals/uid"),E=u.Int8Array,x=E&&E.prototype,S=u.Uint8ClampedArray,_=S&&S.prototype,A=E&&g(E),R=x&&g(x),k=Object.prototype,O=u.TypeError,T=w("toStringTag"),M=j("TYPED_ARRAY_TAG"),I=j("TYPED_ARRAY_CONSTRUCTOR"),P=a&&!!v&&"Opera"!==d(u.opera),C=!1,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},D=function(e){if(!c(e))return!1;var t=d(e);return f(L,t)||f(N,t)};for(r in L)(o=(i=u[r])&&i.prototype)?h(o,I,i):P=!1;for(r in N)(o=(i=u[r])&&i.prototype)&&h(o,I,i);if((!P||!l(A)||A===Function.prototype)&&(A=function(){throw O("Incorrect invocation")},P))for(r in L)u[r]&&v(u[r],A);if((!P||!R||R===k)&&(R=A.prototype,P))for(r in L)u[r]&&v(u[r].prototype,R);if(P&&g(_)!==R&&v(_,R),s&&!f(R,T))for(r in C=!0,m(R,T,{get:function(){return c(this)?this[M]:void 0}}),L)u[r]&&h(u[r],M,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:P,TYPED_ARRAY_CONSTRUCTOR:I,TYPED_ARRAY_TAG:C&&M,aTypedArray:function(e){if(D(e))return e;throw O("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!v||b(A,e)))return e;throw O(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var i in L){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}R[e]&&!n||y(R,e,n?t:P&&x[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(v){if(n)for(r in L)if((i=u[r])&&f(i,e))try{delete i[e]}catch(e){}if(A[e]&&!n)return;try{return y(A,e,n?t:P&&A[e]||t)}catch(e){}}for(r in L)!(i=u[r])||i[e]&&!n||y(i,e,t)}},isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(L,t)||f(N,t)},isTypedArray:D,TypedArray:A,TypedArrayPrototype:R}},{"../internals/array-buffer-native":26,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/descriptors":56,"../internals/global":85,"../internals/has-own-property":86,"../internals/is-callable":98,"../internals/is-object":102,"../internals/object-define-property":121,"../internals/object-get-prototype-of":126,"../internals/object-is-prototype-of":127,"../internals/object-set-prototype-of":131,"../internals/redefine":139,"../internals/try-to-string":172,"../internals/uid":178,"../internals/well-known-symbol":182}],28:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/descriptors"),a=e("../internals/array-buffer-native"),s=e("../internals/function-name"),u=e("../internals/create-non-enumerable-property"),l=e("../internals/redefine-all"),c=e("../internals/fails"),f=e("../internals/an-instance"),d=e("../internals/to-integer-or-infinity"),p=e("../internals/to-length"),h=e("../internals/to-index"),y=e("../internals/ieee754"),m=e("../internals/object-get-prototype-of"),b=e("../internals/object-set-prototype-of"),g=e("../internals/object-get-own-property-names").f,v=e("../internals/object-define-property").f,w=e("../internals/array-fill"),j=e("../internals/array-slice-simple"),E=e("../internals/set-to-string-tag"),x=e("../internals/internal-state"),S=s.PROPER,_=s.CONFIGURABLE,A=x.get,R=x.set,k="ArrayBuffer",O="DataView",T="Wrong index",M=r.ArrayBuffer,I=M,P=I&&I.prototype,C=r.DataView,L=C&&C.prototype,N=Object.prototype,D=r.Array,B=r.RangeError,U=i(w),F=i([].reverse),q=y.pack,W=y.unpack,H=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},z=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Y=function(e){return q(e,23,4)},$=function(e){return q(e,52,8)},J=function(e,t){v(e.prototype,t,{get:function(){return A(this)[t]}})},K=function(e,t,n,r){var i=h(n),o=A(e);if(i+t>o.byteLength)throw B(T);var a=A(o.buffer).bytes,s=i+o.byteOffset,u=j(a,s,s+t);return r?u:F(u)},X=function(e,t,n,r,i,o){var a=h(n),s=A(e);if(a+t>s.byteLength)throw B(T);for(var u=A(s.buffer).bytes,l=a+s.byteOffset,c=r(+i),f=0;f<t;f++)u[l+f]=c[o?f:t-f-1]};if(a){var Q=S&&M.name!==k;if(c((function(){M(1)}))&&c((function(){new M(-1)}))&&!c((function(){return new M,new M(1.5),new M(NaN),Q&&!_})))Q&&_&&u(M,"name",k);else{(I=function(e){return f(this,P),new M(h(e))}).prototype=P;for(var Z,ee=g(M),te=0;ee.length>te;)(Z=ee[te++])in I||u(I,Z,M[Z]);P.constructor=I}b&&m(L)!==N&&b(L,N);var ne=new C(new I(2)),re=i(L.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(L,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else P=(I=function(e){f(this,P);var t=h(e);R(this,{bytes:U(D(t),0),byteLength:t}),o||(this.byteLength=t)}).prototype,L=(C=function(e,t,n){f(this,L),f(e,P);var r=A(e).byteLength,i=d(t);if(i<0||i>r)throw B("Wrong offset");if(i+(n=void 0===n?r-i:p(n))>r)throw B("Wrong length");R(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)}).prototype,o&&(J(I,"byteLength"),J(C,"buffer"),J(C,"byteLength"),J(C,"byteOffset")),l(L,{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return G(K(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return G(K(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return W(K(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return W(K(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){X(this,1,e,H,t)},setUint8:function(e,t){X(this,1,e,H,t)},setInt16:function(e,t){X(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){X(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){X(this,4,e,z,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){X(this,4,e,z,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){X(this,4,e,Y,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,$,t,arguments.length>2?arguments[2]:void 0)}});E(I,k),E(C,O),t.exports={ArrayBuffer:I,DataView:C}},{"../internals/an-instance":24,"../internals/array-buffer-native":26,"../internals/array-fill":30,"../internals/array-slice-simple":40,"../internals/create-non-enumerable-property":52,"../internals/descriptors":56,"../internals/fails":72,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/ieee754":91,"../internals/internal-state":95,"../internals/object-define-property":121,"../internals/object-get-own-property-names":124,"../internals/object-get-prototype-of":126,"../internals/object-set-prototype-of":131,"../internals/redefine-all":138,"../internals/set-to-string-tag":149,"../internals/to-index":161,"../internals/to-integer-or-infinity":163,"../internals/to-length":164}],29:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=Math.min;t.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n),u=i(e,s),l=i(t,s),c=arguments.length>2?arguments[2]:void 0,f=a((void 0===c?s:i(c,s))-l,s-u),d=1;for(l<u&&u<l+f&&(d=-1,l+=f-1,u+=f-1);f-- >0;)l in n?n[u]=n[l]:delete n[u],u+=d,l+=d;return n}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-object":165}],30:[function(e,t,n){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like");t.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-object":165}],31:[function(e,t,n){"use strict";var r=e("../internals/array-iteration").forEach,i=e("../internals/array-method-is-strict")("forEach");t.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":35,"../internals/array-method-is-strict":38}],32:[function(e,t,n){var r=e("../internals/length-of-array-like");t.exports=function(e,t){for(var n=0,i=r(t),o=new e(i);i>n;)o[n]=t[n++];return o}},{"../internals/length-of-array-like":109}],33:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),a=e("../internals/to-object"),s=e("../internals/call-with-safe-iteration-closing"),u=e("../internals/is-array-iterator-method"),l=e("../internals/is-constructor"),c=e("../internals/length-of-array-like"),f=e("../internals/create-property"),d=e("../internals/get-iterator"),p=e("../internals/get-iterator-method"),h=r.Array;t.exports=function(e){var t=a(e),n=l(this),r=arguments.length,y=r>1?arguments[1]:void 0,m=void 0!==y;m&&(y=i(y,r>2?arguments[2]:void 0));var b,g,v,w,j,E,x=p(t),S=0;if(!x||this==h&&u(x))for(b=c(t),g=n?new this(b):h(b);b>S;S++)E=m?y(t[S],S):t[S],f(g,S,E);else for(j=(w=d(t,x)).next,g=n?new this:[];!(v=o(j,w)).done;S++)E=m?s(w,y,[v.value,S],!0):v.value,f(g,S,E);return g.length=S,g}},{"../internals/call-with-safe-iteration-closing":45,"../internals/create-property":54,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/is-array-iterator-method":96,"../internals/is-constructor":99,"../internals/length-of-array-like":109,"../internals/to-object":165}],34:[function(e,t,n){var r=e("../internals/to-indexed-object"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},{"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-indexed-object":162}],35:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),u=e("../internals/array-species-create"),l=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,y,m,b){for(var g,v,w=a(h),j=o(w),E=r(y,m),x=s(j),S=0,_=b||u,A=t?_(h,x):n||d?_(h,0):void 0;x>S;S++)if((p||S in j)&&(v=E(g=j[S],S,w),e))if(t)A[S]=v;else if(v)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:l(A,g)}else switch(e){case 4:return!1;case 7:l(A,g)}return f?-1:i||c?c:A}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},{"../internals/array-species-create":44,"../internals/function-bind-context":75,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/length-of-array-like":109,"../internals/to-object":165}],36:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/to-indexed-object"),o=e("../internals/to-integer-or-infinity"),a=e("../internals/length-of-array-like"),s=e("../internals/array-method-is-strict"),u=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),d=c||!f;t.exports=d?function(e){if(c)return r(l,this,arguments)||0;var t=i(this),n=a(t),s=n-1;for(arguments.length>1&&(s=u(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:l},{"../internals/array-method-is-strict":38,"../internals/function-apply":74,"../internals/length-of-array-like":109,"../internals/to-indexed-object":162,"../internals/to-integer-or-infinity":163}],37:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/engine-v8-version"),a=i("species");t.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},{"../internals/engine-v8-version":68,"../internals/fails":72,"../internals/well-known-symbol":182}],38:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},{"../internals/fails":72}],39:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/a-callable"),o=e("../internals/to-object"),a=e("../internals/indexed-object"),s=e("../internals/length-of-array-like"),u=r.TypeError,l=function(e){return function(t,n,r,l){i(n);var c=o(t),f=a(c),d=s(c),p=e?d-1:0,h=e?-1:1;if(r<2)for(;;){if(p in f){l=f[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw u("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in f&&(l=n(l,f[p],p,c));return l}};t.exports={left:l(!1),right:l(!0)}},{"../internals/a-callable":19,"../internals/global":85,"../internals/indexed-object":92,"../internals/length-of-array-like":109,"../internals/to-object":165}],40:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-absolute-index"),o=e("../internals/length-of-array-like"),a=e("../internals/create-property"),s=r.Array,u=Math.max;t.exports=function(e,t,n){for(var r=o(e),l=i(t,r),c=i(void 0===n?r:n,r),f=s(u(c-l,0)),d=0;l<c;l++,d++)a(f,d,e[l]);return f.length=d,f}},{"../internals/create-property":54,"../internals/global":85,"../internals/length-of-array-like":109,"../internals/to-absolute-index":160}],41:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":79}],42:[function(e,t,n){var r=e("../internals/array-slice-simple"),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};t.exports=o},{"../internals/array-slice-simple":40}],43:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-array"),o=e("../internals/is-constructor"),a=e("../internals/is-object"),s=e("../internals/well-known-symbol")("species"),u=r.Array;t.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},{"../internals/global":85,"../internals/is-array":97,"../internals/is-constructor":99,"../internals/is-object":102,"../internals/well-known-symbol":182}],44:[function(e,t,n){var r=e("../internals/array-species-constructor");t.exports=function(e,t){return new(r(e))(0===t?0:t)}},{"../internals/array-species-constructor":43}],45:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},{"../internals/an-object":25,"../internals/iterator-close":106}],46:[function(e,t,n){var r=e("../internals/well-known-symbol")("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(e){}t.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},{"../internals/well-known-symbol":182}],47:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=r({}.toString),o=r("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this":79}],48:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-string-tag-support"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/well-known-symbol")("toStringTag"),u=r.Object,l="Arguments"==a(function(){return arguments}());t.exports=i?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=u(e),s))?n:l?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},{"../internals/classof-raw":47,"../internals/global":85,"../internals/is-callable":98,"../internals/to-string-tag-support":170,"../internals/well-known-symbol":182}],49:[function(e,t,n){var r=e("../internals/has-own-property"),i=e("../internals/own-keys"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/object-define-property");t.exports=function(e,t,n){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];r(e,f)||n&&r(n,f)||u(e,f,l(t,f))}}},{"../internals/has-own-property":86,"../internals/object-define-property":121,"../internals/object-get-own-property-descriptor":122,"../internals/own-keys":134}],50:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},{"../internals/fails":72}],51:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),o=e("../internals/create-property-descriptor"),a=e("../internals/set-to-string-tag"),s=e("../internals/iterators"),u=function(){return this};t.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),a(e,c,!1,!0),s[c]=u,e}},{"../internals/create-property-descriptor":53,"../internals/iterators":108,"../internals/iterators-core":107,"../internals/object-create":119,"../internals/set-to-string-tag":149}],52:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/object-define-property":121}],53:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],54:[function(e,t,n){"use strict";var r=e("../internals/to-property-key"),i=e("../internals/object-define-property"),o=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},{"../internals/create-property-descriptor":53,"../internals/object-define-property":121,"../internals/to-property-key":169}],55:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/is-pure"),a=e("../internals/function-name"),s=e("../internals/is-callable"),u=e("../internals/create-iterator-constructor"),l=e("../internals/object-get-prototype-of"),c=e("../internals/object-set-prototype-of"),f=e("../internals/set-to-string-tag"),d=e("../internals/create-non-enumerable-property"),p=e("../internals/redefine"),h=e("../internals/well-known-symbol"),y=e("../internals/iterators"),m=e("../internals/iterators-core"),b=a.PROPER,g=a.CONFIGURABLE,v=m.IteratorPrototype,w=m.BUGGY_SAFARI_ITERATORS,j=h("iterator"),E="keys",x="values",S="entries",_=function(){return this};t.exports=function(e,t,n,a,h,m,A){u(n,t,a);var R,k,O,T=function(e){if(e===h&&L)return L;if(!w&&e in P)return P[e];switch(e){case E:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",I=!1,P=e.prototype,C=P[j]||P["@@iterator"]||h&&P[h],L=!w&&C||T(h),N="Array"==t&&P.entries||C;if(N&&(R=l(N.call(new e)))!==Object.prototype&&R.next&&(o||l(R)===v||(c?c(R,v):s(R[j])||p(R,j,_)),f(R,M,!0,!0),o&&(y[M]=_)),b&&h==x&&C&&C.name!==x&&(!o&&g?d(P,"name",x):(I=!0,L=function(){return i(C,this)})),h)if(k={values:T(x),keys:m?L:T(E),entries:T(S)},A)for(O in k)(w||I||!(O in P))&&p(P,O,k[O]);else r({target:t,proto:!0,forced:w||I},k);return o&&!A||P[j]===L||p(P,j,L,{name:h}),y[t]=L,k}},{"../internals/create-iterator-constructor":51,"../internals/create-non-enumerable-property":52,"../internals/export":71,"../internals/function-call":77,"../internals/function-name":78,"../internals/is-callable":98,"../internals/is-pure":103,"../internals/iterators":108,"../internals/iterators-core":107,"../internals/object-get-prototype-of":126,"../internals/object-set-prototype-of":131,"../internals/redefine":139,"../internals/set-to-string-tag":149,"../internals/well-known-symbol":182}],56:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},{"../internals/fails":72}],57:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-object"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(e){return a?o.createElement(e):{}}},{"../internals/global":85,"../internals/is-object":102}],58:[function(e,t,n){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}},{}],59:[function(e,t,n){var r=e("../internals/document-create-element")("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},{"../internals/document-create-element":57}],60:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":67}],61:[function(e,t,n){t.exports="object"==typeof window},{}],62:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},{"../internals/engine-user-agent":67}],63:[function(e,t,n){var r=e("../internals/engine-user-agent"),i=e("../internals/global");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},{"../internals/engine-user-agent":67,"../internals/global":85}],64:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":67}],65:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/global");t.exports="process"==r(i.process)},{"../internals/classof-raw":47,"../internals/global":85}],66:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":67}],67:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":80}],68:[function(e,t,n){var r,i,o=e("../internals/global"),a=e("../internals/engine-user-agent"),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&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},{"../internals/engine-user-agent":67,"../internals/global":85}],69:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":67}],70:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],71:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine"),s=e("../internals/set-global"),u=e("../internals/copy-constructor-properties"),l=e("../internals/is-forced");t.exports=function(e,t){var n,c,f,d,p,h=e.target,y=e.global,m=e.stat;if(n=y?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],f=e.noTargetGet?(p=i(n,c))&&p.value:n[c],!l(y?c:h+(m?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),a(n,c,d,e)}}},{"../internals/copy-constructor-properties":49,"../internals/create-non-enumerable-property":52,"../internals/global":85,"../internals/is-forced":100,"../internals/object-get-own-property-descriptor":122,"../internals/redefine":139,"../internals/set-global":147}],72:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],73:[function(e,t,n){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/function-uncurry-this"),i=e("../internals/redefine"),o=e("../internals/regexp-exec"),a=e("../internals/fails"),s=e("../internals/well-known-symbol"),u=e("../internals/create-non-enumerable-property"),l=s("species"),c=RegExp.prototype;t.exports=function(e,t,n,f){var d=s(e),p=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=p&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!p||!h||n){var y=r(/./[d]),m=t(d,""[e],(function(e,t,n,i,a){var s=r(e),u=t.exec;return u===o||u===c.exec?p&&!a?{done:!0,value:y(t,n,i)}:{done:!0,value:s(n,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(c,d,m[1])}f&&u(c[d],"sham",!0)}},{"../internals/create-non-enumerable-property":52,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/redefine":139,"../internals/regexp-exec":141,"../internals/well-known-symbol":182,"../modules/es.regexp.exec":200}],74:[function(e,t,n){var r=e("../internals/function-bind-native"),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)})},{"../internals/function-bind-native":76}],75:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/a-callable"),o=e("../internals/function-bind-native"),a=r(r.bind);t.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},{"../internals/a-callable":19,"../internals/function-bind-native":76,"../internals/function-uncurry-this":79}],76:[function(e,t,n){var r=e("../internals/fails");t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},{"../internals/fails":72}],77:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},{"../internals/function-bind-native":76}],78:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/has-own-property"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},{"../internals/descriptors":56,"../internals/has-own-property":86}],79:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},{"../internals/function-bind-native":76}],80:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=function(e){return i(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},{"../internals/global":85,"../internals/is-callable":98}],81:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/iterators"),a=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},{"../internals/classof":48,"../internals/get-method":83,"../internals/iterators":108,"../internals/well-known-symbol":182}],82:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/an-object"),s=e("../internals/try-to-string"),u=e("../internals/get-iterator-method"),l=r.TypeError;t.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return a(i(n,e));throw l(s(e)+" is not iterable")}},{"../internals/a-callable":19,"../internals/an-object":25,"../internals/function-call":77,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/try-to-string":172}],83:[function(e,t,n){var r=e("../internals/a-callable");t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},{"../internals/a-callable":19}],84:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=Math.floor,a=r("".charAt),s=r("".replace),u=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,y=c;return void 0!==f&&(f=i(f),y=l),s(d,y,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return u(t,0,n);case"'":return u(t,p);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>h){var d=o(c/10);return 0===d?i:d<=h?void 0===r[d-1]?a(s,1):r[d-1]+a(s,1):i}l=r[c-1]}return void 0===l?"":l}))}},{"../internals/function-uncurry-this":79,"../internals/to-object":165}],85:[function(e,t,n){(function(e){(function(){var n=function(e){return e&&e.Math==Math&&e};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)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],86:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-object"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},{"../internals/function-uncurry-this":79,"../internals/to-object":165}],87:[function(e,t,n){t.exports={}},{}],88:[function(e,t,n){var r=e("../internals/global");t.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},{"../internals/global":85}],89:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":80}],90:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails"),o=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":56,"../internals/document-create-element":57,"../internals/fails":72}],91:[function(e,t,n){var r=e("../internals/global").Array,i=Math.abs,o=Math.pow,a=Math.floor,s=Math.log,u=Math.LN2;t.exports={pack:function(e,t,n){var l,c,f,d=r(n),p=8*n-t-1,h=(1<<p)-1,y=h>>1,m=23===t?o(2,-24)-o(2,-77):0,b=e<0||0===e&&1/e<0?1:0,g=0;for((e=i(e))!=e||e===1/0?(c=e!=e?1:0,l=h):(l=a(s(e)/u),e*(f=o(2,-l))<1&&(l--,f*=2),(e+=l+y>=1?m/f:m*o(2,1-y))*f>=2&&(l++,f/=2),l+y>=h?(c=0,l=h):l+y>=1?(c=(e*f-1)*o(2,t),l+=y):(c=e*o(2,y-1)*o(2,t),l=0));t>=8;)d[g++]=255&c,c/=256,t-=8;for(l=l<<t|c,p+=t;p>0;)d[g++]=255&l,l/=256,p-=8;return d[--g]|=128*b,d},unpack:function(e,t){var n,r=e.length,i=8*r-t-1,a=(1<<i)-1,s=a>>1,u=i-7,l=r-1,c=e[l--],f=127&c;for(c>>=7;u>0;)f=256*f+e[l--],u-=8;for(n=f&(1<<-u)-1,f>>=-u,u+=t;u>0;)n=256*n+e[l--],u-=8;if(0===f)f=1-s;else{if(f===a)return n?NaN:c?-1/0:1/0;n+=o(2,t),f-=s}return(c?-1:1)*n*o(2,f-t)}}},{"../internals/global":85}],92:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/classof-raw"),s=r.Object,u=i("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},{"../internals/classof-raw":47,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],93:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/is-object"),o=e("../internals/object-set-prototype-of");t.exports=function(e,t,n){var a,s;return o&&r(a=t.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},{"../internals/is-callable":98,"../internals/is-object":102,"../internals/object-set-prototype-of":131}],94:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/is-callable"),o=e("../internals/shared-store"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),t.exports=o.inspectSource},{"../internals/function-uncurry-this":79,"../internals/is-callable":98,"../internals/shared-store":151}],95:[function(e,t,n){var r,i,o,a=e("../internals/native-weak-map"),s=e("../internals/global"),u=e("../internals/function-uncurry-this"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),f=e("../internals/has-own-property"),d=e("../internals/shared-store"),p=e("../internals/shared-key"),h=e("../internals/hidden-keys"),y="Object already initialized",m=s.TypeError,b=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new b),v=u(g.get),w=u(g.has),j=u(g.set);r=function(e,t){if(w(g,e))throw new m(y);return t.facade=e,j(g,e,t),t},i=function(e){return v(g,e)||{}},o=function(e){return w(g,e)}}else{var E=p("state");h[E]=!0,r=function(e,t){if(f(e,E))throw new m(y);return t.facade=e,c(e,E,t),t},i=function(e){return f(e,E)?e[E]:{}},o=function(e){return f(e,E)}}t.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":52,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/has-own-property":86,"../internals/hidden-keys":87,"../internals/is-object":102,"../internals/native-weak-map":114,"../internals/shared-key":150,"../internals/shared-store":151}],96:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),o=r("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},{"../internals/iterators":108,"../internals/well-known-symbol":182}],97:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":47}],98:[function(e,t,n){t.exports=function(e){return"function"==typeof e}},{}],99:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/is-callable"),a=e("../internals/classof"),s=e("../internals/get-built-in"),u=e("../internals/inspect-source"),l=function(){},c=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(l),y=function(e){if(!o(e))return!1;try{return f(l,c,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!f||i((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?m:y},{"../internals/classof":48,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/inspect-source":94,"../internals/is-callable":98}],100:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/is-callable"),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},{"../internals/fails":72,"../internals/is-callable":98}],101:[function(e,t,n){var r=e("../internals/is-object"),i=Math.floor;t.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&i(e)===e}},{"../internals/is-object":102}],102:[function(e,t,n){var r=e("../internals/is-callable");t.exports=function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/is-callable":98}],103:[function(e,t,n){t.exports=!1},{}],104:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/get-built-in"),o=e("../internals/is-callable"),a=e("../internals/object-is-prototype-of"),s=e("../internals/use-symbol-as-uid"),u=r.Object;t.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},{"../internals/get-built-in":80,"../internals/global":85,"../internals/is-callable":98,"../internals/object-is-prototype-of":127,"../internals/use-symbol-as-uid":179}],105:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-bind-context"),o=e("../internals/function-call"),a=e("../internals/an-object"),s=e("../internals/try-to-string"),u=e("../internals/is-array-iterator-method"),l=e("../internals/length-of-array-like"),c=e("../internals/object-is-prototype-of"),f=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),p=e("../internals/iterator-close"),h=r.TypeError,y=function(e,t){this.stopped=e,this.result=t},m=y.prototype;t.exports=function(e,t,n){var r,b,g,v,w,j,E,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),R=i(t,x),k=function(e){return r&&p(r,"normal",e),new y(!0,e)},O=function(e){return S?(a(e),A?R(e[0],e[1],k):R(e[0],e[1])):A?R(e,k):R(e)};if(_)r=e;else{if(!(b=d(e)))throw h(s(e)+" is not iterable");if(u(b)){for(g=0,v=l(e);v>g;g++)if((w=O(e[g]))&&c(m,w))return w;return new y(!1)}r=f(e,b)}for(j=r.next;!(E=o(j,r)).done;){try{w=O(E.value)}catch(e){p(r,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new y(!1)}},{"../internals/an-object":25,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/is-array-iterator-method":96,"../internals/iterator-close":106,"../internals/length-of-array-like":109,"../internals/object-is-prototype-of":127,"../internals/try-to-string":172}],106:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/get-method");t.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},{"../internals/an-object":25,"../internals/function-call":77,"../internals/get-method":83}],107:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),u=e("../internals/object-create"),l=e("../internals/object-get-prototype-of"),c=e("../internals/redefine"),f=e("../internals/well-known-symbol"),d=e("../internals/is-pure"),p=f("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:d&&(r=u(r)),s(r[p])||c(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},{"../internals/fails":72,"../internals/is-callable":98,"../internals/is-pure":103,"../internals/object-create":119,"../internals/object-get-prototype-of":126,"../internals/redefine":139,"../internals/well-known-symbol":182}],108:[function(e,t,n){arguments[4][87][0].apply(n,arguments)},{dup:87}],109:[function(e,t,n){var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":164}],110:[function(e,t,n){var r,i,o,a,s,u,l,c,f=e("../internals/global"),d=e("../internals/function-bind-context"),p=e("../internals/object-get-own-property-descriptor").f,h=e("../internals/task").set,y=e("../internals/engine-is-ios"),m=e("../internals/engine-is-ios-pebble"),b=e("../internals/engine-is-webos-webkit"),g=e("../internals/engine-is-node"),v=f.MutationObserver||f.WebKitMutationObserver,w=f.document,j=f.process,E=f.Promise,x=p(f,"queueMicrotask"),S=x&&x.value;S||(r=function(){var e,t;for(g&&(e=j.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y||g||b||!v||!w?!m&&E&&E.resolve?((l=E.resolve(void 0)).constructor=E,c=d(l.then,l),a=function(){c(r)}):g?a=function(){j.nextTick(r)}:(h=d(h,f),a=function(){h(r)}):(s=!0,u=w.createTextNode(""),new v(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),t.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},{"../internals/engine-is-ios":64,"../internals/engine-is-ios-pebble":63,"../internals/engine-is-node":65,"../internals/engine-is-webos-webkit":66,"../internals/function-bind-context":75,"../internals/global":85,"../internals/object-get-own-property-descriptor":122,"../internals/task":158}],111:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":85}],112:[function(e,t,n){var r=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},{"../internals/engine-v8-version":68,"../internals/fails":72}],113:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),o=e("../internals/is-pure"),a=i("iterator");t.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},{"../internals/fails":72,"../internals/is-pure":103,"../internals/well-known-symbol":182}],114:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/inspect-source"),a=r.WeakMap;t.exports=i(a)&&/native code/.test(o(a))},{"../internals/global":85,"../internals/inspect-source":94,"../internals/is-callable":98}],115:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new i(e)}},{"../internals/a-callable":19}],116:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-string"),s=e("../internals/string-trim").trim,u=e("../internals/whitespaces"),l=o("".charAt),c=r.parseFloat,f=r.Symbol,d=f&&f.iterator,p=1/c(u+"-0")!=-1/0||d&&!i((function(){c(Object(d))}));t.exports=p?function(e){var t=s(a(e)),n=c(t);return 0===n&&"-"==l(t,0)?-0:n}:c},{"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-trim":157,"../internals/to-string":171,"../internals/whitespaces":183}],117:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-string"),s=e("../internals/string-trim").trim,u=e("../internals/whitespaces"),l=r.parseInt,c=r.Symbol,f=c&&c.iterator,d=/^[+-]?0x/i,p=o(d.exec),h=8!==l(u+"08")||22!==l(u+"0x16")||f&&!i((function(){l(Object(f))}));t.exports=h?function(e,t){var n=s(a(e));return l(n,t>>>0||(p(d,n)?16:10))}:l},{"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-trim":157,"../internals/to-string":171,"../internals/whitespaces":183}],118:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),i=e("../internals/function-uncurry-this"),o=e("../internals/function-call"),a=e("../internals/fails"),s=e("../internals/object-keys"),u=e("../internals/object-get-own-property-symbols"),l=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),f=e("../internals/indexed-object"),d=Object.assign,p=Object.defineProperty,h=i([].concat);t.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,d=u.f,p=l.f;i>a;)for(var y,m=f(arguments[a++]),b=d?h(s(m),d(m)):s(m),g=b.length,v=0;g>v;)y=b[v++],r&&!o(p,m,y)||(n[y]=m[y]);return n}:d},{"../internals/descriptors":56,"../internals/fails":72,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/object-get-own-property-symbols":125,"../internals/object-keys":129,"../internals/object-property-is-enumerable":130,"../internals/to-object":165}],119:[function(e,t,n){var r,i=e("../internals/an-object"),o=e("../internals/object-define-properties"),a=e("../internals/enum-bug-keys"),s=e("../internals/hidden-keys"),u=e("../internals/html"),l=e("../internals/document-create-element"),c=e("../internals/shared-key"),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?h(r):((t=l("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete y.prototype[a[n]];return y()};s[f]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[f]=e):n=y(),void 0===t?n:o.f(n,t)}},{"../internals/an-object":25,"../internals/document-create-element":57,"../internals/enum-bug-keys":70,"../internals/hidden-keys":87,"../internals/html":89,"../internals/object-define-properties":120,"../internals/shared-key":150}],120:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/v8-prototype-define-bug"),o=e("../internals/object-define-property"),a=e("../internals/an-object"),s=e("../internals/to-indexed-object"),u=e("../internals/object-keys");n.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,n=i[c++],r[n]);return e}},{"../internals/an-object":25,"../internals/descriptors":56,"../internals/object-define-property":121,"../internals/object-keys":129,"../internals/to-indexed-object":162,"../internals/v8-prototype-define-bug":180}],121:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/descriptors"),o=e("../internals/ie8-dom-define"),a=e("../internals/v8-prototype-define-bug"),s=e("../internals/an-object"),u=e("../internals/to-property-key"),l=r.TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";n.f=i?a?function(e,t,n){if(s(e),t=u(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=f(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:p in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=u(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":25,"../internals/descriptors":56,"../internals/global":85,"../internals/ie8-dom-define":90,"../internals/to-property-key":169,"../internals/v8-prototype-define-bug":180}],122:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-call"),o=e("../internals/object-property-is-enumerable"),a=e("../internals/create-property-descriptor"),s=e("../internals/to-indexed-object"),u=e("../internals/to-property-key"),l=e("../internals/has-own-property"),c=e("../internals/ie8-dom-define"),f=Object.getOwnPropertyDescriptor;n.f=r?f:function(e,t){if(e=s(e),t=u(t),c)try{return f(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},{"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/function-call":77,"../internals/has-own-property":86,"../internals/ie8-dom-define":90,"../internals/object-property-is-enumerable":130,"../internals/to-indexed-object":162,"../internals/to-property-key":169}],123:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,a=e("../internals/array-slice-simple"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},{"../internals/array-slice-simple":40,"../internals/classof-raw":47,"../internals/object-get-own-property-names":124,"../internals/to-indexed-object":162}],124:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},{"../internals/enum-bug-keys":70,"../internals/object-keys-internal":128}],125:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],126:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/has-own-property"),o=e("../internals/is-callable"),a=e("../internals/to-object"),s=e("../internals/shared-key"),u=e("../internals/correct-prototype-getter"),l=s("IE_PROTO"),c=r.Object,f=c.prototype;t.exports=u?c.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?f:null}},{"../internals/correct-prototype-getter":50,"../internals/global":85,"../internals/has-own-property":86,"../internals/is-callable":98,"../internals/shared-key":150,"../internals/to-object":165}],127:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":79}],128:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/has-own-property"),o=e("../internals/to-indexed-object"),a=e("../internals/array-includes").indexOf,s=e("../internals/hidden-keys"),u=r([].push);t.exports=function(e,t){var n,r=o(e),l=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&u(c,n);for(;t.length>l;)i(r,n=t[l++])&&(~a(c,n)||u(c,n));return c}},{"../internals/array-includes":34,"../internals/function-uncurry-this":79,"../internals/has-own-property":86,"../internals/hidden-keys":87,"../internals/to-indexed-object":162}],129:[function(e,t,n){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,i)}},{"../internals/enum-bug-keys":70,"../internals/object-keys-internal":128}],130:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],131:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/an-object"),o=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},{"../internals/a-possible-prototype":21,"../internals/an-object":25,"../internals/function-uncurry-this":79}],132:[function(e,t,n){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/classof");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},{"../internals/classof":48,"../internals/to-string-tag-support":170}],133:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-callable"),a=e("../internals/is-object"),s=r.TypeError;t.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}},{"../internals/function-call":77,"../internals/global":85,"../internals/is-callable":98,"../internals/is-object":102}],134:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/function-uncurry-this"),o=e("../internals/object-get-own-property-names"),a=e("../internals/object-get-own-property-symbols"),s=e("../internals/an-object"),u=i([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},{"../internals/an-object":25,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/object-get-own-property-names":124,"../internals/object-get-own-property-symbols":125}],135:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],136:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/is-object"),o=e("../internals/new-promise-capability");t.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},{"../internals/an-object":25,"../internals/is-object":102,"../internals/new-promise-capability":115}],137:[function(e,t,n){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},t.exports=r},{}],138:[function(e,t,n){var r=e("../internals/redefine");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/redefine":139}],139:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=e("../internals/has-own-property"),a=e("../internals/create-non-enumerable-property"),s=e("../internals/set-global"),u=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=e("../internals/function-name").CONFIGURABLE,f=l.get,d=l.enforce,p=String(String).split("String");(t.exports=function(e,t,n,u){var l,f=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,y=!!u&&!!u.noTargetGet,m=u&&void 0!==u.name?u.name:t;i(n)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==m)&&a(n,"name",m),(l=d(n)).source||(l.source=p.join("string"==typeof m?m:""))),e!==r?(f?!y&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return i(this)&&f(this).source||u(this)}))},{"../internals/create-non-enumerable-property":52,"../internals/function-name":78,"../internals/global":85,"../internals/has-own-property":86,"../internals/inspect-source":94,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/set-global":147}],140:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/is-callable"),s=e("../internals/classof-raw"),u=e("../internals/regexp-exec"),l=r.TypeError;t.exports=function(e,t){var n=e.exec;if(a(n)){var r=i(n,e,t);return null!==r&&o(r),r}if("RegExp"===s(e))return i(u,e,t);throw l("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":25,"../internals/classof-raw":47,"../internals/function-call":77,"../internals/global":85,"../internals/is-callable":98,"../internals/regexp-exec":141}],141:[function(e,t,n){"use strict";var r,i,o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/to-string"),u=e("../internals/regexp-flags"),l=e("../internals/regexp-sticky-helpers"),c=e("../internals/shared"),f=e("../internals/object-create"),d=e("../internals/internal-state").get,p=e("../internals/regexp-unsupported-dot-all"),h=e("../internals/regexp-unsupported-ncg"),y=c("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,b=m,g=a("".charAt),v=a("".indexOf),w=a("".replace),j=a("".slice),E=(i=/b*/g,o(m,r=/a/,"a"),o(m,i,"a"),0!==r.lastIndex||0!==i.lastIndex),x=l.BROKEN_CARET,S=void 0!==/()??/.exec("")[1];(E||S||x||p||h)&&(b=function(e){var t,n,r,i,a,l,c,p=this,h=d(p),_=s(e),A=h.raw;if(A)return A.lastIndex=p.lastIndex,t=o(b,A,_),p.lastIndex=A.lastIndex,t;var R=h.groups,k=x&&p.sticky,O=o(u,p),T=p.source,M=0,I=_;if(k&&(O=w(O,"y",""),-1===v(O,"g")&&(O+="g"),I=j(_,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(_,p.lastIndex-1))&&(T="(?: "+T+")",I=" "+I,M++),n=new RegExp("^(?:"+T+")",O)),S&&(n=new RegExp("^"+T+"$(?!\\s)",O)),E&&(r=p.lastIndex),i=o(m,k?n:p,I),k?i?(i.input=j(i.input,M),i[0]=j(i[0],M),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:E&&i&&(p.lastIndex=p.global?i.index+i[0].length:r),S&&i&&i.length>1&&o(y,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&R)for(i.groups=l=f(null),a=0;a<R.length;a++)l[(c=R[a])[0]]=i[c[1]];return i}),t.exports=b},{"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/internal-state":95,"../internals/object-create":119,"../internals/regexp-flags":142,"../internals/regexp-sticky-helpers":143,"../internals/regexp-unsupported-dot-all":144,"../internals/regexp-unsupported-ncg":145,"../internals/shared":152,"../internals/to-string":171}],142:[function(e,t,n){"use strict";var r=e("../internals/an-object");t.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},{"../internals/an-object":25}],143:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp,o=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},{"../internals/fails":72,"../internals/global":85}],144:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},{"../internals/fails":72,"../internals/global":85}],145:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/global").RegExp;t.exports=r((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},{"../internals/fails":72,"../internals/global":85}],146:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},{"../internals/global":85}],147:[function(e,t,n){var r=e("../internals/global"),i=Object.defineProperty;t.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},{"../internals/global":85}],148:[function(e,t,n){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),o=e("../internals/well-known-symbol"),a=e("../internals/descriptors"),s=o("species");t.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":56,"../internals/get-built-in":80,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],149:[function(e,t,n){var r=e("../internals/object-define-property").f,i=e("../internals/has-own-property"),o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,o)&&r(e,o,{configurable:!0,value:t})}},{"../internals/has-own-property":86,"../internals/object-define-property":121,"../internals/well-known-symbol":182}],150:[function(e,t,n){var r=e("../internals/shared"),i=e("../internals/uid"),o=r("keys");t.exports=function(e){return o[e]||(o[e]=i(e))}},{"../internals/shared":152,"../internals/uid":178}],151:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/set-global"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},{"../internals/global":85,"../internals/set-global":147}],152:[function(e,t,n){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:r?"pure":"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"})},{"../internals/is-pure":103,"../internals/shared-store":151}],153:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},{"../internals/a-constructor":20,"../internals/an-object":25,"../internals/well-known-symbol":182}],154:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),a=e("../internals/require-object-coercible"),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,n){var r,c,f=o(a(t)),d=i(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d))<55296||r>56319||d+1===p||(c=u(f,d+1))<56320||c>57343?e?s(f,d):r:e?l(f,d,d+2):c-56320+(r-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},{"../internals/function-uncurry-this":79,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-string":171}],155:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=2147483647,a=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",l=r.RangeError,c=i(s.exec),f=Math.floor,d=String.fromCharCode,p=i("".charCodeAt),h=i([].join),y=i([].push),m=i("".replace),b=i("".split),g=i("".toLowerCase),v=function(e){return e+22+75*(e<26)},w=function(e,t,n){var r=0;for(e=n?f(e/700):e>>1,e+=f(e/t);e>455;)e=f(e/35),r+=36;return f(r+36*e/(e+38))},j=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=p(e,n++);if(i>=55296&&i<=56319&&n<r){var o=p(e,n++);56320==(64512&o)?y(t,((1023&i)<<10)+(1023&o)+65536):(y(t,i),n--)}else y(t,i)}return t}(e);var n,r,i=e.length,a=128,s=0,c=72;for(n=0;n<e.length;n++)(r=e[n])<128&&y(t,d(r));var m=t.length,b=m;for(m&&y(t,"-");b<i;){var g=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<g&&(g=r);var j=b+1;if(g-a>f((o-s)/j))throw l(u);for(s+=(g-a)*j,a=g,n=0;n<e.length;n++){if((r=e[n])<a&&++s>o)throw l(u);if(r==a){for(var E=s,x=36;;){var S=x<=c?1:x>=c+26?26:x-c;if(E<S)break;var _=E-S,A=36-S;y(t,d(v(S+_%A))),E=f(_/A),x+=36}y(t,d(v(E))),c=w(s,j,b==m),s=0,b++}}s++,a++}return h(t,"")};t.exports=function(e){var t,n,r=[],i=b(m(g(e),s,"."),".");for(t=0;t<i.length;t++)n=i[t],y(r,c(a,n)?"xn--"+j(n):n);return h(r,".")}},{"../internals/function-uncurry-this":79,"../internals/global":85}],156:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-string"),a=e("../internals/require-object-coercible"),s=r.RangeError;t.exports=function(e){var t=o(a(this)),n="",r=i(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},{"../internals/global":85,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-string":171}],157:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/require-object-coercible"),o=e("../internals/to-string"),a=e("../internals/whitespaces"),s=r("".replace),u="["+a+"]",l=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),f=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"")),n}};t.exports={start:f(1),end:f(2),trim:f(3)}},{"../internals/function-uncurry-this":79,"../internals/require-object-coercible":146,"../internals/to-string":171,"../internals/whitespaces":183}],158:[function(e,t,n){var r,i,o,a,s=e("../internals/global"),u=e("../internals/function-apply"),l=e("../internals/function-bind-context"),c=e("../internals/is-callable"),f=e("../internals/has-own-property"),d=e("../internals/fails"),p=e("../internals/html"),h=e("../internals/array-slice"),y=e("../internals/document-create-element"),m=e("../internals/validate-arguments-length"),b=e("../internals/engine-is-ios"),g=e("../internals/engine-is-node"),v=s.setImmediate,w=s.clearImmediate,j=s.process,E=s.Dispatch,x=s.Function,S=s.MessageChannel,_=s.String,A=0,R={},k="onreadystatechange";try{r=s.location}catch(e){}var O=function(e){if(f(R,e)){var t=R[e];delete R[e],t()}},T=function(e){return function(){O(e)}},M=function(e){O(e.data)},I=function(e){s.postMessage(_(e),r.protocol+"//"+r.host)};v&&w||(v=function(e){m(arguments.length,1);var t=c(e)?e:x(e),n=h(arguments,1);return R[++A]=function(){u(t,void 0,n)},i(A),A},w=function(e){delete R[e]},g?i=function(e){j.nextTick(T(e))}:E&&E.now?i=function(e){E.now(T(e))}:S&&!b?(a=(o=new S).port2,o.port1.onmessage=M,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(I)?(i=I,s.addEventListener("message",M,!1)):i=k in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(T(e),0)}),t.exports={set:v,clear:w}},{"../internals/array-slice":41,"../internals/document-create-element":57,"../internals/engine-is-ios":64,"../internals/engine-is-node":65,"../internals/fails":72,"../internals/function-apply":74,"../internals/function-bind-context":75,"../internals/global":85,"../internals/has-own-property":86,"../internals/html":89,"../internals/is-callable":98,"../internals/validate-arguments-length":181}],159:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r(1..valueOf)},{"../internals/function-uncurry-this":79}],160:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.max,o=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},{"../internals/to-integer-or-infinity":163}],161:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=e("../internals/to-length"),a=r.RangeError;t.exports=function(e){if(void 0===e)return 0;var t=i(e),n=o(t);if(t!==n)throw a("Wrong length or index");return n}},{"../internals/global":85,"../internals/to-integer-or-infinity":163,"../internals/to-length":164}],162:[function(e,t,n){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(e){return r(i(e))}},{"../internals/indexed-object":92,"../internals/require-object-coercible":146}],163:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?i:r)(t)}},{}],164:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=Math.min;t.exports=function(e){return e>0?i(r(e),9007199254740991):0}},{"../internals/to-integer-or-infinity":163}],165:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/require-object-coercible"),o=r.Object;t.exports=function(e){return o(i(e))}},{"../internals/global":85,"../internals/require-object-coercible":146}],166:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-positive-integer"),o=r.RangeError;t.exports=function(e,t){var n=i(e);if(n%t)throw o("Wrong offset");return n}},{"../internals/global":85,"../internals/to-positive-integer":167}],167:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/to-integer-or-infinity"),o=r.RangeError;t.exports=function(e){var t=i(e);if(t<0)throw o("The argument can't be less than 0");return t}},{"../internals/global":85,"../internals/to-integer-or-infinity":163}],168:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/is-object"),a=e("../internals/is-symbol"),s=e("../internals/get-method"),u=e("../internals/ordinary-to-primitive"),l=e("../internals/well-known-symbol"),c=r.TypeError,f=l("toPrimitive");t.exports=function(e,t){if(!o(e)||a(e))return e;var n,r=s(e,f);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},{"../internals/function-call":77,"../internals/get-method":83,"../internals/global":85,"../internals/is-object":102,"../internals/is-symbol":104,"../internals/ordinary-to-primitive":133,"../internals/well-known-symbol":182}],169:[function(e,t,n){var r=e("../internals/to-primitive"),i=e("../internals/is-symbol");t.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},{"../internals/is-symbol":104,"../internals/to-primitive":168}],170:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":182}],171:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/classof"),o=r.String;t.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},{"../internals/classof":48,"../internals/global":85}],172:[function(e,t,n){var r=e("../internals/global").String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{"../internals/global":85}],173:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/descriptors"),s=e("../internals/typed-array-constructors-require-wrappers"),u=e("../internals/array-buffer-view-core"),l=e("../internals/array-buffer"),c=e("../internals/an-instance"),f=e("../internals/create-property-descriptor"),d=e("../internals/create-non-enumerable-property"),p=e("../internals/is-integral-number"),h=e("../internals/to-length"),y=e("../internals/to-index"),m=e("../internals/to-offset"),b=e("../internals/to-property-key"),g=e("../internals/has-own-property"),v=e("../internals/classof"),w=e("../internals/is-object"),j=e("../internals/is-symbol"),E=e("../internals/object-create"),x=e("../internals/object-is-prototype-of"),S=e("../internals/object-set-prototype-of"),_=e("../internals/object-get-own-property-names").f,A=e("../internals/typed-array-from"),R=e("../internals/array-iteration").forEach,k=e("../internals/set-species"),O=e("../internals/object-define-property"),T=e("../internals/object-get-own-property-descriptor"),M=e("../internals/internal-state"),I=e("../internals/inherit-if-required"),P=M.get,C=M.set,L=O.f,N=T.f,D=Math.round,B=i.RangeError,U=l.ArrayBuffer,F=U.prototype,q=l.DataView,W=u.NATIVE_ARRAY_BUFFER_VIEWS,H=u.TYPED_ARRAY_CONSTRUCTOR,V=u.TYPED_ARRAY_TAG,z=u.TypedArray,G=u.TypedArrayPrototype,Y=u.aTypedArrayConstructor,$=u.isTypedArray,J="BYTES_PER_ELEMENT",K="Wrong length",X=function(e,t){Y(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},Q=function(e,t){L(e,t,{get:function(){return P(this)[t]}})},Z=function(e){var t;return x(F,e)||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},ee=function(e,t){return $(e)&&!j(t)&&t in e&&p(+t)&&t>=0},te=function(e,t){return t=b(t),ee(e,t)?f(2,e[t]):N(e,t)},ne=function(e,t,n){return t=b(t),!(ee(e,t)&&w(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?L(e,t,n):(e[t]=n.value,e)};a?(W||(T.f=te,O.f=ne,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:te,defineProperty:ne}),t.exports=function(e,t,n){var a=e.match(/\d+$/)[0]/8,u=e+(n?"Clamped":"")+"Array",l="get"+e,f="set"+e,p=i[u],b=p,g=b&&b.prototype,v={},j=function(e,t){L(e,t,{get:function(){return function(e,t){var n=P(e);return n.view[l](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=P(e);n&&(r=(r=D(r))<0?0:r>255?255:255&r),i.view[f](t*a+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};W?s&&(b=t((function(e,t,n,r){return c(e,g),I(w(t)?Z(t)?void 0!==r?new p(t,m(n,a),r):void 0!==n?new p(t,m(n,a)):new p(t):$(t)?X(b,t):o(A,b,t):new p(y(t)),e,b)})),S&&S(b,z),R(_(p),(function(e){e in b||d(b,e,p[e])})),b.prototype=g):(b=t((function(e,t,n,r){c(e,g);var i,s,u,l=0,f=0;if(w(t)){if(!Z(t))return $(t)?X(b,t):o(A,b,t);i=t,f=m(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw B(K);if((s=d-f)<0)throw B(K)}else if((s=h(r)*a)+f>d)throw B(K);u=s/a}else u=y(t),i=new U(s=u*a);for(C(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new q(i)});l<u;)j(e,l++)})),S&&S(b,z),g=b.prototype=E(G)),g.constructor!==b&&d(g,"constructor",b),d(g,H,b),V&&d(g,V,u),v[u]=b,r({global:!0,forced:b!=p,sham:!W},v),J in b||d(b,J,a),J in g||d(g,J,a),k(u)}):t.exports=function(){}},{"../internals/an-instance":24,"../internals/array-buffer":28,"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/create-property-descriptor":53,"../internals/descriptors":56,"../internals/export":71,"../internals/function-call":77,"../internals/global":85,"../internals/has-own-property":86,"../internals/inherit-if-required":93,"../internals/internal-state":95,"../internals/is-integral-number":101,"../internals/is-object":102,"../internals/is-symbol":104,"../internals/object-create":119,"../internals/object-define-property":121,"../internals/object-get-own-property-descriptor":122,"../internals/object-get-own-property-names":124,"../internals/object-is-prototype-of":127,"../internals/object-set-prototype-of":131,"../internals/set-species":148,"../internals/to-index":161,"../internals/to-length":164,"../internals/to-offset":166,"../internals/to-property-key":169,"../internals/typed-array-constructors-require-wrappers":174,"../internals/typed-array-from":176}],174:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/check-correctness-of-iteration"),a=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},{"../internals/array-buffer-view-core":27,"../internals/check-correctness-of-iteration":46,"../internals/fails":72,"../internals/global":85}],175:[function(e,t,n){var r=e("../internals/array-from-constructor-and-list"),i=e("../internals/typed-array-species-constructor");t.exports=function(e,t){return r(i(e),t)}},{"../internals/array-from-constructor-and-list":32,"../internals/typed-array-species-constructor":177}],176:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/a-constructor"),a=e("../internals/to-object"),s=e("../internals/length-of-array-like"),u=e("../internals/get-iterator"),l=e("../internals/get-iterator-method"),c=e("../internals/is-array-iterator-method"),f=e("../internals/array-buffer-view-core").aTypedArrayConstructor;t.exports=function(e){var t,n,d,p,h,y,m=o(this),b=a(e),g=arguments.length,v=g>1?arguments[1]:void 0,w=void 0!==v,j=l(b);if(j&&!c(j))for(y=(h=u(b,j)).next,b=[];!(p=i(y,h)).done;)b.push(p.value);for(w&&g>2&&(v=r(v,arguments[2])),n=s(b),d=new(f(m))(n),t=0;n>t;t++)d[t]=w?v(b[t],t):b[t];return d}},{"../internals/a-constructor":20,"../internals/array-buffer-view-core":27,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/is-array-iterator-method":96,"../internals/length-of-array-like":109,"../internals/to-object":165}],177:[function(e,t,n){var r=e("../internals/array-buffer-view-core"),i=e("../internals/species-constructor"),o=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;t.exports=function(e){return a(i(e,e[o]))}},{"../internals/array-buffer-view-core":27,"../internals/species-constructor":153}],178:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},{"../internals/function-uncurry-this":79}],179:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":112}],180:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/fails");t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},{"../internals/descriptors":56,"../internals/fails":72}],181:[function(e,t,n){var r=e("../internals/global").TypeError;t.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},{"../internals/global":85}],182:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/shared"),o=e("../internals/has-own-property"),a=e("../internals/uid"),s=e("../internals/native-symbol"),u=e("../internals/use-symbol-as-uid"),l=i("wks"),c=r.Symbol,f=c&&c.for,d=u?c:c&&c.withoutSetter||a;t.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:l[e]=u&&f?f(t):d(t)}return l[e]}},{"../internals/global":85,"../internals/has-own-property":86,"../internals/native-symbol":112,"../internals/shared":152,"../internals/uid":178,"../internals/use-symbol-as-uid":179}],183:[function(e,t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},{}],184:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/array-buffer"),a=e("../internals/set-species"),s="ArrayBuffer",u=o.ArrayBuffer;r({global:!0,forced:i.ArrayBuffer!==u},{ArrayBuffer:u}),a(s)},{"../internals/array-buffer":28,"../internals/export":71,"../internals/global":85,"../internals/set-species":148}],185:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/array-buffer"),s=e("../internals/an-object"),u=e("../internals/to-absolute-index"),l=e("../internals/to-length"),c=e("../internals/species-constructor"),f=a.ArrayBuffer,d=a.DataView,p=d.prototype,h=i(f.prototype.slice),y=i(p.getUint8),m=i(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var n=s(this).byteLength,r=u(e,n),i=u(void 0===t?n:t,n),o=new(c(this,f))(l(i-r)),a=new d(this),p=new d(o),b=0;r<i;)m(p,b++,y(a,r++));return o}})},{"../internals/an-object":25,"../internals/array-buffer":28,"../internals/export":71,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/species-constructor":153,"../internals/to-absolute-index":160,"../internals/to-length":164}],186:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/array-for-each");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},{"../internals/array-for-each":31,"../internals/export":71}],187:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/array-includes").indexOf,a=e("../internals/array-method-is-strict"),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,l=a("indexOf");r({target:"Array",proto:!0,forced:u||!l},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},{"../internals/array-includes":34,"../internals/array-method-is-strict":38,"../internals/export":71,"../internals/function-uncurry-this":79}],188:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),o=e("../internals/iterators"),a=e("../internals/internal-state"),s=e("../internals/object-define-property").f,u=e("../internals/define-iterator"),l=e("../internals/is-pure"),c=e("../internals/descriptors"),f="Array Iterator",d=a.set,p=a.getterFor(f);t.exports=u(Array,"Array",(function(e,t){d(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&c&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":22,"../internals/define-iterator":55,"../internals/descriptors":56,"../internals/internal-state":95,"../internals/is-pure":103,"../internals/iterators":108,"../internals/object-define-property":121,"../internals/to-indexed-object":162}],189:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/indexed-object"),a=e("../internals/to-indexed-object"),s=e("../internals/array-method-is-strict"),u=i([].join),l=o!=Object,c=s("join",",");r({target:"Array",proto:!0,forced:l||!c},{join:function(e){return u(a(this),void 0===e?",":e)}})},{"../internals/array-method-is-strict":38,"../internals/export":71,"../internals/function-uncurry-this":79,"../internals/indexed-object":92,"../internals/to-indexed-object":162}],190:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/is-array"),a=e("../internals/is-constructor"),s=e("../internals/is-object"),u=e("../internals/to-absolute-index"),l=e("../internals/length-of-array-like"),c=e("../internals/to-indexed-object"),f=e("../internals/create-property"),d=e("../internals/well-known-symbol"),p=e("../internals/array-method-has-species-support"),h=e("../internals/array-slice"),y=p("slice"),m=d("species"),b=i.Array,g=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(e,t){var n,r,i,d=c(this),p=l(d),y=u(e,p),v=u(void 0===t?p:t,p);if(o(d)&&(n=d.constructor,(a(n)&&(n===b||o(n.prototype))||s(n)&&null===(n=n[m]))&&(n=void 0),n===b||void 0===n))return h(d,y,v);for(r=new(void 0===n?b:n)(g(v-y,0)),i=0;y<v;y++,i++)y in d&&f(r,i,d[y]);return r.length=i,r}})},{"../internals/array-method-has-species-support":37,"../internals/array-slice":41,"../internals/create-property":54,"../internals/export":71,"../internals/global":85,"../internals/is-array":97,"../internals/is-constructor":99,"../internals/is-object":102,"../internals/length-of-array-like":109,"../internals/to-absolute-index":160,"../internals/to-indexed-object":162,"../internals/well-known-symbol":182}],191:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/function-name").EXISTS,o=e("../internals/function-uncurry-this"),a=e("../internals/object-define-property").f,s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(e){return""}}})},{"../internals/descriptors":56,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/object-define-property":121}],192:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-uncurry-this"),a=e("../internals/to-integer-or-infinity"),s=e("../internals/this-number-value"),u=e("../internals/string-repeat"),l=e("../internals/fails"),c=i.RangeError,f=i.String,d=Math.floor,p=o(u),h=o("".slice),y=o(1..toFixed),m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},b=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=d(i/1e7)},g=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=d(r/t),r=r%t*1e7},v=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=f(e[t]);n=""===n?r:n+p("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l((function(){return"0.000"!==y(8e-5,3)||"1"!==y(.9,0)||"1.25"!==y(1.255,2)||"1000000000000000128"!==y(0xde0b6b3a7640080,0)}))||!l((function(){y({})}))},{toFixed:function(e){var t,n,r,i,o=s(this),u=a(e),l=[0,0,0,0,0,0],d="",y="0";if(u<0||u>20)throw c("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return f(o);if(o<0&&(d="-",o=-o),o>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(o*m(2,69,1))-69)<0?o*m(2,-t,1):o/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(b(l,0,n),r=u;r>=7;)b(l,1e7,0),r-=7;for(b(l,m(10,r,1),0),r=t-1;r>=23;)g(l,1<<23),r-=23;g(l,1<<r),b(l,1,1),g(l,2),y=v(l)}else b(l,0,n),b(l,1<<-t,0),y=v(l)+p("0",u);return y=u>0?d+((i=y.length)<=u?"0."+p("0",u-i)+y:h(y,0,i-u)+"."+h(y,i-u)):d+y}})},{"../internals/export":71,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/string-repeat":156,"../internals/this-number-value":159,"../internals/to-integer-or-infinity":163}],193:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/descriptors"),o=e("../internals/object-define-property").f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},{"../internals/descriptors":56,"../internals/export":71,"../internals/object-define-property":121}],194:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/fails"),o=e("../internals/object-get-own-property-names-external").f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},{"../internals/export":71,"../internals/fails":72,"../internals/object-get-own-property-names-external":123}],195:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/to-object"),o=e("../internals/object-keys");r({target:"Object",stat:!0,forced:e("../internals/fails")((function(){o(1)}))},{keys:function(e){return o(i(e))}})},{"../internals/export":71,"../internals/fails":72,"../internals/object-keys":129,"../internals/to-object":165}],196:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/redefine"),o=e("../internals/object-to-string");r||i(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/object-to-string":132,"../internals/redefine":139,"../internals/to-string-tag-support":170}],197:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/number-parse-float");r({global:!0,forced:parseFloat!=i},{parseFloat:i})},{"../internals/export":71,"../internals/number-parse-float":116}],198:[function(e,t,n){var r=e("../internals/export"),i=e("../internals/number-parse-int");r({global:!0,forced:parseInt!=i},{parseInt:i})},{"../internals/export":71,"../internals/number-parse-int":117}],199:[function(e,t,n){"use strict";var r,i,o,a,s=e("../internals/export"),u=e("../internals/is-pure"),l=e("../internals/global"),c=e("../internals/get-built-in"),f=e("../internals/function-call"),d=e("../internals/native-promise-constructor"),p=e("../internals/redefine"),h=e("../internals/redefine-all"),y=e("../internals/object-set-prototype-of"),m=e("../internals/set-to-string-tag"),b=e("../internals/set-species"),g=e("../internals/a-callable"),v=e("../internals/is-callable"),w=e("../internals/is-object"),j=e("../internals/an-instance"),E=e("../internals/inspect-source"),x=e("../internals/iterate"),S=e("../internals/check-correctness-of-iteration"),_=e("../internals/species-constructor"),A=e("../internals/task").set,R=e("../internals/microtask"),k=e("../internals/promise-resolve"),O=e("../internals/host-report-errors"),T=e("../internals/new-promise-capability"),M=e("../internals/perform"),I=e("../internals/queue"),P=e("../internals/internal-state"),C=e("../internals/is-forced"),L=e("../internals/well-known-symbol"),N=e("../internals/engine-is-browser"),D=e("../internals/engine-is-node"),B=e("../internals/engine-v8-version"),U=L("species"),F="Promise",q=P.getterFor(F),W=P.set,H=P.getterFor(F),V=d&&d.prototype,z=d,G=V,Y=l.TypeError,$=l.document,J=l.process,K=T.f,X=K,Q=!!($&&$.createEvent&&l.dispatchEvent),Z=v(l.PromiseRejectionEvent),ee="unhandledrejection",te=!1,ne=C(F,(function(){var e=E(z),t=e!==String(z);if(!t&&66===B)return!0;if(u&&!G.finally)return!0;if(B>=51&&/native code/.test(e))return!1;var n=new z((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[U]=r,!(te=n.then((function(){}))instanceof r)||!t&&N&&!Z})),re=ne||!S((function(e){z.all(e).catch((function(){}))})),ie=function(e){var t;return!(!w(e)||!v(t=e.then))&&t},oe=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&ce(t),t.rejection=1),!0===s?n=o:(c&&c.enter(),n=s(o),c&&(c.exit(),i=!0)),n===e.promise?l(Y("Promise-chain cycle")):(r=ie(n))?f(r,n,u,l):u(n)):l(o)}catch(e){c&&!i&&c.exit(),l(e)}},ae=function(e,t){e.notified||(e.notified=!0,R((function(){for(var n,r=e.reactions;n=r.get();)oe(n,e);e.notified=!1,t&&!e.rejection&&ue(e)})))},se=function(e,t,n){var r,i;Q?((r=$.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(i=l["on"+e])?i(r):e===ee&&O("Unhandled promise rejection",n)},ue=function(e){f(A,l,(function(){var t,n=e.facade,r=e.value;if(le(e)&&(t=M((function(){D?J.emit("unhandledRejection",r,n):se(ee,n,r)})),e.rejection=D||le(e)?2:1,t.error))throw t.value}))},le=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){f(A,l,(function(){var t=e.facade;D?J.emit("rejectionHandled",t):se("rejectionhandled",t,e.value)}))},fe=function(e,t,n){return function(r){e(t,r,n)}},de=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ae(e,!0))},pe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var r=ie(t);r?R((function(){var n={done:!1};try{f(r,t,fe(pe,n,e),fe(de,n,e))}catch(t){de(n,t,e)}})):(e.value=t,e.state=1,ae(e,!1))}catch(t){de({done:!1},t,e)}}};if(ne&&(G=(z=function(e){j(this,G),g(e),f(r,this);var t=q(this);try{e(fe(pe,t),fe(de,t))}catch(e){de(t,e)}}).prototype,(r=function(e){W(this,{type:F,done:!1,notified:!1,parent:!1,reactions:new I,rejection:!1,state:0,value:void 0})}).prototype=h(G,{then:function(e,t){var n=H(this),r=K(_(this,z));return n.parent=!0,r.ok=!v(e)||e,r.fail=v(t)&&t,r.domain=D?J.domain:void 0,0==n.state?n.reactions.add(r):R((function(){oe(r,n)})),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=q(e);this.promise=e,this.resolve=fe(pe,t),this.reject=fe(de,t)},T.f=K=function(e){return e===z||e===o?new i(e):X(e)},!u&&v(d)&&V!==Object.prototype)){a=V.then,te||(p(V,"then",(function(e,t){var n=this;return new z((function(e,t){f(a,n,e,t)})).then(e,t)}),{unsafe:!0}),p(V,"catch",G.catch,{unsafe:!0}));try{delete V.constructor}catch(e){}y&&y(V,G)}s({global:!0,wrap:!0,forced:ne},{Promise:z}),m(z,F,!1,!0),b(F),o=c(F),s({target:F,stat:!0,forced:ne},{reject:function(e){var t=K(this);return f(t.reject,void 0,e),t.promise}}),s({target:F,stat:!0,forced:u||ne},{resolve:function(e){return k(u&&this===o?z:this,e)}}),s({target:F,stat:!0,forced:re},{all:function(e){var t=this,n=K(t),r=n.resolve,i=n.reject,o=M((function(){var n=g(t.resolve),o=[],a=0,s=1;x(e,(function(e){var u=a++,l=!1;s++,f(n,t,e).then((function(e){l||(l=!0,o[u]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,i=M((function(){var i=g(t.resolve);x(e,(function(e){f(i,t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},{"../internals/a-callable":19,"../internals/an-instance":24,"../internals/check-correctness-of-iteration":46,"../internals/engine-is-browser":61,"../internals/engine-is-node":65,"../internals/engine-v8-version":68,"../internals/export":71,"../internals/function-call":77,"../internals/get-built-in":80,"../internals/global":85,"../internals/host-report-errors":88,"../internals/inspect-source":94,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/is-forced":100,"../internals/is-object":102,"../internals/is-pure":103,"../internals/iterate":105,"../internals/microtask":110,"../internals/native-promise-constructor":111,"../internals/new-promise-capability":115,"../internals/object-set-prototype-of":131,"../internals/perform":135,"../internals/promise-resolve":136,"../internals/queue":137,"../internals/redefine":139,"../internals/redefine-all":138,"../internals/set-species":148,"../internals/set-to-string-tag":149,"../internals/species-constructor":153,"../internals/task":158,"../internals/well-known-symbol":182}],200:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/regexp-exec");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},{"../internals/export":71,"../internals/regexp-exec":141}],201:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/function-name").PROPER,o=e("../internals/redefine"),a=e("../internals/an-object"),s=e("../internals/object-is-prototype-of"),u=e("../internals/to-string"),l=e("../internals/fails"),c=e("../internals/regexp-flags"),f="toString",d=RegExp.prototype,p=d.toString,h=r(c),y=l((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),m=i&&p.name!=f;(y||m)&&o(RegExp.prototype,f,(function(){var e=a(this),t=u(e.source),n=e.flags;return"/"+t+"/"+u(void 0===n&&s(d,e)&&!("flags"in d)?h(e):n)}),{unsafe:!0})},{"../internals/an-object":25,"../internals/fails":72,"../internals/function-name":78,"../internals/function-uncurry-this":79,"../internals/object-is-prototype-of":127,"../internals/redefine":139,"../internals/regexp-flags":142,"../internals/to-string":171}],202:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,i=e("../internals/to-string"),o=e("../internals/internal-state"),a=e("../internals/define-iterator"),s="String Iterator",u=o.set,l=o.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},{"../internals/define-iterator":55,"../internals/internal-state":95,"../internals/string-multibyte":154,"../internals/to-string":171}],203:[function(e,t,n){"use strict";var r=e("../internals/function-apply"),i=e("../internals/function-call"),o=e("../internals/function-uncurry-this"),a=e("../internals/fix-regexp-well-known-symbol-logic"),s=e("../internals/fails"),u=e("../internals/an-object"),l=e("../internals/is-callable"),c=e("../internals/to-integer-or-infinity"),f=e("../internals/to-length"),d=e("../internals/to-string"),p=e("../internals/require-object-coercible"),h=e("../internals/advance-string-index"),y=e("../internals/get-method"),m=e("../internals/get-substitution"),b=e("../internals/regexp-exec-abstract"),g=e("../internals/well-known-symbol")("replace"),v=Math.max,w=Math.min,j=o([].concat),E=o([].push),x=o("".indexOf),S=o("".slice),_="$0"==="a".replace(/./,"$0"),A=!!/./[g]&&""===/./[g]("a","$0");a("replace",(function(e,t,n){var o=A?"$":"$0";return[function(e,n){var r=p(this),o=null==e?void 0:y(e,g);return o?i(o,e,r,n):i(t,d(r),e,n)},function(e,i){var a=u(this),s=d(e);if("string"==typeof i&&-1===x(i,o)&&-1===x(i,"$<")){var p=n(t,a,s,i);if(p.done)return p.value}var y=l(i);y||(i=d(i));var g=a.global;if(g){var _=a.unicode;a.lastIndex=0}for(var A=[];;){var R=b(a,s);if(null===R)break;if(E(A,R),!g)break;""===d(R[0])&&(a.lastIndex=h(s,f(a.lastIndex),_))}for(var k,O="",T=0,M=0;M<A.length;M++){for(var I=d((R=A[M])[0]),P=v(w(c(R.index),s.length),0),C=[],L=1;L<R.length;L++)E(C,void 0===(k=R[L])?k:String(k));var N=R.groups;if(y){var D=j([I],C,P,s);void 0!==N&&E(D,N);var B=d(r(i,void 0,D))}else B=m(I,s,P,C,N,i);P>=T&&(O+=S(s,T,P)+B,T=P+I.length)}return O+S(s,T)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!_||A)},{"../internals/advance-string-index":23,"../internals/an-object":25,"../internals/fails":72,"../internals/fix-regexp-well-known-symbol-logic":73,"../internals/function-apply":74,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/get-method":83,"../internals/get-substitution":84,"../internals/is-callable":98,"../internals/regexp-exec-abstract":140,"../internals/require-object-coercible":146,"../internals/to-integer-or-infinity":163,"../internals/to-length":164,"../internals/to-string":171,"../internals/well-known-symbol":182}],204:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=e("../internals/array-buffer-view-core"),o=r(e("../internals/array-copy-within")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return o(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-copy-within":29,"../internals/function-uncurry-this":79}],205:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],206:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-call"),o=e("../internals/array-fill"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return i(o,a(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-fill":30,"../internals/function-call":77}],207:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").filter,o=e("../internals/typed-array-from-species-and-list"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=i(a(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/typed-array-from-species-and-list":175}],208:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],209:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],210:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],211:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-includes":34}],212:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-includes").indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-includes":34}],213:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/fails"),o=e("../internals/function-uncurry-this"),a=e("../internals/array-buffer-view-core"),s=e("../modules/es.array.iterator"),u=e("../internals/well-known-symbol")("iterator"),l=r.Uint8Array,c=o(s.values),f=o(s.keys),d=o(s.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,y=l&&l.prototype,m=!i((function(){y[u].call([1])})),b=!!y&&y.values&&y[u]===y.values&&"values"===y.values.name,g=function(){return c(p(this))};h("entries",(function(){return d(p(this))}),m),h("keys",(function(){return f(p(this))}),m),h("values",g,m||!b,{name:"values"}),h(u,g,m||!b,{name:"values"})},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],214:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-uncurry-this"),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=i([].join);a("join",(function(e){return s(o(this),e)}))},{"../internals/array-buffer-view-core":27,"../internals/function-uncurry-this":79}],215:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/function-apply"),o=e("../internals/array-last-index-of"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(o,a(this),t>1?[e,arguments[1]]:[e])}))},{"../internals/array-buffer-view-core":27,"../internals/array-last-index-of":36,"../internals/function-apply":74}],216:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").map,o=e("../internals/typed-array-species-constructor"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35,"../internals/typed-array-species-constructor":177}],217:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-reduce":39}],218:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-reduce").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(o(this),e,t,t>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-reduce":39}],219:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=this,n=i(t).length,r=a(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},{"../internals/array-buffer-view-core":27}],220:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-call"),o=e("../internals/array-buffer-view-core"),a=e("../internals/length-of-array-like"),s=e("../internals/to-offset"),u=e("../internals/to-object"),l=e("../internals/fails"),c=r.RangeError,f=r.Int8Array,d=f&&f.prototype,p=d&&d.set,h=o.aTypedArray,y=o.exportTypedArrayMethod,m=!l((function(){var e=new Uint8ClampedArray(2);return i(p,e,{length:1,0:3},1),3!==e[1]})),b=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l((function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));y("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=u(e);if(m)return i(p,this,n,t);var r=this.length,o=a(n),l=0;if(o+t>r)throw c("Wrong length");for(;l<o;)this[t+l]=n[l++]}),!m||b)},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-call":77,"../internals/global":85,"../internals/length-of-array-like":109,"../internals/to-object":165,"../internals/to-offset":166}],221:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/typed-array-species-constructor"),o=e("../internals/fails"),a=e("../internals/array-slice"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=i(this),o=0,u=n.length,l=new r(u);u>o;)l[o]=n[o++];return l}),o((function(){new Int8Array(1).slice()})))},{"../internals/array-buffer-view-core":27,"../internals/array-slice":41,"../internals/fails":72,"../internals/typed-array-species-constructor":177}],222:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-iteration").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},{"../internals/array-buffer-view-core":27,"../internals/array-iteration":35}],223:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this"),o=e("../internals/fails"),a=e("../internals/a-callable"),s=e("../internals/array-sort"),u=e("../internals/array-buffer-view-core"),l=e("../internals/engine-ff-version"),c=e("../internals/engine-is-ie-or-edge"),f=e("../internals/engine-v8-version"),d=e("../internals/engine-webkit-version"),p=r.Array,h=u.aTypedArray,y=u.exportTypedArrayMethod,m=r.Uint16Array,b=m&&i(m.prototype.sort),g=!(!b||o((function(){b(new m(2),null)}))&&o((function(){b(new m(2),{})}))),v=!!b&&!o((function(){if(f)return f<74;if(l)return l<67;if(c)return!0;if(d)return d<602;var e,t,n=new m(516),r=p(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(b(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));y("sort",(function(e){return void 0!==e&&a(e),v?b(this,e):s(h(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!v||g)},{"../internals/a-callable":19,"../internals/array-buffer-view-core":27,"../internals/array-sort":42,"../internals/engine-ff-version":60,"../internals/engine-is-ie-or-edge":62,"../internals/engine-v8-version":68,"../internals/engine-webkit-version":69,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],224:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/to-length"),o=e("../internals/to-absolute-index"),a=e("../internals/typed-array-species-constructor"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,u=o(e,r);return new(a(n))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-u))}))},{"../internals/array-buffer-view-core":27,"../internals/to-absolute-index":160,"../internals/to-length":164,"../internals/typed-array-species-constructor":177}],225:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-apply"),o=e("../internals/array-buffer-view-core"),a=e("../internals/fails"),s=e("../internals/array-slice"),u=r.Int8Array,l=o.aTypedArray,c=o.exportTypedArrayMethod,f=[].toLocaleString,d=!!u&&a((function(){f.call(new u(1))}));c("toLocaleString",(function(){return i(f,d?s(l(this)):l(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!=new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])})))},{"../internals/array-buffer-view-core":27,"../internals/array-slice":41,"../internals/fails":72,"../internals/function-apply":74,"../internals/global":85}],226:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core").exportTypedArrayMethod,i=e("../internals/fails"),o=e("../internals/global"),a=e("../internals/function-uncurry-this"),s=o.Uint8Array,u=s&&s.prototype||{},l=[].toString,c=a([].join);i((function(){l.call({})}))&&(l=function(){return c(this)});var f=u.toString!=l;r("toString",l,f)},{"../internals/array-buffer-view-core":27,"../internals/fails":72,"../internals/function-uncurry-this":79,"../internals/global":85}],227:[function(e,t,n){e("../internals/typed-array-constructor")("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},{"../internals/typed-array-constructor":173}],228:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),a=e("../internals/array-for-each"),s=e("../internals/create-non-enumerable-property"),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var l in i)i[l]&&u(r[l]&&r[l].prototype);u(o)},{"../internals/array-for-each":31,"../internals/create-non-enumerable-property":52,"../internals/dom-iterables":58,"../internals/dom-token-list-prototype":59,"../internals/global":85}],229:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/dom-iterables"),o=e("../internals/dom-token-list-prototype"),a=e("../modules/es.array.iterator"),s=e("../internals/create-non-enumerable-property"),u=e("../internals/well-known-symbol"),l=u("iterator"),c=u("toStringTag"),f=a.values,d=function(e,t){if(e){if(e[l]!==f)try{s(e,l,f)}catch(t){e[l]=f}if(e[c]||s(e,c,t),i[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var p in i)d(r[p]&&r[p].prototype,p);d(o,"DOMTokenList")},{"../internals/create-non-enumerable-property":52,"../internals/dom-iterables":58,"../internals/dom-token-list-prototype":59,"../internals/global":85,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],230:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/get-built-in"),a=e("../internals/function-call"),s=e("../internals/function-uncurry-this"),u=e("../internals/native-url"),l=e("../internals/redefine"),c=e("../internals/redefine-all"),f=e("../internals/set-to-string-tag"),d=e("../internals/create-iterator-constructor"),p=e("../internals/internal-state"),h=e("../internals/an-instance"),y=e("../internals/is-callable"),m=e("../internals/has-own-property"),b=e("../internals/function-bind-context"),g=e("../internals/classof"),v=e("../internals/an-object"),w=e("../internals/is-object"),j=e("../internals/to-string"),E=e("../internals/object-create"),x=e("../internals/create-property-descriptor"),S=e("../internals/get-iterator"),_=e("../internals/get-iterator-method"),A=e("../internals/validate-arguments-length"),R=e("../internals/well-known-symbol"),k=e("../internals/array-sort"),O=R("iterator"),T="URLSearchParams",M="URLSearchParamsIterator",I=p.set,P=p.getterFor(T),C=p.getterFor(M),L=o("fetch"),N=o("Request"),D=o("Headers"),B=N&&N.prototype,U=D&&D.prototype,F=i.RegExp,q=i.TypeError,W=i.decodeURIComponent,H=i.encodeURIComponent,V=s("".charAt),z=s([].join),G=s([].push),Y=s("".replace),$=s([].shift),J=s([].splice),K=s("".split),X=s("".slice),Q=/\+/g,Z=Array(4),ee=function(e){return Z[e-1]||(Z[e-1]=F("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return W(e)}catch(t){return e}},ne=function(e){var t=Y(e,Q," "),n=4;try{return W(t)}catch(e){for(;n;)t=Y(t,ee(n--),te);return t}},re=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return ie[e]},ae=function(e){return Y(H(e),re,oe)},se=d((function(e,t){I(this,{type:M,iterator:S(P(e).entries),kind:t})}),"Iterator",(function(){var e=C(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),ue=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===V(e,0)?X(e,1):e:j(e)))};ue.prototype={type:T,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,s,u,l=_(e);if(l)for(n=(t=S(e,l)).next;!(r=a(n,t)).done;){if(o=(i=S(v(r.value))).next,(s=a(o,i)).done||(u=a(o,i)).done||!a(o,i).done)throw q("Expected sequence with length 2");G(this.entries,{key:j(s.value),value:j(u.value)})}else for(var c in e)m(e,c)&&G(this.entries,{key:c,value:j(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=K(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=K(t,"="),G(this.entries,{key:ne($(n)),value:ne(z(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],G(n,ae(e.key)+"="+ae(e.value));return z(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var le=function(){h(this,ce);var e=arguments.length>0?arguments[0]:void 0;I(this,new ue(e))},ce=le.prototype;if(c(ce,{append:function(e,t){A(arguments.length,2);var n=P(this);G(n.entries,{key:j(e),value:j(t)}),n.updateURL()},delete:function(e){A(arguments.length,1);for(var t=P(this),n=t.entries,r=j(e),i=0;i<n.length;)n[i].key===r?J(n,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=[],i=0;i<t.length;i++)t[i].key===n&&G(r,t[i].value);return r},has:function(e){A(arguments.length,1);for(var t=P(this).entries,n=j(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var n,r=P(this),i=r.entries,o=!1,a=j(e),s=j(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?J(i,u--,1):(o=!0,n.value=s));o||G(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=P(this);k(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=P(this).entries,r=b(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new se(this,"keys")},values:function(){return new se(this,"values")},entries:function(){return new se(this,"entries")}},{enumerable:!0}),l(ce,O,ce.entries,{name:"entries"}),l(ce,"toString",(function(){return P(this).serialize()}),{enumerable:!0}),f(le,T),r({global:!0,forced:!u},{URLSearchParams:le}),!u&&y(D)){var fe=s(U.has),de=s(U.set),pe=function(e){if(w(e)){var t,n=e.body;if(g(n)===T)return t=e.headers?new D(e.headers):new D,fe(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),E(e,{body:x(0,j(n)),headers:x(0,t)})}return e};if(y(L)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?pe(arguments[1]):{})}}),y(N)){var he=function(e){return h(this,B),new N(e,arguments.length>1?pe(arguments[1]):{})};B.constructor=he,he.prototype=B,r({global:!0,forced:!0},{Request:he})}}t.exports={URLSearchParams:le,getState:P}},{"../internals/an-instance":24,"../internals/an-object":25,"../internals/array-sort":42,"../internals/classof":48,"../internals/create-iterator-constructor":51,"../internals/create-property-descriptor":53,"../internals/export":71,"../internals/function-bind-context":75,"../internals/function-call":77,"../internals/function-uncurry-this":79,"../internals/get-built-in":80,"../internals/get-iterator":82,"../internals/get-iterator-method":81,"../internals/global":85,"../internals/has-own-property":86,"../internals/internal-state":95,"../internals/is-callable":98,"../internals/is-object":102,"../internals/native-url":113,"../internals/object-create":119,"../internals/redefine":139,"../internals/redefine-all":138,"../internals/set-to-string-tag":149,"../internals/to-string":171,"../internals/validate-arguments-length":181,"../internals/well-known-symbol":182,"../modules/es.array.iterator":188}],231:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),o=e("../internals/descriptors"),a=e("../internals/native-url"),s=e("../internals/global"),u=e("../internals/function-bind-context"),l=e("../internals/function-uncurry-this"),c=e("../internals/object-define-properties").f,f=e("../internals/redefine"),d=e("../internals/an-instance"),p=e("../internals/has-own-property"),h=e("../internals/object-assign"),y=e("../internals/array-from"),m=e("../internals/array-slice-simple"),b=e("../internals/string-multibyte").codeAt,g=e("../internals/string-punycode-to-ascii"),v=e("../internals/to-string"),w=e("../internals/set-to-string-tag"),j=e("../internals/validate-arguments-length"),E=e("../modules/web.url-search-params"),x=e("../internals/internal-state"),S=x.set,_=x.getterFor("URL"),A=E.URLSearchParams,R=E.getState,k=s.URL,O=s.TypeError,T=s.parseInt,M=Math.floor,I=Math.pow,P=l("".charAt),C=l(/./.exec),L=l([].join),N=l(1..toString),D=l([].pop),B=l([].push),U=l("".replace),F=l([].shift),q=l("".split),W=l("".slice),H=l("".toLowerCase),V=l([].unshift),z="Invalid scheme",G="Invalid host",Y="Invalid port",$=/[a-z]/i,J=/[\d+-.a-z]/i,K=/\d/,X=/^0x/i,Q=/^[0-7]+$/,Z=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)V(t,e%256),e=M(e/256);return L(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=N(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},se,{"#":1,"?":1,"{":1,"}":1}),le=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var n=b(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var n;return 2==e.length&&C($,P(e,0))&&(":"==(n=P(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(W(e,0,2))&&(2==e.length||"/"===(t=P(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===H(e)},ye={},me={},be={},ge={},ve={},we={},je={},Ee={},xe={},Se={},_e={},Ae={},Re={},ke={},Oe={},Te={},Me={},Ie={},Pe={},Ce={},Le={},Ne=function(e,t,n){var r,i,o,a=v(e);if(t){if(i=this.parse(a))throw O(i);this.searchParams=null}else{if(void 0!==n&&(r=new Ne(n,!0)),i=this.parse(a,null,r))throw O(i);(o=R(new A)).bindURL(this),this.searchParams=o}};Ne.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,l=this,c=t||ye,f=0,d="",h=!1,b=!1,g=!1;for(e=v(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=U(e,re,"")),e=U(e,ie,""),i=y(e);f<=i.length;){switch(o=i[f],c){case ye:if(!o||!C($,o)){if(t)return z;c=be;continue}d+=H(o),c=me;break;case me:if(o&&(C(J,o)||"+"==o||"-"==o||"."==o))d+=H(o);else{if(":"!=o){if(t)return z;d="",c=be,f=0;continue}if(t&&(l.isSpecial()!=p(fe,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&fe[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?c=ke:l.isSpecial()&&n&&n.scheme==l.scheme?c=ge:l.isSpecial()?c=Ee:"/"==i[f+1]?(c=ve,f++):(l.cannotBeABaseURL=!0,B(l.path,""),c=Pe)}break;case be:if(!n||n.cannotBeABaseURL&&"#"!=o)return z;if(n.cannotBeABaseURL&&"#"==o){l.scheme=n.scheme,l.path=m(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Le;break}c="file"==n.scheme?ke:we;continue;case ge:if("/"!=o||"/"!=i[f+1]){c=we;continue}c=xe,f++;break;case ve:if("/"==o){c=Se;break}c=Ie;continue;case we:if(l.scheme=n.scheme,o==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query;else if("/"==o||"\\"==o&&l.isSpecial())c=je;else if("?"==o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query="",c=Ce;else{if("#"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.path.length--,c=Ie;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query,l.fragment="",c=Le}break;case je:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Ie;continue}c=Se}else c=xe;break;case Ee:if(c=xe,"/"!=o||"/"!=P(d,f+1))continue;f++;break;case xe:if("/"!=o&&"\\"!=o){c=Se;continue}break;case Se:if("@"==o){h&&(d="%40"+d),h=!0,a=y(d);for(var w=0;w<a.length;w++){var j=a[w];if(":"!=j||g){var E=ce(j,le);g?l.password+=E:l.username+=E}else g=!0}d=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(h&&""==d)return"Invalid authority";f-=y(d).length+1,d="",c=_e}else d+=o;break;case _e:case Ae:if(t&&"file"==l.scheme){c=Te;continue}if(":"!=o||b){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(l.isSpecial()&&""==d)return G;if(t&&""==d&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(d))return s;if(d="",c=Me,t)return;continue}"["==o?b=!0:"]"==o&&(b=!1),d+=o}else{if(""==d)return G;if(s=l.parseHost(d))return s;if(d="",c=Re,t==Ae)return}break;case Re:if(!C(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||t){if(""!=d){var x=T(d,10);if(x>65535)return Y;l.port=l.isSpecial()&&x===fe[l.scheme]?null:x,d=""}if(t)return;c=Me;continue}return Y}d+=o;break;case ke:if(l.scheme="file","/"==o||"\\"==o)c=Oe;else{if(!n||"file"!=n.scheme){c=Ie;continue}if(o==r)l.host=n.host,l.path=m(n.path),l.query=n.query;else if("?"==o)l.host=n.host,l.path=m(n.path),l.query="",c=Ce;else{if("#"!=o){pe(L(m(i,f),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Ie;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Le}}break;case Oe:if("/"==o||"\\"==o){c=Te;break}n&&"file"==n.scheme&&!pe(L(m(i,f),""))&&(de(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Ie;continue;case Te:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))c=Ie;else if(""==d){if(l.host="",t)return;c=Me}else{if(s=l.parseHost(d))return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=Me}continue}d+=o;break;case Me:if(l.isSpecial()){if(c=Ie,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Ie,"/"!=o))continue}else l.fragment="",c=Le;else l.query="",c=Ce;break;case Ie:if(o==r||"/"==o||"\\"==o&&l.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=H(u=d))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||B(l.path,"")):he(d)?"/"==o||"\\"==o&&l.isSpecial()||B(l.path,""):("file"==l.scheme&&!l.path.length&&de(d)&&(l.host&&(l.host=""),d=P(d,0)+":"),B(l.path,d)),d="","file"==l.scheme&&(o==r||"?"==o||"#"==o))for(;l.path.length>1&&""===l.path[0];)F(l.path);"?"==o?(l.query="",c=Ce):"#"==o&&(l.fragment="",c=Le)}else d+=ce(o,ue);break;case Pe:"?"==o?(l.query="",c=Ce):"#"==o?(l.fragment="",c=Le):o!=r&&(l.path[0]+=ce(o,ae));break;case Ce:t||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ce(o,ae)):(l.fragment="",c=Le);break;case Le:o!=r&&(l.fragment+=ce(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==P(e,0)){if("]"!=P(e,e.length-1))return G;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,f=0,d=function(){return P(e,f)};if(":"==d()){if(":"!=P(e,1))return;f+=2,c=++l}for(;d();){if(8==l)return;if(":"!=d()){for(t=n=0;n<4&&C(ee,d());)t=16*t+T(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,l>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;f++}if(!C(K,d()))return;for(;C(K,d());){if(o=T(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;f++}u[l]=256*u[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[l++]=t}else{if(null!==c)return;f++,c=++l}}if(null!==c)for(a=l-c,l=7;0!=l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!=l)return;return u}(W(e,1,-1)),!t)return G;this.host=t}else if(this.isSpecial()){if(e=g(e),C(te,e))return G;if(t=function(e){var t,n,r,i,o,a,s,u=q(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==P(i,0)&&(o=C(X,i)?16:8,i=W(i,8==o?1:2)),""===i)a=0;else{if(!C(10==o?Z:8==o?Q:ee,i))return e;a=T(i,o)}B(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=I(256,5-t))return null}else if(a>255)return null;for(s=D(n),r=0;r<n.length;r++)s+=n[r]*I(256,3-r);return s}(e),null===t)return G;this.host=t}else{if(C(ne,e))return G;for(t="",n=y(e),r=0;r<n.length;r++)t+=ce(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=oe(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new De(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(v(e)+":",ye)},getUsername:function(){return this.username},setUsername:function(e){var t=y(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ce(t[n],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=y(v(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ce(t[n],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,_e)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getPort:function(){var e=this.port;return null===e?"":v(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=v(e))?this.port=null:this.parse(e,Re))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Me))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=v(e))?this.query=null:("?"==P(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Ce)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=v(e))?("#"==P(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Le)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var De=function(e){var t=d(this,Be),n=j(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new Ne(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=De.prototype,Ue=function(e,t){return{get:function(){return _(this)[e]()},set:t&&function(e){return _(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&c(Be,{href:Ue("serialize","setHref"),origin:Ue("getOrigin"),protocol:Ue("getProtocol","setProtocol"),username:Ue("getUsername","setUsername"),password:Ue("getPassword","setPassword"),host:Ue("getHost","setHost"),hostname:Ue("getHostname","setHostname"),port:Ue("getPort","setPort"),pathname:Ue("getPathname","setPathname"),search:Ue("getSearch","setSearch"),searchParams:Ue("getSearchParams"),hash:Ue("getHash","setHash")}),f(Be,"toJSON",(function(){return _(this).serialize()}),{enumerable:!0}),f(Be,"toString",(function(){return _(this).serialize()}),{enumerable:!0}),k){var Fe=k.createObjectURL,qe=k.revokeObjectURL;Fe&&f(De,"createObjectURL",u(Fe,k)),qe&&f(De,"revokeObjectURL",u(qe,k))}w(De,"URL"),i({global:!0,forced:!a,sham:!o},{URL:De})},{"../internals/an-instance":24,"../internals/array-from":33,"../internals/array-slice-simple":40,"../internals/descriptors":56,"../internals/export":71,"../internals/function-bind-context":75,"../internals/function-uncurry-this":79,"../internals/global":85,"../internals/has-own-property":86,"../internals/internal-state":95,"../internals/native-url":113,"../internals/object-assign":118,"../internals/object-define-properties":120,"../internals/redefine":139,"../internals/set-to-string-tag":149,"../internals/string-multibyte":154,"../internals/string-punycode-to-ascii":155,"../internals/to-string":171,"../internals/validate-arguments-length":181,"../modules/es.string.iterator":202,"../modules/web.url-search-params":230}],232:[function(e,t,n){function r(e){return Object.prototype.toString.call(e)}n.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===r(e)},n.isBoolean=function(e){return"boolean"==typeof e},n.isNull=function(e){return null===e},n.isNullOrUndefined=function(e){return null==e},n.isNumber=function(e){return"number"==typeof e},n.isString=function(e){return"string"==typeof e},n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=function(e){return void 0===e},n.isRegExp=function(e){return"[object RegExp]"===r(e)},n.isObject=function(e){return"object"==typeof e&&null!==e},n.isDate=function(e){return"[object Date]"===r(e)},n.isError=function(e){return"[object Error]"===r(e)||e instanceof Error},n.isFunction=function(e){return"function"==typeof e},n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("buffer").Buffer.isBuffer},{buffer:11}],233:[function(e,t,n){!function(e){"use strict";!function(e){if("object"==typeof n)t.exports=e();else{var r=this,i=r.createError,o=r.createError=e();o.noConflict=function(){return r.createError=i,o}}}((function(){var e=Object.prototype.toString;return function(){for(var e=new Array(arguments.length),i=0;i<e.length;++i)e[i]=arguments[i];var a=t(e),s=n(e),u=r(e);function l(e,t){o(this,u),o(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function c(){this.constructor=l}return c.prototype=s.prototype,l.prototype=new c,l.prototype.name=""+a||"CustomError",l};function t(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function n(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function r(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function i(e){return"function"==typeof e}function o(t,n){if((s=n)&&"object"==typeof s&&"[object Object]"===e.call(s))for(var r=function(e){var t=[];for(var n in e)t.push(n);return t}(n),i=0,o=r.length;i<o;++i)t[r[i]]=a(n[r[i]]);var s}function a(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}}))}()},{}],234:[function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===i}(e)}(e)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return o(e,n)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function u(e,t){try{return t in e}catch(e){return!1}}function l(e,t,n){var r={};return n.isMergeableObject(e)&&s(e).forEach((function(t){r[t]=o(e[t],n)})),s(t).forEach((function(i){(function(e,t){return u(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(u(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(i,n)(e[i],t[i],n):r[i]=o(t[i],n))})),r}function c(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=o;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):l(e,t,n):o(t,n)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var f=c;t.exports=f},{}],235:[function(e,t,n){t.exports=function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}},{}],236:[function(e,t,n){var r,i=e("util"),o=e("global"),a=e("events");t.exports=(r=function(){if(o._singletonDespotInstance)return o._singletonDespotInstance;o._singletonDespotInstance=this,a.call(this)},i.inherits(r,a),new r)},{events:242,global:253,util:316}],237:[function(e,t,n){"use strict";var r=e("global/document"),i=e("geval"),o=e("./keys");function a(){}t.exports=function(){var e=o(r);return e?{visible:t,onChange:i((function(n){r.addEventListener(e.event,(function(){n(t())}))}))}:function(){return{visible:function(){return!0},onChange:a}}();function t(){return!r[e.hidden]}}},{"./keys":238,geval:251,"global/document":252}],238:[function(e,t,n){"use strict";t.exports=function(e){var t=function(e){if(null!=e.hidden)return"";if(null!=e.mozHidden)return"moz";if(null!=e.msHidden)return"ms";if(null!=e.webkitHidden)return"webkit"}(e);if(null==t)return;return{hidden:(n=t+"Hidden",n.substring(0,1).toLowerCase()+n.substring(1)),event:t+"visibilitychange"};var n}},{}],239:[function(e,t,n){t.exports=function(e){var t=e.Element.prototype;"function"!=typeof t.matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(e){for(var t=this,n=(t.document||t.ownerDocument).querySelectorAll(e),r=0;n[r]&&n[r]!==t;)++r;return Boolean(n[r])}),"function"!=typeof t.closest&&(t.closest=function(e){for(var t=this;t&&1===t.nodeType;){if(t.matches(e))return t;t=t.parentNode}return null})}},{}],240:[function(e,t,n){(function(n){(function(){var r=e("once"),i=function(){},o=function(e,t,a){if("function"==typeof t)return o(e,null,t);t||(t={}),a=r(a||i);var s=e._writableState,u=e._readableState,l=t.readable||!1!==t.readable&&e.readable,c=t.writable||!1!==t.writable&&e.writable,f=!1,d=function(){e.writable||p()},p=function(){c=!1,l||a.call(e)},h=function(){l=!1,c||a.call(e)},y=function(t){a.call(e,t?new Error("exited with error code: "+t):null)},m=function(t){a.call(e,t)},b=function(){n.nextTick(g)},g=function(){if(!f)return(!l||u&&u.ended&&!u.destroyed)&&(!c||s&&s.ended&&!s.destroyed)?void 0:a.call(e,new Error("premature close"))},v=function(){e.req.on("finish",p)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?c&&!s&&(e.on("end",d),e.on("close",d)):(e.on("complete",p),e.on("abort",b),e.req?v():e.on("request",v)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",y),e.on("end",h),e.on("finish",p),!1!==t.error&&e.on("error",m),e.on("close",b),function(){f=!0,e.removeListener("complete",p),e.removeListener("abort",b),e.removeListener("request",v),e.req&&e.req.removeListener("finish",p),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("exit",y),e.removeListener("end",h),e.removeListener("error",m),e.removeListener("close",b)}};t.exports=o}).call(this)}).call(this,e("_process"))},{_process:279,once:276}],241:[function(e,t,n){"use strict";var r=e("get-intrinsic")("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}t.exports=r},{"get-intrinsic":249}],242:[function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}b(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&b(e,"error",t,n)}(e,i,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function h(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function y(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function b(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(n=0;n<l;++n)o(c[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):y.call(e,t)},s.prototype.listenerCount=y,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],243:[function(e,t,n){t.exports=u,u.default=u,u.stable=d,u.stableStringify=d;var r="[...]",i="[Circular]",o=[],a=[];function s(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(e,t,n,r){var i;void 0===r&&(r=s()),c(e,"",0,[],void 0,0,r);try{i=0===a.length?JSON.stringify(e,t,n):JSON.stringify(e,h(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var u=o.pop();4===u.length?Object.defineProperty(u[0],u[1],u[3]):u[0][u[1]]=u[2]}}return i}function l(e,t,n,r){var i=Object.getOwnPropertyDescriptor(r,n);void 0!==i.get?i.configurable?(Object.defineProperty(r,n,{value:e}),o.push([r,n,t,i])):a.push([t,n,e]):(r[n]=e,o.push([r,n,t]))}function c(e,t,n,o,a,s,u){var f;if(s+=1,"object"==typeof e&&null!==e){for(f=0;f<o.length;f++)if(o[f]===e)return void l(i,e,t,a);if(void 0!==u.depthLimit&&s>u.depthLimit)return void l(r,e,t,a);if(void 0!==u.edgesLimit&&n+1>u.edgesLimit)return void l(r,e,t,a);if(o.push(e),Array.isArray(e))for(f=0;f<e.length;f++)c(e[f],f,f,o,e,s,u);else{var d=Object.keys(e);for(f=0;f<d.length;f++){var p=d[f];c(e[p],p,f,o,e,s,u)}}o.pop()}}function f(e,t){return e<t?-1:e>t?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=p(e,"",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,h(t),n)}catch(e){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;0!==o.length;){var l=o.pop();4===l.length?Object.defineProperty(l[0],l[1],l[3]):l[0][l[1]]=l[2]}}return i}function p(e,t,n,a,s,u,c){var d;if(u+=1,"object"==typeof e&&null!==e){for(d=0;d<a.length;d++)if(a[d]===e)return void l(i,e,t,s);try{if("function"==typeof e.toJSON)return}catch(e){return}if(void 0!==c.depthLimit&&u>c.depthLimit)return void l(r,e,t,s);if(void 0!==c.edgesLimit&&n+1>c.edgesLimit)return void l(r,e,t,s);if(a.push(e),Array.isArray(e))for(d=0;d<e.length;d++)p(e[d],d,d,a,e,u,c);else{var h={},y=Object.keys(e).sort(f);for(d=0;d<y.length;d++){var m=y[d];p(e[m],m,d,a,e,u,c),h[m]=e[m]}if(void 0===s)return h;o.push([s,t,e]),s[t]=h}a.pop()}}function h(e){return e=void 0!==e?e:function(e,t){return t},function(t,n){if(a.length>0)for(var r=0;r<a.length;r++){var i=a[r];if(i[1]===t&&i[0]===n){n=i[2],a.splice(r,1);break}}return e.call(this,t,n)}}},{}],244:[function(e,t,n){var r,i;r=this,i=function(){"use strict";var e=/^(b|B)$/,t={iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]},r={floor:Math.floor,ceil:Math.ceil};function i(i){var o,a,s,u,l,c,f,d,p,h,y,m,b,g,v,w,j,E,x,S,_,A=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},R=[],k=0;if(isNaN(i))throw new TypeError("Invalid number");if(s=!0===A.bits,v=!0===A.unix,m=!0===A.pad,a=A.base||10,b=void 0!==A.round?A.round:v?1:2,f=void 0!==A.locale?A.locale:"",d=A.localeOptions||{},w=void 0!==A.separator?A.separator:"",j=void 0!==A.spacer?A.spacer:v?"":" ",x=A.symbols||{},E=2===a?A.standard||"iec":"jedec",y=A.output||"string",l=!0===A.fullform,c=A.fullforms instanceof Array?A.fullforms:[],o=void 0!==A.exponent?A.exponent:-1,S=r[A.roundingMethod]||Math.round,p=(h=Number(i))<0,u=a>2?1e3:1024,_=!1===isNaN(A.precision)?parseInt(A.precision,10):0,p&&(h=-h),(-1===o||isNaN(o))&&(o=Math.floor(Math.log(h)/Math.log(u)))<0&&(o=0),o>8&&(_>0&&(_+=8-o),o=8),"exponent"===y)return o;if(0===h)R[0]=0,g=R[1]=v?"":t[E][s?"bits":"bytes"][o];else{k=h/(2===a?Math.pow(2,10*o):Math.pow(1e3,o)),s&&(k*=8)>=u&&o<8&&(k/=u,o++);var O=Math.pow(10,o>0?b:0);R[0]=S(k*O)/O,R[0]===u&&o<8&&void 0===A.exponent&&(R[0]=1,o++),g=R[1]=10===a&&1===o?s?"kbit":"kB":t[E][s?"bits":"bytes"][o],v&&(R[1]=R[1].charAt(0),e.test(R[1])&&(R[0]=Math.floor(R[0]),R[1]=""))}if(p&&(R[0]=-R[0]),_>0&&(R[0]=R[0].toPrecision(_)),R[1]=x[R[1]]||R[1],!0===f?R[0]=R[0].toLocaleString():f.length>0?R[0]=R[0].toLocaleString(f,d):w.length>0&&(R[0]=R[0].toString().replace(".",w)),m&&!1===Number.isInteger(R[0])&&b>0){var T=w||".",M=R[0].toString().split(T),I=M[1]||"",P=I.length,C=b-P;R[0]="".concat(M[0]).concat(T).concat(I.padEnd(P+C,"0"))}return l&&(R[1]=c[o]?c[o]:n[E][o]+(s?"bit":"byte")+(1===R[0]?"":"s")),"array"===y?R:"object"===y?{value:R[0],symbol:R[1],exponent:o,unit:g}:R.join(j)}return i.partial=function(e){return function(t){return i(t,e)}},i},"object"==typeof n&&void 0!==t?t.exports=i():(r="undefined"!=typeof globalThis?globalThis:r||self).filesize=i()},{}],245:[function(e,t,n){var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString;t.exports=function(e,t,n){if("[object Function]"!==i.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var a=0;a<o;a++)t.call(n,e[a],a,e);else for(var s in e)r.call(e,s)&&t.call(n,e[s],s,e)}},{}],246:[function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(e){var t=this;if("function"!=typeof t||o.call(t)!==a)throw new TypeError(r+t);for(var n,s=i.call(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,s.concat(i.call(arguments)));return Object(r)===r?r:this}return t.apply(e,s.concat(i.call(arguments)))},l=Math.max(0,t.length-s.length),c=[],f=0;f<l;f++)c.push("$"+f);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var d=function(){};d.prototype=t.prototype,n.prototype=new d,d.prototype=null}return n}},{}],247:[function(e,t,n){"use strict";var r=e("./implementation");t.exports=Function.prototype.bind||r},{"./implementation":246}],248:[function(e,t,n){"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.__esModule=!0,n.default=c,n.getFieldData=f;var i={"[object HTMLCollection]":!0,"[object NodeList]":!0,"[object RadioNodeList]":!0},o={button:!0,fieldset:!0,reset:!0,submit:!0},a={checkbox:!0,radio:!0},s=/^\s+|\s+$/g,u=Array.prototype.slice,l=Object.prototype.toString;function c(e,t){if(!e)throw new Error("A form is required by getFormData, was given form="+e);t=r({includeDisabled:!1,trim:!1},t);for(var n,i={},a=[],s={},u=0,l=e.elements.length;u<l;u++){var c=e.elements[u];o[c.type]||c.disabled&&!t.includeDisabled||(n=c.name||c.id)&&!s[n]&&(a.push(n),s[n]=!0)}for(var d=0,p=a.length;d<p;d++){var h=f(e,n=a[d],t);null!=h&&(i[n]=h)}return i}function f(e,t,n){if(!e)throw new Error("A form is required by getFieldData, was given form="+e);if(!t&&"[object String]"!==l.call(t))throw new Error("A field name is required by getFieldData, was given fieldName="+t);n=r({includeDisabled:!1,trim:!1},n);var o=e.elements[t];if(!o||o.disabled&&!n.includeDisabled)return null;if(!i[l.call(o)])return d(o,n.trim);for(var a=[],s=!0,u=0,c=o.length;u<c;u++)if(!o[u].disabled||n.includeDisabled){s&&"radio"!==o[u].type&&(s=!1);var f=d(o[u],n.trim);null!=f&&(a=a.concat(f))}return s&&1===a.length?a[0]:a.length>0?a:null}function d(e,t){var n=null,r=e.type;if("select-one"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if("select-multiple"===r){n=[];for(var i=0,o=e.options.length;i<o;i++)e.options[i].selected&&n.push(e.options[i].value);return 0===n.length&&(n=null),n}return"file"===r&&"files"in e?(e.multiple?0===(n=u.call(e.files)).length&&(n=null):n=e.files[0],n):(a[r]?e.checked&&(n="checkbox"===r&&!e.hasAttribute("value")||e.value):n=t?e.value.replace(s,""):e.value,n)}c.getFieldData=f},{}],249:[function(e,t,n){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,s=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(e){u=null}var l=function(){throw new a},c=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(e){return l}}}():l,f=e("has-symbols")(),d=Object.getPrototypeOf||function(e){return e.__proto__},p={},h="undefined"==typeof Uint8Array?r:d(Uint8Array),y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":p,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?d(d([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&f?d((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&f?d((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?d(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":h,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},m=function e(t){var n;if("%AsyncFunction%"===t)n=s("async function () {}");else if("%GeneratorFunction%"===t)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=s("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=d(i.prototype))}return y[t]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=e("function-bind"),v=e("has"),w=g.call(Function.call,Array.prototype.concat),j=g.call(Function.apply,Array.prototype.splice),E=g.call(Function.call,String.prototype.replace),x=g.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,A=function(e){var t=x(e,0,1),n=x(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return E(e,S,(function(e,t,n,i){r[r.length]=n?E(i,_,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(v(b,r)&&(r="%"+(n=b[r])[0]+"%"),v(y,r)){var o=y[r];if(o===p&&(o=m(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');var n=A(e),r=n.length>0?n[0]:"",o=R("%"+r+"%",t),s=o.name,l=o.value,c=!1,f=o.alias;f&&(r=f[0],j(n,w([0,1],f)));for(var d=1,p=!0;d<n.length;d+=1){var h=n[d],m=x(h,0,1),b=x(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===b||"'"===b||"`"===b)&&m!==b)throw new i("property names with quotes must have matching quotes");if("constructor"!==h&&p||(c=!0),v(y,s="%"+(r+="."+h)+"%"))l=y[s];else if(null!=l){if(!(h in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(u&&d+1>=n.length){var g=u(l,h);l=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[h]}else p=v(l,h),l=l[h];p&&!c&&(y[s]=l)}}return l}},{"function-bind":247,has:257,"has-symbols":254}],250:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n<e.length;n++)e[n](t)},listen:function(t){return e.push(t),n;function n(){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}}},{}],251:[function(e,t,n){var r=e("./event.js");t.exports=function(e){var t=r();return e(t.broadcast),t.listen}},{"./event.js":250}],252:[function(e,t,n){(function(n){(function(){var r,i=void 0!==n?n:"undefined"!=typeof window?window:{},o=e("min-document");"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=r}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":9}],253:[function(e,t,n){(function(e){(function(){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],254:[function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=e("./shams");t.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},{"./shams":255}],255:[function(e,t,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},{}],256:[function(e,t,n){"use strict";var r=e("has-symbols/shams");t.exports=function(){return r()&&!!Symbol.toStringTag}},{"has-symbols/shams":255}],257:[function(e,t,n){"use strict";var r=e("function-bind");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":247}],258:[function(e,t,n){t.exports=function(e,t){if(void 0===t)return"none"===e.style.display;e.style.display=t?"none":""}},{}],259:[function(e,t,n){!function(){var e={y:function(e){return 1===e?"χρόνος":"χρόνια"},mo:function(e){return 1===e?"μήνας":"μήνες"},w:function(e){return 1===e?"εβδομάδα":"εβδομάδες"},d:function(e){return 1===e?"μέρα":"μέρες"},h:function(e){return 1===e?"ώρα":"ώρες"},m:function(e){return 1===e?"λεπτό":"λεπτά"},s:function(e){return 1===e?"δευτερόλεπτο":"δευτερόλεπτα"},ms:function(e){return 1===e?"χιλιοστό του δευτερολέπτου":"χιλιοστά του δευτερολέπτου"},decimal:","},n=["۰","١","٢","٣","٤","٥","٦","٧","٨","٩"],r={af:{y:"jaar",mo:function(e){return"maand"+(1===e?"":"e")},w:function(e){return 1===e?"week":"weke"},d:function(e){return 1===e?"dag":"dae"},h:function(e){return 1===e?"uur":"ure"},m:function(e){return 1===e?"minuut":"minute"},s:function(e){return"sekonde"+(1===e?"":"s")},ms:function(e){return"millisekonde"+(1===e?"":"s")},decimal:","},ar:{y:function(e){return["سنة","سنتان","سنوات"][u(e)]},mo:function(e){return["شهر","شهران","أشهر"][u(e)]},w:function(e){return["أسبوع","أسبوعين","أسابيع"][u(e)]},d:function(e){return["يوم","يومين","أيام"][u(e)]},h:function(e){return["ساعة","ساعتين","ساعات"][u(e)]},m:function(e){return["دقيقة","دقيقتان","دقائق"][u(e)]},s:function(e){return["ثانية","ثانيتان","ثواني"][u(e)]},ms:function(e){return["جزء من الثانية","جزآن من الثانية","أجزاء من الثانية"][u(e)]},decimal:",",delimiter:" و ",_formatCount:function(e,t){for(var r=s(n,{".":t}),i=e.toString().split(""),o=0;o<i.length;o++){var a=i[o];y(r,a)&&(i[o]=r[a])}return i.join("")}},bg:{y:function(e){return["години","година","години"][c(e)]},mo:function(e){return["месеца","месец","месеца"][c(e)]},w:function(e){return["седмици","седмица","седмици"][c(e)]},d:function(e){return["дни","ден","дни"][c(e)]},h:function(e){return["часа","час","часа"][c(e)]},m:function(e){return["минути","минута","минути"][c(e)]},s:function(e){return["секунди","секунда","секунди"][c(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунди"][c(e)]},decimal:","},bn:{y:"বছর",mo:"মাস",w:"সপ্তাহ",d:"দিন",h:"ঘন্টা",m:"মিনিট",s:"সেকেন্ড",ms:"মিলিসেকেন্ড"},ca:{y:function(e){return"any"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"os")},w:function(e){return"setman"+(1===e?"a":"es")},d:function(e){return"di"+(1===e?"a":"es")},h:function(e){return"hor"+(1===e?"a":"es")},m:function(e){return"minut"+(1===e?"":"s")},s:function(e){return"segon"+(1===e?"":"s")},ms:function(e){return"milisegon"+(1===e?"":"s")},decimal:","},cs:{y:function(e){return["rok","roku","roky","let"][f(e)]},mo:function(e){return["měsíc","měsíce","měsíce","měsíců"][f(e)]},w:function(e){return["týden","týdne","týdny","týdnů"][f(e)]},d:function(e){return["den","dne","dny","dní"][f(e)]},h:function(e){return["hodina","hodiny","hodiny","hodin"][f(e)]},m:function(e){return["minuta","minuty","minuty","minut"][f(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][f(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][f(e)]},decimal:","},cy:{y:"flwyddyn",mo:"mis",w:"wythnos",d:"diwrnod",h:"awr",m:"munud",s:"eiliad",ms:"milieiliad"},da:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uge"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"e")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minut"+(1===e?"":"ter")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},de:{y:function(e){return"Jahr"+(1===e?"":"e")},mo:function(e){return"Monat"+(1===e?"":"e")},w:function(e){return"Woche"+(1===e?"":"n")},d:function(e){return"Tag"+(1===e?"":"e")},h:function(e){return"Stunde"+(1===e?"":"n")},m:function(e){return"Minute"+(1===e?"":"n")},s:function(e){return"Sekunde"+(1===e?"":"n")},ms:function(e){return"Millisekunde"+(1===e?"":"n")},decimal:","},el:e,en:{y:function(e){return"year"+(1===e?"":"s")},mo:function(e){return"month"+(1===e?"":"s")},w:function(e){return"week"+(1===e?"":"s")},d:function(e){return"day"+(1===e?"":"s")},h:function(e){return"hour"+(1===e?"":"s")},m:function(e){return"minute"+(1===e?"":"s")},s:function(e){return"second"+(1===e?"":"s")},ms:function(e){return"millisecond"+(1===e?"":"s")},decimal:"."},eo:{y:function(e){return"jaro"+(1===e?"":"j")},mo:function(e){return"monato"+(1===e?"":"j")},w:function(e){return"semajno"+(1===e?"":"j")},d:function(e){return"tago"+(1===e?"":"j")},h:function(e){return"horo"+(1===e?"":"j")},m:function(e){return"minuto"+(1===e?"":"j")},s:function(e){return"sekundo"+(1===e?"":"j")},ms:function(e){return"milisekundo"+(1===e?"":"j")},decimal:","},es:{y:function(e){return"año"+(1===e?"":"s")},mo:function(e){return"mes"+(1===e?"":"es")},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"día"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milisegundo"+(1===e?"":"s")},decimal:","},et:{y:function(e){return"aasta"+(1===e?"":"t")},mo:function(e){return"kuu"+(1===e?"":"d")},w:function(e){return"nädal"+(1===e?"":"at")},d:function(e){return"päev"+(1===e?"":"a")},h:function(e){return"tund"+(1===e?"":"i")},m:function(e){return"minut"+(1===e?"":"it")},s:function(e){return"sekund"+(1===e?"":"it")},ms:function(e){return"millisekund"+(1===e?"":"it")},decimal:","},eu:{y:"urte",mo:"hilabete",w:"aste",d:"egun",h:"ordu",m:"minutu",s:"segundo",ms:"milisegundo",decimal:","},fa:{y:"سال",mo:"ماه",w:"هفته",d:"روز",h:"ساعت",m:"دقیقه",s:"ثانیه",ms:"میلی ثانیه",decimal:"."},fi:{y:function(e){return 1===e?"vuosi":"vuotta"},mo:function(e){return 1===e?"kuukausi":"kuukautta"},w:function(e){return"viikko"+(1===e?"":"a")},d:function(e){return"päivä"+(1===e?"":"ä")},h:function(e){return"tunti"+(1===e?"":"a")},m:function(e){return"minuutti"+(1===e?"":"a")},s:function(e){return"sekunti"+(1===e?"":"a")},ms:function(e){return"millisekunti"+(1===e?"":"a")},decimal:","},fo:{y:"ár",mo:function(e){return 1===e?"mánaður":"mánaðir"},w:function(e){return 1===e?"vika":"vikur"},d:function(e){return 1===e?"dagur":"dagar"},h:function(e){return 1===e?"tími":"tímar"},m:function(e){return 1===e?"minuttur":"minuttir"},s:"sekund",ms:"millisekund",decimal:","},fr:{y:function(e){return"an"+(e>=2?"s":"")},mo:"mois",w:function(e){return"semaine"+(e>=2?"s":"")},d:function(e){return"jour"+(e>=2?"s":"")},h:function(e){return"heure"+(e>=2?"s":"")},m:function(e){return"minute"+(e>=2?"s":"")},s:function(e){return"seconde"+(e>=2?"s":"")},ms:function(e){return"milliseconde"+(e>=2?"s":"")},decimal:","},gr:e,he:{y:function(e){return 1===e?"שנה":"שנים"},mo:function(e){return 1===e?"חודש":"חודשים"},w:function(e){return 1===e?"שבוע":"שבועות"},d:function(e){return 1===e?"יום":"ימים"},h:function(e){return 1===e?"שעה":"שעות"},m:function(e){return 1===e?"דקה":"דקות"},s:function(e){return 1===e?"שניה":"שניות"},ms:function(e){return 1===e?"מילישנייה":"מילישניות"},decimal:"."},hr:{y:function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"},mo:function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"},w:function(e){return e%10==1&&11!==e?"tjedan":"tjedna"},d:function(e){return 1===e?"dan":"dana"},h:function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"},m:function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?"minuta":"minute"},s:function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi"},ms:function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"},decimal:","},hi:{y:"साल",mo:function(e){return 1===e?"महीना":"महीने"},w:function(e){return 1===e?"हफ़्ता":"हफ्ते"},d:"दिन",h:function(e){return 1===e?"घंटा":"घंटे"},m:"मिनट",s:"सेकंड",ms:"मिलीसेकंड",decimal:"."},hu:{y:"év",mo:"hónap",w:"hét",d:"nap",h:"óra",m:"perc",s:"másodperc",ms:"ezredmásodperc",decimal:","},id:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"menit",s:"detik",ms:"milidetik",decimal:"."},is:{y:"ár",mo:function(e){return"mánuð"+(1===e?"ur":"ir")},w:function(e){return"vik"+(1===e?"a":"ur")},d:function(e){return"dag"+(1===e?"ur":"ar")},h:function(e){return"klukkutím"+(1===e?"i":"ar")},m:function(e){return"mínút"+(1===e?"a":"ur")},s:function(e){return"sekúnd"+(1===e?"a":"ur")},ms:function(e){return"millisekúnd"+(1===e?"a":"ur")},decimal:"."},it:{y:function(e){return"ann"+(1===e?"o":"i")},mo:function(e){return"mes"+(1===e?"e":"i")},w:function(e){return"settiman"+(1===e?"a":"e")},d:function(e){return"giorn"+(1===e?"o":"i")},h:function(e){return"or"+(1===e?"a":"e")},m:function(e){return"minut"+(1===e?"o":"i")},s:function(e){return"second"+(1===e?"o":"i")},ms:function(e){return"millisecond"+(1===e?"o":"i")},decimal:","},ja:{y:"年",mo:"ヶ月",w:"週",d:"日",h:"時間",m:"分",s:"秒",ms:"ミリ秒",decimal:"."},km:{y:"ឆ្នាំ",mo:"ខែ",w:"សប្តាហ៍",d:"ថ្ងៃ",h:"ម៉ោង",m:"នាទី",s:"វិនាទី",ms:"មិល្លីវិនាទី"},kn:{y:function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"},mo:function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"},w:function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"},d:function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"},h:function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"},m:function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"},s:function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"},ms:function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"}},ko:{y:"년",mo:"개월",w:"주일",d:"일",h:"시간",m:"분",s:"초",ms:"밀리 초",decimal:"."},ku:{y:"sal",mo:"meh",w:"hefte",d:"roj",h:"seet",m:"deqe",s:"saniye",ms:"mîlîçirk",decimal:","},lo:{y:"ປີ",mo:"ເດືອນ",w:"ອາທິດ",d:"ມື້",h:"ຊົ່ວໂມງ",m:"ນາທີ",s:"ວິນາທີ",ms:"ມິນລິວິນາທີ",decimal:","},lt:{y:function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"},mo:function(e){return["mėnuo","mėnesiai","mėnesių"][d(e)]},w:function(e){return["savaitė","savaitės","savaičių"][d(e)]},d:function(e){return["diena","dienos","dienų"][d(e)]},h:function(e){return["valanda","valandos","valandų"][d(e)]},m:function(e){return["minutė","minutės","minučių"][d(e)]},s:function(e){return["sekundė","sekundės","sekundžių"][d(e)]},ms:function(e){return["milisekundė","milisekundės","milisekundžių"][d(e)]},decimal:","},lv:{y:function(e){return p(e)?"gads":"gadi"},mo:function(e){return p(e)?"mēnesis":"mēneši"},w:function(e){return p(e)?"nedēļa":"nedēļas"},d:function(e){return p(e)?"diena":"dienas"},h:function(e){return p(e)?"stunda":"stundas"},m:function(e){return p(e)?"minūte":"minūtes"},s:function(e){return p(e)?"sekunde":"sekundes"},ms:function(e){return p(e)?"milisekunde":"milisekundes"},decimal:","},mk:{y:function(e){return 1===e?"година":"години"},mo:function(e){return 1===e?"месец":"месеци"},w:function(e){return 1===e?"недела":"недели"},d:function(e){return 1===e?"ден":"дена"},h:function(e){return 1===e?"час":"часа"},m:function(e){return 1===e?"минута":"минути"},s:function(e){return 1===e?"секунда":"секунди"},ms:function(e){return 1===e?"милисекунда":"милисекунди"},decimal:","},mr:{y:function(e){return 1===e?"वर्ष":"वर्षे"},mo:function(e){return 1===e?"महिना":"महिने"},w:function(e){return 1===e?"आठवडा":"आठवडे"},d:"दिवस",h:"तास",m:function(e){return 1===e?"मिनिट":"मिनिटे"},s:"सेकंद",ms:"मिलिसेकंद"},ms:{y:"tahun",mo:"bulan",w:"minggu",d:"hari",h:"jam",m:"minit",s:"saat",ms:"milisaat",decimal:"."},nl:{y:"jaar",mo:function(e){return 1===e?"maand":"maanden"},w:function(e){return 1===e?"week":"weken"},d:function(e){return 1===e?"dag":"dagen"},h:"uur",m:function(e){return 1===e?"minuut":"minuten"},s:function(e){return 1===e?"seconde":"seconden"},ms:function(e){return 1===e?"milliseconde":"milliseconden"},decimal:","},no:{y:"år",mo:function(e){return"måned"+(1===e?"":"er")},w:function(e){return"uke"+(1===e?"":"r")},d:function(e){return"dag"+(1===e?"":"er")},h:function(e){return"time"+(1===e?"":"r")},m:function(e){return"minutt"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},pl:{y:function(e){return["rok","roku","lata","lat"][l(e)]},mo:function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][l(e)]},w:function(e){return["tydzień","tygodnia","tygodnie","tygodni"][l(e)]},d:function(e){return["dzień","dnia","dni","dni"][l(e)]},h:function(e){return["godzina","godziny","godziny","godzin"][l(e)]},m:function(e){return["minuta","minuty","minuty","minut"][l(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekund"][l(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][l(e)]},decimal:","},pt:{y:function(e){return"ano"+(1===e?"":"s")},mo:function(e){return 1===e?"mês":"meses"},w:function(e){return"semana"+(1===e?"":"s")},d:function(e){return"dia"+(1===e?"":"s")},h:function(e){return"hora"+(1===e?"":"s")},m:function(e){return"minuto"+(1===e?"":"s")},s:function(e){return"segundo"+(1===e?"":"s")},ms:function(e){return"milissegundo"+(1===e?"":"s")},decimal:","},ro:{y:function(e){return 1===e?"an":"ani"},mo:function(e){return 1===e?"lună":"luni"},w:function(e){return 1===e?"săptămână":"săptămâni"},d:function(e){return 1===e?"zi":"zile"},h:function(e){return 1===e?"oră":"ore"},m:function(e){return 1===e?"minut":"minute"},s:function(e){return 1===e?"secundă":"secunde"},ms:function(e){return 1===e?"milisecundă":"milisecunde"},decimal:","},ru:{y:function(e){return["лет","год","года"][c(e)]},mo:function(e){return["месяцев","месяц","месяца"][c(e)]},w:function(e){return["недель","неделя","недели"][c(e)]},d:function(e){return["дней","день","дня"][c(e)]},h:function(e){return["часов","час","часа"][c(e)]},m:function(e){return["минут","минута","минуты"][c(e)]},s:function(e){return["секунд","секунда","секунды"][c(e)]},ms:function(e){return["миллисекунд","миллисекунда","миллисекунды"][c(e)]},decimal:","},sq:{y:function(e){return 1===e?"vit":"vjet"},mo:"muaj",w:"javë",d:"ditë",h:"orë",m:function(e){return"minut"+(1===e?"ë":"a")},s:function(e){return"sekond"+(1===e?"ë":"a")},ms:function(e){return"milisekond"+(1===e?"ë":"a")},decimal:","},sr:{y:function(e){return["години","година","године"][c(e)]},mo:function(e){return["месеци","месец","месеца"][c(e)]},w:function(e){return["недељи","недеља","недеље"][c(e)]},d:function(e){return["дани","дан","дана"][c(e)]},h:function(e){return["сати","сат","сата"][c(e)]},m:function(e){return["минута","минут","минута"][c(e)]},s:function(e){return["секунди","секунда","секунде"][c(e)]},ms:function(e){return["милисекунди","милисекунда","милисекунде"][c(e)]},decimal:","},ta:{y:function(e){return 1===e?"வருடம்":"ஆண்டுகள்"},mo:function(e){return 1===e?"மாதம்":"மாதங்கள்"},w:function(e){return 1===e?"வாரம்":"வாரங்கள்"},d:function(e){return 1===e?"நாள்":"நாட்கள்"},h:function(e){return 1===e?"மணி":"மணிநேரம்"},m:function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")},s:function(e){return"வினாடி"+(1===e?"":"கள்")},ms:function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")}},te:{y:function(e){return"సంవత్స"+(1===e?"రం":"రాల")},mo:function(e){return"నెల"+(1===e?"":"ల")},w:function(e){return 1===e?"వారం":"వారాలు"},d:function(e){return"రోజు"+(1===e?"":"లు")},h:function(e){return"గంట"+(1===e?"":"లు")},m:function(e){return 1===e?"నిమిషం":"నిమిషాలు"},s:function(e){return 1===e?"సెకను":"సెకన్లు"},ms:function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"}},uk:{y:function(e){return["років","рік","роки"][c(e)]},mo:function(e){return["місяців","місяць","місяці"][c(e)]},w:function(e){return["тижнів","тиждень","тижні"][c(e)]},d:function(e){return["днів","день","дні"][c(e)]},h:function(e){return["годин","година","години"][c(e)]},m:function(e){return["хвилин","хвилина","хвилини"][c(e)]},s:function(e){return["секунд","секунда","секунди"][c(e)]},ms:function(e){return["мілісекунд","мілісекунда","мілісекунди"][c(e)]},decimal:","},ur:{y:"سال",mo:function(e){return 1===e?"مہینہ":"مہینے"},w:function(e){return 1===e?"ہفتہ":"ہفتے"},d:"دن",h:function(e){return 1===e?"گھنٹہ":"گھنٹے"},m:"منٹ",s:"سیکنڈ",ms:"ملی سیکنڈ",decimal:"."},sk:{y:function(e){return["rok","roky","roky","rokov"][f(e)]},mo:function(e){return["mesiac","mesiace","mesiace","mesiacov"][f(e)]},w:function(e){return["týždeň","týždne","týždne","týždňov"][f(e)]},d:function(e){return["deň","dni","dni","dní"][f(e)]},h:function(e){return["hodina","hodiny","hodiny","hodín"][f(e)]},m:function(e){return["minúta","minúty","minúty","minút"][f(e)]},s:function(e){return["sekunda","sekundy","sekundy","sekúnd"][f(e)]},ms:function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][f(e)]},decimal:","},sl:{y:function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"},mo:function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"},w:function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"},d:function(e){return e%100==1?"dan":"dni"},h:function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"},m:function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"},s:function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"},ms:function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"},decimal:","},sv:{y:"år",mo:function(e){return"månad"+(1===e?"":"er")},w:function(e){return"veck"+(1===e?"a":"or")},d:function(e){return"dag"+(1===e?"":"ar")},h:function(e){return"timm"+(1===e?"e":"ar")},m:function(e){return"minut"+(1===e?"":"er")},s:function(e){return"sekund"+(1===e?"":"er")},ms:function(e){return"millisekund"+(1===e?"":"er")},decimal:","},sw:{y:function(e){return 1===e?"mwaka":"miaka"},mo:function(e){return 1===e?"mwezi":"miezi"},w:"wiki",d:function(e){return 1===e?"siku":"masiku"},h:function(e){return 1===e?"saa":"masaa"},m:"dakika",s:"sekunde",ms:"milisekunde",decimal:"."},tr:{y:"yıl",mo:"ay",w:"hafta",d:"gün",h:"saat",m:"dakika",s:"saniye",ms:"milisaniye",decimal:","},th:{y:"ปี",mo:"เดือน",w:"สัปดาห์",d:"วัน",h:"ชั่วโมง",m:"นาที",s:"วินาที",ms:"มิลลิวินาที",decimal:"."},vi:{y:"năm",mo:"tháng",w:"tuần",d:"ngày",h:"giờ",m:"phút",s:"giây",ms:"mili giây",decimal:","},zh_CN:{y:"年",mo:"个月",w:"周",d:"天",h:"小时",m:"分钟",s:"秒",ms:"毫秒",decimal:"."},zh_TW:{y:"年",mo:"個月",w:"周",d:"天",h:"小時",m:"分鐘",s:"秒",ms:"毫秒",decimal:"."}};function i(e){var t=function(e,n){return function(e,t){var n,i,o;e=Math.abs(e);var s,u,l,c=function(e){var t=[e.language];if(y(e,"fallbacks")){if(!h(e.fallbacks)||!e.fallbacks.length)throw new Error("fallbacks must be an array with at least one element");t=t.concat(e.fallbacks)}for(var n=0;n<t.length;n++){var i=t[n];if(y(e.languages,i))return e.languages[i];if(y(r,i))return r[i]}throw new Error("No language found.")}(t),f=[];for(n=0,i=t.units.length;n<i;n++){if(s=t.units[n],u=t.unitMeasures[s],n+1===i)if(y(t,"maxDecimalPoints")){var d=Math.pow(10,t.maxDecimalPoints),p=e/u;l=parseFloat((Math.floor(d*p)/d).toFixed(t.maxDecimalPoints))}else l=e/u;else l=Math.floor(e/u);f.push({unitCount:l,unitName:s}),e-=l*u}var m,b,g=0;for(n=0;n<f.length;n++)if(f[n].unitCount){g=n;break}if(t.round)for(n=f.length-1;n>=0&&((o=f[n]).unitCount=Math.round(o.unitCount),0!==n);n--)b=f[n-1],m=t.unitMeasures[b.unitName]/t.unitMeasures[o.unitName],(o.unitCount%m==0||t.largest&&t.largest-1<n-g)&&(b.unitCount+=o.unitCount/m,o.unitCount=0);var v=[];for(n=0,f.length;n<i&&((o=f[n]).unitCount&&v.push(a(o.unitCount,o.unitName,c,t)),v.length!==t.largest);n++);if(!v.length)return a(0,t.units[t.units.length-1],c,t);var w;if(w=y(t,"delimiter")?t.delimiter:y(c,"delimiter")?c.delimiter:", ",!t.conjunction||1===v.length)return v.join(w);if(2===v.length)return v.join(t.conjunction);if(v.length>2)return v.slice(0,-1).join(w)+(t.serialComma?",":"")+t.conjunction+v.slice(-1)}(e,s({},t,n||{}))};return s(t,{language:"en",spacer:" ",conjunction:"",serialComma:!0,units:["y","mo","w","d","h","m","s"],languages:{},round:!1,unitMeasures:{y:315576e5,mo:26298e5,w:6048e5,d:864e5,h:36e5,m:6e4,s:1e3,ms:1}},e)}var o=i({});function a(e,t,n,r){var i,o;i=y(r,"decimal")?r.decimal:y(n,"decimal")?n.decimal:".",o="function"==typeof n._formatCount?n._formatCount(e,i):e.toString().replace(".",i);var a,s=n[t];return a="function"==typeof s?s(e):s,o+r.spacer+a}function s(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])y(t,r)&&(e[r]=t[r]);return e}function u(e){return 1===e?0:2===e?1:e>2&&e<11?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function c(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function f(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function d(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function p(e){return e%10==1&&e%100!=11}var h=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}o.getSupportedLanguages=function(){var e=[];for(var t in r)y(r,t)&&"gr"!==t&&e.push(t);return e},o.humanizer=i,void 0!==t&&t.exports?t.exports=o:this.humanizeDuration=o}()},{}],260:[function(e,t,n){var r=e("browser-split"),i=e("class-list"),o="undefined"==typeof window?e("html-element"):window,a=o.document,s=o.Text;function u(){var e=[];function t(){var t=[].slice.call(arguments),n=null;function o(t){var u,d;if(null==t);else if("string"==typeof t)n?n.appendChild(u=a.createTextNode(t)):(d=r(t,/([\.#]?[^\s#.]+)/),/^\.|#/.test(d[1])&&(n=a.createElement("div")),c(d,(function(e){var t=e.substring(1,e.length);e&&(n?"."===e[0]?i(n).add(t):"#"===e[0]&&n.setAttribute("id",t):n=a.createElement(e))})));else if("number"==typeof t||"boolean"==typeof t||t instanceof Date||t instanceof RegExp)n.appendChild(u=a.createTextNode(t.toString()));else if(f(t))c(t,o);else if(l(t))n.appendChild(u=t);else if(t instanceof s)n.appendChild(u=t);else if("object"==typeof t)for(var p in t)if("function"==typeof t[p])/^on\w+/.test(p)?function(t,r){n.addEventListener?(n.addEventListener(t.substring(2),r[t],!1),e.push((function(){n.removeEventListener(t.substring(2),r[t],!1)}))):(n.attachEvent(t,r[t]),e.push((function(){n.detachEvent(t,r[t])})))}(p,t):(n[p]=t[p](),e.push(t[p]((function(e){n[p]=e}))));else if("style"===p)if("string"==typeof t[p])n.style.cssText=t[p];else for(var h in t[p])!function(r,i){if("function"==typeof i)n.style.setProperty(r,i()),e.push(i((function(e){n.style.setProperty(r,e)})));else var o=t[p][r].match(/(.*)\W+!important\W*$/);o?n.style.setProperty(r,o[1],"important"):n.style.setProperty(r,t[p][r])}(h,t[p][h]);else if("attrs"===p)for(var y in t[p])n.setAttribute(y,t[p][y]);else"data-"===p.substr(0,5)?n.setAttribute(p,t[p]):n[p]=t[p];else if("function"==typeof t){y=t();n.appendChild(u=l(y)?y:a.createTextNode(y)),e.push(t((function(e){l(e)&&u.parentElement?(u.parentElement.replaceChild(e,u),u=e):u.textContent=e})))}return u}for(;t.length;)o(t.shift());return n}return t.cleanup=function(){for(var t=0;t<e.length;t++)e[t]();e.length=0},t}function l(e){return e&&e.nodeName&&e.nodeType}function c(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n)}function f(e){return"[object Array]"==Object.prototype.toString.call(e)}(t.exports=u()).context=u},{"browser-split":10,"class-list":15,"html-element":9}],261:[function(e,t,n){
22
22
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
23
23
  n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=n?-1:1,p=e[t+f];for(f+=d,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=l}return(p?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-h]|=128*y}},{}],262:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],263:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],264:[function(e,t,n){var r=[],i=[];function o(e,t){if(t=t||{},void 0===e)throw new Error("insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).");var n,o=!0===t.prepend?"prepend":"append",a=void 0!==t.container?t.container:document.querySelector("head"),s=r.indexOf(a);return-1===s&&(s=r.push(a)-1,i[s]={}),void 0!==i[s]&&void 0!==i[s][o]?n=i[s][o]:(n=i[s][o]=function(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}(),"prepend"===o?a.insertBefore(n,a.childNodes[0]):a.appendChild(n)),65279===e.charCodeAt(0)&&(e=e.substr(1,e.length)),n.styleSheet?n.styleSheet.cssText+=e:n.textContent+=e,n}t.exports=o,t.exports.insertCss=o},{}],265:[function(e,t,n){
24
24
  /*! npm.im/intervalometer */
25
25
  "use strict";function r(e,t,n,r){var i,o;function a(n){i=t(a,r),e(n-(o||n)),o=n}return{start:function(){i||a(0)},stop:function(){n(i),i=null,o=0}}}Object.defineProperty(n,"__esModule",{value:!0}),n.intervalometer=r,n.frameIntervalometer=function(e){return r(e,requestAnimationFrame,cancelAnimationFrame)},n.timerIntervalometer=function(e,t){return r(e,setTimeout,clearTimeout,t)}},{}],266:[function(e,t,n){
26
26
  /*! npm.im/iphone-inline-video 2.2.2 */
27
- "use strict";var r=e("intervalometer");function i(e,t,n){function r(r){n&&!n(e,t)||r.stopImmediatePropagation()}return e.addEventListener(t,r),r}function o(e,t,n,r){function i(e){n[t]=e}r&&i(e[t]),Object.defineProperty(e,t,{get:function(){return n[t]},set:i})}function a(e,t,n){n.addEventListener(t,(function(){return e.dispatchEvent(new Event(t))}))}function s(e,t){Promise.resolve().then((function(){e.dispatchEvent(new Event(t))}))}var u="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,l="bfred-it:iphone-inline-video",c="bfred-it:iphone-inline-video:event",f="bfred-it:iphone-inline-video:nativeplay",d="bfred-it:iphone-inline-video:nativepause";var p,h=[],y=0;function m(e,t,n){(p||0)+200<Date.now()&&(e[c]=!0,p=Date.now()),n||(e.currentTime=t),h[++y%3]=100*t|0}function b(e){return e.driver.currentTime>=e.video.duration}function g(e){var t=this;t.video.readyState>=t.video.HAVE_FUTURE_DATA?(t.hasAudio||(t.driver.currentTime=t.video.currentTime+e*t.video.playbackRate/1e3,t.video.loop&&b(t)&&(t.driver.currentTime=0)),m(t.video,t.driver.currentTime)):t.video.networkState===t.video.NETWORK_IDLE&&0===t.video.buffered.length&&t.video.load(),t.video.ended&&(delete t.video[c],t.video.pause(!0))}function v(){var e=this,t=e[l];e.webkitDisplayingFullscreen?e[f]():("data:"!==t.driver.src&&t.driver.src!==e.src&&(m(e,0,!0),t.driver.src=e.src),e.paused&&(t.paused=!1,0===e.buffered.length&&e.load(),t.driver.play(),t.updater.start(),t.hasAudio||(s(e,"play"),t.video.readyState>=t.video.HAVE_ENOUGH_DATA&&s(e,"playing"))))}function w(e){var t=this,n=t[l];n.driver.pause(),n.updater.stop(),t.webkitDisplayingFullscreen&&t[d](),n.paused&&!e||(n.paused=!0,n.hasAudio||s(t,"pause"),t.ended&&!t.webkitDisplayingFullscreen&&(t[c]=!0,s(t,"ended")))}function j(e,t){var n={};e[l]=n,n.paused=!0,n.hasAudio=t,n.video=e,n.updater=r.frameIntervalometer(g.bind(n)),t?n.driver=function(e){var t=new Audio;return a(e,"play",t),a(e,"playing",t),a(e,"pause",t),t.crossOrigin=e.crossOrigin,t.src=e.src||e.currentSrc||"data:",t}(e):(e.addEventListener("canplay",(function(){e.paused||s(e,"playing")})),n.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){n.driver.paused=!0},play:function(){n.driver.paused=!1,b(n)&&m(e,0)},get ended(){return b(n)}}),e.addEventListener("emptied",(function(){var r=!n.driver.src||"data:"===n.driver.src;n.driver.src&&n.driver.src!==e.src&&(m(e,0,!0),n.driver.src=e.src,r||!t&&e.autoplay?n.driver.play():n.updater.stop())}),!1),e.addEventListener("webkitbeginfullscreen",(function(){e.paused?t&&0===n.driver.buffered.length&&n.driver.load():(e.pause(),e[f]())})),t&&(e.addEventListener("webkitendfullscreen",(function(){n.driver.currentTime=e.currentTime})),e.addEventListener("seeking",(function(){h.indexOf(100*e.currentTime|0)<0&&(n.driver.currentTime=e.currentTime)})))}function E(e){var t=e[c];return delete e[c],!e.webkitDisplayingFullscreen&&!t}t.exports=function(e,t){if(void 0===t&&(t={}),!e[l]){if(!t.everywhere){if(!u)return;if(!(t.iPad||t.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}e.pause();var n=e.autoplay;e.autoplay=!1,j(e,!e.muted),function(e){var t=e[l];e[f]=e.play,e[d]=e.pause,e.play=v,e.pause=w,o(e,"paused",t.driver),o(e,"muted",t.driver,!0),o(e,"playbackRate",t.driver,!0),o(e,"ended",t.driver),o(e,"loop",t.driver,!0),i(e,"seeking",(function(e){return!e.webkitDisplayingFullscreen})),i(e,"seeked",(function(e){return!e.webkitDisplayingFullscreen})),i(e,"timeupdate",E),i(e,"ended",E)}(e),e.classList.add("IIV"),e.muted&&n&&(e.play(),e.addEventListener("playing",(function t(){e.autoplay=!0,e.removeEventListener("playing",t)}))),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}},{intervalometer:265}],267:[function(e,t,n){"use strict";var r=e("has-tostringtag/shams")(),i=e("call-bind/callBound")("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},{"call-bind/callBound":12,"has-tostringtag/shams":256}],268:[function(e,t,n){"use strict";t.exports=Number.isFinite||function(e){return!("number"!=typeof e||e!=e||e===1/0||e===-1/0)}},{}],269:[function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=e("has-tostringtag/shams")(),u=Object.getPrototypeOf;t.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&u(t)}return u(e)===r}},{"has-tostringtag/shams":256}],270:[function(e,t,n){t.exports=function(e){return 0!==e&&0==(e&e-1)}},{}],271:[function(e,t,n){(function(n){(function(){"use strict";var r=e("foreach"),i=e("available-typed-arrays"),o=e("call-bind/callBound"),a=o("Object.prototype.toString"),s=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?n:globalThis,l=i(),c=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},f=o("String.prototype.slice"),d={},p=e("es-abstract/helpers/getOwnPropertyDescriptor"),h=Object.getPrototypeOf;s&&p&&h&&r(l,(function(e){var t=new u[e];if(Symbol.toStringTag in t){var n=h(t),r=p(n,Symbol.toStringTag);if(!r){var i=h(n);r=p(i,Symbol.toStringTag)}d[e]=r.get}}));t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=f(a(e),8,-1);return c(l,t)>-1}return!!p&&function(e){var t=!1;return r(d,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":7,"call-bind/callBound":12,"es-abstract/helpers/getOwnPropertyDescriptor":241,foreach:245,"has-tostringtag/shams":256}],272:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],273:[function(e,t,n){"use strict";t.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},{}],274:[function(e,t,n){"use strict";var r=e("is-finite");t.exports=Number.isInteger||function(e){return r(e)&&Math.floor(e)===e}},{"is-finite":268}],275:[function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,b=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,j=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,_=Array.prototype.slice,A=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,M="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function C(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var L=e("./util.inspect").custom,N=L&&F(L)?L:null;function D(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function B(e){return v.call(String(e),/"/g,"&quot;")}function U(e){return!("[object Array]"!==H(e)||M&&"object"==typeof e&&M in e)}function F(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}t.exports=function e(t,n,r,i){var s=n||{};if(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return z(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return y?C(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return y?C(t,E):E}var A=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=A&&A>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var k=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,r);if(void 0===i)i=[];else if(V(i,t)>=0)return"[Circular]";function L(t,n,o){if(n&&(i=_.call(i)).push(n),o){var a={depth:s.depth};return W(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"==typeof t){var q=function(e){if(e.name)return e.name;var t=b.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,L);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(G.length>0?" { "+S.call(G,", ")+" }":"")}if(F(t)){var Q=T?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!=typeof t||T?Q:Y(Q)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var Z="<"+j.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)Z+=" "+ee[te].name+"="+D(B(ee[te].value),"double",s);return Z+=">",t.childNodes&&t.childNodes.length&&(Z+="..."),Z+="</"+j.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ne=X(t,L);return k&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(ne)?"["+K(ne,k)+"]":"[ "+S.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)){var re=X(t,L);return"cause"in t&&!I.call(t,"cause")?"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+L(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(re,", ")+" }"}if("object"==typeof t&&u){if(N&&"function"==typeof t[N])return t[N]();if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ie=[];return a.call(t,(function(e,n){ie.push(L(n,t,!0)+" => "+L(e,t))})),J("Map",o.call(t),ie,k)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var oe=[];return c.call(t,(function(e){oe.push(L(e,t))})),J("Set",l.call(t),oe,k)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(L(Number(t)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(t))return Y(L(R.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(h.call(t));if(function(e){return!("[object String]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(L(String(t)));if(!function(e){return!("[object Date]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)){var ae=X(t,L),se=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",le=!se&&M&&Object(t)===t&&M in t?g.call(H(t),8,-1):ue?"Object":"",ce=(se||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(le||ue?"["+S.call(x.call([],le||[],ue||[]),": ")+"] ":"");return 0===ae.length?ce+"{}":k?ce+"{"+K(ae,k)+"}":ce+"{ "+S.call(ae,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return q.call(e,t)}function H(e){return y.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function z(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return z(g.call(e,0,t.maxStringLength),t)+r}return D(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):S.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=W(e,i)?t(e[i],e):""}var o,a="function"==typeof k?k(e):[];if(T){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in e)W(e,u)&&(n&&String(Number(u))===u&&u<e.length||T&&o["$"+u]instanceof Symbol||(E.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof k)for(var l=0;l<a.length;l++)I.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},{"./util.inspect":9}],276:[function(e,t,n){var r=e("wrappy");function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function o(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}t.exports=r(i),t.exports.strict=r(o),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})}))},{wrappy:322}],277:[function(e,t,n){(function(e){(function(){(function(){var n,r,i,o,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=e&&e.hrtime?(t.exports=function(){return(n()-a)/1e6},r=e.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*e.uptime(),a=o-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this)}).call(this,e("_process"))},{_process:279}],278:[function(e,t,n){(function(e){(function(){"use strict";void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this)}).call(this,e("_process"))},{_process:279}],279:[function(e,t,n){var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],f=!1,d=-1;function p(){f&&l&&(f=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!f){var e=u(p);f=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,f=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new y(e,t)),1!==c.length||f||u(h)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],280:[function(e,t,n){(function(n){(function(){for(var r=e("performance-now"),i="undefined"==typeof window?n:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],u=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!u){var c=0,f=0,d=[];s=function(e){if(0===d.length){var t=r(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return s.call(i,e)},t.exports.cancel=function(){u.apply(i,arguments)},t.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":277}],281:[function(e,t,n){"use strict";var r=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=f;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var a=e("./_stream_readable"),s=e("./_stream_writable");o.inherits(f,a);for(var u=i(s.prototype),l=0;l<u.length;l++){var c=u[l];f.prototype[c]||(f.prototype[c]=s.prototype[c])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},{"./_stream_readable":283,"./_stream_writable":285,"core-util-is":232,inherits:263,"process-nextick-args":278}],282:[function(e,t,n){"use strict";t.exports=o;var r=e("./_stream_transform"),i=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=e("inherits"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":284,"core-util-is":232,inherits:263}],283:[function(e,t,n){(function(n,r){(function(){"use strict";var i=e("process-nextick-args");t.exports=v;var o,a=e("isarray");v.ReadableState=g;e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},u=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,c=r.Uint8Array||function(){};var f=Object.create(e("core-util-is"));f.inherits=e("inherits");var d=e("util"),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var h,y=e("./internal/streams/BufferList"),m=e("./internal/streams/destroy");f.inherits(v,u);var b=["error","close","destroy","pause","resume"];function g(t,n){t=t||{};var r=n instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=e("string_decoder/").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function v(t){if(o=o||e("./_stream_duplex"),!(this instanceof v))return new v(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,S(e)}(e,a)):(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):j(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?j(e,a,t,!1):A(e,a)):j(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function j(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&S(e)),A(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),w(this,e,t,!1,n)},v.prototype.unshift=function(e){return w(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(t){return h||(h=e("string_decoder/").StringDecoder),this._readableState.decoder=new h(t),this._readableState.encoding=t,this};var E=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(_,e):_(e))}function _(e){p("emit readable"),e.emit("readable"),T(e)}function A(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(R,e,t))}function R(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function k(e){p("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function C(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}v.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):S(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&I(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(n,t))),null===(r=e>0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&I(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,p("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",b),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",y),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){p("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",f);var d=!1;var h=!1;function y(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==C(o.pipes,e))&&!d&&(p("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function m(t){p("onerror",t),v(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",g),v()}function g(){p("onfinish"),e.removeListener("close",b),v()}function v(){p("unpipe"),r.unpipe(e)}return r.on("data",y),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",b),e.once("finish",g),e.emit("pipe",r),o.flowing||(p("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=C(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},v.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&S(this):i.nextTick(k,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(O,e,t))}(this,e)),this},v.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=M}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":281,"./internal/streams/BufferList":286,"./internal/streams/destroy":287,"./internal/streams/stream":288,_process:279,"core-util-is":232,events:242,inherits:263,isarray:272,"process-nextick-args":278,"safe-buffer":289,"string_decoder/":290,util:9}],284:[function(e,t,n){"use strict";t.exports=a;var r=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){u(e,t,n)})):u(this,null,null)}function u(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},{"./_stream_duplex":281,"core-util-is":232,inherits:263}],285:[function(e,t,n){(function(n,r,i){(function(){"use strict";var o=e("process-nextick-args");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=g;var s,u=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},f=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,p=r.Uint8Array||function(){};var h,y=e("./internal/streams/destroy");function m(){}function b(t,n){s=s||e("./_stream_duplex"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,i);else{var a=E(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||j(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e("./_stream_duplex"),!(h.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function j(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=E(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):h=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof p);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=m),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,s,r,i,o);return u}(this,i,s,e,t,n)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||j(this,e))},g.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=y.destroy,g.prototype._undestroy=y.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":281,"./internal/streams/destroy":287,"./internal/streams/stream":288,_process:279,"core-util-is":232,inherits:263,"process-nextick-args":278,"safe-buffer":289,timers:310,"util-deprecate":313}],286:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":289,util:9}],287:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":278}],288:[function(e,t,n){t.exports=e("events").EventEmitter},{events:242}],289:[function(e,t,n){var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:11}],290:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":289}],291:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":281,"./lib/_stream_passthrough.js":282,"./lib/_stream_readable.js":283,"./lib/_stream_transform.js":284,"./lib/_stream_writable.js":285}],292:[function(e,t,n){"use strict";var r=t.exports=e("./readystate"),i=new Function("return this")(),o="complete",a=!0,s=i?i.document:null,u=s?s.documentElement:null,l=function(){return s?s.readyState:null};!function(){if(o===l())return r.change(o);var e=s&&!!s.addEventListener,t=e?"":"on",n=e?"addEventListener":"attachEvent",c=e?"removeEventListener":"detachEvent",f=u?u.doScroll:null;if(!e&&"function"==typeof f){try{a=!i.frameElement}catch(e){}a&&function e(){try{f("left")}catch(t){return setTimeout(e,50)}r.change("interactive")}()}function d(e){"readystatechange"===(e=e||i.event).type&&(r.change(l()),o!==l())||("load"===e.type?r.change("complete"):r.change("interactive"),("load"===e.type?i:s)[c](e.type,d,!1))}s[n](t+"DOMContentLoaded",d,!1),s[n](t+"readystatechange",d,!1),i[n](t+"load",d,!1)}()},{"./readystate":293}],293:[function(e,t,n){"use strict";function r(e){return function(t,n){var r=this;return r.is(e)?setTimeout((function(){t.call(n,r.readyState)}),0):(r._events[e]||(r._events[e]=[]),r._events[e].push({fn:t,context:n})),r}}function i(){this.readyState=i.UNKNOWN,this._events={}}i.states="ALL,UNKNOWN,LOADING,INTERACTIVE,COMPLETE".split(",");for(var o,a=0;a<i.states.length;a++)i[o=i.states[a]]=i.prototype[o]=a,i.prototype[o.toLowerCase()]=r(o);i.prototype.change=function(e){e=this.clean(e,!0);var t,n,r,o=0,a=this,s=a.readyState;if(s>=e)return a;for(a.readyState=e;o<i.states.length&&!(o>e);o++)if((n=i.states[o])in a._events){for(t=0;t<a._events[n].length;t++)(r=a._events[n][t]).fn.call(r.context||a,s);delete a._events[n]}return a},i.prototype.is=function(e){return this.readyState>=this.clean(e,!0)},i.prototype.clean=function(e,t){var n=typeof e;return t?"number"!==n?+i[e.toUpperCase()]||0:e:("number"===n?i.states[e]:e).toUpperCase()},i.prototype.removeAllListeners=function(){return this._events={},this},t.exports=new i},{}],294:[function(e,t,n){
27
+ "use strict";var r=e("intervalometer");function i(e,t,n){function r(r){n&&!n(e,t)||r.stopImmediatePropagation()}return e.addEventListener(t,r),r}function o(e,t,n,r){function i(e){n[t]=e}r&&i(e[t]),Object.defineProperty(e,t,{get:function(){return n[t]},set:i})}function a(e,t,n){n.addEventListener(t,(function(){return e.dispatchEvent(new Event(t))}))}function s(e,t){Promise.resolve().then((function(){e.dispatchEvent(new Event(t))}))}var u="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,l="bfred-it:iphone-inline-video",c="bfred-it:iphone-inline-video:event",f="bfred-it:iphone-inline-video:nativeplay",d="bfred-it:iphone-inline-video:nativepause";var p,h=[],y=0;function m(e,t,n){(p||0)+200<Date.now()&&(e[c]=!0,p=Date.now()),n||(e.currentTime=t),h[++y%3]=100*t|0}function b(e){return e.driver.currentTime>=e.video.duration}function g(e){var t=this;t.video.readyState>=t.video.HAVE_FUTURE_DATA?(t.hasAudio||(t.driver.currentTime=t.video.currentTime+e*t.video.playbackRate/1e3,t.video.loop&&b(t)&&(t.driver.currentTime=0)),m(t.video,t.driver.currentTime)):t.video.networkState===t.video.NETWORK_IDLE&&0===t.video.buffered.length&&t.video.load(),t.video.ended&&(delete t.video[c],t.video.pause(!0))}function v(){var e=this,t=e[l];e.webkitDisplayingFullscreen?e[f]():("data:"!==t.driver.src&&t.driver.src!==e.src&&(m(e,0,!0),t.driver.src=e.src),e.paused&&(t.paused=!1,0===e.buffered.length&&e.load(),t.driver.play(),t.updater.start(),t.hasAudio||(s(e,"play"),t.video.readyState>=t.video.HAVE_ENOUGH_DATA&&s(e,"playing"))))}function w(e){var t=this,n=t[l];n.driver.pause(),n.updater.stop(),t.webkitDisplayingFullscreen&&t[d](),n.paused&&!e||(n.paused=!0,n.hasAudio||s(t,"pause"),t.ended&&!t.webkitDisplayingFullscreen&&(t[c]=!0,s(t,"ended")))}function j(e,t){var n={};e[l]=n,n.paused=!0,n.hasAudio=t,n.video=e,n.updater=r.frameIntervalometer(g.bind(n)),t?n.driver=function(e){var t=new Audio;return a(e,"play",t),a(e,"playing",t),a(e,"pause",t),t.crossOrigin=e.crossOrigin,t.src=e.src||e.currentSrc||"data:",t}(e):(e.addEventListener("canplay",(function(){e.paused||s(e,"playing")})),n.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){n.driver.paused=!0},play:function(){n.driver.paused=!1,b(n)&&m(e,0)},get ended(){return b(n)}}),e.addEventListener("emptied",(function(){var r=!n.driver.src||"data:"===n.driver.src;n.driver.src&&n.driver.src!==e.src&&(m(e,0,!0),n.driver.src=e.src,r||!t&&e.autoplay?n.driver.play():n.updater.stop())}),!1),e.addEventListener("webkitbeginfullscreen",(function(){e.paused?t&&0===n.driver.buffered.length&&n.driver.load():(e.pause(),e[f]())})),t&&(e.addEventListener("webkitendfullscreen",(function(){n.driver.currentTime=e.currentTime})),e.addEventListener("seeking",(function(){h.indexOf(100*e.currentTime|0)<0&&(n.driver.currentTime=e.currentTime)})))}function E(e){var t=e[c];return delete e[c],!e.webkitDisplayingFullscreen&&!t}t.exports=function(e,t){if(void 0===t&&(t={}),!e[l]){if(!t.everywhere){if(!u)return;if(!(t.iPad||t.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}e.pause();var n=e.autoplay;e.autoplay=!1,j(e,!e.muted),function(e){var t=e[l];e[f]=e.play,e[d]=e.pause,e.play=v,e.pause=w,o(e,"paused",t.driver),o(e,"muted",t.driver,!0),o(e,"playbackRate",t.driver,!0),o(e,"ended",t.driver),o(e,"loop",t.driver,!0),i(e,"seeking",(function(e){return!e.webkitDisplayingFullscreen})),i(e,"seeked",(function(e){return!e.webkitDisplayingFullscreen})),i(e,"timeupdate",E),i(e,"ended",E)}(e),e.classList.add("IIV"),e.muted&&n&&(e.play(),e.addEventListener("playing",(function t(){e.autoplay=!0,e.removeEventListener("playing",t)}))),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}},{intervalometer:265}],267:[function(e,t,n){"use strict";var r=e("has-tostringtag/shams")(),i=e("call-bind/callBound")("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,t.exports=s?o:a},{"call-bind/callBound":12,"has-tostringtag/shams":256}],268:[function(e,t,n){"use strict";t.exports=Number.isFinite||function(e){return!("number"!=typeof e||e!=e||e===1/0||e===-1/0)}},{}],269:[function(e,t,n){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,s=e("has-tostringtag/shams")(),u=Object.getPrototypeOf;t.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!s)return"[object GeneratorFunction]"===i.call(e);if(!u)return!1;if(void 0===r){var t=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}}();r=!!t&&u(t)}return u(e)===r}},{"has-tostringtag/shams":256}],270:[function(e,t,n){t.exports=function(e){return 0!==e&&0==(e&e-1)}},{}],271:[function(e,t,n){(function(n){(function(){"use strict";var r=e("foreach"),i=e("available-typed-arrays"),o=e("call-bind/callBound"),a=o("Object.prototype.toString"),s=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?n:globalThis,l=i(),c=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},f=o("String.prototype.slice"),d={},p=e("es-abstract/helpers/getOwnPropertyDescriptor"),h=Object.getPrototypeOf;s&&p&&h&&r(l,(function(e){var t=new u[e];if(Symbol.toStringTag in t){var n=h(t),r=p(n,Symbol.toStringTag);if(!r){var i=h(n);r=p(i,Symbol.toStringTag)}d[e]=r.get}}));t.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s||!(Symbol.toStringTag in e)){var t=f(a(e),8,-1);return c(l,t)>-1}return!!p&&function(e){var t=!1;return r(d,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":7,"call-bind/callBound":12,"es-abstract/helpers/getOwnPropertyDescriptor":241,foreach:245,"has-tostringtag/shams":256}],272:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],273:[function(e,t,n){"use strict";t.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},{}],274:[function(e,t,n){"use strict";var r=e("is-finite");t.exports=Number.isInteger||function(e){return r(e)&&Math.floor(e)===e}},{"is-finite":268}],275:[function(e,t,n){var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&u&&"function"==typeof u.get?u.get:null,c=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,y=Object.prototype.toString,m=Function.prototype.toString,b=String.prototype.match,g=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,j=String.prototype.toLowerCase,E=RegExp.prototype.test,x=Array.prototype.concat,S=Array.prototype.join,_=Array.prototype.slice,A=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,M="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,P=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function C(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||E.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-A(-e):A(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var L=e("./util.inspect").custom,N=L&&F(L)?L:null;function D(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function B(e){return v.call(String(e),/"/g,"&quot;")}function U(e){return!("[object Array]"!==H(e)||M&&"object"==typeof e&&M in e)}function F(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}t.exports=function e(t,n,r,i){var s=n||{};if(W(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=!W(s,"customInspect")||s.customInspect;if("boolean"!=typeof u&&"symbol"!==u)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=s.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return z(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return y?C(t,w):w}if("bigint"==typeof t){var E=String(t)+"n";return y?C(t,E):E}var A=void 0===s.depth?5:s.depth;if(void 0===r&&(r=0),r>=A&&A>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var k=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(s,r);if(void 0===i)i=[];else if(V(i,t)>=0)return"[Circular]";function L(t,n,o){if(n&&(i=_.call(i)).push(n),o){var a={depth:s.depth};return W(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,i)}return e(t,s,r+1,i)}if("function"==typeof t){var q=function(e){if(e.name)return e.name;var t=b.call(m.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),G=X(t,L);return"[Function"+(q?": "+q:" (anonymous)")+"]"+(G.length>0?" { "+S.call(G,", ")+" }":"")}if(F(t)){var Q=T?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!=typeof t||T?Q:Y(Q)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var Z="<"+j.call(String(t.nodeName)),ee=t.attributes||[],te=0;te<ee.length;te++)Z+=" "+ee[te].name+"="+D(B(ee[te].value),"double",s);return Z+=">",t.childNodes&&t.childNodes.length&&(Z+="..."),Z+="</"+j.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ne=X(t,L);return k&&!function(e){for(var t=0;t<e.length;t++)if(V(e[t],"\n")>=0)return!1;return!0}(ne)?"["+K(ne,k)+"]":"[ "+S.call(ne,", ")+" ]"}if(function(e){return!("[object Error]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)){var re=X(t,L);return"cause"in t&&!I.call(t,"cause")?"{ ["+String(t)+"] "+S.call(x.call("[cause]: "+L(t.cause),re),", ")+" }":0===re.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(re,", ")+" }"}if("object"==typeof t&&u){if(N&&"function"==typeof t[N])return t[N]();if("symbol"!==u&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ie=[];return a.call(t,(function(e,n){ie.push(L(n,t,!0)+" => "+L(e,t))})),J("Map",o.call(t),ie,k)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var oe=[];return c.call(t,(function(e){oe.push(L(e,t))})),J("Set",l.call(t),oe,k)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(L(Number(t)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(t))return Y(L(R.call(t)));if(function(e){return!("[object Boolean]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(h.call(t));if(function(e){return!("[object String]"!==H(e)||M&&"object"==typeof e&&M in e)}(t))return Y(L(String(t)));if(!function(e){return!("[object Date]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)&&!function(e){return!("[object RegExp]"!==H(e)||M&&"object"==typeof e&&M in e)}(t)){var ae=X(t,L),se=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",le=!se&&M&&Object(t)===t&&M in t?g.call(H(t),8,-1):ue?"Object":"",ce=(se||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(le||ue?"["+S.call(x.call([],le||[],ue||[]),": ")+"] ":"");return 0===ae.length?ce+"{}":k?ce+"{"+K(ae,k)+"}":ce+"{ "+S.call(ae,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return q.call(e,t)}function H(e){return y.call(e)}function V(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function z(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return z(g.call(e,0,t.maxStringLength),t)+r}return D(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?K(n,r):S.call(n,", "))+"}"}function K(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=U(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=W(e,i)?t(e[i],e):""}var o,a="function"==typeof k?k(e):[];if(T){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var u in e)W(e,u)&&(n&&String(Number(u))===u&&u<e.length||T&&o["$"+u]instanceof Symbol||(E.call(/[^\w$]/,u)?r.push(t(u,e)+": "+t(e[u],e)):r.push(u+": "+t(e[u],e))));if("function"==typeof k)for(var l=0;l<a.length;l++)I.call(e,a[l])&&r.push("["+t(a[l])+"]: "+t(e[a[l]],e));return r}},{"./util.inspect":9}],276:[function(e,t,n){var r=e("wrappy");function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function o(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},n=e.name||"Function wrapped with `once`";return t.onceError=n+" shouldn't be called more than once",t.called=!1,t}t.exports=r(i),t.exports.strict=r(o),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return o(this)},configurable:!0})}))},{wrappy:322}],277:[function(e,t,n){(function(e){(function(){(function(){var n,r,i,o,a,s;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=e&&e.hrtime?(t.exports=function(){return(n()-a)/1e6},r=e.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),s=1e9*e.uptime(),a=o-s):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this)}).call(this,e("_process"))},{_process:279}],278:[function(e,t,n){(function(e){(function(){"use strict";void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,i){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return e.nextTick((function(){t.apply(null,o)}))}}}:t.exports=e}).call(this)}).call(this,e("_process"))},{_process:279}],279:[function(e,t,n){var r,i,o=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function u(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,c=[],f=!1,d=-1;function p(){f&&l&&(f=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!f){var e=u(p);f=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,f=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new y(e,t)),1!==c.length||f||u(h)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],280:[function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g,o="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:a}},{}],281:[function(e,t,n){"use strict";var r=e("./stringify"),i=e("./parse"),o=e("./formats");t.exports={formats:o,parse:i,stringify:r}},{"./formats":280,"./parse":282,"./stringify":283}],282:[function(e,t,n){"use strict";var r=e("./utils"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:"__proto__"!==l&&(a[l]=i):a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var y,m,b=d[n],g=b.indexOf("]="),v=-1===g?b.indexOf("="):g+1;-1===v?(y=t.decoder(b,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,v),a.decoder,h,"key"),m=r.maybeMap(u(b.slice(v+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),b.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(l,y)?l[y]=r.combine(l[y],m):l[y]=m}return l}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var h=d[p],y=l(h,c[h],n,"string"==typeof e);f=r.merge(f,y,n)}return!0===n.allowSparse?f:r.compact(f)}},{"./utils":284}],283:[function(e,t,n){"use strict";var r=e("side-channel"),i=e("./utils"),o=e("./formats"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,p=o.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},y={},m=function e(t,n,o,a,s,c,d,p,m,b,g,v,w,j,E){for(var x,S=t,_=E,A=0,R=!1;void 0!==(_=_.get(y))&&!R;){var k=_.get(t);if(A+=1,void 0!==k){if(k===A)throw new RangeError("Cyclic object value");R=!0}void 0===_.get(y)&&(A=0)}if("function"==typeof d?S=d(n,S):S instanceof Date?S=b(S):"comma"===o&&u(S)&&(S=i.maybeMap(S,(function(e){return e instanceof Date?b(e):e}))),null===S){if(a)return c&&!w?c(n,h.encoder,j,"key",g):n;S=""}if("string"==typeof(x=S)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||i.isBuffer(S)){if(c){var O=w?n:c(n,h.encoder,j,"key",g);if("comma"===o&&w){for(var T=l.call(String(S),","),M="",I=0;I<T.length;++I)M+=(0===I?"":",")+v(c(T[I],h.encoder,j,"value",g));return[v(O)+"="+M]}return[v(O)+"="+v(c(S,h.encoder,j,"value",g))]}return[v(n)+"="+v(String(S))]}var P,C=[];if(void 0===S)return C;if("comma"===o&&u(S))P=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(d))P=d;else{var L=Object.keys(S);P=p?L.sort(p):L}for(var N=0;N<P.length;++N){var D=P[N],B="object"==typeof D&&void 0!==D.value?D.value:S[D];if(!s||null!==B){var U=u(S)?"function"==typeof o?o(n,D):n:n+(m?"."+D:"["+D+"]");E.set(t,A);var F=r();F.set(y,E),f(C,e(B,U,o,a,s,c,d,p,m,b,g,v,w,j,F))}}return C};t.exports=function(e,t){var n,i=e,l=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=h.filter;return("function"==typeof e.filter||u(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof l.filter?i=(0,l.filter)("",i):u(l.filter)&&(n=l.filter);var c,d=[];if("object"!=typeof i||null===i)return"";c=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[c];n||(n=Object.keys(i)),l.sort&&n.sort(l.sort);for(var y=r(),b=0;b<n.length;++b){var g=n[b];l.skipNulls&&null===i[g]||f(d,m(i[g],g,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,y))}var v=d.join(l.delimiter),w=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),v.length>0?w+v:""}},{"./formats":280,"./utils":284,"side-channel":302}],284:[function(e,t,n){"use strict";var r=e("./formats"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};t.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var l=s[u],c=a[l];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:a,prop:l}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},{"./formats":280}],285:[function(e,t,n){(function(n){(function(){for(var r=e("performance-now"),i="undefined"==typeof window?n:window,o=["moz","webkit"],a="AnimationFrame",s=i["request"+a],u=i["cancel"+a]||i["cancelRequest"+a],l=0;!s&&l<o.length;l++)s=i[o[l]+"Request"+a],u=i[o[l]+"Cancel"+a]||i[o[l]+"CancelRequest"+a];if(!s||!u){var c=0,f=0,d=[];s=function(e){if(0===d.length){var t=r(),n=Math.max(0,16.666666666666668-(t-c));c=n+t,setTimeout((function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(c)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(n))}return d.push({handle:++f,callback:e,cancelled:!1}),f},u=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return s.call(i,e)},t.exports.cancel=function(){u.apply(i,arguments)},t.exports.polyfill=function(e){e||(e=i),e.requestAnimationFrame=s,e.cancelAnimationFrame=u}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"performance-now":277}],286:[function(e,t,n){"use strict";var r=e("process-nextick-args"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=f;var o=Object.create(e("core-util-is"));o.inherits=e("inherits");var a=e("./_stream_readable"),s=e("./_stream_writable");o.inherits(f,a);for(var u=i(s.prototype),l=0;l<u.length;l++){var c=u[l];f.prototype[c]||(f.prototype[c]=s.prototype[c])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},{"./_stream_readable":288,"./_stream_writable":290,"core-util-is":232,inherits:263,"process-nextick-args":278}],287:[function(e,t,n){"use strict";t.exports=o;var r=e("./_stream_transform"),i=Object.create(e("core-util-is"));function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=e("inherits"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":289,"core-util-is":232,inherits:263}],288:[function(e,t,n){(function(n,r){(function(){"use strict";var i=e("process-nextick-args");t.exports=v;var o,a=e("isarray");v.ReadableState=g;e("events").EventEmitter;var s=function(e,t){return e.listeners(t).length},u=e("./internal/streams/stream"),l=e("safe-buffer").Buffer,c=r.Uint8Array||function(){};var f=Object.create(e("core-util-is"));f.inherits=e("inherits");var d=e("util"),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var h,y=e("./internal/streams/BufferList"),m=e("./internal/streams/destroy");f.inherits(v,u);var b=["error","close","destroy","pause","resume"];function g(t,n){t=t||{};var r=n instanceof(o=o||e("./_stream_duplex"));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new y,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=e("string_decoder/").StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function v(t){if(o=o||e("./_stream_duplex"),!(this instanceof v))return new v(t);this._readableState=new g(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,S(e)}(e,a)):(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):j(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?j(e,a,t,!1):A(e,a)):j(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function j(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&S(e)),A(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=m.destroy,v.prototype._undestroy=m.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),w(this,e,t,!1,n)},v.prototype.unshift=function(e){return w(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(t){return h||(h=e("string_decoder/").StringDecoder),this._readableState.decoder=new h(t),this._readableState.encoding=t,this};var E=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=E?e=E:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(_,e):_(e))}function _(e){p("emit readable"),e.emit("readable"),T(e)}function A(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(R,e,t))}function R(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function k(e){p("readable nexttick read 0"),e.read(0)}function O(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function I(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(P,t,e))}function P(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function C(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}v.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?I(this):S(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&I(this),null;var r,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(n,t))),null===(r=e>0?M(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&I(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,p("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",b),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",m),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",y),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){p("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",f);var d=!1;var h=!1;function y(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==C(o.pipes,e))&&!d&&(p("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,h=!0),r.pause())}function m(t){p("onerror",t),v(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",g),v()}function g(){p("onfinish"),e.removeListener("close",b),v()}function v(){p("unpipe"),r.unpipe(e)}return r.on("data",y),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",b),e.once("finish",g),e.emit("pipe",r),o.flowing||(p("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=C(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},v.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&S(this):i.nextTick(k,this))}return n},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(O,e,t))}(this,e)),this},v.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){p("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=M}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./_stream_duplex":286,"./internal/streams/BufferList":291,"./internal/streams/destroy":292,"./internal/streams/stream":293,_process:279,"core-util-is":232,events:242,inherits:263,isarray:272,"process-nextick-args":278,"safe-buffer":294,"string_decoder/":295,util:9}],289:[function(e,t,n){"use strict";t.exports=a;var r=e("./_stream_duplex"),i=Object.create(e("core-util-is"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,n){u(e,t,n)})):u(this,null,null)}function u(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=e("inherits"),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},{"./_stream_duplex":286,"core-util-is":232,inherits:263}],290:[function(e,t,n){(function(n,r,i){(function(){"use strict";var o=e("process-nextick-args");function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}t.exports=g;var s,u=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},f=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,p=r.Uint8Array||function(){};var h,y=e("./internal/streams/destroy");function m(){}function b(t,n){s=s||e("./_stream_duplex"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,i);else{var a=E(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||j(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e("./_stream_duplex"),!(h.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function j(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function E(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=E(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):h=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof p);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=m),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,s,r,i,o);return u}(this,i,s,e,t,n)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||j(this,e))},g.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=y.destroy,g.prototype._undestroy=y.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":286,"./internal/streams/destroy":292,"./internal/streams/stream":293,_process:279,"core-util-is":232,inherits:263,"process-nextick-args":278,"safe-buffer":294,timers:310,"util-deprecate":313}],291:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":294,util:9}],292:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":278}],293:[function(e,t,n){t.exports=e("events").EventEmitter},{events:242}],294:[function(e,t,n){var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:11}],295:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":294}],296:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":286,"./lib/_stream_passthrough.js":287,"./lib/_stream_readable.js":288,"./lib/_stream_transform.js":289,"./lib/_stream_writable.js":290}],297:[function(e,t,n){"use strict";var r=t.exports=e("./readystate"),i=new Function("return this")(),o="complete",a=!0,s=i?i.document:null,u=s?s.documentElement:null,l=function(){return s?s.readyState:null};!function(){if(o===l())return r.change(o);var e=s&&!!s.addEventListener,t=e?"":"on",n=e?"addEventListener":"attachEvent",c=e?"removeEventListener":"detachEvent",f=u?u.doScroll:null;if(!e&&"function"==typeof f){try{a=!i.frameElement}catch(e){}a&&function e(){try{f("left")}catch(t){return setTimeout(e,50)}r.change("interactive")}()}function d(e){"readystatechange"===(e=e||i.event).type&&(r.change(l()),o!==l())||("load"===e.type?r.change("complete"):r.change("interactive"),("load"===e.type?i:s)[c](e.type,d,!1))}s[n](t+"DOMContentLoaded",d,!1),s[n](t+"readystatechange",d,!1),i[n](t+"load",d,!1)}()},{"./readystate":298}],298:[function(e,t,n){"use strict";function r(e){return function(t,n){var r=this;return r.is(e)?setTimeout((function(){t.call(n,r.readyState)}),0):(r._events[e]||(r._events[e]=[]),r._events[e].push({fn:t,context:n})),r}}function i(){this.readyState=i.UNKNOWN,this._events={}}i.states="ALL,UNKNOWN,LOADING,INTERACTIVE,COMPLETE".split(",");for(var o,a=0;a<i.states.length;a++)i[o=i.states[a]]=i.prototype[o]=a,i.prototype[o.toLowerCase()]=r(o);i.prototype.change=function(e){e=this.clean(e,!0);var t,n,r,o=0,a=this,s=a.readyState;if(s>=e)return a;for(a.readyState=e;o<i.states.length&&!(o>e);o++)if((n=i.states[o])in a._events){for(t=0;t<a._events[n].length;t++)(r=a._events[n][t]).fn.call(r.context||a,s);delete a._events[n]}return a},i.prototype.is=function(e){return this.readyState>=this.clean(e,!0)},i.prototype.clean=function(e,t){var n=typeof e;return t?"number"!==n?+i[e.toUpperCase()]||0:e:("number"===n?i.states[e]:e).toUpperCase()},i.prototype.removeAllListeners=function(){return this._events={},this},t.exports=new i},{}],299:[function(e,t,n){
28
28
  /**
29
29
  * request-frame - requestAnimationFrame & cancelAnimationFrame polyfill for optimal cross-browser development.
30
30
  * @version v1.5.3
@@ -39,9 +39,9 @@ n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=
39
39
  * @Copyright 2015 - Julien Etienne.
40
40
  * @License: MIT.
41
41
  */
42
- function f(){var e,t,n,r,i,o=window.webkitRequestAnimationFrame,a=window.requestAnimationFrame,s=screen.width<=768,u=!(o&&a),l=!window.performance;return e="setTimeout is being used as a substitiue for \n requestAnimationFrame due to a bug within iOS 6 builds",t=o,n=a,!(!(u&&s&&l)||(r=n,i=e,!t&&!r||(console.warn(i),0)))}function d(e){clearTimeout(e)}function p(e){var t=Date.now(),n=Math.max(c+16,t);return setTimeout((function(){e(c=n)}),n-t)}function h(){return Array.prototype.filter?(t=window["request"+o]||window[i.filter((function(e){if(void 0!==window[e+a])return e}))+a]||p,f()?p:t):p}function y(){var e=[];if(!Array.prototype.map)return d;return i.map((function(t){return["Cancel","CancelRequest"].map((function(n){e.push(t+n+o)}))})),n=window["cancel"+o]||function(e,t){for(var n=void 0;t<e.length;t++)if(window[e[t]]){n=window[e[t]];break}return n}(e,0)||d,f()?d:n}switch(Date.now||(Date.now=function(){return(new Date).getTime()}),e){case"request":case"":r=l?p:h();break;case"cancel":r=y();break;case"native":l?(window.requestAnimationFrame=p,window.cancelAnimationFrame=d):(window.requestAnimationFrame=h(),window.cancelAnimationFrame=y());break;default:throw new Error("RequestFrame parameter is not a type.")}return r}}))},{}],295:[function(e,t,n){
42
+ function f(){var e,t,n,r,i,o=window.webkitRequestAnimationFrame,a=window.requestAnimationFrame,s=screen.width<=768,u=!(o&&a),l=!window.performance;return e="setTimeout is being used as a substitiue for \n requestAnimationFrame due to a bug within iOS 6 builds",t=o,n=a,!(!(u&&s&&l)||(r=n,i=e,!t&&!r||(console.warn(i),0)))}function d(e){clearTimeout(e)}function p(e){var t=Date.now(),n=Math.max(c+16,t);return setTimeout((function(){e(c=n)}),n-t)}function h(){return Array.prototype.filter?(t=window["request"+o]||window[i.filter((function(e){if(void 0!==window[e+a])return e}))+a]||p,f()?p:t):p}function y(){var e=[];if(!Array.prototype.map)return d;return i.map((function(t){return["Cancel","CancelRequest"].map((function(n){e.push(t+n+o)}))})),n=window["cancel"+o]||function(e,t){for(var n=void 0;t<e.length;t++)if(window[e[t]]){n=window[e[t]];break}return n}(e,0)||d,f()?d:n}switch(Date.now||(Date.now=function(){return(new Date).getTime()}),e){case"request":case"":r=l?p:h();break;case"cancel":r=y();break;case"native":l?(window.requestAnimationFrame=p,window.cancelAnimationFrame=d):(window.requestAnimationFrame=h(),window.cancelAnimationFrame=y());break;default:throw new Error("RequestFrame parameter is not a type.")}return r}}))},{}],300:[function(e,t,n){
43
43
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
44
- var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:11}],296:[function(e,t,n){var r=Object.prototype.hasOwnProperty;function i(e){return"[Throws: "+(e?e.message:"?")+"]"}function o(e){var t=[];return function e(n){if(null===n||"object"!=typeof n)return n;if(-1!==t.indexOf(n))return"[Circular]";if(t.push(n),"function"==typeof n.toJSON)try{var o=e(n.toJSON());return t.pop(),o}catch(e){return i(e)}if(Array.isArray(n)){var a=n.map(e);return t.pop(),a}var s=Object.keys(n).reduce((function(t,o){return t[o]=e(function(e,t){if(r.call(e,t))try{return e[t]}catch(e){return i(e)}return e[t]}(n,o)),t}),{});return t.pop(),s}(e)}t.exports=function(e,t,n){return JSON.stringify(o(e),t,n)},t.exports.ensureProperties=o},{}],297:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("call-bind/callBound"),o=e("object-inspect"),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),l=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),y=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};t.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return l(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){var n=y(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!y(e,t)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,i)):u?(t||(t=new u),p(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=y(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{"call-bind/callBound":12,"get-intrinsic":249,"object-inspect":275}],298:[function(e,t,n){t.exports=function(e){var t=e._readableState;return t?t.objectMode||"number"==typeof e._duplexState?e.read():e.read(function(e){if(e.buffer.length)return e.buffer.head?e.buffer.head.data.length:e.buffer[0].length;return e.length}(t)):null}},{}],299:[function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){o.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this}})),o.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,r(t.args))}))},t.exports=o},{}],300:[function(e,t,n){"use strict";function r(e){return 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},r(e)}var i;"undefined"!=typeof window?i=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),i=void 0):i=self;var o=e("component-emitter"),a=e("fast-safe-stringify"),s=e("qs"),u=e("./request-base"),l=e("./is-object"),c=e("./response-base"),f=e("./agent-base");function d(){}t.exports=function(e,t){return"function"==typeof t?new n.Request("GET",e).end(t):1===arguments.length?new n.Request("GET",e):new n.Request(e,t)};var p=n=t.exports;n.Request=w,p.getXHR=function(){if(i.XMLHttpRequest&&(!i.location||"file:"!==i.location.protocol||!i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function y(e){if(!l(e))return e;var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&m(t,n,e[n]);return t.join("&")}function m(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))n.forEach((function(n){m(e,t,n)}));else if(l(n))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&m(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function b(e){for(var t,n,r={},i=e.split("&"),o=0,a=i.length;o<a;++o)-1===(n=(t=i[o]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function g(e){return/[/+]json($|[^-\w])/i.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,n,r,i,o=e.split(/\r?\n/),a={},s=0,u=o.length;s<u;++s)-1!==(t=(n=o[s]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),i=h(n.slice(t+1)),a[r]=i);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function j(e,t,n){var r=p("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}p.serializeObject=y,p.parseString=b,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":a},p.parse={"application/x-www-form-urlencoded":b,"application/json":JSON.parse},c(v.prototype),v.prototype._parseBody=function(e){var t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&g(this.type)&&(t=p.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=v,o(w.prototype),u(w.prototype),w.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},w.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},w.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"===r(t)&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var i=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,i)},w.prototype.query=function(e){return"string"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},w.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new i.FormData),this._formData},w.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},w.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},w.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||d,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=p.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||p.serialize[i?i.split(";")[0]:""];!o&&g(i)&&(o=p.serialize["application/json"]),o&&(n=o(n))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},p.agent=function(){return new f},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){f.prototype[e.toLowerCase()]=function(t,n){var r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),f.prototype.del=f.prototype.delete,p.get=function(e,t,n){var r=p("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=function(e,t,n){var r=p("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=function(e,t,n){var r=p("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=j,p.delete=j,p.patch=function(e,t,n){var r=p("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=function(e,t,n){var r=p("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=function(e,t,n){var r=p("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./agent-base":299,"./is-object":301,"./request-base":302,"./response-base":303,"component-emitter":17,"fast-safe-stringify":243,qs:306}],301:[function(e,t,n){"use strict";function r(e){return 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},r(e)}t.exports=function(e){return null!==e&&"object"===r(e)}},{}],302:[function(e,t,n){"use strict";function r(e){return 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},r(e)}var i=e("./is-object");function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==r(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){var n=this;if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){r.on("abort",(function(){if(!(n._maxRetries&&n._maxRetries>n._retries))if(n.timedout&&n.timedoutError)t(n.timedoutError);else{var e=new Error("Aborted");e.code="ABORTED",e.status=n.status,e.method=n.method,e.url=n.url,t(e)}})),r.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),(n=this._header["content-type"])&&(n=n.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.slice(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.slice(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},{"./is-object":301}],303:[function(e,t,n){"use strict";var r=e("./utils");function i(e){if(e)return function(e){for(var t in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,t)&&(e[t]=i.prototype[t]);return e}(e)}t.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(this[i]=n[i]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},{"./utils":304}],304:[function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.type=function(e){return e.split(/ *; */).shift()},n.params=function(e){var t,n={},i=r(e.split(/ *; */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *= */),a=o.shift(),s=o.shift();a&&s&&(n[a]=s)}}catch(e){i.e(e)}finally{i.f()}return n},n.parseLinks=function(e){var t,n={},i=r(e.split(/ *, */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *; */),a=o[0].slice(1,-1);n[o[1].split(/ *= */)[1].slice(1,-1)]=a}}catch(e){i.e(e)}finally{i.f()}return n},n.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},{}],305:[function(e,t,n){"use strict";var r=String.prototype.replace,i=/%20/g,o="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:o,RFC3986:a}},{}],306:[function(e,t,n){"use strict";var r=e("./stringify"),i=e("./parse"),o=e("./formats");t.exports={formats:o,parse:i,stringify:r}},{"./formats":305,"./parse":307,"./stringify":308}],307:[function(e,t,n){"use strict";var r=e("./utils"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f<n.depth;){if(f+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:a[l]=i:a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,f),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?h="utf-8":"utf8=%26%2310003%3B"===d[n]&&(h="iso-8859-1"),p=n,n=d.length);for(n=0;n<d.length;++n)if(n!==p){var y,m,b=d[n],g=b.indexOf("]="),v=-1===g?b.indexOf("="):g+1;-1===v?(y=t.decoder(b,a.decoder,h,"key"),m=t.strictNullHandling?null:""):(y=t.decoder(b.slice(0,v),a.decoder,h,"key"),m=r.maybeMap(u(b.slice(v+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=s(m)),b.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(l,y)?l[y]=r.combine(l[y],m):l[y]=m}return l}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),p=0;p<d.length;++p){var h=d[p],y=l(h,c[h],n,"string"==typeof e);f=r.merge(f,y,n)}return!0===n.allowSparse?f:r.compact(f)}},{"./utils":309}],308:[function(e,t,n){"use strict";var r=e("side-channel"),i=e("./utils"),o=e("./formats"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},u=Array.isArray,l=String.prototype.split,c=Array.prototype.push,f=function(e,t){c.apply(e,u(t)?t:[t])},d=Date.prototype.toISOString,p=o.default,h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:o.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},y={},m=function e(t,n,o,a,s,c,d,p,m,b,g,v,w,j,E){for(var x,S=t,_=E,A=0,R=!1;void 0!==(_=_.get(y))&&!R;){var k=_.get(t);if(A+=1,void 0!==k){if(k===A)throw new RangeError("Cyclic object value");R=!0}void 0===_.get(y)&&(A=0)}if("function"==typeof d?S=d(n,S):S instanceof Date?S=b(S):"comma"===o&&u(S)&&(S=i.maybeMap(S,(function(e){return e instanceof Date?b(e):e}))),null===S){if(a)return c&&!w?c(n,h.encoder,j,"key",g):n;S=""}if("string"==typeof(x=S)||"number"==typeof x||"boolean"==typeof x||"symbol"==typeof x||"bigint"==typeof x||i.isBuffer(S)){if(c){var O=w?n:c(n,h.encoder,j,"key",g);if("comma"===o&&w){for(var T=l.call(String(S),","),M="",I=0;I<T.length;++I)M+=(0===I?"":",")+v(c(T[I],h.encoder,j,"value",g));return[v(O)+"="+M]}return[v(O)+"="+v(c(S,h.encoder,j,"value",g))]}return[v(n)+"="+v(String(S))]}var P,C=[];if(void 0===S)return C;if("comma"===o&&u(S))P=[{value:S.length>0?S.join(",")||null:void 0}];else if(u(d))P=d;else{var L=Object.keys(S);P=p?L.sort(p):L}for(var N=0;N<P.length;++N){var D=P[N],B="object"==typeof D&&void 0!==D.value?D.value:S[D];if(!s||null!==B){var U=u(S)?"function"==typeof o?o(n,D):n:n+(m?"."+D:"["+D+"]");E.set(t,A);var F=r();F.set(y,E),f(C,e(B,U,o,a,s,c,d,p,m,b,g,v,w,j,F))}}return C};t.exports=function(e,t){var n,i=e,l=function(e){if(!e)return h;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=h.filter;return("function"==typeof e.filter||u(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:void 0===e.allowDots?h.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(t);"function"==typeof l.filter?i=(0,l.filter)("",i):u(l.filter)&&(n=l.filter);var c,d=[];if("object"!=typeof i||null===i)return"";c=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[c];n||(n=Object.keys(i)),l.sort&&n.sort(l.sort);for(var y=r(),b=0;b<n.length;++b){var g=n[b];l.skipNulls&&null===i[g]||f(d,m(i[g],g,p,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset,y))}var v=d.join(l.delimiter),w=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?w+="utf8=%26%2310003%3B&":w+="utf8=%E2%9C%93&"),v.length>0?w+v:""}},{"./formats":305,"./utils":309,"side-channel":297}],309:[function(e,t,n){"use strict";var r=e("./formats"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};t.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var l=s[u],c=a[l];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:a,prop:l}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},{"./formats":305}],310:[function(e,t,n){(function(t,r){(function(){var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},u=0;function l(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new l(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new l(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"==typeof t?t:function(e){var t=u++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":279,timers:310}],311:[function(e,t,n){(function(e){(function(){
44
+ var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:11}],301:[function(e,t,n){var r=Object.prototype.hasOwnProperty;function i(e){return"[Throws: "+(e?e.message:"?")+"]"}function o(e){var t=[];return function e(n){if(null===n||"object"!=typeof n)return n;if(-1!==t.indexOf(n))return"[Circular]";if(t.push(n),"function"==typeof n.toJSON)try{var o=e(n.toJSON());return t.pop(),o}catch(e){return i(e)}if(Array.isArray(n)){var a=n.map(e);return t.pop(),a}var s=Object.keys(n).reduce((function(t,o){return t[o]=e(function(e,t){if(r.call(e,t))try{return e[t]}catch(e){return i(e)}return e[t]}(n,o)),t}),{});return t.pop(),s}(e)}t.exports=function(e,t,n){return JSON.stringify(o(e),t,n)},t.exports.ensureProperties=o},{}],302:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("call-bind/callBound"),o=e("object-inspect"),a=r("%TypeError%"),s=r("%WeakMap%",!0),u=r("%Map%",!0),l=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),h=i("Map.prototype.has",!0),y=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};t.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+o(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return l(e,r)}else if(u){if(t)return d(t,r)}else if(n)return function(e,t){var n=y(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!y(e,t)}(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,i)):u?(t||(t=new u),p(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=y(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{"call-bind/callBound":12,"get-intrinsic":249,"object-inspect":275}],303:[function(e,t,n){t.exports=function(e){var t=e._readableState;return t?t.objectMode||"number"==typeof e._duplexState?e.read():e.read(function(e){if(e.buffer.length)return e.buffer.head?e.buffer.head.data.length:e.buffer[0].length;return e.length}(t)):null}},{}],304:[function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){o.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this._defaults.push({fn:e,args:n}),this}})),o.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,r(t.args))}))},t.exports=o},{}],305:[function(e,t,n){"use strict";function r(e){return 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},r(e)}var i;"undefined"!=typeof window?i=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),i=void 0):i=self;var o=e("component-emitter"),a=e("fast-safe-stringify"),s=e("qs"),u=e("./request-base"),l=e("./is-object"),c=e("./response-base"),f=e("./agent-base");function d(){}t.exports=function(e,t){return"function"==typeof t?new n.Request("GET",e).end(t):1===arguments.length?new n.Request("GET",e):new n.Request(e,t)};var p=n=t.exports;n.Request=w,p.getXHR=function(){if(i.XMLHttpRequest&&(!i.location||"file:"!==i.location.protocol||!i.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function y(e){if(!l(e))return e;var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&m(t,n,e[n]);return t.join("&")}function m(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))n.forEach((function(n){m(e,t,n)}));else if(l(n))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&m(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function b(e){for(var t,n,r={},i=e.split("&"),o=0,a=i.length;o<a;++o)-1===(n=(t=i[o]).indexOf("="))?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function g(e){return/[/+]json($|[^-\w])/i.test(e)}function v(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){for(var t,n,r,i,o=e.split(/\r?\n/),a={},s=0,u=o.length;s<u;++s)-1!==(t=(n=o[s]).indexOf(":"))&&(r=n.slice(0,t).toLowerCase(),i=h(n.slice(t+1)),a[r]=i);return a}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function w(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(function(){var e,t=null,r=null;try{r=new v(n)}catch(e){return(t=new Error("Parser is unable to parse the response")).parse=!0,t.original=e,n.xhr?(t.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,t.status=n.xhr.status?n.xhr.status:null,t.statusCode=t.status):(t.rawResponse=null,t.status=null),n.callback(t)}n.emit("response",r);try{n._isResponseOK(r)||(e=new Error(r.statusText||r.text||"Unsuccessful HTTP response"))}catch(t){e=t}e?(e.original=t,e.response=r,e.status=r.status,n.callback(e,r)):n.callback(null,r)}))}function j(e,t,n){var r=p("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}p.serializeObject=y,p.parseString=b,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":a},p.parse={"application/x-www-form-urlencoded":b,"application/json":JSON.parse},c(v.prototype),v.prototype._parseBody=function(e){var t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&g(this.type)&&(t=p.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},v.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=v,o(w.prototype),u(w.prototype),w.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},w.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},w.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"===r(t)&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});var i=function(e){if("function"==typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,i)},w.prototype.query=function(e){return"string"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},w.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},w.prototype._getFormData=function(){return this._formData||(this._formData=new i.FormData),this._formData},w.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},w.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},w.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},w.prototype.ca=w.prototype.agent,w.prototype.buffer=w.prototype.ca,w.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},w.prototype.pipe=w.prototype.write,w.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},w.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||d,this._finalizeQueryString(),this._end()},w.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},w.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=p.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(e){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||p.serialize[i?i.split(";")[0]:""];!o&&g(i)&&(o=p.serialize["application/json"]),o&&(n=o(n))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},p.agent=function(){return new f},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){f.prototype[e.toLowerCase()]=function(t,n){var r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),f.prototype.del=f.prototype.delete,p.get=function(e,t,n){var r=p("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=function(e,t,n){var r=p("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=function(e,t,n){var r=p("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=j,p.delete=j,p.patch=function(e,t,n){var r=p("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=function(e,t,n){var r=p("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=function(e,t,n){var r=p("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./agent-base":304,"./is-object":306,"./request-base":307,"./response-base":308,"component-emitter":17,"fast-safe-stringify":243,qs:281}],306:[function(e,t,n){"use strict";function r(e){return 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},r(e)}t.exports=function(e){return null!==e&&"object"===r(e)}},{}],307:[function(e,t,n){"use strict";function r(e){return 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},r(e)}var i=e("./is-object");function o(e){if(e)return function(e){for(var t in o.prototype)Object.prototype.hasOwnProperty.call(o.prototype,t)&&(e[t]=o.prototype[t]);return e}(e)}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!==r(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};var a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){var n=this;if(!this._fullfilledPromise){var r=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){r.on("abort",(function(){if(!(n._maxRetries&&n._maxRetries>n._retries))if(n.timedout&&n.timedoutError)t(n.timedoutError);else{var e=new Error("Aborted");e.code="ABORTED",e.status=n.status,e.method=n.method,e.url=n.url,t(e)}})),r.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(i(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),this._getFormData().append(e,t),this},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic ".concat(r("".concat(e,":").concat(t))));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(this._data[r]=e[r]);else"string"==typeof e?(n||this.type("form"),(n=this._header["content-type"])&&(n=n.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===n?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.slice(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.slice(0,t)+"?"+n.join("&")}}},o.prototype._appendQueryString=function(){console.warn("Unsupported")},o.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error("".concat(e+t,"ms exceeded"));r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)}},o.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},{"./is-object":306}],308:[function(e,t,n){"use strict";var r=e("./utils");function i(e){if(e)return function(e){for(var t in i.prototype)Object.prototype.hasOwnProperty.call(i.prototype,t)&&(e[t]=i.prototype[t]);return e}(e)}t.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=r.type(t);var n=r.params(t);for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(this[i]=n[i]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},{"./utils":309}],309:[function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.type=function(e){return e.split(/ *; */).shift()},n.params=function(e){var t,n={},i=r(e.split(/ *; */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *= */),a=o.shift(),s=o.shift();a&&s&&(n[a]=s)}}catch(e){i.e(e)}finally{i.f()}return n},n.parseLinks=function(e){var t,n={},i=r(e.split(/ *, */));try{for(i.s();!(t=i.n()).done;){var o=t.value.split(/ *; */),a=o[0].slice(1,-1);n[o[1].split(/ *= */)[1].slice(1,-1)]=a}}catch(e){i.e(e)}finally{i.f()}return n},n.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},{}],310:[function(e,t,n){(function(t,r){(function(){var i=e("process/browser.js").nextTick,o=Function.prototype.apply,a=Array.prototype.slice,s={},u=0;function l(e,t){this._id=e,this._clearFn=t}n.setTimeout=function(){return new l(o.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new l(o.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},l.prototype.unref=l.prototype.ref=function(){},l.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"==typeof t?t:function(e){var t=u++,r=!(arguments.length<2)&&a.call(arguments,1);return s[t]=!0,i((function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete s[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":279,timers:310}],311:[function(e,t,n){(function(e){(function(){
45
45
  /*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
46
46
  t.exports=function(t){return ArrayBuffer.isView(t)?e.from(t.buffer,t.byteOffset,t.byteLength):e.from(t)}}).call(this)}).call(this,e("buffer").Buffer)},{buffer:11}],312:[function(e,t,n){
47
47
  /*!@license
@@ -52,5 +52,5 @@ t.exports=function(t){return ArrayBuffer.isView(t)?e.from(t.buffer,t.byteOffset,
52
52
  * Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
53
53
  * Licensed under MIT License
54
54
  */
55
- !function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="model",l="name",c="type",f="vendor",d="version",p="architecture",h="console",y="mobile",m="tablet",b="smarttv",g="wearable",v="embedded",w={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return typeof e===s&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===o?e:e.substring(0,255)}},j={rgx:function(e,t){for(var n,o,s,u,l,c,f=0;f<t.length&&!l;){var d=t[f],p=t[f+1];for(n=o=0;n<d.length&&!l;)if(l=d[n++].exec(e))for(s=0;s<p.length;s++)c=l[++o],typeof(u=p[s])===a&&u.length>0?2==u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,c):this[u[0]]=u[1]:3==u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=c?c.replace(u[1],u[2]):r:this[u[0]]=c?u[1].call(this,c,u[2]):r:4==u.length&&(this[u[0]]=c?u[3].call(this,c.replace(u[1],u[2])):r):this[u]=c||r;f+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(w.has(t[n][i],e))return"?"===n?r:n}else if(w.has(t[n],e))return"?"===n?r:n;return e}},E={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},x={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[l,d],[/opios[\/\s]+([\w\.]+)/i],[d,[l,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[d,[l,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,d],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],d],[/focus\/([\w\.]+)/i],[d,[l,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[d,[l,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[d,[l,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[l,d],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[l],[/;fbav\/([\w\.]+);/i],[d,[l,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[l,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[l,d],[/\bgsa\/([\w\.]+)\s.*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[d,[l,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],d],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[d,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[d,l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[l,[d,j.str,E.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[/(navigator|netscape)\/([\w\.-]+)/i],[[l,"Netscape"],d],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[d,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[l,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[p,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,w.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[u,[f,"Samsung"],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[u,[f,"Samsung"],[c,y]],[/\((ip(?:hone|od)[\s\w]*);/i],[u,[f,"Apple"],[c,y]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[f,"Apple"],[c,m]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[u,[f,"Huawei"],[c,m]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[u,[f,"Huawei"],[c,y]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[u,/_/g," "],[f,"Xiaomi"],[c,y]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[u,/_/g," "],[f,"Xiaomi"],[c,m]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[u,[f,"OPPO"],[c,y]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[u,[f,"Vivo"],[c,y]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[u,[f,"Realme"],[c,y]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[u,[f,"Motorola"],[c,y]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[u,[f,"Motorola"],[c,m]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[u,[f,"LG"],[c,m]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[u,[f,"LG"],[c,y]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[u,[f,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[u,/_/g," "],[f,"Nokia"],[c,y]],[/droid.+;\s(pixel\sc)[\s)]/i],[u,[f,"Google"],[c,m]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[u,[f,"Google"],[c,y]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,"Sony"],[c,y]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[u,"Xperia Tablet"],[f,"Sony"],[c,m]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[u,[f,"OnePlus"],[c,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[u,[f,"Amazon"],[c,m]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[u,"Fire Phone"],[f,"Amazon"],[c,y]],[/\((playbook);[\w\s\),;-]+(rim)/i],[u,f,[c,m]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[u,[f,"BlackBerry"],[c,y]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[u,[f,"ASUS"],[c,m]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[u,[f,"ASUS"],[c,y]],[/(nexus\s9)/i],[u,[f,"HTC"],[c,m]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[f,[u,/_/g," "],[c,y]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[u,[f,"Acer"],[c,m]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[u,[f,"Meizu"],[c,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[f,u,[c,y]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[f,u,[c,m]],[/\s(surface\sduo)\s/i],[u,[f,"Microsoft"],[c,m]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[u,[f,"Fairphone"],[c,y]],[/\s(u304aa)\sbuild/i],[u,[f,"AT&T"],[c,y]],[/sie-(\w*)/i],[u,[f,"Siemens"],[c,y]],[/[;\/]\s?(rct\w+)\sbuild/i],[u,[f,"RCA"],[c,m]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[u,[f,"Dell"],[c,m]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[u,[f,"Verizon"],[c,m]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[u,[f,"Barnes & Noble"],[c,m]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[u,[f,"NuVision"],[c,m]],[/;\s(k88)\sbuild/i],[u,[f,"ZTE"],[c,m]],[/;\s(nx\d{3}j)\sbuild/i],[u,[f,"ZTE"],[c,y]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[u,[f,"Swiss"],[c,y]],[/[;\/]\s?(zur\d{3})\sbuild/i],[u,[f,"Swiss"],[c,m]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[u,[f,"Zeki"],[c,m]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[f,"Dragon Touch"],u,[c,m]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[u,[f,"Insignia"],[c,m]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[u,[f,"NextBook"],[c,m]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[f,"Voice"],u,[c,y]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[f,"LvTel"],u,[c,y]],[/;\s(ph-1)\s/i],[u,[f,"Essential"],[c,y]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[u,[f,"Envizen"],[c,m]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[u,[f,"MachSpeed"],[c,m]],[/[;\/]\s?tu_(1491)\sbuild/i],[u,[f,"Rotor"],[c,m]],[/(shield[\w\s]+)\sbuild/i],[u,[f,"Nvidia"],[c,m]],[/(sprint)\s(\w+)/i],[f,u,[c,y]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,"Microsoft"],[c,y]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[f,"Zebra"],[c,m]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[f,"Zebra"],[c,y]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[f,u,[c,h]],[/droid.+;\s(shield)\sbuild/i],[u,[f,"Nvidia"],[c,h]],[/(playstation\s[345portablevi]+)/i],[u,[f,"Sony"],[c,h]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[u,[f,"Microsoft"],[c,h]],[/smart-tv.+(samsung)/i],[f,[c,b]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,"Samsung"],[c,b]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[f,"LG"],[c,b]],[/(apple)\s?tv/i],[f,[u,"Apple TV"],[c,b]],[/crkey/i],[[u,"Chromecast"],[f,"Google"],[c,b]],[/droid.+aft([\w])(\sbuild\/|\))/i],[u,[f,"Amazon"],[c,b]],[/\(dtv[\);].+(aquos)/i],[u,[f,"Sharp"],[c,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[f,w.trim],[u,w.trim],[c,b]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[c,b]],[/((pebble))app\/[\d\.]+\s/i],[f,u,[c,g]],[/droid.+;\s(glass)\s\d/i],[u,[f,"Google"],[c,g]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[u,[f,"Zebra"],[c,g]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[f,[c,v]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[u,[c,y]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[u,[c,m]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,w.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[u,[f,"Generic"]],[/(phone)/i],[[c,y]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[d,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[l,d],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[l,[d,j.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[l,"Windows"],[d,j.str,E.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[l,d],[/(sunos)\s?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[l,d]]},S=function(t,n){if("object"==typeof t&&(n=t,t=r),!(this instanceof S))return new S(t,n).getResult();var i=t||(void 0!==e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),o=n?w.extend(x,n):x;return this.getBrowser=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:r};return j.rgx.call(e,i,o.cpu),e},this.getDevice=function(){var e={vendor:r,model:r,type:r};return j.rgx.call(e,i,o.device),e},this.getEngine=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.engine),e},this.getOS=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===s&&e.length>255?w.trim(e,255):e,this},this.setUA(i),this};S.VERSION="0.7.28",S.BROWSER={NAME:l,MAJOR:"major",VERSION:d},S.CPU={ARCHITECTURE:p},S.DEVICE={MODEL:u,VENDOR:f,TYPE:c,CONSOLE:h,MOBILE:y,SMARTTV:b,TABLET:m,WEARABLE:g,EMBEDDED:v},S.ENGINE={NAME:l,VERSION:d},S.OS={NAME:l,VERSION:d},typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=S),n.UAParser=S):void 0!==e&&(e.UAParser=S);var _=void 0!==e&&(e.jQuery||e.Zepto);if(_&&!_.ua){var A=new S;_.ua=A.getResult(),_.ua.get=function(){return A.getUA()},_.ua.set=function(e){A.setUA(e);var t=A.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],313:[function(e,t,n){(function(e){(function(){function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],314:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],315:[function(e,t,n){"use strict";var r=e("is-arguments"),i=e("is-generator-function"),o=e("which-typed-array"),a=e("is-typed-array");function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var y=s(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function v(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function j(e){return"[object ArrayBuffer]"===c(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(j.working?j(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===c(e)}function S(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=i,n.isTypedArray=a,n.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},n.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||S(e)},n.isUint8Array=function(e){return"Uint8Array"===o(e)},n.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},n.isUint16Array=function(e){return"Uint16Array"===o(e)},n.isUint32Array=function(e){return"Uint32Array"===o(e)},n.isInt8Array=function(e){return"Int8Array"===o(e)},n.isInt16Array=function(e){return"Int16Array"===o(e)},n.isInt32Array=function(e){return"Int32Array"===o(e)},n.isFloat32Array=function(e){return"Float32Array"===o(e)},n.isFloat64Array=function(e){return"Float64Array"===o(e)},n.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},n.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},b.working="undefined"!=typeof Map&&b(new Map),n.isMap=function(e){return"undefined"!=typeof Map&&(b.working?b(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),n.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),n.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),n.isWeakSet=function(e){return w(e)},j.working="undefined"!=typeof ArrayBuffer&&j(new ArrayBuffer),n.isArrayBuffer=E,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=S;var _="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===c(e)}function R(e){return void 0!==_&&(void 0===A.working&&(A.working=A(new _)),A.working?A(e):e instanceof _)}function k(e){return m(e,f)}function O(e){return m(e,d)}function T(e){return m(e,p)}function M(e){return u&&m(e,h)}function I(e){return l&&m(e,y)}n.isSharedArrayBuffer=R,n.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},n.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},n.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},n.isGeneratorObject=function(e){return"[object Generator]"===c(e)},n.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},n.isNumberObject=k,n.isStringObject=O,n.isBooleanObject=T,n.isBigIntObject=M,n.isSymbolObject=I,n.isBoxedPrimitive=function(e){return k(e)||O(e)||T(e)||M(e)||I(e)},n.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||R(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(n,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},{"is-arguments":267,"is-generator-function":269,"is-typed-array":271,"which-typed-array":321}],316:[function(e,t,n){(function(t){(function(){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;n.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])m(s)||!j(s)?a+=" "+s:a+=" "+u(s);return a},n.deprecate=function(e,r){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return n.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(t.env.NODE_DEBUG){var s=t.env.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(e,t){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(t)?r.showHidden=t:t&&n._extend(r,t),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),f(r,e,r.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function f(e,t,r){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return g(i)||(i=f(e,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),x(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(S(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return d(t)}var l,c="",j=!1,_=["{","}"];(h(t)&&(j=!0,_=["[","]"]),S(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return w(t)&&(c=" "+RegExp.prototype.toString.call(t)),E(t)&&(c=" "+Date.prototype.toUTCString.call(t)),x(t)&&(c=" "+d(t)),0!==a.length||j&&0!=t.length?r<0?w(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=j?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,t,r,s,a):a.map((function(n){return p(e,t,r,s,n,j)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,_)):_[0]+c+_[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function w(e){return j(e)&&"[object RegExp]"===_(e)}function j(e){return"object"==typeof e&&null!==e}function E(e){return j(e)&&"[object Date]"===_(e)}function x(e){return j(e)&&("[object Error]"===_(e)||e instanceof Error)}function S(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else o[e]=function(){};return o[e]},n.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=e("./support/types"),n.isArray=h,n.isBoolean=y,n.isNull=m,n.isNullOrUndefined=function(e){return null==e},n.isNumber=b,n.isString=g,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=v,n.isRegExp=w,n.types.isRegExp=w,n.isObject=j,n.isDate=E,n.types.isDate=E,n.isError=x,n.types.isNativeError=x,n.isFunction=S,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",k(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!j(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function M(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}n.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},n.promisify.custom=T,n.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,n).then((function(e){t.nextTick(a.bind(null,null,e))}),(function(e){t.nextTick(M.bind(null,e,a))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this)}).call(this,e("_process"))},{"./support/isBuffer":314,"./support/types":315,_process:279,inherits:263}],317:[function(e,t,n){"use strict";var r=Object.prototype.toString;t.exports=function(e){return"[object Float32Array]"===r.call(e)}},{}],318:[function(e,t,n){(function(n,r){(function(){var i=e("readable-stream"),o=e("end-of-stream"),a=e("inherits"),s=e("stream-shift"),u=r.from&&r.from!==Uint8Array.from?r.from([0]):new r([0]),l=function(e,t){e._corked?e.once("uncork",t):t()},c=function(e,t){return function(n){n?function(e,t){e._autoDestroy&&e.destroy(t)}(e,"premature close"===n.message?null:n):t&&!e._ended&&e.end()}},f=function(e,t,n){if(!(this instanceof f))return new f(e,t,n);i.Duplex.call(this,n),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!n||!1!==n.autoDestroy,this._forwardDestroy=!n||!1!==n.destroy,this._forwardEnd=!n||!1!==n.end,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,e&&this.setWritable(e),t&&this.setReadable(t)};a(f,i.Duplex),f.obj=function(e,t,n){return n||(n={}),n.objectMode=!0,n.highWaterMark=16,new f(e,t,n)},f.prototype.cork=function(){1==++this._corked&&this.emit("cork")},f.prototype.uncork=function(){this._corked&&0==--this._corked&&this.emit("uncork")},f.prototype.setWritable=function(e){if(this._unwrite&&this._unwrite(),this.destroyed)e&&e.destroy&&e.destroy();else if(null!==e&&!1!==e){var t=this,r=o(e,{writable:!0,readable:!1},c(this,this._forwardEnd)),i=function(){var e=t._ondrain;t._ondrain=null,e&&e()};this._unwrite&&n.nextTick(i),this._writable=e,this._writable.on("drain",i),this._unwrite=function(){t._writable.removeListener("drain",i),r()},this.uncork()}else this.end()},f.prototype.setReadable=function(e){if(this._unread&&this._unread(),this.destroyed)e&&e.destroy&&e.destroy();else{if(null===e||!1===e)return this.push(null),void this.resume();var t,n=this,r=o(e,{writable:!1,readable:!0},c(this)),a=function(){n._forward()},s=function(){n.push(null)};this._drained=!0,this._readable=e,this._readable2=e._readableState?e:(t=e,new i.Readable({objectMode:!0,highWaterMark:16}).wrap(t)),this._readable2.on("readable",a),this._readable2.on("end",s),this._unread=function(){n._readable2.removeListener("readable",a),n._readable2.removeListener("end",s),r()},this._forward()}},f.prototype._read=function(){this._drained=!0,this._forward()},f.prototype._forward=function(){if(!this._forwarding&&this._readable2&&this._drained){var e;for(this._forwarding=!0;this._drained&&null!==(e=s(this._readable2));)this.destroyed||(this._drained=this.push(e));this._forwarding=!1}},f.prototype.destroy=function(e){if(!this.destroyed){this.destroyed=!0;var t=this;n.nextTick((function(){t._destroy(e)}))}},f.prototype._destroy=function(e){if(e){var t=this._ondrain;this._ondrain=null,t?t(e):this.emit("error",e)}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close")},f.prototype._write=function(e,t,n){return this.destroyed?n():this._corked?l(this,this._write.bind(this,e,t,n)):e===u?this._finish(n):this._writable?void(!1===this._writable.write(e)?this._ondrain=n:n()):n()},f.prototype._finish=function(e){var t=this;this.emit("preend"),l(this,(function(){var n,r;n=t._forwardEnd&&t._writable,r=function(){!1===t._writableState.prefinished&&(t._writableState.prefinished=!0),t.emit("prefinish"),l(t,e)},n?n._writableState&&n._writableState.finished?r():n._writableState?n.end(r):(n.end(),r()):r()}))},f.prototype.end=function(e,t,n){return"function"==typeof e?this.end(null,null,e):"function"==typeof t?this.end(e,null,t):(this._ended=!0,e&&this.write(e),this._writableState.ending||this.write(u),i.Writable.prototype.end.call(this,n))},t.exports=f}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{_process:279,buffer:11,"end-of-stream":240,inherits:263,"readable-stream":291,"stream-shift":298}],319:[function(e,t,n){(function(n,r){(function(){"use strict";var i=e("readable-stream").Transform,o=e("duplexify"),a=e("ws"),s=e("safe-buffer").Buffer;t.exports=function(e,t,u){var l,c,f="browser"===n.title,d=!!r.WebSocket,p=f?function e(t,n,r){if(c.bufferedAmount>y)return void setTimeout(e,m,t,n,r);g&&"string"==typeof t&&(t=s.from(t,"utf8"));try{c.send(t)}catch(e){return r(e)}r()}:function(e,t,n){if(c.readyState!==c.OPEN)return void n();g&&"string"==typeof e&&(e=s.from(e,"utf8"));c.send(e,n)};t&&!Array.isArray(t)&&"object"==typeof t&&(u=t,t=null,("string"==typeof u.protocol||Array.isArray(u.protocol))&&(t=u.protocol));u||(u={});void 0===u.objectMode&&(u.objectMode=!(!0===u.binary||void 0===u.binary));var h=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,p,(function(e){c.close(),e()}));u.objectMode||(h._writev=x);var y=u.browserBufferSize||524288,m=u.browserBufferTimeout||1e3;"object"==typeof e?c=e:(c=d&&f?new a(e,t):new a(e,t,u)).binaryType="arraybuffer";var b=void 0===c.addEventListener;c.readyState===c.OPEN?l=h:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=x),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",j),c.addEventListener("message",E)):(c.onclose=w,c.onerror=j,c.onmessage=E);h.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(h),l.setWritable(h),l.emit("connect")}function w(){l.end(),l.destroy()}function j(e){l.destroy(e)}function E(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),h.push(t)}function x(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"string"==typeof e[r].chunk?n[r]=s.from(e[r],"utf8"):n[r]=e[r].chunk;this._write(s.concat(n),"binary",t)}return l}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:279,duplexify:318,"readable-stream":291,"safe-buffer":295,ws:320}],320:[function(e,t,n){var r=null;"undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof MozWebSocket?r=MozWebSocket:"undefined"!=typeof window&&(r=window.WebSocket||window.MozWebSocket),t.exports=r},{}],321:[function(e,t,n){(function(n){(function(){"use strict";var r=e("foreach"),i=e("available-typed-arrays"),o=e("call-bind/callBound"),a=o("Object.prototype.toString"),s=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?n:globalThis,l=i(),c=o("String.prototype.slice"),f={},d=e("es-abstract/helpers/getOwnPropertyDescriptor"),p=Object.getPrototypeOf;s&&d&&p&&r(l,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var n=p(t),r=d(n,Symbol.toStringTag);if(!r){var i=p(n);r=d(i,Symbol.toStringTag)}f[e]=r.get}}}));var h=e("is-typed-array");t.exports=function(e){return!!h(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return r(f,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):c(a(e),8,-1))}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":7,"call-bind/callBound":12,"es-abstract/helpers/getOwnPropertyDescriptor":241,foreach:245,"has-tostringtag/shams":256,"is-typed-array":271}],322:[function(e,t,n){t.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){r[e]=t[e]})),r;function r(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];var r=t.apply(this,e),i=e[e.length-1];return"function"==typeof r&&r!==i&&Object.keys(i).forEach((function(e){r[e]=i[e]})),r}}},{}],323:[function(e,t,n){t.exports={name:"videomail-client",version:"2.17.1",description:"A wicked npm package to record videos directly in the browser, wohooo!",author:"Michael Heuberger <michael.heuberger@binarykitchen.com>",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],homepage:"https://videomail.io",repository:{type:"git",url:"https://github.com/binarykitchen/videomail-client.git"},license:"CC0-1.0",readmeFilename:"README.md",module:"src/js/index.js",main:"prototype/js/videomail-client.js",scripts:{build:"gulp build",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch",audit:"npx audit-ci --config audit-ci.json",patch:"./env/dev/release.sh --importance=patch",minor:"./env/dev/release.sh --importance=minor",major:"./env/dev/release.sh --importance=major",lint:"eslint ./src ./test gulpfile.js","lint-fix":"npm --silent run lint -- --fix; exit 0",prettier:"prettier --check ./src ./test gulpfile.js","prettier-fix":"prettier --write ./src ./test gulpfile.js"},engines:{node:"^16.13.1"},keywords:["webcam","video","videomail","encoder","getusermedia","audio","recorder"],babel:{presets:[["@babel/env",{useBuiltIns:"usage",corejs:3}]],plugins:["@babel/transform-runtime"]},dependencies:{"@babel/runtime":"7.17.2","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"2.0.0","canvas-to-buffer":"2.0.0","classlist.js":"1.1.20150312",contains:"0.1.1","core-js":"3.21.0","create-error":"0.3.1",deepmerge:"4.2.2",defined:"1.0.0",despot:"1.1.3","document-visibility":"1.0.1","element-closest":"3.0.2",filesize:"8.0.7","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.27.1",hyperscript:"2.0.2","insert-css":"2.0.0","iphone-inline-video":"2.2.2","is-power-of-two":"1.0.0",keymirror:"0.1.1","number-is-integer":"2.0.0",readystate:"0.4.1","request-frame":"1.5.3","safe-json-stringify":"1.2.0",superagent:"6.1.0","ua-parser-js":"0.7.28","websocket-stream":"5.5.2"},devDependencies:{"@babel/core":"7.17.2","@babel/plugin-transform-runtime":"7.17.0","@babel/preset-env":"7.16.11","audit-ci":"5.1.2",autoprefixer:"10.4.2","babel-eslint":"10.1.0",babelify:"10.0.0","body-parser":"1.19.1",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"5.0.17",del:"6.0.0",eslint:"7.32.0","eslint-config-standard":"16.0.3","eslint-plugin-import":"2.25.4","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.1.1","fancy-log":"1.3.3",glob:"7.2.0",gulp:"4.0.2","gulp-bump":"3.2.0","gulp-bytediff":"1.0.0","gulp-concat":"2.6.1","gulp-connect":"5.7.0","gulp-derequire":"3.0.0","gulp-if":"3.0.0","gulp-inject-string":"1.1.2","gulp-load-plugins":"2.0.7","gulp-plumber":"1.2.1","gulp-postcss":"9.0.1","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"2.7.1","gulp-terser":"2.1.0","gulp-todo":"7.1.1",minimist:"1.2.5",nib:"1.1.2",postcss:"8.4.6",prettier:"2.5.1",router:"1.3.6",tape:"5.5.1","tape-catch":"1.0.6","tape-run":"9.0.0","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"}}},{}],324:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var i,o,a=r(e("deepmerge")),s=r(e("readystate")),u=r(e("util")),l=r(e("./options")),c=r(e("./constants")),f=r(e("./events")),d=r(e("./util/collectLogger")),p=r(e("./util/eventEmitter")),h=r(e("./wrappers/container")),y=r(e("./wrappers/visuals/replay")),m=r(e("./wrappers/optionsWrapper")),b=r(e("./util/browser")),g=r(e("./resource"));var v=function(e){var t,n,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)(l.default,e,{arrayMerge:function(e,t){return t}});return i=i||new d.default(t),t.logger=i,t.debug=t.logger.debug,m.default.addFunctions(t),t}(e),u=new h.default(r),c=r.debug;p.default.call(this,r,"VideomailClient"),this.events=f.default,this.show=function(){u.isBuilt()?u.show():this.once(f.default.BUILT,u.show)},this.replay=function(e,n){s.default.interactive((function(){if("string"==typeof n&&(n=document.getElementById(n)),n)u.isOutsideElementOf(n)&&(t=new y.default(n,r)).build();else if(u.isBuilt()||u.build(),!u.hasElement())throw s.default.removeAllListeners(),new Error("Unable to replay video without a container nor parent element.");t||(t=u.getReplay()),n||(n=t.getParentElement()),e&&(e=u.addPlayerDimensions(e,n)),u.isOutsideElementOf(n)?u.hideForm({deep:!0}):u.loadForm(e),setTimeout((function(){t.setVideomail(e),u.showReplayOnly()}),1e3)}))},this.startOver=function(e){t&&(t.hide(),t.reset()),u.startOver(e)},this.unload=function(e){s.default.removeAllListeners(),u.unload(e)},this.hide=function(){u.hide()},this.get=function(e,t){new g.default(r).get(e,(function(e,n){e?t(e):t(null,u.addPlayerDimensions(n))}))},this.canRecord=function(){return function(e){return o||(o=new b.default(e)),o}(r).canRecord()},this.isDirty=function(){return u.isDirty()},this.isRecording=function(){return u.isRecording()},this.submit=function(){u.submit()},this.getLogLines=function(){if(r.logger&&r.logger.getLines)return r.logger.getLines()},n=!1,s.default.interactive((function(e){c("Client: interactive(),","previousState =",e+",","!building =",!n+",","!isBuilt() =",!u.isBuilt()),n||u.isBuilt()||(n=!0,u.build(),n=!1)}))};u.default.inherits(v,p.default),Object.keys(c.default.public).forEach((function(e){v[e]=c.default.public[e]})),v.events=f.default;var w=v;n.default=w},{"./constants":325,"./events":326,"./options":327,"./resource":328,"./util/browser":330,"./util/collectLogger":331,"./util/eventEmitter":332,"./wrappers/container":339,"./wrappers/optionsWrapper":342,"./wrappers/visuals/replay":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/web.dom-collections.for-each.js":228,deepmerge:234,readystate:292,util:316}],325:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={SITE_NAME_LABEL:"x-videomail-site-name",VERSION_LABEL:"videomailClientVersion",public:{ENC_TYPE_APP_JSON:"application/json",ENC_TYPE_FORM:"application/x-www-form-urlencoded"}}},{"core-js/modules/es.object.define-property.js":193}],326:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(0,r(e("keymirror")).default)({BUILT:null,FORM_READY:null,LOADING_USER_MEDIA:null,USER_MEDIA_READY:null,CONNECTING:null,CONNECTED:null,DISCONNECTED:null,COUNTDOWN:null,RECORDING:null,STOPPING:null,PROGRESS:null,BEGIN_AUDIO_ENCODING:null,BEGIN_VIDEO_ENCODING:null,RESETTING:null,PAUSED:null,RESUMING:null,PREVIEW:null,PREVIEW_SHOWN:null,REPLAY_SHOWN:null,INVALID:null,VALIDATING:null,VALID:null,SUBMITTING:null,SUBMITTED:null,ERROR:null,BLOCKING:null,SENDING_FIRST_FRAME:null,FIRST_FRAME_SENT:null,HIDE:null,NOTIFYING:null,ENABLING_AUDIO:null,DISABLING_AUDIO:null,LOADED_META_DATA:null,EVENT_EMITTED:null,GOING_BACK:null,STARTING_OVER:null,ASKING_WEBCAM_PERMISSION:null,VISIBLE:null,INVISIBLE:null,SWITCH_FACING_MODE:null});n.default=i},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,keymirror:273}],327:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("../../package.json"),i={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",cache:!0,insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",replayClass:"replay",userMediaClass:"userMedia",visualsClass:"visuals",buttonClass:null,buttonsClass:"buttons",recordButtonClass:"record",pauseButtonClass:"pause",resumeButtonClass:"resume",previewButtonClass:"preview",recordAgainButtonClass:"recordAgain",submitButtonClass:"submit",subjectInputName:"subject",fromInputName:"from",toInputName:"to",bodyInputName:"body",sendCopyInputName:"sendCopy",keyInputName:"videomail_key",parentKeyInputName:"videomail_parent_key",aliasInputName:"videomail_alias",formId:null,submitButtonId:null,submitButtonSelector:null},audio:{enabled:!1,switch:!1,volume:.2,bufferSize:"auto"},video:{fps:15,limitSeconds:30,countdown:3,width:"auto",height:"auto",facingMode:"user",facingModeButton:!1},image:{quality:.44,types:["webp","jpeg"]},text:{pausedHeader:"Paused",pausedHint:null,sending:"Teleporting",encoding:"Encoding",limitReached:"Limit reached",audioOff:"Audio off",audioOn:"Audio on",buttons:{record:"Record video",recordAgain:"Record again",resume:"Resume",pause:"Pause",preview:"Preview"}},notifier:{entertain:!1,entertainClass:"bg",entertainLimit:6,entertainInterval:9e3},timeouts:{userMedia:2e4,connection:1e4,pingInterval:35e3},callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,subject:null,body:null},playerOnly:!1,displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:r.version};n.default=i}).call(this)}).call(this,e("_process"))},{"../../package.json":323,_process:279,"core-js/modules/es.object.define-property.js":193}],328:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t={};function n(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function r(e,t){return t&&t.body&&t.body.error&&!(e=t.body.error).message&&t.text&&(e.message=t.text),e}function a(n,a,s,u){u||(u=s,s=null);var l={},c=e.baseUrl+"/videomail/";s&&(c+=s);var f=(0,o.default)(n,c);l[i.default.SITE_NAME_LABEL]=e.siteName,f.query(l).send(a).timeout(e.timeout).end((function(n,i){if(n=r(n,i))u(n);else{var o=i.body&&i.body.videomail?i.body.videomail:null;e.cache&&a.alias&&(t[a.alias]=o),u(null,o,i.body)}}))}this.get=function(n,a){e.cache&&t[n]?setTimeout((function(){a(null,t[n])}),0):function(n,a){o.default.get("/videomail/"+n+"/snapshot").set("Accept","application/json").set(i.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(n,i){if(n=r(n,i))a(n);else{var o=i.body?i.body:null;e.cache&&(t.alias=o),a(null,o)}}))}(n,a)},this.reportError=function(t,n){var a={},s=e.baseUrl+"/client-error/",u=(0,o.default)("post",s);a[i.default.SITE_NAME_LABEL]=e.siteName,u.query(a).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?n&&n(e):n&&n()}))},this.post=function(t,r){(t=function(t){return e.defaults&&(t=n(t,"from"),t=n(t,"to"),t=n(t,"subject"),t=n(t,"body")),t}(t))[i.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(t,(function(e,t){e?r(e):a("post",t,r)})):a("post",t,r)},this.put=function(e,t){a("put",e,e.key,t)},this.form=function(t,n,a){var s;switch(e.enctype){case i.default.public.ENC_TYPE_APP_JSON:s="json";break;case i.default.public.ENC_TYPE_FORM:s="form";break;default:setTimeout((function(){a(new Error("Invalid enctype given: "+e.enctype))}),0)}s&&o.default.post(n).type(s).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?a(e):a(null,t)}))}};var i=r(e("./constants")),o=r(e("superagent"))},{"./constants":325,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,superagent:300}],329:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,u,l=new o.default(t);function c(){return window.AudioContext||window.webkitAudioContext}function f(){return!!c()&&!!d()}function d(){if(!u){var e=c();u=new e}return u}this.init=function(e){t.debug("AudioRecorder: init()");var i=d().createGain();try{r=d().createMediaStreamSource(e)}catch(e){throw a.default.create("Webcam has no audio",e.toString(),t)}var o=t.audio.bufferSize;if("auto"===o&&(o=l.isFirefox()?512:2048),!(0,s.default)(o))throw a.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw a.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=d().createScriptProcessor(o,1,1),r.connect(n),n.connect(d().destination),r.connect(i),i.connect(n)},this.record=function(r){t.debug("AudioRecorder: record()"),n.onaudioprocess=function(t){!function(t,n){if(e.isRecording()&&!e.isPaused()){var r=t.inputBuffer.getChannelData(0);n(new i.default(r))}}(t,r)}},this.stop=function(){t.debug("AudioRecorder: stop()"),n&&(n.onaudioprocess=void 0),r&&r.disconnect(),f()&&(d().close?d().close().then((function(){t.debug("AudioRecorder: audio context is closed"),u=null})).catch((function(e){throw a.default.create(e,t)})):u=null)},this.getSampleRate=function(){return f()?d().sampleRate:-1}},e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js");var i=r(e("audio-sample")),o=r(e("./browser")),a=r(e("./videomailError")),s=r(e("is-power-of-two"))},{"./browser":330,"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"audio-sample":6,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"is-power-of-two":270}],330:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.parse-float.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.array-buffer.constructor.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js");var o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError")),u=function(e){e=e||{};var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),p="Chrome"===c.browser.name,h="Chromium"===c.browser.name,y="Firefox"===c.browser.name,m=parseFloat(c.os.version),b="Windows"===c.os.name,g="Edge"===c.browser.name||b&&m>=10,v=/IE/.test(c.browser.name),w=/Safari/.test(c.browser.name),j=/Opera/.test(c.browser.name),E=/Android/.test(c.os.name),x=p||h,S="Facebook"===c.browser.name,_=f||E,A=w&&d>=11,R=f&&m>=11,k=f&&m<11,O=e.fakeHttps||"https:"===window.location.protocol,T=x||y||E||j||g||A||R,M=this;function I(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to <a href="'+n+'" target="_blank">upgrade Firefox</a> to fix this.':p?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to <a href="'+u+'" target="_blank">upgrade Chrome</a> to fix this.':h?e='Probably you need to <a href="http://www.chromium.org/getting-involved/download-chromium" target="_blank">upgrade Chromium</a> to fix this.':v?e='Instead of Internet Explorer you need to upgrade to <a href="'+r+'" target="_blank">Edge</a>.':A?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e='Safari below version 11 has no webcam support.<br/>Better upgrade Safari or pick <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or Android.'),e}function P(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/"+t)),""!==n&&n}this.canRecord=function(){var e="undefined"!=typeof navigator,t=!1;e&&navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?t=!0:t="function"===(e&&(0,i.default)(navigator.getUserMedia_));return t},this.checkRecordingCapabilities=function(){var t,i;if(O){if(!T||!this.canRecord()){var o,a=[];k?a.push(s.default.IOS_PROBLEM):a.push(s.default.BROWSER_PROBLEM),o=T?_?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":_?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",k&&(e.reportErrors=!1),t=s.default.create({message:o},((i=k?"On iPads or iPhones below iOS v11 this camera feature is missing.<br/><br/>For now, we recommend you to upgrade iOS or to use an Android device.":I())||(i=M.isChromeBased()||M.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?'Hence we recommend you to use a real browser like <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or <a href="'+r+'" target="_blank">Edge</a>.':'Hence we recommend you to use either <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a>, <a href="'+r+'" target="_blank">Edge</a> or Android.'),i),e,{classList:a})}}else t=s.default.create({message:"Sorry, your page is insecure"},"Please switch to HTTPS to ensure all is encrypted.",e,{classList:[s.default.BROWSER_PROBLEM]});return t},this.checkPlaybackCapabilities=function(t){var n,r,i;return e.debug("Browser: checkPlaybackCapabilities()"),t?this.getVideoType(t)?t.setAttribute||(r="Unable to set video attributes in your old browser"):r="Your old browser cannot support modern video codecs":r="No HTML5 support for video tag!",r&&(n=s.default.create(r,((i=I())||(i='<a href="http://browsehappy.com" target="_blank">Upgrading your browser</a> might help.'),i),e)),n},this.checkBufferTypes=function(){var t;return"undefined"==typeof window||void 0===window.atob?t=s.default.create("atob is not supported",e):void 0===window.ArrayBuffer?t=s.default.create("ArrayBuffers are not supported",e):void 0===window.Uint8Array&&(t=s.default.create("Uint8Arrays are not supported",e)),t},this.getVideoType=function(e){if(e)return t||(P(e,"mp4")&&!x?t="mp4":P(e,"webm")&&(t="webm")),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam.":this.isFirefox()?"Please grant Firefox access to your webcam.":"Your system does not let your browser access your webcam.",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return x},this.isFirefox=function(){return y},this.isEdge=function(){return g},this.isAndroid=function(){return E},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return A},this.getUsefulData=function(){return{browser:c.browser,device:c.device,os:c.os,engine:c.engine,userAgent:l}}};n.default=u},{"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array-buffer.constructor.js":184,"core-js/modules/es.array-buffer.slice.js":185,"core-js/modules/es.array.iterator.js":188,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.parse-float.js":197,"core-js/modules/es.regexp.exec.js":200,"core-js/modules/es.typed-array.copy-within.js":204,"core-js/modules/es.typed-array.every.js":205,"core-js/modules/es.typed-array.fill.js":206,"core-js/modules/es.typed-array.filter.js":207,"core-js/modules/es.typed-array.find-index.js":208,"core-js/modules/es.typed-array.find.js":209,"core-js/modules/es.typed-array.for-each.js":210,"core-js/modules/es.typed-array.includes.js":211,"core-js/modules/es.typed-array.index-of.js":212,"core-js/modules/es.typed-array.iterator.js":213,"core-js/modules/es.typed-array.join.js":214,"core-js/modules/es.typed-array.last-index-of.js":215,"core-js/modules/es.typed-array.map.js":216,"core-js/modules/es.typed-array.reduce-right.js":217,"core-js/modules/es.typed-array.reduce.js":218,"core-js/modules/es.typed-array.reverse.js":219,"core-js/modules/es.typed-array.set.js":220,"core-js/modules/es.typed-array.slice.js":221,"core-js/modules/es.typed-array.some.js":222,"core-js/modules/es.typed-array.sort.js":223,"core-js/modules/es.typed-array.subarray.js":224,"core-js/modules/es.typed-array.to-locale-string.js":225,"core-js/modules/es.typed-array.to-string.js":226,"core-js/modules/es.typed-array.uint8-array.js":227,defined:235,"ua-parser-js":312}],331:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new o.default(e),n=e.logger||console,r=e.selectors&&e.selectors.containerId||"undefined container id",a=[];function s(t,n){var r=i.default.format.apply(i.default,n);return a.length>e.logStackSize&&a.pop(),a.push("["+t+"] "+r),r}function u(e){return"#"+r+" ["+(new Date).toLocaleTimeString()+"] > "+e}this.debug=function(){var r=[].slice.call(arguments,0);r[0]=u(r[0]);var i=s("debug",r);e.verbose&&(t.isFirefox()?n.debug(i):n.groupCollapsed?(n.groupCollapsed(i),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(i):console.log(i))},this.error=function(){var e=[].slice.call(arguments,0);e[0]=u(e[0]),n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);e[0]=u(e[0]),n.warn(s("warn",e))},this.getLines=function(){return a}},e("core-js/modules/es.array.slice.js");var i=r(e("util")),o=r(e("./browser"))},{"./browser":330,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":190,"core-js/modules/es.object.define-property.js":193,util:316}],332:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,s=Array.prototype.slice.call(arguments,0);if(!n)throw o.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var u=s[1];u=o.default.create(u,e),s[1]=u}e.debug&&("removeListener"!==n&&"newListener"!==n&&(s[1]&&(r=s.slice(1)),r?e.debug("%s emits: %s",t,n,r):e.debug("%s emits: %s",t,n)));var l=i.default.emit.apply(i.default,s);return l},this.on=function(e,t){return i.default.on(e,t)},this.once=function(e,t){return i.default.once(e,t)},this.listeners=function(e){return i.default.listeners(e)},this.removeListener=function(e,t){return i.default.removeListener(e,t)},this.removeAllListeners=function(){i.default.removeAllListeners()}},e("core-js/modules/es.array.slice.js");var i=r(e("despot")),o=r(e("./videomailError")),a=r(e("./../events"))},{"./../events":326,"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":190,"core-js/modules/es.object.define-property.js":193,despot:236}],333:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("filesize")),o=r(e("humanize-duration")),a={filesize:function(e,t){return(0,i.default)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}};n.default=a},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,filesize:244,"humanize-duration":259}],334:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=["loadstart","suspend","progress","abort","emptied","stalled","pause","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","ended","ratechange","durationchange","volumechange"]},{"core-js/modules/es.object.define-property.js":193}],335:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return e;if(Array.isArray(e))return function(e){if(e&&e.length>0){var t=[];return e.forEach((function(e){e&&t.push((0,o.default)(e))})),a+t.join(s)}}(e);if("object"===(0,i.default)(e))return function(e,t){var n,r=Object.getOwnPropertyNames(e),i=t&&t.excludes||[],u=[];if(i.push("stack"),r&&r.length>0){var l=!1;r.forEach((function(t){i&&(l=i.indexOf(t)>=0),!l&&e[t]&&u.push((0,o.default)(e[t]))}))}1===u.length?n=u.join():u.length>1&&(n=a+u.join(s));return n}(e,t);return e.toString()};var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.object.get-own-property-names.js"),e("core-js/modules/es.array.index-of.js"),e("core-js/modules/es.regexp.to-string.js");var o=r(e("safe-json-stringify")),a="- ",s="<br/>- "},{"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.array.index-of.js":187,"core-js/modules/es.array.join.js":189,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.get-own-property-names.js":194,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/web.dom-collections.for-each.js":228,"safe-json-stringify":296}],336:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.screen||(e.screen={});(0,i.default)("native"),t.mediaDevices&&t.mediaDevices.getUserMedia||(t.getUserMedia_=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia||t.msGetUserMedia);!e.AudioContext&&e.webkitAudioContext&&(e.AudioContext=e.webkitAudioContext);e.URL||(e.URL=e.webkitURL||e.mozURL||e.msURL);t.connection||(t.connection=t.mozConnection||t.webkitConnection);var n,r=["debug","groupCollapsed","groupEnd","error","exception","info","log","trace","warn"],o={};e.console?o=e.console:e.console=function(){};var a=r.length;for(;a--;)n=r[a],o[n]||(o[n]=function(){})},e("classlist.js");var i=r(e("request-frame"))},{"@babel/runtime/helpers/interopRequireDefault":1,"classlist.js":16,"core-js/modules/es.object.define-property.js":193,"request-frame":294}],337:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.index-of.js");var o=r(e("./../resource")),a=r(e("create-error")),s=r(e("./pretty")),u=r(e("util")),l="Videomail Error",c=(0,a.default)(Error,l,{explanation:void 0,logLines:void 0,useragent:void 0,url:void 0,stack:void 0}),f=function(e){return(0,s.default)(e,{excludes:["stack"]})};c.PERMISSION_DENIED="PERMISSION_DENIED",c.NOT_ALLOWED_ERROR="NotAllowedError",c.NOT_CONNECTED="Not connected",c.DOM_EXCEPTION="DOMException",c.STARTING_FAILED="Starting video failed",c.MEDIA_DEVICE_NOT_SUPPORTED="MediaDeviceNotSupported",c.BROWSER_PROBLEM="browser-problem",c.WEBCAM_PROBLEM="webcam-problem",c.IOS_PROBLEM="ios-problem",c.OVERCONSTRAINED="OverconstrainedError",c.NOT_FOUND_ERROR="NotFoundError",c.NOT_READABLE_ERROR="NotReadableError",c.SECURITY_ERROR="SecurityError",c.TRACK_START_ERROR="TrackStartError",c.INVALID_STATE_ERROR="InvalidStateError",c.create=function(t,n,r,a){if(t&&t.name===l)return t;!r&&n&&(r=n,n=void 0),a=a||{};var s=(r=r||{})&&r.debug||console.log,d=r&&r.isAudioEnabled&&r.isAudioEnabled();s("VideomailError: create()",t,n||"(no explanation set)");var p,h,y,m=a.classList||[],b=new(0,e("./browser").default)(r);switch("object"===(0,i.default)(t)?t.name===c.TRACK_START_ERROR?p=c.TRACK_START_ERROR:t.name===c.SECURITY_ERROR?p=c.SECURITY_ERROR:8===t.code&&t.name===c.NotFoundError?p=c.NotFoundError:35===t.code||t.name===c.NOT_ALLOWED_ERROR?p=c.NOT_ALLOWED_ERROR:1===t.code&&1===t.PERMISSION_DENIED?p=c.PERMISSION_DENIED:t.constructor&&t.constructor.name===c.DOM_EXCEPTION?p=t.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:t.constructor&&t.constructor.name===c.OVERCONSTRAINED?p=c.OVERCONSTRAINED:t.message===c.STARTING_FAILED?p=t.message:t.name?p=t.name:"error"===t.type&&0===t.target.bufferedAmount&&(p=c.NOT_CONNECTED):p=t===c.NOT_CONNECTED?c.NOT_CONNECTED:t,y=t&&t.stack?t.stack:(new Error).stack,p){case c.SECURITY_ERROR:h="The operation was insecure",n="Probably you have disallowed Cookies for this page?",m.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:h="Invalid webcam constraints",n=t.constraint?"width"===t.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: "+t.constraint:t.toString();break;case"MediaDeviceFailedDueToShutdown":h="Webcam is shutting down",n="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":h="Source of your webcam cannot be accessed",n="Probably it is locked from another process or has a hardware error.",t.message&&(t.message+=" Details: "+t.message);break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":d?(h="No webcam nor microphone found",n="Your browser cannot find a webcam with microphone attached to your machine."):(h="No webcam found",n="Your browser cannot find a webcam attached to your machine."),m.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":h="Ooops, you didn't give me any permissions?",n="Looks like you skipped the webcam permission dialogue.<br/>Please grant access next time the dialogue appears.",m.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":h="Permission denied",n="Cannot access your webcam. This can have two reasons:<br/>a) you blocked access to webcam; or<br/>b) your webcam is already in use.",m.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":h="Webcam is unavailable",n="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(n+=" Or you have to allow access above?"),m.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:h="Unable to connect",n="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":h="No video feed found!",n="Your webcam is already used in another browser.",m.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:h="Starting video failed",n="Most likely this happens when the webam is already active in another browser.",m.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":h="No available webcam could be found",n="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",m.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:h="No access to webcam",n="A hardware error occurred which prevented access to your webcam.",m.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:h="Invalid state",n="Video recording stream from your webcam already has finished.",m.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(t.code){case 8:h="Requested webcam not found",n="A webcam is needed but could not be found.",m.push(c.WEBCAM_PROBLEM);break;case 9:h="Security upgrade needed",n='Click <a href="'+("https:"+window.location.href.substring(window.location.protocol.length))+'">here</a> to switch to HTTPs which is more safe and enables encrypted videomail transfers.',m.push(c.BROWSER_PROBLEM);break;case 11:h="Invalid State",n="The object is in an invalid, unusable state.",m.push(c.BROWSER_PROBLEM);break;default:h="DOM Exception",n=f(t),m.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:h="Media device not supported",n=f(t);break;default:var g=n;if(n&&"object"===(0,i.default)(n)&&(n=f(n)),!n&&g&&(n=g.message?g.message:"Inspected: "+u.default.inspect(g,{showHidden:!0})),t)if("string"==typeof t)h=t;else if(t.message&&(h=f(t.message)),t.explanation&&(n?n+=";<br/>"+f(t.explanation):n=f(t.explanation)),t.details){var v=f(t.details);n?n+=";<br/>"+v:n=v}h||(p&&(h=p),!n&&t&&(n=f(t)),f(h)===n&&(n=void 0))}var w=null;r.logger&&r.logger.getLines&&(w=r.logger.getLines()),y&&((h=new Error(h)).stack=y);var j="none";t&&(j="code="+(t.code?t.code:"undefined"),j+=", type="+(t.type?t.type:"undefined"),j+=", name="+(t.name?t.name:"undefined"),j+=", message="+(t.message?t.message:"undefined"));var E,x=new c(h,{explanation:n,logLines:w,client:b.getUsefulData(),url:window.location.href,siteName:r.siteName,code:j,stack:y}),S=!1;function _(e){return m.indexOf(e)>=0}return r.reportErrors&&(S="function"==typeof r.reportErrors?r.reportErrors(x):r.reportErrors),S&&(E=new o.default(r)),E&&E.reportError(x,(function(e){e&&console.error("Unable to report error",e)})),x.getClassList=function(){return m},x.removeDimensions=function(){return _(c.IOS_PROBLEM)||b.isMobile()},x.hideButtons=function(){return _(c.BROWSER_PROBLEM)||a.browserProblem||_(c.IOS_PROBLEM)},x.hideForm=function(){return _(c.IOS_PROBLEM)},x};var d=c;n.default=d},{"./../resource":328,"./browser":330,"./pretty":335,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.index-of.js":187,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"create-error":233,util:316}],338:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.function.name.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("contains")),u=r(e("./../events")),l=r(e("./../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,i,c,f,d,p,h,y,m,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,a.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,a.default)(e,!1)}))}function j(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t=t&&e&&!(0,a.default)(e)})),t}function E(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){e&&("INPUT"===e.tagName||"BUTTON"===e.tagName?e.disabled=!0:e.classList.add("disabled"))}))}function x(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){e&&("INPUT"===e.tagName||"BUTTON"===e.tagName?e.disabled=!1:e.classList.remove("disabled"))}))}function S(e,t,n,r){return r&&E(e),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function _(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function A(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,o.default)("input#"+e.id,{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,o.default)("span.radioGroup",t,(0,o.default)("label",{htmlFor:e.id},e.label)),p&&(0,s.default)(n,p)?n.insertBefore(r,p):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),E(t),[t,r]}function R(e,r,i,a,u,l,c){var f,d=!(arguments.length>7&&void 0!==arguments[7])||arguments[7];return(f=u?document.getElementById(u):c?document.querySelector(c):n.querySelector("."+e))?f=S(f,a,l,d):(t.selectors.buttonClass&&(e+="."+t.selectors.buttonClass),(f=S(f=(0,o.default)("button."+e),a,l,d)).innerHTML=r,p&&(0,s.default)(n,p)?n.insertBefore(f,p):n.appendChild(f)),i&&_(f,i),f}function k(e){j(d)||e.paused||w(r),e.paused||(E(f),v(f)),t.enableAutoValidation||x(p)}function O(){v(r),v(d),i&&(w(i),x(i)),x(f),w(f)}function T(){E(d),e.beginWaiting(),e.recordAgain()}function M(){e.submit()}function I(t){E(r),e.record(t)}function P(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){k(e),j(r)&&x(r),j(h)&&x(h),j(y)&&x(y),t.enableAutoValidation&&E(p)}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),E(h),E(y),w(d),x(d),t.enableAutoValidation||x(p)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?O():(E(y),E(h),E(d),E(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){O()})).on(u.default.RESUMING,(function(){v(c),v(r),i&&(x(i),w(i))})).on(u.default.STOPPING,(function(){E(f),v(i),v(c)})).on(u.default.COUNTDOWN,(function(){E(r),E(y),E(h)})).on(u.default.SUBMITTING,(function(){E(p),E(d)})).on(u.default.RESETTING,(function(){E(p),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&E(p)})).on(u.default.VALID,(function(){t.enableAutoValidation&&x(p)})).on(u.default.SUBMITTED,(function(){E(f),E(d),E(r),E(p)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c)})).on(u.default.FORM_READY,(function(e){k(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(p)})).on(u.default.ENABLING_AUDIO,(function(){E(r),E(h),E(y)})).on(u.default.DISABLING_AUDIO,(function(){E(r),E(h),E(y)})).on(u.default.STARTING_OVER,(function(){w(p)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){x(p)},this.adjustButtonsForPause=function(){b.isCountingDown()||(i&&v(i),w(c),x(c),v(r),w(f),x(f))},this.reset=function(){t.debug("Buttons: reset()"),E(i),E(c),E(r),E(f),E(d)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){p=e},this.getSubmitButton=function(){return p},this.build=function(){(n=e.querySelector("."+t.selectors.buttonsClass))||(n=(0,o.default)("div."+t.selectors.buttonsClass),e.appendChild(n)),t.disableSubmit||(p?E(p):p=R(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&p&&_(p,M)),r=R(t.selectors.recordButtonClass,t.text.buttons.record,I,!1),t.enablePause&&(i=R(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=R(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=R(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=R(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,T,!1),t.audio&&t.audio.switch&&(y=A({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),h=A({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!m&&P(),m=!0},this.unload=function(){m=!1},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(i),v(c),v(f),v(d),v(p))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};i.default.inherits(c,l.default);var f=c;n.default=f},{"./../events":326,"./../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,contains:18,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,util:316}],339:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.function.name.js");var i=r(e("./buttons")),o=r(e("./dimension")),a=r(e("./../util/eventEmitter")),s=r(e("./../events")),u=r(e("./form")),l=r(e("./optionsWrapper")),c=r(e("./../resource")),f=r(e("./../util/videomailError")),d=r(e("document-visibility")),p=r(e("./visuals")),h=r(e("./../../styles/css/main.min.css.js")),y=r(e("element-closest")),m=r(e("hidden")),b=r(e("insert-css")),g=r(e("util"));(0,y.default)(window);var v=function(e){a.default.call(this,e,"Container");var t,n,r,y=this,g=(0,d.default)(),v=new p.default(this,e),w=new i.default(this,e),j=new c.default(e),E=document&&document.querySelector&&document.querySelector("html"),x=e.debug,S=!1,_=!1,A=!1;function R(){return"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):t.closest("form")}function k(){x("Container: initEvents()"),window.addEventListener("beforeunload",(function(e){y.unload(e)})),e.playerOnly||g.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&y.isCountingDown()&&y.resume(),y.emit(s.default.VISIBLE)):(e.isAutoPauseEnabled()&&(y.isCountingDown()||y.isRecording())&&y.pause("document invisible"),y.emit(s.default.INVISIBLE)))})),e.enableSpace&&(e.playerOnly||window.addEventListener("keypress",(function(t){var n=t.target.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===n||"TEXTAREA"===n||32===(t.keyCode?t.keyCode:t.which)&&(t.preventDefault(),e.enablePause?v.pauseOrResume():v.recordOrStop())}))),y.on(s.default.ERROR,(function(n){!function(t){S=!0,t.stack?e.logger.error(t.stack):e.logger.error(t),e.displayErrors?v.error(t):v.reset()}(n),T(n),n.removeDimensions&&n.removeDimensions()&&(t.style.width="auto")})),e.playerOnly||y.on(s.default.LOADED_META_DATA,(function(){O()}))}function O(){var n=v.getRecorderWidth(!0);if(n<1)throw f.default.create("Recorder width cannot be less than 1!",e);t.style.width=n+"px"}function T(e){v.unload(e),w.unload(),y.endWaiting()}function M(e){return e.replace(/(^[,\s]+)|([,\s]+$)/g,"")}function I(t,n,r,i){r&&""!==r||(r=document.baseURI),n&&(t[e.selectors.aliasInputName]=n.videomail.alias,e.submitWithVideomail&&(t.videomail=n.videomail)),j.form(t,r,i)}function P(e,t,n,r,i){y.endWaiting(),e?y.emit(s.default.ERROR,e):(_=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),y.emit(s.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}function C(e){return e&&"POST"===e.toUpperCase()}this.addPlayerDimensions=function(e,t){try{return e.playerHeight=this.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=this.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){y.emit(s.default.ERROR,e)}},this.limitWidth=function(n){return o.default.limitWidth(t,n,e)},this.limitHeight=function(t){return o.default.limitHeight(t,e)},this.calculateWidth=function(t){return o.default.calculateWidth(l.default.merge(e,t,!0))},this.calculateHeight=function(n,r){return r||(r=t||document.body),o.default.calculateHeight(r,l.default.merge(e,n,!0))},this.areVisualsHidden=function(){return v.isHidden()},this.hasElement=function(){return!!t},this.build=function(){try{(t=document.getElementById(e.selectors.containerId))&&(e.insertCss&&(0,b.default)(h.default,{prepend:!0}),!n&&k(),function(){if(e.hasDefinedWidth()&&e.video.width%2!=0)throw f.default.create("Width must be divisible by two.",e);if(e.hasDefinedHeight()&&e.video.height%2!=0)throw f.default.create("Height must be divisible by two.",e)}(),O(),e.playerOnly||function(){var t=R();if(t){x("Container: buildForm()");var n=(r=new u.default(y,t,e)).findSubmitButton();n&&w.setSubmitButton(n),r.build()}}(),x("Container: buildChildren()"),t.classList?(t.classList.add("videomail"),e.playerOnly||w.build(),v.build()):y.emit(s.default.ERROR,f.default.create("Sorry, your browser is too old!",e)),S?x("Container: building failed due to an error."):(x("Container: built."),n=!0,y.emit(s.default.BUILT)))}catch(e){if(!v.isNotifierBuilt())throw e;y.emit(s.default.ERROR,e)}},this.getSubmitButton=function(){return w.getSubmitButton()},this.querySelector=function(e){return t.querySelector(e)},this.beginWaiting=function(){E.classList&&E.classList.add("wait")},this.endWaiting=function(){E.classList&&E.classList.remove("wait")},this.appendChild=function(e){t.appendChild(e)},this.insertBefore=function(e,n){t.insertBefore(e,n)},this.unload=function(e){x("Container: unload()",e);try{T(e),this.removeAllListeners(),n=_=!1}catch(e){y.emit(s.default.ERROR,e)}},this.show=function(){if(t&&((0,m.default)(t,!1),v.show(),!S)){var e=y.isPaused();e&&w.adjustButtonsForPause(),w.show(),y.isReplayShown()?y.emit(s.default.PREVIEW):y.emit(s.default.FORM_READY,{paused:e})}},this.hide=function(){x("Container: hide()"),S=!1,this.isRecording()&&this.pause(),v.hide(),_&&(w.hide(),(0,m.default)(t,!0))},this.startOver=function(e){try{y.emit(s.default.STARTING_OVER),_=!1,r.show(),v.back(e,(function(){e.keepHidden?y.enableForm():y.show(e)}))}catch(e){y.emit(s.default.ERROR,e)}},this.showReplayOnly=function(){S=!1,this.isRecording()&&this.pause(),v.showReplayOnly(),_&&w.hide()},this.isNotifying=function(){return v.isNotifying()},this.isPaused=function(){return v.isPaused()},this.pause=function(e){v.pause(e)},this.validate=function(t){var n,i=!0;if(e.enableAutoValidation?t?i=t:y.isNotifying()?i=!1:v.isConnected()?i=v.isUserMediaLoaded()||v.isReplayShown():v.isConnecting()&&(i=!1):(i=!1,A=!0),i){this.emit(s.default.VALIDATING);var o,a=v.validate()&&w.isRecordAgainButtonEnabled();if(r)if(n=r.validate())this.areVisualsHidden()||a||((_||this.isReady()||this.isRecording()||this.isPaused()||this.isCountingDown())&&(n=!1),n||(o="Video is not recorded"));else{var u=r.getInvalidElement();o=u?"Form input named "+u.name+" is invalid":"Form input(s() are invalid"}else n=a;n?this.emit(s.default.VALID):this.emit(s.default.INVALID,o),A=n}return n},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return!!r},this.isReady=function(){return w.isRecordButtonEnabled()},this.submitAll=function(t,n,r){var i=C(n);function o(){y.beginWaiting(),y.disableForm(!0),y.emit(s.default.SUBMITTING)}!!t[e.selectors.keyInputName]?(o(),function(t,n,r){var i={subject:e.selectors.subjectInputName,from:e.selectors.fromInputName,to:e.selectors.toInputName,body:e.selectors.bodyInputName,key:e.selectors.keyInputName,parentKey:e.selectors.parentKeyInputName,sendCopy:e.selectors.sendCopyInputName},o={};Object.keys(i).forEach((function(e){var n=i[e];n in t&&(o[e]=t[n])})),o.from&&(o.from=M(o.from)),o.to&&(o.to=M(o.to)),C(n)||!n?(o.recordingStats=v.getRecordingStats(),o.width=v.getRecorderWidth(!0),o.height=v.getRecorderHeight(!0),navigator.connection&&(o.connection={downlink:navigator.connection.downlink+" Mbit/s",effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),j.post(o,r)):function(e){return e&&"PUT"===e.toUpperCase()}(n)&&j.put(o,r)}(t,n,(function(e,n,o){e?P(e,0,n,o):i?I(t,o,r,(function(e,t){P(e,0,n,o,t)})):P(null,0,n,o)}))):e.enableAutoSubmission&&(o(),I(t,null,r,(function(e,t){P(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return v.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(v.isRecorderUnloaded()?e=!1:(this.isReplayShown()||this.isPaused())&&(e=!0)),e},this.getReplay=function(){return v.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),w&&w.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),this.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),this.emit(s.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),this.emit(s.default.DISABLING_AUDIO)},this.submit=function(){A&&r&&r.doTheSubmit()},this.isCountingDown=v.isCountingDown.bind(v),this.isRecording=v.isRecording.bind(v),this.record=v.record.bind(v),this.resume=v.resume.bind(v),this.stop=v.stop.bind(v),this.recordAgain=v.recordAgain.bind(v)};g.default.inherits(v,a.default);var w=v;n.default=w},{"./../../styles/css/main.min.css.js":354,"./../events":326,"./../resource":328,"./../util/eventEmitter":332,"./../util/videomailError":337,"./buttons":338,"./dimension":340,"./form":341,"./optionsWrapper":342,"./visuals":343,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.exec.js":200,"core-js/modules/es.string.replace.js":203,"core-js/modules/web.dom-collections.for-each.js":228,"document-visibility":237,"element-closest":239,hidden:258,"insert-css":264,util:316}],340:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.parse-int.js");var i=r(e("number-is-integer")),o=r(e("./../util/videomailError"));function a(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),(0,i.default)(e)&&e<1)throw o.default.create("Got a video height less than 1 ("+e+") while figuring out the minimum!",t);return e}var s={limitWidth:function(e,t,n){var r,a=function(e){var t=0,n=e.getBoundingClientRect();return n&&(t=n.right-n.left),t<1&&(t=(n=document.body.getBoundingClientRect()).right-n.left),t}(e);if(r=t?a>0&&a<t?a:t:a,(0,i.default)(r)&&r<1)throw o.default.create("Limited width cannot be less than 1!",n);return r},limitHeight:function(e,t){if((0,i.default)(e)&&e<1)throw o.default.create("Passed limit-height argument cannot be less than 1!",t);var n=Math.min(e,document.documentElement.clientHeight);if(n<1)throw o.default.create("Limited height cannot be less than 1!",t);return n},calculateWidth:function(e){var t=e.videoHeight||null,n=e.ratio||e.getRatio();if(t=a(t,e),e.responsive&&(t=this.limitHeight(t,e)),(0,i.default)(t)&&t<1)throw o.default.create("Height cannot be smaller than 1 when calculating width.",e);var r=parseInt(t/n);if(r<1)throw o.default.create("Calculated width cannot be smaller than 1!",e);return r},calculateHeight:function(e,t){var n,r=t.videoWidth||null,s=t.ratio||t.getRatio();if(t.hasDefinedWidth()&&(r=t.video.width),(0,i.default)(r)&&r<1)throw o.default.create("Unable to calculate height when width is less than 1.",t);if(t.responsive&&(r=this.limitWidth(e,r,t)),r&&(n=parseInt(r*s)),(0,i.default)(n)&&n<1)throw o.default.create("Just calculated a height less than 1 which is wrong.",t);return a(n,t)}};n.default=s},{"./../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.parse-int.js":198,"number-is-integer":274}],341:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.function.name.js");var i=r(e("./../util/eventEmitter")),o=r(e("./../events")),a=r(e("./../util/videomailError")),s=r(e("get-form-data")),u=r(e("hyperscript")),l=r(e("hidden")),c=function(e,t,n){i.default.call(this,n,"Form");var r,c,f=this;function d(e,n){for(var r,i=t.elements.length,o=0;o<i;o++)(n||!n&&("BUTTON"!==(r=t.elements[o]).tagName&&"submit"!==r.type))&&(t.elements[o].disabled=e)}function p(){return t.querySelectorAll("input, textarea")}function h(){return t.querySelectorAll("select")}this.loadVideomail=function(e){for(var r,i,o=t.elements.length,a=0;a<o;a++)e[i=(r=t.elements[a]).name]&&(r.value=e[i]),i!==n.selectors.subjectInputName&&i!==n.selectors.bodyInputName||(r.disabled=!0);t.setAttribute("method","put")},this.disable=function(e){d(!0,e)},this.enable=function(e){d(!1,e)},this.build=function(){if(n.enableAutoValidation){for(var i,s=p(),d=0,y=s.length;d<y;d++)"radio"===(i=s[d]).type?i.addEventListener("change",(function(){e.validate()})):i.addEventListener("input",(function(){e.validate()})),i.addEventListener("invalid",(function(){r||e.validate()}));for(var m=h(),b=0,g=m.length;b<g;b++)m[b].addEventListener("change",(function(){e.validate()}))}(c=t.querySelector('input[name="'+n.selectors.keyInputName+'"]'))||(c=(0,u.default)("input",{name:n.selectors.keyInputName,type:"hidden"}),t.appendChild(c)),this.on(o.default.PREVIEW,(function(e){e||c.value?e&&(c.value=e):f.emit(o.default.ERROR,a.default.create("Videomail key for preview is missing!",n))})),this.on(o.default.GOING_BACK,(function(){c.value=null})),this.on(o.default.ERROR,(function(e){var r;e.hideForm&&e.hideForm()&&n.adjustFormOnBrowserError?function(){for(var e=t.elements.length,n=0;n<e;n++)(0,l.default)(t.elements[n],!0);(0,l.default)(t,!0)}():e.hideButtons&&e.hideButtons()&&n.adjustFormOnBrowserError&&(r=f.findSubmitButton(),(0,l.default)(r,!0))})),this.on(o.default.BUILT,(function(){e.getSubmitButton().addEventListener("click",f.doTheSubmit.bind(f))}))},this.doTheSubmit=function(n){return n&&n.preventDefault(),e.hasElement()&&e.submitAll((0,s.default)(t,{includeDisabled:!0}),t.getAttribute("method"),t.getAttribute("action")),!1},this.getInvalidElement=function(){for(var e=p(),t=0,n=e.length;t<n;t++)if(!e[t].validity.valid)return e[t];for(var r=h(),i=0,o=r.length;i<o;i++)if(!r[i].validity.valid)return r[i];return null},this.validate=function(){r=!0;var e=t.checkValidity();return r=!1,e},this.findSubmitButton=function(){return t.querySelector("[type='submit']")},this.hide=function(){t&&(0,l.default)(t,!0)},this.show=function(){t&&(0,l.default)(t,!1)}};r(e("util")).default.inherits(c,i.default);var f=c;n.default=f},{"./../events":326,"./../util/eventEmitter":332,"./../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"get-form-data":248,hidden:258,hyperscript:260,util:316}],342:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("deepmerge")),o={addFunctions:function(e){var t=e.audio&&e.audio.enabled;e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedDimension=function(){return this.hasDefinedWidth()||this.hasDefinedHeight()},e.hasDefinedDimensions=function(){return this.hasDefinedWidth()&&this.hasDefinedHeight()},e.getRatio=function(){var e=1,t=this.videoHeight&&this.videoWidth;return this.hasDefinedDimensions()?e=t&&(this.videoHeight<this.video.height||this.videoWidth<this.video.width)?this.videoHeight/this.videoWidth:this.video.height/this.video.width:t&&(e=this.videoHeight/this.videoWidth),e},e.isAudioEnabled=function(){return t},e.setAudioEnabled=function(e){t=e},e.isAutoPauseEnabled=function(){return this.enableAutoPause&&this.enablePause}},merge:function(e,t){var n=(0,i.default)(e,t,{arrayMerge:function(e,t){return t}});return this.addFunctions(n),n}};n.default=o},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,deepmerge:234}],343:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("./visuals/replay")),u=r(e("./visuals/recorder")),l=r(e("./visuals/notifier")),c=r(e("./visuals/inside/recorderInsides")),f=r(e("./../util/eventEmitter")),d=r(e("./../events")),p=function(e,t){f.default.call(this,t,"Visuals");var n,r,i=this,p=new s.default(this,t),h=new u.default(this,p,t),y=new c.default(this,t),m=new l.default(this,t),b=t.debug;function g(){var r;b("Visuals: buildChildren()"),(r=e.querySelector("noscript"))||((r=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(r)),t.playerOnly||(m.build(),y.build()),p.build(),b("Visuals: built.")}function v(){t.playerOnly||(b("Visuals: initEvents()"),i.on(d.default.USER_MEDIA_READY,(function(){r=!0,i.endWaiting(),e.enableForm(!1)})).on(d.default.PREVIEW,(function(){i.endWaiting()})).on(d.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(d.default.PREVIEW_SHOWN,(function(){e.validate(!0)})).on(d.default.LOADED_META_DATA,(function(){w()})).on(d.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&(n.style.width="auto",n.style.height="auto")})))}function w(){n.style.width=i.getRecorderWidth(!0)+"px",n.style.height=i.getRecorderHeight(!0)+"px"}function j(){return!i.isNotifying()&&!p.isShown()&&!i.isCountingDown()}this.getRatio=function(){return n.clientWidth?n.clientHeight/n.clientWidth:0},this.isCountingDown=function(){return y.isCountingDown()},this.build=function(){if(!(n=e.querySelector("."+t.selectors.visualsClass))){n=(0,o.default)("div."+t.selectors.visualsClass);var a=e.querySelector("."+t.selectors.buttonsClass);a&&!e.isOutsideElementOf(a)?e.insertBefore(n,a):e.appendChild(n)}n.classList.add("visuals"),w(),!r&&v(),g(),i.parentNode=n.parentNode,r=!0},this.querySelector=function(e){return n&&n.querySelector(e)},this.appendChild=function(e){n&&n.appendChild(e)},this.removeChild=function(e){n.removeChild(e)},this.reset=function(){this.endWaiting(),h.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){h.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),p.hide(),m.hide(),e.keepHidden?(h.hide(),t&&t()):h.back(t)},this.recordAgain=function(){this.back((function(){i.once(d.default.USER_MEDIA_READY,(function(){i.record()}))}))},this.unload=function(e){try{h.unload(e),y.unload(e),p.unload(e),r=!1}catch(e){this.emit(d.default.ERROR,e)}},this.isNotifying=function(){return m.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){h.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():h.resume(),y.hidePause()},this.pauseOrResume=function(){j.call(this)&&(this.isRecording()?this.pause():h.isPaused()?this.resume():h.isReady()&&this.record())},this.recordOrStop=function(){j()&&(this.isRecording()?this.stop():h.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(d.default.COUNTDOWN),y.startCountdown(h.record.bind(h))):h.record()},this.getRecorder=function(){return h},this.getReplay=function(){return p},this.validate=function(){return h.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return h.getRecordingStats()},this.getAudioSampleRate=function(){return h.getAudioSampleRate()},this.isPaused=function(){return h.isPaused()},this.error=function(e){m.error(e)},this.hide=function(){n&&((0,a.default)(n,!0),this.emit(d.default.HIDE))},this.isHidden=function(){return!r||(n?(0,a.default)(n):void 0)},this.showVisuals=function(){n&&(0,a.default)(n,!1)},this.show=function(){!this.isReplayShown()&&n&&h.build(),this.showVisuals()},this.showReplayOnly=function(){!this.isReplayShown()&&p.show(),this.show(),h.hide(),m.hide()},this.isRecorderUnloaded=function(){return h.isUnloaded()},this.isConnecting=function(){return h.isConnecting()},this.getRecorderWidth=function(e){return h.getRecorderWidth(e)},this.getRecorderHeight=function(e){return h.getRecorderHeight(e)},this.limitWidth=function(n){return e.limitWidth(n,t)},this.limitHeight=function(t){return e.limitHeight(t)},this.calculateWidth=function(t){return e.calculateWidth(t)},this.calculateHeight=function(t){return e.calculateHeight(t)},this.getReplay=function(){return p},this.getBoundingClientRect=function(){return n&&n.getBoundingClientRect()},this.checkTimer=function(e){y.checkTimer(e)},this.isNotifierBuilt=function(){return m&&m.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=h.hide.bind(h),this.isRecording=h.isRecording.bind(h),this.isUserMediaLoaded=h.isUserMediaLoaded.bind(h),this.isConnected=h.isConnected.bind(h)};i.default.inherits(p,f.default);var h=p;n.default=h},{"./../events":326,"./../util/eventEmitter":332,"./visuals/inside/recorderInsides":349,"./visuals/notifier":350,"./visuals/recorder":351,"./visuals/replay":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260,util:316}],344:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,a,s,u=this;function l(e){s||(t.debug("Countdown",a),--a<1?function(e){u.unload(),u.hide(),setTimeout((function(){e()}),0)}(e):n.innerHTML=a)}this.start=function(e){n.innerHTML=a=t.video.countdown,this.show(),r=setInterval(l.bind(this,e),950)},this.pause=function(){s=!0},this.resume=function(){s=!1},this.build=function(){(n=e.querySelector(".countdown"))?this.hide():(n=(0,i.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,o.default)(n,!1)},this.isCountingDown=function(){return!!r},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,o.default)(n,!0),this.unload()}};var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],345:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){s.default.call(this,t,"Facing Mode");var n,r=this;this.build=function(){(n=e.querySelector(".facingMode"))?this.hide():((n=(0,i.default)("button.facingMode")).innerHTML="⤾",n.onclick=function(e){e&&e.preventDefault();try{r.emit(a.default.SWITCH_FACING_MODE)}catch(e){r.emit(a.default.ERROR,e)}},this.hide(),e.appendChild(n)),r.on(a.default.ERROR,(function(){r.hide()}))},this.hide=function(){(0,o.default)(n,!0)},this.show=function(){(0,o.default)(n,!1)}};var i=r(e("hyperscript")),o=r(e("hidden")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":326,"./../../../../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],346:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(!t.text.pausedHeader)throw a.default.create("Paused header cannot be empty",t);var n,r,s;function u(){return t.text.pausedHint}this.build=function(){n=e.querySelector(".paused"),(r=e.querySelector(".pausedHeader"))?(this.hide(),r.innerHTML=t.text.pausedHeader,u()&&(s.innerHTML=t.text.pausedHint)):(n=(0,i.default)("div.paused"),r=(0,i.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,i.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,o.default)(n,!0)},this.show=function(){(0,o.default)(n,!1)}};var i=r(e("hyperscript")),o=r(e("hidden")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],347:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t;this.build=function(){(t=e.querySelector(".recordNote"))?this.hide():(t=(0,i.default)("p.recordNote"),this.hide(),e.appendChild(t))},this.stop=function(){this.hide(),t.classList.remove("near"),t.classList.remove("nigh")},this.setNear=function(){t.classList.add("near")},this.setNigh=function(){t.classList.add("nigh")},this.hide=function(){(0,o.default)(t,!0)},this.show=function(){(0,o.default)(t,!1)}};var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],348:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r,a,s,u=!1,l=!1;function c(e,t){return e>=n.video.limitSeconds*t}function f(){var e,i=parseInt(s/60,10),o=s-60*i;if(!u||!l){var a=n.video.limitSeconds-s;!function(e){return!(u||!c(e,.6)||(u=!0,0))}(a)?function(e){return!(l||!c(e,.8)||(l=!0,0))}(a)&&(t.setNigh(),r.classList.add("nigh"),n.debug("End is nigh, "+s+" seconds to go")):(t.setNear(),r.classList.add("near"),n.debug("End is near, "+s+" seconds to go"))}r.innerHTML=i+":"+((e=o)<10?"0"+e:e)}function d(){(0,o.default)(r,!0)}function p(){return n.video.limitSeconds}this.check=function(t){var n=p()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=p(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,o.default)(r,!1)},this.pause=function(){t.hide()},this.resume=function(){t.show()},this.stop=function(){null!==s&&a&&(n.debug("Stopping record timer. Was recording for about ~"+(p()-s)+" seconds."),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,i.default)("p.recordTimer"),d(),e.appendChild(r))}},e("core-js/modules/es.parse-int.js");var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.parse-int.js":198,hidden:258,hyperscript:260}],349:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("util")),o=r(e("./../../../events")),a=r(e("./../../../util/eventEmitter")),s=r(e("./../../../util/browser")),u=r(e("./recorder/countdown")),l=r(e("./recorder/pausedNote")),c=r(e("./recorder/recordNote")),f=r(e("./recorder/recordTimer")),d=r(e("./recorder/facingMode")),p=function(e,t){a.default.call(this,t,"RecorderInsides");var n,r,i,p,h=this,y=t.debug,m=new c.default(e),b=new f.default(e,m,t),g=new s.default(t);function v(){h.hidePause(),h.hideCountdown(),b.stop(),p&&p.hide()}function w(){y("RecorderInsides: initEvents()"),h.on(o.default.USER_MEDIA_READY,(function(){p&&p.show()})).on(o.default.RECORDING,(function(){b.start()})).on(o.default.RESUMING,(function(){b.resume()})).on(o.default.STOPPING,(function(){b.stop()})).on(o.default.PAUSED,(function(){h.isCountingDown()?n.pause():b.pause()})).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){h.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(p=new d.default(e,t)),t.enablePause&&(r=new l.default(e,t)),this.build=function(){y("RecorderInsides: build()"),n&&n.build(),r&&r.build(),p&&p.build(),m.build(),b.build(),!i&&w(),i=!0},this.unload=function(){n&&n.unload(),i=!1},this.showPause=function(){r&&r.show()},this.hidePause=function(){r&&r.hide()},this.hideCountdown=function(){n&&n.hide()},this.startCountdown=function(e){n&&n.start(e)},this.resumeCountdown=function(){n&&n.resume()},this.isCountingDown=function(){return n&&n.isCountingDown()},this.checkTimer=function(e){b.check(e)}};i.default.inherits(p,a.default);var h=p;n.default=h},{"./../../../events":326,"./../../../util/browser":330,"./../../../util/eventEmitter":332,"./recorder/countdown":344,"./recorder/facingMode":345,"./recorder/pausedNote":346,"./recorder/recordNote":347,"./recorder/recordTimer":348,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,util:316}],350:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/web.dom-collections.for-each.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("./../../util/eventEmitter")),u=r(e("./../../events")),l=function(e,t){s.default.call(this,t,"Notifier");var n,r,i,l,c,f,d=this,p=t&&t.debug;function h(){p("Notifier: initEvents()"),d.on(u.default.CONNECTING,(function(){d.notify("Connecting …")})).on(u.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(u.default.USER_MEDIA_READY,(function(){d.hide()})).on(u.default.LOADED_META_DATA,(function(){n.style.width=e.getRecorderWidth(!0)+"px",n.style.height=e.getRecorderHeight(!0)+"px"})).on(u.default.PREVIEW,(function(){d.hide()})).on(u.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(p("Limit reached"),r+=t.text.limitReached+".<br/>"),r+=t.text.sending+" …",d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(u.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: "+e,n&&(r+=", Audio: "+n)):r=e,d.setExplanation(r)}(e,n)})).on(u.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n=t.text.encoding+" …";d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),b()}()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain "+t.notifier.entertainClass+e,l=setTimeout(y,t.notifier.entertainInterval),c=!0}}else m()}function m(){n&&n.classList.remove("entertain"),clearTimeout(l),l=null,c=!1}function b(){i&&(i.innerHTML=null,(0,a.default)(i,!0))}this.error=function(e){var n=e.message?e.message.toString():e.toString(),r=e.explanation?e.explanation.toString():null;n||t.debug("Weird empty message generated for error",e),d.notify(n,r,{blocking:!0,problem:!0,hideForm:e.hideForm&&e.hideForm(),classList:e.getClassList&&e.getClassList(),removeDimensions:e.removeDimensions&&e.removeDimensions()})},this.setExplanation=function(e){i||(i=(0,o.default)("p"),n?n.appendChild(i):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),i.innerHTML=e,(0,a.default)(i,!1)},this.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&h(),f=!0},this.hide=function(){m(),n&&((0,a.default)(n,!0),n.classList.remove("blocking")),r&&(r.innerHTML=null),b()},this.isVisible=function(){return!!f&&(n&&!(0,a.default)(n))},this.isBuilt=function(){return f},this.notify=function(s,l,c){t.debug("Notifier: notify()"),c||(c={});var f=!!c.stillWait&&c.stillWait,d=!!c.entertain&&c.entertain,p=!!c.blocking&&c.blocking,h=!!c.hideForm&&c.hideForm,b=!!c.classList&&c.classList,g=!!c.removeDimensions&&c.removeDimensions;!r&&n&&(r=(0,o.default)("h2"),i?n.insertBefore(r,i):n.appendChild(r)),n&&(d||(n.className="notifier"),b&&b.forEach((function(e){n.classList.add(e)})),g&&(n.style.width="auto",n.style.height="auto")),p?(n&&n.classList.add("blocking"),this.emit(u.default.BLOCKING,{hideForm:h})):this.emit(u.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,n){var i=!!n.problem&&n.problem;r?r.innerHTML=(i?"&#x2639; ":"")+e:t.logger.warn("Unable to show following because messageElement is empty:",e)}(s,c),l&&l.length>0&&this.setExplanation(l),d?y():m(),e.showVisuals(),n&&(0,a.default)(n,!1),!f&&e.endWaiting()}};i.default.inherits(l,s.default);var c=l;n.default=c},{"./../../events":326,"./../../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,util:316}],351:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.number.to-fixed.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.function.name.js");var i=r(e("animitter")),o=r(e("canvas-to-buffer")),a=r(e("deepmerge")),s=r(e("hidden")),u=r(e("hyperscript")),l=r(e("safe-json-stringify")),c=r(e("util")),f=r(e("websocket-stream")),d=r(e("../../constants")),p=r(e("../../events")),h=r(e("../../util/browser")),y=r(e("../../util/eventEmitter")),m=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",j=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y.default.call(this,r,"Recorder");var c=new h.default(r),j=(0,a.default)(r,{image:{quality:c.isMobile()?r.image.quality-.05:r.image.quality}});if(!j.video||!j.video.fps)throw g.default.create("FPS must be defined",j);var E,x,S,_,A,R,k,O,T,M,I,P,C,L,N,D,B,U,F,q,W,H,V,z,G,Y,$=this,J=j.debug,K=null,X=0,Q=0,Z=j.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(D)if(D.destroyed)oe(),$.emit(p.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",j));else{var n=t&&t.onFlushedCallback;try{D.write(e,(function(){n&&n(t)}))}catch(e){$.emit(p.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of "+(0,b.default)(e),j))}}}function ie(){V=window.setInterval((function(){J("Recorder: pinging..."),re(t.from(""))}),j.timeouts.pingInterval)}function oe(){clearInterval(V)}function ae(e){X++,re(e.toBuffer())}function se(){x&&(0,s.default)(x,!1)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{J("Recorder: onUserMediaReady()",e);var t=e.switchingFacingMode;P=F=L=C=!1,I=!0,t||(K=Ce()),se(),$.emit(p.default.USER_MEDIA_READY,{switchingFacingMode:e.switchingFacingMode,paused:$.isPaused()})}catch(e){$.emit(p.default.ERROR,e)}}function le(){J("Recorder: clearRetryTimeout()"),A&&clearTimeout(A),A=null}function ce(){_&&(J("Recorder: clearUserMediaTimeout()"),_&&clearTimeout(_),_=null)}function fe(){return(te/(Q||1)*100).toFixed(2)+"%"}function de(){return(ne/(X||1)*100).toFixed(2)+"%"}function pe(){k||(k=fe()),O||(O=de()),$.emit(p.default.PROGRESS,k,O)}function he(e){te=e.frame?e.frame:te,k=fe(),pe()}function ye(e){ne=e.sample?e.sample:ne,O=de(),pe()}function me(e){te=ne=X=Q=0,O=k=null,W=e.key,e.mp4&&n.setMp4Source(e.mp4+d.default.SITE_NAME_LABEL+"/"+j.siteName+"/videomail.mp4",!0),e.webm&&n.setWebMSource(e.webm+d.default.SITE_NAME_LABEL+"/"+j.siteName+"/videomail.webm",!0),$.hide();var t=$.getRecorderWidth(!0),r=$.getRecorderHeight(!0);$.emit(p.default.PREVIEW,W,t,r),H=Date.now()-N,ee.waitingTime=H,j.debug&&J("While recording, %s have been transferred and waiting time was %s",m.default.filesize(R,2),m.default.toTime(H))}function be(e){if(!U){B=!0,J("Recorder: initialising web socket to %s",j.socketUrl),$.emit(p.default.CONNECTING);var t=j.socketUrl+"?"+encodeURIComponent(d.default.SITE_NAME_LABEL)+"="+encodeURIComponent(j.siteName);try{D=(0,f.default)(t,{perMessageDeflate:!1,objectMode:!0})}catch(e){var n;B=U=!1,n=void 0===f.default?g.default.create("There is no websocket","Cause: "+(0,b.default)(e),j):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",j,{browserProblem:!0}),$.emit(p.default.ERROR,n)}D&&(D.on("close",(function(e){J(w+"Stream has closed"),B=U=!1,e?$.emit(p.default.ERROR,e||"Unhandled websocket error"):($.emit(p.default.DISCONNECTED),ke())})),D.on("connect",(function(){J(w+"Stream *connect* event emitted"),U||(U=!0,B=L=!1,$.emit(p.default.CONNECTED),J("Going to ask for webcam permissons now ..."),e&&e())})),D.on("data",(function(e){var t;J(w+"Stream *data* event emitted");try{t=JSON.parse(e.toString())}catch(t){J("Failed to parse command:",t),$.emit(p.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was "+e.toString()+". ",j))}finally{xe.call($,t)}})),D.on("error",(function(e){J(w+"Stream *error* event emitted",e),B=U=!1,$.emit(p.default.ERROR,g.default.create("Data exchange interrupted","Please check your network connection and reload.",j))})),D.on("drain",(function(){J(w+"Stream *drain* event emitted (should not happen!)")})),D.on("preend",(function(){J(w+"Stream *preend* event emitted")})),D.on("end",(function(){J(w+"Stream *end* event emitted")})),D.on("drain",(function(){J(w+"Stream *drain* event emitted")})),D.on("pipe",(function(){J(w+"Stream *pipe* event emitted")})),D.on("unpipe",(function(){J(w+"Stream *unpipe* event emitted")})),D.on("resume",(function(){J(w+"Stream *resume* event emitted")})),D.on("uncork",(function(){J(w+"Stream *uncork* event emitted")})),D.on("readable",(function(){J(w+"Stream *preend* event emitted")})),D.on("prefinish",(function(){J(w+"Stream *preend* event emitted")})),D.on("finish",(function(){J(w+"Stream *preend* event emitted")})))}}function ge(){return U&&(Se()||!_e()||F)}function ve(e,t,n){P=!1,ce(),J("Recorder: userMediaErrorCallback()",", name:",e.name,", message:",e.message,", Webcam characteristics:",S.getCharacteristics(),", extraA arguments:",t.toString(),", extraB arguments:",n.toString());var r=$.listeners(p.default.ERROR);if(r&&r.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?$.emit(p.default.ERROR,g.default.create(e,j)):J("Recorder: ignore user media error",e),A=setTimeout(be,j.timeouts.userMedia);else{if(!L)throw J("Recorder: no error listeners attached but throwing error",e),g.default.create(e,"Unable to process this error since there are no error listeners anymore.",j);J("Recorder: already unloaded. Not going to throw error",e)}}function we(e,t){if(J("Recorder: getUserMediaCallback()",t),ge())try{ce(),S.init(e,(function(){ue(t)}),ae.bind($),(function(e){$.emit(p.default.ERROR,e)}),t)}catch(e){$.emit(p.default.ERROR,e)}}function je(e){if(!navigator)throw new Error("Navigator is missing!");if(J("Recorder: loadGenuineUserMedia()"),$.emit(p.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:j.video.fps}},audio:j.isAudioEnabled()};c.isOkSafari()||(j.hasDefinedWidth()?t.video.width={ideal:j.video.width}:t.video.width={ideal:$.limitWidth()},j.hasDefinedHeight()&&(t.video.height={ideal:j.video.height})),J("Recorder: navigator.mediaDevices.getUserMedia()",t),navigator.mediaDevices.getSupportedConstraints&&J("Recorder: navigator.mediaDevices.getSupportedConstraints()",navigator.mediaDevices.getSupportedConstraints());var n=navigator.mediaDevices.getUserMedia(t);if(!n)throw g.default.create("Sorry, your browser is unable to use cameras.","Try a different browser with better user media functionalities.",j);n.then((function(t){we(t,e)})).catch(ve)}else J("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:j.isAudioEnabled()},we,ve)}function Ee(){if(I)return J("Recorder: skipping loadUserMedia() because it is already loaded"),ue(),!1;if(P)return J("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;J("Recorder: loadUserMedia()"),$.emit(p.default.LOADING_USER_MEDIA);try{_=setTimeout((function(){$.isReady()||$.emit(p.default.ERROR,c.getNoAccessIssue())}),j.timeouts.userMedia),P=!0,je()}catch(e){if(J("Recorder: failed to load genuine user media"),P=!1,!$.listeners(p.default.ERROR).length)throw J("Recorder: no error listeners attached but throwing exception",e),e;$.emit(p.default.ERROR,e)}}function xe(e){try{switch(J("Server commanded: %s",e.command,e.args?", "+(0,l.default)(e.args):""),e.command){case"ready":_||Ee();break;case"preview":me(e.args);break;case"error":this.emit(p.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No explanation given)",j));break;case"confirmFrame":he(e.args);break;case"confirmSample":ye(e.args);break;case"beginAudioEncoding":this.emit(p.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(p.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(p.default.ERROR,"Unknown server command: "+e.command)}}catch(e){$.emit(p.default.ERROR,e)}}function Se(){return e.isNotifying()}function _e(){return!x||(0,s.default)(x)}function Ae(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(D){J("$ %s",e,n?(0,l.default)(n):"");var i={command:e,args:n};re(t.from((0,l.default)(i))),r&&setTimeout((function(){r()}),0)}}else J("Reconnecting for the command",e,"…"),be((function(){Ae(e,n),r&&r()}))}function Re(){U&&(J("Recorder: disconnect()"),S&&S.unloadRemainingEventListeners(),C?B=U=!1:D&&(D.end(),D=void 0))}function ke(){K&&K.dispose()}function Oe(){return K.getElapsedTime()}function Te(){return Oe()/Q}function Me(){return K.getFrameCount()/K.getElapsedTime()*1e3}function Ie(){J("Recorder: reInitialiseAudio()"),ce(),S&&S.stop(),I=W=T=M=null,Ee()}function Pe(e){1===(e&&e.frameNumber)&&$.emit(p.default.FIRST_FRAME_SENT)}function Ce(){var e=(0,i.default)({fps:j.video.fps},Le);return E=e.getRequestAnimationFrameObject(),e}function Le(t,n){try{if(!$.isPaused()&&D&&M){if(0===Q&&$.emit(p.default.SENDING_FIRST_FRAME),Q++,M.drawImage(S.getRawVisuals(),0,0,T.width,T.height),Y=z.toBuffer(),(G=Y.length)<1)throw g.default.create("Failed to extract webcam data.",j);R+=G,re(Y,{frameNumber:Q,onFlushedCallback:Pe}),e.checkTimer({intervalSum:n})}}catch(e){$.emit(p.default.ERROR,e)}}function Ne(e){if(K){var t=$.isRecording();K.stop(),K.setRequestAnimationFrameObject(e),t&&K.start()}}function De(){J("Recorder: restoreAnimationFrameObject()"),Ne(E)}function Be(){J("Recorder: loopWithTimeouts()");var e,t=1e3/j.video.fps,n=0;Ne({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}function Ue(){x=(0,u.default)("video."+j.selectors.userMediaClass),e.appendChild(x)}function Fe(){j.hasDefinedWidth()&&(x.width=$.getRecorderWidth(!0)),j.hasDefinedHeight()&&(x.height=$.getRecorderHeight(!0))}function qe(){if(!c.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":J("Recorder: unsupported facing mode",Z),je({switchingFacingMode:!0})}function We(){J("Recorder: initEvents()"),$.on(p.default.SUBMITTING,(function(){C=!0})).on(p.default.SUBMITTED,(function(){C=!1,$.unload()})).on(p.default.BLOCKING,(function(){F=!0,ce()})).on(p.default.HIDE,(function(){$.hide()})).on(p.default.LOADED_META_DATA,(function(){Fe()})).on(p.default.DISABLING_AUDIO,(function(){Ie()})).on(p.default.ENABLING_AUDIO,(function(){Ie()})).on(p.default.INVISIBLE,(function(){Be()})).on(p.default.VISIBLE,(function(){De()})).on(p.default.SWITCH_FACING_MODE,(function(){qe()}))}function He(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=j.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){J("stop()",e);var t=e.limitReached;this.emit(p.default.STOPPING,t),K.complete();var r=this;setTimeout((function(){N=Date.now(),ee={avgFps:Me(),wantedFps:j.video.fps,avgInterval:Te(),wantedInterval:1e3/j.video.fps,intervalSum:Oe(),framesCount:Q,videoType:n.getVideoType()},j.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),Ae("stop",ee),r.reset()}),60)},this.back=function(e){this.emit(p.default.GOING_BACK),se(),this.reset(),Ae("back",e)},this.unload=function(e){var t;L||(e&&(t=e.name||e.statusText||e.toString()),J("Recorder: unload()"+(t?", cause: "+t:"")),this.reset(),ce(),Re(),L=!0,q=!1)},this.reset=function(){L||(J("Recorder: reset()"),this.emit(p.default.RESETTING),ke(),S&&S.stop(),n.reset(),I=W=T=M=H=null)},this.validate=function(){return U&&Q>0&&null===T},this.isReady=function(){return S.isReady()},this.pause=function(e){var t=e&&e.event;t instanceof window.Event&&(e.eventType=t.type),J("pause()",e),S.pause(),K.stop(),this.emit(p.default.PAUSED),ie()},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){J("Recorder: resume()"),oe(),this.emit(p.default.RESUMING),S.resume(),K.start()},this.record=function(){if(L)return!1;if(!U)return J("Recorder: reconnecting before recording ..."),be((function(){$.once(p.default.USER_MEDIA_READY,$.record)})),!1;try{T=S.createCanvas()}catch(e){return $.emit(p.default.ERROR,g.default.create(e,j)),!1}return M=T.getContext("2d"),T.width?T.height?(R=0,z=new o.default(T,j),J("Recorder: record()"),S.record(),$.emit(p.default.RECORDING,Q),void K.start()):($.emit(p.default.ERROR,g.default.create("Canvas has an invalid height.",j)),!1):($.emit(p.default.ERROR,g.default.create("Canvas has an invalid width.",j)),!1)},this.build=function(){var t=c.checkRecordingCapabilities();t||(t=c.checkBufferTypes()),t?this.emit(p.default.ERROR,t):((x=e.querySelector("video."+j.selectors.userMediaClass))||Ue(),Fe(),x.muted=!0,x.setAttribute("playsinline",!0),x.setAttribute("webkit-playsinline","webkit-playsinline"),x.style.transform="rotateY(180deg)",x.style["-webkit-transform"]="rotateY(180deg)",x.style["-moz-transform"]="rotateY(180deg)",S||(S=new v.default(this,j)),se(),q?Ee():(We(),U?Ee():be()),q=!0)},this.isPaused=function(){return S&&S.isPaused()&&!K.isRunning()},this.isRecording=function(){return K&&K.isRunning()&&!this.isPaused()&&!Se()&&D&&!D.destroyed},this.hide=function(){_e()||(x&&(0,s.default)(x,!0),ce(),le())},this.isUnloaded=function(){return L},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&j.hasDefinedWidth()?this.limitWidth(j.video.width):void 0},this.getRecorderHeight=function(e){return S?S.getRawHeight(e):e&&j.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():x&&(n=x.videoHeight||x.height),e.calculateWidth({responsive:t,ratio:He(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():x&&(n=x.videoWidth||x.width),e.calculateHeight({responsive:t,ratio:He(),videoWidth:n})},this.getRawVisualUserMedia=function(){return x},this.isConnected=function(){return U},this.isConnecting=function(){return B},this.limitWidth=function(t){return e.limitWidth(t)},this.limitHeight=function(t){return e.limitHeight(t)},this.isUserMediaLoaded=function(){return I}};c.default.inherits(j,y.default);var E=j;n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":325,"../../events":326,"../../util/browser":330,"../../util/eventEmitter":332,"../../util/humanize":333,"../../util/pretty":335,"../../util/videomailError":337,"./userMedia":353,"@babel/runtime/helpers/interopRequireDefault":1,animitter:4,buffer:11,"canvas-to-buffer":14,"core-js/modules/es.function.name.js":191,"core-js/modules/es.number.to-fixed.js":192,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,deepmerge:234,hidden:258,hyperscript:260,"safe-json-stringify":296,util:316,"websocket-stream":319}],352:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.promise.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("add-eventlistener-with-options")),u=r(e("./../../events")),l=r(e("./../../util/browser")),c=r(e("./../../util/eventEmitter")),f=r(e("./../../util/videomailError")),d=r(e("iphone-inline-video")),p=function(e,t){c.default.call(this,t,"Replay");var n,r,i,p=this,h=new l.default(t),y=t.debug;function m(){return"HTMLDivElement"===e.constructor.name}function b(e,t,n){var i=p.getVideoSource(e);t&&n&&(t+="?"+Date.now()),i?t?i.setAttribute("src",t):r.removeChild(i):t&&(i=(0,o.default)("source",{src:t,type:"video/"+e}),r.appendChild(i))}function g(e){setTimeout((function(){try{r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function v(){if(r&&r.play){var e;try{e=r.play()}catch(e){t.logger.warn("Caught replay exception:",e)}e&&"undefined"!=typeof Promise&&e instanceof Promise&&e.catch((function(e){t.logger.warn("Caught pending replay promise exception: %s",e)}))}}this.setVideomail=function(t){(i=t)&&(i.webm&&this.setWebMSource(i.webm),i.mp4&&this.setMp4Source(i.mp4),i.poster&&r.setAttribute("poster",i.poster),function(t){var n;Object.keys(t).forEach((function(r){(n=e.querySelector("."+r))&&(n.innerHTML=t[r])}))}(i));var n=i&&i.recordingStats&&i.recordingStats.sampleRate>0;this.show(i&&i.width,i&&i.height,n)},this.show=function(n,o,s){i&&function(t){var n,o;i&&i.playerWidth?n=i.playerWidth:e.calculateWidth&&(n=e.calculateWidth(t)),i&&i.playerHeight?o=i.playerHeight:e.calculateHeight&&(o=e.calculateHeight(t)),r.style.width=n>0?n+"px":"auto",r.style.height=o>0?o+"px":"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:o||r.videoHeight}),(0,a.default)(r,!1),e&&(e.style?(0,a.default)(e,!1):e.show&&e.show()),s?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),d.default&&(0,d.default)(r,{iPad:!0}),r.load(),i?p.emit(u.default.REPLAY_SHOWN):p.emit(u.default.PREVIEW_SHOWN)},this.build=function(){y("Replay: build()"),(r=e.querySelector("video."+t.selectors.replayClass))||function(){if(y("Replay: buildElement()"),!(r=(0,o.default)("video."+t.selectors.replayClass)).setAttribute)throw f.default.create("Please upgrade browser",t);e.appendChild(r)}(),this.hide(),r.setAttribute("autoplay",!0),r.setAttribute("autostart",!0),r.setAttribute("autobuffer",!0),r.setAttribute("playsinline",!0),r.setAttribute("webkit-playsinline","webkit-playsinline"),r.setAttribute("controls","controls"),r.setAttribute("preload","auto"),n||(m()||this.on(u.default.PREVIEW,(function(e,t,n){p.show(t,n)})),(0,s.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?v():g()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?v():g()}),n=!0,y("Replay: built.")},this.unload=function(){n=!1},this.getVideoSource=function(e){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/"+e;if(o)for(n=0;n<o&&!t;n++)i[n].getAttribute("type")===a&&(t=i[n]);return t},this.setMp4Source=function(e,t){b("mp4",e,t)},this.setWebMSource=function(e,t){b("webm",e,t)},this.getVideoType=function(){return h.getVideoType(r)},this.reset=function(e){g((function(){r&&(p.setMp4Source(null),p.setWebMSource(null)),e&&e()}))},this.hide=function(){m()?(0,a.default)(e,!0):r&&(0,a.default)(r,!0)},this.isShown=function(){return r&&!(0,a.default)(r)},this.getParentElement=function(){return e}};i.default.inherits(p,c.default);var h=p;n.default=h},{"./../../events":326,"./../../util/browser":330,"./../../util/eventEmitter":332,"./../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"add-eventlistener-with-options":3,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.promise.js":199,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,"iphone-inline-video":266,util:316}],353:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){a.default.call(this,t,"UserMedia");var n,r,p=e&&e.getRawVisualUserMedia(),h=new o.default(t),y=this,m=!1,b=!1;function g(e){e?function(e){if(r=e,void 0!==p.srcObject)p.srcObject=e;else{if(void 0===p.src)throw l.default.create("Error attaching stream to element.","Contact the developer about this",t);var n=window.URL||window.webkitURL;p.src=n.createObjectURL(e)||e}}(e):(p.removeAttribute("srcObject"),p.removeAttribute("src"),r=null)}function v(){return p.mozSrcObject?p.mozSrcObject:p.srcObject?p.srcObject:r}function w(){if(p.ended)return p.ended;var e=v();return e&&e.ended}function j(){if(p.videoWidth&&p.videoWidth<3||p.height&&p.height<3)return!0}function E(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}function x(e){var t,n=function(e){var t;return e&&e.getVideoTracks&&(t=e.getVideoTracks()),t}(e);return n&&n[0]&&(t=n[0]),t}function S(e,n){t.debug("UserMedia: ...","|—O—|","event",e,(0,d.default)(n))}function _(e){return e&&"undefined"!=typeof Promise&&e instanceof Promise}function A(e){S(e.type,{readyState:p.readyState}),p.removeEventListener&&p.removeEventListener(e.type,A)}this.unloadRemainingEventListeners=function(){t.debug("UserMedia: unloadRemainingEventListeners()"),u.default.forEach((function(e){p.removeEventListener(e,A)}))},this.init=function(e,r,o,a){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:c.switchingFacingMode});var d=!1,m=!1,b=!1;function v(){y.removeListener(s.default.SENDING_FIRST_FRAME,v),n&&n.record(o)}function E(){t.debug("UserMedia: unloadAllEventListeners()"),y.removeListener(s.default.SENDING_FIRST_FRAME,v),p.removeEventListener&&p.removeEventListener("play",O),p.removeEventListener&&p.removeEventListener("loadedmetadata",T),y.unloadRemainingEventListeners()}function R(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState="+p.readyState,"media.paused="+p.paused,"media.ended="+p.ended,"media.played="+(0,f.default)(p.played));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}_(e)&&e.then((function(){b||(t.debug("UserMedia: play promise successful. Playing now."),b=!0)})).catch((function(e){t.logger.warn("Caught pending usermedia promise exception: %s",e.toString())}))}}catch(e){E(),a(e)}}function k(){var i=p.readyState;if(t.debug("UserMedia: fireCallbacks(readyState="+i+", onPlayReached="+d+", onLoadedMetaDataReached="+m+")"),d&&m&&(r(),n&&o))try{n.init(e),y.on(s.default.SENDING_FIRST_FRAME,v)}catch(e){E(),a(e)}}function O(){try{S("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",O),w()||j()?a(l.default.create("Already busy","Probably another browser window is using your webcam?",t)):(d=!0,k())}catch(e){E(),a(e)}}function T(){S("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",T),w()||j()||(y.emit(s.default.LOADED_META_DATA),h.isAndroid()&&R(),m=!0,k())}t&&t.isAudioEnabled()&&(n=n||new i.default(this,t));try{var M=x(e);if(M){if(!M.enabled)throw l.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var I;M.label&&M.label.length>0&&(I=M.label),I+=" with enabled="+M.enabled,I+=", muted="+M.muted,I+=", remote="+M.remote,I+=", readyState="+M.readyState,I+=", error="+M.error,t.debug("UserMedia: "+M.kind+" detected.",I||"")}else t.debug("UserMedia: detected (but no video tracks exist");var P=!0;P&&u.default.forEach((function(e){p.addEventListener(e,A,!1)})),p.addEventListener("loadedmetadata",T),p.addEventListener("play",O),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),g(e),R()}catch(e){y.emit(s.default.ERROR,e)}},this.isReady=function(){return!!p.src},this.stop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var r=t.aboutToInitialize,i=t.switchingFacingMode;if(!r){e||(e=v());var o=E(e),a=!1;o&&o.forEach((function(e){e.stop&&(a=!0,e.stop())})),!a&&e&&e.stop&&e.stop(),g(null),n&&n.stop(),n=null}i||(m=b=!1)}catch(e){y.emit(s.default.ERROR,e)}},this.createCanvas=function(){return(0,c.default)("canvas",{width:this.getRawWidth(!0),height:this.getRawHeight(!0)})},this.getVideoHeight=function(){return p.videoHeight},this.getVideoWidth=function(){return p.videoWidth},this.hasVideoWidth=function(){return this.getVideoWidth()>0},this.getRawWidth=function(n){var r=this.getVideoWidth(),i=t.hasDefinedWidth();return(i||t.hasDefinedHeight())&&(r=!n&&i?t.video.width:e.calculateWidth(n)),n&&(r=e.limitWidth(r)),r},this.getRawHeight=function(n){var r;if(t.hasDefinedDimension()){if((r=e.calculateHeight(n))<1)throw l.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw l.default.create("Bad dimensions","Raw video height from DOM element cannot be less than 1!",t);return n&&(r=e.limitHeight(r)),r},this.getRawVisuals=function(){return p},this.pause=function(){m=!0},this.isPaused=function(){return m},this.resume=function(){m=!1},this.record=function(){b=!0},this.isRecording=function(){return b},this.getAudioSampleRate=function(){return n?n.getSampleRate():-1},this.getCharacteristics=function(){return{audioSampleRate:this.getAudioSampleRate(),muted:p&&p.muted,width:p&&p.width,height:p&&p.height,videoWidth:p&&p.videoWidth,videoHeight:p&&p.videoHeight}}},e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/web.url.js"),e("core-js/modules/web.url-search-params.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.to-string.js");var i=r(e("./../../util/audioRecorder")),o=r(e("./../../util/browser")),a=r(e("./../../util/eventEmitter")),s=r(e("./../../events")),u=r(e("./../../util/mediaEvents")),l=r(e("./../../util/videomailError")),c=r(e("hyperscript")),f=r(e("./../../util/pretty")),d=r(e("safe-json-stringify"))},{"./../../events":326,"./../../util/audioRecorder":329,"./../../util/browser":330,"./../../util/eventEmitter":332,"./../../util/mediaEvents":334,"./../../util/pretty":335,"./../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.array.iterator.js":188,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.promise.js":199,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/es.string.iterator.js":202,"core-js/modules/web.dom-collections.for-each.js":228,"core-js/modules/web.dom-collections.iterator.js":229,"core-js/modules/web.url-search-params.js":230,"core-js/modules/web.url.js":231,hyperscript:260,"safe-json-stringify":296}],354:[function(e,t,n){"use strict";t.exports='@-webkit-keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}@keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}.IIV::-webkit-media-controls-play-button,.IIV::-webkit-media-controls-start-playback-button{opacity:0;pointer-events:none;width:5px}.videomail .visuals{position:relative}.videomail .visuals video.replay{height:100%;width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer{height:auto;margin:0}.videomail .countdown,.videomail .facingMode,.videomail .paused,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{position:absolute;z-index:100}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{font-weight:700}.videomail .countdown,.videomail .paused,.videomail noscript{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint{letter-spacing:4px;text-align:center;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.videomail .countdown,.videomail .pausedHeader{font-size:460%;opacity:.9}.videomail .pausedHint{font-size:150%}.videomail .facingMode{background:rgba(30,30,30,.5);border:none;bottom:.6em;color:hsla(0,0%,96%,.9);font-family:monospace;font-size:1.2em;outline:none;padding:.1em .3em;right:.7em;-webkit-transition:all .2s ease;transition:all .2s ease;z-index:10}.videomail .facingMode:hover{background:rgba(50,50,50,.7);cursor:pointer}.videomail .recordNote,.videomail .recordTimer{background:hsla(0,0%,4%,.8);color:#00d814;font-family:monospace;opacity:.9;padding:.3em .4em;right:.7em;-webkit-transition:all 1s ease;transition:all 1s ease}.videomail .recordNote.near,.videomail .recordTimer.near{color:#eb9369}.videomail .recordNote.nigh,.videomail .recordTimer.nigh{color:#ea4b2a}.videomail .recordTimer{top:.7em}.videomail .recordNote{top:3.6em}.videomail .recordNote:before{-webkit-animation:blink 1s infinite;animation:blink 1s infinite;content:"REC"}.videomail .notifier{box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}'},{}],"videomail-client":[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./util/standardize")),o=r(e("./client"));if(!navigator)throw new Error("Navigator is missing!");(0,i.default)(window,navigator);var a=o.default;n.default=a,t.exports=o.default},{"./client":324,"./util/standardize":336,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193}]},{},["videomail-client"])("videomail-client")}));
55
+ !function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="model",l="name",c="type",f="vendor",d="version",p="architecture",h="console",y="mobile",m="tablet",b="smarttv",g="wearable",v="embedded",w={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return typeof e===s&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r},trim:function(e,t){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof t===o?e:e.substring(0,255)}},j={rgx:function(e,t){for(var n,o,s,u,l,c,f=0;f<t.length&&!l;){var d=t[f],p=t[f+1];for(n=o=0;n<d.length&&!l;)if(l=d[n++].exec(e))for(s=0;s<p.length;s++)c=l[++o],typeof(u=p[s])===a&&u.length>0?2==u.length?typeof u[1]==i?this[u[0]]=u[1].call(this,c):this[u[0]]=u[1]:3==u.length?typeof u[1]!==i||u[1].exec&&u[1].test?this[u[0]]=c?c.replace(u[1],u[2]):r:this[u[0]]=c?u[1].call(this,c,u[2]):r:4==u.length&&(this[u[0]]=c?u[3].call(this,c.replace(u[1],u[2])):r):this[u]=c||r;f+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i<t[n].length;i++)if(w.has(t[n][i],e))return"?"===n?r:n}else if(w.has(t[n],e))return"?"===n?r:n;return e}},E={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},x={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[l,d],[/opios[\/\s]+([\w\.]+)/i],[d,[l,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[d,[l,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,d],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],d],[/focus\/([\w\.]+)/i],[d,[l,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[d,[l,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[d,[l,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[l,d],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[l],[/;fbav\/([\w\.]+);/i],[d,[l,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[l,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[l,d],[/\bgsa\/([\w\.]+)\s.*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[d,[l,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],d],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[d,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[d,l],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[l,[d,j.str,E.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[/(navigator|netscape)\/([\w\.-]+)/i],[[l,"Netscape"],d],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[d,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[l,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,w.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[p,/ower/,"",w.lowerize]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,w.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[u,[f,"Samsung"],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[u,[f,"Samsung"],[c,y]],[/\((ip(?:hone|od)[\s\w]*);/i],[u,[f,"Apple"],[c,y]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[f,"Apple"],[c,m]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[u,[f,"Huawei"],[c,m]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[u,[f,"Huawei"],[c,y]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[u,/_/g," "],[f,"Xiaomi"],[c,y]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[u,/_/g," "],[f,"Xiaomi"],[c,m]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[u,[f,"OPPO"],[c,y]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[u,[f,"Vivo"],[c,y]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[u,[f,"Realme"],[c,y]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[u,[f,"Motorola"],[c,y]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[u,[f,"Motorola"],[c,m]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[u,[f,"LG"],[c,m]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[u,[f,"LG"],[c,y]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[u,[f,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[u,/_/g," "],[f,"Nokia"],[c,y]],[/droid.+;\s(pixel\sc)[\s)]/i],[u,[f,"Google"],[c,m]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[u,[f,"Google"],[c,y]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,"Sony"],[c,y]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[u,"Xperia Tablet"],[f,"Sony"],[c,m]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[u,[f,"OnePlus"],[c,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[u,[f,"Amazon"],[c,m]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[u,"Fire Phone"],[f,"Amazon"],[c,y]],[/\((playbook);[\w\s\),;-]+(rim)/i],[u,f,[c,m]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[u,[f,"BlackBerry"],[c,y]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[u,[f,"ASUS"],[c,m]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[u,[f,"ASUS"],[c,y]],[/(nexus\s9)/i],[u,[f,"HTC"],[c,m]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[f,[u,/_/g," "],[c,y]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[u,[f,"Acer"],[c,m]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[u,[f,"Meizu"],[c,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[f,u,[c,y]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[f,u,[c,m]],[/\s(surface\sduo)\s/i],[u,[f,"Microsoft"],[c,m]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[u,[f,"Fairphone"],[c,y]],[/\s(u304aa)\sbuild/i],[u,[f,"AT&T"],[c,y]],[/sie-(\w*)/i],[u,[f,"Siemens"],[c,y]],[/[;\/]\s?(rct\w+)\sbuild/i],[u,[f,"RCA"],[c,m]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[u,[f,"Dell"],[c,m]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[u,[f,"Verizon"],[c,m]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[u,[f,"Barnes & Noble"],[c,m]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[u,[f,"NuVision"],[c,m]],[/;\s(k88)\sbuild/i],[u,[f,"ZTE"],[c,m]],[/;\s(nx\d{3}j)\sbuild/i],[u,[f,"ZTE"],[c,y]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[u,[f,"Swiss"],[c,y]],[/[;\/]\s?(zur\d{3})\sbuild/i],[u,[f,"Swiss"],[c,m]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[u,[f,"Zeki"],[c,m]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[f,"Dragon Touch"],u,[c,m]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[u,[f,"Insignia"],[c,m]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[u,[f,"NextBook"],[c,m]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[f,"Voice"],u,[c,y]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[f,"LvTel"],u,[c,y]],[/;\s(ph-1)\s/i],[u,[f,"Essential"],[c,y]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[u,[f,"Envizen"],[c,m]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[u,[f,"MachSpeed"],[c,m]],[/[;\/]\s?tu_(1491)\sbuild/i],[u,[f,"Rotor"],[c,m]],[/(shield[\w\s]+)\sbuild/i],[u,[f,"Nvidia"],[c,m]],[/(sprint)\s(\w+)/i],[f,u,[c,y]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,"Microsoft"],[c,y]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[f,"Zebra"],[c,m]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[f,"Zebra"],[c,y]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[f,u,[c,h]],[/droid.+;\s(shield)\sbuild/i],[u,[f,"Nvidia"],[c,h]],[/(playstation\s[345portablevi]+)/i],[u,[f,"Sony"],[c,h]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[u,[f,"Microsoft"],[c,h]],[/smart-tv.+(samsung)/i],[f,[c,b]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,"Samsung"],[c,b]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[f,"LG"],[c,b]],[/(apple)\s?tv/i],[f,[u,"Apple TV"],[c,b]],[/crkey/i],[[u,"Chromecast"],[f,"Google"],[c,b]],[/droid.+aft([\w])(\sbuild\/|\))/i],[u,[f,"Amazon"],[c,b]],[/\(dtv[\);].+(aquos)/i],[u,[f,"Sharp"],[c,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[f,w.trim],[u,w.trim],[c,b]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[c,b]],[/((pebble))app\/[\d\.]+\s/i],[f,u,[c,g]],[/droid.+;\s(glass)\s\d/i],[u,[f,"Google"],[c,g]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[u,[f,"Zebra"],[c,g]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[f,[c,v]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[u,[c,y]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[u,[c,m]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,w.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[u,[f,"Generic"]],[/(phone)/i],[[c,y]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[d,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[d,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[l,d],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[l,[d,j.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[l,"Windows"],[d,j.str,E.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[l,d],[/(sunos)\s?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[l,d]]},S=function(t,n){if("object"==typeof t&&(n=t,t=r),!(this instanceof S))return new S(t,n).getResult();var i=t||(void 0!==e&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),o=n?w.extend(x,n):x;return this.getBrowser=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.browser),e.major=w.major(e.version),e},this.getCPU=function(){var e={architecture:r};return j.rgx.call(e,i,o.cpu),e},this.getDevice=function(){var e={vendor:r,model:r,type:r};return j.rgx.call(e,i,o.device),e},this.getEngine=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.engine),e},this.getOS=function(){var e={name:r,version:r};return j.rgx.call(e,i,o.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===s&&e.length>255?w.trim(e,255):e,this},this.setUA(i),this};S.VERSION="0.7.28",S.BROWSER={NAME:l,MAJOR:"major",VERSION:d},S.CPU={ARCHITECTURE:p},S.DEVICE={MODEL:u,VENDOR:f,TYPE:c,CONSOLE:h,MOBILE:y,SMARTTV:b,TABLET:m,WEARABLE:g,EMBEDDED:v},S.ENGINE={NAME:l,VERSION:d},S.OS={NAME:l,VERSION:d},typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=S),n.UAParser=S):void 0!==e&&(e.UAParser=S);var _=void 0!==e&&(e.jQuery||e.Zepto);if(_&&!_.ua){var A=new S;_.ua=A.getResult(),_.ua.get=function(){return A.getUA()},_.ua.set=function(e){A.setUA(e);var t=A.getResult();for(var n in t)_.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],313:[function(e,t,n){(function(e){(function(){function n(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],314:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],315:[function(e,t,n){"use strict";var r=e("is-arguments"),i=e("is-generator-function"),o=e("which-typed-array"),a=e("is-typed-array");function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),f=s(Number.prototype.valueOf),d=s(String.prototype.valueOf),p=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var y=s(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function b(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function v(e){return"[object WeakMap]"===c(e)}function w(e){return"[object WeakSet]"===c(e)}function j(e){return"[object ArrayBuffer]"===c(e)}function E(e){return"undefined"!=typeof ArrayBuffer&&(j.working?j(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===c(e)}function S(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}n.isArgumentsObject=r,n.isGeneratorFunction=i,n.isTypedArray=a,n.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},n.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||S(e)},n.isUint8Array=function(e){return"Uint8Array"===o(e)},n.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},n.isUint16Array=function(e){return"Uint16Array"===o(e)},n.isUint32Array=function(e){return"Uint32Array"===o(e)},n.isInt8Array=function(e){return"Int8Array"===o(e)},n.isInt16Array=function(e){return"Int16Array"===o(e)},n.isInt32Array=function(e){return"Int32Array"===o(e)},n.isFloat32Array=function(e){return"Float32Array"===o(e)},n.isFloat64Array=function(e){return"Float64Array"===o(e)},n.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},n.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},b.working="undefined"!=typeof Map&&b(new Map),n.isMap=function(e){return"undefined"!=typeof Map&&(b.working?b(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),n.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),n.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),n.isWeakSet=function(e){return w(e)},j.working="undefined"!=typeof ArrayBuffer&&j(new ArrayBuffer),n.isArrayBuffer=E,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=S;var _="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===c(e)}function R(e){return void 0!==_&&(void 0===A.working&&(A.working=A(new _)),A.working?A(e):e instanceof _)}function k(e){return m(e,f)}function O(e){return m(e,d)}function T(e){return m(e,p)}function M(e){return u&&m(e,h)}function I(e){return l&&m(e,y)}n.isSharedArrayBuffer=R,n.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},n.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},n.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},n.isGeneratorObject=function(e){return"[object Generator]"===c(e)},n.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},n.isNumberObject=k,n.isStringObject=O,n.isBooleanObject=T,n.isBigIntObject=M,n.isSymbolObject=I,n.isBoxedPrimitive=function(e){return k(e)||O(e)||T(e)||M(e)||I(e)},n.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(E(e)||R(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(n,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},{"is-arguments":267,"is-generator-function":269,"is-typed-array":271,"which-typed-array":321}],316:[function(e,t,n){(function(t){(function(){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;n.format=function(e){if(!g(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(u(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),s=r[n];n<o;s=r[++n])m(s)||!j(s)?a+=" "+s:a+=" "+u(s);return a},n.deprecate=function(e,r){if(void 0!==t&&!0===t.noDeprecation)return e;if(void 0===t)return function(){return n.deprecate(e,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return e.apply(this,arguments)}};var o={},a=/^$/;if(t.env.NODE_DEBUG){var s=t.env.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),a=new RegExp("^"+s+"$","i")}function u(e,t){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(t)?r.showHidden=t:t&&n._extend(r,t),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=l),f(r,e,r.depth)}function l(e,t){var n=u.styles[t];return n?"["+u.colors[n][0]+"m"+e+"["+u.colors[n][1]+"m":e}function c(e,t){return e}function f(e,t,r){if(e.customInspect&&t&&S(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return g(i)||(i=f(e,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(y(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,t);if(o)return o;var a=Object.keys(t),s=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),x(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return d(t);if(0===a.length){if(S(t)){var u=t.name?": "+t.name:"";return e.stylize("[Function"+u+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(E(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return d(t)}var l,c="",j=!1,_=["{","}"];(h(t)&&(j=!0,_=["[","]"]),S(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return w(t)&&(c=" "+RegExp.prototype.toString.call(t)),E(t)&&(c=" "+Date.prototype.toUTCString.call(t)),x(t)&&(c=" "+d(t)),0!==a.length||j&&0!=t.length?r<0?w(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=j?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)O(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))})),o}(e,t,r,s,a):a.map((function(n){return p(e,t,r,s,n,j)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,_)):_[0]+c+_[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=m(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function g(e){return"string"==typeof e}function v(e){return void 0===e}function w(e){return j(e)&&"[object RegExp]"===_(e)}function j(e){return"object"==typeof e&&null!==e}function E(e){return j(e)&&"[object Date]"===_(e)}function x(e){return j(e)&&("[object Error]"===_(e)||e instanceof Error)}function S(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}n.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(a.test(e)){var r=t.pid;o[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else o[e]=function(){};return o[e]},n.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=e("./support/types"),n.isArray=h,n.isBoolean=y,n.isNull=m,n.isNullOrUndefined=function(e){return null==e},n.isNumber=b,n.isString=g,n.isSymbol=function(e){return"symbol"==typeof e},n.isUndefined=v,n.isRegExp=w,n.types.isRegExp=w,n.isObject=j,n.isDate=E,n.types.isDate=E,n.isError=x,n.types.isNativeError=x,n.isFunction=S,n.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},n.isBuffer=e("./support/isBuffer");var R=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),R[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}n.log=function(){console.log("%s - %s",k(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!j(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var T="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function M(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}n.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(T&&e[T]){var t;if("function"!=typeof(t=e[T]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),T&&Object.defineProperty(t,T,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},n.promisify.custom=T,n.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,n).then((function(e){t.nextTick(a.bind(null,null,e))}),(function(e){t.nextTick(M.bind(null,e,a))}))}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this)}).call(this,e("_process"))},{"./support/isBuffer":314,"./support/types":315,_process:279,inherits:263}],317:[function(e,t,n){"use strict";var r=Object.prototype.toString;t.exports=function(e){return"[object Float32Array]"===r.call(e)}},{}],318:[function(e,t,n){(function(n,r){(function(){var i=e("readable-stream"),o=e("end-of-stream"),a=e("inherits"),s=e("stream-shift"),u=r.from&&r.from!==Uint8Array.from?r.from([0]):new r([0]),l=function(e,t){e._corked?e.once("uncork",t):t()},c=function(e,t){return function(n){n?function(e,t){e._autoDestroy&&e.destroy(t)}(e,"premature close"===n.message?null:n):t&&!e._ended&&e.end()}},f=function(e,t,n){if(!(this instanceof f))return new f(e,t,n);i.Duplex.call(this,n),this._writable=null,this._readable=null,this._readable2=null,this._autoDestroy=!n||!1!==n.autoDestroy,this._forwardDestroy=!n||!1!==n.destroy,this._forwardEnd=!n||!1!==n.end,this._corked=1,this._ondrain=null,this._drained=!1,this._forwarding=!1,this._unwrite=null,this._unread=null,this._ended=!1,this.destroyed=!1,e&&this.setWritable(e),t&&this.setReadable(t)};a(f,i.Duplex),f.obj=function(e,t,n){return n||(n={}),n.objectMode=!0,n.highWaterMark=16,new f(e,t,n)},f.prototype.cork=function(){1==++this._corked&&this.emit("cork")},f.prototype.uncork=function(){this._corked&&0==--this._corked&&this.emit("uncork")},f.prototype.setWritable=function(e){if(this._unwrite&&this._unwrite(),this.destroyed)e&&e.destroy&&e.destroy();else if(null!==e&&!1!==e){var t=this,r=o(e,{writable:!0,readable:!1},c(this,this._forwardEnd)),i=function(){var e=t._ondrain;t._ondrain=null,e&&e()};this._unwrite&&n.nextTick(i),this._writable=e,this._writable.on("drain",i),this._unwrite=function(){t._writable.removeListener("drain",i),r()},this.uncork()}else this.end()},f.prototype.setReadable=function(e){if(this._unread&&this._unread(),this.destroyed)e&&e.destroy&&e.destroy();else{if(null===e||!1===e)return this.push(null),void this.resume();var t,n=this,r=o(e,{writable:!1,readable:!0},c(this)),a=function(){n._forward()},s=function(){n.push(null)};this._drained=!0,this._readable=e,this._readable2=e._readableState?e:(t=e,new i.Readable({objectMode:!0,highWaterMark:16}).wrap(t)),this._readable2.on("readable",a),this._readable2.on("end",s),this._unread=function(){n._readable2.removeListener("readable",a),n._readable2.removeListener("end",s),r()},this._forward()}},f.prototype._read=function(){this._drained=!0,this._forward()},f.prototype._forward=function(){if(!this._forwarding&&this._readable2&&this._drained){var e;for(this._forwarding=!0;this._drained&&null!==(e=s(this._readable2));)this.destroyed||(this._drained=this.push(e));this._forwarding=!1}},f.prototype.destroy=function(e){if(!this.destroyed){this.destroyed=!0;var t=this;n.nextTick((function(){t._destroy(e)}))}},f.prototype._destroy=function(e){if(e){var t=this._ondrain;this._ondrain=null,t?t(e):this.emit("error",e)}this._forwardDestroy&&(this._readable&&this._readable.destroy&&this._readable.destroy(),this._writable&&this._writable.destroy&&this._writable.destroy()),this.emit("close")},f.prototype._write=function(e,t,n){return this.destroyed?n():this._corked?l(this,this._write.bind(this,e,t,n)):e===u?this._finish(n):this._writable?void(!1===this._writable.write(e)?this._ondrain=n:n()):n()},f.prototype._finish=function(e){var t=this;this.emit("preend"),l(this,(function(){var n,r;n=t._forwardEnd&&t._writable,r=function(){!1===t._writableState.prefinished&&(t._writableState.prefinished=!0),t.emit("prefinish"),l(t,e)},n?n._writableState&&n._writableState.finished?r():n._writableState?n.end(r):(n.end(),r()):r()}))},f.prototype.end=function(e,t,n){return"function"==typeof e?this.end(null,null,e):"function"==typeof t?this.end(e,null,t):(this._ended=!0,e&&this.write(e),this._writableState.ending||this.write(u),i.Writable.prototype.end.call(this,n))},t.exports=f}).call(this)}).call(this,e("_process"),e("buffer").Buffer)},{_process:279,buffer:11,"end-of-stream":240,inherits:263,"readable-stream":296,"stream-shift":303}],319:[function(e,t,n){(function(n,r){(function(){"use strict";var i=e("readable-stream").Transform,o=e("duplexify"),a=e("ws"),s=e("safe-buffer").Buffer;t.exports=function(e,t,u){var l,c,f="browser"===n.title,d=!!r.WebSocket,p=f?function e(t,n,r){if(c.bufferedAmount>y)return void setTimeout(e,m,t,n,r);g&&"string"==typeof t&&(t=s.from(t,"utf8"));try{c.send(t)}catch(e){return r(e)}r()}:function(e,t,n){if(c.readyState!==c.OPEN)return void n();g&&"string"==typeof e&&(e=s.from(e,"utf8"));c.send(e,n)};t&&!Array.isArray(t)&&"object"==typeof t&&(u=t,t=null,("string"==typeof u.protocol||Array.isArray(u.protocol))&&(t=u.protocol));u||(u={});void 0===u.objectMode&&(u.objectMode=!(!0===u.binary||void 0===u.binary));var h=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,p,(function(e){c.close(),e()}));u.objectMode||(h._writev=x);var y=u.browserBufferSize||524288,m=u.browserBufferTimeout||1e3;"object"==typeof e?c=e:(c=d&&f?new a(e,t):new a(e,t,u)).binaryType="arraybuffer";var b=void 0===c.addEventListener;c.readyState===c.OPEN?l=h:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=x),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",j),c.addEventListener("message",E)):(c.onclose=w,c.onerror=j,c.onmessage=E);h.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(h),l.setWritable(h),l.emit("connect")}function w(){l.end(),l.destroy()}function j(e){l.destroy(e)}function E(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),h.push(t)}function x(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"string"==typeof e[r].chunk?n[r]=s.from(e[r],"utf8"):n[r]=e[r].chunk;this._write(s.concat(n),"binary",t)}return l}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:279,duplexify:318,"readable-stream":296,"safe-buffer":300,ws:320}],320:[function(e,t,n){var r=null;"undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof MozWebSocket?r=MozWebSocket:"undefined"!=typeof window&&(r=window.WebSocket||window.MozWebSocket),t.exports=r},{}],321:[function(e,t,n){(function(n){(function(){"use strict";var r=e("foreach"),i=e("available-typed-arrays"),o=e("call-bind/callBound"),a=o("Object.prototype.toString"),s=e("has-tostringtag/shams")(),u="undefined"==typeof globalThis?n:globalThis,l=i(),c=o("String.prototype.slice"),f={},d=e("es-abstract/helpers/getOwnPropertyDescriptor"),p=Object.getPrototypeOf;s&&d&&p&&r(l,(function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var n=p(t),r=d(n,Symbol.toStringTag);if(!r){var i=p(n);r=d(i,Symbol.toStringTag)}f[e]=r.get}}}));var h=e("is-typed-array");t.exports=function(e){return!!h(e)&&(s&&Symbol.toStringTag in e?function(e){var t=!1;return r(f,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):c(a(e),8,-1))}}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"available-typed-arrays":7,"call-bind/callBound":12,"es-abstract/helpers/getOwnPropertyDescriptor":241,foreach:245,"has-tostringtag/shams":256,"is-typed-array":271}],322:[function(e,t,n){t.exports=function e(t,n){if(t&&n)return e(t)(n);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){r[e]=t[e]})),r;function r(){for(var e=new Array(arguments.length),n=0;n<e.length;n++)e[n]=arguments[n];var r=t.apply(this,e),i=e[e.length-1];return"function"==typeof r&&r!==i&&Object.keys(i).forEach((function(e){r[e]=i[e]})),r}}},{}],323:[function(e,t,n){t.exports={name:"videomail-client",version:"2.18.0",description:"A wicked npm package to record videos directly in the browser, wohooo!",author:"Michael Heuberger <michael.heuberger@binarykitchen.com>",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],homepage:"https://videomail.io",repository:{type:"git",url:"https://github.com/binarykitchen/videomail-client.git"},license:"CC0-1.0",readmeFilename:"README.md",module:"src/js/index.js",main:"prototype/js/videomail-client.js",scripts:{build:"gulp build",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch",audit:"npx audit-ci --config audit-ci.json",patch:"./env/dev/release.sh --importance=patch",minor:"./env/dev/release.sh --importance=minor",major:"./env/dev/release.sh --importance=major",lint:"eslint --color --ext .js ./src ./test ./gulpfile.js","lint-fix":"npm --silent run lint -- --fix; exit 0",prettier:"prettier --check ./src ./test gulpfile.js","prettier-fix":"prettier --write ./src ./test gulpfile.js"},engines:{node:"^16.13.1"},keywords:["webcam","video","videomail","encoder","getusermedia","audio","recorder"],babel:{presets:[["@babel/env",{useBuiltIns:"usage",corejs:3}]],plugins:["@babel/transform-runtime"]},dependencies:{"@babel/runtime":"7.17.8","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"2.0.0","canvas-to-buffer":"2.0.0","classlist.js":"1.1.20150312",contains:"0.1.1","core-js":"3.21.1","create-error":"0.3.1",deepmerge:"4.2.2",defined:"1.0.0",despot:"1.1.3","document-visibility":"1.0.1","element-closest":"3.0.2",filesize:"8.0.7","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.27.1",hyperscript:"2.0.2","insert-css":"2.0.0","iphone-inline-video":"2.2.2","is-power-of-two":"1.0.0",keymirror:"0.1.1","number-is-integer":"2.0.0",readystate:"0.4.1","request-frame":"1.5.3","safe-json-stringify":"1.2.0",superagent:"6.1.0","ua-parser-js":"0.7.28","websocket-stream":"5.5.2"},devDependencies:{"@babel/core":"7.17.8","@babel/eslint-parser":"7.17.0","@babel/plugin-transform-runtime":"7.17.0","@babel/preset-env":"7.16.11","audit-ci":"6.1.2",autoprefixer:"10.4.4",babelify:"10.0.0","body-parser":"1.20.0",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"5.1.7",del:"6.0.0",eslint:"8.12.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.25.4","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.0","fancy-log":"2.0.0",glob:"7.2.0",gulp:"4.0.2","gulp-bump":"3.2.0","gulp-bytediff":"1.0.0","gulp-concat":"2.6.1","gulp-connect":"5.7.0","gulp-derequire":"3.0.0","gulp-if":"3.0.0","gulp-inject-string":"1.1.2","gulp-load-plugins":"2.0.7","gulp-plumber":"1.2.1","gulp-postcss":"9.0.1","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"2.7.1","gulp-terser":"2.1.0","gulp-todo":"7.1.1",minimist:"1.2.6",nib:"1.1.2",postcss:"8.4.12",prettier:"2.6.2",router:"1.3.6",tape:"5.5.2","tape-catch":"1.0.6","tape-run":"9.0.0","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"}}},{}],324:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js");var i,o,a=r(e("deepmerge")),s=r(e("readystate")),u=r(e("util")),l=r(e("./options")),c=r(e("./constants")),f=r(e("./events")),d=r(e("./util/collectLogger")),p=r(e("./util/eventEmitter")),h=r(e("./wrappers/container")),y=r(e("./wrappers/visuals/replay")),m=r(e("./wrappers/optionsWrapper")),b=r(e("./util/browser")),g=r(e("./resource"));var v=function(e){var t,n,r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.default)(l.default,e,{arrayMerge:function(e,t){return t}});return i=i||new d.default(t),t.logger=i,t.debug=t.logger.debug,m.default.addFunctions(t),t}(e),u=new h.default(r),c=r.debug;p.default.call(this,r,"VideomailClient"),this.events=f.default,this.show=function(){u.isBuilt()?u.show():this.once(f.default.BUILT,u.show)},this.replay=function(e,n){s.default.interactive((function(){if("string"==typeof n&&(n=document.getElementById(n)),n)u.isOutsideElementOf(n)&&(t=new y.default(n,r)).build();else if(u.isBuilt()||u.build(),!u.hasElement())throw s.default.removeAllListeners(),new Error("Unable to replay video without a container nor parent element.");t||(t=u.getReplay()),n||(n=t.getParentElement()),e&&(e=u.addPlayerDimensions(e,n)),u.isOutsideElementOf(n)?u.hideForm({deep:!0}):u.loadForm(e),setTimeout((function(){t.setVideomail(e),u.showReplayOnly()}),1e3)}))},this.startOver=function(e){t&&(t.hide(),t.reset()),u.startOver(e)},this.unload=function(e){s.default.removeAllListeners(),u.unload(e)},this.hide=function(){u.hide()},this.get=function(e,t){new g.default(r).get(e,(function(e,n){e?t(e):t(null,u.addPlayerDimensions(n))}))},this.canRecord=function(){return function(e){return o||(o=new b.default(e)),o}(r).canRecord()},this.isDirty=function(){return u.isDirty()},this.isRecording=function(){return u.isRecording()},this.submit=function(){u.submit()},this.getLogLines=function(){if(r.logger&&r.logger.getLines)return r.logger.getLines()},n=!1,s.default.interactive((function(e){c("Client: interactive(),","previousState =",e+",","!building =",!n+",","!isBuilt() =",!u.isBuilt()),n||u.isBuilt()||(n=!0,u.build(),n=!1)}))};u.default.inherits(v,p.default),Object.keys(c.default.public).forEach((function(e){v[e]=c.default.public[e]})),v.events=f.default;var w=v;n.default=w},{"./constants":325,"./events":326,"./options":327,"./resource":328,"./util/browser":330,"./util/collectLogger":331,"./util/eventEmitter":332,"./wrappers/container":339,"./wrappers/optionsWrapper":342,"./wrappers/visuals/replay":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/web.dom-collections.for-each.js":228,deepmerge:234,readystate:297,util:316}],325:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default={SITE_NAME_LABEL:"x-videomail-site-name",VERSION_LABEL:"videomailClientVersion",public:{ENC_TYPE_APP_JSON:"application/json",ENC_TYPE_FORM:"application/x-www-form-urlencoded"}}},{"core-js/modules/es.object.define-property.js":193}],326:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=(0,r(e("keymirror")).default)({BUILT:null,FORM_READY:null,LOADING_USER_MEDIA:null,USER_MEDIA_READY:null,CONNECTING:null,CONNECTED:null,DISCONNECTED:null,COUNTDOWN:null,RECORDING:null,STOPPING:null,PROGRESS:null,BEGIN_AUDIO_ENCODING:null,BEGIN_VIDEO_ENCODING:null,RESETTING:null,PAUSED:null,RESUMING:null,PREVIEW:null,PREVIEW_SHOWN:null,REPLAY_SHOWN:null,INVALID:null,VALIDATING:null,VALID:null,SUBMITTING:null,SUBMITTED:null,ERROR:null,BLOCKING:null,SENDING_FIRST_FRAME:null,FIRST_FRAME_SENT:null,HIDE:null,NOTIFYING:null,ENABLING_AUDIO:null,DISABLING_AUDIO:null,LOADED_META_DATA:null,EVENT_EMITTED:null,GOING_BACK:null,STARTING_OVER:null,ASKING_WEBCAM_PERMISSION:null,VISIBLE:null,INVISIBLE:null,SWITCH_FACING_MODE:null});n.default=i},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,keymirror:273}],327:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=e("../../package.json"),i={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",cache:!0,insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",replayClass:"replay",userMediaClass:"userMedia",visualsClass:"visuals",buttonClass:null,buttonsClass:"buttons",recordButtonClass:"record",pauseButtonClass:"pause",resumeButtonClass:"resume",previewButtonClass:"preview",recordAgainButtonClass:"recordAgain",submitButtonClass:"submit",subjectInputName:"subject",fromInputName:"from",toInputName:"to",bodyInputName:"body",sendCopyInputName:"sendCopy",keyInputName:"videomail_key",parentKeyInputName:"videomail_parent_key",aliasInputName:"videomail_alias",formId:null,submitButtonId:null,submitButtonSelector:null},audio:{enabled:!1,switch:!1,volume:.2,bufferSize:"auto"},video:{fps:15,limitSeconds:30,countdown:3,width:"auto",height:"auto",facingMode:"user",facingModeButton:!1},image:{quality:.44,types:["webp","jpeg"]},text:{pausedHeader:"Paused",pausedHint:null,sending:"Teleporting",encoding:"Encoding",limitReached:"Limit reached",audioOff:"Audio off",audioOn:"Audio on",buttons:{record:"Record video",recordAgain:"Record again",resume:"Resume",pause:"Pause",preview:"Preview"}},notifier:{entertain:!1,entertainClass:"bg",entertainLimit:6,entertainInterval:9e3},timeouts:{userMedia:2e4,connection:1e4,pingInterval:35e3},callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,subject:null,body:null},playerOnly:!1,displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:r.version};n.default=i}).call(this)}).call(this,e("_process"))},{"../../package.json":323,_process:279,"core-js/modules/es.object.define-property.js":193}],328:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t={};function n(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function r(e,t){return t&&t.body&&t.body.error&&!(e=t.body.error).message&&t.text&&(e.message=t.text),e}function a(n,a,s,u){u||(u=s,s=null);var l={},c=e.baseUrl+"/videomail/";s&&(c+=s);var f=(0,o.default)(n,c);l[i.default.SITE_NAME_LABEL]=e.siteName,f.query(l).send(a).timeout(e.timeout).end((function(n,i){if(n=r(n,i))u(n);else{var o=i.body&&i.body.videomail?i.body.videomail:null;e.cache&&a.alias&&(t[a.alias]=o),u(null,o,i.body)}}))}this.get=function(n,a){e.cache&&t[n]?setTimeout((function(){a(null,t[n])}),0):function(n,a){o.default.get("/videomail/"+n+"/snapshot").set("Accept","application/json").set(i.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(n,i){if(n=r(n,i))a(n);else{var o=i.body?i.body:null;e.cache&&(t.alias=o),a(null,o)}}))}(n,a)},this.reportError=function(t,n){var a={},s=e.baseUrl+"/client-error/",u=(0,o.default)("post",s);a[i.default.SITE_NAME_LABEL]=e.siteName,u.query(a).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?n&&n(e):n&&n()}))},this.post=function(t,r){(t=function(t){return e.defaults&&(t=n(t,"from"),t=n(t,"to"),t=n(t,"subject"),t=n(t,"body")),t}(t))[i.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(t,(function(e,t){e?r(e):a("post",t,r)})):a("post",t,r)},this.put=function(e,t){a("put",e,e.key,t)},this.form=function(t,n,a){var s;switch(e.enctype){case i.default.public.ENC_TYPE_APP_JSON:s="json";break;case i.default.public.ENC_TYPE_FORM:s="form";break;default:setTimeout((function(){a(new Error("Invalid enctype given: "+e.enctype))}),0)}s&&o.default.post(n).type(s).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?a(e):a(null,t)}))}};var i=r(e("./constants")),o=r(e("superagent"))},{"./constants":325,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,superagent:305}],329:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,u,l=new o.default(t);function c(){return window.AudioContext||window.webkitAudioContext}function f(){return!!c()&&!!d()}function d(){if(!u){var e=c();u=new e}return u}this.init=function(e){t.debug("AudioRecorder: init()");var i=d().createGain();try{r=d().createMediaStreamSource(e)}catch(e){throw a.default.create("Webcam has no audio",e.toString(),t)}var o=t.audio.bufferSize;if("auto"===o&&(o=l.isFirefox()?512:2048),!(0,s.default)(o))throw a.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw a.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=d().createScriptProcessor(o,1,1),r.connect(n),n.connect(d().destination),r.connect(i),i.connect(n)},this.record=function(r){t.debug("AudioRecorder: record()"),n.onaudioprocess=function(t){!function(t,n){if(e.isRecording()&&!e.isPaused()){var r=t.inputBuffer.getChannelData(0);n(new i.default(r))}}(t,r)}},this.stop=function(){t.debug("AudioRecorder: stop()"),n&&(n.onaudioprocess=void 0),r&&r.disconnect(),f()&&(d().close?d().close().then((function(){t.debug("AudioRecorder: audio context is closed"),u=null})).catch((function(e){throw a.default.create(e,t)})):u=null)},this.getSampleRate=function(){return f()?d().sampleRate:-1}},e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js");var i=r(e("audio-sample")),o=r(e("./browser")),a=r(e("./videomailError")),s=r(e("is-power-of-two"))},{"./browser":330,"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"audio-sample":6,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"is-power-of-two":270}],330:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.parse-float.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.array-buffer.constructor.js"),e("core-js/modules/es.array-buffer.slice.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.typed-array.uint8-array.js"),e("core-js/modules/es.typed-array.copy-within.js"),e("core-js/modules/es.typed-array.every.js"),e("core-js/modules/es.typed-array.fill.js"),e("core-js/modules/es.typed-array.filter.js"),e("core-js/modules/es.typed-array.find.js"),e("core-js/modules/es.typed-array.find-index.js"),e("core-js/modules/es.typed-array.for-each.js"),e("core-js/modules/es.typed-array.includes.js"),e("core-js/modules/es.typed-array.index-of.js"),e("core-js/modules/es.typed-array.iterator.js"),e("core-js/modules/es.typed-array.join.js"),e("core-js/modules/es.typed-array.last-index-of.js"),e("core-js/modules/es.typed-array.map.js"),e("core-js/modules/es.typed-array.reduce.js"),e("core-js/modules/es.typed-array.reduce-right.js"),e("core-js/modules/es.typed-array.reverse.js"),e("core-js/modules/es.typed-array.set.js"),e("core-js/modules/es.typed-array.slice.js"),e("core-js/modules/es.typed-array.some.js"),e("core-js/modules/es.typed-array.sort.js"),e("core-js/modules/es.typed-array.subarray.js"),e("core-js/modules/es.typed-array.to-locale-string.js"),e("core-js/modules/es.typed-array.to-string.js");var o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError")),u=function(e){e=e||{};var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),p="Chrome"===c.browser.name,h="Chromium"===c.browser.name,y="Firefox"===c.browser.name,m=parseFloat(c.os.version),b="Windows"===c.os.name,g="Edge"===c.browser.name||b&&m>=10,v=/IE/.test(c.browser.name),w=/Safari/.test(c.browser.name),j=/Opera/.test(c.browser.name),E=/Android/.test(c.os.name),x=p||h,S="Facebook"===c.browser.name,_=f||E,A=w&&d>=11,R=f&&m>=11,k=f&&m<11,O=e.fakeHttps||"https:"===window.location.protocol,T=x||y||E||j||g||A||R,M=this;function I(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to <a href="'+n+'" target="_blank">upgrade Firefox</a> to fix this.':p?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to <a href="'+u+'" target="_blank">upgrade Chrome</a> to fix this.':h?e='Probably you need to <a href="http://www.chromium.org/getting-involved/download-chromium" target="_blank">upgrade Chromium</a> to fix this.':v?e='Instead of Internet Explorer you need to upgrade to <a href="'+r+'" target="_blank">Edge</a>.':A?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e='Safari below version 11 has no webcam support.<br/>Better upgrade Safari or pick <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or Android.'),e}function P(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/"+t)),""!==n&&n}this.canRecord=function(){var e="undefined"!=typeof navigator,t=!1;e&&navigator.mediaDevices&&navigator.mediaDevices.getUserMedia?t=!0:t="function"===(e&&(0,i.default)(navigator.getUserMedia_));return t},this.checkRecordingCapabilities=function(){var t,i;if(O){if(!T||!this.canRecord()){var o,a=[];k?a.push(s.default.IOS_PROBLEM):a.push(s.default.BROWSER_PROBLEM),o=T?_?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":_?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",k&&(e.reportErrors=!1),t=s.default.create({message:o},((i=k?"On iPads or iPhones below iOS v11 this camera feature is missing.<br/><br/>For now, we recommend you to upgrade iOS or to use an Android device.":I())||(i=M.isChromeBased()||M.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?'Hence we recommend you to use a real browser like <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or <a href="'+r+'" target="_blank">Edge</a>.':'Hence we recommend you to use either <a href="'+u+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a>, <a href="'+r+'" target="_blank">Edge</a> or Android.'),i),e,{classList:a})}}else t=s.default.create({message:"Sorry, your page is insecure"},"Please switch to HTTPS to ensure all is encrypted.",e,{classList:[s.default.BROWSER_PROBLEM]});return t},this.checkPlaybackCapabilities=function(t){var n,r,i;return e.debug("Browser: checkPlaybackCapabilities()"),t?this.getVideoType(t)?t.setAttribute||(r="Unable to set video attributes in your old browser"):r="Your old browser cannot support modern video codecs":r="No HTML5 support for video tag!",r&&(n=s.default.create(r,((i=I())||(i='<a href="http://browsehappy.com" target="_blank">Upgrading your browser</a> might help.'),i),e)),n},this.checkBufferTypes=function(){var t;return"undefined"==typeof window||void 0===window.atob?t=s.default.create("atob is not supported",e):void 0===window.ArrayBuffer?t=s.default.create("ArrayBuffers are not supported",e):void 0===window.Uint8Array&&(t=s.default.create("Uint8Arrays are not supported",e)),t},this.getVideoType=function(e){if(e)return t||(P(e,"mp4")&&!x?t="mp4":P(e,"webm")&&(t="webm")),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam.":this.isFirefox()?"Please grant Firefox access to your webcam.":"Your system does not let your browser access your webcam.",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return x},this.isFirefox=function(){return y},this.isEdge=function(){return g},this.isAndroid=function(){return E},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return A},this.getUsefulData=function(){return{browser:c.browser,device:c.device,os:c.os,engine:c.engine,userAgent:l}}};n.default=u},{"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array-buffer.constructor.js":184,"core-js/modules/es.array-buffer.slice.js":185,"core-js/modules/es.array.iterator.js":188,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.parse-float.js":197,"core-js/modules/es.regexp.exec.js":200,"core-js/modules/es.typed-array.copy-within.js":204,"core-js/modules/es.typed-array.every.js":205,"core-js/modules/es.typed-array.fill.js":206,"core-js/modules/es.typed-array.filter.js":207,"core-js/modules/es.typed-array.find-index.js":208,"core-js/modules/es.typed-array.find.js":209,"core-js/modules/es.typed-array.for-each.js":210,"core-js/modules/es.typed-array.includes.js":211,"core-js/modules/es.typed-array.index-of.js":212,"core-js/modules/es.typed-array.iterator.js":213,"core-js/modules/es.typed-array.join.js":214,"core-js/modules/es.typed-array.last-index-of.js":215,"core-js/modules/es.typed-array.map.js":216,"core-js/modules/es.typed-array.reduce-right.js":217,"core-js/modules/es.typed-array.reduce.js":218,"core-js/modules/es.typed-array.reverse.js":219,"core-js/modules/es.typed-array.set.js":220,"core-js/modules/es.typed-array.slice.js":221,"core-js/modules/es.typed-array.some.js":222,"core-js/modules/es.typed-array.sort.js":223,"core-js/modules/es.typed-array.subarray.js":224,"core-js/modules/es.typed-array.to-locale-string.js":225,"core-js/modules/es.typed-array.to-string.js":226,"core-js/modules/es.typed-array.uint8-array.js":227,defined:235,"ua-parser-js":312}],331:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new o.default(e),n=e.logger||console,r=e.selectors&&e.selectors.containerId||"undefined container id",a=[];function s(t,n){var r=i.default.format.apply(i.default,n);return a.length>e.logStackSize&&a.pop(),a.push("["+t+"] "+r),r}function u(e){return"#"+r+" ["+(new Date).toLocaleTimeString()+"] > "+e}this.debug=function(){var r=[].slice.call(arguments,0);r[0]=u(r[0]);var i=s("debug",r);e.verbose&&(t.isFirefox()?n.debug(i):n.groupCollapsed?(n.groupCollapsed(i),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(i):console.log(i))},this.error=function(){var e=[].slice.call(arguments,0);e[0]=u(e[0]),n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);e[0]=u(e[0]),n.warn(s("warn",e))},this.getLines=function(){return a}},e("core-js/modules/es.array.slice.js");var i=r(e("util")),o=r(e("./browser"))},{"./browser":330,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":190,"core-js/modules/es.object.define-property.js":193,util:316}],332:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,s=Array.prototype.slice.call(arguments,0);if(!n)throw o.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var u=s[1];u=o.default.create(u,e),s[1]=u}e.debug&&("removeListener"!==n&&"newListener"!==n&&(s[1]&&(r=s.slice(1)),r?e.debug("%s emits: %s",t,n,r):e.debug("%s emits: %s",t,n)));var l=i.default.emit.apply(i.default,s);return l},this.on=function(e,t){return i.default.on(e,t)},this.once=function(e,t){return i.default.once(e,t)},this.listeners=function(e){return i.default.listeners(e)},this.removeListener=function(e,t){return i.default.removeListener(e,t)},this.removeAllListeners=function(){i.default.removeAllListeners()}},e("core-js/modules/es.array.slice.js");var i=r(e("despot")),o=r(e("./videomailError")),a=r(e("./../events"))},{"./../events":326,"./videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":190,"core-js/modules/es.object.define-property.js":193,despot:236}],333:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("filesize")),o=r(e("humanize-duration")),a={filesize:function(e,t){return(0,i.default)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}};n.default=a},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,filesize:244,"humanize-duration":259}],334:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=["loadstart","suspend","progress","abort","emptied","stalled","pause","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","ended","ratechange","durationchange","volumechange"]},{"core-js/modules/es.object.define-property.js":193}],335:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return e;if(Array.isArray(e))return function(e){if(e&&e.length>0){var t=[];return e.forEach((function(e){e&&t.push((0,o.default)(e))})),a+t.join(s)}}(e);if("object"===(0,i.default)(e))return function(e,t){var n,r=Object.getOwnPropertyNames(e),i=t&&t.excludes||[],u=[];if(i.push("stack"),r&&r.length>0){var l=!1;r.forEach((function(t){i&&(l=i.indexOf(t)>=0),!l&&e[t]&&u.push((0,o.default)(e[t]))}))}1===u.length?n=u.join():u.length>1&&(n=a+u.join(s));return n}(e,t);return e.toString()};var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.array.join.js"),e("core-js/modules/es.object.get-own-property-names.js"),e("core-js/modules/es.array.index-of.js"),e("core-js/modules/es.regexp.to-string.js");var o=r(e("safe-json-stringify")),a="- ",s="<br/>- "},{"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.array.index-of.js":187,"core-js/modules/es.array.join.js":189,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.get-own-property-names.js":194,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/web.dom-collections.for-each.js":228,"safe-json-stringify":301}],336:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.screen||(e.screen={});(0,i.default)("native"),t.mediaDevices&&t.mediaDevices.getUserMedia||(t.getUserMedia_=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia||t.msGetUserMedia);!e.AudioContext&&e.webkitAudioContext&&(e.AudioContext=e.webkitAudioContext);e.URL||(e.URL=e.webkitURL||e.mozURL||e.msURL);t.connection||(t.connection=t.mozConnection||t.webkitConnection);var n,r=["debug","groupCollapsed","groupEnd","error","exception","info","log","trace","warn"],o={};e.console?o=e.console:e.console=function(){};var a=r.length;for(;a--;)n=r[a],o[n]||(o[n]=function(){})},e("classlist.js");var i=r(e("request-frame"))},{"@babel/runtime/helpers/interopRequireDefault":1,"classlist.js":16,"core-js/modules/es.object.define-property.js":193,"request-frame":299}],337:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/typeof"));e("core-js/modules/es.function.name.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.index-of.js");var o=r(e("./../resource")),a=r(e("create-error")),s=r(e("./pretty")),u=r(e("util")),l="Videomail Error",c=(0,a.default)(Error,l,{explanation:void 0,logLines:void 0,useragent:void 0,url:void 0,stack:void 0}),f=function(e){return(0,s.default)(e,{excludes:["stack"]})};c.PERMISSION_DENIED="PERMISSION_DENIED",c.NOT_ALLOWED_ERROR="NotAllowedError",c.NOT_CONNECTED="Not connected",c.DOM_EXCEPTION="DOMException",c.STARTING_FAILED="Starting video failed",c.MEDIA_DEVICE_NOT_SUPPORTED="MediaDeviceNotSupported",c.BROWSER_PROBLEM="browser-problem",c.WEBCAM_PROBLEM="webcam-problem",c.IOS_PROBLEM="ios-problem",c.OVERCONSTRAINED="OverconstrainedError",c.NOT_FOUND_ERROR="NotFoundError",c.NOT_READABLE_ERROR="NotReadableError",c.SECURITY_ERROR="SecurityError",c.TRACK_START_ERROR="TrackStartError",c.INVALID_STATE_ERROR="InvalidStateError",c.create=function(t,n,r,a){if(t&&t.name===l)return t;!r&&n&&(r=n,n=void 0),a=a||{};var s=(r=r||{})&&r.debug||console.log,d=r&&r.isAudioEnabled&&r.isAudioEnabled();s("VideomailError: create()",t,n||"(no explanation set)");var p,h,y,m=a.classList||[],b=new(0,e("./browser").default)(r);switch("object"===(0,i.default)(t)?t.name===c.TRACK_START_ERROR?p=c.TRACK_START_ERROR:t.name===c.SECURITY_ERROR?p=c.SECURITY_ERROR:8===t.code&&t.name===c.NotFoundError?p=c.NotFoundError:35===t.code||t.name===c.NOT_ALLOWED_ERROR?p=c.NOT_ALLOWED_ERROR:1===t.code&&1===t.PERMISSION_DENIED?p=c.PERMISSION_DENIED:t.constructor&&t.constructor.name===c.DOM_EXCEPTION?p=t.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:t.constructor&&t.constructor.name===c.OVERCONSTRAINED?p=c.OVERCONSTRAINED:t.message===c.STARTING_FAILED?p=t.message:t.name?p=t.name:"error"===t.type&&0===t.target.bufferedAmount&&(p=c.NOT_CONNECTED):p=t===c.NOT_CONNECTED?c.NOT_CONNECTED:t,y=t&&t.stack?t.stack:(new Error).stack,p){case c.SECURITY_ERROR:h="The operation was insecure",n="Probably you have disallowed Cookies for this page?",m.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:h="Invalid webcam constraints",n=t.constraint?"width"===t.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: "+t.constraint:t.toString();break;case"MediaDeviceFailedDueToShutdown":h="Webcam is shutting down",n="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":h="Source of your webcam cannot be accessed",n="Probably it is locked from another process or has a hardware error.",t.message&&(t.message+=" Details: "+t.message);break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":d?(h="No webcam nor microphone found",n="Your browser cannot find a webcam with microphone attached to your machine."):(h="No webcam found",n="Your browser cannot find a webcam attached to your machine."),m.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":h="Ooops, you didn't give me any permissions?",n="Looks like you skipped the webcam permission dialogue.<br/>Please grant access next time the dialogue appears.",m.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":h="Permission denied",n="Cannot access your webcam. This can have two reasons:<br/>a) you blocked access to webcam; or<br/>b) your webcam is already in use.",m.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":h="Webcam is unavailable",n="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(n+=" Or you have to allow access above?"),m.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:h="Unable to connect",n="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":h="No video feed found!",n="Your webcam is already used in another browser.",m.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:h="Starting video failed",n="Most likely this happens when the webam is already active in another browser.",m.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":h="No available webcam could be found",n="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",m.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:h="No access to webcam",n="A hardware error occurred which prevented access to your webcam.",m.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:h="Invalid state",n="Video recording stream from your webcam already has finished.",m.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(t.code){case 8:h="Requested webcam not found",n="A webcam is needed but could not be found.",m.push(c.WEBCAM_PROBLEM);break;case 9:h="Security upgrade needed",n='Click <a href="'+("https:"+window.location.href.substring(window.location.protocol.length))+'">here</a> to switch to HTTPs which is more safe and enables encrypted videomail transfers.',m.push(c.BROWSER_PROBLEM);break;case 11:h="Invalid State",n="The object is in an invalid, unusable state.",m.push(c.BROWSER_PROBLEM);break;default:h="DOM Exception",n=f(t),m.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:h="Media device not supported",n=f(t);break;default:var g=n;if(n&&"object"===(0,i.default)(n)&&(n=f(n)),!n&&g&&(n=g.message?g.message:"Inspected: "+u.default.inspect(g,{showHidden:!0})),t)if("string"==typeof t)h=t;else if(t.message&&(h=f(t.message)),t.explanation&&(n?n+=";<br/>"+f(t.explanation):n=f(t.explanation)),t.details){var v=f(t.details);n?n+=";<br/>"+v:n=v}h||(p&&(h=p),!n&&t&&(n=f(t)),f(h)===n&&(n=void 0))}var w=null;r.logger&&r.logger.getLines&&(w=r.logger.getLines()),y&&((h=new Error(h)).stack=y);var j="none";t&&(j="code="+(t.code?t.code:"undefined"),j+=", type="+(t.type?t.type:"undefined"),j+=", name="+(t.name?t.name:"undefined"),j+=", message="+(t.message?t.message:"undefined"));var E,x=new c(h,{explanation:n,logLines:w,client:b.getUsefulData(),url:window.location.href,siteName:r.siteName,code:j,stack:y}),S=!1;function _(e){return m.indexOf(e)>=0}return r.reportErrors&&(S="function"==typeof r.reportErrors?r.reportErrors(x):r.reportErrors),S&&(E=new o.default(r)),E&&E.reportError(x,(function(e){e&&console.error("Unable to report error",e)})),x.getClassList=function(){return m},x.removeDimensions=function(){return _(c.IOS_PROBLEM)||b.isMobile()},x.hideButtons=function(){return _(c.BROWSER_PROBLEM)||a.browserProblem||_(c.IOS_PROBLEM)},x.hideForm=function(){return _(c.IOS_PROBLEM)},x};var d=c;n.default=d},{"./../resource":328,"./browser":330,"./pretty":335,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.index-of.js":187,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"create-error":233,util:316}],338:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.function.name.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("contains")),u=r(e("./../events")),l=r(e("./../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,i,c,f,d,p,h,y,m,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,a.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,a.default)(e,!1)}))}function j(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t=t&&e&&!(0,a.default)(e)})),t}function E(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){e&&("INPUT"===e.tagName||"BUTTON"===e.tagName?e.disabled=!0:e.classList.add("disabled"))}))}function x(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){e&&("INPUT"===e.tagName||"BUTTON"===e.tagName?e.disabled=!1:e.classList.remove("disabled"))}))}function S(e,t,n,r){return r&&E(e),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function _(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function A(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,o.default)("input#"+e.id,{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,o.default)("span.radioGroup",t,(0,o.default)("label",{htmlFor:e.id},e.label)),p&&(0,s.default)(n,p)?n.insertBefore(r,p):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),E(t),[t,r]}function R(e,r,i,a,u,l,c){var f,d=!(arguments.length>7&&void 0!==arguments[7])||arguments[7];return(f=u?document.getElementById(u):c?document.querySelector(c):n.querySelector("."+e))?f=S(f,a,l,d):(t.selectors.buttonClass&&(e+="."+t.selectors.buttonClass),(f=S(f=(0,o.default)("button."+e),a,l,d)).innerHTML=r,p&&(0,s.default)(n,p)?n.insertBefore(f,p):n.appendChild(f)),i&&_(f,i),f}function k(e){j(d)||e.paused||w(r),e.paused||(E(f),v(f)),t.enableAutoValidation||x(p)}function O(){v(r),v(d),i&&(w(i),x(i)),x(f),w(f)}function T(){E(d),e.beginWaiting(),e.recordAgain()}function M(){e.submit()}function I(t){E(r),e.record(t)}function P(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){k(e),j(r)&&x(r),j(h)&&x(h),j(y)&&x(y),t.enableAutoValidation&&E(p)}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),E(h),E(y),w(d),x(d),t.enableAutoValidation||x(p)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?O():(E(y),E(h),E(d),E(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){O()})).on(u.default.RESUMING,(function(){v(c),v(r),i&&(x(i),w(i))})).on(u.default.STOPPING,(function(){E(f),v(i),v(c)})).on(u.default.COUNTDOWN,(function(){E(r),E(y),E(h)})).on(u.default.SUBMITTING,(function(){E(p),E(d)})).on(u.default.RESETTING,(function(){E(p),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&E(p)})).on(u.default.VALID,(function(){t.enableAutoValidation&&x(p)})).on(u.default.SUBMITTED,(function(){E(f),E(d),E(r),E(p)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c)})).on(u.default.FORM_READY,(function(e){k(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(p)})).on(u.default.ENABLING_AUDIO,(function(){E(r),E(h),E(y)})).on(u.default.DISABLING_AUDIO,(function(){E(r),E(h),E(y)})).on(u.default.STARTING_OVER,(function(){w(p)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){x(p)},this.adjustButtonsForPause=function(){b.isCountingDown()||(i&&v(i),w(c),x(c),v(r),w(f),x(f))},this.reset=function(){t.debug("Buttons: reset()"),E(i),E(c),E(r),E(f),E(d)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){p=e},this.getSubmitButton=function(){return p},this.build=function(){(n=e.querySelector("."+t.selectors.buttonsClass))||(n=(0,o.default)("div."+t.selectors.buttonsClass),e.appendChild(n)),t.disableSubmit||(p?E(p):p=R(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&p&&_(p,M)),r=R(t.selectors.recordButtonClass,t.text.buttons.record,I,!1),t.enablePause&&(i=R(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=R(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=R(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=R(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,T,!1),t.audio&&t.audio.switch&&(y=A({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),h=A({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!m&&P(),m=!0},this.unload=function(){m=!1},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(i),v(c),v(f),v(d),v(p))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};i.default.inherits(c,l.default);var f=c;n.default=f},{"./../events":326,"./../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,contains:18,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,util:316}],339:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.function.name.js");var i=r(e("./buttons")),o=r(e("./dimension")),a=r(e("./../util/eventEmitter")),s=r(e("./../events")),u=r(e("./form")),l=r(e("./optionsWrapper")),c=r(e("./../resource")),f=r(e("./../util/videomailError")),d=r(e("document-visibility")),p=r(e("./visuals")),h=r(e("./../../styles/css/main.min.css.js")),y=r(e("element-closest")),m=r(e("hidden")),b=r(e("insert-css")),g=r(e("util"));(0,y.default)(window);var v=function(e){a.default.call(this,e,"Container");var t,n,r,y=this,g=(0,d.default)(),v=new p.default(this,e),w=new i.default(this,e),j=new c.default(e),E=document&&document.querySelector&&document.querySelector("html"),x=e.debug,S=!1,_=!1,A=!1;function R(){return"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):t.closest("form")}function k(){x("Container: initEvents()"),window.addEventListener("beforeunload",(function(e){y.unload(e)})),e.playerOnly||g.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&y.isCountingDown()&&y.resume(),y.emit(s.default.VISIBLE)):(e.isAutoPauseEnabled()&&(y.isCountingDown()||y.isRecording())&&y.pause("document invisible"),y.emit(s.default.INVISIBLE)))})),e.enableSpace&&(e.playerOnly||window.addEventListener("keypress",(function(t){var n=t.target.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===n||"TEXTAREA"===n||32===(t.keyCode?t.keyCode:t.which)&&(t.preventDefault(),e.enablePause?v.pauseOrResume():v.recordOrStop())}))),y.on(s.default.ERROR,(function(n){!function(t){S=!0,t.stack?e.logger.error(t.stack):e.logger.error(t),e.displayErrors?v.error(t):v.reset()}(n),T(n),n.removeDimensions&&n.removeDimensions()&&(t.style.width="auto")})),e.playerOnly||y.on(s.default.LOADED_META_DATA,(function(){O()}))}function O(){var n=v.getRecorderWidth(!0);if(n<1)throw f.default.create("Recorder width cannot be less than 1!",e);t.style.width=n+"px"}function T(e){v.unload(e),w.unload(),y.endWaiting()}function M(e){return e.replace(/(^[,\s]+)|([,\s]+$)/g,"")}function I(t,n,r,i){r&&""!==r||(r=document.baseURI),n&&(t[e.selectors.aliasInputName]=n.videomail.alias,e.submitWithVideomail&&(t.videomail=n.videomail)),j.form(t,r,i)}function P(e,t,n,r,i){y.endWaiting(),e?y.emit(s.default.ERROR,e):(_=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),y.emit(s.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}function C(e){return e&&"POST"===e.toUpperCase()}this.addPlayerDimensions=function(e,t){try{return e.playerHeight=this.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=this.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){y.emit(s.default.ERROR,e)}},this.limitWidth=function(n){return o.default.limitWidth(t,n,e)},this.limitHeight=function(t){return o.default.limitHeight(t,e)},this.calculateWidth=function(t){return o.default.calculateWidth(l.default.merge(e,t,!0))},this.calculateHeight=function(n,r){return r||(r=t||document.body),o.default.calculateHeight(r,l.default.merge(e,n,!0))},this.areVisualsHidden=function(){return v.isHidden()},this.hasElement=function(){return!!t},this.build=function(){try{(t=document.getElementById(e.selectors.containerId))&&(e.insertCss&&(0,b.default)(h.default,{prepend:!0}),!n&&k(),function(){if(e.hasDefinedWidth()&&e.video.width%2!=0)throw f.default.create("Width must be divisible by two.",e);if(e.hasDefinedHeight()&&e.video.height%2!=0)throw f.default.create("Height must be divisible by two.",e)}(),O(),e.playerOnly||function(){var t=R();if(t){x("Container: buildForm()");var n=(r=new u.default(y,t,e)).findSubmitButton();n&&w.setSubmitButton(n),r.build()}}(),x("Container: buildChildren()"),t.classList?(t.classList.add("videomail"),e.playerOnly||w.build(),v.build()):y.emit(s.default.ERROR,f.default.create("Sorry, your browser is too old!",e)),S?x("Container: building failed due to an error."):(x("Container: built."),n=!0,y.emit(s.default.BUILT)))}catch(e){if(!v.isNotifierBuilt())throw e;y.emit(s.default.ERROR,e)}},this.getSubmitButton=function(){return w.getSubmitButton()},this.querySelector=function(e){return t.querySelector(e)},this.beginWaiting=function(){E.classList&&E.classList.add("wait")},this.endWaiting=function(){E.classList&&E.classList.remove("wait")},this.appendChild=function(e){t.appendChild(e)},this.insertBefore=function(e,n){t.insertBefore(e,n)},this.unload=function(e){x("Container: unload()",e);try{T(e),this.removeAllListeners(),n=_=!1}catch(e){y.emit(s.default.ERROR,e)}},this.show=function(){if(t&&((0,m.default)(t,!1),v.show(),!S)){var e=y.isPaused();e&&w.adjustButtonsForPause(),w.show(),y.isReplayShown()?y.emit(s.default.PREVIEW):y.emit(s.default.FORM_READY,{paused:e})}},this.hide=function(){x("Container: hide()"),S=!1,this.isRecording()&&this.pause(),v.hide(),_&&(w.hide(),(0,m.default)(t,!0))},this.startOver=function(e){try{y.emit(s.default.STARTING_OVER),_=!1,r.show(),v.back(e,(function(){e.keepHidden?y.enableForm():y.show(e)}))}catch(e){y.emit(s.default.ERROR,e)}},this.showReplayOnly=function(){S=!1,this.isRecording()&&this.pause(),v.showReplayOnly(),_&&w.hide()},this.isNotifying=function(){return v.isNotifying()},this.isPaused=function(){return v.isPaused()},this.pause=function(e){v.pause(e)},this.validate=function(t){var n,i=!0;if(e.enableAutoValidation?t?i=t:y.isNotifying()?i=!1:v.isConnected()?i=v.isUserMediaLoaded()||v.isReplayShown():v.isConnecting()&&(i=!1):(i=!1,A=!0),i){this.emit(s.default.VALIDATING);var o,a=v.validate()&&w.isRecordAgainButtonEnabled();if(r)if(n=r.validate())this.areVisualsHidden()||a||((_||this.isReady()||this.isRecording()||this.isPaused()||this.isCountingDown())&&(n=!1),n||(o="Video is not recorded"));else{var u=r.getInvalidElement();o=u?"Form input named "+u.name+" is invalid":"Form input(s() are invalid"}else n=a;n?this.emit(s.default.VALID):this.emit(s.default.INVALID,o),A=n}return n},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return!!r},this.isReady=function(){return w.isRecordButtonEnabled()},this.submitAll=function(t,n,r){var i=C(n);function o(){y.beginWaiting(),y.disableForm(!0),y.emit(s.default.SUBMITTING)}!!t[e.selectors.keyInputName]?(o(),function(t,n,r){var i={subject:e.selectors.subjectInputName,from:e.selectors.fromInputName,to:e.selectors.toInputName,body:e.selectors.bodyInputName,key:e.selectors.keyInputName,parentKey:e.selectors.parentKeyInputName,sendCopy:e.selectors.sendCopyInputName},o={};Object.keys(i).forEach((function(e){var n=i[e];n in t&&(o[e]=t[n])})),o.from&&(o.from=M(o.from)),o.to&&(o.to=M(o.to)),C(n)||!n?(o.recordingStats=v.getRecordingStats(),o.width=v.getRecorderWidth(!0),o.height=v.getRecorderHeight(!0),navigator.connection&&(o.connection={downlink:navigator.connection.downlink+" Mbit/s",effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),j.post(o,r)):function(e){return e&&"PUT"===e.toUpperCase()}(n)&&j.put(o,r)}(t,n,(function(e,n,o){e?P(e,0,n,o):i?I(t,o,r,(function(e,t){P(e,0,n,o,t)})):P(null,0,n,o)}))):e.enableAutoSubmission&&(o(),I(t,null,r,(function(e,t){P(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return v.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(v.isRecorderUnloaded()?e=!1:(this.isReplayShown()||this.isPaused())&&(e=!0)),e},this.getReplay=function(){return v.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),w&&w.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),this.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),this.emit(s.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),this.emit(s.default.DISABLING_AUDIO)},this.submit=function(){A&&r&&r.doTheSubmit()},this.isCountingDown=v.isCountingDown.bind(v),this.isRecording=v.isRecording.bind(v),this.record=v.record.bind(v),this.resume=v.resume.bind(v),this.stop=v.stop.bind(v),this.recordAgain=v.recordAgain.bind(v)};g.default.inherits(v,a.default);var w=v;n.default=w},{"./../../styles/css/main.min.css.js":354,"./../events":326,"./../resource":328,"./../util/eventEmitter":332,"./../util/videomailError":337,"./buttons":338,"./dimension":340,"./form":341,"./optionsWrapper":342,"./visuals":343,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.exec.js":200,"core-js/modules/es.string.replace.js":203,"core-js/modules/web.dom-collections.for-each.js":228,"document-visibility":237,"element-closest":239,hidden:258,"insert-css":264,util:316}],340:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.parse-int.js");var i=r(e("number-is-integer")),o=r(e("./../util/videomailError"));function a(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),(0,i.default)(e)&&e<1)throw o.default.create("Got a video height less than 1 ("+e+") while figuring out the minimum!",t);return e}var s={limitWidth:function(e,t,n){var r,a=function(e){var t=0,n=e.getBoundingClientRect();return n&&(t=n.right-n.left),t<1&&(t=(n=document.body.getBoundingClientRect()).right-n.left),t}(e);if(r=t?a>0&&a<t?a:t:a,(0,i.default)(r)&&r<1)throw o.default.create("Limited width cannot be less than 1!",n);return r},limitHeight:function(e,t){if((0,i.default)(e)&&e<1)throw o.default.create("Passed limit-height argument cannot be less than 1!",t);var n=Math.min(e,document.documentElement.clientHeight);if(n<1)throw o.default.create("Limited height cannot be less than 1!",t);return n},calculateWidth:function(e){var t=e.videoHeight||null,n=e.ratio||e.getRatio();if(t=a(t,e),e.responsive&&(t=this.limitHeight(t,e)),(0,i.default)(t)&&t<1)throw o.default.create("Height cannot be smaller than 1 when calculating width.",e);var r=parseInt(t/n);if(r<1)throw o.default.create("Calculated width cannot be smaller than 1!",e);return r},calculateHeight:function(e,t){var n,r=t.videoWidth||null,s=t.ratio||t.getRatio();if(t.hasDefinedWidth()&&(r=t.video.width),(0,i.default)(r)&&r<1)throw o.default.create("Unable to calculate height when width is less than 1.",t);if(t.responsive&&(r=this.limitWidth(e,r,t)),r&&(n=parseInt(r*s)),(0,i.default)(n)&&n<1)throw o.default.create("Just calculated a height less than 1 which is wrong.",t);return a(n,t)}};n.default=s},{"./../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.parse-int.js":198,"number-is-integer":274}],341:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.function.name.js");var i=r(e("./../util/eventEmitter")),o=r(e("./../events")),a=r(e("./../util/videomailError")),s=r(e("get-form-data")),u=r(e("hyperscript")),l=r(e("hidden")),c=function(e,t,n){i.default.call(this,n,"Form");var r,c,f=this;function d(e,n){for(var r,i=t.elements.length,o=0;o<i;o++)(n||!n&&("BUTTON"!==(r=t.elements[o]).tagName&&"submit"!==r.type))&&(t.elements[o].disabled=e)}function p(){return t.querySelectorAll("input, textarea")}function h(){return t.querySelectorAll("select")}this.loadVideomail=function(e){for(var r,i,o=t.elements.length,a=0;a<o;a++)e[i=(r=t.elements[a]).name]&&(r.value=e[i]),i!==n.selectors.subjectInputName&&i!==n.selectors.bodyInputName||(r.disabled=!0);t.setAttribute("method","put")},this.disable=function(e){d(!0,e)},this.enable=function(e){d(!1,e)},this.build=function(){if(n.enableAutoValidation){for(var i,s=p(),d=0,y=s.length;d<y;d++)"radio"===(i=s[d]).type?i.addEventListener("change",(function(){e.validate()})):i.addEventListener("input",(function(){e.validate()})),i.addEventListener("invalid",(function(){r||e.validate()}));for(var m=h(),b=0,g=m.length;b<g;b++)m[b].addEventListener("change",(function(){e.validate()}))}(c=t.querySelector('input[name="'+n.selectors.keyInputName+'"]'))||(c=(0,u.default)("input",{name:n.selectors.keyInputName,type:"hidden"}),t.appendChild(c)),this.on(o.default.PREVIEW,(function(e){e||c.value?e&&(c.value=e):f.emit(o.default.ERROR,a.default.create("Videomail key for preview is missing!",n))})),this.on(o.default.GOING_BACK,(function(){c.value=null})),this.on(o.default.ERROR,(function(e){var r;e.hideForm&&e.hideForm()&&n.adjustFormOnBrowserError?function(){for(var e=t.elements.length,n=0;n<e;n++)(0,l.default)(t.elements[n],!0);(0,l.default)(t,!0)}():e.hideButtons&&e.hideButtons()&&n.adjustFormOnBrowserError&&(r=f.findSubmitButton(),(0,l.default)(r,!0))})),this.on(o.default.BUILT,(function(){e.getSubmitButton().addEventListener("click",f.doTheSubmit.bind(f))}))},this.doTheSubmit=function(n){return n&&n.preventDefault(),e.hasElement()&&e.submitAll((0,s.default)(t,{includeDisabled:!0}),t.getAttribute("method"),t.getAttribute("action")),!1},this.getInvalidElement=function(){for(var e=p(),t=0,n=e.length;t<n;t++)if(!e[t].validity.valid)return e[t];for(var r=h(),i=0,o=r.length;i<o;i++)if(!r[i].validity.valid)return r[i];return null},this.validate=function(){r=!0;var e=t.checkValidity();return r=!1,e},this.findSubmitButton=function(){return t.querySelector("[type='submit']")},this.hide=function(){t&&(0,l.default)(t,!0)},this.show=function(){t&&(0,l.default)(t,!1)}};r(e("util")).default.inherits(c,i.default);var f=c;n.default=f},{"./../events":326,"./../util/eventEmitter":332,"./../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"get-form-data":248,hidden:258,hyperscript:260,util:316}],342:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("deepmerge")),o={addFunctions:function(e){var t=e.audio&&e.audio.enabled;e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedDimension=function(){return this.hasDefinedWidth()||this.hasDefinedHeight()},e.hasDefinedDimensions=function(){return this.hasDefinedWidth()&&this.hasDefinedHeight()},e.getRatio=function(){var e=1,t=this.videoHeight&&this.videoWidth;return this.hasDefinedDimensions()?e=t&&(this.videoHeight<this.video.height||this.videoWidth<this.video.width)?this.videoHeight/this.videoWidth:this.video.height/this.video.width:t&&(e=this.videoHeight/this.videoWidth),e},e.isAudioEnabled=function(){return t},e.setAudioEnabled=function(e){t=e},e.isAutoPauseEnabled=function(){return this.enableAutoPause&&this.enablePause}},merge:function(e,t){var n=(0,i.default)(e,t,{arrayMerge:function(e,t){return t}});return this.addFunctions(n),n}};n.default=o},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,deepmerge:234}],343:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("./visuals/replay")),u=r(e("./visuals/recorder")),l=r(e("./visuals/notifier")),c=r(e("./visuals/inside/recorderInsides")),f=r(e("./../util/eventEmitter")),d=r(e("./../events")),p=function(e,t){f.default.call(this,t,"Visuals");var n,r,i=this,p=new s.default(this,t),h=new u.default(this,p,t),y=new c.default(this,t),m=new l.default(this,t),b=t.debug;function g(){var r;b("Visuals: buildChildren()"),(r=e.querySelector("noscript"))||((r=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(r)),t.playerOnly||(m.build(),y.build()),p.build(),b("Visuals: built.")}function v(){t.playerOnly||(b("Visuals: initEvents()"),i.on(d.default.USER_MEDIA_READY,(function(){r=!0,i.endWaiting(),e.enableForm(!1)})).on(d.default.PREVIEW,(function(){i.endWaiting()})).on(d.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(d.default.PREVIEW_SHOWN,(function(){e.validate(!0)})).on(d.default.LOADED_META_DATA,(function(){w()})).on(d.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&(n.style.width="auto",n.style.height="auto")})))}function w(){n.style.width=i.getRecorderWidth(!0)+"px",n.style.height=i.getRecorderHeight(!0)+"px"}function j(){return!i.isNotifying()&&!p.isShown()&&!i.isCountingDown()}this.getRatio=function(){return n.clientWidth?n.clientHeight/n.clientWidth:0},this.isCountingDown=function(){return y.isCountingDown()},this.build=function(){if(!(n=e.querySelector("."+t.selectors.visualsClass))){n=(0,o.default)("div."+t.selectors.visualsClass);var a=e.querySelector("."+t.selectors.buttonsClass);a&&!e.isOutsideElementOf(a)?e.insertBefore(n,a):e.appendChild(n)}n.classList.add("visuals"),w(),!r&&v(),g(),i.parentNode=n.parentNode,r=!0},this.querySelector=function(e){return n&&n.querySelector(e)},this.appendChild=function(e){n&&n.appendChild(e)},this.removeChild=function(e){n.removeChild(e)},this.reset=function(){this.endWaiting(),h.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){h.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),p.hide(),m.hide(),e.keepHidden?(h.hide(),t&&t()):h.back(t)},this.recordAgain=function(){this.back((function(){i.once(d.default.USER_MEDIA_READY,(function(){i.record()}))}))},this.unload=function(e){try{h.unload(e),y.unload(e),p.unload(e),r=!1}catch(e){this.emit(d.default.ERROR,e)}},this.isNotifying=function(){return m.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){h.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():h.resume(),y.hidePause()},this.pauseOrResume=function(){j.call(this)&&(this.isRecording()?this.pause():h.isPaused()?this.resume():h.isReady()&&this.record())},this.recordOrStop=function(){j()&&(this.isRecording()?this.stop():h.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(d.default.COUNTDOWN),y.startCountdown(h.record.bind(h))):h.record()},this.getRecorder=function(){return h},this.getReplay=function(){return p},this.validate=function(){return h.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return h.getRecordingStats()},this.getAudioSampleRate=function(){return h.getAudioSampleRate()},this.isPaused=function(){return h.isPaused()},this.error=function(e){m.error(e)},this.hide=function(){n&&((0,a.default)(n,!0),this.emit(d.default.HIDE))},this.isHidden=function(){return!r||(n?(0,a.default)(n):void 0)},this.showVisuals=function(){n&&(0,a.default)(n,!1)},this.show=function(){!this.isReplayShown()&&n&&h.build(),this.showVisuals()},this.showReplayOnly=function(){!this.isReplayShown()&&p.show(),this.show(),h.hide(),m.hide()},this.isRecorderUnloaded=function(){return h.isUnloaded()},this.isConnecting=function(){return h.isConnecting()},this.getRecorderWidth=function(e){return h.getRecorderWidth(e)},this.getRecorderHeight=function(e){return h.getRecorderHeight(e)},this.limitWidth=function(n){return e.limitWidth(n,t)},this.limitHeight=function(t){return e.limitHeight(t)},this.calculateWidth=function(t){return e.calculateWidth(t)},this.calculateHeight=function(t){return e.calculateHeight(t)},this.getReplay=function(){return p},this.getBoundingClientRect=function(){return n&&n.getBoundingClientRect()},this.checkTimer=function(e){y.checkTimer(e)},this.isNotifierBuilt=function(){return m&&m.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=h.hide.bind(h),this.isRecording=h.isRecording.bind(h),this.isUserMediaLoaded=h.isUserMediaLoaded.bind(h),this.isConnected=h.isConnected.bind(h)};i.default.inherits(p,f.default);var h=p;n.default=h},{"./../events":326,"./../util/eventEmitter":332,"./visuals/inside/recorderInsides":349,"./visuals/notifier":350,"./visuals/recorder":351,"./visuals/replay":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260,util:316}],344:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,a,s,u=this;function l(e){s||(t.debug("Countdown",a),--a<1?function(e){u.unload(),u.hide(),setTimeout((function(){e()}),0)}(e):n.innerHTML=a)}this.start=function(e){n.innerHTML=a=t.video.countdown,this.show(),r=setInterval(l.bind(this,e),950)},this.pause=function(){s=!0},this.resume=function(){s=!1},this.build=function(){(n=e.querySelector(".countdown"))?this.hide():(n=(0,i.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,o.default)(n,!1)},this.isCountingDown=function(){return!!r},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,o.default)(n,!0),this.unload()}};var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],345:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){s.default.call(this,t,"Facing Mode");var n,r=this;this.build=function(){(n=e.querySelector(".facingMode"))?this.hide():((n=(0,i.default)("button.facingMode")).innerHTML="⤾",n.onclick=function(e){e&&e.preventDefault();try{r.emit(a.default.SWITCH_FACING_MODE)}catch(e){r.emit(a.default.ERROR,e)}},this.hide(),e.appendChild(n)),r.on(a.default.ERROR,(function(){r.hide()}))},this.hide=function(){(0,o.default)(n,!0)},this.show=function(){(0,o.default)(n,!1)}};var i=r(e("hyperscript")),o=r(e("hidden")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":326,"./../../../../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],346:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){if(!t.text.pausedHeader)throw a.default.create("Paused header cannot be empty",t);var n,r,s;function u(){return t.text.pausedHint}this.build=function(){n=e.querySelector(".paused"),(r=e.querySelector(".pausedHeader"))?(this.hide(),r.innerHTML=t.text.pausedHeader,u()&&(s.innerHTML=t.text.pausedHint)):(n=(0,i.default)("div.paused"),r=(0,i.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,i.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,o.default)(n,!0)},this.show=function(){(0,o.default)(n,!1)}};var i=r(e("hyperscript")),o=r(e("hidden")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],347:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t;this.build=function(){(t=e.querySelector(".recordNote"))?this.hide():(t=(0,i.default)("p.recordNote"),this.hide(),e.appendChild(t))},this.stop=function(){this.hide(),t.classList.remove("near"),t.classList.remove("nigh")},this.setNear=function(){t.classList.add("near")},this.setNigh=function(){t.classList.add("nigh")},this.hide=function(){(0,o.default)(t,!0)},this.show=function(){(0,o.default)(t,!1)}};var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,hidden:258,hyperscript:260}],348:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n){var r,a,s,u=!1,l=!1;function c(e,t){return e>=n.video.limitSeconds*t}function f(){var e,i=parseInt(s/60,10),o=s-60*i;if(!u||!l){var a=n.video.limitSeconds-s;!function(e){return!(u||!c(e,.6)||(u=!0,0))}(a)?function(e){return!(l||!c(e,.8)||(l=!0,0))}(a)&&(t.setNigh(),r.classList.add("nigh"),n.debug("End is nigh, "+s+" seconds to go")):(t.setNear(),r.classList.add("near"),n.debug("End is near, "+s+" seconds to go"))}r.innerHTML=i+":"+((e=o)<10?"0"+e:e)}function d(){(0,o.default)(r,!0)}function p(){return n.video.limitSeconds}this.check=function(t){var n=p()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=p(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,o.default)(r,!1)},this.pause=function(){t.hide()},this.resume=function(){t.show()},this.stop=function(){null!==s&&a&&(n.debug("Stopping record timer. Was recording for about ~"+(p()-s)+" seconds."),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,i.default)("p.recordTimer"),d(),e.appendChild(r))}},e("core-js/modules/es.parse-int.js");var i=r(e("hyperscript")),o=r(e("hidden"))},{"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.parse-int.js":198,hidden:258,hyperscript:260}],349:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("util")),o=r(e("./../../../events")),a=r(e("./../../../util/eventEmitter")),s=r(e("./../../../util/browser")),u=r(e("./recorder/countdown")),l=r(e("./recorder/pausedNote")),c=r(e("./recorder/recordNote")),f=r(e("./recorder/recordTimer")),d=r(e("./recorder/facingMode")),p=function(e,t){a.default.call(this,t,"RecorderInsides");var n,r,i,p,h=this,y=t.debug,m=new c.default(e),b=new f.default(e,m,t),g=new s.default(t);function v(){h.hidePause(),h.hideCountdown(),b.stop(),p&&p.hide()}function w(){y("RecorderInsides: initEvents()"),h.on(o.default.USER_MEDIA_READY,(function(){p&&p.show()})).on(o.default.RECORDING,(function(){b.start()})).on(o.default.RESUMING,(function(){b.resume()})).on(o.default.STOPPING,(function(){b.stop()})).on(o.default.PAUSED,(function(){h.isCountingDown()?n.pause():b.pause()})).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){h.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(p=new d.default(e,t)),t.enablePause&&(r=new l.default(e,t)),this.build=function(){y("RecorderInsides: build()"),n&&n.build(),r&&r.build(),p&&p.build(),m.build(),b.build(),!i&&w(),i=!0},this.unload=function(){n&&n.unload(),i=!1},this.showPause=function(){r&&r.show()},this.hidePause=function(){r&&r.hide()},this.hideCountdown=function(){n&&n.hide()},this.startCountdown=function(e){n&&n.start(e)},this.resumeCountdown=function(){n&&n.resume()},this.isCountingDown=function(){return n&&n.isCountingDown()},this.checkTimer=function(e){b.check(e)}};i.default.inherits(p,a.default);var h=p;n.default=h},{"./../../../events":326,"./../../../util/browser":330,"./../../../util/eventEmitter":332,"./recorder/countdown":344,"./recorder/facingMode":345,"./recorder/pausedNote":346,"./recorder/recordNote":347,"./recorder/recordTimer":348,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193,util:316}],350:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/web.dom-collections.for-each.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("./../../util/eventEmitter")),u=r(e("./../../events")),l=function(e,t){s.default.call(this,t,"Notifier");var n,r,i,l,c,f,d=this,p=t&&t.debug;function h(){p("Notifier: initEvents()"),d.on(u.default.CONNECTING,(function(){d.notify("Connecting …")})).on(u.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(u.default.USER_MEDIA_READY,(function(){d.hide()})).on(u.default.LOADED_META_DATA,(function(){n.style.width=e.getRecorderWidth(!0)+"px",n.style.height=e.getRecorderHeight(!0)+"px"})).on(u.default.PREVIEW,(function(){d.hide()})).on(u.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(p("Limit reached"),r+=t.text.limitReached+".<br/>"),r+=t.text.sending+" …",d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(u.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: "+e,n&&(r+=", Audio: "+n)):r=e,d.setExplanation(r)}(e,n)})).on(u.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n=t.text.encoding+" …";d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),b()}()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain "+t.notifier.entertainClass+e,l=setTimeout(y,t.notifier.entertainInterval),c=!0}}else m()}function m(){n&&n.classList.remove("entertain"),clearTimeout(l),l=null,c=!1}function b(){i&&(i.innerHTML=null,(0,a.default)(i,!0))}this.error=function(e){var n=e.message?e.message.toString():e.toString(),r=e.explanation?e.explanation.toString():null;n||t.debug("Weird empty message generated for error",e),d.notify(n,r,{blocking:!0,problem:!0,hideForm:e.hideForm&&e.hideForm(),classList:e.getClassList&&e.getClassList(),removeDimensions:e.removeDimensions&&e.removeDimensions()})},this.setExplanation=function(e){i||(i=(0,o.default)("p"),n?n.appendChild(i):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),i.innerHTML=e,(0,a.default)(i,!1)},this.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&h(),f=!0},this.hide=function(){m(),n&&((0,a.default)(n,!0),n.classList.remove("blocking")),r&&(r.innerHTML=null),b()},this.isVisible=function(){return!!f&&(n&&!(0,a.default)(n))},this.isBuilt=function(){return f},this.notify=function(s,l,c){t.debug("Notifier: notify()"),c||(c={});var f=!!c.stillWait&&c.stillWait,d=!!c.entertain&&c.entertain,p=!!c.blocking&&c.blocking,h=!!c.hideForm&&c.hideForm,b=!!c.classList&&c.classList,g=!!c.removeDimensions&&c.removeDimensions;!r&&n&&(r=(0,o.default)("h2"),i?n.insertBefore(r,i):n.appendChild(r)),n&&(d||(n.className="notifier"),b&&b.forEach((function(e){n.classList.add(e)})),g&&(n.style.width="auto",n.style.height="auto")),p?(n&&n.classList.add("blocking"),this.emit(u.default.BLOCKING,{hideForm:h})):this.emit(u.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,n){var i=!!n.problem&&n.problem;r?r.innerHTML=(i?"&#x2639; ":"")+e:t.logger.warn("Unable to show following because messageElement is empty:",e)}(s,c),l&&l.length>0&&this.setExplanation(l),d?y():m(),e.showVisuals(),n&&(0,a.default)(n,!1),!f&&e.endWaiting()}};i.default.inherits(l,s.default);var c=l;n.default=c},{"./../../events":326,"./../../util/eventEmitter":332,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,util:316}],351:[function(e,t,n){(function(t){(function(){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.number.to-fixed.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.regexp.to-string.js"),e("core-js/modules/es.function.name.js");var i=r(e("animitter")),o=r(e("canvas-to-buffer")),a=r(e("deepmerge")),s=r(e("hidden")),u=r(e("hyperscript")),l=r(e("safe-json-stringify")),c=r(e("util")),f=r(e("websocket-stream")),d=r(e("../../constants")),p=r(e("../../events")),h=r(e("../../util/browser")),y=r(e("../../util/eventEmitter")),m=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",j=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};y.default.call(this,r,"Recorder");var c=new h.default(r),j=(0,a.default)(r,{image:{quality:c.isMobile()?r.image.quality-.05:r.image.quality}});if(!j.video||!j.video.fps)throw g.default.create("FPS must be defined",j);var E,x,S,_,A,R,k,O,T,M,I,P,C,L,N,D,B,U,F,q,W,H,V,z,G,Y,$=this,J=j.debug,K=null,X=0,Q=0,Z=j.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(D)if(D.destroyed)oe(),$.emit(p.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",j));else{var n=t&&t.onFlushedCallback;try{D.write(e,(function(){n&&n(t)}))}catch(e){$.emit(p.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of "+(0,b.default)(e),j))}}}function ie(){V=window.setInterval((function(){J("Recorder: pinging..."),re(t.from(""))}),j.timeouts.pingInterval)}function oe(){clearInterval(V)}function ae(e){X++,re(e.toBuffer())}function se(){x&&(0,s.default)(x,!1)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{J("Recorder: onUserMediaReady()",e);var t=e.switchingFacingMode;P=F=L=C=!1,I=!0,t||(K=Ce()),se(),$.emit(p.default.USER_MEDIA_READY,{switchingFacingMode:e.switchingFacingMode,paused:$.isPaused()})}catch(e){$.emit(p.default.ERROR,e)}}function le(){J("Recorder: clearRetryTimeout()"),A&&clearTimeout(A),A=null}function ce(){_&&(J("Recorder: clearUserMediaTimeout()"),_&&clearTimeout(_),_=null)}function fe(){return(te/(Q||1)*100).toFixed(2)+"%"}function de(){return(ne/(X||1)*100).toFixed(2)+"%"}function pe(){k||(k=fe()),O||(O=de()),$.emit(p.default.PROGRESS,k,O)}function he(e){te=e.frame?e.frame:te,k=fe(),pe()}function ye(e){ne=e.sample?e.sample:ne,O=de(),pe()}function me(e){te=ne=X=Q=0,O=k=null,W=e.key,e.mp4&&n.setMp4Source(e.mp4+d.default.SITE_NAME_LABEL+"/"+j.siteName+"/videomail.mp4",!0),e.webm&&n.setWebMSource(e.webm+d.default.SITE_NAME_LABEL+"/"+j.siteName+"/videomail.webm",!0),$.hide();var t=$.getRecorderWidth(!0),r=$.getRecorderHeight(!0);$.emit(p.default.PREVIEW,W,t,r),H=Date.now()-N,ee.waitingTime=H,j.debug&&J("While recording, %s have been transferred and waiting time was %s",m.default.filesize(R,2),m.default.toTime(H))}function be(e){if(!U){B=!0,J("Recorder: initialising web socket to %s",j.socketUrl),$.emit(p.default.CONNECTING);var t=j.socketUrl+"?"+encodeURIComponent(d.default.SITE_NAME_LABEL)+"="+encodeURIComponent(j.siteName);try{D=(0,f.default)(t,{perMessageDeflate:!1,objectMode:!0})}catch(e){var n;B=U=!1,n=void 0===f.default?g.default.create("There is no websocket","Cause: "+(0,b.default)(e),j):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",j,{browserProblem:!0}),$.emit(p.default.ERROR,n)}D&&(D.on("close",(function(e){J(w+"Stream has closed"),B=U=!1,e?$.emit(p.default.ERROR,e||"Unhandled websocket error"):($.emit(p.default.DISCONNECTED),ke())})),D.on("connect",(function(){J(w+"Stream *connect* event emitted"),U||(U=!0,B=L=!1,$.emit(p.default.CONNECTED),J("Going to ask for webcam permissons now ..."),e&&e())})),D.on("data",(function(e){var t;J(w+"Stream *data* event emitted");try{t=JSON.parse(e.toString())}catch(t){J("Failed to parse command:",t),$.emit(p.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was "+e.toString()+". ",j))}finally{xe.call($,t)}})),D.on("error",(function(e){J(w+"Stream *error* event emitted",e),B=U=!1,$.emit(p.default.ERROR,g.default.create("Data exchange interrupted","Please check your network connection and reload.",j))})),D.on("drain",(function(){J(w+"Stream *drain* event emitted (should not happen!)")})),D.on("preend",(function(){J(w+"Stream *preend* event emitted")})),D.on("end",(function(){J(w+"Stream *end* event emitted")})),D.on("drain",(function(){J(w+"Stream *drain* event emitted")})),D.on("pipe",(function(){J(w+"Stream *pipe* event emitted")})),D.on("unpipe",(function(){J(w+"Stream *unpipe* event emitted")})),D.on("resume",(function(){J(w+"Stream *resume* event emitted")})),D.on("uncork",(function(){J(w+"Stream *uncork* event emitted")})),D.on("readable",(function(){J(w+"Stream *preend* event emitted")})),D.on("prefinish",(function(){J(w+"Stream *preend* event emitted")})),D.on("finish",(function(){J(w+"Stream *preend* event emitted")})))}}function ge(){return U&&(Se()||!_e()||F)}function ve(e,t,n){P=!1,ce(),J("Recorder: userMediaErrorCallback()",", name:",e.name,", message:",e.message,", Webcam characteristics:",S.getCharacteristics(),", extraA arguments:",t.toString(),", extraB arguments:",n.toString());var r=$.listeners(p.default.ERROR);if(r&&r.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?$.emit(p.default.ERROR,g.default.create(e,j)):J("Recorder: ignore user media error",e),A=setTimeout(be,j.timeouts.userMedia);else{if(!L)throw J("Recorder: no error listeners attached but throwing error",e),g.default.create(e,"Unable to process this error since there are no error listeners anymore.",j);J("Recorder: already unloaded. Not going to throw error",e)}}function we(e,t){if(J("Recorder: getUserMediaCallback()",t),ge())try{ce(),S.init(e,(function(){ue(t)}),ae.bind($),(function(e){$.emit(p.default.ERROR,e)}),t)}catch(e){$.emit(p.default.ERROR,e)}}function je(e){if(!navigator)throw new Error("Navigator is missing!");if(J("Recorder: loadGenuineUserMedia()"),$.emit(p.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:j.video.fps}},audio:j.isAudioEnabled()};c.isOkSafari()||(j.hasDefinedWidth()?t.video.width={ideal:j.video.width}:t.video.width={ideal:$.limitWidth()},j.hasDefinedHeight()&&(t.video.height={ideal:j.video.height})),J("Recorder: navigator.mediaDevices.getUserMedia()",t),navigator.mediaDevices.getSupportedConstraints&&J("Recorder: navigator.mediaDevices.getSupportedConstraints()",navigator.mediaDevices.getSupportedConstraints());var n=navigator.mediaDevices.getUserMedia(t);if(!n)throw g.default.create("Sorry, your browser is unable to use cameras.","Try a different browser with better user media functionalities.",j);n.then((function(t){we(t,e)})).catch(ve)}else J("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:j.isAudioEnabled()},we,ve)}function Ee(){if(I)return J("Recorder: skipping loadUserMedia() because it is already loaded"),ue(),!1;if(P)return J("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;J("Recorder: loadUserMedia()"),$.emit(p.default.LOADING_USER_MEDIA);try{_=setTimeout((function(){$.isReady()||$.emit(p.default.ERROR,c.getNoAccessIssue())}),j.timeouts.userMedia),P=!0,je()}catch(e){if(J("Recorder: failed to load genuine user media"),P=!1,!$.listeners(p.default.ERROR).length)throw J("Recorder: no error listeners attached but throwing exception",e),e;$.emit(p.default.ERROR,e)}}function xe(e){try{switch(J("Server commanded: %s",e.command,e.args?", "+(0,l.default)(e.args):""),e.command){case"ready":_||Ee();break;case"preview":me(e.args);break;case"error":this.emit(p.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No explanation given)",j));break;case"confirmFrame":he(e.args);break;case"confirmSample":ye(e.args);break;case"beginAudioEncoding":this.emit(p.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(p.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(p.default.ERROR,"Unknown server command: "+e.command)}}catch(e){$.emit(p.default.ERROR,e)}}function Se(){return e.isNotifying()}function _e(){return!x||(0,s.default)(x)}function Ae(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(D){J("$ %s",e,n?(0,l.default)(n):"");var i={command:e,args:n};re(t.from((0,l.default)(i))),r&&setTimeout((function(){r()}),0)}}else J("Reconnecting for the command",e,"…"),be((function(){Ae(e,n),r&&r()}))}function Re(){U&&(J("Recorder: disconnect()"),S&&S.unloadRemainingEventListeners(),C?B=U=!1:D&&(D.end(),D=void 0))}function ke(){K&&K.dispose()}function Oe(){return K.getElapsedTime()}function Te(){return Oe()/Q}function Me(){return K.getFrameCount()/K.getElapsedTime()*1e3}function Ie(){J("Recorder: reInitialiseAudio()"),ce(),S&&S.stop(),I=W=T=M=null,Ee()}function Pe(e){1===(e&&e.frameNumber)&&$.emit(p.default.FIRST_FRAME_SENT)}function Ce(){var e=(0,i.default)({fps:j.video.fps},Le);return E=e.getRequestAnimationFrameObject(),e}function Le(t,n){try{if(!$.isPaused()&&D&&M){if(0===Q&&$.emit(p.default.SENDING_FIRST_FRAME),Q++,M.drawImage(S.getRawVisuals(),0,0,T.width,T.height),Y=z.toBuffer(),(G=Y.length)<1)throw g.default.create("Failed to extract webcam data.",j);R+=G,re(Y,{frameNumber:Q,onFlushedCallback:Pe}),e.checkTimer({intervalSum:n})}}catch(e){$.emit(p.default.ERROR,e)}}function Ne(e){if(K){var t=$.isRecording();K.stop(),K.setRequestAnimationFrameObject(e),t&&K.start()}}function De(){J("Recorder: restoreAnimationFrameObject()"),Ne(E)}function Be(){J("Recorder: loopWithTimeouts()");var e,t=1e3/j.video.fps,n=0;Ne({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}function Ue(){x=(0,u.default)("video."+j.selectors.userMediaClass),e.appendChild(x)}function Fe(){j.hasDefinedWidth()&&(x.width=$.getRecorderWidth(!0)),j.hasDefinedHeight()&&(x.height=$.getRecorderHeight(!0))}function qe(){if(!c.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":J("Recorder: unsupported facing mode",Z),je({switchingFacingMode:!0})}function We(){J("Recorder: initEvents()"),$.on(p.default.SUBMITTING,(function(){C=!0})).on(p.default.SUBMITTED,(function(){C=!1,$.unload()})).on(p.default.BLOCKING,(function(){F=!0,ce()})).on(p.default.HIDE,(function(){$.hide()})).on(p.default.LOADED_META_DATA,(function(){Fe()})).on(p.default.DISABLING_AUDIO,(function(){Ie()})).on(p.default.ENABLING_AUDIO,(function(){Ie()})).on(p.default.INVISIBLE,(function(){Be()})).on(p.default.VISIBLE,(function(){De()})).on(p.default.SWITCH_FACING_MODE,(function(){qe()}))}function He(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=j.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){J("stop()",e);var t=e.limitReached;this.emit(p.default.STOPPING,t),K.complete();var r=this;setTimeout((function(){N=Date.now(),ee={avgFps:Me(),wantedFps:j.video.fps,avgInterval:Te(),wantedInterval:1e3/j.video.fps,intervalSum:Oe(),framesCount:Q,videoType:n.getVideoType()},j.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),Ae("stop",ee),r.reset()}),60)},this.back=function(e){this.emit(p.default.GOING_BACK),se(),this.reset(),Ae("back",e)},this.unload=function(e){var t;L||(e&&(t=e.name||e.statusText||e.toString()),J("Recorder: unload()"+(t?", cause: "+t:"")),this.reset(),ce(),Re(),L=!0,q=!1)},this.reset=function(){L||(J("Recorder: reset()"),this.emit(p.default.RESETTING),ke(),S&&S.stop(),n.reset(),I=W=T=M=H=null)},this.validate=function(){return U&&Q>0&&null===T},this.isReady=function(){return S.isReady()},this.pause=function(e){var t=e&&e.event;t instanceof window.Event&&(e.eventType=t.type),J("pause()",e),S.pause(),K.stop(),this.emit(p.default.PAUSED),ie()},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){J("Recorder: resume()"),oe(),this.emit(p.default.RESUMING),S.resume(),K.start()},this.record=function(){if(L)return!1;if(!U)return J("Recorder: reconnecting before recording ..."),be((function(){$.once(p.default.USER_MEDIA_READY,$.record)})),!1;try{T=S.createCanvas()}catch(e){return $.emit(p.default.ERROR,g.default.create(e,j)),!1}return M=T.getContext("2d"),T.width?T.height?(R=0,z=new o.default(T,j),J("Recorder: record()"),S.record(),$.emit(p.default.RECORDING,Q),void K.start()):($.emit(p.default.ERROR,g.default.create("Canvas has an invalid height.",j)),!1):($.emit(p.default.ERROR,g.default.create("Canvas has an invalid width.",j)),!1)},this.build=function(){var t=c.checkRecordingCapabilities();t||(t=c.checkBufferTypes()),t?this.emit(p.default.ERROR,t):((x=e.querySelector("video."+j.selectors.userMediaClass))||Ue(),Fe(),x.muted=!0,x.setAttribute("playsinline",!0),x.setAttribute("webkit-playsinline","webkit-playsinline"),x.style.transform="rotateY(180deg)",x.style["-webkit-transform"]="rotateY(180deg)",x.style["-moz-transform"]="rotateY(180deg)",S||(S=new v.default(this,j)),se(),q?Ee():(We(),U?Ee():be()),q=!0)},this.isPaused=function(){return S&&S.isPaused()&&!K.isRunning()},this.isRecording=function(){return K&&K.isRunning()&&!this.isPaused()&&!Se()&&D&&!D.destroyed},this.hide=function(){_e()||(x&&(0,s.default)(x,!0),ce(),le())},this.isUnloaded=function(){return L},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&j.hasDefinedWidth()?this.limitWidth(j.video.width):void 0},this.getRecorderHeight=function(e){return S?S.getRawHeight(e):e&&j.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():x&&(n=x.videoHeight||x.height),e.calculateWidth({responsive:t,ratio:He(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():x&&(n=x.videoWidth||x.width),e.calculateHeight({responsive:t,ratio:He(),videoWidth:n})},this.getRawVisualUserMedia=function(){return x},this.isConnected=function(){return U},this.isConnecting=function(){return B},this.limitWidth=function(t){return e.limitWidth(t)},this.limitHeight=function(t){return e.limitHeight(t)},this.isUserMediaLoaded=function(){return I}};c.default.inherits(j,y.default);var E=j;n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":325,"../../events":326,"../../util/browser":330,"../../util/eventEmitter":332,"../../util/humanize":333,"../../util/pretty":335,"../../util/videomailError":337,"./userMedia":353,"@babel/runtime/helpers/interopRequireDefault":1,animitter:4,buffer:11,"canvas-to-buffer":14,"core-js/modules/es.function.name.js":191,"core-js/modules/es.number.to-fixed.js":192,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.regexp.to-string.js":201,deepmerge:234,hidden:258,hyperscript:260,"safe-json-stringify":301,util:316,"websocket-stream":319}],352:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("core-js/modules/es.function.name.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.object.keys.js"),e("core-js/modules/es.promise.js");var i=r(e("util")),o=r(e("hyperscript")),a=r(e("hidden")),s=r(e("add-eventlistener-with-options")),u=r(e("./../../events")),l=r(e("./../../util/browser")),c=r(e("./../../util/eventEmitter")),f=r(e("./../../util/videomailError")),d=r(e("iphone-inline-video")),p=function(e,t){c.default.call(this,t,"Replay");var n,r,i,p=this,h=new l.default(t),y=t.debug;function m(){return"HTMLDivElement"===e.constructor.name}function b(e,t,n){var i=p.getVideoSource(e);t&&n&&(t+="?"+Date.now()),i?t?i.setAttribute("src",t):r.removeChild(i):t&&(i=(0,o.default)("source",{src:t,type:"video/"+e}),r.appendChild(i))}function g(e){setTimeout((function(){try{r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function v(){if(r&&r.play){var e;try{e=r.play()}catch(e){t.logger.warn("Caught replay exception:",e)}e&&"undefined"!=typeof Promise&&e instanceof Promise&&e.catch((function(e){t.logger.warn("Caught pending replay promise exception: %s",e)}))}}this.setVideomail=function(t){(i=t)&&(i.webm&&this.setWebMSource(i.webm),i.mp4&&this.setMp4Source(i.mp4),i.poster&&r.setAttribute("poster",i.poster),function(t){var n;Object.keys(t).forEach((function(r){(n=e.querySelector("."+r))&&(n.innerHTML=t[r])}))}(i));var n=i&&i.recordingStats&&i.recordingStats.sampleRate>0;this.show(i&&i.width,i&&i.height,n)},this.show=function(n,o,s){i&&function(t){var n,o;i&&i.playerWidth?n=i.playerWidth:e.calculateWidth&&(n=e.calculateWidth(t)),i&&i.playerHeight?o=i.playerHeight:e.calculateHeight&&(o=e.calculateHeight(t)),r.style.width=n>0?n+"px":"auto",r.style.height=o>0?o+"px":"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:o||r.videoHeight}),(0,a.default)(r,!1),e&&(e.style?(0,a.default)(e,!1):e.show&&e.show()),s?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),d.default&&(0,d.default)(r,{iPad:!0}),r.load(),i?p.emit(u.default.REPLAY_SHOWN):p.emit(u.default.PREVIEW_SHOWN)},this.build=function(){y("Replay: build()"),(r=e.querySelector("video."+t.selectors.replayClass))||function(){if(y("Replay: buildElement()"),!(r=(0,o.default)("video."+t.selectors.replayClass)).setAttribute)throw f.default.create("Please upgrade browser",t);e.appendChild(r)}(),this.hide(),r.setAttribute("autoplay",!0),r.setAttribute("autostart",!0),r.setAttribute("autobuffer",!0),r.setAttribute("playsinline",!0),r.setAttribute("webkit-playsinline","webkit-playsinline"),r.setAttribute("controls","controls"),r.setAttribute("preload","auto"),n||(m()||this.on(u.default.PREVIEW,(function(e,t,n){p.show(t,n)})),(0,s.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?v():g()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?v():g()}),n=!0,y("Replay: built.")},this.unload=function(){n=!1},this.getVideoSource=function(e){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/"+e;if(o)for(n=0;n<o&&!t;n++)i[n].getAttribute("type")===a&&(t=i[n]);return t},this.setMp4Source=function(e,t){b("mp4",e,t)},this.setWebMSource=function(e,t){b("webm",e,t)},this.getVideoType=function(){return h.getVideoType(r)},this.reset=function(e){g((function(){r&&(p.setMp4Source(null),p.setWebMSource(null)),e&&e()}))},this.hide=function(){m()?(0,a.default)(e,!0):r&&(0,a.default)(r,!0)},this.isShown=function(){return r&&!(0,a.default)(r)},this.getParentElement=function(){return e}};i.default.inherits(p,c.default);var h=p;n.default=h},{"./../../events":326,"./../../util/browser":330,"./../../util/eventEmitter":332,"./../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"add-eventlistener-with-options":3,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.function.name.js":191,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.keys.js":195,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.promise.js":199,"core-js/modules/web.dom-collections.for-each.js":228,hidden:258,hyperscript:260,"iphone-inline-video":266,util:316}],353:[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){a.default.call(this,t,"UserMedia");var n,r,p=e&&e.getRawVisualUserMedia(),h=new o.default(t),y=this,m=!1,b=!1;function g(e){e?function(e){if(r=e,void 0!==p.srcObject)p.srcObject=e;else{if(void 0===p.src)throw l.default.create("Error attaching stream to element.","Contact the developer about this",t);var n=window.URL||window.webkitURL;p.src=n.createObjectURL(e)||e}}(e):(p.removeAttribute("srcObject"),p.removeAttribute("src"),r=null)}function v(){return p.mozSrcObject?p.mozSrcObject:p.srcObject?p.srcObject:r}function w(){if(p.ended)return p.ended;var e=v();return e&&e.ended}function j(){if(p.videoWidth&&p.videoWidth<3||p.height&&p.height<3)return!0}function E(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}function x(e){var t,n=function(e){var t;return e&&e.getVideoTracks&&(t=e.getVideoTracks()),t}(e);return n&&n[0]&&(t=n[0]),t}function S(e,n){t.debug("UserMedia: ...","|—O—|","event",e,(0,d.default)(n))}function _(e){return e&&"undefined"!=typeof Promise&&e instanceof Promise}function A(e){S(e.type,{readyState:p.readyState}),p.removeEventListener&&p.removeEventListener(e.type,A)}this.unloadRemainingEventListeners=function(){t.debug("UserMedia: unloadRemainingEventListeners()"),u.default.forEach((function(e){p.removeEventListener(e,A)}))},this.init=function(e,r,o,a){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:c.switchingFacingMode});var d=!1,m=!1,b=!1;function v(){y.removeListener(s.default.SENDING_FIRST_FRAME,v),n&&n.record(o)}function E(){t.debug("UserMedia: unloadAllEventListeners()"),y.removeListener(s.default.SENDING_FIRST_FRAME,v),p.removeEventListener&&p.removeEventListener("play",O),p.removeEventListener&&p.removeEventListener("loadedmetadata",T),y.unloadRemainingEventListeners()}function R(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState="+p.readyState,"media.paused="+p.paused,"media.ended="+p.ended,"media.played="+(0,f.default)(p.played));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}_(e)&&e.then((function(){b||(t.debug("UserMedia: play promise successful. Playing now."),b=!0)})).catch((function(e){t.logger.warn("Caught pending usermedia promise exception: %s",e.toString())}))}}catch(e){E(),a(e)}}function k(){var i=p.readyState;if(t.debug("UserMedia: fireCallbacks(readyState="+i+", onPlayReached="+d+", onLoadedMetaDataReached="+m+")"),d&&m&&(r(),n&&o))try{n.init(e),y.on(s.default.SENDING_FIRST_FRAME,v)}catch(e){E(),a(e)}}function O(){try{S("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",O),w()||j()?a(l.default.create("Already busy","Probably another browser window is using your webcam?",t)):(d=!0,k())}catch(e){E(),a(e)}}function T(){S("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",T),w()||j()||(y.emit(s.default.LOADED_META_DATA),h.isAndroid()&&R(),m=!0,k())}t&&t.isAudioEnabled()&&(n=n||new i.default(this,t));try{var M=x(e);if(M){if(!M.enabled)throw l.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var I;M.label&&M.label.length>0&&(I=M.label),I+=" with enabled="+M.enabled,I+=", muted="+M.muted,I+=", remote="+M.remote,I+=", readyState="+M.readyState,I+=", error="+M.error,t.debug("UserMedia: "+M.kind+" detected.",I||"")}else t.debug("UserMedia: detected (but no video tracks exist");var P=!0;P&&u.default.forEach((function(e){p.addEventListener(e,A,!1)})),p.addEventListener("loadedmetadata",T),p.addEventListener("play",O),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),g(e),R()}catch(e){y.emit(s.default.ERROR,e)}},this.isReady=function(){return!!p.src},this.stop=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{var r=t.aboutToInitialize,i=t.switchingFacingMode;if(!r){e||(e=v());var o=E(e),a=!1;o&&o.forEach((function(e){e.stop&&(a=!0,e.stop())})),!a&&e&&e.stop&&e.stop(),g(null),n&&n.stop(),n=null}i||(m=b=!1)}catch(e){y.emit(s.default.ERROR,e)}},this.createCanvas=function(){return(0,c.default)("canvas",{width:this.getRawWidth(!0),height:this.getRawHeight(!0)})},this.getVideoHeight=function(){return p.videoHeight},this.getVideoWidth=function(){return p.videoWidth},this.hasVideoWidth=function(){return this.getVideoWidth()>0},this.getRawWidth=function(n){var r=this.getVideoWidth(),i=t.hasDefinedWidth();return(i||t.hasDefinedHeight())&&(r=!n&&i?t.video.width:e.calculateWidth(n)),n&&(r=e.limitWidth(r)),r},this.getRawHeight=function(n){var r;if(t.hasDefinedDimension()){if((r=e.calculateHeight(n))<1)throw l.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw l.default.create("Bad dimensions","Raw video height from DOM element cannot be less than 1!",t);return n&&(r=e.limitHeight(r)),r},this.getRawVisuals=function(){return p},this.pause=function(){m=!0},this.isPaused=function(){return m},this.resume=function(){m=!1},this.record=function(){b=!0},this.isRecording=function(){return b},this.getAudioSampleRate=function(){return n?n.getSampleRate():-1},this.getCharacteristics=function(){return{audioSampleRate:this.getAudioSampleRate(),muted:p&&p.muted,width:p&&p.width,height:p&&p.height,videoWidth:p&&p.videoWidth,videoHeight:p&&p.videoHeight}}},e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/web.url.js"),e("core-js/modules/web.url-search-params.js"),e("core-js/modules/es.promise.js"),e("core-js/modules/es.array.for-each.js"),e("core-js/modules/web.dom-collections.for-each.js"),e("core-js/modules/es.regexp.to-string.js");var i=r(e("./../../util/audioRecorder")),o=r(e("./../../util/browser")),a=r(e("./../../util/eventEmitter")),s=r(e("./../../events")),u=r(e("./../../util/mediaEvents")),l=r(e("./../../util/videomailError")),c=r(e("hyperscript")),f=r(e("./../../util/pretty")),d=r(e("safe-json-stringify"))},{"./../../events":326,"./../../util/audioRecorder":329,"./../../util/browser":330,"./../../util/eventEmitter":332,"./../../util/mediaEvents":334,"./../../util/pretty":335,"./../../util/videomailError":337,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":186,"core-js/modules/es.array.iterator.js":188,"core-js/modules/es.object.define-property.js":193,"core-js/modules/es.object.to-string.js":196,"core-js/modules/es.promise.js":199,"core-js/modules/es.regexp.to-string.js":201,"core-js/modules/es.string.iterator.js":202,"core-js/modules/web.dom-collections.for-each.js":228,"core-js/modules/web.dom-collections.iterator.js":229,"core-js/modules/web.url-search-params.js":230,"core-js/modules/web.url.js":231,hyperscript:260,"safe-json-stringify":301}],354:[function(e,t,n){"use strict";t.exports='@-webkit-keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}@keyframes blink{0%{opacity:.9}35%{opacity:.9}50%{opacity:.1}85%{opacity:.1}to{opacity:.9}}.IIV::-webkit-media-controls-play-button,.IIV::-webkit-media-controls-start-playback-button{opacity:0;pointer-events:none;width:5px}.videomail .visuals{position:relative}.videomail .visuals video.replay{height:100%;width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer{height:auto;margin:0}.videomail .countdown,.videomail .facingMode,.videomail .paused,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{position:absolute;z-index:100}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint,.videomail .recordNote,.videomail .recordTimer,.videomail noscript{font-weight:700}.videomail .countdown,.videomail .paused,.videomail noscript{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:100%}.videomail .countdown,.videomail .pausedHeader,.videomail .pausedHint{letter-spacing:4px;text-align:center;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.videomail .countdown,.videomail .pausedHeader{font-size:460%;opacity:.9}.videomail .pausedHint{font-size:150%}.videomail .facingMode{background:rgba(30,30,30,.5);border:none;bottom:.6em;color:hsla(0,0%,96%,.9);font-family:monospace;font-size:1.2em;outline:none;padding:.1em .3em;right:.7em;-webkit-transition:all .2s ease;transition:all .2s ease;z-index:10}.videomail .facingMode:hover{background:rgba(50,50,50,.7);cursor:pointer}.videomail .recordNote,.videomail .recordTimer{background:hsla(0,0%,4%,.8);color:#00d814;font-family:monospace;opacity:.9;padding:.3em .4em;right:.7em;-webkit-transition:all 1s ease;transition:all 1s ease}.videomail .recordNote.near,.videomail .recordTimer.near{color:#eb9369}.videomail .recordNote.nigh,.videomail .recordTimer.nigh{color:#ea4b2a}.videomail .recordTimer{top:.7em}.videomail .recordNote{top:3.6em}.videomail .recordNote:before{-webkit-animation:blink 1s infinite;animation:blink 1s infinite;content:"REC"}.videomail .notifier{box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}'},{}],"videomail-client":[function(e,t,n){"use strict";e("core-js/modules/es.object.define-property.js");var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./util/standardize")),o=r(e("./client"));if(!navigator)throw new Error("Navigator is missing!");(0,i.default)(window,navigator);var a=o.default;n.default=a,t.exports=o.default},{"./client":324,"./util/standardize":336,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":193}]},{},["videomail-client"])("videomail-client")}));
56
56
  //# sourceMappingURL=videomail-client.min.js.map