videomail-client 5.2.2 → 5.4.1
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.
- package/README.md +1 -1
- package/TODO.md +3 -3
- package/package.json +7 -7
- package/prototype/index.html +3 -3
- package/prototype/js/videomail-client.js +146 -78
- package/prototype/js/videomail-client.min.js +2 -2
- package/prototype/js/videomail-client.min.js.map +1 -1
- package/prototype/with_cc_and_bcc.html +115 -0
- package/src/js/options.js +2 -0
- package/src/js/wrappers/container.js +48 -43
- package/src/js/wrappers/form.js +67 -0
- package/prototype/with_time_control.html +0 -39
|
@@ -18,7 +18,7 @@ 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 L(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:L(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(L(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+=D(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 I(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 C(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 M(e,t,n,i,o){return t=+t,n>>>=0,o||C(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function P(e,t,n,i,o){return t=+t,n>>>=0,o||C(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)||I(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)||I(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||I(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||I(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||I(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||I(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||I(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);I(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);I(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||I(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||I(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||I(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||I(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||I(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 M(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return P(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 N=/[^+/0-9A-Za-z-_]/g;function D(e){return e<16?"0"+e.toString(16):e.toString(16)}function L(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(N,"")).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:284}],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":272}],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":270,"get-intrinsic":272}],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":333}],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:285}],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/is-callable"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},{"../internals/is-callable":107,"../internals/try-to-string":185}],20:[function(e,t,n){var r=e("../internals/is-constructor"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},{"../internals/is-constructor":108,"../internals/try-to-string":185}],21:[function(e,t,n){var r=e("../internals/is-callable"),i=String,o=TypeError;t.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},{"../internals/is-callable":107}],22:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property").f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":129,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],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":165}],24:[function(e,t,n){var r=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},{"../internals/object-is-prototype-of":137}],25:[function(e,t,n){var r=e("../internals/is-object"),i=String,o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},{"../internals/is-object":112}],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-basic-detection"),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/define-built-in"),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=e("../internals/internal-state"),x=E.enforce,S=E.get,_=u.Int8Array,A=_&&_.prototype,R=u.Uint8ClampedArray,k=R&&R.prototype,O=_&&g(_),T=A&&g(A),I=Object.prototype,C=u.TypeError,M=w("toStringTag"),P=j("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",D=a&&!!v&&"Opera"!==d(u.opera),L=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=g(e);if(c(t)){var n=S(t);return n&&f(n,N)?n.TypedArrayConstructor:F(t)}},q=function(e){if(!c(e))return!1;var t=d(e);return f(B,t)||f(U,t)};for(r in B)(o=(i=u[r])&&i.prototype)?x(o).TypedArrayConstructor=i:D=!1;for(r in U)(o=(i=u[r])&&i.prototype)&&(x(o).TypedArrayConstructor=i);if((!D||!l(O)||O===Function.prototype)&&(O=function(){throw C("Incorrect invocation")},D))for(r in B)u[r]&&v(u[r],O);if((!D||!T||T===I)&&(T=O.prototype,D))for(r in B)u[r]&&v(u[r].prototype,T);if(D&&g(k)!==T&&v(k,T),s&&!f(T,M))for(r in L=!0,m(T,M,{get:function(){return c(this)?this[P]:void 0}}),B)u[r]&&h(u[r],P,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:L&&P,aTypedArray:function(e){if(q(e))return e;throw C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!v||b(O,e)))return e;throw C(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var i in B){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}T[e]&&!n||y(T,e,n?t:D&&A[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(v){if(n)for(r in B)if((i=u[r])&&f(i,e))try{delete i[e]}catch(e){}if(O[e]&&!n)return;try{return y(O,e,n?t:D&&O[e]||t)}catch(e){}}for(r in B)!(i=u[r])||i[e]&&!n||y(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(B,t)||f(U,t)},isTypedArray:q,TypedArray:O,TypedArrayPrototype:T}},{"../internals/array-buffer-basic-detection":26,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/define-built-in":56,"../internals/descriptors":60,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/object-define-property":131,"../internals/object-get-prototype-of":136,"../internals/object-is-prototype-of":137,"../internals/object-set-prototype-of":141,"../internals/try-to-string":185,"../internals/uid":191,"../internals/well-known-symbol":197}],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-basic-detection"),s=e("../internals/function-name"),u=e("../internals/create-non-enumerable-property"),l=e("../internals/define-built-ins"),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",I=r.ArrayBuffer,C=I,M=C&&C.prototype,P=r.DataView,N=P&&P.prototype,D=Object.prototype,L=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]},$=function(e){return q(e,23,4)},Y=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&&I.name!==k;if(c((function(){I(1)}))&&c((function(){new I(-1)}))&&!c((function(){return new I,new I(1.5),new I(NaN),1!=I.length||Q&&!_})))Q&&_&&u(I,"name",k);else{(C=function(e){return f(this,M),new I(h(e))}).prototype=M;for(var Z,ee=g(I),te=0;ee.length>te;)(Z=ee[te++])in C||u(C,Z,I[Z]);M.constructor=C}b&&m(N)!==D&&b(N,D);var ne=new P(new C(2)),re=i(N.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(N,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else M=(C=function(e){f(this,M);var t=h(e);R(this,{bytes:U(L(t),0),byteLength:t}),o||(this.byteLength=t)}).prototype,N=(P=function(e,t,n){f(this,N),f(e,M);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(C,"byteLength"),J(P,"buffer"),J(P,"byteLength"),J(P,"byteOffset")),l(N,{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,$,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,Y,t,arguments.length>2?arguments[2]:void 0)}});E(C,k),E(P,O),t.exports={ArrayBuffer:C,DataView:P}},{"../internals/an-instance":24,"../internals/array-buffer-basic-detection":26,"../internals/array-fill":30,"../internals/array-slice-simple":40,"../internals/create-non-enumerable-property":52,"../internals/define-built-ins":57,"../internals/descriptors":60,"../internals/fails":79,"../internals/function-name":85,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/ieee754":99,"../internals/internal-state":103,"../internals/object-define-property":131,"../internals/object-get-own-property-names":134,"../internals/object-get-prototype-of":136,"../internals/object-set-prototype-of":141,"../internals/set-to-string-tag":160,"../internals/to-index":174,"../internals/to-integer-or-infinity":176,"../internals/to-length":177}],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=e("../internals/delete-property-or-throw"),s=Math.min;t.exports=[].copyWithin||function(e,t){var n=r(this),u=o(n),l=i(e,u),c=i(t,u),f=arguments.length>2?arguments[2]:void 0,d=s((void 0===f?u:i(f,u))-c,u-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:a(n,l),l+=p,c+=p;return n}},{"../internals/delete-property-or-throw":59,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172,"../internals/to-object":178}],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":121,"../internals/to-absolute-index":172,"../internals/to-object":178}],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":121}],33:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/to-object"),a=e("../internals/call-with-safe-iteration-closing"),s=e("../internals/is-array-iterator-method"),u=e("../internals/is-constructor"),l=e("../internals/length-of-array-like"),c=e("../internals/create-property"),f=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),p=Array;t.exports=function(e){var t=o(e),n=u(this),h=arguments.length,y=h>1?arguments[1]:void 0,m=void 0!==y;m&&(y=r(y,h>2?arguments[2]:void 0));var b,g,v,w,j,E,x=d(t),S=0;if(!x||this===p&&s(x))for(b=l(t),g=n?new this(b):p(b);b>S;S++)E=m?y(t[S],S):t[S],c(g,S,E);else for(j=(w=f(t,x)).next,g=n?new this:[];!(v=i(j,w)).done;S++)E=m?a(w,y,[v.value,S],!0):v.value,c(g,S,E);return g.length=S,g}},{"../internals/call-with-safe-iteration-closing":45,"../internals/create-property":54,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/is-constructor":108,"../internals/length-of-array-like":121,"../internals/to-object":178}],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":121,"../internals/to-absolute-index":172,"../internals/to-indexed-object":175}],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":82,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/length-of-array-like":121,"../internals/to-object":178}],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":81,"../internals/length-of-array-like":121,"../internals/to-indexed-object":175,"../internals/to-integer-or-infinity":176}],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":75,"../internals/fails":79,"../internals/well-known-symbol":197}],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":79}],39:[function(e,t,n){var r=e("../internals/a-callable"),i=e("../internals/to-object"),o=e("../internals/indexed-object"),a=e("../internals/length-of-array-like"),s=TypeError,u=function(e){return function(t,n,u,l){r(n);var c=i(t),f=o(c),d=a(c),p=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(p in f){l=f[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw s("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:u(!1),right:u(!0)}},{"../internals/a-callable":19,"../internals/indexed-object":100,"../internals/length-of-array-like":121,"../internals/to-object":178}],40:[function(e,t,n){var r=e("../internals/to-absolute-index"),i=e("../internals/length-of-array-like"),o=e("../internals/create-property"),a=Array,s=Math.max;t.exports=function(e,t,n){for(var u=i(e),l=r(t,u),c=r(void 0===n?u:n,u),f=a(s(c-l,0)),d=0;l<c;l++,d++)o(f,d,e[l]);return f.length=d,f}},{"../internals/create-property":54,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172}],41:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":87}],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/is-array"),i=e("../internals/is-constructor"),o=e("../internals/is-object"),a=e("../internals/well-known-symbol")("species"),s=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},{"../internals/is-array":105,"../internals/is-constructor":108,"../internals/is-object":112,"../internals/well-known-symbol":197}],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":116}],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":197}],47:[function(e,t,n){var r=e("../internals/function-uncurry-this-raw"),i=r({}.toString),o=r("".slice);t.exports=function(e){return o(i(e),8,-1)}},{"../internals/function-uncurry-this-raw":86}],48:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/is-callable"),o=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());t.exports=r?o: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=s(e),a))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},{"../internals/classof-raw":47,"../internals/is-callable":107,"../internals/to-string-tag-support":183,"../internals/well-known-symbol":197}],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":94,"../internals/object-define-property":131,"../internals/object-get-own-property-descriptor":132,"../internals/own-keys":144}],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":79}],51:[function(e,t,n){t.exports=function(e,t){return{value:e,done:t}}},{}],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":60,"../internals/object-define-property":131}],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":131,"../internals/to-property-key":182}],55:[function(e,t,n){var r=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},{"../internals/make-built-in":122,"../internals/object-define-property":131}],56:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/object-define-property"),o=e("../internals/make-built-in"),a=e("../internals/define-global-property");t.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(r(n)&&o(n,l,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},{"../internals/define-global-property":58,"../internals/is-callable":107,"../internals/make-built-in":122,"../internals/object-define-property":131}],57:[function(e,t,n){var r=e("../internals/define-built-in");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/define-built-in":56}],58:[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":93}],59:[function(e,t,n){"use strict";var r=e("../internals/try-to-string"),i=TypeError;t.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},{"../internals/try-to-string":185}],60:[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":79}],61:[function(e,t,n){var r="object"==typeof document&&document.all,i=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:i}},{}],62:[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":93,"../internals/is-object":112}],63:[function(e,t,n){var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},{}],64:[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}},{}],65:[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":62}],66:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":74}],67:[function(e,t,n){var r=e("../internals/engine-is-deno"),i=e("../internals/engine-is-node");t.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},{"../internals/engine-is-deno":68,"../internals/engine-is-node":72}],68:[function(e,t,n){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},{}],69:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},{"../internals/engine-user-agent":74}],70:[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":74,"../internals/global":93}],71:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":74}],72:[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":93}],73:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":74}],74:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":88}],75:[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":74,"../internals/global":93}],76:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":74}],77:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],78:[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/define-built-in"),s=e("../internals/define-global-property"),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.dontCallGetSet?(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/define-built-in":56,"../internals/define-global-property":58,"../internals/global":93,"../internals/is-forced":109,"../internals/object-get-own-property-descriptor":132}],79:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],80:[function(e,t,n){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/function-uncurry-this"),i=e("../internals/define-built-in"),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/define-built-in":56,"../internals/fails":79,"../internals/function-uncurry-this":87,"../internals/regexp-exec":152,"../internals/well-known-symbol":197,"../modules/es.regexp.exec":221}],81:[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":83}],82:[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":83,"../internals/function-uncurry-this":87}],83:[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":79}],84:[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":83}],85:[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":60,"../internals/has-own-property":94}],86:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},{"../internals/function-bind-native":83}],87:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this-raw");t.exports=function(e){if("Function"===r(e))return i(e)}},{"../internals/classof-raw":47,"../internals/function-uncurry-this-raw":86}],88:[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":93,"../internals/is-callable":107}],89:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/is-null-or-undefined"),a=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},{"../internals/classof":48,"../internals/get-method":91,"../internals/is-null-or-undefined":111,"../internals/iterators":120,"../internals/well-known-symbol":197}],90:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/a-callable"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/get-iterator-method"),u=TypeError;t.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},{"../internals/a-callable":19,"../internals/an-object":25,"../internals/function-call":84,"../internals/get-iterator-method":89,"../internals/try-to-string":185}],91:[function(e,t,n){var r=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},{"../internals/a-callable":19,"../internals/is-null-or-undefined":111}],92:[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":87,"../internals/to-object":178}],93:[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:{})},{}],94:[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":87,"../internals/to-object":178}],95:[function(e,t,n){t.exports={}},{}],96:[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":93}],97:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":88}],98:[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":60,"../internals/document-create-element":62,"../internals/fails":79}],99:[function(e,t,n){var r=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)}}},{}],100:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/classof-raw"),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},{"../internals/classof-raw":47,"../internals/fails":79,"../internals/function-uncurry-this":87}],101:[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":107,"../internals/is-object":112,"../internals/object-set-prototype-of":141}],102:[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":87,"../internals/is-callable":107,"../internals/shared-store":162}],103:[function(e,t,n){var r,i,o,a=e("../internals/weak-map-basic-detection"),s=e("../internals/global"),u=e("../internals/is-object"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/has-own-property"),f=e("../internals/shared-store"),d=e("../internals/shared-key"),p=e("../internals/hidden-keys"),h="Object already initialized",y=s.TypeError,m=s.WeakMap;if(a||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw y(h);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var g=d("state");p[g]=!0,r=function(e,t){if(c(e,g))throw y(h);return t.facade=e,l(e,g,t),t},i=function(e){return c(e,g)?e[g]:{}},o=function(e){return c(e,g)}}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(!u(t)||(n=i(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":52,"../internals/global":93,"../internals/has-own-property":94,"../internals/hidden-keys":95,"../internals/is-object":112,"../internals/shared-key":161,"../internals/shared-store":162,"../internals/weak-map-basic-detection":196}],104:[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":120,"../internals/well-known-symbol":197}],105:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":47}],106:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/function-uncurry-this")("".slice);t.exports=function(e){return"Big"===i(r(e),0,3)}},{"../internals/classof":48,"../internals/function-uncurry-this":87}],107:[function(e,t,n){var r=e("../internals/document-all"),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},{"../internals/document-all":61}],108:[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":79,"../internals/function-uncurry-this":87,"../internals/get-built-in":88,"../internals/inspect-source":102,"../internals/is-callable":107}],109:[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":79,"../internals/is-callable":107}],110:[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":112}],111:[function(e,t,n){t.exports=function(e){return null==e}},{}],112:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/document-all"),o=i.all;t.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/document-all":61,"../internals/is-callable":107}],113:[function(e,t,n){t.exports=!1},{}],114:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/is-callable"),o=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),s=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},{"../internals/get-built-in":88,"../internals/is-callable":107,"../internals/object-is-prototype-of":137,"../internals/use-symbol-as-uid":193}],115:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/is-array-iterator-method"),u=e("../internals/length-of-array-like"),l=e("../internals/object-is-prototype-of"),c=e("../internals/get-iterator"),f=e("../internals/get-iterator-method"),d=e("../internals/iterator-close"),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;t.exports=function(e,t,n){var m,b,g,v,w,j,E,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),R=!(!n||!n.INTERRUPTED),k=r(t,x),O=function(e){return m&&d(m,"normal",e),new h(!0,e)},T=function(e){return S?(o(e),R?k(e[0],e[1],O):k(e[0],e[1])):R?k(e,O):k(e)};if(_)m=e.iterator;else if(A)m=e;else{if(!(b=f(e)))throw p(a(e)+" is not iterable");if(s(b)){for(g=0,v=u(e);v>g;g++)if((w=T(e[g]))&&l(y,w))return w;return new h(!1)}m=c(e,b)}for(j=_?e.next:m.next;!(E=i(j,m)).done;){try{w=T(E.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&l(y,w))return w}return new h(!1)}},{"../internals/an-object":25,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/iterator-close":116,"../internals/length-of-array-like":121,"../internals/object-is-prototype-of":137,"../internals/try-to-string":185}],116:[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":84,"../internals/get-method":91}],117:[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":120,"../internals/iterators-core":119,"../internals/object-create":129,"../internals/set-to-string-tag":160}],118:[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/iterator-create-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/define-built-in"),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&&N)return N;if(!w&&e in M)return M[e];switch(e){case E:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",C=!1,M=e.prototype,P=M[j]||M["@@iterator"]||h&&M[h],N=!w&&P||T(h),D="Array"==t&&M.entries||P;if(D&&(R=l(D.call(new e)))!==Object.prototype&&R.next&&(o||l(R)===v||(c?c(R,v):s(R[j])||p(R,j,_)),f(R,I,!0,!0),o&&(y[I]=_)),b&&h==x&&P&&P.name!==x&&(!o&&g?d(M,"name",x):(C=!0,N=function(){return i(P,this)})),h)if(k={values:T(x),keys:m?N:T(E),entries:T(S)},A)for(O in k)(w||C||!(O in M))&&p(M,O,k[O]);else r({target:t,proto:!0,forced:w||C},k);return o&&!A||M[j]===N||p(M,j,N,{name:h}),y[t]=N,k}},{"../internals/create-non-enumerable-property":52,"../internals/define-built-in":56,"../internals/export":78,"../internals/function-call":84,"../internals/function-name":85,"../internals/is-callable":107,"../internals/is-pure":113,"../internals/iterator-create-constructor":117,"../internals/iterators":120,"../internals/iterators-core":119,"../internals/object-get-prototype-of":136,"../internals/object-set-prototype-of":141,"../internals/set-to-string-tag":160,"../internals/well-known-symbol":197}],119:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),u=e("../internals/is-object"),l=e("../internals/object-create"),c=e("../internals/object-get-prototype-of"),f=e("../internals/define-built-in"),d=e("../internals/well-known-symbol"),p=e("../internals/is-pure"),h=d("iterator"),y=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):y=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[h])||f(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},{"../internals/define-built-in":56,"../internals/fails":79,"../internals/is-callable":107,"../internals/is-object":112,"../internals/is-pure":113,"../internals/object-create":129,"../internals/object-get-prototype-of":136,"../internals/well-known-symbol":197}],120:[function(e,t,n){arguments[4][95][0].apply(n,arguments)},{dup:95}],121:[function(e,t,n){var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":177}],122:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/is-callable"),o=e("../internals/has-own-property"),a=e("../internals/descriptors"),s=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.enforce,f=l.get,d=Object.defineProperty,p=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=t.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return o(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return i(this)&&f(this).source||u(this)}),"toString")},{"../internals/descriptors":60,"../internals/fails":79,"../internals/function-name":85,"../internals/has-own-property":94,"../internals/inspect-source":102,"../internals/internal-state":103,"../internals/is-callable":107}],123:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},{}],124:[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":71,"../internals/engine-is-ios-pebble":70,"../internals/engine-is-node":72,"../internals/engine-is-webos-webkit":73,"../internals/function-bind-context":82,"../internals/global":93,"../internals/object-get-own-property-descriptor":132,"../internals/task":170}],125:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new o(e)}},{"../internals/a-callable":19}],126:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/string-trim":168,"../internals/to-string":184,"../internals/whitespaces":198}],127:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/string-trim":168,"../internals/to-string":184,"../internals/whitespaces":198}],128:[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":60,"../internals/fails":79,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/object-get-own-property-symbols":135,"../internals/object-keys":139,"../internals/object-property-is-enumerable":140,"../internals/to-object":178}],129:[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":62,"../internals/enum-bug-keys":77,"../internals/hidden-keys":95,"../internals/html":97,"../internals/object-define-properties":130,"../internals/shared-key":161}],130:[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":60,"../internals/object-define-property":131,"../internals/object-keys":139,"../internals/to-indexed-object":175,"../internals/v8-prototype-define-bug":194}],131:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),o=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),s=e("../internals/to-property-key"),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";n.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":25,"../internals/descriptors":60,"../internals/ie8-dom-define":98,"../internals/to-property-key":182,"../internals/v8-prototype-define-bug":194}],132:[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":60,"../internals/function-call":84,"../internals/has-own-property":94,"../internals/ie8-dom-define":98,"../internals/object-property-is-enumerable":140,"../internals/to-indexed-object":175,"../internals/to-property-key":182}],133:[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":134,"../internals/to-indexed-object":175}],134:[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":77,"../internals/object-keys-internal":138}],135:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],136:[function(e,t,n){var r=e("../internals/has-own-property"),i=e("../internals/is-callable"),o=e("../internals/to-object"),a=e("../internals/shared-key"),s=e("../internals/correct-prototype-getter"),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},{"../internals/correct-prototype-getter":50,"../internals/has-own-property":94,"../internals/is-callable":107,"../internals/shared-key":161,"../internals/to-object":178}],137:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":87}],138:[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":87,"../internals/has-own-property":94,"../internals/hidden-keys":95,"../internals/to-indexed-object":175}],139:[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":77,"../internals/object-keys-internal":138}],140:[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},{}],141:[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":87}],142:[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":183}],143:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/is-callable"),o=e("../internals/is-object"),a=TypeError;t.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},{"../internals/function-call":84,"../internals/is-callable":107,"../internals/is-object":112}],144:[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":87,"../internals/get-built-in":88,"../internals/object-get-own-property-names":134,"../internals/object-get-own-property-symbols":135}],145:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],146:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),a=e("../internals/is-forced"),s=e("../internals/inspect-source"),u=e("../internals/well-known-symbol"),l=e("../internals/engine-is-browser"),c=e("../internals/engine-is-deno"),f=e("../internals/is-pure"),d=e("../internals/engine-v8-version"),p=i&&i.prototype,h=u("species"),y=!1,m=o(r.PromiseRejectionEvent),b=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(l||c)&&!m}));t.exports={CONSTRUCTOR:b,REJECTION_EVENT:m,SUBCLASSING:y}},{"../internals/engine-is-browser":67,"../internals/engine-is-deno":68,"../internals/engine-v8-version":75,"../internals/global":93,"../internals/inspect-source":102,"../internals/is-callable":107,"../internals/is-forced":109,"../internals/is-pure":113,"../internals/promise-native-constructor":147,"../internals/well-known-symbol":197}],147:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":93}],148:[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":112,"../internals/new-promise-capability":125}],149:[function(e,t,n){var r=e("../internals/promise-native-constructor"),i=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;t.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":46,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147}],150:[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},{}],151:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/regexp-exec"),u=TypeError;t.exports=function(e,t){var n=e.exec;if(o(n)){var l=r(n,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return r(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":25,"../internals/classof-raw":47,"../internals/function-call":84,"../internals/is-callable":107,"../internals/regexp-exec":152}],152:[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,I=0,C=_;if(k&&(O=w(O,"y",""),-1===v(O,"g")&&(O+="g"),C=j(_,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(_,p.lastIndex-1))&&(T="(?: "+T+")",C=" "+C,I++),n=new RegExp("^(?:"+T+")",O)),S&&(n=new RegExp("^"+T+"$(?!\\s)",O)),E&&(r=p.lastIndex),i=o(m,k?n:p,C),k?i?(i.input=j(i.input,I),i[0]=j(i[0],I),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":84,"../internals/function-uncurry-this":87,"../internals/internal-state":103,"../internals/object-create":129,"../internals/regexp-flags":153,"../internals/regexp-sticky-helpers":155,"../internals/regexp-unsupported-dot-all":156,"../internals/regexp-unsupported-ncg":157,"../internals/shared":163,"../internals/to-string":184}],153:[function(e,t,n){"use strict";var r=e("../internals/an-object");t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},{"../internals/an-object":25}],154:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/has-own-property"),o=e("../internals/object-is-prototype-of"),a=e("../internals/regexp-flags"),s=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(a,e)}},{"../internals/function-call":84,"../internals/has-own-property":94,"../internals/object-is-prototype-of":137,"../internals/regexp-flags":153}],155:[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":79,"../internals/global":93}],156:[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":79,"../internals/global":93}],157:[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":79,"../internals/global":93}],158:[function(e,t,n){var r=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":111}],159:[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":60,"../internals/get-built-in":88,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],160:[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":94,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],161:[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":163,"../internals/uid":191}],162:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/define-global-property"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},{"../internals/define-global-property":58,"../internals/global":93}],163:[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.26.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":113,"../internals/shared-store":162}],164:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/is-null-or-undefined"),a=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},{"../internals/a-constructor":20,"../internals/an-object":25,"../internals/is-null-or-undefined":111,"../internals/well-known-symbol":197}],165:[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":87,"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-string":184}],166:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,l=r(a.exec),c=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),y=r("".replace),m=r("".split),b=r("".toLowerCase),g=function(e){return e+22+75*(e<26)},v=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=d(e,n++);if(i>=55296&&i<=56319&&n<r){var o=d(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,l=0,y=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,f(r));var m=t.length,b=m;for(m&&h(t,"-");b<o;){var w=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<w&&(w=r);var j=b+1;if(w-a>c((i-l)/j))throw u(s);for(l+=(w-a)*j,a=w,n=0;n<e.length;n++){if((r=e[n])<a&&++l>i)throw u(s);if(r==a){for(var E=l,x=36;;){var S=x<=y?1:x>=y+26?26:x-y;if(E<S)break;var _=E-S,A=36-S;h(t,f(g(S+_%A))),E=c(_/A),x+=36}h(t,f(g(E))),y=v(l,j,b==m),l=0,b++}}l++,a++}return p(t,"")};t.exports=function(e){var t,n,r=[],i=m(y(b(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,l(o,n)?"xn--"+w(n):n);return p(r,".")}},{"../internals/function-uncurry-this":87}],167:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=e("../internals/to-string"),o=e("../internals/require-object-coercible"),a=RangeError;t.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},{"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-string":184}],168:[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":87,"../internals/require-object-coercible":158,"../internals/to-string":184,"../internals/whitespaces":198}],169:[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":75,"../internals/fails":79}],170:[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)}},I=function(e){O(e.data)},C=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=I,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(C)?(i=C,s.addEventListener("message",I,!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":62,"../internals/engine-is-ios":71,"../internals/engine-is-node":72,"../internals/fails":79,"../internals/function-apply":81,"../internals/function-bind-context":82,"../internals/global":93,"../internals/has-own-property":94,"../internals/html":97,"../internals/is-callable":107,"../internals/validate-arguments-length":195}],171:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r(1..valueOf)},{"../internals/function-uncurry-this":87}],172:[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":176}],173:[function(e,t,n){var r=e("../internals/to-primitive"),i=TypeError;t.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw i("Can't convert number to bigint");return BigInt(t)}},{"../internals/to-primitive":181}],174:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=e("../internals/to-length"),o=RangeError;t.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw o("Wrong length or index");return n}},{"../internals/to-integer-or-infinity":176,"../internals/to-length":177}],175:[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":100,"../internals/require-object-coercible":158}],176:[function(e,t,n){var r=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},{"../internals/math-trunc":123}],177:[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":176}],178:[function(e,t,n){var r=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(r(e))}},{"../internals/require-object-coercible":158}],179:[function(e,t,n){var r=e("../internals/to-positive-integer"),i=RangeError;t.exports=function(e,t){var n=r(e);if(n%t)throw i("Wrong offset");return n}},{"../internals/to-positive-integer":180}],180:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=RangeError;t.exports=function(e){var t=r(e);if(t<0)throw i("The argument can't be less than 0");return t}},{"../internals/to-integer-or-infinity":176}],181:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/is-object"),o=e("../internals/is-symbol"),a=e("../internals/get-method"),s=e("../internals/ordinary-to-primitive"),u=e("../internals/well-known-symbol"),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},{"../internals/function-call":84,"../internals/get-method":91,"../internals/is-object":112,"../internals/is-symbol":114,"../internals/ordinary-to-primitive":143,"../internals/well-known-symbol":197}],182:[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":114,"../internals/to-primitive":181}],183:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":197}],184:[function(e,t,n){var r=e("../internals/classof"),i=String;t.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},{"../internals/classof":48}],185:[function(e,t,n){var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{}],186:[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"),I=e("../internals/internal-state"),C=e("../internals/inherit-if-required"),M=I.get,P=I.set,N=I.enforce,D=O.f,L=T.f,B=Math.round,U=i.RangeError,F=l.ArrayBuffer,q=F.prototype,W=l.DataView,H=u.NATIVE_ARRAY_BUFFER_VIEWS,V=u.TYPED_ARRAY_TAG,z=u.TypedArray,G=u.TypedArrayPrototype,$=u.aTypedArrayConstructor,Y=u.isTypedArray,J="BYTES_PER_ELEMENT",K="Wrong length",X=function(e,t){$(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},Q=function(e,t){D(e,t,{get:function(){return M(this)[t]}})},Z=function(e){var t;return x(q,e)||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},ee=function(e,t){return Y(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]):L(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?D(e,t,n):(e[t]=n.value,e)};a?(H||(T.f=te,O.f=ne,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!H},{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){D(e,t,{get:function(){return function(e,t){var n=M(e);return n.view[l](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=M(e);n&&(r=(r=B(r))<0?0:r>255?255:255&r),i.view[f](t*a+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};H?s&&(b=t((function(e,t,n,r){return c(e,g),C(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):Y(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 Y(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 U(K);if((s=d-f)<0)throw U(K)}else if((s=h(r)*a)+f>d)throw U(K);u=s/a}else u=y(t),i=new F(s=u*a);for(P(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new W(i)});l<u;)j(e,l++)})),S&&S(b,z),g=b.prototype=E(G)),g.constructor!==b&&d(g,"constructor",b),N(g).TypedArrayConstructor=b,V&&d(g,V,u);var x=b!=p;v[u]=b,r({global:!0,constructor:!0,forced:x,sham:!H},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":60,"../internals/export":78,"../internals/function-call":84,"../internals/global":93,"../internals/has-own-property":94,"../internals/inherit-if-required":101,"../internals/internal-state":103,"../internals/is-integral-number":110,"../internals/is-object":112,"../internals/is-symbol":114,"../internals/object-create":129,"../internals/object-define-property":131,"../internals/object-get-own-property-descriptor":132,"../internals/object-get-own-property-names":134,"../internals/object-is-prototype-of":137,"../internals/object-set-prototype-of":141,"../internals/set-species":159,"../internals/to-index":174,"../internals/to-length":177,"../internals/to-offset":179,"../internals/to-property-key":182,"../internals/typed-array-constructors-require-wrappers":187,"../internals/typed-array-from":189}],187:[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":79,"../internals/global":93}],188:[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":190}],189:[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/is-big-int-array"),d=e("../internals/array-buffer-view-core").aTypedArrayConstructor,p=e("../internals/to-big-int");t.exports=function(e){var t,n,h,y,m,b,g,v,w=o(this),j=a(e),E=arguments.length,x=E>1?arguments[1]:void 0,S=void 0!==x,_=l(j);if(_&&!c(_))for(v=(g=u(j,_)).next,j=[];!(b=i(v,g)).done;)j.push(b.value);for(S&&E>2&&(x=r(x,arguments[2])),n=s(j),h=new(d(w))(n),y=f(h),t=0;n>t;t++)m=S?x(j[t],t):j[t],h[t]=y?p(m):+m;return h}},{"../internals/a-constructor":20,"../internals/array-buffer-view-core":27,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/is-big-int-array":106,"../internals/length-of-array-like":121,"../internals/to-big-int":173,"../internals/to-object":178}],190:[function(e,t,n){var r=e("../internals/array-buffer-view-core"),i=e("../internals/species-constructor"),o=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;t.exports=function(e){return o(i(e,a(e)))}},{"../internals/array-buffer-view-core":27,"../internals/species-constructor":164}],191:[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":87}],192:[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":79,"../internals/is-pure":113,"../internals/well-known-symbol":197}],193:[function(e,t,n){var r=e("../internals/symbol-constructor-detection");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":169}],194:[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":60,"../internals/fails":79}],195:[function(e,t,n){var r=TypeError;t.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},{}],196:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},{"../internals/global":93,"../internals/is-callable":107}],197:[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/symbol-constructor-detection"),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":93,"../internals/has-own-property":94,"../internals/shared":163,"../internals/symbol-constructor-detection":169,"../internals/uid":191,"../internals/use-symbol-as-uid":193}],198:[function(e,t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],199:[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,constructor:!0,forced:i.ArrayBuffer!==u},{ArrayBuffer:u}),a(s)},{"../internals/array-buffer":28,"../internals/export":78,"../internals/global":93,"../internals/set-species":159}],200:[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":78,"../internals/fails":79,"../internals/function-uncurry-this":87,"../internals/species-constructor":164,"../internals/to-absolute-index":172,"../internals/to-length":177}],201:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/fails"),o=e("../internals/is-array"),a=e("../internals/is-object"),s=e("../internals/to-object"),u=e("../internals/length-of-array-like"),l=e("../internals/does-not-exceed-safe-integer"),c=e("../internals/create-property"),f=e("../internals/array-species-create"),d=e("../internals/array-method-has-species-support"),p=e("../internals/well-known-symbol"),h=e("../internals/engine-v8-version"),y=p("isConcatSpreadable"),m=h>=51||!i((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=d("concat"),g=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!m||!b},{concat:function(e){var t,n,r,i,o,a=s(this),d=f(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(g(o=-1===t?a:arguments[t]))for(i=u(o),l(p+i),n=0;n<i;n++,p++)n in o&&c(d,p,o[n]);else l(p+1),c(d,p++,o);return d.length=p,d}})},{"../internals/array-method-has-species-support":37,"../internals/array-species-create":44,"../internals/create-property":54,"../internals/does-not-exceed-safe-integer":63,"../internals/engine-v8-version":75,"../internals/export":78,"../internals/fails":79,"../internals/is-array":105,"../internals/is-object":112,"../internals/length-of-array-like":121,"../internals/to-object":178,"../internals/well-known-symbol":197}],202:[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":78}],203:[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":78,"../internals/function-uncurry-this":87}],204:[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/iterator-define"),l=e("../internals/create-iter-result-object"),c=e("../internals/is-pure"),f=e("../internals/descriptors"),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=u(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var y=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==y.name)try{s(y,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":22,"../internals/create-iter-result-object":51,"../internals/descriptors":60,"../internals/internal-state":103,"../internals/is-pure":113,"../internals/iterator-define":118,"../internals/iterators":120,"../internals/object-define-property":131,"../internals/to-indexed-object":175}],205:[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":78,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/to-indexed-object":175}],206:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-array"),o=e("../internals/is-constructor"),a=e("../internals/is-object"),s=e("../internals/to-absolute-index"),u=e("../internals/length-of-array-like"),l=e("../internals/to-indexed-object"),c=e("../internals/create-property"),f=e("../internals/well-known-symbol"),d=e("../internals/array-method-has-species-support"),p=e("../internals/array-slice"),h=d("slice"),y=f("species"),m=Array,b=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,f,d=l(this),h=u(d),g=s(e,h),v=s(void 0===t?h:t,h);if(i(d)&&(n=d.constructor,(o(n)&&(n===m||i(n.prototype))||a(n)&&null===(n=n[y]))&&(n=void 0),n===m||void 0===n))return p(d,g,v);for(r=new(void 0===n?m:n)(b(v-g,0)),f=0;g<v;g++,f++)g in d&&c(r,f,d[g]);return r.length=f,r}})},{"../internals/array-method-has-species-support":37,"../internals/array-slice":41,"../internals/create-property":54,"../internals/export":78,"../internals/is-array":105,"../internals/is-constructor":108,"../internals/is-object":112,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172,"../internals/to-indexed-object":175,"../internals/well-known-symbol":197}],207:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/to-integer-or-infinity"),a=e("../internals/this-number-value"),s=e("../internals/string-repeat"),u=e("../internals/fails"),l=RangeError,c=String,f=Math.floor,d=i(s),p=i("".slice),h=i(1..toFixed),y=function(e,t,n){return 0===t?n:t%2==1?y(e,t-1,n*e):y(e*e,t/2,n)},m=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=f(i/1e7)},b=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=f(r/t),r=r%t*1e7},g=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=c(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!u((function(){h({})}))},{toFixed:function(e){var t,n,r,i,s=a(this),u=o(e),f=[0,0,0,0,0,0],h="",v="0";if(u<0||u>20)throw l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(h="-",s=-s),s>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}(s*y(2,69,1))-69)<0?s*y(2,-t,1):s/y(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(f,0,n),r=u;r>=7;)m(f,1e7,0),r-=7;for(m(f,y(10,r,1),0),r=t-1;r>=23;)b(f,1<<23),r-=23;b(f,1<<r),m(f,1,1),b(f,2),v=g(f)}else m(f,0,n),m(f,1<<-t,0),v=g(f)+d("0",u);return v=u>0?h+((i=v.length)<=u?"0."+d("0",u-i)+v:p(v,0,i-u)+"."+p(v,i-u)):h+v}})},{"../internals/export":78,"../internals/fails":79,"../internals/function-uncurry-this":87,"../internals/string-repeat":167,"../internals/this-number-value":171,"../internals/to-integer-or-infinity":176}],208:[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":60,"../internals/export":78,"../internals/object-define-property":131}],209:[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":78,"../internals/fails":79,"../internals/object-get-own-property-names-external":133}],210:[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":78,"../internals/fails":79,"../internals/object-keys":139,"../internals/to-object":178}],211:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/define-built-in"),o=e("../internals/object-to-string");r||i(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/define-built-in":56,"../internals/object-to-string":142,"../internals/to-string-tag-support":183}],212:[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":78,"../internals/number-parse-float":126}],213:[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":78,"../internals/number-parse-int":127}],214:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),u=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--c||r(a))}),l)})),--c||r(a)}));return c.error&&l(c.value),n.promise}})},{"../internals/a-callable":19,"../internals/export":78,"../internals/function-call":84,"../internals/iterate":115,"../internals/new-promise-capability":125,"../internals/perform":145,"../internals/promise-statics-incorrect-iteration":149}],215:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,a=e("../internals/promise-native-constructor"),s=e("../internals/get-built-in"),u=e("../internals/is-callable"),l=e("../internals/define-built-in"),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},{"../internals/define-built-in":56,"../internals/export":78,"../internals/get-built-in":88,"../internals/is-callable":107,"../internals/is-pure":113,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147}],216:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/export"),s=e("../internals/is-pure"),u=e("../internals/engine-is-node"),l=e("../internals/global"),c=e("../internals/function-call"),f=e("../internals/define-built-in"),d=e("../internals/object-set-prototype-of"),p=e("../internals/set-to-string-tag"),h=e("../internals/set-species"),y=e("../internals/a-callable"),m=e("../internals/is-callable"),b=e("../internals/is-object"),g=e("../internals/an-instance"),v=e("../internals/species-constructor"),w=e("../internals/task").set,j=e("../internals/microtask"),E=e("../internals/host-report-errors"),x=e("../internals/perform"),S=e("../internals/queue"),_=e("../internals/internal-state"),A=e("../internals/promise-native-constructor"),R=e("../internals/promise-constructor-detection"),k=e("../internals/new-promise-capability"),O="Promise",T=R.CONSTRUCTOR,I=R.REJECTION_EVENT,C=R.SUBCLASSING,M=_.getterFor(O),P=_.set,N=A&&A.prototype,D=A,L=N,B=l.TypeError,U=l.document,F=l.process,q=k.f,W=q,H=!!(U&&U.createEvent&&l.dispatchEvent),V="unhandledrejection",z=function(e){var t;return!(!b(e)||!m(t=e.then))&&t},G=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,f=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===e.promise?l(B("Promise-chain cycle")):(r=z(n))?c(r,n,u,l):u(n)):l(o)}catch(e){f&&!i&&f.exit(),l(e)}},$=function(e,t){e.notified||(e.notified=!0,j((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&J(e)})))},Y=function(e,t,n){var r,i;H?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!I&&(i=l["on"+e])?i(r):e===V&&E("Unhandled promise rejection",n)},J=function(e){c(w,l,(function(){var t,n=e.facade,r=e.value;if(K(e)&&(t=x((function(){u?F.emit("unhandledRejection",r,n):Y(V,n,r)})),e.rejection=u||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,l,(function(){var t=e.facade;u?F.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,$(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=z(t);r?j((function(){var n={done:!1};try{c(r,t,Q(ee,n,e),Q(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,$(e,!1))}catch(t){Z({done:!1},t,e)}}};if(T&&(L=(D=function(e){g(this,L),y(e),c(r,this);var t=M(this);try{e(Q(ee,t),Q(Z,t))}catch(e){Z(t,e)}}).prototype,(r=function(e){P(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var n=M(this),r=q(v(this,D));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?F.domain:void 0,0==n.state?n.reactions.add(r):j((function(){G(r,n)})),r.promise})),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(Z,t)},k.f=q=function(e){return e===D||undefined===e?new i(e):W(e)},!s&&m(A)&&N!==Object.prototype)){o=N.then,C||f(N,"then",(function(e,t){var n=this;return new D((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete N.constructor}catch(e){}d&&d(N,L)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:D}),p(D,O,!1,!0),h(O)},{"../internals/a-callable":19,"../internals/an-instance":24,"../internals/define-built-in":56,"../internals/engine-is-node":72,"../internals/export":78,"../internals/function-call":84,"../internals/global":93,"../internals/host-report-errors":96,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/is-pure":113,"../internals/microtask":124,"../internals/new-promise-capability":125,"../internals/object-set-prototype-of":141,"../internals/perform":145,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147,"../internals/queue":150,"../internals/set-species":159,"../internals/set-to-string-tag":160,"../internals/species-constructor":164,"../internals/task":170}],217:[function(e,t,n){e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":214,"../modules/es.promise.catch":215,"../modules/es.promise.constructor":216,"../modules/es.promise.race":218,"../modules/es.promise.reject":219,"../modules/es.promise.resolve":220}],218:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),u=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(e){var t=this,n=a.f(t),r=n.reject,l=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return l.error&&r(l.value),n.promise}})},{"../internals/a-callable":19,"../internals/export":78,"../internals/function-call":84,"../internals/iterate":115,"../internals/new-promise-capability":125,"../internals/perform":145,"../internals/promise-statics-incorrect-iteration":149}],219:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/new-promise-capability");r({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},{"../internals/export":78,"../internals/function-call":84,"../internals/new-promise-capability":125,"../internals/promise-constructor-detection":146}],220:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/is-pure"),a=e("../internals/promise-native-constructor"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR,u=e("../internals/promise-resolve"),l=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},{"../internals/export":78,"../internals/get-built-in":88,"../internals/is-pure":113,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147,"../internals/promise-resolve":148}],221:[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":78,"../internals/regexp-exec":152}],222:[function(e,t,n){"use strict";var r=e("../internals/function-name").PROPER,i=e("../internals/define-built-in"),o=e("../internals/an-object"),a=e("../internals/to-string"),s=e("../internals/fails"),u=e("../internals/regexp-get-flags"),l="toString",c=RegExp.prototype.toString,f=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=r&&c.name!=l;(f||d)&&i(RegExp.prototype,l,(function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},{"../internals/an-object":25,"../internals/define-built-in":56,"../internals/fails":79,"../internals/function-name":85,"../internals/regexp-get-flags":154,"../internals/to-string":184}],223:[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/iterator-define"),s=e("../internals/create-iter-result-object"),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",(function(e){l(this,{type:u,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},{"../internals/create-iter-result-object":51,"../internals/internal-state":103,"../internals/iterator-define":118,"../internals/string-multibyte":165,"../internals/to-string":184}],224:[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/is-null-or-undefined"),f=e("../internals/to-integer-or-infinity"),d=e("../internals/to-length"),p=e("../internals/to-string"),h=e("../internals/require-object-coercible"),y=e("../internals/advance-string-index"),m=e("../internals/get-method"),b=e("../internals/get-substitution"),g=e("../internals/regexp-exec-abstract"),v=e("../internals/well-known-symbol")("replace"),w=Math.max,j=Math.min,E=o([].concat),x=o([].push),S=o("".indexOf),_=o("".slice),A="$0"==="a".replace(/./,"$0"),R=!!/./[v]&&""===/./[v]("a","$0");a("replace",(function(e,t,n){var o=R?"$":"$0";return[function(e,n){var r=h(this),o=c(e)?void 0:m(e,v);return o?i(o,e,r,n):i(t,p(r),e,n)},function(e,i){var a=u(this),s=p(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var c=n(t,a,s,i);if(c.done)return c.value}var h=l(i);h||(i=p(i));var m=a.global;if(m){var v=a.unicode;a.lastIndex=0}for(var A=[];;){var R=g(a,s);if(null===R)break;if(x(A,R),!m)break;""===p(R[0])&&(a.lastIndex=y(s,d(a.lastIndex),v))}for(var k,O="",T=0,I=0;I<A.length;I++){for(var C=p((R=A[I])[0]),M=w(j(f(R.index),s.length),0),P=[],N=1;N<R.length;N++)x(P,void 0===(k=R[N])?k:String(k));var D=R.groups;if(h){var L=E([C],P,M,s);void 0!==D&&x(L,D);var B=p(r(i,void 0,L))}else B=b(C,s,M,P,D,i);M>=T&&(O+=_(s,T,M)+B,T=M+C.length)}return O+_(s,T)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||R)},{"../internals/advance-string-index":23,"../internals/an-object":25,"../internals/fails":79,"../internals/fix-regexp-well-known-symbol-logic":80,"../internals/function-apply":81,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/get-method":91,"../internals/get-substitution":92,"../internals/is-callable":107,"../internals/is-null-or-undefined":111,"../internals/regexp-exec-abstract":151,"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-length":177,"../internals/to-string":184,"../internals/well-known-symbol":197}],225:[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":87}],226:[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}],227:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-fill"),o=e("../internals/to-big-int"),a=e("../internals/classof"),s=e("../internals/function-call"),u=e("../internals/function-uncurry-this"),l=e("../internals/fails"),c=r.aTypedArray,f=r.exportTypedArrayMethod,d=u("".slice);f("fill",(function(e){var t=arguments.length;c(this);var n="Big"===d(a(this),0,3)?o(e):+e;return s(i,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),l((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},{"../internals/array-buffer-view-core":27,"../internals/array-fill":30,"../internals/classof":48,"../internals/fails":79,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/to-big-int":173}],228:[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":188}],229:[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}],230:[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}],231:[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}],232:[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}],233:[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}],234:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],235:[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":87}],236:[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":81}],237:[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":190}],238:[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}],239:[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}],240:[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}],241:[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":79,"../internals/function-call":84,"../internals/global":93,"../internals/length-of-array-like":121,"../internals/to-object":178,"../internals/to-offset":179}],242:[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":79,"../internals/typed-array-species-constructor":190}],243:[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}],244:[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=u.aTypedArray,h=u.exportTypedArrayMethod,y=r.Uint16Array,m=y&&i(y.prototype.sort),b=!(!m||o((function(){m(new y(2),null)}))&&o((function(){m(new y(2),{})}))),g=!!m&&!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 y(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),g?m(this,e):s(p(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))}),!g||b)},{"../internals/a-callable":19,"../internals/array-buffer-view-core":27,"../internals/array-sort":42,"../internals/engine-ff-version":66,"../internals/engine-is-ie-or-edge":69,"../internals/engine-v8-version":75,"../internals/engine-webkit-version":76,"../internals/fails":79,"../internals/function-uncurry-this":87,"../internals/global":93}],245:[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":172,"../internals/to-length":177,"../internals/typed-array-species-constructor":190}],246:[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":79,"../internals/function-apply":81,"../internals/global":93}],247:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93}],248:[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":186}],249:[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":64,"../internals/dom-token-list-prototype":65,"../internals/global":93}],250:[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":64,"../internals/dom-token-list-prototype":65,"../internals/global":93,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],251:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/descriptors"),u=e("../internals/url-constructor-detection"),l=e("../internals/define-built-in"),c=e("../internals/define-built-ins"),f=e("../internals/set-to-string-tag"),d=e("../internals/iterator-create-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",I="URLSearchParamsIterator",C=p.set,M=p.getterFor(T),P=p.getterFor(I),N=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=N(i,e);return t&&t.value},L=D("fetch"),B=D("Request"),U=D("Headers"),F=B&&B.prototype,q=U&&U.prototype,W=i.RegExp,H=i.TypeError,V=i.decodeURIComponent,z=i.encodeURIComponent,G=a("".charAt),$=a([].join),Y=a([].push),J=a("".replace),K=a([].shift),X=a([].splice),Q=a("".split),Z=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=W("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return V(e)}catch(t){return e}},ie=function(e){var t=J(e,ee," "),n=4;try{return V(t)}catch(e){for(;n;)t=J(t,ne(n--),re);return t}},oe=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ue=function(e){return J(z(e),oe,se)},le=d((function(e,t){C(this,{type:I,iterator:S(M(e).entries),kind:t})}),"Iterator",(function(){var e=P(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),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?Z(e,1):e:j(e)))};ce.prototype={type:T,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,l=_(e);if(l)for(n=(t=S(e,l)).next;!(r=o(n,t)).done;){if(a=(i=S(v(r.value))).next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw H("Expected sequence with length 2");Y(this.entries,{key:j(s.value),value:j(u.value)})}else for(var c in e)m(e,c)&&Y(this.entries,{key:c,value:j(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=Q(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Q(t,"="),Y(this.entries,{key:ie(K(n)),value:ie($(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Y(n,ue(e.key)+"="+ue(e.value));return $(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;C(this,new ce(e))},de=fe.prototype;if(c(de,{append:function(e,t){A(arguments.length,2);var n=M(this);Y(n.entries,{key:j(e),value:j(t)}),n.updateURL()},delete:function(e){A(arguments.length,1);for(var t=M(this),n=t.entries,r=j(e),i=0;i<n.length;)n[i].key===r?X(n,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=M(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=M(this).entries,n=j(e),r=[],i=0;i<t.length;i++)t[i].key===n&&Y(r,t[i].value);return r},has:function(e){A(arguments.length,1);for(var t=M(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=M(this),i=r.entries,o=!1,a=j(e),s=j(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?X(i,u--,1):(o=!0,n.value=s));o||Y(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=M(this);k(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(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 le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(de,O,de.entries,{name:"entries"}),l(de,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),f(fe,T),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&y(U)){var pe=a(q.has),he=a(q.set),ye=function(e){if(w(e)){var t,n=e.body;if(g(n)===T)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||he(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,dontCallGetSet:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?ye(arguments[1]):{})}}),y(B)){var me=function(e){return h(this,F),new B(e,arguments.length>1?ye(arguments[1]):{})};F.constructor=me,me.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}t.exports={URLSearchParams:fe,getState:M}},{"../internals/an-instance":24,"../internals/an-object":25,"../internals/array-sort":42,"../internals/classof":48,"../internals/create-property-descriptor":53,"../internals/define-built-in":56,"../internals/define-built-ins":57,"../internals/descriptors":60,"../internals/export":78,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/iterator-create-constructor":117,"../internals/object-create":129,"../internals/set-to-string-tag":160,"../internals/to-string":184,"../internals/url-constructor-detection":192,"../internals/validate-arguments-length":195,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],252:[function(e,t,n){e("../modules/web.url-search-params.constructor")},{"../modules/web.url-search-params.constructor":251}],253:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),o=e("../internals/descriptors"),a=e("../internals/url-constructor-detection"),s=e("../internals/global"),u=e("../internals/function-bind-context"),l=e("../internals/function-uncurry-this"),c=e("../internals/define-built-in"),f=e("../internals/define-built-in-accessor"),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.constructor"),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,I=Math.floor,C=Math.pow,M=l("".charAt),P=l(/./.exec),N=l([].join),D=l(1..toString),L=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",$="Invalid port",Y=/[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=I(e/256);return N(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+=D(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&&P(Y,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(W(e,0,2))&&(2==e.length||"/"===(t=M(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={},Ie={},Ce={},Me={},Pe={},Ne={},De=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 De(n,!0)),i=this.parse(a,null,r))throw O(i);(o=R(new A)).bindURL(this),this.searchParams=o}};De.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||!P(Y,o)){if(t)return z;c=be;continue}d+=H(o),c=me;break;case me:if(o&&(P(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=Me)}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=Ne;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=Ce;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=Pe;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=Ce;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=Ne}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=Ce;continue}c=Se}else c=xe;break;case Ee:if(c=xe,"/"!=o||"/"!=M(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=Ie,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(!P(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||t){if(""!=d){var x=T(d,10);if(x>65535)return $;l.port=l.isSpecial()&&x===fe[l.scheme]?null:x,d=""}if(t)return;c=Ie;continue}return $}d+=o;break;case ke:if(l.scheme="file","/"==o||"\\"==o)c=Oe;else{if(!n||"file"!=n.scheme){c=Ce;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=Pe;else{if("#"!=o){pe(N(m(i,f),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Ce;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Ne}}break;case Oe:if("/"==o||"\\"==o){c=Te;break}n&&"file"==n.scheme&&!pe(N(m(i,f),""))&&(de(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Ce;continue;case Te:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))c=Ce;else if(""==d){if(l.host="",t)return;c=Ie}else{if(s=l.parseHost(d))return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=Ie}continue}d+=o;break;case Ie:if(l.isSpecial()){if(c=Ce,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Ce,"/"!=o))continue}else l.fragment="",c=Ne;else l.query="",c=Pe;break;case Ce: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=M(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=Pe):"#"==o&&(l.fragment="",c=Ne)}else d+=ce(o,ue);break;case Me:"?"==o?(l.query="",c=Pe):"#"==o?(l.fragment="",c=Ne):o!=r&&(l.path[0]+=ce(o,ae));break;case Pe:t||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ce(o,ae)):(l.fragment="",c=Ne);break;case Ne:o!=r&&(l.fragment+=ce(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==M(e,0)){if("]"!=M(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 M(e,f)};if(":"==d()){if(":"!=M(e,1))return;f+=2,c=++l}for(;d();){if(8==l)return;if(":"!=d()){for(t=n=0;n<4&&P(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(!P(K,d()))return;for(;P(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),P(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"==M(i,0)&&(o=P(X,i)?16:8,i=W(i,8==o?1:2)),""===i)a=0;else{if(!P(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>=C(256,5-t))return null}else if(a>255)return null;for(s=L(n),r=0;r<n.length;r++)s+=n[r]*C(256,3-r);return s}(e),null===t)return G;this.host=t}else{if(P(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?"/"+N(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 Le(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?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=v(e))?this.query=null:("?"==M(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Pe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=v(e))?("#"==M(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Le=function(e){var t=d(this,Be),n=j(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new De(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=Le.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&&(f(Be,"href",Ue("serialize","setHref")),f(Be,"origin",Ue("getOrigin")),f(Be,"protocol",Ue("getProtocol","setProtocol")),f(Be,"username",Ue("getUsername","setUsername")),f(Be,"password",Ue("getPassword","setPassword")),f(Be,"host",Ue("getHost","setHost")),f(Be,"hostname",Ue("getHostname","setHostname")),f(Be,"port",Ue("getPort","setPort")),f(Be,"pathname",Ue("getPathname","setPathname")),f(Be,"search",Ue("getSearch","setSearch")),f(Be,"searchParams",Ue("getSearchParams")),f(Be,"hash",Ue("getHash","setHash"))),c(Be,"toJSON",(function(){return _(this).serialize()}),{enumerable:!0}),c(Be,"toString",(function(){return _(this).serialize()}),{enumerable:!0}),k){var Fe=k.createObjectURL,qe=k.revokeObjectURL;Fe&&c(Le,"createObjectURL",u(Fe,k)),qe&&c(Le,"revokeObjectURL",u(qe,k))}w(Le,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Le})},{"../internals/an-instance":24,"../internals/array-from":33,"../internals/array-slice-simple":40,"../internals/define-built-in":56,"../internals/define-built-in-accessor":55,"../internals/descriptors":60,"../internals/export":78,"../internals/function-bind-context":82,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/object-assign":128,"../internals/set-to-string-tag":160,"../internals/string-multibyte":165,"../internals/string-punycode-to-ascii":166,"../internals/to-string":184,"../internals/url-constructor-detection":192,"../internals/validate-arguments-length":195,"../modules/es.string.iterator":223,"../modules/web.url-search-params.constructor":251}],254:[function(e,t,n){e("../modules/web.url.constructor")},{"../modules/web.url.constructor":253}],255:[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}],256:[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}}))}()},{}],257:[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},{}],258:[function(e,t,n){"use strict";t.exports=function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}},{}],259:[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:265,global:276,util:338}],260:[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":261,geval:274,"global/document":275}],261:[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}},{}],262:[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})}},{}],263:[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:302,once:299}],264:[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":272}],265:[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):[]}},{}],266:[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)}}},{}],267:[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/is-callable"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},{"../internals/is-callable":107,"../internals/try-to-string":185}],20:[function(e,t,n){var r=e("../internals/is-constructor"),i=e("../internals/try-to-string"),o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},{"../internals/is-constructor":108,"../internals/try-to-string":185}],21:[function(e,t,n){var r=e("../internals/is-callable"),i=String,o=TypeError;t.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},{"../internals/is-callable":107}],22:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property").f,a=r("unscopables"),s=Array.prototype;null==s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":129,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],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":165}],24:[function(e,t,n){var r=e("../internals/object-is-prototype-of"),i=TypeError;t.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},{"../internals/object-is-prototype-of":137}],25:[function(e,t,n){var r=e("../internals/is-object"),i=String,o=TypeError;t.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},{"../internals/is-object":112}],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-basic-detection"),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/define-built-in"),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=e("../internals/internal-state"),x=E.enforce,S=E.get,_=u.Int8Array,A=_&&_.prototype,R=u.Uint8ClampedArray,k=R&&R.prototype,O=_&&g(_),T=A&&g(A),I=Object.prototype,C=u.TypeError,M=w("toStringTag"),P=j("TYPED_ARRAY_TAG"),N="TypedArrayConstructor",D=a&&!!v&&"Opera"!==d(u.opera),L=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},F=function(e){var t=g(e);if(c(t)){var n=S(t);return n&&f(n,N)?n.TypedArrayConstructor:F(t)}},q=function(e){if(!c(e))return!1;var t=d(e);return f(B,t)||f(U,t)};for(r in B)(o=(i=u[r])&&i.prototype)?x(o).TypedArrayConstructor=i:D=!1;for(r in U)(o=(i=u[r])&&i.prototype)&&(x(o).TypedArrayConstructor=i);if((!D||!l(O)||O===Function.prototype)&&(O=function(){throw C("Incorrect invocation")},D))for(r in B)u[r]&&v(u[r],O);if((!D||!T||T===I)&&(T=O.prototype,D))for(r in B)u[r]&&v(u[r].prototype,T);if(D&&g(k)!==T&&v(k,T),s&&!f(T,M))for(r in L=!0,m(T,M,{get:function(){return c(this)?this[P]:void 0}}),B)u[r]&&h(u[r],P,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:L&&P,aTypedArray:function(e){if(q(e))return e;throw C("Target is not a typed array")},aTypedArrayConstructor:function(e){if(l(e)&&(!v||b(O,e)))return e;throw C(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var i in B){var o=u[i];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(n){try{o.prototype[e]=t}catch(e){}}}T[e]&&!n||y(T,e,n?t:D&&A[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(s){if(v){if(n)for(r in B)if((i=u[r])&&f(i,e))try{delete i[e]}catch(e){}if(O[e]&&!n)return;try{return y(O,e,n?t:D&&O[e]||t)}catch(e){}}for(r in B)!(i=u[r])||i[e]&&!n||y(i,e,t)}},getTypedArrayConstructor:F,isView:function(e){if(!c(e))return!1;var t=d(e);return"DataView"===t||f(B,t)||f(U,t)},isTypedArray:q,TypedArray:O,TypedArrayPrototype:T}},{"../internals/array-buffer-basic-detection":26,"../internals/classof":48,"../internals/create-non-enumerable-property":52,"../internals/define-built-in":56,"../internals/descriptors":60,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/object-define-property":131,"../internals/object-get-prototype-of":136,"../internals/object-is-prototype-of":137,"../internals/object-set-prototype-of":141,"../internals/try-to-string":185,"../internals/uid":191,"../internals/well-known-symbol":197}],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-basic-detection"),s=e("../internals/function-name"),u=e("../internals/create-non-enumerable-property"),l=e("../internals/define-built-ins"),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",I=r.ArrayBuffer,C=I,M=C&&C.prototype,P=r.DataView,N=P&&P.prototype,D=Object.prototype,L=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]},$=function(e){return q(e,23,4)},Y=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&&I.name!==k;if(c((function(){I(1)}))&&c((function(){new I(-1)}))&&!c((function(){return new I,new I(1.5),new I(NaN),1!=I.length||Q&&!_})))Q&&_&&u(I,"name",k);else{(C=function(e){return f(this,M),new I(h(e))}).prototype=M;for(var Z,ee=g(I),te=0;ee.length>te;)(Z=ee[te++])in C||u(C,Z,I[Z]);M.constructor=C}b&&m(N)!==D&&b(N,D);var ne=new P(new C(2)),re=i(N.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||l(N,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else M=(C=function(e){f(this,M);var t=h(e);R(this,{bytes:U(L(t),0),byteLength:t}),o||(this.byteLength=t)}).prototype,N=(P=function(e,t,n){f(this,N),f(e,M);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(C,"byteLength"),J(P,"buffer"),J(P,"byteLength"),J(P,"byteOffset")),l(N,{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,$,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,Y,t,arguments.length>2?arguments[2]:void 0)}});E(C,k),E(P,O),t.exports={ArrayBuffer:C,DataView:P}},{"../internals/an-instance":24,"../internals/array-buffer-basic-detection":26,"../internals/array-fill":30,"../internals/array-slice-simple":40,"../internals/create-non-enumerable-property":52,"../internals/define-built-ins":57,"../internals/descriptors":60,"../internals/fails":79,"../internals/function-name":85,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/ieee754":99,"../internals/internal-state":103,"../internals/object-define-property":131,"../internals/object-get-own-property-names":134,"../internals/object-get-prototype-of":136,"../internals/object-set-prototype-of":141,"../internals/set-to-string-tag":160,"../internals/to-index":174,"../internals/to-integer-or-infinity":176,"../internals/to-length":177}],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=e("../internals/delete-property-or-throw"),s=Math.min;t.exports=[].copyWithin||function(e,t){var n=r(this),u=o(n),l=i(e,u),c=i(t,u),f=arguments.length>2?arguments[2]:void 0,d=s((void 0===f?u:i(f,u))-c,u-l),p=1;for(c<l&&l<c+d&&(p=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:a(n,l),l+=p,c+=p;return n}},{"../internals/delete-property-or-throw":59,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172,"../internals/to-object":178}],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":121,"../internals/to-absolute-index":172,"../internals/to-object":178}],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":121}],33:[function(e,t,n){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/to-object"),a=e("../internals/call-with-safe-iteration-closing"),s=e("../internals/is-array-iterator-method"),u=e("../internals/is-constructor"),l=e("../internals/length-of-array-like"),c=e("../internals/create-property"),f=e("../internals/get-iterator"),d=e("../internals/get-iterator-method"),p=Array;t.exports=function(e){var t=o(e),n=u(this),h=arguments.length,y=h>1?arguments[1]:void 0,m=void 0!==y;m&&(y=r(y,h>2?arguments[2]:void 0));var b,g,v,w,j,E,x=d(t),S=0;if(!x||this===p&&s(x))for(b=l(t),g=n?new this(b):p(b);b>S;S++)E=m?y(t[S],S):t[S],c(g,S,E);else for(j=(w=f(t,x)).next,g=n?new this:[];!(v=i(j,w)).done;S++)E=m?a(w,y,[v.value,S],!0):v.value,c(g,S,E);return g.length=S,g}},{"../internals/call-with-safe-iteration-closing":45,"../internals/create-property":54,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/is-constructor":108,"../internals/length-of-array-like":121,"../internals/to-object":178}],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":121,"../internals/to-absolute-index":172,"../internals/to-indexed-object":175}],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":82,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/length-of-array-like":121,"../internals/to-object":178}],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":81,"../internals/length-of-array-like":121,"../internals/to-indexed-object":175,"../internals/to-integer-or-infinity":176}],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":75,"../internals/fails":79,"../internals/well-known-symbol":197}],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":79}],39:[function(e,t,n){var r=e("../internals/a-callable"),i=e("../internals/to-object"),o=e("../internals/indexed-object"),a=e("../internals/length-of-array-like"),s=TypeError,u=function(e){return function(t,n,u,l){r(n);var c=i(t),f=o(c),d=a(c),p=e?d-1:0,h=e?-1:1;if(u<2)for(;;){if(p in f){l=f[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw s("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:u(!1),right:u(!0)}},{"../internals/a-callable":19,"../internals/indexed-object":100,"../internals/length-of-array-like":121,"../internals/to-object":178}],40:[function(e,t,n){var r=e("../internals/to-absolute-index"),i=e("../internals/length-of-array-like"),o=e("../internals/create-property"),a=Array,s=Math.max;t.exports=function(e,t,n){for(var u=i(e),l=r(t,u),c=r(void 0===n?u:n,u),f=a(s(c-l,0)),d=0;l<c;l++,d++)o(f,d,e[l]);return f.length=d,f}},{"../internals/create-property":54,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172}],41:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r([].slice)},{"../internals/function-uncurry-this":87}],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/is-array"),i=e("../internals/is-constructor"),o=e("../internals/is-object"),a=e("../internals/well-known-symbol")("species"),s=Array;t.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},{"../internals/is-array":105,"../internals/is-constructor":108,"../internals/is-object":112,"../internals/well-known-symbol":197}],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":116}],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":197}],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":87}],48:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/is-callable"),o=e("../internals/classof-raw"),a=e("../internals/well-known-symbol")("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());t.exports=r?o: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=s(e),a))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},{"../internals/classof-raw":47,"../internals/is-callable":107,"../internals/to-string-tag-support":183,"../internals/well-known-symbol":197}],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":94,"../internals/object-define-property":131,"../internals/object-get-own-property-descriptor":132,"../internals/own-keys":144}],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":79}],51:[function(e,t,n){t.exports=function(e,t){return{value:e,done:t}}},{}],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":60,"../internals/object-define-property":131}],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":131,"../internals/to-property-key":182}],55:[function(e,t,n){var r=e("../internals/make-built-in"),i=e("../internals/object-define-property");t.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}},{"../internals/make-built-in":122,"../internals/object-define-property":131}],56:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/object-define-property"),o=e("../internals/make-built-in"),a=e("../internals/define-global-property");t.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:t;if(r(n)&&o(n,l,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},{"../internals/define-global-property":58,"../internals/is-callable":107,"../internals/make-built-in":122,"../internals/object-define-property":131}],57:[function(e,t,n){var r=e("../internals/define-built-in");t.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},{"../internals/define-built-in":56}],58:[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":93}],59:[function(e,t,n){"use strict";var r=e("../internals/try-to-string"),i=TypeError;t.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},{"../internals/try-to-string":185}],60:[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":79}],61:[function(e,t,n){var r="object"==typeof document&&document.all,i=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:i}},{}],62:[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":93,"../internals/is-object":112}],63:[function(e,t,n){var r=TypeError;t.exports=function(e){if(e>9007199254740991)throw r("Maximum allowed index exceeded");return e}},{}],64:[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}},{}],65:[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":62}],66:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":74}],67:[function(e,t,n){var r=e("../internals/engine-is-deno"),i=e("../internals/engine-is-node");t.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},{"../internals/engine-is-deno":68,"../internals/engine-is-node":72}],68:[function(e,t,n){t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},{}],69:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},{"../internals/engine-user-agent":74}],70:[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":74,"../internals/global":93}],71:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},{"../internals/engine-user-agent":74}],72:[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":93}],73:[function(e,t,n){var r=e("../internals/engine-user-agent");t.exports=/web0s(?!.*chrome)/i.test(r)},{"../internals/engine-user-agent":74}],74:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":88}],75:[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":74,"../internals/global":93}],76:[function(e,t,n){var r=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},{"../internals/engine-user-agent":74}],77:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],78:[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/define-built-in"),s=e("../internals/define-global-property"),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.dontCallGetSet?(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/define-built-in":56,"../internals/define-global-property":58,"../internals/global":93,"../internals/is-forced":109,"../internals/object-get-own-property-descriptor":132}],79:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],80:[function(e,t,n){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/function-uncurry-this-clause"),i=e("../internals/define-built-in"),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/define-built-in":56,"../internals/fails":79,"../internals/function-uncurry-this-clause":86,"../internals/regexp-exec":152,"../internals/well-known-symbol":197,"../modules/es.regexp.exec":221}],81:[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":83}],82:[function(e,t,n){var r=e("../internals/function-uncurry-this-clause"),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":83,"../internals/function-uncurry-this-clause":86}],83:[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":79}],84:[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":83}],85:[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":60,"../internals/has-own-property":94}],86:[function(e,t,n){var r=e("../internals/classof-raw"),i=e("../internals/function-uncurry-this");t.exports=function(e){if("Function"===r(e))return i(e)}},{"../internals/classof-raw":47,"../internals/function-uncurry-this":87}],87:[function(e,t,n){var r=e("../internals/function-bind-native"),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},{"../internals/function-bind-native":83}],88:[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":93,"../internals/is-callable":107}],89:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/get-method"),o=e("../internals/is-null-or-undefined"),a=e("../internals/iterators"),s=e("../internals/well-known-symbol")("iterator");t.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},{"../internals/classof":48,"../internals/get-method":91,"../internals/is-null-or-undefined":111,"../internals/iterators":120,"../internals/well-known-symbol":197}],90:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/a-callable"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/get-iterator-method"),u=TypeError;t.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},{"../internals/a-callable":19,"../internals/an-object":25,"../internals/function-call":84,"../internals/get-iterator-method":89,"../internals/try-to-string":185}],91:[function(e,t,n){var r=e("../internals/a-callable"),i=e("../internals/is-null-or-undefined");t.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},{"../internals/a-callable":19,"../internals/is-null-or-undefined":111}],92:[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":87,"../internals/to-object":178}],93:[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:{})},{}],94:[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":87,"../internals/to-object":178}],95:[function(e,t,n){t.exports={}},{}],96:[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":93}],97:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":88}],98:[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":60,"../internals/document-create-element":62,"../internals/fails":79}],99:[function(e,t,n){var r=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)}}},{}],100:[function(e,t,n){var r=e("../internals/function-uncurry-this"),i=e("../internals/fails"),o=e("../internals/classof-raw"),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},{"../internals/classof-raw":47,"../internals/fails":79,"../internals/function-uncurry-this":87}],101:[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":107,"../internals/is-object":112,"../internals/object-set-prototype-of":141}],102:[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":87,"../internals/is-callable":107,"../internals/shared-store":162}],103:[function(e,t,n){var r,i,o,a=e("../internals/weak-map-basic-detection"),s=e("../internals/global"),u=e("../internals/is-object"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/has-own-property"),f=e("../internals/shared-store"),d=e("../internals/shared-key"),p=e("../internals/hidden-keys"),h="Object already initialized",y=s.TypeError,m=s.WeakMap;if(a||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw y(h);return t.facade=e,b.set(e,t),t},i=function(e){return b.get(e)||{}},o=function(e){return b.has(e)}}else{var g=d("state");p[g]=!0,r=function(e,t){if(c(e,g))throw y(h);return t.facade=e,l(e,g,t),t},i=function(e){return c(e,g)?e[g]:{}},o=function(e){return c(e,g)}}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(!u(t)||(n=i(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":52,"../internals/global":93,"../internals/has-own-property":94,"../internals/hidden-keys":95,"../internals/is-object":112,"../internals/shared-key":161,"../internals/shared-store":162,"../internals/weak-map-basic-detection":196}],104:[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":120,"../internals/well-known-symbol":197}],105:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":47}],106:[function(e,t,n){var r=e("../internals/classof"),i=e("../internals/function-uncurry-this")("".slice);t.exports=function(e){return"Big"===i(r(e),0,3)}},{"../internals/classof":48,"../internals/function-uncurry-this":87}],107:[function(e,t,n){var r=e("../internals/document-all"),i=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},{"../internals/document-all":61}],108:[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":79,"../internals/function-uncurry-this":87,"../internals/get-built-in":88,"../internals/inspect-source":102,"../internals/is-callable":107}],109:[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":79,"../internals/is-callable":107}],110:[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":112}],111:[function(e,t,n){t.exports=function(e){return null==e}},{}],112:[function(e,t,n){var r=e("../internals/is-callable"),i=e("../internals/document-all"),o=i.all;t.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},{"../internals/document-all":61,"../internals/is-callable":107}],113:[function(e,t,n){t.exports=!1},{}],114:[function(e,t,n){var r=e("../internals/get-built-in"),i=e("../internals/is-callable"),o=e("../internals/object-is-prototype-of"),a=e("../internals/use-symbol-as-uid"),s=Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},{"../internals/get-built-in":88,"../internals/is-callable":107,"../internals/object-is-prototype-of":137,"../internals/use-symbol-as-uid":193}],115:[function(e,t,n){var r=e("../internals/function-bind-context"),i=e("../internals/function-call"),o=e("../internals/an-object"),a=e("../internals/try-to-string"),s=e("../internals/is-array-iterator-method"),u=e("../internals/length-of-array-like"),l=e("../internals/object-is-prototype-of"),c=e("../internals/get-iterator"),f=e("../internals/get-iterator-method"),d=e("../internals/iterator-close"),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},y=h.prototype;t.exports=function(e,t,n){var m,b,g,v,w,j,E,x=n&&n.that,S=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),R=!(!n||!n.INTERRUPTED),k=r(t,x),O=function(e){return m&&d(m,"normal",e),new h(!0,e)},T=function(e){return S?(o(e),R?k(e[0],e[1],O):k(e[0],e[1])):R?k(e,O):k(e)};if(_)m=e.iterator;else if(A)m=e;else{if(!(b=f(e)))throw p(a(e)+" is not iterable");if(s(b)){for(g=0,v=u(e);v>g;g++)if((w=T(e[g]))&&l(y,w))return w;return new h(!1)}m=c(e,b)}for(j=_?e.next:m.next;!(E=i(j,m)).done;){try{w=T(E.value)}catch(e){d(m,"throw",e)}if("object"==typeof w&&w&&l(y,w))return w}return new h(!1)}},{"../internals/an-object":25,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/iterator-close":116,"../internals/length-of-array-like":121,"../internals/object-is-prototype-of":137,"../internals/try-to-string":185}],116:[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":84,"../internals/get-method":91}],117:[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":120,"../internals/iterators-core":119,"../internals/object-create":129,"../internals/set-to-string-tag":160}],118:[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/iterator-create-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/define-built-in"),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&&N)return N;if(!w&&e in M)return M[e];switch(e){case E:case x:case S:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",C=!1,M=e.prototype,P=M[j]||M["@@iterator"]||h&&M[h],N=!w&&P||T(h),D="Array"==t&&M.entries||P;if(D&&(R=l(D.call(new e)))!==Object.prototype&&R.next&&(o||l(R)===v||(c?c(R,v):s(R[j])||p(R,j,_)),f(R,I,!0,!0),o&&(y[I]=_)),b&&h==x&&P&&P.name!==x&&(!o&&g?d(M,"name",x):(C=!0,N=function(){return i(P,this)})),h)if(k={values:T(x),keys:m?N:T(E),entries:T(S)},A)for(O in k)(w||C||!(O in M))&&p(M,O,k[O]);else r({target:t,proto:!0,forced:w||C},k);return o&&!A||M[j]===N||p(M,j,N,{name:h}),y[t]=N,k}},{"../internals/create-non-enumerable-property":52,"../internals/define-built-in":56,"../internals/export":78,"../internals/function-call":84,"../internals/function-name":85,"../internals/is-callable":107,"../internals/is-pure":113,"../internals/iterator-create-constructor":117,"../internals/iterators":120,"../internals/iterators-core":119,"../internals/object-get-prototype-of":136,"../internals/object-set-prototype-of":141,"../internals/set-to-string-tag":160,"../internals/well-known-symbol":197}],119:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/fails"),s=e("../internals/is-callable"),u=e("../internals/is-object"),l=e("../internals/object-create"),c=e("../internals/object-get-prototype-of"),f=e("../internals/define-built-in"),d=e("../internals/well-known-symbol"),p=e("../internals/is-pure"),h=d("iterator"),y=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):y=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[h])||f(r,h,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:y}},{"../internals/define-built-in":56,"../internals/fails":79,"../internals/is-callable":107,"../internals/is-object":112,"../internals/is-pure":113,"../internals/object-create":129,"../internals/object-get-prototype-of":136,"../internals/well-known-symbol":197}],120:[function(e,t,n){arguments[4][95][0].apply(n,arguments)},{dup:95}],121:[function(e,t,n){var r=e("../internals/to-length");t.exports=function(e){return r(e.length)}},{"../internals/to-length":177}],122:[function(e,t,n){var r=e("../internals/fails"),i=e("../internals/is-callable"),o=e("../internals/has-own-property"),a=e("../internals/descriptors"),s=e("../internals/function-name").CONFIGURABLE,u=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.enforce,f=l.get,d=Object.defineProperty,p=a&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),h=String(String).split("String"),y=t.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&o(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=c(e);return o(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=y((function(){return i(this)&&f(this).source||u(this)}),"toString")},{"../internals/descriptors":60,"../internals/fails":79,"../internals/function-name":85,"../internals/has-own-property":94,"../internals/inspect-source":102,"../internals/internal-state":103,"../internals/is-callable":107}],123:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?i:r)(t)}},{}],124:[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":71,"../internals/engine-is-ios-pebble":70,"../internals/engine-is-node":72,"../internals/engine-is-webos-webkit":73,"../internals/function-bind-context":82,"../internals/global":93,"../internals/object-get-own-property-descriptor":132,"../internals/task":170}],125:[function(e,t,n){"use strict";var r=e("../internals/a-callable"),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};t.exports.f=function(e){return new o(e)}},{"../internals/a-callable":19}],126:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/string-trim":168,"../internals/to-string":184,"../internals/whitespaces":198}],127:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/string-trim":168,"../internals/to-string":184,"../internals/whitespaces":198}],128:[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":60,"../internals/fails":79,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/object-get-own-property-symbols":135,"../internals/object-keys":139,"../internals/object-property-is-enumerable":140,"../internals/to-object":178}],129:[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":62,"../internals/enum-bug-keys":77,"../internals/hidden-keys":95,"../internals/html":97,"../internals/object-define-properties":130,"../internals/shared-key":161}],130:[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":60,"../internals/object-define-property":131,"../internals/object-keys":139,"../internals/to-indexed-object":175,"../internals/v8-prototype-define-bug":194}],131:[function(e,t,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),o=e("../internals/v8-prototype-define-bug"),a=e("../internals/an-object"),s=e("../internals/to-property-key"),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";n.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":25,"../internals/descriptors":60,"../internals/ie8-dom-define":98,"../internals/to-property-key":182,"../internals/v8-prototype-define-bug":194}],132:[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":60,"../internals/function-call":84,"../internals/has-own-property":94,"../internals/ie8-dom-define":98,"../internals/object-property-is-enumerable":140,"../internals/to-indexed-object":175,"../internals/to-property-key":182}],133:[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":134,"../internals/to-indexed-object":175}],134:[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":77,"../internals/object-keys-internal":138}],135:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],136:[function(e,t,n){var r=e("../internals/has-own-property"),i=e("../internals/is-callable"),o=e("../internals/to-object"),a=e("../internals/shared-key"),s=e("../internals/correct-prototype-getter"),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},{"../internals/correct-prototype-getter":50,"../internals/has-own-property":94,"../internals/is-callable":107,"../internals/shared-key":161,"../internals/to-object":178}],137:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r({}.isPrototypeOf)},{"../internals/function-uncurry-this":87}],138:[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":87,"../internals/has-own-property":94,"../internals/hidden-keys":95,"../internals/to-indexed-object":175}],139:[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":77,"../internals/object-keys-internal":138}],140:[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},{}],141:[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":87}],142:[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":183}],143:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/is-callable"),o=e("../internals/is-object"),a=TypeError;t.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},{"../internals/function-call":84,"../internals/is-callable":107,"../internals/is-object":112}],144:[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":87,"../internals/get-built-in":88,"../internals/object-get-own-property-names":134,"../internals/object-get-own-property-symbols":135}],145:[function(e,t,n){t.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},{}],146:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/promise-native-constructor"),o=e("../internals/is-callable"),a=e("../internals/is-forced"),s=e("../internals/inspect-source"),u=e("../internals/well-known-symbol"),l=e("../internals/engine-is-browser"),c=e("../internals/engine-is-deno"),f=e("../internals/is-pure"),d=e("../internals/engine-v8-version"),p=i&&i.prototype,h=u("species"),y=!1,m=o(r.PromiseRejectionEvent),b=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(f&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(y=n.then((function(){}))instanceof r))return!0}return!t&&(l||c)&&!m}));t.exports={CONSTRUCTOR:b,REJECTION_EVENT:m,SUBCLASSING:y}},{"../internals/engine-is-browser":67,"../internals/engine-is-deno":68,"../internals/engine-v8-version":75,"../internals/global":93,"../internals/inspect-source":102,"../internals/is-callable":107,"../internals/is-forced":109,"../internals/is-pure":113,"../internals/promise-native-constructor":147,"../internals/well-known-symbol":197}],147:[function(e,t,n){var r=e("../internals/global");t.exports=r.Promise},{"../internals/global":93}],148:[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":112,"../internals/new-promise-capability":125}],149:[function(e,t,n){var r=e("../internals/promise-native-constructor"),i=e("../internals/check-correctness-of-iteration"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR;t.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},{"../internals/check-correctness-of-iteration":46,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147}],150:[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},{}],151:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/an-object"),o=e("../internals/is-callable"),a=e("../internals/classof-raw"),s=e("../internals/regexp-exec"),u=TypeError;t.exports=function(e,t){var n=e.exec;if(o(n)){var l=r(n,e,t);return null!==l&&i(l),l}if("RegExp"===a(e))return r(s,e,t);throw u("RegExp#exec called on incompatible receiver")}},{"../internals/an-object":25,"../internals/classof-raw":47,"../internals/function-call":84,"../internals/is-callable":107,"../internals/regexp-exec":152}],152:[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,I=0,C=_;if(k&&(O=w(O,"y",""),-1===v(O,"g")&&(O+="g"),C=j(_,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==g(_,p.lastIndex-1))&&(T="(?: "+T+")",C=" "+C,I++),n=new RegExp("^(?:"+T+")",O)),S&&(n=new RegExp("^"+T+"$(?!\\s)",O)),E&&(r=p.lastIndex),i=o(m,k?n:p,C),k?i?(i.input=j(i.input,I),i[0]=j(i[0],I),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":84,"../internals/function-uncurry-this":87,"../internals/internal-state":103,"../internals/object-create":129,"../internals/regexp-flags":153,"../internals/regexp-sticky-helpers":155,"../internals/regexp-unsupported-dot-all":156,"../internals/regexp-unsupported-ncg":157,"../internals/shared":163,"../internals/to-string":184}],153:[function(e,t,n){"use strict";var r=e("../internals/an-object");t.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},{"../internals/an-object":25}],154:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/has-own-property"),o=e("../internals/object-is-prototype-of"),a=e("../internals/regexp-flags"),s=RegExp.prototype;t.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||i(e,"flags")||!o(s,e)?t:r(a,e)}},{"../internals/function-call":84,"../internals/has-own-property":94,"../internals/object-is-prototype-of":137,"../internals/regexp-flags":153}],155:[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":79,"../internals/global":93}],156:[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":79,"../internals/global":93}],157:[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":79,"../internals/global":93}],158:[function(e,t,n){var r=e("../internals/is-null-or-undefined"),i=TypeError;t.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},{"../internals/is-null-or-undefined":111}],159:[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":60,"../internals/get-built-in":88,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],160:[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":94,"../internals/object-define-property":131,"../internals/well-known-symbol":197}],161:[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":163,"../internals/uid":191}],162:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/define-global-property"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},{"../internals/define-global-property":58,"../internals/global":93}],163:[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.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},{"../internals/is-pure":113,"../internals/shared-store":162}],164:[function(e,t,n){var r=e("../internals/an-object"),i=e("../internals/a-constructor"),o=e("../internals/is-null-or-undefined"),a=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},{"../internals/a-constructor":20,"../internals/an-object":25,"../internals/is-null-or-undefined":111,"../internals/well-known-symbol":197}],165:[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":87,"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-string":184}],166:[function(e,t,n){"use strict";var r=e("../internals/function-uncurry-this"),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,l=r(a.exec),c=Math.floor,f=String.fromCharCode,d=r("".charCodeAt),p=r([].join),h=r([].push),y=r("".replace),m=r("".split),b=r("".toLowerCase),g=function(e){return e+22+75*(e<26)},v=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=d(e,n++);if(i>=55296&&i<=56319&&n<r){var o=d(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,l=0,y=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,f(r));var m=t.length,b=m;for(m&&h(t,"-");b<o;){var w=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<w&&(w=r);var j=b+1;if(w-a>c((i-l)/j))throw u(s);for(l+=(w-a)*j,a=w,n=0;n<e.length;n++){if((r=e[n])<a&&++l>i)throw u(s);if(r==a){for(var E=l,x=36;;){var S=x<=y?1:x>=y+26?26:x-y;if(E<S)break;var _=E-S,A=36-S;h(t,f(g(S+_%A))),E=c(_/A),x+=36}h(t,f(g(E))),y=v(l,j,b==m),l=0,b++}}l++,a++}return p(t,"")};t.exports=function(e){var t,n,r=[],i=m(y(b(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,l(o,n)?"xn--"+w(n):n);return p(r,".")}},{"../internals/function-uncurry-this":87}],167:[function(e,t,n){"use strict";var r=e("../internals/to-integer-or-infinity"),i=e("../internals/to-string"),o=e("../internals/require-object-coercible"),a=RangeError;t.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},{"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-string":184}],168:[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":87,"../internals/require-object-coercible":158,"../internals/to-string":184,"../internals/whitespaces":198}],169:[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":75,"../internals/fails":79}],170:[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)}},I=function(e){O(e.data)},C=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=I,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(C)?(i=C,s.addEventListener("message",I,!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":62,"../internals/engine-is-ios":71,"../internals/engine-is-node":72,"../internals/fails":79,"../internals/function-apply":81,"../internals/function-bind-context":82,"../internals/global":93,"../internals/has-own-property":94,"../internals/html":97,"../internals/is-callable":107,"../internals/validate-arguments-length":195}],171:[function(e,t,n){var r=e("../internals/function-uncurry-this");t.exports=r(1..valueOf)},{"../internals/function-uncurry-this":87}],172:[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":176}],173:[function(e,t,n){var r=e("../internals/to-primitive"),i=TypeError;t.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw i("Can't convert number to bigint");return BigInt(t)}},{"../internals/to-primitive":181}],174:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=e("../internals/to-length"),o=RangeError;t.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw o("Wrong length or index");return n}},{"../internals/to-integer-or-infinity":176,"../internals/to-length":177}],175:[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":100,"../internals/require-object-coercible":158}],176:[function(e,t,n){var r=e("../internals/math-trunc");t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},{"../internals/math-trunc":123}],177:[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":176}],178:[function(e,t,n){var r=e("../internals/require-object-coercible"),i=Object;t.exports=function(e){return i(r(e))}},{"../internals/require-object-coercible":158}],179:[function(e,t,n){var r=e("../internals/to-positive-integer"),i=RangeError;t.exports=function(e,t){var n=r(e);if(n%t)throw i("Wrong offset");return n}},{"../internals/to-positive-integer":180}],180:[function(e,t,n){var r=e("../internals/to-integer-or-infinity"),i=RangeError;t.exports=function(e){var t=r(e);if(t<0)throw i("The argument can't be less than 0");return t}},{"../internals/to-integer-or-infinity":176}],181:[function(e,t,n){var r=e("../internals/function-call"),i=e("../internals/is-object"),o=e("../internals/is-symbol"),a=e("../internals/get-method"),s=e("../internals/ordinary-to-primitive"),u=e("../internals/well-known-symbol"),l=TypeError,c=u("toPrimitive");t.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},{"../internals/function-call":84,"../internals/get-method":91,"../internals/is-object":112,"../internals/is-symbol":114,"../internals/ordinary-to-primitive":143,"../internals/well-known-symbol":197}],182:[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":114,"../internals/to-primitive":181}],183:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":197}],184:[function(e,t,n){var r=e("../internals/classof"),i=String;t.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},{"../internals/classof":48}],185:[function(e,t,n){var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}},{}],186:[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"),I=e("../internals/internal-state"),C=e("../internals/inherit-if-required"),M=I.get,P=I.set,N=I.enforce,D=O.f,L=T.f,B=Math.round,U=i.RangeError,F=l.ArrayBuffer,q=F.prototype,W=l.DataView,H=u.NATIVE_ARRAY_BUFFER_VIEWS,V=u.TYPED_ARRAY_TAG,z=u.TypedArray,G=u.TypedArrayPrototype,$=u.aTypedArrayConstructor,Y=u.isTypedArray,J="BYTES_PER_ELEMENT",K="Wrong length",X=function(e,t){$(e);for(var n=0,r=t.length,i=new e(r);r>n;)i[n]=t[n++];return i},Q=function(e,t){D(e,t,{get:function(){return M(this)[t]}})},Z=function(e){var t;return x(q,e)||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},ee=function(e,t){return Y(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]):L(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?D(e,t,n):(e[t]=n.value,e)};a?(H||(T.f=te,O.f=ne,Q(G,"buffer"),Q(G,"byteOffset"),Q(G,"byteLength"),Q(G,"length")),r({target:"Object",stat:!0,forced:!H},{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){D(e,t,{get:function(){return function(e,t){var n=M(e);return n.view[l](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=M(e);n&&(r=(r=B(r))<0?0:r>255?255:255&r),i.view[f](t*a+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};H?s&&(b=t((function(e,t,n,r){return c(e,g),C(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):Y(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 Y(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 U(K);if((s=d-f)<0)throw U(K)}else if((s=h(r)*a)+f>d)throw U(K);u=s/a}else u=y(t),i=new F(s=u*a);for(P(e,{buffer:i,byteOffset:f,byteLength:s,length:u,view:new W(i)});l<u;)j(e,l++)})),S&&S(b,z),g=b.prototype=E(G)),g.constructor!==b&&d(g,"constructor",b),N(g).TypedArrayConstructor=b,V&&d(g,V,u);var x=b!=p;v[u]=b,r({global:!0,constructor:!0,forced:x,sham:!H},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":60,"../internals/export":78,"../internals/function-call":84,"../internals/global":93,"../internals/has-own-property":94,"../internals/inherit-if-required":101,"../internals/internal-state":103,"../internals/is-integral-number":110,"../internals/is-object":112,"../internals/is-symbol":114,"../internals/object-create":129,"../internals/object-define-property":131,"../internals/object-get-own-property-descriptor":132,"../internals/object-get-own-property-names":134,"../internals/object-is-prototype-of":137,"../internals/object-set-prototype-of":141,"../internals/set-species":159,"../internals/to-index":174,"../internals/to-length":177,"../internals/to-offset":179,"../internals/to-property-key":182,"../internals/typed-array-constructors-require-wrappers":187,"../internals/typed-array-from":189}],187:[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":79,"../internals/global":93}],188:[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":190}],189:[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/is-big-int-array"),d=e("../internals/array-buffer-view-core").aTypedArrayConstructor,p=e("../internals/to-big-int");t.exports=function(e){var t,n,h,y,m,b,g,v,w=o(this),j=a(e),E=arguments.length,x=E>1?arguments[1]:void 0,S=void 0!==x,_=l(j);if(_&&!c(_))for(v=(g=u(j,_)).next,j=[];!(b=i(v,g)).done;)j.push(b.value);for(S&&E>2&&(x=r(x,arguments[2])),n=s(j),h=new(d(w))(n),y=f(h),t=0;n>t;t++)m=S?x(j[t],t):j[t],h[t]=y?p(m):+m;return h}},{"../internals/a-constructor":20,"../internals/array-buffer-view-core":27,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/is-array-iterator-method":104,"../internals/is-big-int-array":106,"../internals/length-of-array-like":121,"../internals/to-big-int":173,"../internals/to-object":178}],190:[function(e,t,n){var r=e("../internals/array-buffer-view-core"),i=e("../internals/species-constructor"),o=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;t.exports=function(e){return o(i(e,a(e)))}},{"../internals/array-buffer-view-core":27,"../internals/species-constructor":164}],191:[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":87}],192:[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":79,"../internals/is-pure":113,"../internals/well-known-symbol":197}],193:[function(e,t,n){var r=e("../internals/symbol-constructor-detection");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/symbol-constructor-detection":169}],194:[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":60,"../internals/fails":79}],195:[function(e,t,n){var r=TypeError;t.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},{}],196:[function(e,t,n){var r=e("../internals/global"),i=e("../internals/is-callable"),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},{"../internals/global":93,"../internals/is-callable":107}],197:[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/symbol-constructor-detection"),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":93,"../internals/has-own-property":94,"../internals/shared":163,"../internals/symbol-constructor-detection":169,"../internals/uid":191,"../internals/use-symbol-as-uid":193}],198:[function(e,t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],199:[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,constructor:!0,forced:i.ArrayBuffer!==u},{ArrayBuffer:u}),a(s)},{"../internals/array-buffer":28,"../internals/export":78,"../internals/global":93,"../internals/set-species":159}],200:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this-clause"),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":78,"../internals/fails":79,"../internals/function-uncurry-this-clause":86,"../internals/species-constructor":164,"../internals/to-absolute-index":172,"../internals/to-length":177}],201:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/fails"),o=e("../internals/is-array"),a=e("../internals/is-object"),s=e("../internals/to-object"),u=e("../internals/length-of-array-like"),l=e("../internals/does-not-exceed-safe-integer"),c=e("../internals/create-property"),f=e("../internals/array-species-create"),d=e("../internals/array-method-has-species-support"),p=e("../internals/well-known-symbol"),h=e("../internals/engine-v8-version"),y=p("isConcatSpreadable"),m=h>=51||!i((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=d("concat"),g=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!m||!b},{concat:function(e){var t,n,r,i,o,a=s(this),d=f(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(g(o=-1===t?a:arguments[t]))for(i=u(o),l(p+i),n=0;n<i;n++,p++)n in o&&c(d,p,o[n]);else l(p+1),c(d,p++,o);return d.length=p,d}})},{"../internals/array-method-has-species-support":37,"../internals/array-species-create":44,"../internals/create-property":54,"../internals/does-not-exceed-safe-integer":63,"../internals/engine-v8-version":75,"../internals/export":78,"../internals/fails":79,"../internals/is-array":105,"../internals/is-object":112,"../internals/length-of-array-like":121,"../internals/to-object":178,"../internals/well-known-symbol":197}],202:[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":78}],203:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this-clause"),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":78,"../internals/function-uncurry-this-clause":86}],204:[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/iterator-define"),l=e("../internals/create-iter-result-object"),c=e("../internals/is-pure"),f=e("../internals/descriptors"),d="Array Iterator",p=a.set,h=a.getterFor(d);t.exports=u(Array,"Array",(function(e,t){p(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=h(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,l(void 0,!0)):l("keys"==n?r:"values"==n?t[r]:[r,t[r]],!1)}),"values");var y=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==y.name)try{s(y,"name",{value:"values"})}catch(e){}},{"../internals/add-to-unscopables":22,"../internals/create-iter-result-object":51,"../internals/descriptors":60,"../internals/internal-state":103,"../internals/is-pure":113,"../internals/iterator-define":118,"../internals/iterators":120,"../internals/object-define-property":131,"../internals/to-indexed-object":175}],205:[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":78,"../internals/function-uncurry-this":87,"../internals/indexed-object":100,"../internals/to-indexed-object":175}],206:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-array"),o=e("../internals/is-constructor"),a=e("../internals/is-object"),s=e("../internals/to-absolute-index"),u=e("../internals/length-of-array-like"),l=e("../internals/to-indexed-object"),c=e("../internals/create-property"),f=e("../internals/well-known-symbol"),d=e("../internals/array-method-has-species-support"),p=e("../internals/array-slice"),h=d("slice"),y=f("species"),m=Array,b=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,f,d=l(this),h=u(d),g=s(e,h),v=s(void 0===t?h:t,h);if(i(d)&&(n=d.constructor,(o(n)&&(n===m||i(n.prototype))||a(n)&&null===(n=n[y]))&&(n=void 0),n===m||void 0===n))return p(d,g,v);for(r=new(void 0===n?m:n)(b(v-g,0)),f=0;g<v;g++,f++)g in d&&c(r,f,d[g]);return r.length=f,r}})},{"../internals/array-method-has-species-support":37,"../internals/array-slice":41,"../internals/create-property":54,"../internals/export":78,"../internals/is-array":105,"../internals/is-constructor":108,"../internals/is-object":112,"../internals/length-of-array-like":121,"../internals/to-absolute-index":172,"../internals/to-indexed-object":175,"../internals/well-known-symbol":197}],207:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-uncurry-this"),o=e("../internals/to-integer-or-infinity"),a=e("../internals/this-number-value"),s=e("../internals/string-repeat"),u=e("../internals/fails"),l=RangeError,c=String,f=Math.floor,d=i(s),p=i("".slice),h=i(1..toFixed),y=function(e,t,n){return 0===t?n:t%2==1?y(e,t-1,n*e):y(e*e,t/2,n)},m=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=f(i/1e7)},b=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=f(r/t),r=r%t*1e7},g=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=c(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!u((function(){h({})}))},{toFixed:function(e){var t,n,r,i,s=a(this),u=o(e),f=[0,0,0,0,0,0],h="",v="0";if(u<0||u>20)throw l("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(h="-",s=-s),s>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}(s*y(2,69,1))-69)<0?s*y(2,-t,1):s/y(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(f,0,n),r=u;r>=7;)m(f,1e7,0),r-=7;for(m(f,y(10,r,1),0),r=t-1;r>=23;)b(f,1<<23),r-=23;b(f,1<<r),m(f,1,1),b(f,2),v=g(f)}else m(f,0,n),m(f,1<<-t,0),v=g(f)+d("0",u);return v=u>0?h+((i=v.length)<=u?"0."+d("0",u-i)+v:p(v,0,i-u)+"."+p(v,i-u)):h+v}})},{"../internals/export":78,"../internals/fails":79,"../internals/function-uncurry-this":87,"../internals/string-repeat":167,"../internals/this-number-value":171,"../internals/to-integer-or-infinity":176}],208:[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":60,"../internals/export":78,"../internals/object-define-property":131}],209:[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":78,"../internals/fails":79,"../internals/object-get-own-property-names-external":133}],210:[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":78,"../internals/fails":79,"../internals/object-keys":139,"../internals/to-object":178}],211:[function(e,t,n){var r=e("../internals/to-string-tag-support"),i=e("../internals/define-built-in"),o=e("../internals/object-to-string");r||i(Object.prototype,"toString",o,{unsafe:!0})},{"../internals/define-built-in":56,"../internals/object-to-string":142,"../internals/to-string-tag-support":183}],212:[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":78,"../internals/number-parse-float":126}],213:[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":78,"../internals/number-parse-int":127}],214:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),u=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{all:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--c||r(a))}),l)})),--c||r(a)}));return c.error&&l(c.value),n.promise}})},{"../internals/a-callable":19,"../internals/export":78,"../internals/function-call":84,"../internals/iterate":115,"../internals/new-promise-capability":125,"../internals/perform":145,"../internals/promise-statics-incorrect-iteration":149}],215:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/is-pure"),o=e("../internals/promise-constructor-detection").CONSTRUCTOR,a=e("../internals/promise-native-constructor"),s=e("../internals/get-built-in"),u=e("../internals/is-callable"),l=e("../internals/define-built-in"),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},{"../internals/define-built-in":56,"../internals/export":78,"../internals/get-built-in":88,"../internals/is-callable":107,"../internals/is-pure":113,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147}],216:[function(e,t,n){"use strict";var r,i,o,a=e("../internals/export"),s=e("../internals/is-pure"),u=e("../internals/engine-is-node"),l=e("../internals/global"),c=e("../internals/function-call"),f=e("../internals/define-built-in"),d=e("../internals/object-set-prototype-of"),p=e("../internals/set-to-string-tag"),h=e("../internals/set-species"),y=e("../internals/a-callable"),m=e("../internals/is-callable"),b=e("../internals/is-object"),g=e("../internals/an-instance"),v=e("../internals/species-constructor"),w=e("../internals/task").set,j=e("../internals/microtask"),E=e("../internals/host-report-errors"),x=e("../internals/perform"),S=e("../internals/queue"),_=e("../internals/internal-state"),A=e("../internals/promise-native-constructor"),R=e("../internals/promise-constructor-detection"),k=e("../internals/new-promise-capability"),O="Promise",T=R.CONSTRUCTOR,I=R.REJECTION_EVENT,C=R.SUBCLASSING,M=_.getterFor(O),P=_.set,N=A&&A.prototype,D=A,L=N,B=l.TypeError,U=l.document,F=l.process,q=k.f,W=q,H=!!(U&&U.createEvent&&l.dispatchEvent),V="unhandledrejection",z=function(e){var t;return!(!b(e)||!m(t=e.then))&&t},G=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,f=e.domain;try{s?(a||(2===t.rejection&&X(t),t.rejection=1),!0===s?n=o:(f&&f.enter(),n=s(o),f&&(f.exit(),i=!0)),n===e.promise?l(B("Promise-chain cycle")):(r=z(n))?c(r,n,u,l):u(n)):l(o)}catch(e){f&&!i&&f.exit(),l(e)}},$=function(e,t){e.notified||(e.notified=!0,j((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&J(e)})))},Y=function(e,t,n){var r,i;H?((r=U.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!I&&(i=l["on"+e])?i(r):e===V&&E("Unhandled promise rejection",n)},J=function(e){c(w,l,(function(){var t,n=e.facade,r=e.value;if(K(e)&&(t=x((function(){u?F.emit("unhandledRejection",r,n):Y(V,n,r)})),e.rejection=u||K(e)?2:1,t.error))throw t.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e){c(w,l,(function(){var t=e.facade;u?F.emit("rejectionHandled",t):Y("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},Z=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,$(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=z(t);r?j((function(){var n={done:!1};try{c(r,t,Q(ee,n,e),Q(Z,n,e))}catch(t){Z(n,t,e)}})):(e.value=t,e.state=1,$(e,!1))}catch(t){Z({done:!1},t,e)}}};if(T&&(L=(D=function(e){g(this,L),y(e),c(r,this);var t=M(this);try{e(Q(ee,t),Q(Z,t))}catch(e){Z(t,e)}}).prototype,(r=function(e){P(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(L,"then",(function(e,t){var n=M(this),r=q(v(this,D));return n.parent=!0,r.ok=!m(e)||e,r.fail=m(t)&&t,r.domain=u?F.domain:void 0,0==n.state?n.reactions.add(r):j((function(){G(r,n)})),r.promise})),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(Z,t)},k.f=q=function(e){return e===D||undefined===e?new i(e):W(e)},!s&&m(A)&&N!==Object.prototype)){o=N.then,C||f(N,"then",(function(e,t){var n=this;return new D((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete N.constructor}catch(e){}d&&d(N,L)}a({global:!0,constructor:!0,wrap:!0,forced:T},{Promise:D}),p(D,O,!1,!0),h(O)},{"../internals/a-callable":19,"../internals/an-instance":24,"../internals/define-built-in":56,"../internals/engine-is-node":72,"../internals/export":78,"../internals/function-call":84,"../internals/global":93,"../internals/host-report-errors":96,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/is-pure":113,"../internals/microtask":124,"../internals/new-promise-capability":125,"../internals/object-set-prototype-of":141,"../internals/perform":145,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147,"../internals/queue":150,"../internals/set-species":159,"../internals/set-to-string-tag":160,"../internals/species-constructor":164,"../internals/task":170}],217:[function(e,t,n){e("../modules/es.promise.constructor"),e("../modules/es.promise.all"),e("../modules/es.promise.catch"),e("../modules/es.promise.race"),e("../modules/es.promise.reject"),e("../modules/es.promise.resolve")},{"../modules/es.promise.all":214,"../modules/es.promise.catch":215,"../modules/es.promise.constructor":216,"../modules/es.promise.race":218,"../modules/es.promise.reject":219,"../modules/es.promise.resolve":220}],218:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/a-callable"),a=e("../internals/new-promise-capability"),s=e("../internals/perform"),u=e("../internals/iterate");r({target:"Promise",stat:!0,forced:e("../internals/promise-statics-incorrect-iteration")},{race:function(e){var t=this,n=a.f(t),r=n.reject,l=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return l.error&&r(l.value),n.promise}})},{"../internals/a-callable":19,"../internals/export":78,"../internals/function-call":84,"../internals/iterate":115,"../internals/new-promise-capability":125,"../internals/perform":145,"../internals/promise-statics-incorrect-iteration":149}],219:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/function-call"),o=e("../internals/new-promise-capability");r({target:"Promise",stat:!0,forced:e("../internals/promise-constructor-detection").CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},{"../internals/export":78,"../internals/function-call":84,"../internals/new-promise-capability":125,"../internals/promise-constructor-detection":146}],220:[function(e,t,n){"use strict";var r=e("../internals/export"),i=e("../internals/get-built-in"),o=e("../internals/is-pure"),a=e("../internals/promise-native-constructor"),s=e("../internals/promise-constructor-detection").CONSTRUCTOR,u=e("../internals/promise-resolve"),l=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},{"../internals/export":78,"../internals/get-built-in":88,"../internals/is-pure":113,"../internals/promise-constructor-detection":146,"../internals/promise-native-constructor":147,"../internals/promise-resolve":148}],221:[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":78,"../internals/regexp-exec":152}],222:[function(e,t,n){"use strict";var r=e("../internals/function-name").PROPER,i=e("../internals/define-built-in"),o=e("../internals/an-object"),a=e("../internals/to-string"),s=e("../internals/fails"),u=e("../internals/regexp-get-flags"),l="toString",c=RegExp.prototype.toString,f=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=r&&c.name!=l;(f||d)&&i(RegExp.prototype,l,(function(){var e=o(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},{"../internals/an-object":25,"../internals/define-built-in":56,"../internals/fails":79,"../internals/function-name":85,"../internals/regexp-get-flags":154,"../internals/to-string":184}],223:[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/iterator-define"),s=e("../internals/create-iter-result-object"),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",(function(e){l(this,{type:u,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},{"../internals/create-iter-result-object":51,"../internals/internal-state":103,"../internals/iterator-define":118,"../internals/string-multibyte":165,"../internals/to-string":184}],224:[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/is-null-or-undefined"),f=e("../internals/to-integer-or-infinity"),d=e("../internals/to-length"),p=e("../internals/to-string"),h=e("../internals/require-object-coercible"),y=e("../internals/advance-string-index"),m=e("../internals/get-method"),b=e("../internals/get-substitution"),g=e("../internals/regexp-exec-abstract"),v=e("../internals/well-known-symbol")("replace"),w=Math.max,j=Math.min,E=o([].concat),x=o([].push),S=o("".indexOf),_=o("".slice),A="$0"==="a".replace(/./,"$0"),R=!!/./[v]&&""===/./[v]("a","$0");a("replace",(function(e,t,n){var o=R?"$":"$0";return[function(e,n){var r=h(this),o=c(e)?void 0:m(e,v);return o?i(o,e,r,n):i(t,p(r),e,n)},function(e,i){var a=u(this),s=p(e);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var c=n(t,a,s,i);if(c.done)return c.value}var h=l(i);h||(i=p(i));var m=a.global;if(m){var v=a.unicode;a.lastIndex=0}for(var A=[];;){var R=g(a,s);if(null===R)break;if(x(A,R),!m)break;""===p(R[0])&&(a.lastIndex=y(s,d(a.lastIndex),v))}for(var k,O="",T=0,I=0;I<A.length;I++){for(var C=p((R=A[I])[0]),M=w(j(f(R.index),s.length),0),P=[],N=1;N<R.length;N++)x(P,void 0===(k=R[N])?k:String(k));var D=R.groups;if(h){var L=E([C],P,M,s);void 0!==D&&x(L,D);var B=p(r(i,void 0,L))}else B=b(C,s,M,P,D,i);M>=T&&(O+=_(s,T,M)+B,T=M+C.length)}return O+_(s,T)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!A||R)},{"../internals/advance-string-index":23,"../internals/an-object":25,"../internals/fails":79,"../internals/fix-regexp-well-known-symbol-logic":80,"../internals/function-apply":81,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/get-method":91,"../internals/get-substitution":92,"../internals/is-callable":107,"../internals/is-null-or-undefined":111,"../internals/regexp-exec-abstract":151,"../internals/require-object-coercible":158,"../internals/to-integer-or-infinity":176,"../internals/to-length":177,"../internals/to-string":184,"../internals/well-known-symbol":197}],225:[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":87}],226:[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}],227:[function(e,t,n){"use strict";var r=e("../internals/array-buffer-view-core"),i=e("../internals/array-fill"),o=e("../internals/to-big-int"),a=e("../internals/classof"),s=e("../internals/function-call"),u=e("../internals/function-uncurry-this"),l=e("../internals/fails"),c=r.aTypedArray,f=r.exportTypedArrayMethod,d=u("".slice);f("fill",(function(e){var t=arguments.length;c(this);var n="Big"===d(a(this),0,3)?o(e):+e;return s(i,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),l((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},{"../internals/array-buffer-view-core":27,"../internals/array-fill":30,"../internals/classof":48,"../internals/fails":79,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/to-big-int":173}],228:[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":188}],229:[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}],230:[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}],231:[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}],232:[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}],233:[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}],234:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],235:[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":87}],236:[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":81}],237:[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":190}],238:[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}],239:[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}],240:[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}],241:[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":79,"../internals/function-call":84,"../internals/global":93,"../internals/length-of-array-like":121,"../internals/to-object":178,"../internals/to-offset":179}],242:[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":79,"../internals/typed-array-species-constructor":190}],243:[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}],244:[function(e,t,n){"use strict";var r=e("../internals/global"),i=e("../internals/function-uncurry-this-clause"),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=u.aTypedArray,h=u.exportTypedArrayMethod,y=r.Uint16Array,m=y&&i(y.prototype.sort),b=!(!m||o((function(){m(new y(2),null)}))&&o((function(){m(new y(2),{})}))),g=!!m&&!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 y(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),g?m(this,e):s(p(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))}),!g||b)},{"../internals/a-callable":19,"../internals/array-buffer-view-core":27,"../internals/array-sort":42,"../internals/engine-ff-version":66,"../internals/engine-is-ie-or-edge":69,"../internals/engine-v8-version":75,"../internals/engine-webkit-version":76,"../internals/fails":79,"../internals/function-uncurry-this-clause":86,"../internals/global":93}],245:[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":172,"../internals/to-length":177,"../internals/typed-array-species-constructor":190}],246:[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":79,"../internals/function-apply":81,"../internals/global":93}],247:[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":79,"../internals/function-uncurry-this":87,"../internals/global":93}],248:[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":186}],249:[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":64,"../internals/dom-token-list-prototype":65,"../internals/global":93}],250:[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":64,"../internals/dom-token-list-prototype":65,"../internals/global":93,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],251:[function(e,t,n){"use strict";e("../modules/es.array.iterator");var r=e("../internals/export"),i=e("../internals/global"),o=e("../internals/function-call"),a=e("../internals/function-uncurry-this"),s=e("../internals/descriptors"),u=e("../internals/url-constructor-detection"),l=e("../internals/define-built-in"),c=e("../internals/define-built-ins"),f=e("../internals/set-to-string-tag"),d=e("../internals/iterator-create-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",I="URLSearchParamsIterator",C=p.set,M=p.getterFor(T),P=p.getterFor(I),N=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=N(i,e);return t&&t.value},L=D("fetch"),B=D("Request"),U=D("Headers"),F=B&&B.prototype,q=U&&U.prototype,W=i.RegExp,H=i.TypeError,V=i.decodeURIComponent,z=i.encodeURIComponent,G=a("".charAt),$=a([].join),Y=a([].push),J=a("".replace),K=a([].shift),X=a([].splice),Q=a("".split),Z=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=W("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return V(e)}catch(t){return e}},ie=function(e){var t=J(e,ee," "),n=4;try{return V(t)}catch(e){for(;n;)t=J(t,ne(n--),re);return t}},oe=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ue=function(e){return J(z(e),oe,se)},le=d((function(e,t){C(this,{type:I,iterator:S(M(e).entries),kind:t})}),"Iterator",(function(){var e=P(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),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(w(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?Z(e,1):e:j(e)))};ce.prototype={type:T,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,l=_(e);if(l)for(n=(t=S(e,l)).next;!(r=o(n,t)).done;){if(a=(i=S(v(r.value))).next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw H("Expected sequence with length 2");Y(this.entries,{key:j(s.value),value:j(u.value)})}else for(var c in e)m(e,c)&&Y(this.entries,{key:c,value:j(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=Q(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Q(t,"="),Y(this.entries,{key:ie(K(n)),value:ie($(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],Y(n,ue(e.key)+"="+ue(e.value));return $(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){h(this,de);var e=arguments.length>0?arguments[0]:void 0;C(this,new ce(e))},de=fe.prototype;if(c(de,{append:function(e,t){A(arguments.length,2);var n=M(this);Y(n.entries,{key:j(e),value:j(t)}),n.updateURL()},delete:function(e){A(arguments.length,1);for(var t=M(this),n=t.entries,r=j(e),i=0;i<n.length;)n[i].key===r?X(n,i,1):i++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=M(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=M(this).entries,n=j(e),r=[],i=0;i<t.length;i++)t[i].key===n&&Y(r,t[i].value);return r},has:function(e){A(arguments.length,1);for(var t=M(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=M(this),i=r.entries,o=!1,a=j(e),s=j(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?X(i,u--,1):(o=!0,n.value=s));o||Y(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=M(this);k(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(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 le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(de,O,de.entries,{name:"entries"}),l(de,"toString",(function(){return M(this).serialize()}),{enumerable:!0}),f(fe,T),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&y(U)){var pe=a(q.has),he=a(q.set),ye=function(e){if(w(e)){var t,n=e.body;if(g(n)===T)return t=e.headers?new U(e.headers):new U,pe(t,"content-type")||he(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,dontCallGetSet:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?ye(arguments[1]):{})}}),y(B)){var me=function(e){return h(this,F),new B(e,arguments.length>1?ye(arguments[1]):{})};F.constructor=me,me.prototype=F,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}t.exports={URLSearchParams:fe,getState:M}},{"../internals/an-instance":24,"../internals/an-object":25,"../internals/array-sort":42,"../internals/classof":48,"../internals/create-property-descriptor":53,"../internals/define-built-in":56,"../internals/define-built-ins":57,"../internals/descriptors":60,"../internals/export":78,"../internals/function-bind-context":82,"../internals/function-call":84,"../internals/function-uncurry-this":87,"../internals/get-iterator":90,"../internals/get-iterator-method":89,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/is-callable":107,"../internals/is-object":112,"../internals/iterator-create-constructor":117,"../internals/object-create":129,"../internals/set-to-string-tag":160,"../internals/to-string":184,"../internals/url-constructor-detection":192,"../internals/validate-arguments-length":195,"../internals/well-known-symbol":197,"../modules/es.array.iterator":204}],252:[function(e,t,n){e("../modules/web.url-search-params.constructor")},{"../modules/web.url-search-params.constructor":251}],253:[function(e,t,n){"use strict";e("../modules/es.string.iterator");var r,i=e("../internals/export"),o=e("../internals/descriptors"),a=e("../internals/url-constructor-detection"),s=e("../internals/global"),u=e("../internals/function-bind-context"),l=e("../internals/function-uncurry-this"),c=e("../internals/define-built-in"),f=e("../internals/define-built-in-accessor"),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.constructor"),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,I=Math.floor,C=Math.pow,M=l("".charAt),P=l(/./.exec),N=l([].join),D=l(1..toString),L=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",$="Invalid port",Y=/[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=I(e/256);return N(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+=D(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&&P(Y,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&de(W(e,0,2))&&(2==e.length||"/"===(t=M(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={},Ie={},Ce={},Me={},Pe={},Ne={},De=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 De(n,!0)),i=this.parse(a,null,r))throw O(i);(o=R(new A)).bindURL(this),this.searchParams=o}};De.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||!P(Y,o)){if(t)return z;c=be;continue}d+=H(o),c=me;break;case me:if(o&&(P(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=Me)}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=Ne;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=Ce;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=Pe;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=Ce;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=Ne}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=Ce;continue}c=Se}else c=xe;break;case Ee:if(c=xe,"/"!=o||"/"!=M(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=Ie,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(!P(K,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||t){if(""!=d){var x=T(d,10);if(x>65535)return $;l.port=l.isSpecial()&&x===fe[l.scheme]?null:x,d=""}if(t)return;c=Ie;continue}return $}d+=o;break;case ke:if(l.scheme="file","/"==o||"\\"==o)c=Oe;else{if(!n||"file"!=n.scheme){c=Ce;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=Pe;else{if("#"!=o){pe(N(m(i,f),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Ce;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Ne}}break;case Oe:if("/"==o||"\\"==o){c=Te;break}n&&"file"==n.scheme&&!pe(N(m(i,f),""))&&(de(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Ce;continue;case Te:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&de(d))c=Ce;else if(""==d){if(l.host="",t)return;c=Ie}else{if(s=l.parseHost(d))return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=Ie}continue}d+=o;break;case Ie:if(l.isSpecial()){if(c=Ce,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Ce,"/"!=o))continue}else l.fragment="",c=Ne;else l.query="",c=Pe;break;case Ce: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=M(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=Pe):"#"==o&&(l.fragment="",c=Ne)}else d+=ce(o,ue);break;case Me:"?"==o?(l.query="",c=Pe):"#"==o?(l.fragment="",c=Ne):o!=r&&(l.path[0]+=ce(o,ae));break;case Pe:t||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ce(o,ae)):(l.fragment="",c=Ne);break;case Ne:o!=r&&(l.fragment+=ce(o,se))}f++}},parseHost:function(e){var t,n,r;if("["==M(e,0)){if("]"!=M(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 M(e,f)};if(":"==d()){if(":"!=M(e,1))return;f+=2,c=++l}for(;d();){if(8==l)return;if(":"!=d()){for(t=n=0;n<4&&P(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(!P(K,d()))return;for(;P(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),P(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"==M(i,0)&&(o=P(X,i)?16:8,i=W(i,8==o?1:2)),""===i)a=0;else{if(!P(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>=C(256,5-t))return null}else if(a>255)return null;for(s=L(n),r=0;r<n.length;r++)s+=n[r]*C(256,3-r);return s}(e),null===t)return G;this.host=t}else{if(P(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?"/"+N(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 Le(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?"/"+N(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ie))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=v(e))?this.query=null:("?"==M(e,0)&&(e=W(e,1)),this.query="",this.parse(e,Pe)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=v(e))?("#"==M(e,0)&&(e=W(e,1)),this.fragment="",this.parse(e,Ne)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Le=function(e){var t=d(this,Be),n=j(arguments.length,1)>1?arguments[1]:void 0,r=S(t,new De(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=Le.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&&(f(Be,"href",Ue("serialize","setHref")),f(Be,"origin",Ue("getOrigin")),f(Be,"protocol",Ue("getProtocol","setProtocol")),f(Be,"username",Ue("getUsername","setUsername")),f(Be,"password",Ue("getPassword","setPassword")),f(Be,"host",Ue("getHost","setHost")),f(Be,"hostname",Ue("getHostname","setHostname")),f(Be,"port",Ue("getPort","setPort")),f(Be,"pathname",Ue("getPathname","setPathname")),f(Be,"search",Ue("getSearch","setSearch")),f(Be,"searchParams",Ue("getSearchParams")),f(Be,"hash",Ue("getHash","setHash"))),c(Be,"toJSON",(function(){return _(this).serialize()}),{enumerable:!0}),c(Be,"toString",(function(){return _(this).serialize()}),{enumerable:!0}),k){var Fe=k.createObjectURL,qe=k.revokeObjectURL;Fe&&c(Le,"createObjectURL",u(Fe,k)),qe&&c(Le,"revokeObjectURL",u(qe,k))}w(Le,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:Le})},{"../internals/an-instance":24,"../internals/array-from":33,"../internals/array-slice-simple":40,"../internals/define-built-in":56,"../internals/define-built-in-accessor":55,"../internals/descriptors":60,"../internals/export":78,"../internals/function-bind-context":82,"../internals/function-uncurry-this":87,"../internals/global":93,"../internals/has-own-property":94,"../internals/internal-state":103,"../internals/object-assign":128,"../internals/set-to-string-tag":160,"../internals/string-multibyte":165,"../internals/string-punycode-to-ascii":166,"../internals/to-string":184,"../internals/url-constructor-detection":192,"../internals/validate-arguments-length":195,"../modules/es.string.iterator":223,"../modules/web.url-search-params.constructor":251}],254:[function(e,t,n){e("../modules/web.url.constructor")},{"../modules/web.url.constructor":253}],255:[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}],256:[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}}))}()},{}],257:[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},{}],258:[function(e,t,n){"use strict";t.exports=function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}},{}],259:[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:265,global:276,util:338}],260:[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":261,geval:274,"global/document":275}],261:[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}},{}],262:[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})}},{}],263:[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:302,once:299}],264:[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":272}],265:[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):[]}},{}],266:[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)}}},{}],267:[function(e,t,n){
|
|
22
22
|
/**
|
|
23
23
|
* filesize
|
|
24
24
|
*
|
|
@@ -51,5 +51,5 @@ function f(){var e,t,n,r,i,o=window.webkitRequestAnimationFrame,a=window.request
|
|
|
51
51
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
52
52
|
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}],324:[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},{}],325:[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":272,"object-inspect":298}],326:[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}},{}],327:[function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){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=n.call(e)},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}function o(){this._defaults=[]}for(var a=0,s=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];a<s.length;a++){const e=s[a];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){var t,n=r(this._defaults);try{for(n.s();!(t=n.n()).done;){const n=t.value;e[n.fn](...n.args)}}catch(e){n.e(e)}finally{n.f()}},t.exports=o},{}],328:[function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){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=n.call(e)},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}let o;"undefined"!=typeof window?o=window:"undefined"==typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),o=void 0):o=self;const a=e("component-emitter"),s=e("fast-safe-stringify"),u=e("qs"),l=e("./request-base"),c=e("./utils"),f=c.isObject,d=c.mixin,p=c.hasOwn,h=e("./response-base"),y=e("./agent-base");function m(){}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)};const b=n=t.exports;n.Request=S,b.getXHR=()=>{if(o.XMLHttpRequest)return new o.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const g="".trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,"");function v(e){if(!f(e))return e;const t=[];for(const n in e)p(e,n)&&w(t,n,e[n]);return t.join("&")}function w(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n)){var i,o=r(n);try{for(o.s();!(i=o.n()).done;){w(e,t,i.value)}}catch(e){o.e(e)}finally{o.f()}}else if(f(n))for(const r in n)p(n,r)&&w(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function j(e){const t={},n=e.split("&");let r,i;for(let e=0,o=n.length;e<o;++e)r=n[e],i=r.indexOf("="),-1===i?t[decodeURIComponent(r)]="":t[decodeURIComponent(r.slice(0,i))]=decodeURIComponent(r.slice(i+1));return t}function E(e){return/[/+]json($|[^-\w])/i.test(e)}function x(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;let t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.headers=function(e){const t=e.split(/\r?\n/),n={};let r,i,o,a;for(let e=0,s=t.length;e<s;++e)i=t[e],r=i.indexOf(":"),-1!==r&&(o=i.slice(0,r).toLowerCase(),a=g(i.slice(r+1)),n[o]=a);return n}(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 S(e,t){const n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",(()=>{let e,t=null,r=null;try{r=new x(n)}catch(e){return t=new Error("Parser is unable to parse the response"),t.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=e.status||r.status,n.callback(e,r)):n.callback(null,r)}))}b.serializeObject=v,b.parseString=j,b.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"},b.serialize={"application/x-www-form-urlencoded":u.stringify,"application/json":s},b.parse={"application/x-www-form-urlencoded":j,"application/json":JSON.parse},d(x.prototype,h.prototype),x.prototype._parseBody=function(e){let t=b.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&E(this.type)&&(t=b.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},x.prototype.toError=function(){const e=this.req,t=e.method,n=e.url,r=`cannot ${t} ${n} (${this.status})`,i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},b.Response=x,a(S.prototype),d(S.prototype,l.prototype),S.prototype.type=function(e){return this.set("Content-Type",b.types[e]||e),this},S.prototype.accept=function(e){return this.set("Accept",b.types[e]||e),this},S.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"==typeof t&&null!==t&&(n=t,t=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});const r=n.encoder?n.encoder: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,r)},S.prototype.query=function(e){return"string"!=typeof e&&(e=v(e)),e&&this._query.push(e),this},S.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},S.prototype._getFormData=function(){return this._formData||(this._formData=new o.FormData),this._formData},S.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();const n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},S.prototype.crossDomainError=function(){const 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)},S.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},S.prototype.ca=S.prototype.agent,S.prototype.buffer=S.prototype.ca,S.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},S.prototype.pipe=S.prototype.write,S.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},S.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||m,this._finalizeQueryString(),this._end()},S.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},S.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));const e=this;this.xhr=b.getXHR();const t=this.xhr;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener("readystatechange",(()=>{const n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4!==n)return;let r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}));const r=(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)){const e=this._header["content-type"];let t=this._serializer||b.serialize[e?e.split(";")[0]:""];!t&&E(e)&&(t=b.serialize["application/json"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&p(this.header,e)&&t.setRequestHeader(e,this.header[e]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0===n?null:n)},b.agent=()=>new y;for(var _=0,A=["GET","POST","OPTIONS","PATCH","PUT","DELETE"];_<A.length;_++){const e=A[_];y.prototype[e.toLowerCase()]=function(t,n){const r=new b.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}}function R(e,t,n){const r=b("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}y.prototype.del=y.prototype.delete,b.get=(e,t,n)=>{const r=b("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},b.head=(e,t,n)=>{const r=b("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},b.options=(e,t,n)=>{const r=b("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.del=R,b.delete=R,b.patch=(e,t,n)=>{const r=b("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.post=(e,t,n)=>{const r=b("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},b.put=(e,t,n)=>{const r=b("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./agent-base":327,"./request-base":329,"./response-base":330,"./utils":331,"component-emitter":17,"fast-safe-stringify":266,qs:304}],329:[function(e,t,n){(function(n){(function(){"use strict";const r=e("semver"),i=e("./utils"),o=i.isObject,a=i.hasOwn;function s(){}t.exports=s,s.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},s.prototype.parse=function(e){return this._parser=e,this},s.prototype.responseType=function(e){return this._responseType=e,this},s.prototype.serialize=function(e){return this._serializer=e,this},s.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(a(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},s.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};const u=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),l=new Set([408,413,429,500,502,503,504,521,522,524]);s.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{const n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&l.has(t.status))return!0;if(e){if(e.code&&u.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},s.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()},s.prototype.then=function(e,t){if(!this._fullfilledPromise){const e=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(((t,n)=>{e.on("abort",(()=>{if(this._maxRetries&&this._maxRetries>this._retries)return;if(this.timedout&&this.timedoutError)return void n(this.timedoutError);const e=new Error("Aborted");e.code="ABORTED",e.status=this.status,e.method=this.method,e.url=this.url,n(e)})),e.end(((e,r)=>{e?n(e):t(r)}))}))}return this._fullfilledPromise.then(e,t)},s.prototype.catch=function(e){return this.then(void 0,e)},s.prototype.use=function(e){return e(this),this},s.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},s.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},s.prototype.get=function(e){return this._header[e.toLowerCase()]},s.prototype.getHeader=s.prototype.get,s.prototype.set=function(e,t){if(o(e)){for(const t in e)a(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},s.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},s.prototype.field=function(e,t,n){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(o(e)){for(const t in e)a(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(const n in t)a(t,n)&&this.field(e,t[n]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=String(t)),n?this._getFormData().append(e,t,n):this._getFormData().append(e,t),this},s.prototype.abort=function(){if(this._aborted)return this;if(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req){if(r.gte(n.version,"v13.0.0")&&r.lt(n.version,"v14.0.0"))throw new Error("Superagent does not work in v13 properly with abort() due to Node.js core changes");r.gte(n.version,"v14.0.0")&&(this.req.destroyed=!0),this.req.abort()}return this.clearTimeout(),this.emit("abort"),this},s.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization",`Basic ${r(`${e}:${t}`)}`);break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization",`Bearer ${e}`)}return this},s.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},s.prototype.redirects=function(e){return this._maxRedirects=e,this},s.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},s.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},s.prototype.send=function(e){const t=o(e);let 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&&o(this._data))for(const t in e)a(e,t)&&(this._data[t]=e[t]);else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],n&&(n=n.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===n?this._data?`${this._data}&${e}`:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)||n||this.type("json"),this},s.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},s.prototype._finalizeQueryString=function(){const e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){const e=this.url.indexOf("?");if(e>=0){const t=this.url.slice(e+1).split("&");"function"==typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,e)+"?"+t.join("&")}}},s.prototype._appendQueryString=()=>{console.warn("Unsupported")},s.prototype._timeoutError=function(e,t,n){if(this._aborted)return;const r=new Error(`${e+t}ms exceeded`);r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.timedoutError=r,this.abort(),this.callback(r)},s.prototype._setTimeouts=function(){const e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((()=>{e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((()=>{e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}}).call(this)}).call(this,e("_process"))},{"./utils":331,_process:302,semver:9}],330:[function(e,t,n){"use strict";const r=e("./utils");function i(){}t.exports=i,i.prototype.get=function(e){return this.header[e.toLowerCase()]},i.prototype._setHeaderProperties=function(e){const t=e["content-type"]||"";this.type=r.type(t);const n=r.params(t);for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(this[e]=n[e]);this.links={};try{e.link&&(this.links=r.parseLinks(e.link))}catch(e){}},i.prototype._setStatusProperties=function(e){const t=Math.trunc(e/100);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":331}],331:[function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){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=n.call(e)},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=e=>e.split(/ *; */).shift(),n.params=e=>{const t={};var n,i=r(e.split(/ *; */));try{for(i.s();!(n=i.n()).done;){const e=n.value.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}}catch(e){i.e(e)}finally{i.f()}return t},n.parseLinks=e=>{const t={};var n,i=r(e.split(/ *, */));try{for(i.s();!(n=i.n()).done;){const e=n.value.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}}catch(e){i.e(e)}finally{i.f()}return t},n.cleanHeader=(e,t)=>(delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e),n.isObject=e=>null!==e&&"object"==typeof e,n.hasOwn=Object.hasOwn||function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(new Object(e),t)},n.mixin=(e,t)=>{for(const r in t)n.hasOwn(t,r)&&(e[r]=t[r])}},{}],332:[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":302,timers:332}],333:[function(e,t,n){(function(e){(function(){
|
|
53
53
|
/*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
54
|
-
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}],334:[function(e,t,n){!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="Amazon",j="Apple",E="ASUS",x="BlackBerry",S="Firefox",_="Google",A="Huawei",R="LG",k="Microsoft",O="Motorola",T="Opera",I="Samsung",C="Sharp",M="Sony",P="Xiaomi",N="Zebra",D="Facebook",L=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===s&&-1!==U(t).indexOf(U(e))},U=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,350)},q=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}},W=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(B(t[n][i],e))return"?"===n?r:n}else if(B(t[n],e))return"?"===n?r:n;return e},H={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[d,[l,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],d],[/\bfocus\/([\w\.]+)/i],[d,[l,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[d,[l,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[d,[l,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,D],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,U]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",U]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[f,I],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[f,I],[c,y]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[f,j],[c,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[f,j],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[f,A],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[f,A],[c,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[f,P],[c,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[f,P],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[f,"OPPO"],[c,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[f,"Vivo"],[c,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[f,"Realme"],[c,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[f,O],[c,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[f,O],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[f,R],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[f,R],[c,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[f,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[f,"Nokia"],[c,y]],[/(pixel c)\b/i],[u,[f,_],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[f,_],[c,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,M],[c,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[f,M],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[f,"OnePlus"],[c,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[f,w],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[f,w],[c,y]],[/(playbook);[-\w\),; ]+(rim)/i],[u,f,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[f,x],[c,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[f,E],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[f,E],[c,y]],[/(nexus 9)/i],[u,[f,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[u,/_/g," "],[c,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[f,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[f,"Meizu"],[c,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[f,C],[c,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,u,[c,y]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,u,[c,m]],[/(surface duo)/i],[u,[f,k],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[f,"Fairphone"],[c,y]],[/(u304aa)/i],[u,[f,"AT&T"],[c,y]],[/\bsie-(\w*)/i],[u,[f,"Siemens"],[c,y]],[/\b(rct\w+) b/i],[u,[f,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[u,[f,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[u,[f,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[f,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[u,[f,"NuVision"],[c,m]],[/\b(k88) b/i],[u,[f,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[u,[f,"ZTE"],[c,y]],[/\b(gen\d{3}) b.+49h/i],[u,[f,"Swiss"],[c,y]],[/\b(zur\d{3}) b/i],[u,[f,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[u,[f,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],u,[c,m]],[/\b(ns-?\w{0,9}) b/i],[u,[f,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[f,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],u,[c,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],u,[c,y]],[/\b(ph-1) /i],[u,[f,"Essential"],[c,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[f,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[u,[f,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[u,[f,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[u,[f,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[f,u,[c,y]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,k],[c,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[f,N],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[f,N],[c,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,u,[c,h]],[/droid.+; (shield) bui/i],[u,[f,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[u,[f,M],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[f,k],[c,h]],[/smart-tv.+(samsung)/i],[f,[c,b]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,I],[c,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,R],[c,b]],[/(apple) ?tv/i],[f,[u,"Apple TV"],[c,b]],[/crkey/i],[[u,"Chromecast"],[f,_],[c,b]],[/droid.+aft(\w)( bui|\))/i],[u,[f,w],[c,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[f,C],[c,b]],[/(bravia[\w ]+)( bui|\))/i],[u,[f,M],[c,b]],[/(mitv-\w{5}) bui/i],[u,[f,P],[c,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[f,F],[u,F],[c,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,b]],[/((pebble))app/i],[f,u,[c,g]],[/droid.+; (glass) \d/i],[u,[f,_],[c,g]],[/droid.+; (wt63?0{2,3})\)/i],[u,[f,N],[c,g]],[/(quest( 2)?)/i],[u,[f,D],[c,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[c,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,y]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[f,"Generic"]]],engine:[[/windows.+ edge\/([\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)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[d,W,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[d,W,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,d],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,d]]},z=function(t,n){if(typeof t===a&&(n=t,t=r),!(this instanceof z))return new z(t,n).getResult();var i=t||(typeof e!==o&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),u=n?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}(V,n):V;return this.getBrowser=function(){var e,t={};return t.name=r,t.version=r,q.call(t,i,u.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,t},this.getCPU=function(){var e={};return e.architecture=r,q.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,q.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,q.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,q.call(e,i,u.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>350?F(e,350):e,this},this.setUA(i),this};z.VERSION="0.7.32",z.BROWSER=L([l,d,"major"]),z.CPU=L([p]),z.DEVICE=L([u,f,c,h,y,b,m,g,v]),z.ENGINE=z.OS=L([l,d]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=z),n.UAParser=z):typeof e!==o&&(e.UAParser=z);var G=typeof e!==o&&(e.jQuery||e.Zepto);if(G&&!G.ua){var $=new z;G.ua=$.getResult(),G.ua.get=function(){return $.getUA()},G.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],335:[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:{})},{}],336:[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}},{}],337:[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 I(e){return u&&m(e,h)}function C(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=I,n.isSymbolObject=C,n.isBoxedPrimitive=function(e){return k(e)||O(e)||T(e)||I(e)||C(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":290,"is-generator-function":292,"is-typed-array":294,"which-typed-array":343}],338:[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 I(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(I.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":336,"./support/types":337,_process:302,inherits:286}],339:[function(e,t,n){"use strict";var r=Object.prototype.toString;t.exports=function(e){return"[object Float32Array]"===r.call(e)}},{}],340:[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:302,buffer:11,"end-of-stream":263,inherits:286,"readable-stream":319,"stream-shift":326}],341:[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:302,duplexify:340,"readable-stream":319,"safe-buffer":323,ws:342}],342:[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},{}],343:[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":264,foreach:268,"has-tostringtag/shams":279,"is-typed-array":294}],344:[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}}},{}],345:[function(e,t,n){t.exports={name:"videomail-client",version:"5.2.2",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.20.1","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.26.0","create-error":"0.3.1",deepmerge:"4.2.2",defined:"1.0.1",despot:"1.1.3","document-visibility":"1.0.1","element-closest":"3.0.2",filesize:"10.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.27.3",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:"8.0.3","ua-parser-js":"0.7.32","websocket-stream":"5.5.2"},devDependencies:{"@babel/core":"7.20.2","@babel/eslint-parser":"7.19.1","@babel/plugin-transform-runtime":"7.19.6","@babel/preset-env":"7.20.2","audit-ci":"6.3.0",autoprefixer:"10.4.13",babelify:"10.0.0","body-parser":"1.20.1",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"5.1.14",del:"6.1.1",eslint:"8.27.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","fancy-log":"2.0.0",glob:"8.0.3",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.8","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.7",nib:"1.2.0",postcss:"8.4.19",prettier:"2.7.1",router:"1.3.7",tape:"5.6.1","tape-catch":"1.0.6","tape-run":"10.0.0","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"}}},{}],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=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":347,"./events":348,"./options":349,"./resource":350,"./util/browser":352,"./util/collectLogger":353,"./util/eventEmitter":354,"./wrappers/container":361,"./wrappers/optionsWrapper":364,"./wrappers/visuals/replay":374,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/web.dom-collections.for-each.js":249,deepmerge:257,readystate:320,util:338}],347:[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":208}],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=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,STOPPED: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":208,keymirror:296}],349:[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",ccInputName:"cc",bccInputName:"bcc",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":345,_process:302,"core-js/modules/es.object.define-property.js":208}],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=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 s(n,s,u,l){l||(l=u,u=null);var c={},f=e.baseUrl+"/videomail/";u&&(f+=u);var d=(0,i.default)(n,f);c[o.default.SITE_NAME_LABEL]=e.siteName,d.query(c).set("Timezone-Id",a).send(s).timeout(e.timeout).end((function(n,i){if(n=r(n,i))l(n);else{var o=i.body&&i.body.videomail?i.body.videomail:null;e.cache&&s.alias&&(t[s.alias]=o),l(null,o,i.body)}}))}this.get=function(n,s){e.cache&&t[n]?setTimeout((function(){s(null,t[n])}),0):function(n,s){i.default.get("/videomail/"+n+"/snapshot").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(n,i){if(n=r(n,i))s(n);else{var o=i.body?i.body:null;e.cache&&(t.alias=o),s(null,o)}}))}(n,s)},this.reportError=function(t,n){var a={},s=e.baseUrl+"/client-error/",u=(0,i.default)("post",s);a[o.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,"cc"),t=n(t,"bcc"),t=n(t,"subject"),t=n(t,"body")),t}(t))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(t,(function(e,t){e?r(e):s("post",t,r)})):s("post",t,r)},this.put=function(e,t){s("put",e,e.key,t)},this.form=function(t,n,s){var u;switch(e.enctype){case o.default.public.ENC_TYPE_APP_JSON:u="json";break;case o.default.public.ENC_TYPE_FORM:u="form";break;default:setTimeout((function(){s(new Error("Invalid enctype given: "+e.enctype))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?s(e):s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":347,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,superagent:328}],351:[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":352,"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"audio-sample":6,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"is-power-of-two":293}],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;var i=r(e("@babel/runtime/helpers/typeof"));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="webm",l=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",l="http://www.google.com/chrome/",c=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),f=new a.default(c).getResult(),d="iOS"===f.os.name,p=parseFloat(f.browser.version),h="Chrome"===f.browser.name,y="Chromium"===f.browser.name,m="Firefox"===f.browser.name,b=parseFloat(f.os.version),g="Windows"===f.os.name,v="Edge"===f.browser.name||g&&b>=10,w=/IE/.test(f.browser.name),j=/Safari/.test(f.browser.name),E=/Opera/.test(f.browser.name),x=/Android/.test(f.os.name),S=h||y,_="Facebook"===f.browser.name,A=d||x,R=j&&p>=11,k=d&&b>=11,O=d&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,I=S||m||x||E||v||R||k,C=this;function M(){var e;return(e=O?"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.":function(){var e;return m?e=d?"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.':h?e=d?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to <a href="'+l+'" target="_blank">upgrade Chrome</a> to fix this.':y?e='Probably you need to <a href="http://www.chromium.org/getting-involved/download-chromium" target="_blank">upgrade Chromium</a> to fix this.':w?e='Instead of Internet Explorer you need to upgrade to <a href="'+r+'" target="_blank">Edge</a>.':R?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":j&&(e='Safari below version 11 has no webcam support.<br/>Better upgrade Safari or pick <a href="'+l+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or Android.'),e}())||(e=C.isChromeBased()||C.isFirefox()||j?"For the webcam feature, your browser needs an upgrade.":_?'Hence we recommend you to use a real browser like <a href="'+l+'" 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="'+l+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a>, <a href="'+r+'" target="_blank">Edge</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;if(T){if(!I||!this.canRecord()){var n,r=[];O?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=I?A?_?"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":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",O&&(e.reportErrors=!1),t=s.default.create({message:n},M(),e,{classList:r})}}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.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){return!t&&e&&(P(e,"webm")?t="webm":P(e,"mp4")&&(t="mp4")),"webm"!==t&&"mp4"!==t&&(t=u),t&&""!==t||(t=u),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 S},this.isFirefox=function(){return m},this.isEdge=function(){return v},this.isAndroid=function(){return x},this.isMobile=function(){return"mobile"===f.device.type},this.isOkSafari=function(){return R},this.isIOS=function(){return d},this.getUsefulData=function(){return{browser:f.browser,device:f.device,os:f.os,engine:f.engine,userAgent:c}}};n.default=l},{"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array-buffer.constructor.js":199,"core-js/modules/es.array-buffer.slice.js":200,"core-js/modules/es.array.iterator.js":204,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.parse-float.js":212,"core-js/modules/es.regexp.exec.js":221,"core-js/modules/es.typed-array.copy-within.js":225,"core-js/modules/es.typed-array.every.js":226,"core-js/modules/es.typed-array.fill.js":227,"core-js/modules/es.typed-array.filter.js":228,"core-js/modules/es.typed-array.find-index.js":229,"core-js/modules/es.typed-array.find.js":230,"core-js/modules/es.typed-array.for-each.js":231,"core-js/modules/es.typed-array.includes.js":232,"core-js/modules/es.typed-array.index-of.js":233,"core-js/modules/es.typed-array.iterator.js":234,"core-js/modules/es.typed-array.join.js":235,"core-js/modules/es.typed-array.last-index-of.js":236,"core-js/modules/es.typed-array.map.js":237,"core-js/modules/es.typed-array.reduce-right.js":238,"core-js/modules/es.typed-array.reduce.js":239,"core-js/modules/es.typed-array.reverse.js":240,"core-js/modules/es.typed-array.set.js":241,"core-js/modules/es.typed-array.slice.js":242,"core-js/modules/es.typed-array.some.js":243,"core-js/modules/es.typed-array.sort.js":244,"core-js/modules/es.typed-array.subarray.js":245,"core-js/modules/es.typed-array.to-locale-string.js":246,"core-js/modules/es.typed-array.to-string.js":247,"core-js/modules/es.typed-array.uint8-array.js":248,defined:258,"ua-parser-js":334}],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(){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":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":206,"core-js/modules/es.object.define-property.js":208,util:338}],354:[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":348,"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":206,"core-js/modules/es.object.define-property.js":208,despot:259}],355:[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=e("filesize"),o=r(e("humanize-duration")),a={filesize:function(e,t){return(0,i.filesize)(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":208,filesize:267,"humanize-duration":282}],356:[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":208}],357:[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":202,"core-js/modules/es.array.index-of.js":203,"core-js/modules/es.array.join.js":205,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.get-own-property-names.js":209,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/web.dom-collections.for-each.js":249,"safe-json-stringify":324}],358:[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":208,"request-frame":322}],359:[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.index-of.js");var i=r(e("@babel/runtime/helpers/typeof")),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":350,"./browser":352,"./pretty":357,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.index-of.js":203,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"create-error":256,util:338}],360:[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");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 I(){e.submit()}function C(t){E(r),e.record(t)}function M(){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,I)),r=R(t.selectors.recordButtonClass,t.text.buttons.record,C,!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&&M(),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":348,"./../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,contains:18,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,util:338}],361:[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");var i=r(e("document-visibility")),o=r(e("element-closest")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("util")),l=r(e("../../styles/css/main.min.css.js")),c=r(e("../events")),f=r(e("../resource")),d=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),h=r(e("./buttons")),y=r(e("./dimension")),m=r(e("./form")),b=r(e("./optionsWrapper")),g=r(e("./visuals"));(0,o.default)(window);var v=function(e){d.default.call(this,e,"Container");var t,n,r,o=this,u=(0,i.default)(),v=new g.default(this,e),w=new h.default(this,e),j=new f.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){o.unload(e)})),e.playerOnly||u.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&o.isCountingDown()&&o.resume(),o.emit(c.default.VISIBLE)):(e.isAutoPauseEnabled()&&(o.isCountingDown()||o.isRecording())&&o.pause("document invisible"),o.emit(c.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())}))),o.on(c.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||o.on(c.default.LOADED_META_DATA,(function(){O()}))}function O(){var n=v.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width=n+"px"}function T(e){v.unload(e),w.unload(),o.endWaiting()}function I(e){return e.replace(/(^[,\s]+)|([,\s]+$)/g,"")}function C(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 M(e,t,n,r,i){o.endWaiting(),e?o.emit(c.default.ERROR,e):(_=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),o.emit(c.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}function P(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){o.emit(c.default.ERROR,e)}},this.limitWidth=function(n){return y.default.limitWidth(t,n,e)},this.limitHeight=function(t){return y.default.limitHeight(t,e)},this.calculateWidth=function(t){return y.default.calculateWidth(b.default.merge(e,t,!0))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,b.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,s.default)(l.default,{prepend:!0}),!n&&k(),function(){if(e.hasDefinedWidth()&&e.video.width%2!=0)throw p.default.create("Width must be divisible by two.",e);if(e.hasDefinedHeight()&&e.video.height%2!=0)throw p.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 m.default(o,t,e)).findSubmitButton();n&&w.setSubmitButton(n),r.build()}}(),x("Container: buildChildren()"),t.classList?(t.classList.add("videomail"),e.playerOnly||w.build(),v.build()):o.emit(c.default.ERROR,p.default.create("Sorry, your browser is too old!",e)),S?x("Container: building failed due to an error."):(x("Container: built."),n=!0,o.emit(c.default.BUILT)))}catch(e){if(!v.isNotifierBuilt())throw e;o.emit(c.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){o.emit(c.default.ERROR,e)}},this.show=function(){if(t&&((0,a.default)(t,!1),v.show(),!S)){var e=o.isPaused();e&&w.adjustButtonsForPause(),w.show(),o.isReplayShown()?o.emit(c.default.PREVIEW):o.emit(c.default.FORM_READY,{paused:e})}},this.hide=function(){x("Container: hide()"),S=!1,this.isRecording()&&this.pause(),v.hide(),_&&(w.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{o.emit(c.default.STARTING_OVER),_=!1,r.show(),v.back(e,(function(){e&&e.keepHidden?o.enableForm():o.show(e)}))}catch(e){o.emit(c.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:o.isNotifying()?i=!1:v.isConnected()?i=v.isUserMediaLoaded()||v.isReplayShown():v.isConnecting()&&(i=!1):(i=!1,A=!0),i){this.emit(c.default.VALIDATING);var a,s=v.validate()&&w.isRecordAgainButtonEnabled();if(r)if(n=r.validate())this.areVisualsHidden()||s||((_||this.isReady()||this.isRecording()||this.isPaused()||this.isCountingDown())&&(n=!1),n||(a="Video is not recorded"));else{var u=r.getInvalidElement();a=u?"Form input named "+u.name+' is invalid. It has the value: "'+u.value+'"':"Form input(s() are invalid"}else n=s;n?this.emit(c.default.VALID):this.emit(c.default.INVALID,a),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=P(n);function a(){o.beginWaiting(),o.disableForm(!0),o.emit(c.default.SUBMITTING)}!!t[e.selectors.keyInputName]?(a(),function(t,n,r){var i={subject:e.selectors.subjectInputName,from:e.selectors.fromInputName,to:e.selectors.toInputName,cc:e.selectors.ccInputName,bcc:e.selectors.bccInputName,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=I(o.from)),o.to&&(o.to=I(o.to)),o.cc&&(o.cc=I(o.cc)),o.bcc&&(o.bcc=I(o.bcc)),P(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?M(e,0,n,o):i?C(t,o,r,(function(e,t){M(e,0,n,o,t)})):M(null,0,n,o)}))):e.enableAutoSubmission&&(a(),C(t,null,r,(function(e,t){M(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(c.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),this.emit(c.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)};u.default.inherits(v,d.default);var w=v;n.default=w},{"../../styles/css/main.min.css.js":376,"../events":348,"../resource":350,"../util/eventEmitter":354,"../util/videomailError":359,"./buttons":360,"./dimension":362,"./form":363,"./optionsWrapper":364,"./visuals":365,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.exec.js":221,"core-js/modules/es.string.replace.js":224,"core-js/modules/web.dom-collections.for-each.js":249,"document-visibility":260,"element-closest":262,hidden:281,"insert-css":287,util:338}],362:[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":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.parse-int.js":213,"number-is-integer":297}],363:[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("get-form-data")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("util")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=r(e("../util/videomailError")),f=function(e,t,n){l.default.call(this,n,"Form");var r,s=this;function f(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 d(){return t.querySelectorAll("input, textarea")}function p(){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){f(!0,e)},this.enable=function(e){f(!1,e)},this.build=function(){if(n.enableAutoValidation){for(var i,l=d(),f=0,h=l.length;f<h;f++)"radio"===(i=l[f]).type?i.addEventListener("change",(function(){e.validate()})):i.addEventListener("input",(function(){setTimeout((function(){e.validate()}),0)}));for(var y=p(),m=0,b=y.length;m<b;m++)y[m].addEventListener("change",(function(){e.validate()}))}(r=t.querySelector('input[name="'+n.selectors.keyInputName+'"]'))||(r=(0,a.default)("input",{name:n.selectors.keyInputName,type:"hidden"}),t.appendChild(r)),this.on(u.default.PREVIEW,(function(e){e||r.value?e&&(r.value=e):s.emit(u.default.ERROR,c.default.create("Videomail key for preview is missing!",n))})),this.on(u.default.GOING_BACK,(function(){r.value=null})),this.on(u.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,o.default)(t.elements[n],!0);(0,o.default)(t,!0)}():e.hideButtons&&e.hideButtons()&&n.adjustFormOnBrowserError&&(r=s.findSubmitButton(),(0,o.default)(r,!0))})),this.on(u.default.BUILT,(function(){e.getSubmitButton().addEventListener("click",s.doTheSubmit.bind(s))}))},this.doTheSubmit=function(n){return n&&n.preventDefault(),e.hasElement()&&e.submitAll((0,i.default)(t,{includeDisabled:!0}),t.getAttribute("method"),t.getAttribute("action")),!1},this.getInvalidElement=function(){for(var e=d(),t=0,n=e.length;t<n;t++)if(!e[t].validity.valid)return e[t];for(var r=p(),i=0,o=r.length;i<o;i++)if(!r[i].validity.valid)return r[i];return null},this.validate=function(){return t.checkValidity()},this.findSubmitButton=function(){return t.querySelector("[type='submit']")},this.hide=function(){t&&(0,o.default)(t,!0)},this.show=function(){t&&(0,o.default)(t,!1)}};s.default.inherits(f,l.default);var d=f;n.default=d},{"../events":348,"../util/eventEmitter":354,"../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,"get-form-data":271,hidden:281,hyperscript:283,util:338}],364:[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":208,deepmerge:257}],365:[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("hidden")),o=r(e("hyperscript")),a=r(e("util")),s=r(e("../events")),u=r(e("../util/eventEmitter")),l=r(e("./visuals/inside/recorderInsides")),c=r(e("./visuals/notifier")),f=r(e("./visuals/recorder")),d=r(e("./visuals/replay")),p=function(e,t){u.default.call(this,t,"Visuals");var n,r,a=this,p=new d.default(this,t),h=new f.default(this,p,t),y=new l.default(this,t),m=new c.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()"),a.on(s.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(s.default.PREVIEW,(function(){a.endWaiting()})).on(s.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(s.default.PREVIEW_SHOWN,(function(){e.validate(!0)})).on(s.default.LOADED_META_DATA,(function(){w()})).on(s.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&(n.style.width="auto",n.style.height="auto")})))}function w(){n.style.width=a.getRecorderWidth(!0)+"px",n.style.height=a.getRecorderHeight(!0)+"px"}function j(){return!a.isNotifying()&&!p.isShown()&&!a.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 i=e.querySelector("."+t.selectors.buttonsClass);i&&!e.isOutsideElementOf(i)?e.insertBefore(n,i):e.appendChild(n)}n.classList.add("visuals"),w(),!r&&v(),g(),a.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&&e.keepHidden?(h.hide(),t&&t()):h.back(t)},this.recordAgain=function(){this.back((function(){a.once(s.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{h.unload(e),y.unload(e),p.unload(e),r=!1}catch(e){this.emit(s.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(s.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,i.default)(n,!0),this.emit(s.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){n&&(0,i.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)};a.default.inherits(p,u.default);var h=p;n.default=h},{"../events":348,"../util/eventEmitter":354,"./visuals/inside/recorderInsides":371,"./visuals/notifier":372,"./visuals/recorder":373,"./visuals/replay":374,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283,util:338}],366:[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":208,hidden:281,hyperscript:283}],367:[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":348,"./../../../../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283}],368:[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":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283}],369:[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":208,hidden:281,hyperscript:283}],370:[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":208,"core-js/modules/es.parse-int.js":213,hidden:281,hyperscript:283}],371:[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":348,"./../../../util/browser":352,"./../../../util/eventEmitter":354,"./recorder/countdown":366,"./recorder/facingMode":367,"./recorder/pausedNote":368,"./recorder/recordNote":369,"./recorder/recordTimer":370,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,util:338}],372:[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?"☹ ":"")+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":348,"./../../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,util:338}],373:[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.array.concat.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,I,C,M,P,N,D,L,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(L)if(L.destroyed)oe(),Y.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{L.write(e,(function(){n&&n(t)}))}catch(e){Y.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;M=F=N=P=!1,C=!0,t||(K=Pe()),se(),Y.emit(p.default.USER_MEDIA_READY,{switchingFacingMode:e.switchingFacingMode,paused:Y.isPaused()})}catch(e){Y.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()),Y.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),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(p.default.PREVIEW,W,t,r),H=Date.now()-D,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),Y.emit(p.default.CONNECTING);var t=j.socketUrl+"?"+encodeURIComponent(d.default.SITE_NAME_LABEL)+"="+encodeURIComponent(j.siteName);try{L=(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}),Y.emit(p.default.ERROR,n)}L&&(L.on("close",(function(e){J(w+"Stream has closed"),B=U=!1,e?Y.emit(p.default.ERROR,e||"Unhandled websocket error"):(Y.emit(p.default.DISCONNECTED),ke())})),L.on("connect",(function(){J(w+"Stream *connect* event emitted"),U||(U=!0,B=N=!1,Y.emit(p.default.CONNECTED),J("Going to ask for webcam permissons now ..."),e&&e())})),L.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),Y.emit(p.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was "+e.toString()+". ",j))}finally{xe.call(Y,t)}})),L.on("error",(function(e){var t;J(w+"Stream *error* event emitted",e),B=U=!1,t=c.isIOS()?g.default.create("Sorry, connection has timed out","iPhones cannot maintain a websocket longer than three minutes.",j):g.default.create("Data exchange interrupted","Please check your network connection and reload.",j),Y.emit(p.default.ERROR,t)})),L.on("drain",(function(){J(w+"Stream *drain* event emitted (should not happen!)")})),L.on("preend",(function(){J(w+"Stream *preend* event emitted")})),L.on("end",(function(){J(w+"Stream *end* event emitted")})),L.on("drain",(function(){J(w+"Stream *drain* event emitted")})),L.on("pipe",(function(){J(w+"Stream *pipe* event emitted")})),L.on("unpipe",(function(){J(w+"Stream *unpipe* event emitted")})),L.on("resume",(function(){J(w+"Stream *resume* event emitted")})),L.on("uncork",(function(){J(w+"Stream *uncork* event emitted")})),L.on("readable",(function(){J(w+"Stream *preend* event emitted")})),L.on("prefinish",(function(){J(w+"Stream *preend* event emitted")})),L.on("finish",(function(){J(w+"Stream *preend* event emitted")})))}}function ge(){return U&&(Se()||!_e()||F)}function ve(e,t,n){M=!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=Y.listeners(p.default.ERROR);if(r&&r.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(p.default.ERROR,g.default.create(e,j)):J("Recorder: ignore user media error",e),A=setTimeout(be,j.timeouts.userMedia);else{if(!N)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(Y),(function(e){Y.emit(p.default.ERROR,e)}),t)}catch(e){Y.emit(p.default.ERROR,e)}}function je(e){if(!navigator)throw new Error("Navigator is missing!");if(J("Recorder: loadGenuineUserMedia()"),Y.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:Y.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(C)return J("Recorder: skipping loadUserMedia() because it is already loaded"),ue(),!1;if(M)return J("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;J("Recorder: loadUserMedia()"),Y.emit(p.default.LOADING_USER_MEDIA);try{_=setTimeout((function(){Y.isReady()||Y.emit(p.default.ERROR,c.getNoAccessIssue())}),j.timeouts.userMedia),M=!0,je()}catch(e){if(J("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(p.default.ERROR).length)throw J("Recorder: no error listeners attached but throwing exception",e),e;Y.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){Y.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(L){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(),P?B=U=!1:L&&(L.end(),L=void 0))}function ke(){K&&K.dispose()}function Oe(){return K.getElapsedTime()}function Te(){return Oe()/Q}function Ie(){return Q/Oe()*1e3}function Ce(){J("Recorder: reInitialiseAudio()"),ce(),S&&S.stop(),C=W=T=I=null,Ee()}function Me(e){1===(e&&e.frameNumber)&&Y.emit(p.default.FIRST_FRAME_SENT)}function Pe(){var e=(0,i.default)({fps:j.video.fps},Ne);return E=e.getRequestAnimationFrameObject(),e}function Ne(n,r){try{if(!Y.isPaused()&&L&&I){if(0===Q&&Y.emit(p.default.SENDING_FIRST_FRAME),Q++,I.drawImage(S.getRawVisuals(),0,0,T.width,T.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",j);R+=G;var i=t.from((0,l.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Me}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(p.default.ERROR,e)}}function De(e){if(K){var t=Y.isRecording();K.stop(),K.setRequestAnimationFrameObject(e),t&&K.start()}}function Le(){J("Recorder: restoreAnimationFrameObject()"),De(E)}function Be(){J("Recorder: loopWithTimeouts()");var e,t=1e3/j.video.fps,n=0;De({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=Y.getRecorderWidth(!0)),j.hasDefinedHeight()&&(x.height=Y.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()"),Y.on(p.default.SUBMITTING,(function(){P=!0})).on(p.default.SUBMITTED,(function(){P=!1,Y.unload()})).on(p.default.BLOCKING,(function(){F=!0,ce()})).on(p.default.HIDE,(function(){Y.hide()})).on(p.default.LOADED_META_DATA,(function(){Fe()})).on(p.default.DISABLING_AUDIO,(function(){Ce()})).on(p.default.ENABLING_AUDIO,(function(){Ce()})).on(p.default.INVISIBLE,(function(){Be()})).on(p.default.VISIBLE,(function(){Le()})).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(){D=Date.now(),ee={avgFps:Ie(),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,(function(){r.emit(p.default.STOPPED,{recordingStats: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;N||(e&&(t=e.name||e.statusText||e.toString()),J("Recorder: unload()"+(t?", cause: "+t:"")),this.reset(),ce(),Re(),N=!0,q=!1)},this.reset=function(){N||(J("Recorder: reset()"),this.emit(p.default.RESETTING),ke(),S&&S.stop(),n.reset(),C=W=T=I=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() at frame ".concat(Q),e),S.pause(),K.stop(),this.emit(p.default.PAUSED),ie()},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){J("Recorder: resume() with frame ".concat(Q)),oe(),this.emit(p.default.RESUMING),S.resume(),K.start()},this.record=function(){if(N)return!1;if(!U)return J("Recorder: reconnecting before recording ..."),be((function(){Y.once(p.default.USER_MEDIA_READY,Y.record)})),!1;try{T=S.createCanvas()}catch(e){return Y.emit(p.default.ERROR,g.default.create(e,j)),!1}return I=T.getContext("2d"),T.width?T.height?(R=0,z=new o.default(T,j),J("Recorder: record()"),S.record(),Y.emit(p.default.RECORDING,Q),K.on("update",(function(e,t){var n=Q/t*1e3;J("Recorder: avgFps =",Math.round(n))})),void K.start()):(Y.emit(p.default.ERROR,g.default.create("Canvas has an invalid height.",j)),!1):(Y.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()&&L&&!L.destroyed},this.hide=function(){_e()||(x&&(0,s.default)(x,!0),ce(),le())},this.isUnloaded=function(){return N},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 C}};c.default.inherits(j,y.default);var E=j;n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":347,"../../events":348,"../../util/browser":352,"../../util/eventEmitter":354,"../../util/humanize":355,"../../util/pretty":357,"../../util/videomailError":359,"./userMedia":375,"@babel/runtime/helpers/interopRequireDefault":1,animitter:4,buffer:11,"canvas-to-buffer":14,"core-js/modules/es.array.concat.js":201,"core-js/modules/es.number.to-fixed.js":207,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,deepmerge:257,hidden:281,hyperscript:283,"safe-json-stringify":324,util:338,"websocket-stream":341}],374:[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"),e("core-js/modules/es.promise.js");var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("iphone-inline-video")),u=r(e("util")),l=r(e("../../events")),c=r(e("../../util/browser")),f=r(e("../../util/eventEmitter")),d=r(e("../../util/videomailError")),p=function(e,t){f.default.call(this,t,"Replay");var n,r,u,p=this,h=new c.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,a.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){(u=t)&&(u.webm&&this.setWebMSource(u.webm),u.mp4&&this.setMp4Source(u.mp4),u.poster&&r.setAttribute("poster",u.poster),function(t){var n;Object.keys(t).forEach((function(r){(n=e.querySelector("."+r))&&(n.innerHTML=t[r])}))}(u));var n=u&&u.recordingStats&&u.recordingStats.sampleRate>0;this.show(u&&u.width,u&&u.height,n)},this.show=function(n,i,a){u&&function(t){var n,i;u&&u.playerWidth?n=u.playerWidth:e.calculateWidth&&(n=e.calculateWidth(t)),u&&u.playerHeight?i=u.playerHeight:e.calculateHeight&&(i=e.calculateHeight(t)),r.style.width=n>0?n+"px":"auto",r.style.height=i>0?i+"px":"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),s.default&&(0,s.default)(r,{iPad:!0}),r.load(),u?p.emit(l.default.REPLAY_SHOWN):p.emit(l.default.PREVIEW_SHOWN)},this.build=function(){y("Replay: build()"),(r=e.querySelector("video."+t.selectors.replayClass))||function(){if(y("Replay: buildElement()"),!(r=(0,a.default)("video."+t.selectors.replayClass)).setAttribute)throw d.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(l.default.PREVIEW,(function(e,t,n){p.show(t,n)})),(0,i.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,o.default)(e,!0):r&&(0,o.default)(r,!0)},this.isShown=function(){return r&&!(0,o.default)(r)},this.getParentElement=function(){return e}};u.default.inherits(p,f.default);var h=p;n.default=h},{"../../events":348,"../../util/browser":352,"../../util/eventEmitter":354,"../../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"add-eventlistener-with-options":3,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.promise.js":217,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,"iphone-inline-video":289,util:338}],375:[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 I=x(e);if(I){if(!I.enabled)throw l.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var C;I.label&&I.label.length>0&&(C=I.label),C+=" with enabled="+I.enabled,C+=", muted="+I.muted,C+=", remote="+I.remote,C+=", readyState="+I.readyState,C+=", error="+I.error,t.debug("UserMedia: "+I.kind+" detected.",C||"")}else t.debug("UserMedia: detected (but no video tracks exist");var M=!0;M&&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":348,"./../../util/audioRecorder":351,"./../../util/browser":352,"./../../util/eventEmitter":354,"./../../util/mediaEvents":356,"./../../util/pretty":357,"./../../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.array.iterator.js":204,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.promise.js":217,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/es.string.iterator.js":223,"core-js/modules/web.dom-collections.for-each.js":249,"core-js/modules/web.dom-collections.iterator.js":250,"core-js/modules/web.url-search-params.js":252,"core-js/modules/web.url.js":254,hyperscript:283,"safe-json-stringify":324}],376:[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":346,"./util/standardize":358,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208}]},{},["videomail-client"])("videomail-client")}));
|
|
54
|
+
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}],334:[function(e,t,n){!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="Amazon",j="Apple",E="ASUS",x="BlackBerry",S="Firefox",_="Google",A="Huawei",R="LG",k="Microsoft",O="Motorola",T="Opera",I="Samsung",C="Sharp",M="Sony",P="Xiaomi",N="Zebra",D="Facebook",L=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},B=function(e,t){return typeof e===s&&-1!==U(t).indexOf(U(e))},U=function(e){return e.toLowerCase()},F=function(e,t){if(typeof e===s)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t===o?e:e.substring(0,350)},q=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}},W=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(B(t[n][i],e))return"?"===n?r:n}else if(B(t[n],e))return"?"===n?r:n;return e},H={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"},V={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[d,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[d,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,d],[/opios[\/ ]+([\w\.]+)/i],[d,[l,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[d,[l,T]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,d],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[d,[l,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[d,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[d,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[d,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[d,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[d,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],d],[/\bfocus\/([\w\.]+)/i],[d,[l,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[d,[l,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[d,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[d,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[d,[l,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[d,[l,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[d,[l,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],d],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],d],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,d],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,D],d],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,d],[/\bgsa\/([\w\.]+) .*safari\//i],[d,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[d,[l,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],d],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[d,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,d],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[d,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[d,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[d,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,d],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],d],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[d,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[l,d]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,U]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",U]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,U]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[u,[f,I],[c,m]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[u,[f,I],[c,y]],[/\((ip(?:hone|od)[\w ]*);/i],[u,[f,j],[c,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[u,[f,j],[c,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[u,[f,A],[c,m]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[u,[f,A],[c,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[u,/_/g," "],[f,P],[c,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[u,/_/g," "],[f,P],[c,m]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[u,[f,"OPPO"],[c,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[u,[f,"Vivo"],[c,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[u,[f,"Realme"],[c,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[u,[f,O],[c,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[u,[f,O],[c,m]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[u,[f,R],[c,m]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[u,[f,R],[c,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[u,[f,"Lenovo"],[c,m]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[u,/_/g," "],[f,"Nokia"],[c,y]],[/(pixel c)\b/i],[u,[f,_],[c,m]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[u,[f,_],[c,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[u,[f,M],[c,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[u,"Xperia Tablet"],[f,M],[c,m]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[u,[f,"OnePlus"],[c,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[u,[f,w],[c,m]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[u,/(.+)/g,"Fire Phone $1"],[f,w],[c,y]],[/(playbook);[-\w\),; ]+(rim)/i],[u,f,[c,m]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[u,[f,x],[c,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[u,[f,E],[c,m]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[u,[f,E],[c,y]],[/(nexus 9)/i],[u,[f,"HTC"],[c,m]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[f,[u,/_/g," "],[c,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[u,[f,"Acer"],[c,m]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[u,[f,"Meizu"],[c,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[u,[f,C],[c,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[f,u,[c,y]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[f,u,[c,m]],[/(surface duo)/i],[u,[f,k],[c,m]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[u,[f,"Fairphone"],[c,y]],[/(u304aa)/i],[u,[f,"AT&T"],[c,y]],[/\bsie-(\w*)/i],[u,[f,"Siemens"],[c,y]],[/\b(rct\w+) b/i],[u,[f,"RCA"],[c,m]],[/\b(venue[\d ]{2,7}) b/i],[u,[f,"Dell"],[c,m]],[/\b(q(?:mv|ta)\w+) b/i],[u,[f,"Verizon"],[c,m]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[u,[f,"Barnes & Noble"],[c,m]],[/\b(tm\d{3}\w+) b/i],[u,[f,"NuVision"],[c,m]],[/\b(k88) b/i],[u,[f,"ZTE"],[c,m]],[/\b(nx\d{3}j) b/i],[u,[f,"ZTE"],[c,y]],[/\b(gen\d{3}) b.+49h/i],[u,[f,"Swiss"],[c,y]],[/\b(zur\d{3}) b/i],[u,[f,"Swiss"],[c,m]],[/\b((zeki)?tb.*\b) b/i],[u,[f,"Zeki"],[c,m]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[f,"Dragon Touch"],u,[c,m]],[/\b(ns-?\w{0,9}) b/i],[u,[f,"Insignia"],[c,m]],[/\b((nxa|next)-?\w{0,9}) b/i],[u,[f,"NextBook"],[c,m]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[f,"Voice"],u,[c,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[f,"LvTel"],u,[c,y]],[/\b(ph-1) /i],[u,[f,"Essential"],[c,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[u,[f,"Envizen"],[c,m]],[/\b(trio[-\w\. ]+) b/i],[u,[f,"MachSpeed"],[c,m]],[/\btu_(1491) b/i],[u,[f,"Rotor"],[c,m]],[/(shield[\w ]+) b/i],[u,[f,"Nvidia"],[c,m]],[/(sprint) (\w+)/i],[f,u,[c,y]],[/(kin\.[onetw]{3})/i],[[u,/\./g," "],[f,k],[c,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[u,[f,N],[c,m]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[u,[f,N],[c,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[f,u,[c,h]],[/droid.+; (shield) bui/i],[u,[f,"Nvidia"],[c,h]],[/(playstation [345portablevi]+)/i],[u,[f,M],[c,h]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[u,[f,k],[c,h]],[/smart-tv.+(samsung)/i],[f,[c,b]],[/hbbtv.+maple;(\d+)/i],[[u,/^/,"SmartTV"],[f,I],[c,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[f,R],[c,b]],[/(apple) ?tv/i],[f,[u,"Apple TV"],[c,b]],[/crkey/i],[[u,"Chromecast"],[f,_],[c,b]],[/droid.+aft(\w)( bui|\))/i],[u,[f,w],[c,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[u,[f,C],[c,b]],[/(bravia[\w ]+)( bui|\))/i],[u,[f,M],[c,b]],[/(mitv-\w{5}) bui/i],[u,[f,P],[c,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[f,F],[u,F],[c,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,b]],[/((pebble))app/i],[f,u,[c,g]],[/droid.+; (glass) \d/i],[u,[f,_],[c,g]],[/droid.+; (wt63?0{2,3})\)/i],[u,[f,N],[c,g]],[/(quest( 2)?)/i],[u,[f,D],[c,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[f,[c,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[u,[c,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[u,[c,m]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,m]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,y]],[/(android[-\w\. ]{0,9});.+buil/i],[u,[f,"Generic"]]],engine:[[/windows.+ edge\/([\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)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[l,d],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[d,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,d],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[d,W,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[d,W,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[d,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[d,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[d,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,d],[/\(bb(10);/i],[d,[l,x]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[d,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[d,[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[d,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[d,[l,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[l,"Chromium OS"],d],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,d],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],d],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,d]]},z=function(t,n){if(typeof t===a&&(n=t,t=r),!(this instanceof z))return new z(t,n).getResult();var i=t||(typeof e!==o&&e.navigator&&e.navigator.userAgent?e.navigator.userAgent:""),u=n?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}(V,n):V;return this.getBrowser=function(){var e,t={};return t.name=r,t.version=r,q.call(t,i,u.browser),t.major=typeof(e=t.version)===s?e.replace(/[^\d\.]/g,"").split(".")[0]:r,t},this.getCPU=function(){var e={};return e.architecture=r,q.call(e,i,u.cpu),e},this.getDevice=function(){var e={};return e.vendor=r,e.model=r,e.type=r,q.call(e,i,u.device),e},this.getEngine=function(){var e={};return e.name=r,e.version=r,q.call(e,i,u.engine),e},this.getOS=function(){var e={};return e.name=r,e.version=r,q.call(e,i,u.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>350?F(e,350):e,this},this.setUA(i),this};z.VERSION="0.7.32",z.BROWSER=L([l,d,"major"]),z.CPU=L([p]),z.DEVICE=L([u,f,c,h,y,b,m,g,v]),z.ENGINE=z.OS=L([l,d]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=z),n.UAParser=z):typeof e!==o&&(e.UAParser=z);var G=typeof e!==o&&(e.jQuery||e.Zepto);if(G&&!G.ua){var $=new z;G.ua=$.getResult(),G.ua.get=function(){return $.getUA()},G.ua.set=function(e){$.setUA(e);var t=$.getResult();for(var n in t)G.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],335:[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:{})},{}],336:[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}},{}],337:[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 I(e){return u&&m(e,h)}function C(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=I,n.isSymbolObject=C,n.isBoxedPrimitive=function(e){return k(e)||O(e)||T(e)||I(e)||C(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":290,"is-generator-function":292,"is-typed-array":294,"which-typed-array":343}],338:[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 I(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(I.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":336,"./support/types":337,_process:302,inherits:286}],339:[function(e,t,n){"use strict";var r=Object.prototype.toString;t.exports=function(e){return"[object Float32Array]"===r.call(e)}},{}],340:[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:302,buffer:11,"end-of-stream":263,inherits:286,"readable-stream":319,"stream-shift":326}],341:[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:302,duplexify:340,"readable-stream":319,"safe-buffer":323,ws:342}],342:[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},{}],343:[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":264,foreach:268,"has-tostringtag/shams":279,"is-typed-array":294}],344:[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}}},{}],345:[function(e,t,n){t.exports={name:"videomail-client",version:"5.4.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 --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.20.6","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.26.1","create-error":"0.3.1",deepmerge:"4.2.2",defined:"1.0.1",despot:"1.1.3","document-visibility":"1.0.1","element-closest":"3.0.2",filesize:"10.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.27.3",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:"8.0.5","ua-parser-js":"0.7.32","websocket-stream":"5.5.2"},devDependencies:{"@babel/core":"7.20.5","@babel/eslint-parser":"7.19.1","@babel/plugin-transform-runtime":"7.19.6","@babel/preset-env":"7.20.2","audit-ci":"6.3.0",autoprefixer:"10.4.13",babelify:"10.0.0","body-parser":"1.20.1",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"5.1.14",del:"6.1.1",eslint:"8.29.0","eslint-config-prettier":"8.5.0","eslint-plugin-import":"2.26.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","fancy-log":"2.0.0",glob:"8.0.3",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.8","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.7",nib:"1.2.0",postcss:"8.4.19",prettier:"2.8.0",router:"1.3.7",tape:"5.6.1","tape-catch":"1.0.6","tape-run":"10.0.0","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"}}},{}],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=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":347,"./events":348,"./options":349,"./resource":350,"./util/browser":352,"./util/collectLogger":353,"./util/eventEmitter":354,"./wrappers/container":361,"./wrappers/optionsWrapper":364,"./wrappers/visuals/replay":374,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/web.dom-collections.for-each.js":249,deepmerge:257,readystate:320,util:338}],347:[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":208}],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=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,STOPPED: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":208,keymirror:296}],349:[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",ccInputName:"cc",bccInputName:"bcc",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,cc:null,bcc: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":345,_process:302,"core-js/modules/es.object.define-property.js":208}],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=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 s(n,s,u,l){l||(l=u,u=null);var c={},f=e.baseUrl+"/videomail/";u&&(f+=u);var d=(0,i.default)(n,f);c[o.default.SITE_NAME_LABEL]=e.siteName,d.query(c).set("Timezone-Id",a).send(s).timeout(e.timeout).end((function(n,i){if(n=r(n,i))l(n);else{var o=i.body&&i.body.videomail?i.body.videomail:null;e.cache&&s.alias&&(t[s.alias]=o),l(null,o,i.body)}}))}this.get=function(n,s){e.cache&&t[n]?setTimeout((function(){s(null,t[n])}),0):function(n,s){i.default.get("/videomail/"+n+"/snapshot").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(n,i){if(n=r(n,i))s(n);else{var o=i.body?i.body:null;e.cache&&(t.alias=o),s(null,o)}}))}(n,s)},this.reportError=function(t,n){var a={},s=e.baseUrl+"/client-error/",u=(0,i.default)("post",s);a[o.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,"cc"),t=n(t,"bcc"),t=n(t,"subject"),t=n(t,"body")),t}(t))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(t,(function(e,t){e?r(e):s("post",t,r)})):s("post",t,r)},this.put=function(e,t){s("put",e,e.key,t)},this.form=function(t,n,s){var u;switch(e.enctype){case o.default.public.ENC_TYPE_APP_JSON:u="json";break;case o.default.public.ENC_TYPE_FORM:u="form";break;default:setTimeout((function(){s(new Error("Invalid enctype given: "+e.enctype))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){(e=r(e,t))?s(e):s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":347,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,superagent:328}],351:[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":352,"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"audio-sample":6,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"is-power-of-two":293}],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;var i=r(e("@babel/runtime/helpers/typeof"));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="webm",l=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",l="http://www.google.com/chrome/",c=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),f=new a.default(c).getResult(),d="iOS"===f.os.name,p=parseFloat(f.browser.version),h="Chrome"===f.browser.name,y="Chromium"===f.browser.name,m="Firefox"===f.browser.name,b=parseFloat(f.os.version),g="Windows"===f.os.name,v="Edge"===f.browser.name||g&&b>=10,w=/IE/.test(f.browser.name),j=/Safari/.test(f.browser.name),E=/Opera/.test(f.browser.name),x=/Android/.test(f.os.name),S=h||y,_="Facebook"===f.browser.name,A=d||x,R=j&&p>=11,k=d&&b>=11,O=d&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,I=S||m||x||E||v||R||k,C=this;function M(){var e;return(e=O?"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.":function(){var e;return m?e=d?"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.':h?e=d?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to <a href="'+l+'" target="_blank">upgrade Chrome</a> to fix this.':y?e='Probably you need to <a href="http://www.chromium.org/getting-involved/download-chromium" target="_blank">upgrade Chromium</a> to fix this.':w?e='Instead of Internet Explorer you need to upgrade to <a href="'+r+'" target="_blank">Edge</a>.':R?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":j&&(e='Safari below version 11 has no webcam support.<br/>Better upgrade Safari or pick <a href="'+l+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a> or Android.'),e}())||(e=C.isChromeBased()||C.isFirefox()||j?"For the webcam feature, your browser needs an upgrade.":_?'Hence we recommend you to use a real browser like <a href="'+l+'" 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="'+l+'" target="_blank">Chrome</a>, <a href="'+n+'" target="_blank">Firefox</a>, <a href="'+r+'" target="_blank">Edge</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;if(T){if(!I||!this.canRecord()){var n,r=[];O?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=I?A?_?"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":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",O&&(e.reportErrors=!1),t=s.default.create({message:n},M(),e,{classList:r})}}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.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){return!t&&e&&(P(e,"webm")?t="webm":P(e,"mp4")&&(t="mp4")),"webm"!==t&&"mp4"!==t&&(t=u),t&&""!==t||(t=u),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 S},this.isFirefox=function(){return m},this.isEdge=function(){return v},this.isAndroid=function(){return x},this.isMobile=function(){return"mobile"===f.device.type},this.isOkSafari=function(){return R},this.isIOS=function(){return d},this.getUsefulData=function(){return{browser:f.browser,device:f.device,os:f.os,engine:f.engine,userAgent:c}}};n.default=l},{"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array-buffer.constructor.js":199,"core-js/modules/es.array-buffer.slice.js":200,"core-js/modules/es.array.iterator.js":204,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.parse-float.js":212,"core-js/modules/es.regexp.exec.js":221,"core-js/modules/es.typed-array.copy-within.js":225,"core-js/modules/es.typed-array.every.js":226,"core-js/modules/es.typed-array.fill.js":227,"core-js/modules/es.typed-array.filter.js":228,"core-js/modules/es.typed-array.find-index.js":229,"core-js/modules/es.typed-array.find.js":230,"core-js/modules/es.typed-array.for-each.js":231,"core-js/modules/es.typed-array.includes.js":232,"core-js/modules/es.typed-array.index-of.js":233,"core-js/modules/es.typed-array.iterator.js":234,"core-js/modules/es.typed-array.join.js":235,"core-js/modules/es.typed-array.last-index-of.js":236,"core-js/modules/es.typed-array.map.js":237,"core-js/modules/es.typed-array.reduce-right.js":238,"core-js/modules/es.typed-array.reduce.js":239,"core-js/modules/es.typed-array.reverse.js":240,"core-js/modules/es.typed-array.set.js":241,"core-js/modules/es.typed-array.slice.js":242,"core-js/modules/es.typed-array.some.js":243,"core-js/modules/es.typed-array.sort.js":244,"core-js/modules/es.typed-array.subarray.js":245,"core-js/modules/es.typed-array.to-locale-string.js":246,"core-js/modules/es.typed-array.to-string.js":247,"core-js/modules/es.typed-array.uint8-array.js":248,defined:258,"ua-parser-js":334}],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(){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":352,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":206,"core-js/modules/es.object.define-property.js":208,util:338}],354:[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":348,"./videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.slice.js":206,"core-js/modules/es.object.define-property.js":208,despot:259}],355:[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=e("filesize"),o=r(e("humanize-duration")),a={filesize:function(e,t){return(0,i.filesize)(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":208,filesize:267,"humanize-duration":282}],356:[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":208}],357:[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":202,"core-js/modules/es.array.index-of.js":203,"core-js/modules/es.array.join.js":205,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.get-own-property-names.js":209,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/web.dom-collections.for-each.js":249,"safe-json-stringify":324}],358:[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":208,"request-frame":322}],359:[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.index-of.js");var i=r(e("@babel/runtime/helpers/typeof")),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":350,"./browser":352,"./pretty":357,"@babel/runtime/helpers/interopRequireDefault":1,"@babel/runtime/helpers/typeof":2,"core-js/modules/es.array.index-of.js":203,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"create-error":256,util:338}],360:[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");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 I(){e.submit()}function C(t){E(r),e.record(t)}function M(){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,I)),r=R(t.selectors.recordButtonClass,t.text.buttons.record,C,!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&&M(),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":348,"./../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,contains:18,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,util:338}],361:[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=r(e("document-visibility")),o=r(e("element-closest")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("util")),l=r(e("../../styles/css/main.min.css.js")),c=r(e("../events")),f=r(e("../resource")),d=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),h=r(e("./buttons")),y=r(e("./dimension")),m=r(e("./form")),b=r(e("./optionsWrapper")),g=r(e("./visuals"));(0,o.default)(window);var v=function(e){d.default.call(this,e,"Container");var t,n,r,o=this,u=(0,i.default)(),v=new g.default(this,e),w=new h.default(this,e),j=new f.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){o.unload(e)})),e.playerOnly||u.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&o.isCountingDown()&&o.resume(),o.emit(c.default.VISIBLE)):(e.isAutoPauseEnabled()&&(o.isCountingDown()||o.isRecording())&&o.pause("document invisible"),o.emit(c.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())}))),o.on(c.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||o.on(c.default.LOADED_META_DATA,(function(){O()}))}function O(){var n=v.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width=n+"px"}function T(e){v.unload(e),w.unload(),o.endWaiting()}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 C(e,t,n,r,i){o.endWaiting(),e?o.emit(c.default.ERROR,e):(_=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),o.emit(c.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}function M(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){o.emit(c.default.ERROR,e)}},this.limitWidth=function(n){return y.default.limitWidth(t,n,e)},this.limitHeight=function(t){return y.default.limitHeight(t,e)},this.calculateWidth=function(t){return y.default.calculateWidth(b.default.merge(e,t,!0))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,b.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,s.default)(l.default,{prepend:!0}),!n&&k(),function(){if(e.hasDefinedWidth()&&e.video.width%2!=0)throw p.default.create("Width must be divisible by two.",e);if(e.hasDefinedHeight()&&e.video.height%2!=0)throw p.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 m.default(o,t,e)).findSubmitButton();n&&w.setSubmitButton(n),r.build()}}(),x("Container: buildChildren()"),t.classList?(t.classList.add("videomail"),e.playerOnly||w.build(),v.build()):o.emit(c.default.ERROR,p.default.create("Sorry, your browser is too old!",e)),S?x("Container: building failed due to an error."):(x("Container: built."),n=!0,o.emit(c.default.BUILT)))}catch(e){if(!v.isNotifierBuilt())throw e;o.emit(c.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){o.emit(c.default.ERROR,e)}},this.show=function(){if(t&&((0,a.default)(t,!1),v.show(),!S)){var e=o.isPaused();e&&w.adjustButtonsForPause(),w.show(),o.isReplayShown()?o.emit(c.default.PREVIEW):o.emit(c.default.FORM_READY,{paused:e})}},this.hide=function(){x("Container: hide()"),S=!1,this.isRecording()&&this.pause(),v.hide(),_&&(w.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{o.emit(c.default.STARTING_OVER),_=!1,r.show(),v.back(e,(function(){e&&e.keepHidden?o.enableForm():o.show(e)}))}catch(e){o.emit(c.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:o.isNotifying()?i=!1:v.isConnected()?i=v.isUserMediaLoaded()||v.isReplayShown():v.isConnecting()&&(i=!1):(i=!1,A=!0),i){this.emit(c.default.VALIDATING);var a,s=v.validate()&&w.isRecordAgainButtonEnabled();if(r){if(n=r.validate())this.areVisualsHidden()||s||((_||this.isReady()||this.isRecording()||this.isPaused()||this.isCountingDown())&&(n=!1),n||(a="Video is not recorded"));else{var u=r.getInvalidElement();a=u?"Form input named "+u.name+' is invalid. It has the value: "'+u.value+'"':"Form input(s) are invalid"}if(n){var l,f,d,p=r.getRecipients(),h="to"in p,y="cc"in p,m="bcc"in p,b=(null===(l=p.to)||void 0===l?void 0:l.length)>0,g=(null===(f=p.cc)||void 0===f?void 0:f.length)>0,j=(null===(d=p.bcc)||void 0===d?void 0:d.length)>0;h?b||(y&&m?g||j||(n=!1):y?g||(n=!1):m?j||(n=!1):a="Please configure the form to have at least one recipient."):y&&(g||m&&(j||(n=!1))),n||(a="Please enter at least one recipient.")}}else n=s;n?this.emit(c.default.VALID):this.emit(c.default.INVALID,a),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,i){var a=M(n);function s(){o.beginWaiting(),o.disableForm(!0),o.emit(c.default.SUBMITTING)}!!t[e.selectors.keyInputName]?(s(),function(e,t,n){var i=r.transformFormData(e);M(t)||!t?(i.recordingStats=v.getRecordingStats(),i.width=v.getRecorderWidth(!0),i.height=v.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:navigator.connection.downlink+" Mbit/s",effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),j.post(i,n)):function(e){return e&&"PUT"===e.toUpperCase()}(t)&&j.put(i,n)}(t,n,(function(e,n,r){e?C(e,0,n,r):a?I(t,r,i,(function(e,t){C(e,0,n,r,t)})):C(null,0,n,r)}))):e.enableAutoSubmission&&(s(),I(t,null,i,(function(e,t){C(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(c.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),this.emit(c.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)};u.default.inherits(v,d.default);var w=v;n.default=w},{"../../styles/css/main.min.css.js":376,"../events":348,"../resource":350,"../util/eventEmitter":354,"../util/videomailError":359,"./buttons":360,"./dimension":362,"./form":363,"./optionsWrapper":364,"./visuals":365,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/web.dom-collections.for-each.js":249,"document-visibility":260,"element-closest":262,hidden:281,"insert-css":287,util:338}],362:[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":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.parse-int.js":213,"number-is-integer":297}],363:[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");var i=r(e("get-form-data")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("util")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=r(e("../util/videomailError"));function f(e){return e.replace(/(^[,\s]+)|([,\s]+$)/g,"")}var d=function(e,t,n){l.default.call(this,n,"Form");var r,s=this;function d(){return(0,i.default)(t,{includeDisabled:!0})}function p(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 h(){return t.querySelectorAll("input, textarea")}function y(){return t.querySelectorAll("select")}this.transformFormData=function(e){var t={subject:n.selectors.subjectInputName,from:n.selectors.fromInputName,to:n.selectors.toInputName,cc:n.selectors.ccInputName,bcc:n.selectors.bccInputName,body:n.selectors.bodyInputName,key:n.selectors.keyInputName,parentKey:n.selectors.parentKeyInputName,sendCopy:n.selectors.sendCopyInputName},r={};return Object.keys(t).forEach((function(n){var i=t[n];i in e&&(r[n]=e[i])})),r.from&&(r.from=f(r.from)),r.to&&(r.to=f(r.to)),r.cc&&(r.cc=f(r.cc)),r.bcc&&(r.bcc=f(r.bcc)),r},this.getRecipients=function(){var e=this.transformFormData(d()),t={};return"to"in e&&(t.to=e.to),"cc"in e&&(t.cc=e.cc),"bcc"in e&&(t.bcc=e.bcc),t},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){p(!0,e)},this.enable=function(e){p(!1,e)},this.build=function(){if(n.enableAutoValidation){for(var i,l=h(),f=0,d=l.length;f<d;f++)"radio"===(i=l[f]).type?i.addEventListener("change",(function(){e.validate()})):i.addEventListener("input",(function(){setTimeout((function(){e.validate()}),0)}));for(var p=y(),m=0,b=p.length;m<b;m++)p[m].addEventListener("change",(function(){e.validate()}))}(r=t.querySelector('input[name="'+n.selectors.keyInputName+'"]'))||(r=(0,a.default)("input",{name:n.selectors.keyInputName,type:"hidden"}),t.appendChild(r)),this.on(u.default.PREVIEW,(function(e){e||r.value?e&&(r.value=e):s.emit(u.default.ERROR,c.default.create("Videomail key for preview is missing!",n))})),this.on(u.default.GOING_BACK,(function(){r.value=null})),this.on(u.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,o.default)(t.elements[n],!0);(0,o.default)(t,!0)}():e.hideButtons&&e.hideButtons()&&n.adjustFormOnBrowserError&&(r=s.findSubmitButton(),(0,o.default)(r,!0))})),this.on(u.default.BUILT,(function(){e.getSubmitButton().addEventListener("click",s.doTheSubmit.bind(s))}))},this.doTheSubmit=function(n){return n&&n.preventDefault(),e.hasElement()&&e.submitAll(d(),t.getAttribute("method"),t.getAttribute("action")),!1},this.getInvalidElement=function(){for(var e=h(),t=0,n=e.length;t<n;t++)if(!e[t].validity.valid)return e[t];for(var r=y(),i=0,o=r.length;i<o;i++)if(!r[i].validity.valid)return r[i];return null},this.validate=function(){return t.checkValidity()},this.findSubmitButton=function(){return t.querySelector("[type='submit']")},this.hide=function(){t&&(0,o.default)(t,!0)},this.show=function(){t&&(0,o.default)(t,!1)}};s.default.inherits(d,l.default);var p=d;n.default=p},{"../events":348,"../util/eventEmitter":354,"../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.exec.js":221,"core-js/modules/es.string.replace.js":224,"core-js/modules/web.dom-collections.for-each.js":249,"get-form-data":271,hidden:281,hyperscript:283,util:338}],364:[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":208,deepmerge:257}],365:[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("hidden")),o=r(e("hyperscript")),a=r(e("util")),s=r(e("../events")),u=r(e("../util/eventEmitter")),l=r(e("./visuals/inside/recorderInsides")),c=r(e("./visuals/notifier")),f=r(e("./visuals/recorder")),d=r(e("./visuals/replay")),p=function(e,t){u.default.call(this,t,"Visuals");var n,r,a=this,p=new d.default(this,t),h=new f.default(this,p,t),y=new l.default(this,t),m=new c.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()"),a.on(s.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(s.default.PREVIEW,(function(){a.endWaiting()})).on(s.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(s.default.PREVIEW_SHOWN,(function(){e.validate(!0)})).on(s.default.LOADED_META_DATA,(function(){w()})).on(s.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&(n.style.width="auto",n.style.height="auto")})))}function w(){n.style.width=a.getRecorderWidth(!0)+"px",n.style.height=a.getRecorderHeight(!0)+"px"}function j(){return!a.isNotifying()&&!p.isShown()&&!a.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 i=e.querySelector("."+t.selectors.buttonsClass);i&&!e.isOutsideElementOf(i)?e.insertBefore(n,i):e.appendChild(n)}n.classList.add("visuals"),w(),!r&&v(),g(),a.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&&e.keepHidden?(h.hide(),t&&t()):h.back(t)},this.recordAgain=function(){this.back((function(){a.once(s.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{h.unload(e),y.unload(e),p.unload(e),r=!1}catch(e){this.emit(s.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(s.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,i.default)(n,!0),this.emit(s.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){n&&(0,i.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)};a.default.inherits(p,u.default);var h=p;n.default=h},{"../events":348,"../util/eventEmitter":354,"./visuals/inside/recorderInsides":371,"./visuals/notifier":372,"./visuals/recorder":373,"./visuals/replay":374,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283,util:338}],366:[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":208,hidden:281,hyperscript:283}],367:[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":348,"./../../../../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283}],368:[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":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,hidden:281,hyperscript:283}],369:[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":208,hidden:281,hyperscript:283}],370:[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":208,"core-js/modules/es.parse-int.js":213,hidden:281,hyperscript:283}],371:[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":348,"./../../../util/browser":352,"./../../../util/eventEmitter":354,"./recorder/countdown":366,"./recorder/facingMode":367,"./recorder/pausedNote":368,"./recorder/recordNote":369,"./recorder/recordTimer":370,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208,util:338}],372:[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?"☹ ":"")+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":348,"./../../util/eventEmitter":354,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,util:338}],373:[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.array.concat.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,I,C,M,P,N,D,L,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(L)if(L.destroyed)oe(),Y.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{L.write(e,(function(){n&&n(t)}))}catch(e){Y.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;M=F=N=P=!1,C=!0,t||(K=Pe()),se(),Y.emit(p.default.USER_MEDIA_READY,{switchingFacingMode:e.switchingFacingMode,paused:Y.isPaused()})}catch(e){Y.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()),Y.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),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(p.default.PREVIEW,W,t,r),H=Date.now()-D,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),Y.emit(p.default.CONNECTING);var t=j.socketUrl+"?"+encodeURIComponent(d.default.SITE_NAME_LABEL)+"="+encodeURIComponent(j.siteName);try{L=(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}),Y.emit(p.default.ERROR,n)}L&&(L.on("close",(function(e){J(w+"Stream has closed"),B=U=!1,e?Y.emit(p.default.ERROR,e||"Unhandled websocket error"):(Y.emit(p.default.DISCONNECTED),ke())})),L.on("connect",(function(){J(w+"Stream *connect* event emitted"),U||(U=!0,B=N=!1,Y.emit(p.default.CONNECTED),J("Going to ask for webcam permissons now ..."),e&&e())})),L.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),Y.emit(p.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was "+e.toString()+". ",j))}finally{xe.call(Y,t)}})),L.on("error",(function(e){var t;J(w+"Stream *error* event emitted",e),B=U=!1,t=c.isIOS()?g.default.create("Sorry, connection has timed out","iPhones cannot maintain a websocket longer than three minutes.",j):g.default.create("Data exchange interrupted","Please check your network connection and reload.",j),Y.emit(p.default.ERROR,t)})),L.on("drain",(function(){J(w+"Stream *drain* event emitted (should not happen!)")})),L.on("preend",(function(){J(w+"Stream *preend* event emitted")})),L.on("end",(function(){J(w+"Stream *end* event emitted")})),L.on("drain",(function(){J(w+"Stream *drain* event emitted")})),L.on("pipe",(function(){J(w+"Stream *pipe* event emitted")})),L.on("unpipe",(function(){J(w+"Stream *unpipe* event emitted")})),L.on("resume",(function(){J(w+"Stream *resume* event emitted")})),L.on("uncork",(function(){J(w+"Stream *uncork* event emitted")})),L.on("readable",(function(){J(w+"Stream *preend* event emitted")})),L.on("prefinish",(function(){J(w+"Stream *preend* event emitted")})),L.on("finish",(function(){J(w+"Stream *preend* event emitted")})))}}function ge(){return U&&(Se()||!_e()||F)}function ve(e,t,n){M=!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=Y.listeners(p.default.ERROR);if(r&&r.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(p.default.ERROR,g.default.create(e,j)):J("Recorder: ignore user media error",e),A=setTimeout(be,j.timeouts.userMedia);else{if(!N)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(Y),(function(e){Y.emit(p.default.ERROR,e)}),t)}catch(e){Y.emit(p.default.ERROR,e)}}function je(e){if(!navigator)throw new Error("Navigator is missing!");if(J("Recorder: loadGenuineUserMedia()"),Y.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:Y.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(C)return J("Recorder: skipping loadUserMedia() because it is already loaded"),ue(),!1;if(M)return J("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;J("Recorder: loadUserMedia()"),Y.emit(p.default.LOADING_USER_MEDIA);try{_=setTimeout((function(){Y.isReady()||Y.emit(p.default.ERROR,c.getNoAccessIssue())}),j.timeouts.userMedia),M=!0,je()}catch(e){if(J("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(p.default.ERROR).length)throw J("Recorder: no error listeners attached but throwing exception",e),e;Y.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){Y.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(L){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(),P?B=U=!1:L&&(L.end(),L=void 0))}function ke(){K&&K.dispose()}function Oe(){return K.getElapsedTime()}function Te(){return Oe()/Q}function Ie(){return Q/Oe()*1e3}function Ce(){J("Recorder: reInitialiseAudio()"),ce(),S&&S.stop(),C=W=T=I=null,Ee()}function Me(e){1===(e&&e.frameNumber)&&Y.emit(p.default.FIRST_FRAME_SENT)}function Pe(){var e=(0,i.default)({fps:j.video.fps},Ne);return E=e.getRequestAnimationFrameObject(),e}function Ne(n,r){try{if(!Y.isPaused()&&L&&I){if(0===Q&&Y.emit(p.default.SENDING_FIRST_FRAME),Q++,I.drawImage(S.getRawVisuals(),0,0,T.width,T.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",j);R+=G;var i=t.from((0,l.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Me}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(p.default.ERROR,e)}}function De(e){if(K){var t=Y.isRecording();K.stop(),K.setRequestAnimationFrameObject(e),t&&K.start()}}function Le(){J("Recorder: restoreAnimationFrameObject()"),De(E)}function Be(){J("Recorder: loopWithTimeouts()");var e,t=1e3/j.video.fps,n=0;De({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=Y.getRecorderWidth(!0)),j.hasDefinedHeight()&&(x.height=Y.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()"),Y.on(p.default.SUBMITTING,(function(){P=!0})).on(p.default.SUBMITTED,(function(){P=!1,Y.unload()})).on(p.default.BLOCKING,(function(){F=!0,ce()})).on(p.default.HIDE,(function(){Y.hide()})).on(p.default.LOADED_META_DATA,(function(){Fe()})).on(p.default.DISABLING_AUDIO,(function(){Ce()})).on(p.default.ENABLING_AUDIO,(function(){Ce()})).on(p.default.INVISIBLE,(function(){Be()})).on(p.default.VISIBLE,(function(){Le()})).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(){D=Date.now(),ee={avgFps:Ie(),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,(function(){r.emit(p.default.STOPPED,{recordingStats: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;N||(e&&(t=e.name||e.statusText||e.toString()),J("Recorder: unload()"+(t?", cause: "+t:"")),this.reset(),ce(),Re(),N=!0,q=!1)},this.reset=function(){N||(J("Recorder: reset()"),this.emit(p.default.RESETTING),ke(),S&&S.stop(),n.reset(),C=W=T=I=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() at frame ".concat(Q),e),S.pause(),K.stop(),this.emit(p.default.PAUSED),ie()},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){J("Recorder: resume() with frame ".concat(Q)),oe(),this.emit(p.default.RESUMING),S.resume(),K.start()},this.record=function(){if(N)return!1;if(!U)return J("Recorder: reconnecting before recording ..."),be((function(){Y.once(p.default.USER_MEDIA_READY,Y.record)})),!1;try{T=S.createCanvas()}catch(e){return Y.emit(p.default.ERROR,g.default.create(e,j)),!1}return I=T.getContext("2d"),T.width?T.height?(R=0,z=new o.default(T,j),J("Recorder: record()"),S.record(),Y.emit(p.default.RECORDING,Q),K.on("update",(function(e,t){var n=Q/t*1e3;J("Recorder: avgFps =",Math.round(n))})),void K.start()):(Y.emit(p.default.ERROR,g.default.create("Canvas has an invalid height.",j)),!1):(Y.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()&&L&&!L.destroyed},this.hide=function(){_e()||(x&&(0,s.default)(x,!0),ce(),le())},this.isUnloaded=function(){return N},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 C}};c.default.inherits(j,y.default);var E=j;n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":347,"../../events":348,"../../util/browser":352,"../../util/eventEmitter":354,"../../util/humanize":355,"../../util/pretty":357,"../../util/videomailError":359,"./userMedia":375,"@babel/runtime/helpers/interopRequireDefault":1,animitter:4,buffer:11,"canvas-to-buffer":14,"core-js/modules/es.array.concat.js":201,"core-js/modules/es.number.to-fixed.js":207,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.regexp.to-string.js":222,deepmerge:257,hidden:281,hyperscript:283,"safe-json-stringify":324,util:338,"websocket-stream":341}],374:[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"),e("core-js/modules/es.promise.js");var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("iphone-inline-video")),u=r(e("util")),l=r(e("../../events")),c=r(e("../../util/browser")),f=r(e("../../util/eventEmitter")),d=r(e("../../util/videomailError")),p=function(e,t){f.default.call(this,t,"Replay");var n,r,u,p=this,h=new c.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,a.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){(u=t)&&(u.webm&&this.setWebMSource(u.webm),u.mp4&&this.setMp4Source(u.mp4),u.poster&&r.setAttribute("poster",u.poster),function(t){var n;Object.keys(t).forEach((function(r){(n=e.querySelector("."+r))&&(n.innerHTML=t[r])}))}(u));var n=u&&u.recordingStats&&u.recordingStats.sampleRate>0;this.show(u&&u.width,u&&u.height,n)},this.show=function(n,i,a){u&&function(t){var n,i;u&&u.playerWidth?n=u.playerWidth:e.calculateWidth&&(n=e.calculateWidth(t)),u&&u.playerHeight?i=u.playerHeight:e.calculateHeight&&(i=e.calculateHeight(t)),r.style.width=n>0?n+"px":"auto",r.style.height=i>0?i+"px":"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),s.default&&(0,s.default)(r,{iPad:!0}),r.load(),u?p.emit(l.default.REPLAY_SHOWN):p.emit(l.default.PREVIEW_SHOWN)},this.build=function(){y("Replay: build()"),(r=e.querySelector("video."+t.selectors.replayClass))||function(){if(y("Replay: buildElement()"),!(r=(0,a.default)("video."+t.selectors.replayClass)).setAttribute)throw d.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(l.default.PREVIEW,(function(e,t,n){p.show(t,n)})),(0,i.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,o.default)(e,!0):r&&(0,o.default)(r,!0)},this.isShown=function(){return r&&!(0,o.default)(r)},this.getParentElement=function(){return e}};u.default.inherits(p,f.default);var h=p;n.default=h},{"../../events":348,"../../util/browser":352,"../../util/eventEmitter":354,"../../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"add-eventlistener-with-options":3,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.keys.js":210,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.promise.js":217,"core-js/modules/web.dom-collections.for-each.js":249,hidden:281,hyperscript:283,"iphone-inline-video":289,util:338}],375:[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 I=x(e);if(I){if(!I.enabled)throw l.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var C;I.label&&I.label.length>0&&(C=I.label),C+=" with enabled="+I.enabled,C+=", muted="+I.muted,C+=", remote="+I.remote,C+=", readyState="+I.readyState,C+=", error="+I.error,t.debug("UserMedia: "+I.kind+" detected.",C||"")}else t.debug("UserMedia: detected (but no video tracks exist");var M=!0;M&&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":348,"./../../util/audioRecorder":351,"./../../util/browser":352,"./../../util/eventEmitter":354,"./../../util/mediaEvents":356,"./../../util/pretty":357,"./../../util/videomailError":359,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.array.for-each.js":202,"core-js/modules/es.array.iterator.js":204,"core-js/modules/es.object.define-property.js":208,"core-js/modules/es.object.to-string.js":211,"core-js/modules/es.promise.js":217,"core-js/modules/es.regexp.to-string.js":222,"core-js/modules/es.string.iterator.js":223,"core-js/modules/web.dom-collections.for-each.js":249,"core-js/modules/web.dom-collections.iterator.js":250,"core-js/modules/web.url-search-params.js":252,"core-js/modules/web.url.js":254,hyperscript:283,"safe-json-stringify":324}],376:[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":346,"./util/standardize":358,"@babel/runtime/helpers/interopRequireDefault":1,"core-js/modules/es.object.define-property.js":208}]},{},["videomail-client"])("videomail-client")}));
|
|
55
55
|
//# sourceMappingURL=videomail-client.min.js.map
|