From 2ebe635d3af163f2eb6c296e42e7dfe253b06cd1 Mon Sep 17 00:00:00 2001 From: Michael Heuberger Date: Tue, 8 Oct 2024 10:43:11 +1300 Subject: [PATCH 1/2] fix replay bugs and bump --- package.json | 2 +- prototype/correct_existing_videomail.html | 6 ++++-- prototype/js/videomail-client.js | 12 +++++++++--- prototype/js/videomail-client.min.js | 8 ++++---- prototype/js/videomail-client.min.js.map | 2 +- src/wrappers/container.js | 4 +++- src/wrappers/visuals.js | 10 ++++++++-- 7 files changed, 30 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 62ad5c78..e57fef8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "videomail-client", - "version": "9.5.8", + "version": "9.5.10", "description": "A wicked npm package to record videos directly in the browser, wohooo!", "keywords": [ "webcam", diff --git a/prototype/correct_existing_videomail.html b/prototype/correct_existing_videomail.html index f8239a24..d6a56c9c 100644 --- a/prototype/correct_existing_videomail.html +++ b/prototype/correct_existing_videomail.html @@ -11,7 +11,7 @@ margin: 1em 0; display: block; } - #videomail, + #videomail .visuals, #email { float: left; } @@ -27,7 +27,9 @@

A form to correct an existing videomail

-
+
+
+
diff --git a/prototype/js/videomail-client.js b/prototype/js/videomail-client.js index a7e380e3..ef3baa82 100644 --- a/prototype/js/videomail-client.js +++ b/prototype/js/videomail-client.js @@ -19276,7 +19276,9 @@ var Container = function Container(options) { } } !built && initEvents(buildOptions.playerOnly); - correctDimensions(); + if (!buildOptions.playerOnly) { + correctDimensions(); + } // Building form also applies for when `playerOnly` because of // correcting mode on Videomail. This function will skip if there is no form. Easy. @@ -20199,7 +20201,11 @@ var Visuals = function Visuals(container, options) { var replayParentElement = arguments.length > 1 ? arguments[1] : undefined; debug("Visuals: build (playerOnly=".concat(playerOnly, ")")); if (container) { - visualsElement = container.querySelector(".".concat(options.selectors.visualsClass)); + if (replayParentElement) { + visualsElement = replayParentElement.querySelector(".".concat(options.selectors.visualsClass)); + } else { + visualsElement = container.querySelector(".".concat(options.selectors.visualsClass)); + } if (!visualsElement) { if (playerOnly && replayParentElement) { visualsElement = replayParentElement; @@ -20227,7 +20233,7 @@ var Visuals = function Visuals(container, options) { } correctDimensions(); !built && initEvents(playerOnly); - buildChildren(playerOnly, replayParentElement); + buildChildren(playerOnly, visualsElement || replayParentElement); built = true; }; this.querySelector = function (selector) { diff --git a/prototype/js/videomail-client.min.js b/prototype/js/videomail-client.min.js index aa8c7fe7..141a1ef7 100644 --- a/prototype/js/videomail-client.min.js +++ b/prototype/js/videomail-client.min.js @@ -12,7 +12,7 @@ t.exports=function(e){var t,n=String.prototype.split,r=/()??/.exec("")[1]===e;re * @author Feross Aboukhadijeh * @license MIT */ -"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=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 h(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 x(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return R(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(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),W(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:y(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):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(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;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function R(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;i239?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<=A)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rt&&(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>>=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 E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(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 A=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(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||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function I(e,t,n,i,o){return t=+t,n>>>=0,o||N(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>>=0,t>>>=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||j(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||j(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(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||j(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||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(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||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||j(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||j(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||j(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||j(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||j(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(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)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||D(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||D(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||D(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||D(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||D(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||D(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);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>>=0,!r){var i=Math.pow(2,8*n-1);D(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||D(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||D(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||D(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||D(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||D(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 I(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return I(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=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=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>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&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(C,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var i=0;i=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 W(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":15,buffer:18,ieee754:63}],19:[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}},{"./":20,"get-intrinsic":50}],20:[function(e,t,n){"use strict";var r=e("function-bind"),i=e("get-intrinsic"),o=e("set-function-length"),a=e("es-errors/type"),s=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),l=i("%Reflect.apply%",!0)||r.call(u,s),c=e("es-define-property"),f=i("%Math.max%");t.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=l(r,u,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var d=function(){return l(r,s,arguments)};c?c(t.exports,"apply",{value:d}):t.exports.apply=d},{"es-define-property":35,"es-errors/type":41,"function-bind":48,"get-intrinsic":50,"set-function-length":94}],21:[function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,o=r(e("typedarray-to-buffer")),a="undefined"!=typeof document&&"function"==typeof document.createElement,s=a?["webp","jpeg"]:["png"],u=function(){function e(e,t,n){if(void 0===t&&(t=s),void 0===n&&(n=.5),this.quality=void 0,this.types=void 0,this.canvas=void 0,t.length>2)throw new Error("Too many image types are specified!");this.canvas=e,this.quality=n,this.types=t}var t=e.prototype;return t.composeMimeType=function(e){var t;return this.types[e]&&(t="image/"+this.types[e]),t},t.isMatch=function(e,t){return e.match(t)},t.getTestCanvas=function(){var e;return a?(e=document.createElement("canvas")).width=e.height=1:e=this.canvas,e},t.canvasSupportsMimeType=function(e){try{var t=this.getTestCanvas(),n=t.toDataURL&&t.toDataURL(e);return this.isMatch(n,e)}catch(e){return!1}},t.figureMimeType=function(){var e=this.composeMimeType(0);return e&&this.canvasSupportsMimeType(e)||(this.types[1]?(e=this.composeMimeType(1))&&!this.canvasSupportsMimeType(e)&&(e=void 0):e=void 0),e},t.uriToBuffer=function(t){var n,r=t.split(",")[1];if(!r)throw new Error("Empty uri string given!");if(!(n=a?window.atob(r):null==e.atob?void 0:e.atob(r)))throw new Error("Byte are empty, something within atob went wrong.");for(var i=new Uint8Array(n.length),s=0,u=n.length;s-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;r3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},{"es-define-property":35,"es-errors/syntax":40,"es-errors/type":41,gopd:54}],29:[function(e,t,n){"use strict";t.exports=function(){for(var e=0;e0&&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 h(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 p(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;n0&&(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=y(u,l);for(n=0;n=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=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],44:[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,p(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;fu.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;ft?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=h(e,"",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,p(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 h(e,t,n,a,s,u,c){var d;if(u+=1,"object"==typeof e&&null!==e){for(d=0;dc.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;d0)for(var r=0;ri)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=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 h(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 x(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return k(this,t,n);case"base64":return R(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(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),W(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:y(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):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(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;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function R(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;i239?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<=A)return String.fromCharCode.apply(String,e);var n="",r=0;for(;rt&&(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>>=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 E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(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 A=4096;function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function N(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||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return t=+t,n>>>=0,o||N(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>>=0,t>>>=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||j(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||j(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(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||j(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||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(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||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||j(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||j(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||j(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||j(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||j(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(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)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||D(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||D(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||D(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||D(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||D(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||D(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);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>>=0,!r){var i=Math.pow(2,8*n-1);D(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||D(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||D(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||D(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||D(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||D(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 C(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=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=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>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&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(I,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,n,r){for(var i=0;i=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 W(e){return e!=e}}).call(this)}).call(this,e("buffer").Buffer)},{"base64-js":15,buffer:18,ieee754:63}],19:[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}},{"./":20,"get-intrinsic":50}],20:[function(e,t,n){"use strict";var r=e("function-bind"),i=e("get-intrinsic"),o=e("set-function-length"),a=e("es-errors/type"),s=i("%Function.prototype.apply%"),u=i("%Function.prototype.call%"),l=i("%Reflect.apply%",!0)||r.call(u,s),c=e("es-define-property"),f=i("%Math.max%");t.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=l(r,u,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var d=function(){return l(r,s,arguments)};c?c(t.exports,"apply",{value:d}):t.exports.apply=d},{"es-define-property":35,"es-errors/type":41,"function-bind":48,"get-intrinsic":50,"set-function-length":94}],21:[function(e,t,n){function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,o=r(e("typedarray-to-buffer")),a="undefined"!=typeof document&&"function"==typeof document.createElement,s=a?["webp","jpeg"]:["png"],u=function(){function e(e,t,n){if(void 0===t&&(t=s),void 0===n&&(n=.5),this.quality=void 0,this.types=void 0,this.canvas=void 0,t.length>2)throw new Error("Too many image types are specified!");this.canvas=e,this.quality=n,this.types=t}var t=e.prototype;return t.composeMimeType=function(e){var t;return this.types[e]&&(t="image/"+this.types[e]),t},t.isMatch=function(e,t){return e.match(t)},t.getTestCanvas=function(){var e;return a?(e=document.createElement("canvas")).width=e.height=1:e=this.canvas,e},t.canvasSupportsMimeType=function(e){try{var t=this.getTestCanvas(),n=t.toDataURL&&t.toDataURL(e);return this.isMatch(n,e)}catch(e){return!1}},t.figureMimeType=function(){var e=this.composeMimeType(0);return e&&this.canvasSupportsMimeType(e)||(this.types[1]?(e=this.composeMimeType(1))&&!this.canvasSupportsMimeType(e)&&(e=void 0):e=void 0),e},t.uriToBuffer=function(t){var n,r=t.split(",")[1];if(!r)throw new Error("Empty uri string given!");if(!(n=a?window.atob(r):null==e.atob?void 0:e.atob(r)))throw new Error("Byte are empty, something within atob went wrong.");for(var i=new Uint8Array(n.length),s=0,u=n.length;s-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;r3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},{"es-define-property":35,"es-errors/syntax":40,"es-errors/type":41,gopd:54}],29:[function(e,t,n){"use strict";t.exports=function(){for(var e=0;e0&&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 h(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 p(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;n0&&(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=y(u,l);for(n=0;n=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=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],44:[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,p(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;fu.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;ft?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=h(e,"",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,p(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 h(e,t,n,a,s,u,c){var d;if(u+=1,"object"==typeof e&&null!==e){for(d=0;dc.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;d0)for(var r=0;r8&&(R>0&&(R+=8-S),S=8),"exponent"===g)return S;if(0===A)O[0]=0,x=O[1]=l.symbol[b][t?r:i][S];else{k=A/(2===c?Math.pow(2,10*S):Math.pow(1e3,S)),t&&(k*=8,k>=T&&S<8&&(k/=T,S++));const e=Math.pow(10,S>0?f:0);O[0]=N(k*e)/e,O[0]===T&&S<8&&-1===E&&(O[0]=1,S++),x=O[1]=10===c&&1===S?t?"kbit":"kB":l.symbol[b][t?r:i][S]}if(D&&(O[0]=-O[0]),R>0&&(O[0]=O[0].toPrecision(R)),O[1]=y[O[1]]||O[1],!0===d?O[0]=O[0].toLocaleString():d.length>0?O[0]=O[0].toLocaleString(d,h):p.length>0&&(O[0]=O[0].toString().replace(".",p)),n&&f>0){const e=O[0].toString(),t=p||(e.match(/(\D)/g)||[]).pop()||".",n=e.toString().split(t),r=n[1]||o,i=r.length,a=f-i;O[0]=`${n[0]}${t}${r.padEnd(i+a,"0")}`}return j&&(O[1]=w[S]?w[S]:l.fullform[b][S]+(t?"bit":"byte")+(1===O[0]?o:"s")),"array"===g?O:"object"===g?{value:O[0],symbol:O[1],exponent:S,unit:x}:O.join(m)}n.filesize=c,n.partial=function({bits:e=!1,pad:t=!1,base:n=-1,round:r=2,locale:i="",localeOptions:o={},separator:a="",spacer:l=" ",symbols:f={},standard:d="",output:h=u,fullform:p=!1,fullforms:m=[],exponent:y=-1,roundingMethod:b=s,precision:g=0}={}){return s=>c(s,{bits:e,pad:t,base:n,round:r,locale:i,localeOptions:o,separator:a,spacer:l,symbols:f,standard:d,output:h,fullform:p,fullforms:m,exponent:y,roundingMethod:b,precision:g})}},{}],46:[function(e,t,n){t.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(/(%?)(%([jds]))/g,(function(e,n,r,i){var o=t.shift();switch(i){case"s":o=""+o;break;case"d":o=Number(o);break;case"j":o=JSON.stringify(o)}return n?(t.unshift(o),e):o}))),t.length&&(e+=" "+t.join(" ")),""+(e=e.replace(/%{2,2}/g,"%"))}},{}],47:[function(e,t,n){"use strict";var r=Object.prototype.toString,i=Math.max,o=function(e,t){for(var n=[],r=0;r0?a:null}function d(e,t){var n=null,r=e.type;if("select-one"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if("select-multiple"===r){n=[];for(var i=0,o=e.options.length;i1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,N,(function(e,t,n,i){r[r.length]=n?T(i,M,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=I("%"+r+"%",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],x(n,k([0,1],c)));for(var f=1,d=!0;f=n.length){var b=h(a,p);a=(d=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:a[p]}else d=O(a,p),a=a[p];d&&!s&&(E[o]=a)}}return a}},{"es-errors":37,"es-errors/eval":36,"es-errors/range":38,"es-errors/ref":39,"es-errors/syntax":40,"es-errors/type":41,"es-errors/uri":42,"function-bind":48,"has-proto":56,"has-symbols":57,hasown:59}],51:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n=2?"s":"")}),"mois",(function(e){return"semaine"+(e>=2?"s":"")}),(function(e){return"jour"+(e>=2?"s":"")}),(function(e){return"heure"+(e>=2?"s":"")}),(function(e){return"minute"+(e>=2?"s":"")}),(function(e){return"seconde"+(e>=2?"s":"")}),(function(e){return"milliseconde"+(e>=2?"s":"")}),","),gr:r,he:o((function(e){return 1===e?"שנה":"שנים"}),(function(e){return 1===e?"חודש":"חודשים"}),(function(e){return 1===e?"שבוע":"שבועות"}),(function(e){return 1===e?"יום":"ימים"}),(function(e){return 1===e?"שעה":"שעות"}),(function(e){return 1===e?"דקה":"דקות"}),(function(e){return 1===e?"שניה":"שניות"}),(function(e){return 1===e?"מילישנייה":"מילישניות"})),hr:o((function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"}),(function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"}),(function(e){return e%10==1&&11!==e?"tjedan":"tjedna"}),(function(e){return 1===e?"dan":"dana"}),(function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"}),(function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?"minuta":"minute"}),(function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi"}),(function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"}),","),hi:o("साल",(function(e){return 1===e?"महीना":"महीने"}),(function(e){return 1===e?"हफ़्ता":"हफ्ते"}),"दिन",(function(e){return 1===e?"घंटा":"घंटे"}),"मिनट","सेकंड","मिलीसेकंड"),hu:o("év","hónap","hét","nap","óra","perc","másodperc","ezredmásodperc",","),id:o("tahun","bulan","minggu","hari","jam","menit","detik","milidetik"),is:o("ár",(function(e){return"mánuð"+(1===e?"ur":"ir")}),(function(e){return"vik"+(1===e?"a":"ur")}),(function(e){return"dag"+(1===e?"ur":"ar")}),(function(e){return"klukkutím"+(1===e?"i":"ar")}),(function(e){return"mínút"+(1===e?"a":"ur")}),(function(e){return"sekúnd"+(1===e?"a":"ur")}),(function(e){return"millisekúnd"+(1===e?"a":"ur")})),it:o((function(e){return"ann"+(1===e?"o":"i")}),(function(e){return"mes"+(1===e?"e":"i")}),(function(e){return"settiman"+(1===e?"a":"e")}),(function(e){return"giorn"+(1===e?"o":"i")}),(function(e){return"or"+(1===e?"a":"e")}),(function(e){return"minut"+(1===e?"o":"i")}),(function(e){return"second"+(1===e?"o":"i")}),(function(e){return"millisecond"+(1===e?"o":"i")}),","),ja:o("年","ヶ月","週","日","時間","分","秒","ミリ秒"),km:o("ឆ្នាំ","ខែ","សប្តាហ៍","ថ្ងៃ","ម៉ោង","នាទី","វិនាទី","មិល្លីវិនាទី"),kn:o((function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"}),(function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"}),(function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"}),(function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"}),(function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"}),(function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"}),(function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"}),(function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"})),ko:o("년","개월","주일","일","시간","분","초","밀리 초"),ku:o("sal","meh","hefte","roj","seet","deqe","saniye","mîlîçirk",","),lo:o("ປີ","ເດືອນ","ອາທິດ","ມື້","ຊົ່ວໂມງ","ນາທີ","ວິນາທີ","ມິນລິວິນາທີ",","),lt:o((function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"}),(function(e){return["mėnuo","mėnesiai","mėnesių"][c(e)]}),(function(e){return["savaitė","savaitės","savaičių"][c(e)]}),(function(e){return["diena","dienos","dienų"][c(e)]}),(function(e){return["valanda","valandos","valandų"][c(e)]}),(function(e){return["minutė","minutės","minučių"][c(e)]}),(function(e){return["sekundė","sekundės","sekundžių"][c(e)]}),(function(e){return["milisekundė","milisekundės","milisekundžių"][c(e)]}),","),lv:o((function(e){return f(e)?"gads":"gadi"}),(function(e){return f(e)?"mēnesis":"mēneši"}),(function(e){return f(e)?"nedēļa":"nedēļas"}),(function(e){return f(e)?"diena":"dienas"}),(function(e){return f(e)?"stunda":"stundas"}),(function(e){return f(e)?"minūte":"minūtes"}),(function(e){return f(e)?"sekunde":"sekundes"}),(function(e){return f(e)?"milisekunde":"milisekundes"}),","),mk:o((function(e){return 1===e?"година":"години"}),(function(e){return 1===e?"месец":"месеци"}),(function(e){return 1===e?"недела":"недели"}),(function(e){return 1===e?"ден":"дена"}),(function(e){return 1===e?"час":"часа"}),(function(e){return 1===e?"минута":"минути"}),(function(e){return 1===e?"секунда":"секунди"}),(function(e){return 1===e?"милисекунда":"милисекунди"}),","),mn:o("жил","сар","долоо хоног","өдөр","цаг","минут","секунд","миллисекунд"),mr:o((function(e){return 1===e?"वर्ष":"वर्षे"}),(function(e){return 1===e?"महिना":"महिने"}),(function(e){return 1===e?"आठवडा":"आठवडे"}),"दिवस","तास",(function(e){return 1===e?"मिनिट":"मिनिटे"}),"सेकंद","मिलिसेकंद"),ms:o("tahun","bulan","minggu","hari","jam","minit","saat","milisaat"),nl:o("jaar",(function(e){return 1===e?"maand":"maanden"}),(function(e){return 1===e?"week":"weken"}),(function(e){return 1===e?"dag":"dagen"}),"uur",(function(e){return 1===e?"minuut":"minuten"}),(function(e){return 1===e?"seconde":"seconden"}),(function(e){return 1===e?"milliseconde":"milliseconden"}),","),no:o("år",(function(e){return"måned"+(1===e?"":"er")}),(function(e){return"uke"+(1===e?"":"r")}),(function(e){return"dag"+(1===e?"":"er")}),(function(e){return"time"+(1===e?"":"r")}),(function(e){return"minutt"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),pl:o((function(e){return["rok","roku","lata","lat"][s(e)]}),(function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][s(e)]}),(function(e){return["tydzień","tygodnia","tygodnie","tygodni"][s(e)]}),(function(e){return["dzień","dnia","dni","dni"][s(e)]}),(function(e){return["godzina","godziny","godziny","godzin"][s(e)]}),(function(e){return["minuta","minuty","minuty","minut"][s(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekund"][s(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][s(e)]}),","),pt:o((function(e){return"ano"+(1===e?"":"s")}),(function(e){return 1===e?"mês":"meses"}),(function(e){return"semana"+(1===e?"":"s")}),(function(e){return"dia"+(1===e?"":"s")}),(function(e){return"hora"+(1===e?"":"s")}),(function(e){return"minuto"+(1===e?"":"s")}),(function(e){return"segundo"+(1===e?"":"s")}),(function(e){return"milissegundo"+(1===e?"":"s")}),","),ro:o((function(e){return 1===e?"an":"ani"}),(function(e){return 1===e?"lună":"luni"}),(function(e){return 1===e?"săptămână":"săptămâni"}),(function(e){return 1===e?"zi":"zile"}),(function(e){return 1===e?"oră":"ore"}),(function(e){return 1===e?"minut":"minute"}),(function(e){return 1===e?"secundă":"secunde"}),(function(e){return 1===e?"milisecundă":"milisecunde"}),","),ru:o((function(e){return["лет","год","года"][u(e)]}),(function(e){return["месяцев","месяц","месяца"][u(e)]}),(function(e){return["недель","неделя","недели"][u(e)]}),(function(e){return["дней","день","дня"][u(e)]}),(function(e){return["часов","час","часа"][u(e)]}),(function(e){return["минут","минута","минуты"][u(e)]}),(function(e){return["секунд","секунда","секунды"][u(e)]}),(function(e){return["миллисекунд","миллисекунда","миллисекунды"][u(e)]}),","),sq:o((function(e){return 1===e?"vit":"vjet"}),"muaj","javë","ditë","orë",(function(e){return"minut"+(1===e?"ë":"a")}),(function(e){return"sekond"+(1===e?"ë":"a")}),(function(e){return"milisekond"+(1===e?"ë":"a")}),","),sr:o((function(e){return["години","година","године"][u(e)]}),(function(e){return["месеци","месец","месеца"][u(e)]}),(function(e){return["недељи","недеља","недеље"][u(e)]}),(function(e){return["дани","дан","дана"][u(e)]}),(function(e){return["сати","сат","сата"][u(e)]}),(function(e){return["минута","минут","минута"][u(e)]}),(function(e){return["секунди","секунда","секунде"][u(e)]}),(function(e){return["милисекунди","милисекунда","милисекунде"][u(e)]}),","),ta:o((function(e){return 1===e?"வருடம்":"ஆண்டுகள்"}),(function(e){return 1===e?"மாதம்":"மாதங்கள்"}),(function(e){return 1===e?"வாரம்":"வாரங்கள்"}),(function(e){return 1===e?"நாள்":"நாட்கள்"}),(function(e){return 1===e?"மணி":"மணிநேரம்"}),(function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")}),(function(e){return"வினாடி"+(1===e?"":"கள்")}),(function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")})),te:o((function(e){return"సంవత్స"+(1===e?"రం":"రాల")}),(function(e){return"నెల"+(1===e?"":"ల")}),(function(e){return 1===e?"వారం":"వారాలు"}),(function(e){return"రోజు"+(1===e?"":"లు")}),(function(e){return"గంట"+(1===e?"":"లు")}),(function(e){return 1===e?"నిమిషం":"నిమిషాలు"}),(function(e){return 1===e?"సెకను":"సెకన్లు"}),(function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"})),uk:o((function(e){return["років","рік","роки"][u(e)]}),(function(e){return["місяців","місяць","місяці"][u(e)]}),(function(e){return["тижнів","тиждень","тижні"][u(e)]}),(function(e){return["днів","день","дні"][u(e)]}),(function(e){return["годин","година","години"][u(e)]}),(function(e){return["хвилин","хвилина","хвилини"][u(e)]}),(function(e){return["секунд","секунда","секунди"][u(e)]}),(function(e){return["мілісекунд","мілісекунда","мілісекунди"][u(e)]}),","),ur:o("سال",(function(e){return 1===e?"مہینہ":"مہینے"}),(function(e){return 1===e?"ہفتہ":"ہفتے"}),"دن",(function(e){return 1===e?"گھنٹہ":"گھنٹے"}),"منٹ","سیکنڈ","ملی سیکنڈ"),sk:o((function(e){return["rok","roky","roky","rokov"][l(e)]}),(function(e){return["mesiac","mesiace","mesiace","mesiacov"][l(e)]}),(function(e){return["týždeň","týždne","týždne","týždňov"][l(e)]}),(function(e){return["deň","dni","dni","dní"][l(e)]}),(function(e){return["hodina","hodiny","hodiny","hodín"][l(e)]}),(function(e){return["minúta","minúty","minúty","minút"][l(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekúnd"][l(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][l(e)]}),","),sl:o((function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"}),(function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"}),(function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"}),(function(e){return e%100==1?"dan":"dni"}),(function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"}),(function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"}),(function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"}),(function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"}),","),sv:o("år",(function(e){return"månad"+(1===e?"":"er")}),(function(e){return"veck"+(1===e?"a":"or")}),(function(e){return"dag"+(1===e?"":"ar")}),(function(e){return"timm"+(1===e?"e":"ar")}),(function(e){return"minut"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),sw:e(o((function(e){return 1===e?"mwaka":"miaka"}),(function(e){return 1===e?"mwezi":"miezi"}),"wiki",(function(e){return 1===e?"siku":"masiku"}),(function(e){return 1===e?"saa":"masaa"}),"dakika","sekunde","milisekunde"),{_numberFirst:!0}),tr:o("yıl","ay","hafta","gün","saat","dakika","saniye","milisaniye",","),th:o("ปี","เดือน","สัปดาห์","วัน","ชั่วโมง","นาที","วินาที","มิลลิวินาที"),uz:o("yil","oy","hafta","kun","soat","minut","sekund","millisekund"),uz_CYR:o("йил","ой","ҳафта","кун","соат","минут","секунд","миллисекунд"),vi:o("năm","tháng","tuần","ngày","giờ","phút","giây","mili giây",","),zh_CN:o("年","个月","周","天","小时","分钟","秒","毫秒"),zh_TW:o("年","個月","周","天","小時","分鐘","秒","毫秒")};function o(e,t,n,r,i,o,a,s,u){var l={y:e,mo:t,w:n,d:r,h:i,m:o,s:a,ms:s};return void 0!==u&&(l.decimal=u),l}function a(e){return 2===e?1:e>2&&e<11?2:0}function s(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function c(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function f(e){return e%10==1&&e%100!=11}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t,n){var r,i,o,a=e.unitName,s=e.unitCount,u=n.spacer,l=n.maxDecimalPoints;r=d(n,"decimal")?n.decimal:d(t,"decimal")?t.decimal:".","digitReplacements"in n?i=n.digitReplacements:"_digitReplacements"in t&&(i=t._digitReplacements);var c=(void 0===l?s:Math.floor(s*Math.pow(10,l))/Math.pow(10,l)).toString();if(t._hideCountIf2&&2===s)o="",u="";else if(i){o="";for(var f=0;f=0;r--)if(0!==(i=l[n=a[r]])){var m=Math.round(i);if(l[n]=m,0===r)break;var y=a[r-1],b=s[y],g=Math.floor(m*s[n]/b);if(!g)break;l[y]+=g,l[n]=0}}var v=[];for(r=0;r8&&(R>0&&(R+=8-S),S=8),"exponent"===g)return S;if(0===A)O[0]=0,x=O[1]=l.symbol[b][t?r:i][S];else{k=A/(2===c?Math.pow(2,10*S):Math.pow(1e3,S)),t&&(k*=8,k>=T&&S<8&&(k/=T,S++));const e=Math.pow(10,S>0?f:0);O[0]=N(k*e)/e,O[0]===T&&S<8&&-1===E&&(O[0]=1,S++),x=O[1]=10===c&&1===S?t?"kbit":"kB":l.symbol[b][t?r:i][S]}if(D&&(O[0]=-O[0]),R>0&&(O[0]=O[0].toPrecision(R)),O[1]=y[O[1]]||O[1],!0===d?O[0]=O[0].toLocaleString():d.length>0?O[0]=O[0].toLocaleString(d,h):p.length>0&&(O[0]=O[0].toString().replace(".",p)),n&&f>0){const e=O[0].toString(),t=p||(e.match(/(\D)/g)||[]).pop()||".",n=e.toString().split(t),r=n[1]||o,i=r.length,a=f-i;O[0]=`${n[0]}${t}${r.padEnd(i+a,"0")}`}return j&&(O[1]=w[S]?w[S]:l.fullform[b][S]+(t?"bit":"byte")+(1===O[0]?o:"s")),"array"===g?O:"object"===g?{value:O[0],symbol:O[1],exponent:S,unit:x}:O.join(m)}n.filesize=c,n.partial=function({bits:e=!1,pad:t=!1,base:n=-1,round:r=2,locale:i="",localeOptions:o={},separator:a="",spacer:l=" ",symbols:f={},standard:d="",output:h=u,fullform:p=!1,fullforms:m=[],exponent:y=-1,roundingMethod:b=s,precision:g=0}={}){return s=>c(s,{bits:e,pad:t,base:n,round:r,locale:i,localeOptions:o,separator:a,spacer:l,symbols:f,standard:d,output:h,fullform:p,fullforms:m,exponent:y,roundingMethod:b,precision:g})}},{}],46:[function(e,t,n){t.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(/(%?)(%([jds]))/g,(function(e,n,r,i){var o=t.shift();switch(i){case"s":o=""+o;break;case"d":o=Number(o);break;case"j":o=JSON.stringify(o)}return n?(t.unshift(o),e):o}))),t.length&&(e+=" "+t.join(" ")),""+(e=e.replace(/%{2,2}/g,"%"))}},{}],47:[function(e,t,n){"use strict";var r=Object.prototype.toString,i=Math.max,o=function(e,t){for(var n=[],r=0;r0?a:null}function d(e,t){var n=null,r=e.type;if("select-one"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if("select-multiple"===r){n=[];for(var i=0,o=e.options.length;i1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return T(e,N,(function(e,t,n,i){r[r.length]=n?T(i,M,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",i=C("%"+r+"%",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],x(n,k([0,1],c)));for(var f=1,d=!0;f=n.length){var b=h(a,p);a=(d=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:a[p]}else d=O(a,p),a=a[p];d&&!s&&(E[o]=a)}}return a}},{"es-errors":37,"es-errors/eval":36,"es-errors/range":38,"es-errors/ref":39,"es-errors/syntax":40,"es-errors/type":41,"es-errors/uri":42,"function-bind":48,"has-proto":56,"has-symbols":57,hasown:59}],51:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n=2?"s":"")}),"mois",(function(e){return"semaine"+(e>=2?"s":"")}),(function(e){return"jour"+(e>=2?"s":"")}),(function(e){return"heure"+(e>=2?"s":"")}),(function(e){return"minute"+(e>=2?"s":"")}),(function(e){return"seconde"+(e>=2?"s":"")}),(function(e){return"milliseconde"+(e>=2?"s":"")}),","),gr:r,he:o((function(e){return 1===e?"שנה":"שנים"}),(function(e){return 1===e?"חודש":"חודשים"}),(function(e){return 1===e?"שבוע":"שבועות"}),(function(e){return 1===e?"יום":"ימים"}),(function(e){return 1===e?"שעה":"שעות"}),(function(e){return 1===e?"דקה":"דקות"}),(function(e){return 1===e?"שניה":"שניות"}),(function(e){return 1===e?"מילישנייה":"מילישניות"})),hr:o((function(e){return e%10==2||e%10==3||e%10==4?"godine":"godina"}),(function(e){return 1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci"}),(function(e){return e%10==1&&11!==e?"tjedan":"tjedna"}),(function(e){return 1===e?"dan":"dana"}),(function(e){return 1===e?"sat":2===e||3===e||4===e?"sata":"sati"}),(function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?"minuta":"minute"}),(function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?"sekundi":1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi"}),(function(e){return 1===e?"milisekunda":e%10==2||e%10==3||e%10==4?"milisekunde":"milisekundi"}),","),hi:o("साल",(function(e){return 1===e?"महीना":"महीने"}),(function(e){return 1===e?"हफ़्ता":"हफ्ते"}),"दिन",(function(e){return 1===e?"घंटा":"घंटे"}),"मिनट","सेकंड","मिलीसेकंड"),hu:o("év","hónap","hét","nap","óra","perc","másodperc","ezredmásodperc",","),id:o("tahun","bulan","minggu","hari","jam","menit","detik","milidetik"),is:o("ár",(function(e){return"mánuð"+(1===e?"ur":"ir")}),(function(e){return"vik"+(1===e?"a":"ur")}),(function(e){return"dag"+(1===e?"ur":"ar")}),(function(e){return"klukkutím"+(1===e?"i":"ar")}),(function(e){return"mínút"+(1===e?"a":"ur")}),(function(e){return"sekúnd"+(1===e?"a":"ur")}),(function(e){return"millisekúnd"+(1===e?"a":"ur")})),it:o((function(e){return"ann"+(1===e?"o":"i")}),(function(e){return"mes"+(1===e?"e":"i")}),(function(e){return"settiman"+(1===e?"a":"e")}),(function(e){return"giorn"+(1===e?"o":"i")}),(function(e){return"or"+(1===e?"a":"e")}),(function(e){return"minut"+(1===e?"o":"i")}),(function(e){return"second"+(1===e?"o":"i")}),(function(e){return"millisecond"+(1===e?"o":"i")}),","),ja:o("年","ヶ月","週","日","時間","分","秒","ミリ秒"),km:o("ឆ្នាំ","ខែ","សប្តាហ៍","ថ្ងៃ","ម៉ោង","នាទី","វិនាទី","មិល្លីវិនាទី"),kn:o((function(e){return 1===e?"ವರ್ಷ":"ವರ್ಷಗಳು"}),(function(e){return 1===e?"ತಿಂಗಳು":"ತಿಂಗಳುಗಳು"}),(function(e){return 1===e?"ವಾರ":"ವಾರಗಳು"}),(function(e){return 1===e?"ದಿನ":"ದಿನಗಳು"}),(function(e){return 1===e?"ಗಂಟೆ":"ಗಂಟೆಗಳು"}),(function(e){return 1===e?"ನಿಮಿಷ":"ನಿಮಿಷಗಳು"}),(function(e){return 1===e?"ಸೆಕೆಂಡ್":"ಸೆಕೆಂಡುಗಳು"}),(function(e){return 1===e?"ಮಿಲಿಸೆಕೆಂಡ್":"ಮಿಲಿಸೆಕೆಂಡುಗಳು"})),ko:o("년","개월","주일","일","시간","분","초","밀리 초"),ku:o("sal","meh","hefte","roj","seet","deqe","saniye","mîlîçirk",","),lo:o("ປີ","ເດືອນ","ອາທິດ","ມື້","ຊົ່ວໂມງ","ນາທີ","ວິນາທີ","ມິນລິວິນາທີ",","),lt:o((function(e){return e%10==0||e%100>=10&&e%100<=20?"metų":"metai"}),(function(e){return["mėnuo","mėnesiai","mėnesių"][c(e)]}),(function(e){return["savaitė","savaitės","savaičių"][c(e)]}),(function(e){return["diena","dienos","dienų"][c(e)]}),(function(e){return["valanda","valandos","valandų"][c(e)]}),(function(e){return["minutė","minutės","minučių"][c(e)]}),(function(e){return["sekundė","sekundės","sekundžių"][c(e)]}),(function(e){return["milisekundė","milisekundės","milisekundžių"][c(e)]}),","),lv:o((function(e){return f(e)?"gads":"gadi"}),(function(e){return f(e)?"mēnesis":"mēneši"}),(function(e){return f(e)?"nedēļa":"nedēļas"}),(function(e){return f(e)?"diena":"dienas"}),(function(e){return f(e)?"stunda":"stundas"}),(function(e){return f(e)?"minūte":"minūtes"}),(function(e){return f(e)?"sekunde":"sekundes"}),(function(e){return f(e)?"milisekunde":"milisekundes"}),","),mk:o((function(e){return 1===e?"година":"години"}),(function(e){return 1===e?"месец":"месеци"}),(function(e){return 1===e?"недела":"недели"}),(function(e){return 1===e?"ден":"дена"}),(function(e){return 1===e?"час":"часа"}),(function(e){return 1===e?"минута":"минути"}),(function(e){return 1===e?"секунда":"секунди"}),(function(e){return 1===e?"милисекунда":"милисекунди"}),","),mn:o("жил","сар","долоо хоног","өдөр","цаг","минут","секунд","миллисекунд"),mr:o((function(e){return 1===e?"वर्ष":"वर्षे"}),(function(e){return 1===e?"महिना":"महिने"}),(function(e){return 1===e?"आठवडा":"आठवडे"}),"दिवस","तास",(function(e){return 1===e?"मिनिट":"मिनिटे"}),"सेकंद","मिलिसेकंद"),ms:o("tahun","bulan","minggu","hari","jam","minit","saat","milisaat"),nl:o("jaar",(function(e){return 1===e?"maand":"maanden"}),(function(e){return 1===e?"week":"weken"}),(function(e){return 1===e?"dag":"dagen"}),"uur",(function(e){return 1===e?"minuut":"minuten"}),(function(e){return 1===e?"seconde":"seconden"}),(function(e){return 1===e?"milliseconde":"milliseconden"}),","),no:o("år",(function(e){return"måned"+(1===e?"":"er")}),(function(e){return"uke"+(1===e?"":"r")}),(function(e){return"dag"+(1===e?"":"er")}),(function(e){return"time"+(1===e?"":"r")}),(function(e){return"minutt"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),pl:o((function(e){return["rok","roku","lata","lat"][s(e)]}),(function(e){return["miesiąc","miesiąca","miesiące","miesięcy"][s(e)]}),(function(e){return["tydzień","tygodnia","tygodnie","tygodni"][s(e)]}),(function(e){return["dzień","dnia","dni","dni"][s(e)]}),(function(e){return["godzina","godziny","godziny","godzin"][s(e)]}),(function(e){return["minuta","minuty","minuty","minut"][s(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekund"][s(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekund"][s(e)]}),","),pt:o((function(e){return"ano"+(1===e?"":"s")}),(function(e){return 1===e?"mês":"meses"}),(function(e){return"semana"+(1===e?"":"s")}),(function(e){return"dia"+(1===e?"":"s")}),(function(e){return"hora"+(1===e?"":"s")}),(function(e){return"minuto"+(1===e?"":"s")}),(function(e){return"segundo"+(1===e?"":"s")}),(function(e){return"milissegundo"+(1===e?"":"s")}),","),ro:o((function(e){return 1===e?"an":"ani"}),(function(e){return 1===e?"lună":"luni"}),(function(e){return 1===e?"săptămână":"săptămâni"}),(function(e){return 1===e?"zi":"zile"}),(function(e){return 1===e?"oră":"ore"}),(function(e){return 1===e?"minut":"minute"}),(function(e){return 1===e?"secundă":"secunde"}),(function(e){return 1===e?"milisecundă":"milisecunde"}),","),ru:o((function(e){return["лет","год","года"][u(e)]}),(function(e){return["месяцев","месяц","месяца"][u(e)]}),(function(e){return["недель","неделя","недели"][u(e)]}),(function(e){return["дней","день","дня"][u(e)]}),(function(e){return["часов","час","часа"][u(e)]}),(function(e){return["минут","минута","минуты"][u(e)]}),(function(e){return["секунд","секунда","секунды"][u(e)]}),(function(e){return["миллисекунд","миллисекунда","миллисекунды"][u(e)]}),","),sq:o((function(e){return 1===e?"vit":"vjet"}),"muaj","javë","ditë","orë",(function(e){return"minut"+(1===e?"ë":"a")}),(function(e){return"sekond"+(1===e?"ë":"a")}),(function(e){return"milisekond"+(1===e?"ë":"a")}),","),sr:o((function(e){return["години","година","године"][u(e)]}),(function(e){return["месеци","месец","месеца"][u(e)]}),(function(e){return["недељи","недеља","недеље"][u(e)]}),(function(e){return["дани","дан","дана"][u(e)]}),(function(e){return["сати","сат","сата"][u(e)]}),(function(e){return["минута","минут","минута"][u(e)]}),(function(e){return["секунди","секунда","секунде"][u(e)]}),(function(e){return["милисекунди","милисекунда","милисекунде"][u(e)]}),","),ta:o((function(e){return 1===e?"வருடம்":"ஆண்டுகள்"}),(function(e){return 1===e?"மாதம்":"மாதங்கள்"}),(function(e){return 1===e?"வாரம்":"வாரங்கள்"}),(function(e){return 1===e?"நாள்":"நாட்கள்"}),(function(e){return 1===e?"மணி":"மணிநேரம்"}),(function(e){return"நிமிட"+(1===e?"ம்":"ங்கள்")}),(function(e){return"வினாடி"+(1===e?"":"கள்")}),(function(e){return"மில்லி விநாடி"+(1===e?"":"கள்")})),te:o((function(e){return"సంవత్స"+(1===e?"రం":"రాల")}),(function(e){return"నెల"+(1===e?"":"ల")}),(function(e){return 1===e?"వారం":"వారాలు"}),(function(e){return"రోజు"+(1===e?"":"లు")}),(function(e){return"గంట"+(1===e?"":"లు")}),(function(e){return 1===e?"నిమిషం":"నిమిషాలు"}),(function(e){return 1===e?"సెకను":"సెకన్లు"}),(function(e){return 1===e?"మిల్లీసెకన్":"మిల్లీసెకన్లు"})),uk:o((function(e){return["років","рік","роки"][u(e)]}),(function(e){return["місяців","місяць","місяці"][u(e)]}),(function(e){return["тижнів","тиждень","тижні"][u(e)]}),(function(e){return["днів","день","дні"][u(e)]}),(function(e){return["годин","година","години"][u(e)]}),(function(e){return["хвилин","хвилина","хвилини"][u(e)]}),(function(e){return["секунд","секунда","секунди"][u(e)]}),(function(e){return["мілісекунд","мілісекунда","мілісекунди"][u(e)]}),","),ur:o("سال",(function(e){return 1===e?"مہینہ":"مہینے"}),(function(e){return 1===e?"ہفتہ":"ہفتے"}),"دن",(function(e){return 1===e?"گھنٹہ":"گھنٹے"}),"منٹ","سیکنڈ","ملی سیکنڈ"),sk:o((function(e){return["rok","roky","roky","rokov"][l(e)]}),(function(e){return["mesiac","mesiace","mesiace","mesiacov"][l(e)]}),(function(e){return["týždeň","týždne","týždne","týždňov"][l(e)]}),(function(e){return["deň","dni","dni","dní"][l(e)]}),(function(e){return["hodina","hodiny","hodiny","hodín"][l(e)]}),(function(e){return["minúta","minúty","minúty","minút"][l(e)]}),(function(e){return["sekunda","sekundy","sekundy","sekúnd"][l(e)]}),(function(e){return["milisekunda","milisekundy","milisekundy","milisekúnd"][l(e)]}),","),sl:o((function(e){return e%10==1?"leto":e%100==2?"leti":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?"leta":"let"}),(function(e){return e%10==1?"mesec":e%100==2||Math.floor(e)!==e&&e%100<=5?"meseca":e%10==3||e%10==4?"mesece":"mesecev"}),(function(e){return e%10==1?"teden":e%10==2||Math.floor(e)!==e&&e%100<=4?"tedna":e%10==3||e%10==4?"tedne":"tednov"}),(function(e){return e%100==1?"dan":"dni"}),(function(e){return e%10==1?"ura":e%100==2?"uri":e%10==3||e%10==4||Math.floor(e)!==e?"ure":"ur"}),(function(e){return e%10==1?"minuta":e%10==2?"minuti":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?"minute":"minut"}),(function(e){return e%10==1?"sekunda":e%100==2?"sekundi":e%100==3||e%100==4||Math.floor(e)!==e?"sekunde":"sekund"}),(function(e){return e%10==1?"milisekunda":e%100==2?"milisekundi":e%100==3||e%100==4||Math.floor(e)!==e?"milisekunde":"milisekund"}),","),sv:o("år",(function(e){return"månad"+(1===e?"":"er")}),(function(e){return"veck"+(1===e?"a":"or")}),(function(e){return"dag"+(1===e?"":"ar")}),(function(e){return"timm"+(1===e?"e":"ar")}),(function(e){return"minut"+(1===e?"":"er")}),(function(e){return"sekund"+(1===e?"":"er")}),(function(e){return"millisekund"+(1===e?"":"er")}),","),sw:e(o((function(e){return 1===e?"mwaka":"miaka"}),(function(e){return 1===e?"mwezi":"miezi"}),"wiki",(function(e){return 1===e?"siku":"masiku"}),(function(e){return 1===e?"saa":"masaa"}),"dakika","sekunde","milisekunde"),{_numberFirst:!0}),tr:o("yıl","ay","hafta","gün","saat","dakika","saniye","milisaniye",","),th:o("ปี","เดือน","สัปดาห์","วัน","ชั่วโมง","นาที","วินาที","มิลลิวินาที"),uz:o("yil","oy","hafta","kun","soat","minut","sekund","millisekund"),uz_CYR:o("йил","ой","ҳафта","кун","соат","минут","секунд","миллисекунд"),vi:o("năm","tháng","tuần","ngày","giờ","phút","giây","mili giây",","),zh_CN:o("年","个月","周","天","小时","分钟","秒","毫秒"),zh_TW:o("年","個月","周","天","小時","分鐘","秒","毫秒")};function o(e,t,n,r,i,o,a,s,u){var l={y:e,mo:t,w:n,d:r,h:i,m:o,s:a,ms:s};return void 0!==u&&(l.decimal=u),l}function a(e){return 2===e?1:e>2&&e<11?2:0}function s(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function c(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function f(e){return e%10==1&&e%100!=11}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t,n){var r,i,o,a=e.unitName,s=e.unitCount,u=n.spacer,l=n.maxDecimalPoints;r=d(n,"decimal")?n.decimal:d(t,"decimal")?t.decimal:".","digitReplacements"in n?i=n.digitReplacements:"_digitReplacements"in t&&(i=t._digitReplacements);var c=(void 0===l?s:Math.floor(s*Math.pow(10,l))/Math.pow(10,l)).toString();if(t._hideCountIf2&&2===s)o="",u="";else if(i){o="";for(var f=0;f=0;r--)if(0!==(i=l[n=a[r]])){var m=Math.round(i);if(l[n]=m,0===r)break;var y=a[r-1],b=s[y],g=Math.floor(m*s[n]/b);if(!g)break;l[y]+=g,l[n]=0}}var v=[];for(r=0;r */ -n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],64:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var C=e("./util.inspect"),P=C.custom,L=q(P)?P:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function U(e){return v.call(String(e),/"/g,""")}function F(e){return!("[object Array]"!==z(e)||D&&"object"==typeof e&&D in e)}function W(e){return!("[object RegExp]"!==z(e)||D&&"object"==typeof e&&D in e)}function q(e){if(j)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}t.exports=function e(t,r,i,s){var u=r||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!V(u,"customInspect")||u.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,u);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?I(t,_):_}if("bigint"==typeof t){var O=String(t)+"n";return w?I(t,O):O}var x=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=x&&x>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var P=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(u,i);if(void 0===s)s=[];else if(G(s,t)>=0)return"[Circular]";function H(t,n,r){if(n&&(s=A.call(s)).push(n),r){var o={depth:u.depth};return V(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),e(t,o,i+1,s)}return e(t,u,i+1,s)}if("function"==typeof t&&!W(t)){var Y=function(e){if(e.name)return e.name;var t=b.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,H);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(ee.length>0?" { "+S.call(ee,", ")+" }":"")}if(q(t)){var te=j?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||j?te:K(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+E.call(String(t.nodeName)),re=t.attributes||[],ie=0;ie"}if(F(t)){if(0===t.length)return"[]";var oe=Z(t,H);return P&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?"["+Q(oe,P)+"]":"[ "+S.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||D&&"object"==typeof e&&D in e)}(t)){var ae=Z(t,H);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ae,", ")+" }":"{ ["+String(t)+"] "+S.call(R.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&m){if(L&&"function"==typeof t[L]&&C)return C(t,{depth:x-i});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),X("Map",o.call(t),se,P)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c&&c.call(t,(function(e){ue.push(H(e,t))})),X("Set",l.call(t),ue,P)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}(t))return K(H(k.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(p.call(t));if(function(e){return!("[object String]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n&&t===n)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==z(e)||D&&"object"==typeof e&&D in e)}(t)&&!W(t)){var le=Z(t,H),ce=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",de=!ce&&D&&Object(t)===t&&D in t?g.call(z(t),8,-1):fe?"Object":"",he=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||fe?"["+S.call(R.call([],de||[],fe||[]),": ")+"] ":"");return 0===le.length?he+"{}":P?he+"{"+Q(le,P)+"}":he+"{ "+S.call(le,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return $(g.call(e,0,t.maxStringLength),t)+r}return B(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):S.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var i=0;i1)for(var n=1;n-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,f=parseInt(c,10);n.parseArrays||""!==c?!isNaN(f)&&s!==c&&String(f)===c&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),h=-1,p=t.charset;if(t.charsetSentinel)for(c=0;c-1&&(y=o(y)?[y]:y);var w=i.call(n,m);w&&"combine"===t.duplicates?n[m]=r.combine(n[m],y):w&&"last"!==t.duplicates||(n[m]=y)}return n}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),h=0;h0?O.join(",")||null:void 0}];else if(u(y))D=y;else{var M=Object.keys(O);D=b?M.sort(b):M}var I=d?n.replace(/\./g,"%2E"):n,C=a&&u(O)&&1===O.length?I+"[]":I;if(s&&u(O)&&0===O.length)return C+"[]";for(var P=0;P0?w+v:""}},{"./formats":75,"./utils":79,"side-channel":95}],79:[function(e,t,n){"use strict";var r=e("./formats"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=u?s.slice(c,c+u):s,d=[],h=0;h=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===r.RFC1738&&(40===p||41===p)?d[d.length]=f.charAt(h):p<128?d[d.length]=a[p]:p<2048?d[d.length]=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?d[d.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(h+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(h)),d[d.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}l+=d.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):E(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?E(e,a,t,!1):O(e,a)):E(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(A,e):A(e))}function A(e){h("emit readable"),e.emit("readable"),j(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(k,e,t))}function k(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function N(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):S(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",b),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",y),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,j(e))}}(r);e.on("drain",f);var d=!1;var p=!1;function m(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!d&&(h("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function y(t){h("onerror",t),v(),e.removeListener("error",y),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",g),v()}function g(){h("onfinish"),e.removeListener("close",b),v()}function v(){h("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",y),e.once("close",b),e.once("finish",g),e.emit("pipe",r),o.flowing||(h("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},f=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,h=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,m=e("./internal/streams/destroy");function y(){}function b(t,n){s=s||e("./_stream_duplex"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,i);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e("./_stream_duplex"),!(p.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(R,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=y),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":81,"./internal/streams/destroy":87,"./internal/streams/stream":88,_process:74,"core-util-is":25,inherits:65,"process-nextick-args":73,"safe-buffer":89,timers:102,"util-deprecate":105}],86:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":89,util:16}],87:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,e)):r.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":73}],88:[function(e,t,n){t.exports=e("events").EventEmitter},{events:43}],89:[function(e,t,n){var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:18}],90:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":89}],91:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":81,"./lib/_stream_passthrough.js":82,"./lib/_stream_readable.js":83,"./lib/_stream_transform.js":84,"./lib/_stream_writable.js":85}],92:[function(e,t,n){ +n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],64:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,"$&_")+"."+v.call(v.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,n,"$&_")}var I=e("./util.inspect"),P=I.custom,L=q(P)?P:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function U(e){return v.call(String(e),/"/g,""")}function F(e){return!("[object Array]"!==z(e)||D&&"object"==typeof e&&D in e)}function W(e){return!("[object RegExp]"!==z(e)||D&&"object"==typeof e&&D in e)}function q(e){if(j)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}t.exports=function e(t,r,i,s){var u=r||{};if(V(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!V(u,"customInspect")||u.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return $(t,u);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?C(t,_):_}if("bigint"==typeof t){var O=String(t)+"n";return w?C(t,O):O}var x=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=x&&x>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var P=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1)," ")}return{base:n,prev:S.call(Array(t+1),n)}}(u,i);if(void 0===s)s=[];else if(G(s,t)>=0)return"[Circular]";function H(t,n,r){if(n&&(s=A.call(s)).push(n),r){var o={depth:u.depth};return V(u,"quoteStyle")&&(o.quoteStyle=u.quoteStyle),e(t,o,i+1,s)}return e(t,u,i+1,s)}if("function"==typeof t&&!W(t)){var Y=function(e){if(e.name)return e.name;var t=b.call(y.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,H);return"[Function"+(Y?": "+Y:" (anonymous)")+"]"+(ee.length>0?" { "+S.call(ee,", ")+" }":"")}if(q(t)){var te=j?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(t);return"object"!=typeof t||j?te:K(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+E.call(String(t.nodeName)),re=t.attributes||[],ie=0;ie"}if(F(t)){if(0===t.length)return"[]";var oe=Z(t,H);return P&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?"["+Q(oe,P)+"]":"[ "+S.call(oe,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||D&&"object"==typeof e&&D in e)}(t)){var ae=Z(t,H);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+S.call(ae,", ")+" }":"{ ["+String(t)+"] "+S.call(R.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&m){if(L&&"function"==typeof t[L]&&I)return I(t,{depth:x-i});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),X("Map",o.call(t),se,P)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c&&c.call(t,(function(e){ue.push(H(e,t))})),X("Set",l.call(t),ue,P)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J("WeakRef");if(function(e){return!("[object Number]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}(t))return K(H(k.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(p.call(t));if(function(e){return!("[object String]"!==z(e)||D&&"object"==typeof e&&D in e)}(t))return K(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n&&t===n)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==z(e)||D&&"object"==typeof e&&D in e)}(t)&&!W(t)){var le=Z(t,H),ce=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",de=!ce&&D&&Object(t)===t&&D in t?g.call(z(t),8,-1):fe?"Object":"",he=(ce||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||fe?"["+S.call(R.call([],de||[],fe||[]),": ")+"] ":"");return 0===le.length?he+"{}":P?he+"{"+Q(le,P)+"}":he+"{ "+S.call(le,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return $(g.call(e,0,t.maxStringLength),t)+r}return B(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Y),"single",t)}function Y(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function K(e){return"Object("+e+")"}function J(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):S.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+S.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var i=0;i1)for(var n=1;n-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,"."):l,f=parseInt(c,10);n.parseArrays||""!==c?!isNaN(f)&&s!==c&&String(f)===c&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),h=-1,p=t.charset;if(t.charsetSentinel)for(c=0;c-1&&(y=o(y)?[y]:y);var w=i.call(n,m);w&&"combine"===t.duplicates?n[m]=r.combine(n[m],y):w&&"last"!==t.duplicates||(n[m]=y)}return n}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),h=0;h0?O.join(",")||null:void 0}];else if(u(y))D=y;else{var M=Object.keys(O);D=b?M.sort(b):M}var C=d?n.replace(/\./g,"%2E"):n,I=a&&u(O)&&1===O.length?C+"[]":C;if(s&&u(O)&&0===O.length)return I+"[]";for(var P=0;P0?w+v:""}},{"./formats":75,"./utils":79,"side-channel":95}],79:[function(e,t,n){"use strict";var r=e("./formats"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=u?s.slice(c,c+u):s,d=[],h=0;h=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===r.RFC1738&&(40===p||41===p)?d[d.length]=f.charAt(h):p<128?d[d.length]=a[p]:p<2048?d[d.length]=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?d[d.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(h+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(h)),d[d.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}l+=d.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):E(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?E(e,a,t,!1):O(e,a)):E(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(A,e):A(e))}function A(e){h("emit readable"),e.emit("readable"),j(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(k,e,t))}function k(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function N(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function C(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?N(this):S(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){h("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h("cleanup"),e.removeListener("close",b),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",y),e.removeListener("unpipe",l),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):r.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,j(e))}}(r);e.on("drain",f);var d=!1;var p=!1;function m(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==C(o.pipes,e))&&!d&&(h("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function y(t){h("onerror",t),v(),e.removeListener("error",y),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",g),v()}function g(){h("onfinish"),e.removeListener("close",b),v()}function v(){h("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",y),e.once("close",b),e.once("finish",g),e.emit("pipe",r),o.flowing||(h("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e("core-util-is"));l.inherits=e("inherits");var c={deprecate:e("util-deprecate")},f=e("./internal/streams/stream"),d=e("safe-buffer").Buffer,h=(void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,m=e("./internal/streams/destroy");function y(){}function b(t,n){s=s||e("./_stream_duplex"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,i);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e("./_stream_duplex"),!(p.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(R,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=y),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("timers").setImmediate)},{"./_stream_duplex":81,"./internal/streams/destroy":87,"./internal/streams/stream":88,_process:74,"core-util-is":25,inherits:65,"process-nextick-args":73,"safe-buffer":89,timers:102,"util-deprecate":105}],86:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=e("util");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},{"safe-buffer":89,util:16}],87:[function(e,t,n){"use strict";var r=e("process-nextick-args");function i(e,t){e.emit("error",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,e)):r.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":73}],88:[function(e,t,n){t.exports=e("events").EventEmitter},{events:43}],89:[function(e,t,n){var r=e("buffer"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},{buffer:18}],90:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":89}],91:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":81,"./lib/_stream_passthrough.js":82,"./lib/_stream_readable.js":83,"./lib/_stream_transform.js":84,"./lib/_stream_writable.js":85}],92:[function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ 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:18}],93:[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},{}],94:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("define-data-property"),o=e("has-property-descriptors")(),a=e("gopd"),s=e("es-errors/type"),u=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},{"define-data-property":28,"es-errors/type":41,"get-intrinsic":50,gopd:54,"has-property-descriptors":55}],95:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("call-bind/callBound"),o=e("object-inspect"),a=e("es-errors/type"),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),h=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=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=m(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 p(t,r)}else if(n)return function(e,t){return!!m(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),h(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{"call-bind/callBound":19,"es-errors/type":41,"get-intrinsic":50,"object-inspect":70}],96:[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){var t=e.bufferIndex||0;if(e.buffer.head)return e.buffer.head.data.length;if(e.buffer.length-t>0&&e.buffer[t])return e.buffer[t].length}return e.length}(t)):null}},{}],97:[function(e,t,n){"use strict";const r=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];class i{constructor(){this._defaults=[]}_setDefaults(e){for(const t of this._defaults)e[t.fn](...t.args)}}for(const e of r)i.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const m="".trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,"");function y(e){if(!u(e))return e;const t=[];for(const n in e)c(e,n)&&b(t,n,e[n]);return t.join("&")}function b(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)b(e,t,r);else if(u(n))for(const r in n)c(n,r)&&b(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function g(e){const t={},n=e.split("&");let r,i;for(let e=0,o=n.length;e{let e,t=null,r=null;try{r=new w(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)}))}p.serializeObject=y,p.parseString=g,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":e=>a.stringify(e,{indices:!1,strictNullHandling:!0}),"application/json":o},p.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},l(w.prototype,f.prototype),w.prototype._parseBody=function(e){let t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&v(this.type)&&(t=p.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},w.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r=`cannot ${t} ${n} (${this.status})`,i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=w,i(E.prototype),l(E.prototype,s.prototype),E.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},E.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},E.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)},E.prototype.query=function(e){return"string"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},E.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},E.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},E.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)},E.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)},E.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},E.prototype.ca=E.prototype.agent,E.prototype.buffer=E.prototype.ca,E.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},E.prototype.pipe=E.prototype.write,E.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},E.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||h,this._finalizeQueryString(),this._end()},E.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},E.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=p.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener("readystatechange",(()=>{const{readyState:n}=t;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||p.serialize[e?e.split(";")[0]:""];!t&&v(e)&&(t=p.serialize["application/json"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&c(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)},p.agent=()=>new d;for(const e of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])d.prototype[e.toLowerCase()]=function(t,n){const r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function _(e,t,n){const r=p("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}d.prototype.del=d.prototype.delete,p.get=(e,t,n)=>{const r=p("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=(e,t,n)=>{const r=p("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=(e,t,n)=>{const r=p("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=_,p.delete=_,p.patch=(e,t,n)=>{const r=p("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=(e,t,n)=>{const r=p("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=(e,t,n)=>{const r=p("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./agent-base":97,"./request-base":99,"./response-base":100,"./utils":101,"component-emitter":23,"fast-safe-stringify":44,qs:76}],99:[function(e,t,n){"use strict";const{isObject:r,hasOwn:i}=e("./utils");function o(){}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(i(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{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&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){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)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(const t in e)i(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t,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(r(e)){for(const t in e)i(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(const n in t)i(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},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization",`Basic ${r(`${e}:${t}`)}`);break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization",`Bearer ${e}`)}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){const t=r(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&&r(this._data))for(const t in e){if("bigint"==typeof e[t]&&!e[t].toJSON)throw new Error("Cannot serialize BigInt value to json");i(e,t)&&(this._data[t]=e[t])}else{if("bigint"==typeof e)throw new Error("Cannot send value of type BigInt");"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},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.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("&")}}},o.prototype._appendQueryString=()=>{console.warn("Unsupported")},o.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)},o.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))}},{"./utils":101}],100:[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":101}],101:[function(e,t,n){"use strict";n.type=e=>e.split(/ *; */).shift(),n.params=e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}return t},n.parseLinks=e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}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])},n.isGzipOrDeflateEncoding=e=>new RegExp(/^\s*(?:deflate|gzip)\s*$/).test(e.headers["content-encoding"]),n.isBrotliEncoding=e=>new RegExp(/^\s*(?:br)\s*$/).test(e.headers["content-encoding"])},{}],102:[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":74,timers:102}],103:[function(e,t,n){(function(e){(function(){ /*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh */ -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:18}],104:[function(e,t,n){!function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="major",l="model",c="name",f="type",d="vendor",h="version",p="architecture",m="console",y="mobile",b="tablet",g="smarttv",v="wearable",w="embedded",E="Amazon",_="Apple",R="ASUS",S="BlackBerry",A="Browser",O="Chrome",k="Firefox",x="Google",T="Huawei",j="LG",D="Microsoft",N="Motorola",M="Opera",I="Samsung",C="Sharp",P="Sony",L="Xiaomi",B="Zebra",U="Facebook",F="Chromium OS",W="Mac OS",q=" Browser",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION="1.0.39",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,"end-of-stream":34,inherits:65,"readable-stream":91,"stream-shift":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",E),c.addEventListener("message",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit("connect")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],main:"prototype/js/videomail-client.js",scripts:{audit:"npx audit-ci --config audit-ci.json",build:"gulp build",lint:"eslint --color ./src ./test ./gulpfile.js","lint:fix":"npm --silent run lint -- --fix",major:"./etc/release.sh --importance=major",minor:"./etc/release.sh --importance=minor",patch:"./etc/release.sh --importance=patch",prettier:"prettier --check ./src ./test ./prototype/*.html gulpfile.js","prettier:fix":"prettier --write ./src ./test ./prototype/*.html gulpfile.js",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch"},prettier:"./prettier.config.cjs",dependencies:{"@babel/core":"7.25.2","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"4.1.0","canvas-to-buffer":"4.1.0",contains:"0.1.1","core-js":"3.38.1","create-error":"0.3.1",deepmerge:"4.3.1",defined:"1.0.1",despot:"2.1.0","document-visibility":"1.0.1",filesize:"10.1.6","format-util":"1.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.32.1",hyperscript:"2.0.2",inherits:"2.0.4","insert-css":"2.0.0","is-power-of-two":"1.0.0",keymirror:"0.1.1","safe-json-stringify":"1.2.0",superagent:"10.1.0","ua-parser-js":"1.0.39","websocket-stream":"5.5.2"},devDependencies:{"@babel/eslint-parser":"7.25.1","@babel/plugin-transform-runtime":"7.25.4","@babel/preset-env":"7.25.4","@tsconfig/node22":"22.0.0","@tsconfig/strictest":"2.0.5","audit-ci":"7.1.0",autoprefixer:"10.4.20",babelify:"10.0.0","body-parser":"1.20.3",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"6.0.5",del:"6.1.1",eslint:"8.57.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.30.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.2.0","fancy-log":"2.0.0",glob:"10.4.2",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":"10.0.0","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"3.0.1","gulp-terser":"2.1.0",minimist:"1.2.8",nib:"1.2.0",postcss:"8.4.47",prettier:"3.3.3","prettier-plugin-curly":"0.2.2","prettier-plugin-packagejson":"2.5.2","prettier-plugin-sh":"0.14.0",router:"1.3.8",tape:"5.9.0","tape-catch":"1.0.6","tape-run":"11.0.0",typescript:"5.6.2","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"},engines:{node:"^22.8.0",npm:"^10.8.2"},readmeFilename:"README.md"}},{}],111:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,o=r(e("inherits")),a=r(e("./constants")),s=r(e("./events")),u=r(e("./resource")),l=r(e("./util/browser")),c=r(e("./util/adjustOptions")),f=r(e("./util/eventEmitter")),d=r(e("./wrappers/container"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,"VideomailClient"),this.build=function(){var e=!1;e||n.isBuilt()||(r("Client: build()"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{"./constants":112,"./events":113,"./resource":115,"./util/adjustOptions":118,"./util/browser":120,"./util/eventEmitter":122,"./wrappers/container":128,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],112:[function(e,t,n){"use strict";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"}}},{}],113:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("keymirror"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{"@babel/runtime/helpers/interopRequireDefault":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("../package.json"),o=r(e("./util/addOptionsFunctions")),a={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",containerClass:"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",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e("_process"))},{"../package.json":110,"./util/addOptionsFunctions":117,"@babel/runtime/helpers/interopRequireDefault":4,_process:74}],115:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,"name",r.name),n(i,"type",r.type),n(i,"message",r.message||t.statusText),n(i,"cause",r.cause),n(i,"status",r.status),n(i,"code",r.code),n(i,"errno",r.errno),n(i,"details",r.details),n(i,"stack",r.stack),i}return e}function s(t,n,s){var u="".concat(e.baseUrl,"/videomail/").concat(t,"/").concat(n,"/snapshot");(0,i.default)("get",u).type("json").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c="".concat(e.baseUrl,"/videomail/");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set("Timezone-Id",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s("alias",e,t)},this.getByKey=function(e,t){s("key",e,t)},this.reportError=function(t,n){var a={},s="".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,"from"),n=t(n,"to"),n=t(n,"cc"),n=t(n,"bcc"),n=t(n,"subject"),n=t(n,"body")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u("post",t,r)})):u("post",n,r)},this.put=function(e,t){u("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: ".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":112,"@babel/runtime/helpers/interopRequireDefault":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{"./../options":114,"./addOptionsFunctions":117,"./collectLogger":121,"@babel/runtime/helpers/interopRequireDefault":4,deepmerge:27}],119:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug("AudioRecorder: init()");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create("Webcam has no audio",e.toString(),t)}var a=t.audio.bufferSize;if("auto"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug("AudioRecorder: audio context is closed"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e("audio-sample")),o=r(e("is-power-of-two")),a=r(e("./browser")),s=r(e("./videomailError")),u=1},{"./browser":120,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"audio-sample":14,"is-power-of-two":67}],120:[function(e,t,n){"use strict";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")),o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError"));n.default=function(e){e||(e={});var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),h="Chrome"===c.browser.name,p="Brave"===c.browser.name,m="Chromium"===c.browser.name,y="Firefox"===c.browser.name,b=parseFloat(c.os.version),g="Windows"===c.os.name,v="Edge"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S="Facebook"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.":function(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to ')+"upgrade Firefox to fix this.":h?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to ')+"upgrade Chrome to fix this.":m?e='Probably you need to ')+"upgrade Chromium to fix this.":O?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e="Safari below version 11 has no webcam support.
Better upgrade Safari or pick"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?"Hence we recommend you to use a real browser like "+'Chrome, ')+'Firefox or ')+'Edge.'):"Hence we recommend you to use either "+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create("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&&(M(e,"mp4")?t="mp4":M(e,"webm")&&(t="webm")),"webm"!==t&&"mp4"!==t&&(t="mp4"),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam":this.isFirefox()?"Please grant Firefox access to your webcam":"Your system does not let your browser access your webcam",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,defined:29,"ua-parser-js":104}],121:[function(e,t,n){"use strict";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push("[".concat(t,"] ").concat(a)),a}this.debug=function(){var r=s("debug",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s("warn",e))},this.getLines=function(){return r}};var i=r(e("@babel/runtime/helpers/toConsumableArray")),o=r(e("format-util")),a=r(e("./browser"))},{"./browser":120,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/toConsumableArray":7,"format-util":46}],122:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&("removeListener"!==n&&"newListener"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug("".concat(t," emits ").concat(n," with ").concat((0,o.default)(r))):e.debug("".concat(t," emits ").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e("despot")),o=r(e("safe-json-stringify")),a=r(e("./../events")),s=r(e("./videomailError"))},{"./../events":113,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,despot:30,"safe-json-stringify":93}],123:[function(e,t,n){"use strict";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"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{"@babel/runtime/helpers/interopRequireDefault":4,filesize:45,"humanize-duration":61}],124:[function(e,t,n){"use strict";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"]},{}],125:[function(e,t,n){"use strict";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")),o=r(e("safe-json-stringify")),a="- ",s="
".concat(a)},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":93}],126:[function(e,t,n){(function(t){(function(){"use strict";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")),o=r(e("./../resource")),a=r(e("create-error")),s=r(e("safe-json-stringify")),u=r(e("./pretty")),l="Videomail Error",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e("./browser").default)(a);switch("object"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:"error"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p="The operation was insecure",r="Probably you have disallowed Cookies for this page?",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p="Invalid webcam constraints",r=n.constraint?"width"===n.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: ".concat(n.constraint):n.toString();break;case"MediaDeviceFailedDueToShutdown":p="Webcam is shutting down",r="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":p="Source of your webcam cannot be accessed",r="Probably it is locked from another process or has a hardware error.",n.explanation&&(n.explanation+=" Details: ".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":m?(p="No webcam nor microphone found",r="Your browser cannot find a webcam with microphone attached to your machine."):(p="No webcam found",r="Your browser cannot find a webcam attached to your machine."),y.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":p="Ooops, you didn't give me any permissions?",r="Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":p="Permission denied",r="Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.",y.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":p="Webcam is unavailable",r="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(r+=" Or you have to allow access above?"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p="Unable to connect",r="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":p="No video feed found!",r="Your webcam is already used in another browser.",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p="Starting video failed",r="Most likely this happens when the webcam is already active in another browser",y.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":p="No available webcam could be found",r="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p="No access to webcam",r="A hardware error occurred which prevented access to your webcam",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p="Invalid state",r="Video recording stream from your webcam already has finished",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p="Requested webcam not found",r="A webcam is needed but could not be found",y.push(c.WEBCAM_PROBLEM);break;case 9:var g="https:".concat(window.location.href.substring(window.location.protocol.length));p="Security upgrade needed",r='Click here to switch to HTTPs which is more safe ')+" and enables encrypted videomail transfers.",y.push(c.BROWSER_PROBLEM);break;case 11:p="Invalid State",r="The object is in an invalid, unusable state",y.push(c.BROWSER_PROBLEM);break;default:p="DOM Exception",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p="Media device not supported",r=f(n);break;default:var v=r;if(r&&"object"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:"Inspected: ".concat((0,s.default)(v))),n)if("string"==typeof n)p=n;else if(n.message&&(p=f(n.message)+" (pretty)"),n.explanation&&(r?r+=";
".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=";
".concat(w)):r=w}p||(h&&(p=h+" (weird)"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)("VideomailError: create()",p,r||"(no explanation set)");var _,R=b.getUsefulData(),S=t.document.cookie.split("; "),A={title:"videomail-client error",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(",\n"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join("×"),orientation:"string"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k="function"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error("Unable to report error",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./../resource":115,"./browser":120,"./pretty":125,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"create-error":26,"safe-json-stringify":93}],127:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("contains")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)("input#".concat(e.id),{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)("span.radioGroup",t,(0,a.default)("label",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(".".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=".".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)("button.".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g("Buttons: onSubmitting()"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g("Buttons: onEnablingAudio()"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g("Buttons: onDisablingAudio()"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug("Buttons: reset()"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(".".concat(t.selectors.buttonsClass)))||(n=(0,a.default)("div.".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g("Buttons: unload()"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{"../events":113,"../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/defineProperty")),o=r(e("document-visibility")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("safe-json-stringify")),l=r(e("inherits")),c=r(e("../styles/css/main.min.css.js")),f=r(e("../events")),d=r(e("../resource")),h=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),m=r(e("./buttons")),y=r(e("./dimension")),b=r(e("./form")),g=r(e("./optionsWrapper")),v=r(e("./visuals")),w=function(e){h.default.call(this,e,"Container");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector("html"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest("form")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A("Container: initEvents (playerOnly = ".concat(t,")")),e.enableAutoUnload&&window.addEventListener("beforeunload",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause("document invisible"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener("keypress",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===r||"TEXTAREA"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width="".concat(n,"px")}}function N(){t&&(t.style.width="auto")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error("Videomail data is missing for attaching player dimensions");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A("Container: build (".concat((0,u.default)(r),")"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement("div"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A("Container: buildChildren (playerOnly = ".concat(n).concat(r?', replayParentElement="'.concat(r.id,'"'):"",")")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A("Container: building failed due to an error."):(A("Container: built."),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add("wait")},this.endWaiting=function(){S.classList&&S.classList.remove("wait")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A("Container: unload(".concat(e?(0,u.default)(e):"",")")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error("No container element exists.");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A("Container: hide()"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A("Container: startOver(".concat(e?(0,u.default)(e):"",")")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input "'.concat(p.name,'" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c="Don't forget to record a video 😉",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v="to"in g,w="cc"in g,R="bcc"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c="At least one recipient is required")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(": ");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A("Container: submitAll(".concat(o,")"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||"POST"===e.toUpperCase()}(t)?function(e){return!!e&&"PUT"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:"".concat(navigator.connection.downlink," Mbit/s"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&""!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A("Container: submit()"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{"../events":113,"../resource":115,"../styles/css/main.min.css.js":116,"../util/eventEmitter":122,"../util/videomailError":126,"./buttons":127,"./dimension":129,"./form":130,"./optionsWrapper":131,"./visuals":132,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4,"document-visibility":31,hidden:60,inherits:65,"insert-css":66,"safe-json-stringify":93}],129:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./../util/videomailError"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create("Got a video height less than 1 (".concat(e,") while figuring out the minimum!"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g("Visuals: buildChildren (playerOnly = ".concat(r).concat(i?', replayParentElement="'.concat(i.id,'"'):"",")")),(t=e.querySelector("noscript"))&&((t=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width="".concat(a.getRecorderWidth(!0),"px"),n.style.height="".concat(a.getRecorderHeight(!0),"px"))}function E(){n&&(n.style.width="auto",n.style.height="auto")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g("Visuals: build (playerOnly=".concat(i,")")),e){if(!(n=e.querySelector(".".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)("div.".concat(t.selectors.visualsClass));var l=e.querySelector(".".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add("visuals")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g("Visuals: initEvents (playerOnly = ".concat(n,")")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g("Visuals: back(".concat(e?(0,s.default)(e):"",")")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g("Visuals: unload(".concat(e?(0,s.default)(e):"",")")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{"../events":113,"../util/eventEmitter":122,"./visuals/inside/recorderInsides":138,"./visuals/notifier":139,"./visuals/recorder":140,"./visuals/replay":141,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93}],133:[function(e,t,n){"use strict";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,o.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],134:[function(e,t,n){"use strict";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":113,"./../../../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],135:[function(e,t,n){"use strict";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,o.default)("div.paused"),r=(0,o.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,o.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],136:[function(e,t,n){"use strict";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],137:[function(e,t,n){"use strict";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, ".concat(s," seconds to go"))):(t.setNear(),r.classList.add("near"),n.debug("End is near, ".concat(s," seconds to go")))}r.innerHTML="".concat(i,":").concat((e=o)<10?"0".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,i.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 ~".concat(h()-s," seconds.")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,o.default)("p.recordTimer"),d(),e.appendChild(r))}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],138:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("inherits")),o=r(e("./../../../events")),a=r(e("./../../../util/browser")),s=r(e("./../../../util/eventEmitter")),u=r(e("./recorder/countdown")),l=r(e("./recorder/facingMode")),c=r(e("./recorder/pausedNote")),f=r(e("./recorder/recordNote")),d=r(e("./recorder/recordTimer")),h=function(e,t){s.default.call(this,t,"RecorderInsides");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m("RecorderInsides: initEvents()"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m("RecorderInsides: build()"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{"./../../../events":113,"./../../../util/browser":120,"./../../../util/eventEmitter":122,"./recorder/countdown":133,"./recorder/facingMode":134,"./recorder/pausedNote":135,"./recorder/recordNote":136,"./recorder/recordTimer":137,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],139:[function(e,t,n){"use strict";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("inherits")),s=r(e("../../events")),u=r(e("../../util/eventEmitter")),l="notifierMessage",c=function(e,t){u.default.call(this,t,"Notifier");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h("Notifier: initEvents()"),d.on(s.default.CONNECTING,(function(){d.notify("Connecting …")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width="auto",n.style.height="".concat(e.getRecorderHeight(!0,!0),"px")):(n.style.width="".concat(e.getRecorderWidth(!0),"px"),n.style.height="".concat(e.getRecorderHeight(!0),"px")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(h("Limit reached"),r+="".concat(t.text.limitReached,".
")),r+="".concat(t.text.sending," …"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: ".concat(e),n&&(r+=", Audio: ".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n="".concat(t.text.encoding," …");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify("Unloading …")})).on(s.default.DISCONNECTED,(function(){d.notify("Disconnected")})).on(s.default.CONNECTED,(function(){d.notify("Connected"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain ".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove("entertain"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug("Notifier: setExplanation(".concat(e,")")),r||(r=(0,o.default)("p",{className:"explanation"}),n?n.appendChild(r):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove("blocking")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug("Notifier: notify(".concat(f.join(", "),")"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className="notifier"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width="auto",n.style.height="auto")),m?(n&&n.classList.add("blocking"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug("Notifier: setMessage(".concat(e,")")),g()||(p=(0,o.default)("h2",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn("Unable to show message ".concat(e," because notifyElement is empty"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?"☹ ":"")+e}else t.logger.warn("Not going to update notifierMessage element because message is empty");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{"../../events":113,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;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("inherits")),c=r(e("safe-json-stringify")),f=r(e("websocket-stream")),d=r(e("../../constants")),h=r(e("../../events")),p=r(e("../../util/browser")),m=r(e("../../util/eventEmitter")),y=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,"Recorder");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create("FPS must be defined",E);var _,R,S,A,O,k,x,T,j,D,N,M,I,C,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed to write stream buffer","stream.write() failed because of ".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of ".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K("Recorder: onUserMediaReady()",(0,c.default)(t));var n=t.switchingFacingMode;M=F=C=I=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return"".concat((te/(Q||1)*100).toFixed(2),"%")}function le(){return"".concat((ne/(X||1)*100).toFixed(2),"%")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K("Recorder: initializing web socket to %s",E.socketUrl),Y.emit(h.default.CONNECTING);var t="".concat(E.socketUrl,"?").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),"=").concat(encodeURIComponent(E.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: ".concat((0,b.default)(e)),E):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on("close",(function(e){K("".concat(w,"Stream has closed")),B=U=!1,e?Y.emit(h.default.ERROR,e||"Unhandled websocket error"):N&&fe()})),L.on("connect",(function(){K("".concat(w,"Stream *connect* event emitted"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||C||(U=!0,B=C=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on("data",(function(e){var t;K("".concat(w,"Stream *data* event emitted"));try{t=JSON.parse(e.toString())}catch(t){K("Failed to parse command:",t),Y.emit(h.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was ".concat(e.toString(),". "),E))}finally{ye.call(Y,t)}})),L.on("error",(function(e){K("".concat(w,"Stream *error* event emitted: ").concat((0,c.default)(e)))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted (should not happen!)"))})),L.on("preend",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("end",(function(){K("".concat(w,"Stream *end* event emitted"))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted"))})),L.on("pipe",(function(){K("".concat(w,"Stream *pipe* event emitted"))})),L.on("unpipe",(function(){K("".concat(w,"Stream *unpipe* event emitted"))})),L.on("resume",(function(){K("".concat(w,"Stream *resume* event emitted"))})),L.on("uncork",(function(){K("".concat(w,"Stream *uncork* event emitted"))})),L.on("readable",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("prefinish",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("finish",(function(){K("".concat(w,"Stream *preend* event emitted"))})))}}function de(e){M=!1,Re(),K("Recorder: userMediaErrorCallback(), name: ".concat(e.name,", message: ").concat(e.message," and Webcam characteristics: ").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K("Recorder: ignore user media error",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!C)throw K("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.",E);K("Recorder: already unloaded. Not going to throw error",e)}}function he(e,t){if(K("Recorder: getUserMediaCallback()",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error("Navigator is missing!");if(K("Recorder: loadGenuineUserMedia()"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K("Recorder: navigator.mediaDevices.getUserMedia()",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K("Recorder: navigator.mediaDevices.getSupportedConstraints()",(0,c.default)(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.",E);n.then((function(t){he(t,e)})).catch(de)}else K("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K("Recorder: skipping loadUserMedia() because it is already loaded"),se(e),!1;if(M)return K("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;K("Recorder: loadUserMedia(".concat((0,c.default)(e),")")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(h.default.ERROR).length)throw K("Recorder: no error listeners attached but throwing exception",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!C)try{switch(e.args?K("Server commanded: ".concat(e.command," with ").concat((0,c.default)(e.args))):K("Server commanded: ".concat(e.command)),e.command){case"ready":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case"preview":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source("".concat(e.mp4+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.mp4"),!0),e.webm&&n.setWebMSource("".concat(e.webm+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.webm"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K("While recording, %s have been transferred and waiting time was %s",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case"error":this.emit(h.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No message given)",E));break;case"confirmFrame":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case"confirmSample":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case"beginAudioEncoding":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,"Unknown server command: ".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?"$ ".concat(e," with ").concat((0,c.default)(n)):"$ ".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K("Reconnecting for the command",e,"…"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K("Recorder: reInitializeAudio()"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K("Recorder: clearUserMediaTimeout()"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K("Recorder: initEvents()"),Y.on(h.default.SUBMITTING,(function(){I=!0})).on(h.default.SUBMITTED,(function(){I=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K("Recorder: loopWithTimeouts()");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K("Recorder: restoreAnimationFrameObject()"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":K("Recorder: unsupported facing mode",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K("stop(".concat((0,c.default)(e),")"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve("stop",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),C=!1,ae(),ve("back",e)},this.unload=function(e){var t;!C&&W&&(e&&(t=e.name||e.statusText||e.toString()),K("Recorder: unload()".concat(t?", cause: ".concat(t):"")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),I||L&&(K("Recorder: ending stream ..."),L.destroy(),L=void 0),C=!0,W=B=U=!1)},this.reset=function(){C||(K("Recorder: reset()"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?"pause() at frame ".concat(Q," with ").concat((0,c.default)(e)):"pause() at frame ".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K("Recorder: pinging..."),re(t.from(""))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K("Recorder: resume() with frame ".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(C)return!1;if(!U)return K("Recorder: reconnecting before recording ..."),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create("Load and enable your camera first",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext("2d"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K("Recorder: record()"),S.record(),Y.emit(h.default.RECORDING,Q),J.on("update",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K("Recorder: avgFps = ".concat(n,", framesCount = ").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid height.",E)),!1):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid width.",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector("video.".concat(E.selectors.userMediaClass)))||(R=(0,u.default)("video.".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute("playsinline",!0),R.setAttribute("webkit-playsinline","webkit-playsinline"),R.style.transform="rotateY(180deg)",R.style["-webkit-transform"]="rotateY(180deg)",R.style["-moz-transform"]="rotateY(180deg)",E.video.stretch&&(R.style.width="100%"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K("Recorder: clearRetryTimeout()"),clearTimeout(O),O=null))},this.isUnloaded=function(){return C},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":112,"../../events":113,"../../util/browser":120,"../../util/eventEmitter":122,"../../util/humanize":123,"../../util/pretty":125,"../../util/videomailError":126,"./userMedia":142,"@babel/runtime/helpers/interopRequireDefault":4,animitter:13,buffer:18,"canvas-to-buffer":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93,"websocket-stream":107}],141:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../../events")),l=r(e("../../util/browser")),c=r(e("../../util/eventEmitter")),f=function(e,t){c.default.call(this,t,"Replay");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return"HTMLDivElement"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+="?".concat(Date.now())),o)n?o.setAttribute("src",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)("source",{src:"".concat(n,"#t=").concat(s),type:"video/".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName("track"),n=t&&t[0];if(n)e?n.setAttribute("src",e):r.removeChild(n);else{var i=(0,a.default)("track",{src:e,kind:"captions",default:!0});r.appendChild(i),r.setAttribute("crossorigin","anonymous")}}(s.vtt),s.poster&&r.setAttribute("poster",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(".".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h("Replay: show(playerOnly=".concat(l,")")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?"".concat(i,"px"):"auto",r.style.height=n>0?"".concat(n,"px"):"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),r.load(),s?r.addEventListener("canplaythrough",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener("canplaythrough",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h("Replay: build (".concat(o?'replayParentElement="'.concat(o.id,'"'):"",")")),(r=e.querySelector("video.".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if("string"==typeof n&&!(n=document.getElementById(n)))throw new Error("No replay parent element container with ID ".concat(n," found."));var i="video.".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h("Replay: built.")},this.unload=function(){h("Replay: unload()"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug("UserMedia: unloadAllEventListeners()"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener("play",k),p.removeEventListener&&p.removeEventListener("loadedmetadata",x)}function A(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState=".concat(p.readyState),"media.paused=".concat(p.paused),"media.ended=".concat(p.ended),"media.played=".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}(n=e)&&"undefined"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug("UserMedia: fireCallbacks("+"readyState=".concat(s,", ")+"onPlayReached=".concat(l,", ")+"onLoadedMetaDataReached=".concat(h,")")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",k),E()||_()?o(d.default.create("Already busy","Probably another browser window is using your webcam?",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=" with enabled=".concat(T.enabled),j+=", muted=".concat(T.muted),j+=", remote=".concat(T.remote),j+=", readyState=".concat(T.readyState),j+=", error=".concat(T.error),t.debug("UserMedia: ".concat(T.kind," detected."),j||"")}else t.debug("UserMedia: detected (but no video tracks exist");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener("loadedmetadata",x),p.addEventListener("play",k),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e("hyperscript")),o=r(e("safe-json-stringify")),a=r(e("./../../events")),s=r(e("./../../util/audioRecorder")),u=r(e("./../../util/browser")),l=r(e("./../../util/eventEmitter")),c=r(e("./../../util/mediaEvents")),f=r(e("./../../util/pretty")),d=r(e("./../../util/videomailError")),h="|—O—|"},{"./../../events":113,"./../../util/audioRecorder":119,"./../../util/browser":120,"./../../util/eventEmitter":122,"./../../util/mediaEvents":124,"./../../util/pretty":125,"./../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hyperscript:62,"safe-json-stringify":93}],"videomail-client":[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./client"));n.default=i.default},{"./client":111,"@babel/runtime/helpers/interopRequireDefault":4}]},{},["videomail-client"])("videomail-client")})); +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:18}],104:[function(e,t,n){!function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="major",l="model",c="name",f="type",d="vendor",h="version",p="architecture",m="console",y="mobile",b="tablet",g="smarttv",v="wearable",w="embedded",E="Amazon",_="Apple",R="ASUS",S="BlackBerry",A="Browser",O="Chrome",k="Firefox",x="Google",T="Huawei",j="LG",D="Microsoft",N="Motorola",M="Opera",C="Samsung",I="Sharp",P="Sony",L="Xiaomi",B="Zebra",U="Facebook",F="Chromium OS",W="Mac OS",q=" Browser",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION="1.0.39",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,"end-of-stream":34,inherits:65,"readable-stream":91,"stream-shift":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",E),c.addEventListener("message",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit("connect")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],main:"prototype/js/videomail-client.js",scripts:{audit:"npx audit-ci --config audit-ci.json",build:"gulp build",lint:"eslint --color ./src ./test ./gulpfile.js","lint:fix":"npm --silent run lint -- --fix",major:"./etc/release.sh --importance=major",minor:"./etc/release.sh --importance=minor",patch:"./etc/release.sh --importance=patch",prettier:"prettier --check ./src ./test ./prototype/*.html gulpfile.js","prettier:fix":"prettier --write ./src ./test ./prototype/*.html gulpfile.js",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch"},prettier:"./prettier.config.cjs",dependencies:{"@babel/core":"7.25.2","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"4.1.0","canvas-to-buffer":"4.1.0",contains:"0.1.1","core-js":"3.38.1","create-error":"0.3.1",deepmerge:"4.3.1",defined:"1.0.1",despot:"2.1.0","document-visibility":"1.0.1",filesize:"10.1.6","format-util":"1.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.32.1",hyperscript:"2.0.2",inherits:"2.0.4","insert-css":"2.0.0","is-power-of-two":"1.0.0",keymirror:"0.1.1","safe-json-stringify":"1.2.0",superagent:"10.1.0","ua-parser-js":"1.0.39","websocket-stream":"5.5.2"},devDependencies:{"@babel/eslint-parser":"7.25.1","@babel/plugin-transform-runtime":"7.25.4","@babel/preset-env":"7.25.4","@tsconfig/node22":"22.0.0","@tsconfig/strictest":"2.0.5","audit-ci":"7.1.0",autoprefixer:"10.4.20",babelify:"10.0.0","body-parser":"1.20.3",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"6.0.5",del:"6.1.1",eslint:"8.57.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.30.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.2.0","fancy-log":"2.0.0",glob:"10.4.2",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":"10.0.0","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"3.0.1","gulp-terser":"2.1.0",minimist:"1.2.8",nib:"1.2.0",postcss:"8.4.47",prettier:"3.3.3","prettier-plugin-curly":"0.2.2","prettier-plugin-packagejson":"2.5.2","prettier-plugin-sh":"0.14.0",router:"1.3.8",tape:"5.9.0","tape-catch":"1.0.6","tape-run":"11.0.0",typescript:"5.6.2","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"},engines:{node:"^22.8.0",npm:"^10.8.2"},readmeFilename:"README.md"}},{}],111:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,o=r(e("inherits")),a=r(e("./constants")),s=r(e("./events")),u=r(e("./resource")),l=r(e("./util/browser")),c=r(e("./util/adjustOptions")),f=r(e("./util/eventEmitter")),d=r(e("./wrappers/container"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,"VideomailClient"),this.build=function(){var e=!1;e||n.isBuilt()||(r("Client: build()"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{"./constants":112,"./events":113,"./resource":115,"./util/adjustOptions":118,"./util/browser":120,"./util/eventEmitter":122,"./wrappers/container":128,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],112:[function(e,t,n){"use strict";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"}}},{}],113:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("keymirror"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{"@babel/runtime/helpers/interopRequireDefault":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("../package.json"),o=r(e("./util/addOptionsFunctions")),a={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",containerClass:"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",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e("_process"))},{"../package.json":110,"./util/addOptionsFunctions":117,"@babel/runtime/helpers/interopRequireDefault":4,_process:74}],115:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,"name",r.name),n(i,"type",r.type),n(i,"message",r.message||t.statusText),n(i,"cause",r.cause),n(i,"status",r.status),n(i,"code",r.code),n(i,"errno",r.errno),n(i,"details",r.details),n(i,"stack",r.stack),i}return e}function s(t,n,s){var u="".concat(e.baseUrl,"/videomail/").concat(t,"/").concat(n,"/snapshot");(0,i.default)("get",u).type("json").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c="".concat(e.baseUrl,"/videomail/");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set("Timezone-Id",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s("alias",e,t)},this.getByKey=function(e,t){s("key",e,t)},this.reportError=function(t,n){var a={},s="".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,"from"),n=t(n,"to"),n=t(n,"cc"),n=t(n,"bcc"),n=t(n,"subject"),n=t(n,"body")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u("post",t,r)})):u("post",n,r)},this.put=function(e,t){u("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: ".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":112,"@babel/runtime/helpers/interopRequireDefault":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{"./../options":114,"./addOptionsFunctions":117,"./collectLogger":121,"@babel/runtime/helpers/interopRequireDefault":4,deepmerge:27}],119:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug("AudioRecorder: init()");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create("Webcam has no audio",e.toString(),t)}var a=t.audio.bufferSize;if("auto"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug("AudioRecorder: audio context is closed"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e("audio-sample")),o=r(e("is-power-of-two")),a=r(e("./browser")),s=r(e("./videomailError")),u=1},{"./browser":120,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"audio-sample":14,"is-power-of-two":67}],120:[function(e,t,n){"use strict";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")),o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError"));n.default=function(e){e||(e={});var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),h="Chrome"===c.browser.name,p="Brave"===c.browser.name,m="Chromium"===c.browser.name,y="Firefox"===c.browser.name,b=parseFloat(c.os.version),g="Windows"===c.os.name,v="Edge"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S="Facebook"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.":function(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to ')+"upgrade Firefox to fix this.":h?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to ')+"upgrade Chrome to fix this.":m?e='Probably you need to ')+"upgrade Chromium to fix this.":O?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e="Safari below version 11 has no webcam support.
Better upgrade Safari or pick"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?"Hence we recommend you to use a real browser like "+'Chrome, ')+'Firefox or ')+'Edge.'):"Hence we recommend you to use either "+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create("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&&(M(e,"mp4")?t="mp4":M(e,"webm")&&(t="webm")),"webm"!==t&&"mp4"!==t&&(t="mp4"),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam":this.isFirefox()?"Please grant Firefox access to your webcam":"Your system does not let your browser access your webcam",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,defined:29,"ua-parser-js":104}],121:[function(e,t,n){"use strict";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push("[".concat(t,"] ").concat(a)),a}this.debug=function(){var r=s("debug",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s("warn",e))},this.getLines=function(){return r}};var i=r(e("@babel/runtime/helpers/toConsumableArray")),o=r(e("format-util")),a=r(e("./browser"))},{"./browser":120,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/toConsumableArray":7,"format-util":46}],122:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&("removeListener"!==n&&"newListener"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug("".concat(t," emits ").concat(n," with ").concat((0,o.default)(r))):e.debug("".concat(t," emits ").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e("despot")),o=r(e("safe-json-stringify")),a=r(e("./../events")),s=r(e("./videomailError"))},{"./../events":113,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,despot:30,"safe-json-stringify":93}],123:[function(e,t,n){"use strict";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"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{"@babel/runtime/helpers/interopRequireDefault":4,filesize:45,"humanize-duration":61}],124:[function(e,t,n){"use strict";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"]},{}],125:[function(e,t,n){"use strict";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")),o=r(e("safe-json-stringify")),a="- ",s="
".concat(a)},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":93}],126:[function(e,t,n){(function(t){(function(){"use strict";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")),o=r(e("./../resource")),a=r(e("create-error")),s=r(e("safe-json-stringify")),u=r(e("./pretty")),l="Videomail Error",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e("./browser").default)(a);switch("object"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:"error"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p="The operation was insecure",r="Probably you have disallowed Cookies for this page?",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p="Invalid webcam constraints",r=n.constraint?"width"===n.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: ".concat(n.constraint):n.toString();break;case"MediaDeviceFailedDueToShutdown":p="Webcam is shutting down",r="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":p="Source of your webcam cannot be accessed",r="Probably it is locked from another process or has a hardware error.",n.explanation&&(n.explanation+=" Details: ".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":m?(p="No webcam nor microphone found",r="Your browser cannot find a webcam with microphone attached to your machine."):(p="No webcam found",r="Your browser cannot find a webcam attached to your machine."),y.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":p="Ooops, you didn't give me any permissions?",r="Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":p="Permission denied",r="Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.",y.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":p="Webcam is unavailable",r="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(r+=" Or you have to allow access above?"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p="Unable to connect",r="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":p="No video feed found!",r="Your webcam is already used in another browser.",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p="Starting video failed",r="Most likely this happens when the webcam is already active in another browser",y.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":p="No available webcam could be found",r="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p="No access to webcam",r="A hardware error occurred which prevented access to your webcam",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p="Invalid state",r="Video recording stream from your webcam already has finished",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p="Requested webcam not found",r="A webcam is needed but could not be found",y.push(c.WEBCAM_PROBLEM);break;case 9:var g="https:".concat(window.location.href.substring(window.location.protocol.length));p="Security upgrade needed",r='Click here to switch to HTTPs which is more safe ')+" and enables encrypted videomail transfers.",y.push(c.BROWSER_PROBLEM);break;case 11:p="Invalid State",r="The object is in an invalid, unusable state",y.push(c.BROWSER_PROBLEM);break;default:p="DOM Exception",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p="Media device not supported",r=f(n);break;default:var v=r;if(r&&"object"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:"Inspected: ".concat((0,s.default)(v))),n)if("string"==typeof n)p=n;else if(n.message&&(p=f(n.message)+" (pretty)"),n.explanation&&(r?r+=";
".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=";
".concat(w)):r=w}p||(h&&(p=h+" (weird)"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)("VideomailError: create()",p,r||"(no explanation set)");var _,R=b.getUsefulData(),S=t.document.cookie.split("; "),A={title:"videomail-client error",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(",\n"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join("×"),orientation:"string"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k="function"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error("Unable to report error",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./../resource":115,"./browser":120,"./pretty":125,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"create-error":26,"safe-json-stringify":93}],127:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("contains")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)("input#".concat(e.id),{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)("span.radioGroup",t,(0,a.default)("label",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(".".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=".".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)("button.".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g("Buttons: onSubmitting()"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g("Buttons: onEnablingAudio()"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g("Buttons: onDisablingAudio()"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug("Buttons: reset()"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(".".concat(t.selectors.buttonsClass)))||(n=(0,a.default)("div.".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g("Buttons: unload()"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{"../events":113,"../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/defineProperty")),o=r(e("document-visibility")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("safe-json-stringify")),l=r(e("inherits")),c=r(e("../styles/css/main.min.css.js")),f=r(e("../events")),d=r(e("../resource")),h=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),m=r(e("./buttons")),y=r(e("./dimension")),b=r(e("./form")),g=r(e("./optionsWrapper")),v=r(e("./visuals")),w=function(e){h.default.call(this,e,"Container");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector("html"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest("form")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A("Container: initEvents (playerOnly = ".concat(t,")")),e.enableAutoUnload&&window.addEventListener("beforeunload",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause("document invisible"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener("keypress",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===r||"TEXTAREA"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width="".concat(n,"px")}}function N(){t&&(t.style.width="auto")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error("Videomail data is missing for attaching player dimensions");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A("Container: build (".concat((0,u.default)(r),")"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement("div"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),r.playerOnly||D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A("Container: buildChildren (playerOnly = ".concat(n).concat(r?', replayParentElement="'.concat(r.id,'"'):"",")")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A("Container: building failed due to an error."):(A("Container: built."),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add("wait")},this.endWaiting=function(){S.classList&&S.classList.remove("wait")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A("Container: unload(".concat(e?(0,u.default)(e):"",")")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error("No container element exists.");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A("Container: hide()"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A("Container: startOver(".concat(e?(0,u.default)(e):"",")")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input "'.concat(p.name,'" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c="Don't forget to record a video 😉",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v="to"in g,w="cc"in g,R="bcc"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c="At least one recipient is required")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(": ");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A("Container: submitAll(".concat(o,")"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||"POST"===e.toUpperCase()}(t)?function(e){return!!e&&"PUT"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:"".concat(navigator.connection.downlink," Mbit/s"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&""!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A("Container: submit()"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{"../events":113,"../resource":115,"../styles/css/main.min.css.js":116,"../util/eventEmitter":122,"../util/videomailError":126,"./buttons":127,"./dimension":129,"./form":130,"./optionsWrapper":131,"./visuals":132,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4,"document-visibility":31,hidden:60,inherits:65,"insert-css":66,"safe-json-stringify":93}],129:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./../util/videomailError"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create("Got a video height less than 1 (".concat(e,") while figuring out the minimum!"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g("Visuals: buildChildren (playerOnly = ".concat(r).concat(i?', replayParentElement="'.concat(i.id,'"'):"",")")),(t=e.querySelector("noscript"))&&((t=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width="".concat(a.getRecorderWidth(!0),"px"),n.style.height="".concat(a.getRecorderHeight(!0),"px"))}function E(){n&&(n.style.width="auto",n.style.height="auto")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g("Visuals: build (playerOnly=".concat(i,")")),e){if(!(n=s?s.querySelector(".".concat(t.selectors.visualsClass)):e.querySelector(".".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)("div.".concat(t.selectors.visualsClass));var l=e.querySelector(".".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add("visuals")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g("Visuals: initEvents (playerOnly = ".concat(n,")")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,n||s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g("Visuals: back(".concat(e?(0,s.default)(e):"",")")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g("Visuals: unload(".concat(e?(0,s.default)(e):"",")")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{"../events":113,"../util/eventEmitter":122,"./visuals/inside/recorderInsides":138,"./visuals/notifier":139,"./visuals/recorder":140,"./visuals/replay":141,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93}],133:[function(e,t,n){"use strict";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,o.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],134:[function(e,t,n){"use strict";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":113,"./../../../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],135:[function(e,t,n){"use strict";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,o.default)("div.paused"),r=(0,o.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,o.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],136:[function(e,t,n){"use strict";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],137:[function(e,t,n){"use strict";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, ".concat(s," seconds to go"))):(t.setNear(),r.classList.add("near"),n.debug("End is near, ".concat(s," seconds to go")))}r.innerHTML="".concat(i,":").concat((e=o)<10?"0".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,i.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 ~".concat(h()-s," seconds.")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,o.default)("p.recordTimer"),d(),e.appendChild(r))}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],138:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("inherits")),o=r(e("./../../../events")),a=r(e("./../../../util/browser")),s=r(e("./../../../util/eventEmitter")),u=r(e("./recorder/countdown")),l=r(e("./recorder/facingMode")),c=r(e("./recorder/pausedNote")),f=r(e("./recorder/recordNote")),d=r(e("./recorder/recordTimer")),h=function(e,t){s.default.call(this,t,"RecorderInsides");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m("RecorderInsides: initEvents()"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m("RecorderInsides: build()"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{"./../../../events":113,"./../../../util/browser":120,"./../../../util/eventEmitter":122,"./recorder/countdown":133,"./recorder/facingMode":134,"./recorder/pausedNote":135,"./recorder/recordNote":136,"./recorder/recordTimer":137,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],139:[function(e,t,n){"use strict";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("inherits")),s=r(e("../../events")),u=r(e("../../util/eventEmitter")),l="notifierMessage",c=function(e,t){u.default.call(this,t,"Notifier");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h("Notifier: initEvents()"),d.on(s.default.CONNECTING,(function(){d.notify("Connecting …")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width="auto",n.style.height="".concat(e.getRecorderHeight(!0,!0),"px")):(n.style.width="".concat(e.getRecorderWidth(!0),"px"),n.style.height="".concat(e.getRecorderHeight(!0),"px")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(h("Limit reached"),r+="".concat(t.text.limitReached,".
")),r+="".concat(t.text.sending," …"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: ".concat(e),n&&(r+=", Audio: ".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n="".concat(t.text.encoding," …");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify("Unloading …")})).on(s.default.DISCONNECTED,(function(){d.notify("Disconnected")})).on(s.default.CONNECTED,(function(){d.notify("Connected"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain ".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove("entertain"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug("Notifier: setExplanation(".concat(e,")")),r||(r=(0,o.default)("p",{className:"explanation"}),n?n.appendChild(r):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove("blocking")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug("Notifier: notify(".concat(f.join(", "),")"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className="notifier"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width="auto",n.style.height="auto")),m?(n&&n.classList.add("blocking"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug("Notifier: setMessage(".concat(e,")")),g()||(p=(0,o.default)("h2",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn("Unable to show message ".concat(e," because notifyElement is empty"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?"☹ ":"")+e}else t.logger.warn("Not going to update notifierMessage element because message is empty");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{"../../events":113,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;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("inherits")),c=r(e("safe-json-stringify")),f=r(e("websocket-stream")),d=r(e("../../constants")),h=r(e("../../events")),p=r(e("../../util/browser")),m=r(e("../../util/eventEmitter")),y=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,"Recorder");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create("FPS must be defined",E);var _,R,S,A,O,k,x,T,j,D,N,M,C,I,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed to write stream buffer","stream.write() failed because of ".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of ".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K("Recorder: onUserMediaReady()",(0,c.default)(t));var n=t.switchingFacingMode;M=F=I=C=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return"".concat((te/(Q||1)*100).toFixed(2),"%")}function le(){return"".concat((ne/(X||1)*100).toFixed(2),"%")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K("Recorder: initializing web socket to %s",E.socketUrl),Y.emit(h.default.CONNECTING);var t="".concat(E.socketUrl,"?").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),"=").concat(encodeURIComponent(E.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: ".concat((0,b.default)(e)),E):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on("close",(function(e){K("".concat(w,"Stream has closed")),B=U=!1,e?Y.emit(h.default.ERROR,e||"Unhandled websocket error"):N&&fe()})),L.on("connect",(function(){K("".concat(w,"Stream *connect* event emitted"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||I||(U=!0,B=I=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on("data",(function(e){var t;K("".concat(w,"Stream *data* event emitted"));try{t=JSON.parse(e.toString())}catch(t){K("Failed to parse command:",t),Y.emit(h.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was ".concat(e.toString(),". "),E))}finally{ye.call(Y,t)}})),L.on("error",(function(e){K("".concat(w,"Stream *error* event emitted: ").concat((0,c.default)(e)))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted (should not happen!)"))})),L.on("preend",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("end",(function(){K("".concat(w,"Stream *end* event emitted"))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted"))})),L.on("pipe",(function(){K("".concat(w,"Stream *pipe* event emitted"))})),L.on("unpipe",(function(){K("".concat(w,"Stream *unpipe* event emitted"))})),L.on("resume",(function(){K("".concat(w,"Stream *resume* event emitted"))})),L.on("uncork",(function(){K("".concat(w,"Stream *uncork* event emitted"))})),L.on("readable",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("prefinish",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("finish",(function(){K("".concat(w,"Stream *preend* event emitted"))})))}}function de(e){M=!1,Re(),K("Recorder: userMediaErrorCallback(), name: ".concat(e.name,", message: ").concat(e.message," and Webcam characteristics: ").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K("Recorder: ignore user media error",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!I)throw K("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.",E);K("Recorder: already unloaded. Not going to throw error",e)}}function he(e,t){if(K("Recorder: getUserMediaCallback()",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error("Navigator is missing!");if(K("Recorder: loadGenuineUserMedia()"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K("Recorder: navigator.mediaDevices.getUserMedia()",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K("Recorder: navigator.mediaDevices.getSupportedConstraints()",(0,c.default)(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.",E);n.then((function(t){he(t,e)})).catch(de)}else K("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K("Recorder: skipping loadUserMedia() because it is already loaded"),se(e),!1;if(M)return K("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;K("Recorder: loadUserMedia(".concat((0,c.default)(e),")")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(h.default.ERROR).length)throw K("Recorder: no error listeners attached but throwing exception",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!I)try{switch(e.args?K("Server commanded: ".concat(e.command," with ").concat((0,c.default)(e.args))):K("Server commanded: ".concat(e.command)),e.command){case"ready":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case"preview":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source("".concat(e.mp4+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.mp4"),!0),e.webm&&n.setWebMSource("".concat(e.webm+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.webm"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K("While recording, %s have been transferred and waiting time was %s",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case"error":this.emit(h.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No message given)",E));break;case"confirmFrame":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case"confirmSample":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case"beginAudioEncoding":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,"Unknown server command: ".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?"$ ".concat(e," with ").concat((0,c.default)(n)):"$ ".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K("Reconnecting for the command",e,"…"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K("Recorder: reInitializeAudio()"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K("Recorder: clearUserMediaTimeout()"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K("Recorder: initEvents()"),Y.on(h.default.SUBMITTING,(function(){C=!0})).on(h.default.SUBMITTED,(function(){C=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K("Recorder: loopWithTimeouts()");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K("Recorder: restoreAnimationFrameObject()"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":K("Recorder: unsupported facing mode",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K("stop(".concat((0,c.default)(e),")"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve("stop",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),I=!1,ae(),ve("back",e)},this.unload=function(e){var t;!I&&W&&(e&&(t=e.name||e.statusText||e.toString()),K("Recorder: unload()".concat(t?", cause: ".concat(t):"")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),C||L&&(K("Recorder: ending stream ..."),L.destroy(),L=void 0),I=!0,W=B=U=!1)},this.reset=function(){I||(K("Recorder: reset()"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?"pause() at frame ".concat(Q," with ").concat((0,c.default)(e)):"pause() at frame ".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K("Recorder: pinging..."),re(t.from(""))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K("Recorder: resume() with frame ".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(I)return!1;if(!U)return K("Recorder: reconnecting before recording ..."),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create("Load and enable your camera first",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext("2d"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K("Recorder: record()"),S.record(),Y.emit(h.default.RECORDING,Q),J.on("update",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K("Recorder: avgFps = ".concat(n,", framesCount = ").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid height.",E)),!1):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid width.",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector("video.".concat(E.selectors.userMediaClass)))||(R=(0,u.default)("video.".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute("playsinline",!0),R.setAttribute("webkit-playsinline","webkit-playsinline"),R.style.transform="rotateY(180deg)",R.style["-webkit-transform"]="rotateY(180deg)",R.style["-moz-transform"]="rotateY(180deg)",E.video.stretch&&(R.style.width="100%"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K("Recorder: clearRetryTimeout()"),clearTimeout(O),O=null))},this.isUnloaded=function(){return I},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":112,"../../events":113,"../../util/browser":120,"../../util/eventEmitter":122,"../../util/humanize":123,"../../util/pretty":125,"../../util/videomailError":126,"./userMedia":142,"@babel/runtime/helpers/interopRequireDefault":4,animitter:13,buffer:18,"canvas-to-buffer":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93,"websocket-stream":107}],141:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../../events")),l=r(e("../../util/browser")),c=r(e("../../util/eventEmitter")),f=function(e,t){c.default.call(this,t,"Replay");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return"HTMLDivElement"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+="?".concat(Date.now())),o)n?o.setAttribute("src",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)("source",{src:"".concat(n,"#t=").concat(s),type:"video/".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName("track"),n=t&&t[0];if(n)e?n.setAttribute("src",e):r.removeChild(n);else{var i=(0,a.default)("track",{src:e,kind:"captions",default:!0});r.appendChild(i),r.setAttribute("crossorigin","anonymous")}}(s.vtt),s.poster&&r.setAttribute("poster",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(".".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h("Replay: show(playerOnly=".concat(l,")")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?"".concat(i,"px"):"auto",r.style.height=n>0?"".concat(n,"px"):"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),r.load(),s?r.addEventListener("canplaythrough",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener("canplaythrough",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h("Replay: build (".concat(o?'replayParentElement="'.concat(o.id,'"'):"",")")),(r=e.querySelector("video.".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if("string"==typeof n&&!(n=document.getElementById(n)))throw new Error("No replay parent element container with ID ".concat(n," found."));var i="video.".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h("Replay: built.")},this.unload=function(){h("Replay: unload()"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug("UserMedia: unloadAllEventListeners()"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener("play",k),p.removeEventListener&&p.removeEventListener("loadedmetadata",x)}function A(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState=".concat(p.readyState),"media.paused=".concat(p.paused),"media.ended=".concat(p.ended),"media.played=".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}(n=e)&&"undefined"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug("UserMedia: fireCallbacks("+"readyState=".concat(s,", ")+"onPlayReached=".concat(l,", ")+"onLoadedMetaDataReached=".concat(h,")")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",k),E()||_()?o(d.default.create("Already busy","Probably another browser window is using your webcam?",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=" with enabled=".concat(T.enabled),j+=", muted=".concat(T.muted),j+=", remote=".concat(T.remote),j+=", readyState=".concat(T.readyState),j+=", error=".concat(T.error),t.debug("UserMedia: ".concat(T.kind," detected."),j||"")}else t.debug("UserMedia: detected (but no video tracks exist");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener("loadedmetadata",x),p.addEventListener("play",k),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e("hyperscript")),o=r(e("safe-json-stringify")),a=r(e("./../../events")),s=r(e("./../../util/audioRecorder")),u=r(e("./../../util/browser")),l=r(e("./../../util/eventEmitter")),c=r(e("./../../util/mediaEvents")),f=r(e("./../../util/pretty")),d=r(e("./../../util/videomailError")),h="|—O—|"},{"./../../events":113,"./../../util/audioRecorder":119,"./../../util/browser":120,"./../../util/eventEmitter":122,"./../../util/mediaEvents":124,"./../../util/pretty":125,"./../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hyperscript:62,"safe-json-stringify":93}],"videomail-client":[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./client"));n.default=i.default},{"./client":111,"@babel/runtime/helpers/interopRequireDefault":4}]},{},["videomail-client"])("videomail-client")})); //# sourceMappingURL=videomail-client.min.js.map diff --git a/prototype/js/videomail-client.min.js.map b/prototype/js/videomail-client.min.js.map index 158f95b8..f74ede66 100644 --- a/prototype/js/videomail-client.min.js.map +++ b/prototype/js/videomail-client.min.js.map @@ -1 +1 @@ -{"version":3,"file":"videomail-client.min.js","names":["f","exports","module","define","amd","window","global","self","this","VideomailClient","r","e","n","t","o","i","c","require","u","a","Error","code","p","call","length","_dereq_","Array","__esModule","arrayLikeToArray","isArray","toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","default","Symbol","iterator","from","TypeError","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_typeof","toPrimitive","String","Number","constructor","prototype","toString","slice","name","test","root","factory","modules","installedModules","__webpack_require__","moduleId","id","loaded","m","target","listener","options","obj","key","optionName","arguments","undefined","addEventListener","listenerOptions","_checkSupport","SupportMap","assign","_OptionsMap","_constants","_defineProperty","OptionsMap","PASSIVE","CAPTURE","ONCE","keys","forEach","k","property","opts","get","removeListener","checkSupportForProperty","methods","EventEmitter","inherits","raf","defaultRAFObject","requestAnimationFrame","cancelAnimationFrame","cancel","returnTrue","Animitter","__delay","delay","fixedDelta","frameCount","deltaTime","elapsedTime","__running","__completed","setFPS","fps","Infinity","setRequestAnimationFrameObject","requestAnimationFrameObject","onStart","scope","rAFID","now","Date","running","__lastTime","emit","lastRAFObject","drawFrame","__isReadyForUpdate","update","method","off","trigger","complete","stop","dispose","removeAllListeners","getDeltaTime","getElapsedTime","getFPS","getFPSLimit","__fps","getFrameCount","getRequestAnimationFrameObject","isRunning","isCompleted","reset","lastTime","half","Math","ceil","makeThrottle","object","start","setTimeout","globalFixedDelta","min","createAnimitter","fn","_instance","on","bind","apply","bound","fnKey","loop","functionKeys","arr","push","functions","hasBind","Function","getTime","events","float32Array","toBuffer","Int16Array","byteLength","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","tmp","Arr","_byteLength","curByte","len","revLookup","charCodeAt","fromByteArray","uint8","extraBytes","parts","maxChunkLength","len2","encodeChunk","lookup","join","Uint8Array","indexOf","end","num","output","undef","nativeSplit","split","compliantExecNpcg","exec","str","separator","limit","separator2","match","lastIndex","lastLength","flags","ignoreCase","multiline","extended","sticky","lastLastIndex","RegExp","source","index","replace","Buffer","base64","ieee754","SlowBuffer","alloc","INSPECT_MAX_BYTES","K_MAX_LENGTH","createBuffer","RangeError","buf","__proto__","arg","encodingOrOffset","allocUnsafe","string","encoding","isEncoding","actual","write","fromString","ArrayBuffer","isView","fromArrayLike","isInstance","buffer","array","byteOffset","fromArrayBuffer","valueOf","b","isBuffer","checked","copy","numberIsNaN","type","data","fromObject","assertSize","size","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","toLowerCase","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","val","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","remaining","strLen","parsed","parseInt","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","res","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","kMaxLength","TYPED_ARRAY_SUPPORT","foo","typedArraySupport","console","error","species","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","x","y","concat","list","pos","swap16","swap32","swap64","toLocaleString","equals","inspect","max","trim","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","_arr","ret","out","toHex","bytes","checkOffset","ext","checkInt","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","set","INVALID_BASE64_RE","leadSurrogate","base64clean","src","dst","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","setFunctionLength","$TypeError","$apply","$call","$reflectApply","$defineProperty","$max","originalFunction","func","applyBind","document","createElement","quality","types","canvas","composeMimeType","isMatch","getTestCanvas","width","height","canvasSupportsMimeType","toDataURL","figureMimeType","uriToBuffer","atob","s","getMimeType","indexof","isTruthy","elem","cl","classList","add","remove","contains","toggle","token","className","item","getTokens","setTokens","splice","filter","Emitter","mixin","event","_callbacks","once","removeEventListener","cb","callbacks","args","listeners","hasListeners","container","comparison","compareDocumentPosition","objectToString","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","re","isObject","isDate","d","isError","isFunction","isPrimitive","createErrorLib","lastcreateError","createError","noConflict","getName","getTarget","properties","getProps","ErrorCtor","message","attachProps","stack","captureStackTrace","Err","context","inheritedKeys","l","clone","cloned","create","attr","hasOwnProperty","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","for","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","map","element","getKeys","getOwnPropertySymbols","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","_","mergeObject","destination","propertyIsUnsafe","customMerge","getMergeFunction","arrayMerge","sourceIsArray","all","reduce","prev","next","deepmerge_1","$SyntaxError","gopd","nonEnumerable","nonWritable","nonConfigurable","loose","desc","Despot","_singletonDespotInstance","Event","Keys","noop","visible","onChange","broadcast","noopShim","hidden","geval","prefix","mozHidden","msHidden","webkitHidden","detectPrefix","substring","doccy","topLevel","minDoc","process","eos","stream","callback","ws","_writableState","rs","_readableState","readable","cancelled","onlegacyfinish","onfinish","onend","onexit","exitCode","onerror","err","onclose","nextTick","onclosenexttick","ended","destroyed","onrequest","req","setHeader","abort","isRequest","stdio","isChildProcess","_process","EvalError","ReferenceError","SyntaxError","URIError","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","ownKeys","getOwnPropertyNames","NumberIsNaN","isNaN","init","emitter","Promise","resolve","reject","errorListener","resolver","eventTargetAgnosticAddListener","handler","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","prepend","existing","warning","newListener","unshift","warned","w","count","warn","onceWrapper","fired","wrapFn","_onceWrap","state","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","getPrototypeOf","setMaxListeners","getMaxListeners","doError","er","addListener","prependListener","prependOnceListener","position","originalListener","shift","pop","spliceOne","rawListeners","eventNames","stringify","stable","deterministicStringify","stableStringify","LIMIT_REPLACE_NODE","CIRCULAR_REPLACE_NODE","replacerStack","defaultOptions","depthLimit","MAX_SAFE_INTEGER","edgesLimit","replacer","spacer","decirc","JSON","replaceGetterValues","part","setReplace","parent","propertyDescriptor","getOwnPropertyDescriptor","edgeIndex","depth","compareFunction","deterministicDecirc","sort","v","BITS","BYTES","EMPTY","JEDEC","ROUND","STRING","STRINGS","iec","bits","jedec","fullform","filesize","pad","base","round","locale","localeOptions","symbols","standard","fullforms","exponent","roundingMethod","precision","result","full","neg","roundingFunc","floor","log","toPrecision","padEnd","unit","partial","fmt","escaped","ptn","flag","toStr","concatty","arrLike","slicy","boundLength","boundArgs","joiner","joiny","Empty","implementation","_extends","getFormData","getFieldData","NODE_LIST_CLASSES","IGNORED_ELEMENT_TYPES","button","fieldset","submit","CHECKED_INPUT_TYPES","checkbox","radio","TRIM_RE","form","includeDisabled","elementName","elementNames","elementNameLookup","elements","disabled","_i","_l","fieldName","getFormElementValue","allRadios","selectedIndex","selected","multiple","files","hasAttribute","$Error","$EvalError","$RangeError","$ReferenceError","$URIError","$Function","getEvalledConstructor","expressionSyntax","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","hasProto","getProto","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int32Array","Map","parseFloat","Proxy","Set","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","errorProto","doEval","gen","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","alias","intrinsicName","first","last","number","quote","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","hasown","listen","broadcaster","tuple","win","hasPropertyDescriptors","hasArrayLengthDefineBug","$Object","origSymbol","hasSymbolSham","sym","symObj","syms","descriptor","$hasOwn","style","display","prop","has","GREEK","language","LANGUAGES","af","am","ar","getArabicForm","delimiter","_hideCountIf2","_digitReplacements","bg","getSlavicForm","bn","ca","ckb","cs","getCzechOrSlovakForm","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","gr","he","hr","mod10","hu","is","it","ja","km","kn","ko","ku","lt","getLithuanianForm","lv","getLatvianForm","mk","mn","mr","ms","nl","no","pl","getPolishForm","pt","ro","ru","sq","sr","ta","te","uk","ur","sk","sl","sv","sw","_numberFirst","tr","th","uz","uz_CYR","vi","zh_CN","zh_TW","mo","h","decimal","renderPiece","piece","digitReplacements","formattedCount","unitName","unitCount","maxDecimalPoints","countStr","char","word","languageWord","formatPieces","pieces","possibleLanguages","fallbacks","languageToTry","languages","getLanguage","conjunction","serialComma","renderedPieces","humanizer","passedOptions","humanizerOptions","abs","msRemaining","unitMeasures","largest","unitCounts","unitMs","unitsRemainingBeforeRound","smallerUnitName","smallerUnitCount","rounded","previousUnitName","previousUnitMs","amountOfPreviousUnit","getPieces","humanizeDuration","getSupportedLanguages","ClassList","Text","cleanupFuncs","appendChild","createTextNode","setAttribute","isNode","attachEvent","detachEvent","cssText","setProperty","parentElement","replaceChild","textContent","cleanup","nodeName","nodeType","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","ctor","superCtor","super_","TempCtor","containers","styleElements","insertCss","css","styleElement","querySelector","containerId","createStyleElement","insertBefore","childNodes","styleSheet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","functionToString","$match","$slice","$toUpperCase","toUpperCase","$toLowerCase","$test","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","custom","inspectSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","seen","maxStringLength","customInspect","indent","numericSeparator","inspectString","bigIntStr","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","getAttribute","isElement","attrs","attributes","xs","singleLineValues","indentedJoin","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isBigInt","globalThis","ys","isPlainObject","protoTag","stringTag","tag","trailer","lowbyte","entries","lineJoiner","isArr","symMap","wrappy","called","onceStrict","onceError","strict","proto","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","uptime","version","arg1","arg2","arg3","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","title","browser","env","argv","versions","binding","cwd","chdir","umask","percentTwenties","Format","formatters","RFC1738","RFC3986","parse","formats","utils","defaults","allowDots","allowEmptyArrays","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","decodeDotInKeys","decoder","decode","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictDepth","strictNullHandling","$0","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","child","segment","chain","leaf","cleanRoot","charAt","decodedRoot","parseObject","normalizeParseOptions","tempObj","cleanStr","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","merge","compact","getSideChannel","arrayPrefixGenerators","brackets","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","arrayFormat","encode","encodeDotInKeys","encoder","encodeValuesOnly","format","formatter","serializeDate","date","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","step","findFlag","objKeys","values","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","joined","hexTable","arrayToObject","acc","refs","compacted","compactQueue","strWithoutPlus","unescape","defaultEncoder","kind","escape","mapped","mergeTarget","targetItem","vendors","suffix","caf","frameDuration","_now","cp","handle","polyfill","pna","objectKeys","Duplex","util","Readable","Writable","allowHalfOpen","onEndNT","highWaterMark","_destroy","PassThrough","Transform","_transform","chunk","ReadableState","EElistenerCount","Stream","OurUint8Array","debugUtil","debug","debuglog","StringDecoder","BufferList","destroyImpl","kProxyEvents","isDuplex","objectMode","readableObjectMode","hwm","readableHwm","readableHighWaterMark","defaultHwm","pipes","pipesCount","flowing","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","awaitDrain","readingMore","_read","destroy","readableAddChunk","addToFront","skipChunkCheck","emitReadable","onEofChunk","chunkInvalid","_uint8ArrayToBuffer","addChunk","maybeReadMore","needMoreData","_undestroy","undestroy","isPaused","setEncoding","enc","MAX_HWM","howMuchToRead","head","computeNewHighWaterMark","emitReadable_","flow","maybeReadMore_","nReadingNextTick","resume_","fromList","clear","hasStrings","nb","tail","copyFromBufferString","copyFromBuffer","fromListPartial","endReadable","endReadableNT","nOrig","doRead","pipe","dest","pipeOpts","endFn","stdout","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","ondrain","ondata","cleanedUp","needDrain","pipeOnDrain","increasedAwaitDrain","pause","resume","dests","ev","wrap","_this","paused","_fromList","isarray","afterTransform","ts","_transformState","transforming","writecb","writechunk","needTransform","writeencoding","transform","flush","_flush","prefinish","done","_write","_this2","err2","setImmediate","CorkedRequest","entry","finish","corkReq","pendingcb","corkedRequestsFree","onCorkedFinish","asyncWrite","WritableState","internalUtil","deprecate","realHasInstance","nop","writableObjectMode","writableHwm","writableHighWaterMark","finalCalled","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","onwriteStateUpdate","finishMaybe","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","_final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","getBuffer","current","hasInstance","writeAfterEnd","valid","validChunk","newChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","timers","instance","Constructor","_classCallCheck","emitErrorNT","readableDestroyed","writableDestroyed","copyProps","SafeBuffer","nenc","retried","_normalizeEncoding","normalizeEncoding","text","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckExtraBytes","total","utf8CheckIncomplete","hasProp","throwsMessage","ensureProperties","visit","fResult","aResult","safeGetValueFromPropertyOnObject","space","hasDescriptors","gOPD","functionLengthIsConfigurable","functionLengthIsWritable","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","$wm","$m","$o","channel","assert","objects","node","listGet","listHas","listSet","_duplexState","idx","bufferIndex","getStateLength","Agent","_defaults","_setDefaults","request","def","_len","_key","safeStringify","qs","RequestBase","ResponseBase","url","Request","getXHR","XMLHttpRequest","serialize","pairs","pushEncodedKeyValuePair","subkey","parseString","string_","pair","length_","isJSON","mime","Response","request_","xhr","responseType","responseText","statusText","status","_setStatusProperties","headers","lines","fields","line","field","parseHeader","getAllResponseHeaders","header","getResponseHeader","_setHeaderProperties","_responseType","body","response","_parseBody","_query","_header","new_error","original","rawResponse","statusCode","_isResponseOK","serializeObject","html","json","xml","urlencoded","_parser","toError","accept","auth","user","pass","btoa","_auth","query","attach","file","_data","_getFormData","append","_formData","FormData","_shouldRetry","_retry","_callback","_maxRetries","retries","_retries","crossDomainError","crossDomain","agent","_isHost","_endCalled","_finalizeQueryString","_end","_setUploadTimeout","_uploadTimeout","_uploadTimeoutTimer","_timeoutError","_aborted","_setTimeouts","readyState","_responseTimeoutTimer","timedout","handleProgress","direction","percent","upload","username","password","open","_withCredentials","withCredentials","contentType","_serializer","setRequestHeader","send","del","delete","patch","post","put","_timer","_timeout","_responseTimeout","option","deadline","retry","_retryCallback","ERROR_CODES","STATUS_CODES","override","timedoutError","then","_fullfilledPromise","catch","use","ok","_okCallback","getHeader","unset","base64Encoder","redirects","_maxRedirects","maxResponseSize","_maxResponseSize","isObject_","sortQuery","_sort","queryArray","_appendQueryString","reason","errno","ct","parameters","params","links","link","parseLinks","trunc","statusType","info","redirect","clientError","serverError","created","accepted","noContent","badRequest","unauthorized","notAcceptable","forbidden","notFound","unprocessableEntity","cleanHeader","changesOrigin","host","authorization","cookie","isGzipOrDeflateEncoding","isBrotliEncoding","clearImmediate","immediateIds","nextImmediateId","Timeout","clearFn","_id","_clearFn","setInterval","clearInterval","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","CHROMIUM_OS","MAC_OS","SUFFIX_BROWSER","enumerize","enums","str1","str2","lowerize","rgxMapper","ua","arrays","q","matches","regex","props","strMapper","windowsVersionMap","ME","XP","Vista","RT","regexes","cpu","device","tablet","engine","EDGE","os","UAParser","extensions","getResult","_navigator","navigator","_ua","userAgent","_uach","userAgentData","_rgxmap","mergedRegexes","extend","_isSelfNav","getBrowser","_browser","brave","isBrave","getCPU","_cpu","getDevice","_device","mobile","standalone","maxTouchPoints","getEngine","_engine","getOS","_os","platform","getUA","setUA","CPU","DEVICE","ENGINE","OS","$","jQuery","Zepto","parser","config","localStorage","msg","trace","SIGNAL_FLUSH","onuncork","_corked","destroyer","_autoDestroy","autoDestroy","_ended","Duplexify","_writable","_readable","_readable2","_forwardDestroy","_forwardEnd","_ondrain","_drained","_forwarding","_unwrite","_unread","setWritable","setReadable","unend","onreadable","_forward","_finish","duplexify","WS","protocols","socket","isBrowser","isNative","WebSocket","socketWrite","socketWriteBrowser","bufferedAmount","bufferSize","bufferTimeout","coerceToBuffer","OPEN","protocol","binary","proxy","socketEnd","buildProxy","browserBufferSize","browserBufferTimeout","binaryType","eventListenerSupport","onopen","onmessage","chunks","buffers","MozWebSocket","wrapper","description","keywords","homepage","repository","license","author","contributors","email","main","scripts","audit","build","lint","major","minor","prettier","watch","dependencies","animitter","defined","despot","hyperscript","keymirror","superagent","devDependencies","autoprefixer","babelify","browserify","cssnano","eslint","glob","gulp","minimist","nib","postcss","router","tape","typescript","watchify","engines","npm","readmeFilename","_interopRequireDefault","_inherits","_resource","_adjustOptions","_eventEmitter","_container","localOptions","building","isBuilt","show","replay","videomail","replayParentElementId","unload","playerOnly","addPlayerDimensions","buildForm","loadForm","REPLAY_SHOWN","showReplayOnly","getReplay","setVideomail","getElement","startOver","hide","getByAlias","getByKey","canRecord","isDirty","isRecording","getLogLines","logger","getLines","public","Events","SITE_NAME_LABEL","VERSION_LABEL","ENC_TYPE_APP_JSON","ENC_TYPE_FORM","_keymirror","BUILT","FORM_READY","LOADING_USER_MEDIA","USER_MEDIA_READY","CONNECTING","CONNECTED","DISCONNECTED","COUNTDOWN","RECORDING","STOPPING","STOPPED","PROGRESS","BEGIN_AUDIO_ENCODING","BEGIN_VIDEO_ENCODING","RESETTING","PAUSED","RESUMING","PREVIEW","PREVIEW_SHOWN","INVALID","VALIDATING","VALID","SUBMITTING","SUBMITTED","ERROR","BLOCKING","SENDING_FIRST_FRAME","FIRST_FRAME_SENT","HIDE","NOTIFYING","ENABLING_AUDIO","DISABLING_AUDIO","LOADED_META_DATA","EVENT_EMITTED","GOING_BACK","STARTING_OVER","ASKING_WEBCAM_PERMISSION","VISIBLE","INVISIBLE","SWITCH_FACING_MODE","SERVER_READY","UNLOADING","_package","_addOptionsFunctions","logStackSize","verbose","NODE_ENV","baseUrl","socketUrl","siteName","enablePause","enableAutoPause","enableSpace","submitWithVideomail","disableSubmit","enableAutoValidation","enableAutoUnload","enableAutoSubmission","enctype","selectors","containerClass","replayClass","userMediaClass","visualsClass","buttonClass","buttonsClass","recordButtonClass","pauseButtonClass","resumeButtonClass","previewButtonClass","recordAgainButtonClass","submitButtonClass","subjectInputName","fromInputName","toInputName","ccInputName","bccInputName","bodyInputName","sendCopyInputName","keyInputName","parentKeyInputName","formId","submitButtonId","submitButtonSelector","audio","enabled","switch","volume","video","limitSeconds","countdown","facingMode","facingModeButton","stretch","image","pausedHeader","pausedHint","sending","limitReached","audioOff","audioOn","buttons","record","recordAgain","preview","notifier","entertain","entertainClass","entertainLimit","entertainInterval","timeouts","userMedia","connection","pingInterval","loadUserMediaOnRecord","adjustFormDataBeforePosting","to","cc","bcc","subject","displayErrors","adjustFormOnBrowserError","reportErrors","fakeUaString","optionsWithFunctions","applyDefaultValue","packedError","packError","originalError","details","fetch","identifierName","identifierValue","_superagent","timezoneId","prettyError","identifier","queryParams","returnedVideomail","reportError","applyDefaultValues","adjustedVideomail","formData","formType","Intl","DateTimeFormat","resolvedOptions","timeZone","audioEnabled","hasDefinedWidth","hasDefinedHeight","hasDefinedDimension","hasDefinedDimensions","getRatio","ratio","hasVideoDimensions","videoHeight","videoWidth","isAudioEnabled","setAudioEnabled","isAutoPauseEnabled","_deepmerge","_collectLogger","_options","_destination","collectLogger","scriptProcessor","audioInput","vcAudioContext","getAudioContextClass","AudioContext","webkitAudioContext","hasAudioContext","getAudioContext","localMediaStream","createGain","createMediaStreamSource","exc","_videomailError","isFirefox","_isPowerOfTwo","gain","createScriptProcessor","CHANNELS","connect","onaudioprocess","inputBuffer","getChannelData","_audioSample","onAudioProcess","disconnect","getSampleRate","sampleRate","_typeof2","_defined","_uaParserJs","videoType","firefoxDownload","edgeDownload","chromeDownload","uaParser","isIOS","browserVersion","isChrome","isChromium","firefox","osVersion","isWindows","isEdge","isSafari","isOpera","isAndroid","chromeBased","isFacebook","isMobile","isOkSafari","isOkIOS","isBadIOS","isHTTPS","fakeHttps","location","okBrowser","getUserMediaWarning","getRecommendation","isChromeBased","canPlayType","hasNavigator","mediaDevices","getUserMedia","getUserMedia_","checkRecordingCapabilities","IOS_PROBLEM","BROWSER_PROBLEM","checkBufferTypes","getVideoType","getNoAccessIssue","explanation","getUsefulData","architecture","lifo","level","_formatUtil","_toConsumableArray2","groupCollapsed","groupEnd","moreArguments","_safeJsonStringify","_despot","eventName","_filesize2","_humanizeDuration","toTime","anything","DASH","SEPARATOR","arrayToString","sLines","propertyNames","excludes","exclude","_createError","_pretty","VIDEOMAIL_ERR_NAME","VideomailError","logLines","promise","screen","orientation","pretty","PERMISSION_DENIED","NOT_ALLOWED_ERROR","NOT_CONNECTED","DOM_EXCEPTION","STARTING_FAILED","MEDIA_DEVICE_NOT_SUPPORTED","WEBCAM_PROBLEM","OVERCONSTRAINED","NOT_FOUND_ERROR","NOT_READABLE_ERROR","SECURITY_ERROR","TRACK_START_ERROR","INVALID_STATE_ERROR","_err$constructor","errType","Browser","NotFoundError","constraint","newUrl","href","originalExplanation","resource","usefulClientData","cookies","errData","colorDepth","errNo","errCode","errName","errConstraint","errConstructorName","videomailError","hasClass","getClassList","removeDimensions","hideButtons","browserProblem","hideForm","_contains","_hidden","_hyperscript","Buttons","buttonsElement","recordButton","pauseButton","resumeButton","previewButton","recordAgainButton","submitButton","audioOnRadioPair","audioOffRadioPair","built","isShown","disable","tagName","enable","adjustButton","buttonElement","replaceClickHandler","clickHandler","onclick","preventDefault","makeRadioButtonPair","radioButtonElement","radioButtonGroup","getElementById","htmlFor","label","changeHandler","onchange","makeButton","selector","innerHTML","onFormReady","onFirstFrameSent","beginWaiting","initEvents","switchingFacingMode","recordWhenReady","onUserMediaReady","adjustButtonsForPause","framesCount","onRecording","enableSubmit","isCountingDown","isRecordAgainButtonEnabled","isReady","isRecordButtonEnabled","setSubmitButton","newSubmitButton","getSubmitButton","hasForm","disableAudio","enableAudio","deep","_defineProperty2","_documentVisibility","_insertCss","_mainMinCss","_buttons","_dimension","_form","_optionsWrapper","_visuals","Container","containerElement","visibility","visuals","htmlElement","hasError","submitted","lastValidation","getFormElement","closest","findParentFormElement","_e$target","isContentEditable","contentEditable","pauseOrResume","recordOrStop","processError","endWaiting","correctDimensions","getRecorderWidth","finalizeSubmissions","formResponse","validateOptions","formElement","findSubmitButton","replayParentElement","getParentElement","playerHeight","calculateHeight","responsive","playerWidth","calculateWidth","limitWidth","limitHeight","fnOptions","hasElement","buildOptions","_replayParentElement","buildChildren","reference","unloadChildren","isReplayShown","back","enableForm","keepHidden","isNotifying","validate","force","runValidation","isConnected","isUserMediaLoaded","isConnecting","_event$target","targetName","whyInvalid","invalidData","visualsValid","invalidInput","getInvalidElement","isHidden","_recipients$to","_recipients$cc","_recipients$bcc","recipients","getRecipients","toIsConfigured","ccIsConfigured","bccIsConfigured","hasTo","hasCc","hasBcc","disableForm","buttonsToo","submitAll","startSubmission","videomailFormData","transformFormData","isPost","isPut","recordingStats","getRecordingStats","getRecorderHeight","downlink","effectiveType","rtt","submitVideomail","err1","videomailResponse","submitForm","isRecorderUnloaded","isOutsideElementOf","parentNode","loadVideomail","doTheSubmit","figureMinHeight","isInteger","limitedWidth","outerWidth","rect","getBoundingClientRect","right","left","getOuterWidth","limitedHeight","documentElement","clientHeight","calculatedWidth","trimEmail","Form","keyInput","FORM_FIELDS","parentKey","sendCopy","getData","setDisabled","isRegisteredFormField","formElementName","getRegisteredFormElements","querySelectorAll","registeredElements","resetForm","inputElements","inputElement","transformedFormData","formFieldValue","input","videomailKey","dispatchEvent","bubbles","hideAll","removeAllInputListeners","validity","newOptions","_recorderInsides","_notifier","_recorder","_replay","Visuals","visualsElement","recorder","recorderInsides","noScriptElement","isRecordable","clientWidth","blockingOptions","removeChild","hidePause","isVisible","showPause","resumeCountdown","startCountdown","getRecorder","getAudioSampleRate","showVisuals","isUnloaded","useBoundingClientRect","checkTimer","intervalSum","isNotifierBuilt","hideReplay","hideRecorder","countdownElement","intervalId","countBackward","fire","facingModeElement","pausedBlockElement","pausedHeaderElement","pausedHintElement","hasPausedHint","recordNoteElement","setNear","setNigh","recordNote","recordTimerElement","started","nearComputed","endNighComputed","thresholdReached","secs","threshold","mins","remainingSeconds","isNear","endIsNigh","getStartSeconds","check","newCountdown","_countdown","_facingMode","_pausedNote","_recordNote","_recordTimer","RecorderInsides","pausedNote","recordTimer","onResetting","hideCountdown","NOTIFIER_MESSAGE_ID","Notifier","notifyElement","explanationElement","entertainTimeoutId","entertaining","messageElement","notify","lead","stillWait","onStopping","frameProgress","sampleProgress","overallProgress","setExplanation","onProgress","hideExplanation","onBeginVideoEncoding","runEntertainment","randomBackgroundClass","random","cancelEntertainment","getMessageElement","blocking","problem","notifyOptions","messageOptions","setMessage","_animitter","_canvasToBuffer","_websocketStream","_humanize","_userMedia","PIPE_SYMBOL","Recorder","originalAnimationFrameObject","recorderElement","userMediaTimeout","retryTimeout","bytesSum","ctx","userMediaLoaded","userMediaLoading","submitting","unloaded","stopTime","connecting","connected","waitingTime","frame","recordingBufferLength","recordingBuffer","samplesCount","confirmedFrameNumber","confirmedSampleNumber","writeStream","stopPings","onFlushedCallback","onAudioSample","audioSample","newLoop","draw","calculateFrameProgress","toFixed","calculateSampleProgress","updateOverallProgress","initSocket","url2Connect","perMessageDeflate","isClosing","CLOSING","command","executeCommand","userMediaErrorCallback","clearUserMediaTimeout","getCharacteristics","errorListeners","getUserMediaCallback","localStream","loadGenuineUserMedia","constraints","frameRate","ideal","getSupportedConstraints","genuineUserMediaRequest","loadUserMedia","mp4","setMp4Source","webm","setWebMSource","sample","updateSampleProgress","writeCommand","commandObj","getIntervalSum","getAvgFps","reInitializeAudio","onFlushed","frameNumber","drawImage","getRawVisuals","frameControlBuffer","setAnimationFrameObject","wantedInterval","processingTime","loopWithTimeouts","switchFacingMode","userMediaVideoWidth","getVideoWidth","getVideoHeight","avgFps","wantedFps","avgInterval","unloadRemainingEventListeners","eventType","createCanvas","getContext","_deltaTime","avgFPS","muted","hasVideoWidth","getRawWidth","getRawHeight","getRawVisualUserMedia","_addEventlistenerWithOptions","Replay","replayElement","isStandalone","setVideoSource","bustCache","getVideoSource","play","newVideomail","vtt","tracks","getElementsByTagName","firstTrack","track","setTrackSource","poster","attributeContainer","attribute","copyAttributes","hasAudio","recorderWidth","recorderHeight","load","videoSelector","buildElement","sources","audioRecorder","currentVisualStream","rawVisualUserMedia","setVisualStream","srcObject","URL","webkitURL","createObjectURL","attachMediaStream","removeAttribute","getVisualStream","mozSrcObject","hasEnded","visualStream","hasInvalidDimensions","logEvent","EVENT_ASCII","outputEvent","_mediaEvents","videoCallback","audioCallback","endedEarlyCallback","aboutToInitialize","onPlayReached","onLoadedMetaDataReached","playingPromiseReached","audioRecord","unloadAllEventListeners","onPlay","onLoadedMetaData","played","fireCallbacks","_audioRecorder","videoTrack","videoTracks","getVideoTracks","getFirstVideoTrack","remote","getTracks","newStopApiFound","rawWidth","widthDefined","rawHeight","audioSampleRate","_client"],"sources":["videomail-client.min.js"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,iBAAVC,SAAoC,oBAATC,OAAsBA,OAAOD,QAAQD,SAAS,GAAmB,mBAATG,QAAqBA,OAAOC,IAAKD,OAAO,GAAGH,OAAO,EAA0B,oBAATK,OAAwBA,OAA+B,oBAATC,OAAwBA,OAA6B,oBAAPC,KAAsBA,KAAYC,MAAOC,gBAAkBT,GAAG,CAAE,CAAzU,EAA2U,WAAqC,OAAmB,SAASU,EAAEC,EAAEC,EAAEC,GAAG,SAASC,EAAEC,EAAEf,GAAG,IAAIY,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAC,IAAIC,EAAE,mBAAmBC,SAASA,QAAQ,IAAIjB,GAAGgB,EAAE,OAAOA,EAAED,GAAE,GAAI,GAAGG,EAAE,OAAOA,EAAEH,GAAE,GAAI,IAAII,EAAE,IAAIC,MAAM,uBAAuBL,EAAE,KAAK,MAAMI,EAAEE,KAAK,mBAAmBF,CAAC,CAAC,IAAIG,EAAEV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KAAK,CAAC,EAAE,CAAC,oBAhntB6S,CAgntBxR,mBAC/F","ignoreList":[],"sourcesContent":[]} \ No newline at end of file +{"version":3,"file":"videomail-client.min.js","names":["f","exports","module","define","amd","window","global","self","this","VideomailClient","r","e","n","t","o","i","c","require","u","a","Error","code","p","call","length","_dereq_","Array","__esModule","arrayLikeToArray","isArray","toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","default","Symbol","iterator","from","TypeError","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_typeof","toPrimitive","String","Number","constructor","prototype","toString","slice","name","test","root","factory","modules","installedModules","__webpack_require__","moduleId","id","loaded","m","target","listener","options","obj","key","optionName","arguments","undefined","addEventListener","listenerOptions","_checkSupport","SupportMap","assign","_OptionsMap","_constants","_defineProperty","OptionsMap","PASSIVE","CAPTURE","ONCE","keys","forEach","k","property","opts","get","removeListener","checkSupportForProperty","methods","EventEmitter","inherits","raf","defaultRAFObject","requestAnimationFrame","cancelAnimationFrame","cancel","returnTrue","Animitter","__delay","delay","fixedDelta","frameCount","deltaTime","elapsedTime","__running","__completed","setFPS","fps","Infinity","setRequestAnimationFrameObject","requestAnimationFrameObject","onStart","scope","rAFID","now","Date","running","__lastTime","emit","lastRAFObject","drawFrame","__isReadyForUpdate","update","method","off","trigger","complete","stop","dispose","removeAllListeners","getDeltaTime","getElapsedTime","getFPS","getFPSLimit","__fps","getFrameCount","getRequestAnimationFrameObject","isRunning","isCompleted","reset","lastTime","half","Math","ceil","makeThrottle","object","start","setTimeout","globalFixedDelta","min","createAnimitter","fn","_instance","on","bind","apply","bound","fnKey","loop","functionKeys","arr","push","functions","hasBind","Function","getTime","events","float32Array","toBuffer","Int16Array","byteLength","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","tmp","Arr","_byteLength","curByte","len","revLookup","charCodeAt","fromByteArray","uint8","extraBytes","parts","maxChunkLength","len2","encodeChunk","lookup","join","Uint8Array","indexOf","end","num","output","undef","nativeSplit","split","compliantExecNpcg","exec","str","separator","limit","separator2","match","lastIndex","lastLength","flags","ignoreCase","multiline","extended","sticky","lastLastIndex","RegExp","source","index","replace","Buffer","base64","ieee754","SlowBuffer","alloc","INSPECT_MAX_BYTES","K_MAX_LENGTH","createBuffer","RangeError","buf","__proto__","arg","encodingOrOffset","allocUnsafe","string","encoding","isEncoding","actual","write","fromString","ArrayBuffer","isView","fromArrayLike","isInstance","buffer","array","byteOffset","fromArrayBuffer","valueOf","b","isBuffer","checked","copy","numberIsNaN","type","data","fromObject","assertSize","size","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","toLowerCase","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","val","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","remaining","strLen","parsed","parseInt","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","res","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","kMaxLength","TYPED_ARRAY_SUPPORT","foo","typedArraySupport","console","error","species","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","x","y","concat","list","pos","swap16","swap32","swap64","toLocaleString","equals","inspect","max","trim","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","_arr","ret","out","toHex","bytes","checkOffset","ext","checkInt","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","set","INVALID_BASE64_RE","leadSurrogate","base64clean","src","dst","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","setFunctionLength","$TypeError","$apply","$call","$reflectApply","$defineProperty","$max","originalFunction","func","applyBind","document","createElement","quality","types","canvas","composeMimeType","isMatch","getTestCanvas","width","height","canvasSupportsMimeType","toDataURL","figureMimeType","uriToBuffer","atob","s","getMimeType","indexof","isTruthy","elem","cl","classList","add","remove","contains","toggle","token","className","item","getTokens","setTokens","splice","filter","Emitter","mixin","event","_callbacks","once","removeEventListener","cb","callbacks","args","listeners","hasListeners","container","comparison","compareDocumentPosition","objectToString","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","re","isObject","isDate","d","isError","isFunction","isPrimitive","createErrorLib","lastcreateError","createError","noConflict","getName","getTarget","properties","getProps","ErrorCtor","message","attachProps","stack","captureStackTrace","Err","context","inheritedKeys","l","clone","cloned","create","attr","hasOwnProperty","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","for","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","map","element","getKeys","getOwnPropertySymbols","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","_","mergeObject","destination","propertyIsUnsafe","customMerge","getMergeFunction","arrayMerge","sourceIsArray","all","reduce","prev","next","deepmerge_1","$SyntaxError","gopd","nonEnumerable","nonWritable","nonConfigurable","loose","desc","Despot","_singletonDespotInstance","Event","Keys","noop","visible","onChange","broadcast","noopShim","hidden","geval","prefix","mozHidden","msHidden","webkitHidden","detectPrefix","substring","doccy","topLevel","minDoc","process","eos","stream","callback","ws","_writableState","rs","_readableState","readable","cancelled","onlegacyfinish","onfinish","onend","onexit","exitCode","onerror","err","onclose","nextTick","onclosenexttick","ended","destroyed","onrequest","req","setHeader","abort","isRequest","stdio","isChildProcess","_process","EvalError","ReferenceError","SyntaxError","URIError","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","ownKeys","getOwnPropertyNames","NumberIsNaN","isNaN","init","emitter","Promise","resolve","reject","errorListener","resolver","eventTargetAgnosticAddListener","handler","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","prepend","existing","warning","newListener","unshift","warned","w","count","warn","onceWrapper","fired","wrapFn","_onceWrap","state","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","getPrototypeOf","setMaxListeners","getMaxListeners","doError","er","addListener","prependListener","prependOnceListener","position","originalListener","shift","pop","spliceOne","rawListeners","eventNames","stringify","stable","deterministicStringify","stableStringify","LIMIT_REPLACE_NODE","CIRCULAR_REPLACE_NODE","replacerStack","defaultOptions","depthLimit","MAX_SAFE_INTEGER","edgesLimit","replacer","spacer","decirc","JSON","replaceGetterValues","part","setReplace","parent","propertyDescriptor","getOwnPropertyDescriptor","edgeIndex","depth","compareFunction","deterministicDecirc","sort","v","BITS","BYTES","EMPTY","JEDEC","ROUND","STRING","STRINGS","iec","bits","jedec","fullform","filesize","pad","base","round","locale","localeOptions","symbols","standard","fullforms","exponent","roundingMethod","precision","result","full","neg","roundingFunc","floor","log","toPrecision","padEnd","unit","partial","fmt","escaped","ptn","flag","toStr","concatty","arrLike","slicy","boundLength","boundArgs","joiner","joiny","Empty","implementation","_extends","getFormData","getFieldData","NODE_LIST_CLASSES","IGNORED_ELEMENT_TYPES","button","fieldset","submit","CHECKED_INPUT_TYPES","checkbox","radio","TRIM_RE","form","includeDisabled","elementName","elementNames","elementNameLookup","elements","disabled","_i","_l","fieldName","getFormElementValue","allRadios","selectedIndex","selected","multiple","files","hasAttribute","$Error","$EvalError","$RangeError","$ReferenceError","$URIError","$Function","getEvalledConstructor","expressionSyntax","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","hasProto","getProto","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int32Array","Map","parseFloat","Proxy","Set","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","errorProto","doEval","gen","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","alias","intrinsicName","first","last","number","quote","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","hasown","listen","broadcaster","tuple","win","hasPropertyDescriptors","hasArrayLengthDefineBug","$Object","origSymbol","hasSymbolSham","sym","symObj","syms","descriptor","$hasOwn","style","display","prop","has","GREEK","language","LANGUAGES","af","am","ar","getArabicForm","delimiter","_hideCountIf2","_digitReplacements","bg","getSlavicForm","bn","ca","ckb","cs","getCzechOrSlovakForm","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","gr","he","hr","mod10","hu","is","it","ja","km","kn","ko","ku","lt","getLithuanianForm","lv","getLatvianForm","mk","mn","mr","ms","nl","no","pl","getPolishForm","pt","ro","ru","sq","sr","ta","te","uk","ur","sk","sl","sv","sw","_numberFirst","tr","th","uz","uz_CYR","vi","zh_CN","zh_TW","mo","h","decimal","renderPiece","piece","digitReplacements","formattedCount","unitName","unitCount","maxDecimalPoints","countStr","char","word","languageWord","formatPieces","pieces","possibleLanguages","fallbacks","languageToTry","languages","getLanguage","conjunction","serialComma","renderedPieces","humanizer","passedOptions","humanizerOptions","abs","msRemaining","unitMeasures","largest","unitCounts","unitMs","unitsRemainingBeforeRound","smallerUnitName","smallerUnitCount","rounded","previousUnitName","previousUnitMs","amountOfPreviousUnit","getPieces","humanizeDuration","getSupportedLanguages","ClassList","Text","cleanupFuncs","appendChild","createTextNode","setAttribute","isNode","attachEvent","detachEvent","cssText","setProperty","parentElement","replaceChild","textContent","cleanup","nodeName","nodeType","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","ctor","superCtor","super_","TempCtor","containers","styleElements","insertCss","css","styleElement","querySelector","containerId","createStyleElement","insertBefore","childNodes","styleSheet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","functionToString","$match","$slice","$toUpperCase","toUpperCase","$toLowerCase","$test","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","custom","inspectSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","seen","maxStringLength","customInspect","indent","numericSeparator","inspectString","bigIntStr","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","getAttribute","isElement","attrs","attributes","xs","singleLineValues","indentedJoin","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isBigInt","globalThis","ys","isPlainObject","protoTag","stringTag","tag","trailer","lowbyte","entries","lineJoiner","isArr","symMap","wrappy","called","onceStrict","onceError","strict","proto","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","uptime","version","arg1","arg2","arg3","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","title","browser","env","argv","versions","binding","cwd","chdir","umask","percentTwenties","Format","formatters","RFC1738","RFC3986","parse","formats","utils","defaults","allowDots","allowEmptyArrays","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","decodeDotInKeys","decoder","decode","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictDepth","strictNullHandling","$0","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","child","segment","chain","leaf","cleanRoot","charAt","decodedRoot","parseObject","normalizeParseOptions","tempObj","cleanStr","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","merge","compact","getSideChannel","arrayPrefixGenerators","brackets","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","arrayFormat","encode","encodeDotInKeys","encoder","encodeValuesOnly","format","formatter","serializeDate","date","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","step","findFlag","objKeys","values","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","joined","hexTable","arrayToObject","acc","refs","compacted","compactQueue","strWithoutPlus","unescape","defaultEncoder","kind","escape","mapped","mergeTarget","targetItem","vendors","suffix","caf","frameDuration","_now","cp","handle","polyfill","pna","objectKeys","Duplex","util","Readable","Writable","allowHalfOpen","onEndNT","highWaterMark","_destroy","PassThrough","Transform","_transform","chunk","ReadableState","EElistenerCount","Stream","OurUint8Array","debugUtil","debug","debuglog","StringDecoder","BufferList","destroyImpl","kProxyEvents","isDuplex","objectMode","readableObjectMode","hwm","readableHwm","readableHighWaterMark","defaultHwm","pipes","pipesCount","flowing","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","awaitDrain","readingMore","_read","destroy","readableAddChunk","addToFront","skipChunkCheck","emitReadable","onEofChunk","chunkInvalid","_uint8ArrayToBuffer","addChunk","maybeReadMore","needMoreData","_undestroy","undestroy","isPaused","setEncoding","enc","MAX_HWM","howMuchToRead","head","computeNewHighWaterMark","emitReadable_","flow","maybeReadMore_","nReadingNextTick","resume_","fromList","clear","hasStrings","nb","tail","copyFromBufferString","copyFromBuffer","fromListPartial","endReadable","endReadableNT","nOrig","doRead","pipe","dest","pipeOpts","endFn","stdout","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","ondrain","ondata","cleanedUp","needDrain","pipeOnDrain","increasedAwaitDrain","pause","resume","dests","ev","wrap","_this","paused","_fromList","isarray","afterTransform","ts","_transformState","transforming","writecb","writechunk","needTransform","writeencoding","transform","flush","_flush","prefinish","done","_write","_this2","err2","setImmediate","CorkedRequest","entry","finish","corkReq","pendingcb","corkedRequestsFree","onCorkedFinish","asyncWrite","WritableState","internalUtil","deprecate","realHasInstance","nop","writableObjectMode","writableHwm","writableHighWaterMark","finalCalled","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","onwriteStateUpdate","finishMaybe","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","_final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","getBuffer","current","hasInstance","writeAfterEnd","valid","validChunk","newChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","timers","instance","Constructor","_classCallCheck","emitErrorNT","readableDestroyed","writableDestroyed","copyProps","SafeBuffer","nenc","retried","_normalizeEncoding","normalizeEncoding","text","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckExtraBytes","total","utf8CheckIncomplete","hasProp","throwsMessage","ensureProperties","visit","fResult","aResult","safeGetValueFromPropertyOnObject","space","hasDescriptors","gOPD","functionLengthIsConfigurable","functionLengthIsWritable","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","$wm","$m","$o","channel","assert","objects","node","listGet","listHas","listSet","_duplexState","idx","bufferIndex","getStateLength","Agent","_defaults","_setDefaults","request","def","_len","_key","safeStringify","qs","RequestBase","ResponseBase","url","Request","getXHR","XMLHttpRequest","serialize","pairs","pushEncodedKeyValuePair","subkey","parseString","string_","pair","length_","isJSON","mime","Response","request_","xhr","responseType","responseText","statusText","status","_setStatusProperties","headers","lines","fields","line","field","parseHeader","getAllResponseHeaders","header","getResponseHeader","_setHeaderProperties","_responseType","body","response","_parseBody","_query","_header","new_error","original","rawResponse","statusCode","_isResponseOK","serializeObject","html","json","xml","urlencoded","_parser","toError","accept","auth","user","pass","btoa","_auth","query","attach","file","_data","_getFormData","append","_formData","FormData","_shouldRetry","_retry","_callback","_maxRetries","retries","_retries","crossDomainError","crossDomain","agent","_isHost","_endCalled","_finalizeQueryString","_end","_setUploadTimeout","_uploadTimeout","_uploadTimeoutTimer","_timeoutError","_aborted","_setTimeouts","readyState","_responseTimeoutTimer","timedout","handleProgress","direction","percent","upload","username","password","open","_withCredentials","withCredentials","contentType","_serializer","setRequestHeader","send","del","delete","patch","post","put","_timer","_timeout","_responseTimeout","option","deadline","retry","_retryCallback","ERROR_CODES","STATUS_CODES","override","timedoutError","then","_fullfilledPromise","catch","use","ok","_okCallback","getHeader","unset","base64Encoder","redirects","_maxRedirects","maxResponseSize","_maxResponseSize","isObject_","sortQuery","_sort","queryArray","_appendQueryString","reason","errno","ct","parameters","params","links","link","parseLinks","trunc","statusType","info","redirect","clientError","serverError","created","accepted","noContent","badRequest","unauthorized","notAcceptable","forbidden","notFound","unprocessableEntity","cleanHeader","changesOrigin","host","authorization","cookie","isGzipOrDeflateEncoding","isBrotliEncoding","clearImmediate","immediateIds","nextImmediateId","Timeout","clearFn","_id","_clearFn","setInterval","clearInterval","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","CHROMIUM_OS","MAC_OS","SUFFIX_BROWSER","enumerize","enums","str1","str2","lowerize","rgxMapper","ua","arrays","q","matches","regex","props","strMapper","windowsVersionMap","ME","XP","Vista","RT","regexes","cpu","device","tablet","engine","EDGE","os","UAParser","extensions","getResult","_navigator","navigator","_ua","userAgent","_uach","userAgentData","_rgxmap","mergedRegexes","extend","_isSelfNav","getBrowser","_browser","brave","isBrave","getCPU","_cpu","getDevice","_device","mobile","standalone","maxTouchPoints","getEngine","_engine","getOS","_os","platform","getUA","setUA","CPU","DEVICE","ENGINE","OS","$","jQuery","Zepto","parser","config","localStorage","msg","trace","SIGNAL_FLUSH","onuncork","_corked","destroyer","_autoDestroy","autoDestroy","_ended","Duplexify","_writable","_readable","_readable2","_forwardDestroy","_forwardEnd","_ondrain","_drained","_forwarding","_unwrite","_unread","setWritable","setReadable","unend","onreadable","_forward","_finish","duplexify","WS","protocols","socket","isBrowser","isNative","WebSocket","socketWrite","socketWriteBrowser","bufferedAmount","bufferSize","bufferTimeout","coerceToBuffer","OPEN","protocol","binary","proxy","socketEnd","buildProxy","browserBufferSize","browserBufferTimeout","binaryType","eventListenerSupport","onopen","onmessage","chunks","buffers","MozWebSocket","wrapper","description","keywords","homepage","repository","license","author","contributors","email","main","scripts","audit","build","lint","major","minor","prettier","watch","dependencies","animitter","defined","despot","hyperscript","keymirror","superagent","devDependencies","autoprefixer","babelify","browserify","cssnano","eslint","glob","gulp","minimist","nib","postcss","router","tape","typescript","watchify","engines","npm","readmeFilename","_interopRequireDefault","_inherits","_resource","_adjustOptions","_eventEmitter","_container","localOptions","building","isBuilt","show","replay","videomail","replayParentElementId","unload","playerOnly","addPlayerDimensions","buildForm","loadForm","REPLAY_SHOWN","showReplayOnly","getReplay","setVideomail","getElement","startOver","hide","getByAlias","getByKey","canRecord","isDirty","isRecording","getLogLines","logger","getLines","public","Events","SITE_NAME_LABEL","VERSION_LABEL","ENC_TYPE_APP_JSON","ENC_TYPE_FORM","_keymirror","BUILT","FORM_READY","LOADING_USER_MEDIA","USER_MEDIA_READY","CONNECTING","CONNECTED","DISCONNECTED","COUNTDOWN","RECORDING","STOPPING","STOPPED","PROGRESS","BEGIN_AUDIO_ENCODING","BEGIN_VIDEO_ENCODING","RESETTING","PAUSED","RESUMING","PREVIEW","PREVIEW_SHOWN","INVALID","VALIDATING","VALID","SUBMITTING","SUBMITTED","ERROR","BLOCKING","SENDING_FIRST_FRAME","FIRST_FRAME_SENT","HIDE","NOTIFYING","ENABLING_AUDIO","DISABLING_AUDIO","LOADED_META_DATA","EVENT_EMITTED","GOING_BACK","STARTING_OVER","ASKING_WEBCAM_PERMISSION","VISIBLE","INVISIBLE","SWITCH_FACING_MODE","SERVER_READY","UNLOADING","_package","_addOptionsFunctions","logStackSize","verbose","NODE_ENV","baseUrl","socketUrl","siteName","enablePause","enableAutoPause","enableSpace","submitWithVideomail","disableSubmit","enableAutoValidation","enableAutoUnload","enableAutoSubmission","enctype","selectors","containerClass","replayClass","userMediaClass","visualsClass","buttonClass","buttonsClass","recordButtonClass","pauseButtonClass","resumeButtonClass","previewButtonClass","recordAgainButtonClass","submitButtonClass","subjectInputName","fromInputName","toInputName","ccInputName","bccInputName","bodyInputName","sendCopyInputName","keyInputName","parentKeyInputName","formId","submitButtonId","submitButtonSelector","audio","enabled","switch","volume","video","limitSeconds","countdown","facingMode","facingModeButton","stretch","image","pausedHeader","pausedHint","sending","limitReached","audioOff","audioOn","buttons","record","recordAgain","preview","notifier","entertain","entertainClass","entertainLimit","entertainInterval","timeouts","userMedia","connection","pingInterval","loadUserMediaOnRecord","adjustFormDataBeforePosting","to","cc","bcc","subject","displayErrors","adjustFormOnBrowserError","reportErrors","fakeUaString","optionsWithFunctions","applyDefaultValue","packedError","packError","originalError","details","fetch","identifierName","identifierValue","_superagent","timezoneId","prettyError","identifier","queryParams","returnedVideomail","reportError","applyDefaultValues","adjustedVideomail","formData","formType","Intl","DateTimeFormat","resolvedOptions","timeZone","audioEnabled","hasDefinedWidth","hasDefinedHeight","hasDefinedDimension","hasDefinedDimensions","getRatio","ratio","hasVideoDimensions","videoHeight","videoWidth","isAudioEnabled","setAudioEnabled","isAutoPauseEnabled","_deepmerge","_collectLogger","_options","_destination","collectLogger","scriptProcessor","audioInput","vcAudioContext","getAudioContextClass","AudioContext","webkitAudioContext","hasAudioContext","getAudioContext","localMediaStream","createGain","createMediaStreamSource","exc","_videomailError","isFirefox","_isPowerOfTwo","gain","createScriptProcessor","CHANNELS","connect","onaudioprocess","inputBuffer","getChannelData","_audioSample","onAudioProcess","disconnect","getSampleRate","sampleRate","_typeof2","_defined","_uaParserJs","videoType","firefoxDownload","edgeDownload","chromeDownload","uaParser","isIOS","browserVersion","isChrome","isChromium","firefox","osVersion","isWindows","isEdge","isSafari","isOpera","isAndroid","chromeBased","isFacebook","isMobile","isOkSafari","isOkIOS","isBadIOS","isHTTPS","fakeHttps","location","okBrowser","getUserMediaWarning","getRecommendation","isChromeBased","canPlayType","hasNavigator","mediaDevices","getUserMedia","getUserMedia_","checkRecordingCapabilities","IOS_PROBLEM","BROWSER_PROBLEM","checkBufferTypes","getVideoType","getNoAccessIssue","explanation","getUsefulData","architecture","lifo","level","_formatUtil","_toConsumableArray2","groupCollapsed","groupEnd","moreArguments","_safeJsonStringify","_despot","eventName","_filesize2","_humanizeDuration","toTime","anything","DASH","SEPARATOR","arrayToString","sLines","propertyNames","excludes","exclude","_createError","_pretty","VIDEOMAIL_ERR_NAME","VideomailError","logLines","promise","screen","orientation","pretty","PERMISSION_DENIED","NOT_ALLOWED_ERROR","NOT_CONNECTED","DOM_EXCEPTION","STARTING_FAILED","MEDIA_DEVICE_NOT_SUPPORTED","WEBCAM_PROBLEM","OVERCONSTRAINED","NOT_FOUND_ERROR","NOT_READABLE_ERROR","SECURITY_ERROR","TRACK_START_ERROR","INVALID_STATE_ERROR","_err$constructor","errType","Browser","NotFoundError","constraint","newUrl","href","originalExplanation","resource","usefulClientData","cookies","errData","colorDepth","errNo","errCode","errName","errConstraint","errConstructorName","videomailError","hasClass","getClassList","removeDimensions","hideButtons","browserProblem","hideForm","_contains","_hidden","_hyperscript","Buttons","buttonsElement","recordButton","pauseButton","resumeButton","previewButton","recordAgainButton","submitButton","audioOnRadioPair","audioOffRadioPair","built","isShown","disable","tagName","enable","adjustButton","buttonElement","replaceClickHandler","clickHandler","onclick","preventDefault","makeRadioButtonPair","radioButtonElement","radioButtonGroup","getElementById","htmlFor","label","changeHandler","onchange","makeButton","selector","innerHTML","onFormReady","onFirstFrameSent","beginWaiting","initEvents","switchingFacingMode","recordWhenReady","onUserMediaReady","adjustButtonsForPause","framesCount","onRecording","enableSubmit","isCountingDown","isRecordAgainButtonEnabled","isReady","isRecordButtonEnabled","setSubmitButton","newSubmitButton","getSubmitButton","hasForm","disableAudio","enableAudio","deep","_defineProperty2","_documentVisibility","_insertCss","_mainMinCss","_buttons","_dimension","_form","_optionsWrapper","_visuals","Container","containerElement","visibility","visuals","htmlElement","hasError","submitted","lastValidation","getFormElement","closest","findParentFormElement","_e$target","isContentEditable","contentEditable","pauseOrResume","recordOrStop","processError","endWaiting","correctDimensions","getRecorderWidth","finalizeSubmissions","formResponse","validateOptions","formElement","findSubmitButton","replayParentElement","getParentElement","playerHeight","calculateHeight","responsive","playerWidth","calculateWidth","limitWidth","limitHeight","fnOptions","hasElement","buildOptions","_replayParentElement","buildChildren","reference","unloadChildren","isReplayShown","back","enableForm","keepHidden","isNotifying","validate","force","runValidation","isConnected","isUserMediaLoaded","isConnecting","_event$target","targetName","whyInvalid","invalidData","visualsValid","invalidInput","getInvalidElement","isHidden","_recipients$to","_recipients$cc","_recipients$bcc","recipients","getRecipients","toIsConfigured","ccIsConfigured","bccIsConfigured","hasTo","hasCc","hasBcc","disableForm","buttonsToo","submitAll","startSubmission","videomailFormData","transformFormData","isPost","isPut","recordingStats","getRecordingStats","getRecorderHeight","downlink","effectiveType","rtt","submitVideomail","err1","videomailResponse","submitForm","isRecorderUnloaded","isOutsideElementOf","parentNode","loadVideomail","doTheSubmit","figureMinHeight","isInteger","limitedWidth","outerWidth","rect","getBoundingClientRect","right","left","getOuterWidth","limitedHeight","documentElement","clientHeight","calculatedWidth","trimEmail","Form","keyInput","FORM_FIELDS","parentKey","sendCopy","getData","setDisabled","isRegisteredFormField","formElementName","getRegisteredFormElements","querySelectorAll","registeredElements","resetForm","inputElements","inputElement","transformedFormData","formFieldValue","input","videomailKey","dispatchEvent","bubbles","hideAll","removeAllInputListeners","validity","newOptions","_recorderInsides","_notifier","_recorder","_replay","Visuals","visualsElement","recorder","recorderInsides","noScriptElement","isRecordable","clientWidth","blockingOptions","removeChild","hidePause","isVisible","showPause","resumeCountdown","startCountdown","getRecorder","getAudioSampleRate","showVisuals","isUnloaded","useBoundingClientRect","checkTimer","intervalSum","isNotifierBuilt","hideReplay","hideRecorder","countdownElement","intervalId","countBackward","fire","facingModeElement","pausedBlockElement","pausedHeaderElement","pausedHintElement","hasPausedHint","recordNoteElement","setNear","setNigh","recordNote","recordTimerElement","started","nearComputed","endNighComputed","thresholdReached","secs","threshold","mins","remainingSeconds","isNear","endIsNigh","getStartSeconds","check","newCountdown","_countdown","_facingMode","_pausedNote","_recordNote","_recordTimer","RecorderInsides","pausedNote","recordTimer","onResetting","hideCountdown","NOTIFIER_MESSAGE_ID","Notifier","notifyElement","explanationElement","entertainTimeoutId","entertaining","messageElement","notify","lead","stillWait","onStopping","frameProgress","sampleProgress","overallProgress","setExplanation","onProgress","hideExplanation","onBeginVideoEncoding","runEntertainment","randomBackgroundClass","random","cancelEntertainment","getMessageElement","blocking","problem","notifyOptions","messageOptions","setMessage","_animitter","_canvasToBuffer","_websocketStream","_humanize","_userMedia","PIPE_SYMBOL","Recorder","originalAnimationFrameObject","recorderElement","userMediaTimeout","retryTimeout","bytesSum","ctx","userMediaLoaded","userMediaLoading","submitting","unloaded","stopTime","connecting","connected","waitingTime","frame","recordingBufferLength","recordingBuffer","samplesCount","confirmedFrameNumber","confirmedSampleNumber","writeStream","stopPings","onFlushedCallback","onAudioSample","audioSample","newLoop","draw","calculateFrameProgress","toFixed","calculateSampleProgress","updateOverallProgress","initSocket","url2Connect","perMessageDeflate","isClosing","CLOSING","command","executeCommand","userMediaErrorCallback","clearUserMediaTimeout","getCharacteristics","errorListeners","getUserMediaCallback","localStream","loadGenuineUserMedia","constraints","frameRate","ideal","getSupportedConstraints","genuineUserMediaRequest","loadUserMedia","mp4","setMp4Source","webm","setWebMSource","sample","updateSampleProgress","writeCommand","commandObj","getIntervalSum","getAvgFps","reInitializeAudio","onFlushed","frameNumber","drawImage","getRawVisuals","frameControlBuffer","setAnimationFrameObject","wantedInterval","processingTime","loopWithTimeouts","switchFacingMode","userMediaVideoWidth","getVideoWidth","getVideoHeight","avgFps","wantedFps","avgInterval","unloadRemainingEventListeners","eventType","createCanvas","getContext","_deltaTime","avgFPS","muted","hasVideoWidth","getRawWidth","getRawHeight","getRawVisualUserMedia","_addEventlistenerWithOptions","Replay","replayElement","isStandalone","setVideoSource","bustCache","getVideoSource","play","newVideomail","vtt","tracks","getElementsByTagName","firstTrack","track","setTrackSource","poster","attributeContainer","attribute","copyAttributes","hasAudio","recorderWidth","recorderHeight","load","videoSelector","buildElement","sources","audioRecorder","currentVisualStream","rawVisualUserMedia","setVisualStream","srcObject","URL","webkitURL","createObjectURL","attachMediaStream","removeAttribute","getVisualStream","mozSrcObject","hasEnded","visualStream","hasInvalidDimensions","logEvent","EVENT_ASCII","outputEvent","_mediaEvents","videoCallback","audioCallback","endedEarlyCallback","aboutToInitialize","onPlayReached","onLoadedMetaDataReached","playingPromiseReached","audioRecord","unloadAllEventListeners","onPlay","onLoadedMetaData","played","fireCallbacks","_audioRecorder","videoTrack","videoTracks","getVideoTracks","getFirstVideoTrack","remote","getTracks","newStopApiFound","rawWidth","widthDefined","rawHeight","audioSampleRate","_client"],"sources":["videomail-client.min.js"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,iBAAVC,SAAoC,oB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AAiBzxB,EAAuB32D,EAAQ,+BAChD+uD,EAAW4H,EAAuB32D,EAAQ,yBAC1C+2D,EAAgBJ,EAAuB32D,EAAQ,8BAC/CsnF,EAAe3wB,EAAuB32D,EAAQ,6BAC9CwpE,EAAU7S,EAAuB32D,EAAQ,wBACzCqkE,EAAkB1N,EAAuB32D,EAAQ,gCACjDonF,EAAc,OA8YlB,EAAE,CAAC,iBAAiB,IAAI,6BAA6B,IAAI,uBAAuB,IAAI,4BAA4B,IAAI,2BAA2B,IAAI,sBAAsB,IAAI,8BAA8B,IAAI,+CAA+C,EAAE9xB,YAAc,GAAG,sBAAsB,KAAK,mBAAmB,CAAC,SAASt1D,EAAQvB,EAAOD,GACxV,aAEA,IAAIm4D,EAAyB32D,EAAQ,gDACrCM,OAAOC,eAAe/B,EAAS,aAAc,CAC3CgC,OAAO,IAEThC,EAAQoC,aAAU,EAClB,IAAIooF,EAAUryB,EAAuB32D,EAAQ,aAC9BxB,EAAQoC,QAAUooF,EAAQpoF,OAEzC,EAAE,CAAC,WAAW,IAAI,+CAA+C,KAAK,CAAC,EAAE,CAAC,oBAtntB6S,CAsntBxR,mBAC/F","ignoreList":[],"sourcesContent":["!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).VideomailClient=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u=\"function\"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error(\"Cannot find module '\"+a+\"'\");throw l.code=\"MODULE_NOT_FOUND\",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;ae.length)&&(t=e.length);for(var n=0,r=Array(t);n4&&void 0!==arguments[4]?arguments[4]:\"passive\";if(void 0!==e.addEventListener){var l=r.SupportMap[u]?Object.assign({},i,(s=!0,(a=u)in(o={})?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o)):i;e.addEventListener(t,n,l)}};var r=n(1)},function(e,t,n){\"use strict\";var r;Object.defineProperty(t,\"__esModule\",{value:!0}),t.SupportMap=void 0;var i=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(o(r={},i.PASSIVE,!1),o(r,i.CAPTURE,!1),o(r,i.ONCE,!1),r);t.SupportMap=(Object.keys(a).forEach((function(e,t){a[e]=function(e){if(a[e])return a[e];try{var t=Object.defineProperty({},e,{get:function(){a[e]=!0}});window.addEventListener(\"test\",null,t),window.removeListener(\"test\",null)}catch(e){}return a[e]}(e)})),a)},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.PASSIVE=\"passive\",t.CAPTURE=\"capture\",t.ONCE=\"once\"}])},\"object\"==typeof n&&\"object\"==typeof t?t.exports=i():\"object\"==typeof n?n[\"add-eventlistener-with-options\"]=i():r[\"add-eventlistener-with-options\"]=i()},{}],13:[function(e,t,n){var r,i=e(\"events\").EventEmitter,o=e(\"inherits\"),a=e(\"raf\"),s={requestAnimationFrame:a,cancelAnimationFrame:a.cancel};function u(){return!0}function l(e){e=e||{},this.__delay=e.delay||0,this.fixedDelta=!!e.fixedDelta,this.frameCount=0,this.deltaTime=0,this.elapsedTime=0,this.__running=!1,this.__completed=!1,this.setFPS(e.fps||1/0),this.setRequestAnimationFrameObject(e.requestAnimationFrameObject||s)}function c(e){var t,r=Date.now();if(e.__running)return e;n.running+=1,e.__running=!0,e.__lastTime=r,e.deltaTime=0,e.emit(\"start\",e.deltaTime,0,e.frameCount);var i=e.requestAnimationFrameObject,o=function(){if(i!==e.requestAnimationFrameObject)return i=e.requestAnimationFrameObject,void e.requestAnimationFrameObject.requestAnimationFrame(o);e.__isReadyForUpdate()&&e.update(),e.__running?t=e.requestAnimationFrameObject.requestAnimationFrame(o):e.requestAnimationFrameObject.cancelAnimationFrame(t)};return e.requestAnimationFrameObject.requestAnimationFrame(o),e}for(var f in o(l,i),r={off:i.prototype.removeListener,trigger:i.prototype.emit,complete:function(){return this.stop(),this.__completed=!0,this.emit(\"complete\",this.frameCount,this.deltaTime),this},dispose:function(){return this.stop(),this.removeAllListeners(),this},getDeltaTime:function(){return this.deltaTime},getElapsedTime:function(){return this.elapsedTime},getFPS:function(){return this.deltaTime>0?1e3/this.deltaTime:0},getFPSLimit:function(){return this.__fps},getFrameCount:function(){return this.frameCount},getRequestAnimationFrameObject:function(){return this.requestAnimationFrameObject},isRunning:function(){return this.__running},isCompleted:function(){return this.__completed},reset:function(){return this.stop(),this.__completed=!1,this.__lastTime=0,this.deltaTime=0,this.elapsedTime=0,this.frameCount=0,this.emit(\"reset\",0,0,this.frameCount),this},setFPS:function(e){return this.__fps=e,this.__isReadyForUpdate=function(e){var t=1e3/e,n=Date.now();if(e<=0||e===1/0)return u;var r=Math.ceil(1e3/60)/2;return function(){var e=Date.now();return!(e-n0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;su?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+\"==\")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+\"=\"));return o.join(\"\")};for(var r=[],i=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",s=0;s<64;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},{}],16:[function(e,t,n){},{}],17:[function(e,t,n){\n/*!\n * Cross-Browser Split 1.1.1\n * Copyright 2007-2012 Steven Levithan \n * Available under the MIT License\n * ECMAScript compliant, uniform cross-browser split method\n */\nt.exports=function(e){var t,n=String.prototype.split,r=/()??/.exec(\"\")[1]===e;return t=function(t,i,o){if(\"[object RegExp]\"!==Object.prototype.toString.call(i))return n.call(t,i,o);var a,s,u,l,c=[],f=(i.ignoreCase?\"i\":\"\")+(i.multiline?\"m\":\"\")+(i.extended?\"x\":\"\")+(i.sticky?\"y\":\"\"),d=0;i=new RegExp(i.source,f+\"g\");for(t+=\"\",r||(a=new RegExp(\"^\"+i.source+\"$(?!\\\\s)\",f)),o=o===e?-1>>>0:o>>>0;(s=i.exec(t))&&!((u=s.index+s[0].length)>d&&(c.push(t.slice(d,s.index)),!r&&s.length>1&&s[0].replace(a,(function(){for(var t=1;t1&&s.index=o));)i.lastIndex===s.index&&i.lastIndex++;return d===t.length?!l&&i.test(\"\")||c.push(\"\"):c.push(t.slice(d)),c.length>o?c.slice(0,o):c},t}()},{}],18:[function(e,t,n){(function(t){(function(){\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\"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=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 h(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 x(this,t,n);case\"utf8\":case\"utf-8\":return S(this,t,n);case\"ascii\":return O(this,t,n);case\"latin1\":case\"binary\":return k(this,t,n);case\"base64\":return R(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return T(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(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),W(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:y(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):y(e,[t],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function y(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;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function R(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;i239?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<=A)return String.fromCharCode.apply(String,e);var n=\"\",r=0;for(;rt&&(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>>=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 E(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return _(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 A=4096;function O(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i=\"\",o=t;on)throw new RangeError(\"Trying to access beyond buffer length\")}function D(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError(\"Index out of range\")}function N(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||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return t=+t,n>>>=0,o||N(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>>=0,t>>>=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||j(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||j(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(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||j(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||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(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||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||j(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||j(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||j(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||j(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||j(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(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)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||D(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||D(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||D(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||D(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||D(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||D(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);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>>=0,!r){var i=Math.pow(2,8*n-1);D(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||D(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||D(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||D(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||D(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||D(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 C(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError(\"argument should be a Buffer\");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=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=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>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),\"number\"==typeof e)for(o=t;o55295&&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(I,\"\")).length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}(e))}function U(e,t,n,r){for(var i=0;i=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 W(e){return e!=e}}).call(this)}).call(this,e(\"buffer\").Buffer)},{\"base64-js\":15,buffer:18,ieee754:63}],19:[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}},{\"./\":20,\"get-intrinsic\":50}],20:[function(e,t,n){\"use strict\";var r=e(\"function-bind\"),i=e(\"get-intrinsic\"),o=e(\"set-function-length\"),a=e(\"es-errors/type\"),s=i(\"%Function.prototype.apply%\"),u=i(\"%Function.prototype.call%\"),l=i(\"%Reflect.apply%\",!0)||r.call(u,s),c=e(\"es-define-property\"),f=i(\"%Math.max%\");t.exports=function(e){if(\"function\"!=typeof e)throw new a(\"a function is required\");var t=l(r,u,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var d=function(){return l(r,s,arguments)};c?c(t.exports,\"apply\",{value:d}):t.exports.apply=d},{\"es-define-property\":35,\"es-errors/type\":41,\"function-bind\":48,\"get-intrinsic\":50,\"set-function-length\":94}],21:[function(e,t,n){function r(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var i,o=r(e(\"typedarray-to-buffer\")),a=\"undefined\"!=typeof document&&\"function\"==typeof document.createElement,s=a?[\"webp\",\"jpeg\"]:[\"png\"],u=function(){function e(e,t,n){if(void 0===t&&(t=s),void 0===n&&(n=.5),this.quality=void 0,this.types=void 0,this.canvas=void 0,t.length>2)throw new Error(\"Too many image types are specified!\");this.canvas=e,this.quality=n,this.types=t}var t=e.prototype;return t.composeMimeType=function(e){var t;return this.types[e]&&(t=\"image/\"+this.types[e]),t},t.isMatch=function(e,t){return e.match(t)},t.getTestCanvas=function(){var e;return a?(e=document.createElement(\"canvas\")).width=e.height=1:e=this.canvas,e},t.canvasSupportsMimeType=function(e){try{var t=this.getTestCanvas(),n=t.toDataURL&&t.toDataURL(e);return this.isMatch(n,e)}catch(e){return!1}},t.figureMimeType=function(){var e=this.composeMimeType(0);return e&&this.canvasSupportsMimeType(e)||(this.types[1]?(e=this.composeMimeType(1))&&!this.canvasSupportsMimeType(e)&&(e=void 0):e=void 0),e},t.uriToBuffer=function(t){var n,r=t.split(\",\")[1];if(!r)throw new Error(\"Empty uri string given!\");if(!(n=a?window.atob(r):null==e.atob?void 0:e.atob(r)))throw new Error(\"Byte are empty, something within atob went wrong.\");for(var i=new Uint8Array(n.length),s=0,u=n.length;s-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;r3&&\"boolean\"!=typeof arguments[3]&&null!==arguments[3])throw new o(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&\"boolean\"!=typeof arguments[4]&&null!==arguments[4])throw new o(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&\"boolean\"!=typeof arguments[5]&&null!==arguments[5])throw new o(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&\"boolean\"!=typeof arguments[6])throw new o(\"`loose`, if provided, must be a boolean\");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new i(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\");e[t]=n}}},{\"es-define-property\":35,\"es-errors/syntax\":40,\"es-errors/type\":41,gopd:54}],29:[function(e,t,n){\"use strict\";t.exports=function(){for(var e=0;e0&&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 h(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 p(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;n0&&(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=y(u,l);for(n=0;n=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=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return\"function\"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],44:[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,p(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;fu.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;ft?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=h(e,\"\",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,p(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 h(e,t,n,a,s,u,c){var d;if(u+=1,\"object\"==typeof e&&null!==e){for(d=0;dc.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;d0)for(var r=0;r\n * @license BSD-3-Clause\n * @version 10.1.6\n */\n\"use strict\";const r=\"bits\",i=\"bytes\",o=\"\",a=\"jedec\",s=\"round\",u=\"string\",l={symbol:{iec:{bits:[\"bit\",\"Kibit\",\"Mibit\",\"Gibit\",\"Tibit\",\"Pibit\",\"Eibit\",\"Zibit\",\"Yibit\"],bytes:[\"B\",\"KiB\",\"MiB\",\"GiB\",\"TiB\",\"PiB\",\"EiB\",\"ZiB\",\"YiB\"]},jedec:{bits:[\"bit\",\"Kbit\",\"Mbit\",\"Gbit\",\"Tbit\",\"Pbit\",\"Ebit\",\"Zbit\",\"Ybit\"],bytes:[\"B\",\"KB\",\"MB\",\"GB\",\"TB\",\"PB\",\"EB\",\"ZB\",\"YB\"]}},fullform:{iec:[\"\",\"kibi\",\"mebi\",\"gibi\",\"tebi\",\"pebi\",\"exbi\",\"zebi\",\"yobi\"],jedec:[\"\",\"kilo\",\"mega\",\"giga\",\"tera\",\"peta\",\"exa\",\"zetta\",\"yotta\"]}};function c(e,{bits:t=!1,pad:n=!1,base:c=-1,round:f=2,locale:d=\"\",localeOptions:h={},separator:p=\"\",spacer:m=\" \",symbols:y={},standard:b=\"\",output:g=u,fullform:v=!1,fullforms:w=[],exponent:E=-1,roundingMethod:_=s,precision:R=0}={}){let S=E,A=Number(e),O=[],k=0,x=o;\"si\"===b?(c=10,b=a):\"iec\"===b||b===a?c=2:2===c?b=\"iec\":(c=10,b=a);const T=10===c?1e3:1024,j=!0===v,D=A<0,N=Math[_];if(\"bigint\"!=typeof e&&isNaN(e))throw new TypeError(\"Invalid number\");if(\"function\"!=typeof N)throw new TypeError(\"Invalid rounding method\");if(D&&(A=-A),(-1===S||isNaN(S))&&(S=Math.floor(Math.log(A)/Math.log(T)),S<0&&(S=0)),S>8&&(R>0&&(R+=8-S),S=8),\"exponent\"===g)return S;if(0===A)O[0]=0,x=O[1]=l.symbol[b][t?r:i][S];else{k=A/(2===c?Math.pow(2,10*S):Math.pow(1e3,S)),t&&(k*=8,k>=T&&S<8&&(k/=T,S++));const e=Math.pow(10,S>0?f:0);O[0]=N(k*e)/e,O[0]===T&&S<8&&-1===E&&(O[0]=1,S++),x=O[1]=10===c&&1===S?t?\"kbit\":\"kB\":l.symbol[b][t?r:i][S]}if(D&&(O[0]=-O[0]),R>0&&(O[0]=O[0].toPrecision(R)),O[1]=y[O[1]]||O[1],!0===d?O[0]=O[0].toLocaleString():d.length>0?O[0]=O[0].toLocaleString(d,h):p.length>0&&(O[0]=O[0].toString().replace(\".\",p)),n&&f>0){const e=O[0].toString(),t=p||(e.match(/(\\D)/g)||[]).pop()||\".\",n=e.toString().split(t),r=n[1]||o,i=r.length,a=f-i;O[0]=`${n[0]}${t}${r.padEnd(i+a,\"0\")}`}return j&&(O[1]=w[S]?w[S]:l.fullform[b][S]+(t?\"bit\":\"byte\")+(1===O[0]?o:\"s\")),\"array\"===g?O:\"object\"===g?{value:O[0],symbol:O[1],exponent:S,unit:x}:O.join(m)}n.filesize=c,n.partial=function({bits:e=!1,pad:t=!1,base:n=-1,round:r=2,locale:i=\"\",localeOptions:o={},separator:a=\"\",spacer:l=\" \",symbols:f={},standard:d=\"\",output:h=u,fullform:p=!1,fullforms:m=[],exponent:y=-1,roundingMethod:b=s,precision:g=0}={}){return s=>c(s,{bits:e,pad:t,base:n,round:r,locale:i,localeOptions:o,separator:a,spacer:l,symbols:f,standard:d,output:h,fullform:p,fullforms:m,exponent:y,roundingMethod:b,precision:g})}},{}],46:[function(e,t,n){t.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(/(%?)(%([jds]))/g,(function(e,n,r,i){var o=t.shift();switch(i){case\"s\":o=\"\"+o;break;case\"d\":o=Number(o);break;case\"j\":o=JSON.stringify(o)}return n?(t.unshift(o),e):o}))),t.length&&(e+=\" \"+t.join(\" \")),\"\"+(e=e.replace(/%{2,2}/g,\"%\"))}},{}],47:[function(e,t,n){\"use strict\";var r=Object.prototype.toString,i=Math.max,o=function(e,t){for(var n=[],r=0;r0?a:null}function d(e,t){var n=null,r=e.type;if(\"select-one\"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if(\"select-multiple\"===r){n=[];for(var i=0,o=e.options.length;i1&&\"boolean\"!=typeof t)throw new l('\"allowMissing\" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new u(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var n=function(e){var t=j(e,0,1),n=j(e,-1);if(\"%\"===t&&\"%\"!==n)throw new u(\"invalid intrinsic syntax, expected closing `%`\");if(\"%\"===n&&\"%\"!==t)throw new u(\"invalid intrinsic syntax, expected opening `%`\");var r=[];return T(e,N,(function(e,t,n,i){r[r.length]=n?T(i,M,\"$1\"):t||e})),r}(e),r=n.length>0?n[0]:\"\",i=C(\"%\"+r+\"%\",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],x(n,k([0,1],c)));for(var f=1,d=!0;f=n.length){var b=h(a,p);a=(d=!!b)&&\"get\"in b&&!(\"originalValue\"in b.get)?b.get:a[p]}else d=O(a,p),a=a[p];d&&!s&&(E[o]=a)}}return a}},{\"es-errors\":37,\"es-errors/eval\":36,\"es-errors/range\":38,\"es-errors/ref\":39,\"es-errors/syntax\":40,\"es-errors/type\":41,\"es-errors/uri\":42,\"function-bind\":48,\"has-proto\":56,\"has-symbols\":57,hasown:59}],51:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n=2?\"s\":\"\")}),\"mois\",(function(e){return\"semaine\"+(e>=2?\"s\":\"\")}),(function(e){return\"jour\"+(e>=2?\"s\":\"\")}),(function(e){return\"heure\"+(e>=2?\"s\":\"\")}),(function(e){return\"minute\"+(e>=2?\"s\":\"\")}),(function(e){return\"seconde\"+(e>=2?\"s\":\"\")}),(function(e){return\"milliseconde\"+(e>=2?\"s\":\"\")}),\",\"),gr:r,he:o((function(e){return 1===e?\"שנה\":\"שנים\"}),(function(e){return 1===e?\"חודש\":\"חודשים\"}),(function(e){return 1===e?\"שבוע\":\"שבועות\"}),(function(e){return 1===e?\"יום\":\"ימים\"}),(function(e){return 1===e?\"שעה\":\"שעות\"}),(function(e){return 1===e?\"דקה\":\"דקות\"}),(function(e){return 1===e?\"שניה\":\"שניות\"}),(function(e){return 1===e?\"מילישנייה\":\"מילישניות\"})),hr:o((function(e){return e%10==2||e%10==3||e%10==4?\"godine\":\"godina\"}),(function(e){return 1===e?\"mjesec\":2===e||3===e||4===e?\"mjeseca\":\"mjeseci\"}),(function(e){return e%10==1&&11!==e?\"tjedan\":\"tjedna\"}),(function(e){return 1===e?\"dan\":\"dana\"}),(function(e){return 1===e?\"sat\":2===e||3===e||4===e?\"sata\":\"sati\"}),(function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?\"minuta\":\"minute\"}),(function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?\"sekundi\":1===t?\"sekunda\":2===t||3===t||4===t?\"sekunde\":\"sekundi\"}),(function(e){return 1===e?\"milisekunda\":e%10==2||e%10==3||e%10==4?\"milisekunde\":\"milisekundi\"}),\",\"),hi:o(\"साल\",(function(e){return 1===e?\"महीना\":\"महीने\"}),(function(e){return 1===e?\"हफ़्ता\":\"हफ्ते\"}),\"दिन\",(function(e){return 1===e?\"घंटा\":\"घंटे\"}),\"मिनट\",\"सेकंड\",\"मिलीसेकंड\"),hu:o(\"év\",\"hónap\",\"hét\",\"nap\",\"óra\",\"perc\",\"másodperc\",\"ezredmásodperc\",\",\"),id:o(\"tahun\",\"bulan\",\"minggu\",\"hari\",\"jam\",\"menit\",\"detik\",\"milidetik\"),is:o(\"ár\",(function(e){return\"mánuð\"+(1===e?\"ur\":\"ir\")}),(function(e){return\"vik\"+(1===e?\"a\":\"ur\")}),(function(e){return\"dag\"+(1===e?\"ur\":\"ar\")}),(function(e){return\"klukkutím\"+(1===e?\"i\":\"ar\")}),(function(e){return\"mínút\"+(1===e?\"a\":\"ur\")}),(function(e){return\"sekúnd\"+(1===e?\"a\":\"ur\")}),(function(e){return\"millisekúnd\"+(1===e?\"a\":\"ur\")})),it:o((function(e){return\"ann\"+(1===e?\"o\":\"i\")}),(function(e){return\"mes\"+(1===e?\"e\":\"i\")}),(function(e){return\"settiman\"+(1===e?\"a\":\"e\")}),(function(e){return\"giorn\"+(1===e?\"o\":\"i\")}),(function(e){return\"or\"+(1===e?\"a\":\"e\")}),(function(e){return\"minut\"+(1===e?\"o\":\"i\")}),(function(e){return\"second\"+(1===e?\"o\":\"i\")}),(function(e){return\"millisecond\"+(1===e?\"o\":\"i\")}),\",\"),ja:o(\"年\",\"ヶ月\",\"週\",\"日\",\"時間\",\"分\",\"秒\",\"ミリ秒\"),km:o(\"ឆ្នាំ\",\"ខែ\",\"សប្តាហ៍\",\"ថ្ងៃ\",\"ម៉ោង\",\"នាទី\",\"វិនាទី\",\"មិល្លីវិនាទី\"),kn:o((function(e){return 1===e?\"ವರ್ಷ\":\"ವರ್ಷಗಳು\"}),(function(e){return 1===e?\"ತಿಂಗಳು\":\"ತಿಂಗಳುಗಳು\"}),(function(e){return 1===e?\"ವಾರ\":\"ವಾರಗಳು\"}),(function(e){return 1===e?\"ದಿನ\":\"ದಿನಗಳು\"}),(function(e){return 1===e?\"ಗಂಟೆ\":\"ಗಂಟೆಗಳು\"}),(function(e){return 1===e?\"ನಿಮಿಷ\":\"ನಿಮಿಷಗಳು\"}),(function(e){return 1===e?\"ಸೆಕೆಂಡ್\":\"ಸೆಕೆಂಡುಗಳು\"}),(function(e){return 1===e?\"ಮಿಲಿಸೆಕೆಂಡ್\":\"ಮಿಲಿಸೆಕೆಂಡುಗಳು\"})),ko:o(\"년\",\"개월\",\"주일\",\"일\",\"시간\",\"분\",\"초\",\"밀리 초\"),ku:o(\"sal\",\"meh\",\"hefte\",\"roj\",\"seet\",\"deqe\",\"saniye\",\"mîlîçirk\",\",\"),lo:o(\"ປີ\",\"ເດືອນ\",\"ອາທິດ\",\"ມື້\",\"ຊົ່ວໂມງ\",\"ນາທີ\",\"ວິນາທີ\",\"ມິນລິວິນາທີ\",\",\"),lt:o((function(e){return e%10==0||e%100>=10&&e%100<=20?\"metų\":\"metai\"}),(function(e){return[\"mėnuo\",\"mėnesiai\",\"mėnesių\"][c(e)]}),(function(e){return[\"savaitė\",\"savaitės\",\"savaičių\"][c(e)]}),(function(e){return[\"diena\",\"dienos\",\"dienų\"][c(e)]}),(function(e){return[\"valanda\",\"valandos\",\"valandų\"][c(e)]}),(function(e){return[\"minutė\",\"minutės\",\"minučių\"][c(e)]}),(function(e){return[\"sekundė\",\"sekundės\",\"sekundžių\"][c(e)]}),(function(e){return[\"milisekundė\",\"milisekundės\",\"milisekundžių\"][c(e)]}),\",\"),lv:o((function(e){return f(e)?\"gads\":\"gadi\"}),(function(e){return f(e)?\"mēnesis\":\"mēneši\"}),(function(e){return f(e)?\"nedēļa\":\"nedēļas\"}),(function(e){return f(e)?\"diena\":\"dienas\"}),(function(e){return f(e)?\"stunda\":\"stundas\"}),(function(e){return f(e)?\"minūte\":\"minūtes\"}),(function(e){return f(e)?\"sekunde\":\"sekundes\"}),(function(e){return f(e)?\"milisekunde\":\"milisekundes\"}),\",\"),mk:o((function(e){return 1===e?\"година\":\"години\"}),(function(e){return 1===e?\"месец\":\"месеци\"}),(function(e){return 1===e?\"недела\":\"недели\"}),(function(e){return 1===e?\"ден\":\"дена\"}),(function(e){return 1===e?\"час\":\"часа\"}),(function(e){return 1===e?\"минута\":\"минути\"}),(function(e){return 1===e?\"секунда\":\"секунди\"}),(function(e){return 1===e?\"милисекунда\":\"милисекунди\"}),\",\"),mn:o(\"жил\",\"сар\",\"долоо хоног\",\"өдөр\",\"цаг\",\"минут\",\"секунд\",\"миллисекунд\"),mr:o((function(e){return 1===e?\"वर्ष\":\"वर्षे\"}),(function(e){return 1===e?\"महिना\":\"महिने\"}),(function(e){return 1===e?\"आठवडा\":\"आठवडे\"}),\"दिवस\",\"तास\",(function(e){return 1===e?\"मिनिट\":\"मिनिटे\"}),\"सेकंद\",\"मिलिसेकंद\"),ms:o(\"tahun\",\"bulan\",\"minggu\",\"hari\",\"jam\",\"minit\",\"saat\",\"milisaat\"),nl:o(\"jaar\",(function(e){return 1===e?\"maand\":\"maanden\"}),(function(e){return 1===e?\"week\":\"weken\"}),(function(e){return 1===e?\"dag\":\"dagen\"}),\"uur\",(function(e){return 1===e?\"minuut\":\"minuten\"}),(function(e){return 1===e?\"seconde\":\"seconden\"}),(function(e){return 1===e?\"milliseconde\":\"milliseconden\"}),\",\"),no:o(\"år\",(function(e){return\"måned\"+(1===e?\"\":\"er\")}),(function(e){return\"uke\"+(1===e?\"\":\"r\")}),(function(e){return\"dag\"+(1===e?\"\":\"er\")}),(function(e){return\"time\"+(1===e?\"\":\"r\")}),(function(e){return\"minutt\"+(1===e?\"\":\"er\")}),(function(e){return\"sekund\"+(1===e?\"\":\"er\")}),(function(e){return\"millisekund\"+(1===e?\"\":\"er\")}),\",\"),pl:o((function(e){return[\"rok\",\"roku\",\"lata\",\"lat\"][s(e)]}),(function(e){return[\"miesiąc\",\"miesiąca\",\"miesiące\",\"miesięcy\"][s(e)]}),(function(e){return[\"tydzień\",\"tygodnia\",\"tygodnie\",\"tygodni\"][s(e)]}),(function(e){return[\"dzień\",\"dnia\",\"dni\",\"dni\"][s(e)]}),(function(e){return[\"godzina\",\"godziny\",\"godziny\",\"godzin\"][s(e)]}),(function(e){return[\"minuta\",\"minuty\",\"minuty\",\"minut\"][s(e)]}),(function(e){return[\"sekunda\",\"sekundy\",\"sekundy\",\"sekund\"][s(e)]}),(function(e){return[\"milisekunda\",\"milisekundy\",\"milisekundy\",\"milisekund\"][s(e)]}),\",\"),pt:o((function(e){return\"ano\"+(1===e?\"\":\"s\")}),(function(e){return 1===e?\"mês\":\"meses\"}),(function(e){return\"semana\"+(1===e?\"\":\"s\")}),(function(e){return\"dia\"+(1===e?\"\":\"s\")}),(function(e){return\"hora\"+(1===e?\"\":\"s\")}),(function(e){return\"minuto\"+(1===e?\"\":\"s\")}),(function(e){return\"segundo\"+(1===e?\"\":\"s\")}),(function(e){return\"milissegundo\"+(1===e?\"\":\"s\")}),\",\"),ro:o((function(e){return 1===e?\"an\":\"ani\"}),(function(e){return 1===e?\"lună\":\"luni\"}),(function(e){return 1===e?\"săptămână\":\"săptămâni\"}),(function(e){return 1===e?\"zi\":\"zile\"}),(function(e){return 1===e?\"oră\":\"ore\"}),(function(e){return 1===e?\"minut\":\"minute\"}),(function(e){return 1===e?\"secundă\":\"secunde\"}),(function(e){return 1===e?\"milisecundă\":\"milisecunde\"}),\",\"),ru:o((function(e){return[\"лет\",\"год\",\"года\"][u(e)]}),(function(e){return[\"месяцев\",\"месяц\",\"месяца\"][u(e)]}),(function(e){return[\"недель\",\"неделя\",\"недели\"][u(e)]}),(function(e){return[\"дней\",\"день\",\"дня\"][u(e)]}),(function(e){return[\"часов\",\"час\",\"часа\"][u(e)]}),(function(e){return[\"минут\",\"минута\",\"минуты\"][u(e)]}),(function(e){return[\"секунд\",\"секунда\",\"секунды\"][u(e)]}),(function(e){return[\"миллисекунд\",\"миллисекунда\",\"миллисекунды\"][u(e)]}),\",\"),sq:o((function(e){return 1===e?\"vit\":\"vjet\"}),\"muaj\",\"javë\",\"ditë\",\"orë\",(function(e){return\"minut\"+(1===e?\"ë\":\"a\")}),(function(e){return\"sekond\"+(1===e?\"ë\":\"a\")}),(function(e){return\"milisekond\"+(1===e?\"ë\":\"a\")}),\",\"),sr:o((function(e){return[\"години\",\"година\",\"године\"][u(e)]}),(function(e){return[\"месеци\",\"месец\",\"месеца\"][u(e)]}),(function(e){return[\"недељи\",\"недеља\",\"недеље\"][u(e)]}),(function(e){return[\"дани\",\"дан\",\"дана\"][u(e)]}),(function(e){return[\"сати\",\"сат\",\"сата\"][u(e)]}),(function(e){return[\"минута\",\"минут\",\"минута\"][u(e)]}),(function(e){return[\"секунди\",\"секунда\",\"секунде\"][u(e)]}),(function(e){return[\"милисекунди\",\"милисекунда\",\"милисекунде\"][u(e)]}),\",\"),ta:o((function(e){return 1===e?\"வருடம்\":\"ஆண்டுகள்\"}),(function(e){return 1===e?\"மாதம்\":\"மாதங்கள்\"}),(function(e){return 1===e?\"வாரம்\":\"வாரங்கள்\"}),(function(e){return 1===e?\"நாள்\":\"நாட்கள்\"}),(function(e){return 1===e?\"மணி\":\"மணிநேரம்\"}),(function(e){return\"நிமிட\"+(1===e?\"ம்\":\"ங்கள்\")}),(function(e){return\"வினாடி\"+(1===e?\"\":\"கள்\")}),(function(e){return\"மில்லி விநாடி\"+(1===e?\"\":\"கள்\")})),te:o((function(e){return\"సంవత్స\"+(1===e?\"రం\":\"రాల\")}),(function(e){return\"నెల\"+(1===e?\"\":\"ల\")}),(function(e){return 1===e?\"వారం\":\"వారాలు\"}),(function(e){return\"రోజు\"+(1===e?\"\":\"లు\")}),(function(e){return\"గంట\"+(1===e?\"\":\"లు\")}),(function(e){return 1===e?\"నిమిషం\":\"నిమిషాలు\"}),(function(e){return 1===e?\"సెకను\":\"సెకన్లు\"}),(function(e){return 1===e?\"మిల్లీసెకన్\":\"మిల్లీసెకన్లు\"})),uk:o((function(e){return[\"років\",\"рік\",\"роки\"][u(e)]}),(function(e){return[\"місяців\",\"місяць\",\"місяці\"][u(e)]}),(function(e){return[\"тижнів\",\"тиждень\",\"тижні\"][u(e)]}),(function(e){return[\"днів\",\"день\",\"дні\"][u(e)]}),(function(e){return[\"годин\",\"година\",\"години\"][u(e)]}),(function(e){return[\"хвилин\",\"хвилина\",\"хвилини\"][u(e)]}),(function(e){return[\"секунд\",\"секунда\",\"секунди\"][u(e)]}),(function(e){return[\"мілісекунд\",\"мілісекунда\",\"мілісекунди\"][u(e)]}),\",\"),ur:o(\"سال\",(function(e){return 1===e?\"مہینہ\":\"مہینے\"}),(function(e){return 1===e?\"ہفتہ\":\"ہفتے\"}),\"دن\",(function(e){return 1===e?\"گھنٹہ\":\"گھنٹے\"}),\"منٹ\",\"سیکنڈ\",\"ملی سیکنڈ\"),sk:o((function(e){return[\"rok\",\"roky\",\"roky\",\"rokov\"][l(e)]}),(function(e){return[\"mesiac\",\"mesiace\",\"mesiace\",\"mesiacov\"][l(e)]}),(function(e){return[\"týždeň\",\"týždne\",\"týždne\",\"týždňov\"][l(e)]}),(function(e){return[\"deň\",\"dni\",\"dni\",\"dní\"][l(e)]}),(function(e){return[\"hodina\",\"hodiny\",\"hodiny\",\"hodín\"][l(e)]}),(function(e){return[\"minúta\",\"minúty\",\"minúty\",\"minút\"][l(e)]}),(function(e){return[\"sekunda\",\"sekundy\",\"sekundy\",\"sekúnd\"][l(e)]}),(function(e){return[\"milisekunda\",\"milisekundy\",\"milisekundy\",\"milisekúnd\"][l(e)]}),\",\"),sl:o((function(e){return e%10==1?\"leto\":e%100==2?\"leti\":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?\"leta\":\"let\"}),(function(e){return e%10==1?\"mesec\":e%100==2||Math.floor(e)!==e&&e%100<=5?\"meseca\":e%10==3||e%10==4?\"mesece\":\"mesecev\"}),(function(e){return e%10==1?\"teden\":e%10==2||Math.floor(e)!==e&&e%100<=4?\"tedna\":e%10==3||e%10==4?\"tedne\":\"tednov\"}),(function(e){return e%100==1?\"dan\":\"dni\"}),(function(e){return e%10==1?\"ura\":e%100==2?\"uri\":e%10==3||e%10==4||Math.floor(e)!==e?\"ure\":\"ur\"}),(function(e){return e%10==1?\"minuta\":e%10==2?\"minuti\":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?\"minute\":\"minut\"}),(function(e){return e%10==1?\"sekunda\":e%100==2?\"sekundi\":e%100==3||e%100==4||Math.floor(e)!==e?\"sekunde\":\"sekund\"}),(function(e){return e%10==1?\"milisekunda\":e%100==2?\"milisekundi\":e%100==3||e%100==4||Math.floor(e)!==e?\"milisekunde\":\"milisekund\"}),\",\"),sv:o(\"år\",(function(e){return\"månad\"+(1===e?\"\":\"er\")}),(function(e){return\"veck\"+(1===e?\"a\":\"or\")}),(function(e){return\"dag\"+(1===e?\"\":\"ar\")}),(function(e){return\"timm\"+(1===e?\"e\":\"ar\")}),(function(e){return\"minut\"+(1===e?\"\":\"er\")}),(function(e){return\"sekund\"+(1===e?\"\":\"er\")}),(function(e){return\"millisekund\"+(1===e?\"\":\"er\")}),\",\"),sw:e(o((function(e){return 1===e?\"mwaka\":\"miaka\"}),(function(e){return 1===e?\"mwezi\":\"miezi\"}),\"wiki\",(function(e){return 1===e?\"siku\":\"masiku\"}),(function(e){return 1===e?\"saa\":\"masaa\"}),\"dakika\",\"sekunde\",\"milisekunde\"),{_numberFirst:!0}),tr:o(\"yıl\",\"ay\",\"hafta\",\"gün\",\"saat\",\"dakika\",\"saniye\",\"milisaniye\",\",\"),th:o(\"ปี\",\"เดือน\",\"สัปดาห์\",\"วัน\",\"ชั่วโมง\",\"นาที\",\"วินาที\",\"มิลลิวินาที\"),uz:o(\"yil\",\"oy\",\"hafta\",\"kun\",\"soat\",\"minut\",\"sekund\",\"millisekund\"),uz_CYR:o(\"йил\",\"ой\",\"ҳафта\",\"кун\",\"соат\",\"минут\",\"секунд\",\"миллисекунд\"),vi:o(\"năm\",\"tháng\",\"tuần\",\"ngày\",\"giờ\",\"phút\",\"giây\",\"mili giây\",\",\"),zh_CN:o(\"年\",\"个月\",\"周\",\"天\",\"小时\",\"分钟\",\"秒\",\"毫秒\"),zh_TW:o(\"年\",\"個月\",\"周\",\"天\",\"小時\",\"分鐘\",\"秒\",\"毫秒\")};function o(e,t,n,r,i,o,a,s,u){var l={y:e,mo:t,w:n,d:r,h:i,m:o,s:a,ms:s};return void 0!==u&&(l.decimal=u),l}function a(e){return 2===e?1:e>2&&e<11?2:0}function s(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function c(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function f(e){return e%10==1&&e%100!=11}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t,n){var r,i,o,a=e.unitName,s=e.unitCount,u=n.spacer,l=n.maxDecimalPoints;r=d(n,\"decimal\")?n.decimal:d(t,\"decimal\")?t.decimal:\".\",\"digitReplacements\"in n?i=n.digitReplacements:\"_digitReplacements\"in t&&(i=t._digitReplacements);var c=(void 0===l?s:Math.floor(s*Math.pow(10,l))/Math.pow(10,l)).toString();if(t._hideCountIf2&&2===s)o=\"\",u=\"\";else if(i){o=\"\";for(var f=0;f=0;r--)if(0!==(i=l[n=a[r]])){var m=Math.round(i);if(l[n]=m,0===r)break;var y=a[r-1],b=s[y],g=Math.floor(m*s[n]/b);if(!g)break;l[y]+=g,l[n]=0}}var v=[];for(r=0;r */\nn.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],64:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(\"number\"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,\"$&_\")+\".\"+v.call(v.call(o,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return v.call(t,n,\"$&_\")}var I=e(\"./util.inspect\"),P=I.custom,L=q(P)?P:null;function B(e,t,n){var r=\"double\"===(n.quoteStyle||t)?'\"':\"'\";return r+e+r}function U(e){return v.call(String(e),/\"/g,\""\")}function F(e){return!(\"[object Array]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}function W(e){return!(\"[object RegExp]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}function q(e){if(j)return e&&\"object\"==typeof e&&e instanceof Symbol;if(\"symbol\"==typeof e)return!0;if(!e||\"object\"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}t.exports=function e(t,r,i,s){var u=r||{};if(V(u,\"quoteStyle\")&&\"single\"!==u.quoteStyle&&\"double\"!==u.quoteStyle)throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(V(u,\"maxStringLength\")&&(\"number\"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var m=!V(u,\"customInspect\")||u.customInspect;if(\"boolean\"!=typeof m&&\"symbol\"!==m)throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(V(u,\"indent\")&&null!==u.indent&&\"\\t\"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(V(u,\"numericSeparator\")&&\"boolean\"!=typeof u.numericSeparator)throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===t)return\"undefined\";if(null===t)return\"null\";if(\"boolean\"==typeof t)return t?\"true\":\"false\";if(\"string\"==typeof t)return $(t,u);if(\"number\"==typeof t){if(0===t)return 1/0/t>0?\"0\":\"-0\";var _=String(t);return w?C(t,_):_}if(\"bigint\"==typeof t){var O=String(t)+\"n\";return w?C(t,O):O}var x=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=x&&x>0&&\"object\"==typeof t)return F(t)?\"[Array]\":\"[Object]\";var P=function(e,t){var n;if(\"\\t\"===e.indent)n=\"\\t\";else{if(!(\"number\"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1),\" \")}return{base:n,prev:S.call(Array(t+1),n)}}(u,i);if(void 0===s)s=[];else if(G(s,t)>=0)return\"[Circular]\";function H(t,n,r){if(n&&(s=A.call(s)).push(n),r){var o={depth:u.depth};return V(u,\"quoteStyle\")&&(o.quoteStyle=u.quoteStyle),e(t,o,i+1,s)}return e(t,u,i+1,s)}if(\"function\"==typeof t&&!W(t)){var Y=function(e){if(e.name)return e.name;var t=b.call(y.call(e),/^function\\s*([\\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,H);return\"[Function\"+(Y?\": \"+Y:\" (anonymous)\")+\"]\"+(ee.length>0?\" { \"+S.call(ee,\", \")+\" }\":\"\")}if(q(t)){var te=j?v.call(String(t),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):T.call(t);return\"object\"!=typeof t||j?te:K(te)}if(function(e){if(!e||\"object\"!=typeof e)return!1;if(\"undefined\"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return\"string\"==typeof e.nodeName&&\"function\"==typeof e.getAttribute}(t)){for(var ne=\"<\"+E.call(String(t.nodeName)),re=t.attributes||[],ie=0;ie\",t.childNodes&&t.childNodes.length&&(ne+=\"...\"),ne+=\"\"}if(F(t)){if(0===t.length)return\"[]\";var oe=Z(t,H);return P&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?\"[\"+Q(oe,P)+\"]\":\"[ \"+S.call(oe,\", \")+\" ]\"}if(function(e){return!(\"[object Error]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t)){var ae=Z(t,H);return\"cause\"in Error.prototype||!(\"cause\"in t)||N.call(t,\"cause\")?0===ae.length?\"[\"+String(t)+\"]\":\"{ [\"+String(t)+\"] \"+S.call(ae,\", \")+\" }\":\"{ [\"+String(t)+\"] \"+S.call(R.call(\"[cause]: \"+H(t.cause),ae),\", \")+\" }\"}if(\"object\"==typeof t&&m){if(L&&\"function\"==typeof t[L]&&I)return I(t,{depth:x-i});if(\"symbol\"!==m&&\"function\"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||\"object\"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(H(n,t,!0)+\" => \"+H(e,t))})),X(\"Map\",o.call(t),se,P)}if(function(e){if(!l||!e||\"object\"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c&&c.call(t,(function(e){ue.push(H(e,t))})),X(\"Set\",l.call(t),ue,P)}if(function(e){if(!f||!e||\"object\"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J(\"WeakMap\");if(function(e){if(!d||!e||\"object\"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J(\"WeakSet\");if(function(e){if(!h||!e||\"object\"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J(\"WeakRef\");if(function(e){return!(\"[object Number]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(H(Number(t)));if(function(e){if(!e||\"object\"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}(t))return K(H(k.call(t)));if(function(e){return!(\"[object Boolean]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(p.call(t));if(function(e){return!(\"[object String]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(H(String(t)));if(\"undefined\"!=typeof window&&t===window)return\"{ [object Window] }\";if(\"undefined\"!=typeof globalThis&&t===globalThis||void 0!==n&&t===n)return\"{ [object globalThis] }\";if(!function(e){return!(\"[object Date]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t)&&!W(t)){var le=Z(t,H),ce=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?\"\":\"null prototype\",de=!ce&&D&&Object(t)===t&&D in t?g.call(z(t),8,-1):fe?\"Object\":\"\",he=(ce||\"function\"!=typeof t.constructor?\"\":t.constructor.name?t.constructor.name+\" \":\"\")+(de||fe?\"[\"+S.call(R.call([],de||[],fe||[]),\": \")+\"] \":\"\");return 0===le.length?he+\"{}\":P?he+\"{\"+Q(le,P)+\"}\":he+\"{ \"+S.call(le,\", \")+\" }\"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r=\"... \"+n+\" more character\"+(n>1?\"s\":\"\");return $(g.call(e,0,t.maxStringLength),t)+r}return B(v.call(v.call(e,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,Y),\"single\",t)}function Y(e){var t=e.charCodeAt(0),n={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[t];return n?\"\\\\\"+n:\"\\\\x\"+(t<16?\"0\":\"\")+w.call(t.toString(16))}function K(e){return\"Object(\"+e+\")\"}function J(e){return e+\" { ? }\"}function X(e,t,n,r){return e+\" (\"+t+\") {\"+(r?Q(n,r):S.call(n,\", \"))+\"}\"}function Q(e,t){if(0===e.length)return\"\";var n=\"\\n\"+t.prev+t.base;return n+S.call(e,\",\"+n)+\"\\n\"+t.prev}function Z(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var i=0;i1)for(var n=1;n-1?e.split(\",\"):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\\.([^.[]+)/g,\"[$1]\"):e,a=/(\\[[^[\\]]*])/g,s=n.depth>0&&/(\\[[^[\\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f=0;--o){var a,s=e[o];if(\"[]\"===s&&n.parseArrays)a=n.allowEmptyArrays&&(\"\"===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l=\"[\"===s.charAt(0)&&\"]\"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,\".\"):l,f=parseInt(c,10);n.parseArrays||\"\"!==c?!isNaN(f)&&s!==c&&String(f)===c&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=i:\"__proto__\"!==c&&(a[c]=i):a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&\"boolean\"!=typeof e.allowEmptyArrays)throw new TypeError(\"`allowEmptyArrays` option can only be `true` or `false`, when provided\");if(void 0!==e.decodeDotInKeys&&\"boolean\"!=typeof e.decodeDotInKeys)throw new TypeError(\"`decodeDotInKeys` option can only be `true` or `false`, when provided\");if(null!==e.decoder&&void 0!==e.decoder&&\"function\"!=typeof e.decoder)throw new TypeError(\"Decoder has to be a function.\");if(void 0!==e.charset&&\"utf-8\"!==e.charset&&\"iso-8859-1\"!==e.charset)throw new TypeError(\"The charset option must be either utf-8, iso-8859-1, or undefined\");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if(\"combine\"!==n&&\"first\"!==n&&\"last\"!==n)throw new TypeError(\"The duplicates option must be either combine, first, or last\");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:\"boolean\"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:\"boolean\"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:\"boolean\"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:\"number\"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:\"boolean\"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:\"boolean\"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:\"boolean\"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:\"function\"==typeof e.decoder?e.decoder:a.decoder,delimiter:\"string\"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:\"number\"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:\"boolean\"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:\"number\"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:\"boolean\"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:\"boolean\"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:\"boolean\"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(\"\"===e||null==e)return n.plainObjects?Object.create(null):{};for(var c=\"string\"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\\?/,\"\"):e;l=l.replace(/%5B/gi,\"[\").replace(/%5D/gi,\"]\");var c,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),h=-1,p=t.charset;if(t.charsetSentinel)for(c=0;c-1&&(y=o(y)?[y]:y);var w=i.call(n,m);w&&\"combine\"===t.duplicates?n[m]=r.combine(n[m],y):w&&\"last\"!==t.duplicates||(n[m]=y)}return n}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),h=0;h0?O.join(\",\")||null:void 0}];else if(u(y))D=y;else{var M=Object.keys(O);D=b?M.sort(b):M}var C=d?n.replace(/\\./g,\"%2E\"):n,I=a&&u(O)&&1===O.length?C+\"[]\":C;if(s&&u(O)&&0===O.length)return I+\"[]\";for(var P=0;P0?w+v:\"\"}},{\"./formats\":75,\"./utils\":79,\"side-channel\":95}],79:[function(e,t,n){\"use strict\";var r=e(\"./formats\"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push(\"%\"+((t<16?\"0\":\"\")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=u?s.slice(c,c+u):s,d=[],h=0;h=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===r.RFC1738&&(40===p||41===p)?d[d.length]=f.charAt(h):p<128?d[d.length]=a[p]:p<2048?d[d.length]=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?d[d.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(h+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(h)),d[d.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}l+=d.join(\"\")}return l},isBuffer:function(e){return!(!e||\"object\"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r0?(\"string\"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit(\"error\",new Error(\"stream.unshift() after end event\")):E(e,a,t,!0):a.ended?e.emit(\"error\",new Error(\"stream.push() after EOF\")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?E(e,a,t,!1):O(e,a)):E(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(A,e):A(e))}function A(e){h(\"emit readable\"),e.emit(\"readable\"),j(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(k,e,t))}function k(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(\"\"):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function N(e){var t=e._readableState;if(t.length>0)throw new Error('\"endReadable()\" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function C(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?N(this):S(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return h(\"need readable\",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit(\"data\",r),r},v.prototype._read=function(e){this.emit(\"error\",new Error(\"_read() is not implemented\"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h(\"pipe count=%d opts=%j\",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){h(\"onunpipe\"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h(\"cleanup\"),e.removeListener(\"close\",b),e.removeListener(\"finish\",g),e.removeListener(\"drain\",f),e.removeListener(\"error\",y),e.removeListener(\"unpipe\",l),r.removeListener(\"end\",c),r.removeListener(\"end\",v),r.removeListener(\"data\",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h(\"onend\"),e.end()}o.endEmitted?i.nextTick(u):r.once(\"end\",u),e.on(\"unpipe\",l);var f=function(e){return function(){var t=e._readableState;h(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,\"data\")&&(t.flowing=!0,j(e))}}(r);e.on(\"drain\",f);var d=!1;var p=!1;function m(t){h(\"ondata\"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==C(o.pipes,e))&&!d&&(h(\"false write response, pause\",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function y(t){h(\"onerror\",t),v(),e.removeListener(\"error\",y),0===s(e,\"error\")&&e.emit(\"error\",t)}function b(){e.removeListener(\"finish\",g),v()}function g(){h(\"onfinish\"),e.removeListener(\"close\",b),v()}function v(){h(\"unpipe\"),r.unpipe(e)}return r.on(\"data\",m),function(e,t,n){if(\"function\"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,\"error\",y),e.once(\"close\",b),e.once(\"finish\",g),e.emit(\"pipe\",r),o.flowing||(h(\"pipe resume\"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e(\"core-util-is\"));l.inherits=e(\"inherits\");var c={deprecate:e(\"util-deprecate\")},f=e(\"./internal/streams/stream\"),d=e(\"safe-buffer\").Buffer,h=(void 0!==r?r:\"undefined\"!=typeof window?window:\"undefined\"!=typeof self?self:{}).Uint8Array||function(){};var p,m=e(\"./internal/streams/destroy\");function y(){}function b(t,n){s=s||e(\"./_stream_duplex\"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit(\"error\",r)):(i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r),S(e,t))}(e,n,r,t,i);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e(\"./_stream_duplex\"),!(p.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev),\"function\"==typeof t.destroy&&(this._destroy=t.destroy),\"function\"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}(e,t),t.pendingcb--,r(),S(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&e.emit(\"error\",n),t.prefinished=!0,e.emit(\"prefinish\"),S(e,t)}))}function S(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||(\"function\"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(R,e,t)):(t.prefinished=!0,e.emit(\"prefinish\")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit(\"finish\"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,\"buffer\",{get:c.deprecate((function(){return this.getBuffer()}),\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch(e){}}(),\"function\"==typeof Symbol&&Symbol.hasInstance&&\"function\"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe, not readable\"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),\"function\"==typeof t&&(n=t,t=null),s?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=y),i.ended?function(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError(\"May not write null values to stream\"):\"string\"==typeof n||void 0===n||t.objectMode||(a=new TypeError(\"Invalid non-string/buffer chunk\")),a&&(e.emit(\"error\",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||\"string\"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i=\"buffer\",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError(\"Unknown encoding: \"+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error(\"_write() is not implemented\"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once(\"finish\",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,\"destroyed\",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e(\"_process\"),\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"timers\").setImmediate)},{\"./_stream_duplex\":81,\"./internal/streams/destroy\":87,\"./internal/streams/stream\":88,_process:74,\"core-util-is\":25,inherits:65,\"process-nextick-args\":73,\"safe-buffer\":89,timers:102,\"util-deprecate\":105}],86:[function(e,t,n){\"use strict\";var r=e(\"safe-buffer\").Buffer,i=e(\"util\");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return\"\";for(var t=this.head,n=\"\"+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+\" \"+e})},{\"safe-buffer\":89,util:16}],87:[function(e,t,n){\"use strict\";var r=e(\"process-nextick-args\");function i(e,t){e.emit(\"error\",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,e)):r.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{\"process-nextick-args\":73}],88:[function(e,t,n){t.exports=e(\"events\").EventEmitter},{events:43}],89:[function(e,t,n){var r=e(\"buffer\"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return i(e,t,n)},a.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=i(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return i(e)},a.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return r.SlowBuffer(e)}},{buffer:18}],90:[function(e,t,n){\"use strict\";var r=e(\"safe-buffer\").Buffer,i=r.isEncoding||function(e){switch((e=\"\"+e)&&e.toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":case\"raw\":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return\"utf8\";for(var t;;)switch(e){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return e;default:if(t)return;e=(\"\"+e).toLowerCase(),t=!0}}(e);if(\"string\"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error(\"Unknown encoding: \"+e);return t||e}(e),this.encoding){case\"utf16le\":this.text=u,this.end=l,t=4;break;case\"utf8\":this.fillLast=s,t=4;break;case\"base64\":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,\"�\";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,\"�\";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,\"�\"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString(\"utf16le\",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(\"utf16le\",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):\"\";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(\"utf16le\",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString(\"base64\",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(\"base64\",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+this.lastChar.toString(\"base64\",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):\"\"}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return\"\";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return\"\";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString(\"utf8\",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(\"utf8\",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{\"safe-buffer\":89}],91:[function(e,t,n){(n=t.exports=e(\"./lib/_stream_readable.js\")).Stream=n,n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":81,\"./lib/_stream_passthrough.js\":82,\"./lib/_stream_readable.js\":83,\"./lib/_stream_transform.js\":84,\"./lib/_stream_writable.js\":85}],92:[function(e,t,n){\n/*! safe-buffer. MIT License. Feross Aboukhadijeh */\nvar 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:18}],93:[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},{}],94:[function(e,t,n){\"use strict\";var r=e(\"get-intrinsic\"),i=e(\"define-data-property\"),o=e(\"has-property-descriptors\")(),a=e(\"gopd\"),s=e(\"es-errors/type\"),u=r(\"%Math.floor%\");t.exports=function(e,t){if(\"function\"!=typeof e)throw new s(\"`fn` is not a function\");if(\"number\"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s(\"`length` must be a positive 32-bit integer\");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if(\"length\"in e&&a){var c=a(e,\"length\");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(o?i(e,\"length\",t,!0,!0):i(e,\"length\",t)),e}},{\"define-data-property\":28,\"es-errors/type\":41,\"get-intrinsic\":50,gopd:54,\"has-property-descriptors\":55}],95:[function(e,t,n){\"use strict\";var r=e(\"get-intrinsic\"),i=e(\"call-bind/callBound\"),o=e(\"object-inspect\"),a=e(\"es-errors/type\"),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),h=i(\"Map.prototype.set\",!0),p=i(\"Map.prototype.has\",!0),m=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=m(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 p(t,r)}else if(n)return function(e,t){return!!m(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),h(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{\"call-bind/callBound\":19,\"es-errors/type\":41,\"get-intrinsic\":50,\"object-inspect\":70}],96:[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){var t=e.bufferIndex||0;if(e.buffer.head)return e.buffer.head.data.length;if(e.buffer.length-t>0&&e.buffer[t])return e.buffer[t].length}return e.length}(t)):null}},{}],97:[function(e,t,n){\"use strict\";const r=[\"use\",\"on\",\"once\",\"set\",\"query\",\"type\",\"accept\",\"auth\",\"withCredentials\",\"sortQuery\",\"retry\",\"ok\",\"redirects\",\"timeout\",\"buffer\",\"serialize\",\"parse\",\"ca\",\"key\",\"pfx\",\"cert\",\"disableTLSCerts\"];class i{constructor(){this._defaults=[]}_setDefaults(e){for(const t of this._defaults)e[t.fn](...t.args)}}for(const e of r)i.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error(\"Browser-only version of superagent could not find XHR\")};const m=\"\".trim?e=>e.trim():e=>e.replace(/(^\\s*|\\s*$)/g,\"\");function y(e){if(!u(e))return e;const t=[];for(const n in e)c(e,n)&&b(t,n,e[n]);return t.join(\"&\")}function b(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)b(e,t,r);else if(u(n))for(const r in n)c(n,r)&&b(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+\"=\"+encodeURIComponent(n));else e.push(encodeURI(t))}function g(e){const t={},n=e.split(\"&\");let r,i;for(let e=0,o=n.length;e{let e,t=null,r=null;try{r=new w(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)}))}p.serializeObject=y,p.parseString=g,p.types={html:\"text/html\",json:\"application/json\",xml:\"text/xml\",urlencoded:\"application/x-www-form-urlencoded\",form:\"application/x-www-form-urlencoded\",\"form-data\":\"application/x-www-form-urlencoded\"},p.serialize={\"application/x-www-form-urlencoded\":e=>a.stringify(e,{indices:!1,strictNullHandling:!0}),\"application/json\":o},p.parse={\"application/x-www-form-urlencoded\":g,\"application/json\":JSON.parse},l(w.prototype,f.prototype),w.prototype._parseBody=function(e){let t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&v(this.type)&&(t=p.parse[\"application/json\"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},w.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r=`cannot ${t} ${n} (${this.status})`,i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=w,i(E.prototype),l(E.prototype,s.prototype),E.prototype.type=function(e){return this.set(\"Content-Type\",p.types[e]||e),this},E.prototype.accept=function(e){return this.set(\"Accept\",p.types[e]||e),this},E.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)},E.prototype.query=function(e){return\"string\"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},E.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},E.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},E.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)},E.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)},E.prototype.agent=function(){return console.warn(\"This is not supported in browser version of superagent\"),this},E.prototype.ca=E.prototype.agent,E.prototype.buffer=E.prototype.ca,E.prototype.write=()=>{throw new Error(\"Streaming is not supported in browser version of superagent\")},E.prototype.pipe=E.prototype.write,E.prototype._isHost=function(e){return e&&\"object\"==typeof e&&!Array.isArray(e)&&\"[object Object]\"!==Object.prototype.toString.call(e)},E.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||h,this._finalizeQueryString(),this._end()},E.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError(\"Upload timeout of \",e._uploadTimeout,\"ETIMEDOUT\")}),this._uploadTimeout))},E.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=p.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener(\"readystatechange\",(()=>{const{readyState:n}=t;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||p.serialize[e?e.split(\";\")[0]:\"\"];!t&&v(e)&&(t=p.serialize[\"application/json\"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&c(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)},p.agent=()=>new d;for(const e of[\"GET\",\"POST\",\"OPTIONS\",\"PATCH\",\"PUT\",\"DELETE\"])d.prototype[e.toLowerCase()]=function(t,n){const r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function _(e,t,n){const r=p(\"DELETE\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}d.prototype.del=d.prototype.delete,p.get=(e,t,n)=>{const r=p(\"GET\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=(e,t,n)=>{const r=p(\"HEAD\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=(e,t,n)=>{const r=p(\"OPTIONS\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=_,p.delete=_,p.patch=(e,t,n)=>{const r=p(\"PATCH\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=(e,t,n)=>{const r=p(\"POST\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=(e,t,n)=>{const r=p(\"PUT\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{\"./agent-base\":97,\"./request-base\":99,\"./response-base\":100,\"./utils\":101,\"component-emitter\":23,\"fast-safe-stringify\":44,qs:76}],99:[function(e,t,n){\"use strict\";const{isObject:r,hasOwn:i}=e(\"./utils\");function o(){}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||\"object\"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(i(e,t))switch(t){case\"deadline\":this._timeout=e.deadline;break;case\"response\":this._responseTimeout=e.response;break;case\"upload\":this._uploadTimeout=e.upload;break;default:console.warn(\"Unknown timeout option\",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const a=new Set([\"ETIMEDOUT\",\"ECONNRESET\",\"EADDRINUSE\",\"ECONNREFUSED\",\"EPIPE\",\"ENOTFOUND\",\"ENETUNREACH\",\"EAI_AGAIN\"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{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&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&\"ECONNABORTED\"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){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)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if(\"function\"!=typeof e)throw new Error(\"Callback required\");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(const t in e)i(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t,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(r(e)){for(const t in e)i(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(const n in t)i(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},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit(\"abort\")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case\"basic\":this.set(\"Authorization\",`Basic ${r(`${e}:${t}`)}`);break;case\"auto\":this.username=e,this.password=t;break;case\"bearer\":this.set(\"Authorization\",`Bearer ${e}`)}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid argument\");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){const t=r(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&&r(this._data))for(const t in e){if(\"bigint\"==typeof e[t]&&!e[t].toJSON)throw new Error(\"Cannot serialize BigInt value to json\");i(e,t)&&(this._data[t]=e[t])}else{if(\"bigint\"==typeof e)throw new Error(\"Cannot send value of type BigInt\");\"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},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.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(\"&\")}}},o.prototype._appendQueryString=()=>{console.warn(\"Unsupported\")},o.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)},o.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))}},{\"./utils\":101}],100:[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\":101}],101:[function(e,t,n){\"use strict\";n.type=e=>e.split(/ *; */).shift(),n.params=e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}return t},n.parseLinks=e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}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])},n.isGzipOrDeflateEncoding=e=>new RegExp(/^\\s*(?:deflate|gzip)\\s*$/).test(e.headers[\"content-encoding\"]),n.isBrotliEncoding=e=>new RegExp(/^\\s*(?:br)\\s*$/).test(e.headers[\"content-encoding\"])},{}],102:[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\":74,timers:102}],103:[function(e,t,n){(function(e){(function(){\n/*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh */\nt.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:18}],104:[function(e,t,n){!function(e,r){\"use strict\";var i=\"function\",o=\"undefined\",a=\"object\",s=\"string\",u=\"major\",l=\"model\",c=\"name\",f=\"type\",d=\"vendor\",h=\"version\",p=\"architecture\",m=\"console\",y=\"mobile\",b=\"tablet\",g=\"smarttv\",v=\"wearable\",w=\"embedded\",E=\"Amazon\",_=\"Apple\",R=\"ASUS\",S=\"BlackBerry\",A=\"Browser\",O=\"Chrome\",k=\"Firefox\",x=\"Google\",T=\"Huawei\",j=\"LG\",D=\"Microsoft\",N=\"Motorola\",M=\"Opera\",C=\"Samsung\",I=\"Sharp\",P=\"Sony\",L=\"Xiaomi\",B=\"Zebra\",U=\"Facebook\",F=\"Chromium OS\",W=\"Mac OS\",q=\" Browser\",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]=\"iPad\",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&\"Unknown\"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION=\"1.0.39\",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}(\"object\"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,\"end-of-stream\":34,inherits:65,\"readable-stream\":91,\"stream-shift\":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener(\"open\",v):c.onopen=v);l.socket=c,b?(c.addEventListener(\"close\",w),c.addEventListener(\"error\",E),c.addEventListener(\"message\",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on(\"close\",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit(\"connect\")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,\"utf8\"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r\",contributors:[{name:\"Michael Heuberger\",email:\"michael.heuberger@binarykitchen.com\"}],main:\"prototype/js/videomail-client.js\",scripts:{audit:\"npx audit-ci --config audit-ci.json\",build:\"gulp build\",lint:\"eslint --color ./src ./test ./gulpfile.js\",\"lint:fix\":\"npm --silent run lint -- --fix\",major:\"./etc/release.sh --importance=major\",minor:\"./etc/release.sh --importance=minor\",patch:\"./etc/release.sh --importance=patch\",prettier:\"prettier --check ./src ./test ./prototype/*.html gulpfile.js\",\"prettier:fix\":\"prettier --write ./src ./test ./prototype/*.html gulpfile.js\",test:\"gulp test\",watch:\"NODE_NO_HTTP2=1 gulp watch\"},prettier:\"./prettier.config.cjs\",dependencies:{\"@babel/core\":\"7.25.2\",\"add-eventlistener-with-options\":\"1.25.5\",animitter:\"3.0.0\",\"audio-sample\":\"4.1.0\",\"canvas-to-buffer\":\"4.1.0\",contains:\"0.1.1\",\"core-js\":\"3.38.1\",\"create-error\":\"0.3.1\",deepmerge:\"4.3.1\",defined:\"1.0.1\",despot:\"2.1.0\",\"document-visibility\":\"1.0.1\",filesize:\"10.1.6\",\"format-util\":\"1.0.5\",\"get-form-data\":\"3.0.0\",hidden:\"1.1.1\",\"humanize-duration\":\"3.32.1\",hyperscript:\"2.0.2\",inherits:\"2.0.4\",\"insert-css\":\"2.0.0\",\"is-power-of-two\":\"1.0.0\",keymirror:\"0.1.1\",\"safe-json-stringify\":\"1.2.0\",superagent:\"10.1.0\",\"ua-parser-js\":\"1.0.39\",\"websocket-stream\":\"5.5.2\"},devDependencies:{\"@babel/eslint-parser\":\"7.25.1\",\"@babel/plugin-transform-runtime\":\"7.25.4\",\"@babel/preset-env\":\"7.25.4\",\"@tsconfig/node22\":\"22.0.0\",\"@tsconfig/strictest\":\"2.0.5\",\"audit-ci\":\"7.1.0\",autoprefixer:\"10.4.20\",babelify:\"10.0.0\",\"body-parser\":\"1.20.3\",browserify:\"17.0.0\",\"connect-send-json\":\"1.0.0\",cssnano:\"6.0.5\",del:\"6.1.1\",eslint:\"8.57.0\",\"eslint-config-prettier\":\"9.1.0\",\"eslint-plugin-import\":\"2.30.0\",\"eslint-plugin-node\":\"11.1.0\",\"eslint-plugin-promise\":\"6.2.0\",\"fancy-log\":\"2.0.0\",glob:\"10.4.2\",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\":\"10.0.0\",\"gulp-rename\":\"2.0.0\",\"gulp-sourcemaps\":\"3.0.0\",\"gulp-stylus\":\"3.0.1\",\"gulp-terser\":\"2.1.0\",minimist:\"1.2.8\",nib:\"1.2.0\",postcss:\"8.4.47\",prettier:\"3.3.3\",\"prettier-plugin-curly\":\"0.2.2\",\"prettier-plugin-packagejson\":\"2.5.2\",\"prettier-plugin-sh\":\"0.14.0\",router:\"1.3.8\",tape:\"5.9.0\",\"tape-catch\":\"1.0.6\",\"tape-run\":\"11.0.0\",typescript:\"5.6.2\",\"vinyl-buffer\":\"1.0.1\",\"vinyl-source-stream\":\"2.0.0\",watchify:\"4.0.0\"},engines:{node:\"^22.8.0\",npm:\"^10.8.2\"},readmeFilename:\"README.md\"}},{}],111:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i,o=r(e(\"inherits\")),a=r(e(\"./constants\")),s=r(e(\"./events\")),u=r(e(\"./resource\")),l=r(e(\"./util/browser\")),c=r(e(\"./util/adjustOptions\")),f=r(e(\"./util/eventEmitter\")),d=r(e(\"./wrappers/container\"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,\"VideomailClient\"),this.build=function(){var e=!1;e||n.isBuilt()||(r(\"Client: build()\"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{\"./constants\":112,\"./events\":113,\"./resource\":115,\"./util/adjustOptions\":118,\"./util/browser\":120,\"./util/eventEmitter\":122,\"./wrappers/container\":128,\"@babel/runtime/helpers/interopRequireDefault\":4,inherits:65}],112:[function(e,t,n){\"use strict\";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\"}}},{}],113:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"keymirror\"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{\"@babel/runtime/helpers/interopRequireDefault\":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=e(\"../package.json\"),o=r(e(\"./util/addOptionsFunctions\")),a={logger:null,logStackSize:30,verbose:!(\"production\"===t.env.NODE_ENV),baseUrl:\"https://videomail.io\",socketUrl:\"wss://videomail.io\",siteName:\"videomail-client-demo\",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:\"application/json\",selectors:{containerId:\"videomail\",containerClass:\"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\",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e(\"_process\"))},{\"../package.json\":110,\"./util/addOptionsFunctions\":117,\"@babel/runtime/helpers/interopRequireDefault\":4,_process:74}],115:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,\"name\",r.name),n(i,\"type\",r.type),n(i,\"message\",r.message||t.statusText),n(i,\"cause\",r.cause),n(i,\"status\",r.status),n(i,\"code\",r.code),n(i,\"errno\",r.errno),n(i,\"details\",r.details),n(i,\"stack\",r.stack),i}return e}function s(t,n,s){var u=\"\".concat(e.baseUrl,\"/videomail/\").concat(t,\"/\").concat(n,\"/snapshot\");(0,i.default)(\"get\",u).type(\"json\").set(\"Accept\",\"application/json\").set(\"Timezone-Id\",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c=\"\".concat(e.baseUrl,\"/videomail/\");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set(\"Timezone-Id\",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s(\"alias\",e,t)},this.getByKey=function(e,t){s(\"key\",e,t)},this.reportError=function(t,n){var a={},s=\"\".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,\"from\"),n=t(n,\"to\"),n=t(n,\"cc\"),n=t(n,\"bcc\"),n=t(n,\"subject\"),n=t(n,\"body\")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u(\"post\",t,r)})):u(\"post\",n,r)},this.put=function(e,t){u(\"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: \".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set(\"Timezone-Id\",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e(\"superagent\")),o=r(e(\"./constants\")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{\"./constants\":112,\"@babel/runtime/helpers/interopRequireDefault\":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){\"use strict\";Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&\"auto\"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&\"auto\"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{\"./../options\":114,\"./addOptionsFunctions\":117,\"./collectLogger\":121,\"@babel/runtime/helpers/interopRequireDefault\":4,deepmerge:27}],119:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug(\"AudioRecorder: init()\");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create(\"Webcam has no audio\",e.toString(),t)}var a=t.audio.bufferSize;if(\"auto\"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create(\"Audio buffer size must be a power of two.\",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create(\"Audio volume must be between zero and one.\",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug(\"AudioRecorder: audio context is closed\"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e(\"audio-sample\")),o=r(e(\"is-power-of-two\")),a=r(e(\"./browser\")),s=r(e(\"./videomailError\")),u=1},{\"./browser\":120,\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,\"audio-sample\":14,\"is-power-of-two\":67}],120:[function(e,t,n){\"use strict\";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\")),o=r(e(\"defined\")),a=r(e(\"ua-parser-js\")),s=r(e(\"./videomailError\"));n.default=function(e){e||(e={});var t,n=\"http://www.mozilla.org/firefox/update/\",r=\"https://www.microsoft.com/en-us/download/details.aspx?id=48126\",u=\"http://www.google.com/chrome/\",l=(0,o.default)(e.fakeUaString,\"undefined\"!=typeof window&&window.navigator&&window.navigator.userAgent,\"\"),c=new a.default(l).getResult(),f=\"iOS\"===c.os.name,d=parseFloat(c.browser.version),h=\"Chrome\"===c.browser.name,p=\"Brave\"===c.browser.name,m=\"Chromium\"===c.browser.name,y=\"Firefox\"===c.browser.name,b=parseFloat(c.os.version),g=\"Windows\"===c.os.name,v=\"Edge\"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S=\"Facebook\"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||\"https:\"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?\"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.\":function(){var e;return y?e=f?\"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...\":'Probably you need to ')+\"upgrade Firefox to fix this.\":h?e=f?\"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).\":'Probably you need to ')+\"upgrade Chrome to fix this.\":m?e='Probably you need to ')+\"upgrade Chromium to fix this.\":O?e=\"Probably you need to shut down Safari and restart it, this for correct webcam access.\":w&&(e=\"Safari below version 11 has no webcam support.
Better upgrade Safari or pick\"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?\"For the webcam feature, your browser needs an upgrade.\":S?\"Hence we recommend you to use a real browser like \"+'Chrome, ')+'Firefox or ')+'Edge.'):\"Hence we recommend you to use either \"+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType(\"video/\".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?\"Sorry, the Facebook app cannot record from your mobile camera\":\"Sorry, your browser cannot record from your mobile camera\":\"Sorry, your browser cannot record from webcams\":A?\"Sorry, your browser is unable to use your mobile camera\":\"Sorry, your browser is unable to use webcams\",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create(\"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&&(M(e,\"mp4\")?t=\"mp4\":M(e,\"webm\")&&(t=\"webm\")),\"webm\"!==t&&\"mp4\"!==t&&(t=\"mp4\"),t&&\"\"!==t||(t=\"mp4\"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?\"Click on the allow button to grant access to your webcam\":this.isFirefox()?\"Please grant Firefox access to your webcam\":\"Your system does not let your browser access your webcam\",s.default.create(\"Unable to access webcam\",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return\"mobile\"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,defined:29,\"ua-parser-js\":104}],121:[function(e,t,n){\"use strict\";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push(\"[\".concat(t,\"] \").concat(a)),a}this.debug=function(){var r=s(\"debug\",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace(\"Trace\"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s(\"error\",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s(\"warn\",e))},this.getLines=function(){return r}};var i=r(e(\"@babel/runtime/helpers/toConsumableArray\")),o=r(e(\"format-util\")),a=r(e(\"./browser\"))},{\"./browser\":120,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/toConsumableArray\":7,\"format-util\":46}],122:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create(\"You cannot emit without an event.\",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&(\"removeListener\"!==n&&\"newListener\"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug(\"\".concat(t,\" emits \").concat(n,\" with \").concat((0,o.default)(r))):e.debug(\"\".concat(t,\" emits \").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e(\"despot\")),o=r(e(\"safe-json-stringify\")),a=r(e(\"./../events\")),s=r(e(\"./videomailError\"))},{\"./../events\":113,\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,despot:30,\"safe-json-stringify\":93}],123:[function(e,t,n){\"use strict\";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\"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{\"@babel/runtime/helpers/interopRequireDefault\":4,filesize:45,\"humanize-duration\":61}],124:[function(e,t,n){\"use strict\";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\"]},{}],125:[function(e,t,n){\"use strict\";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\")),o=r(e(\"safe-json-stringify\")),a=\"- \",s=\"
\".concat(a)},{\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,\"safe-json-stringify\":93}],126:[function(e,t,n){(function(t){(function(){\"use strict\";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\")),o=r(e(\"./../resource\")),a=r(e(\"create-error\")),s=r(e(\"safe-json-stringify\")),u=r(e(\"./pretty\")),l=\"Videomail Error\",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e(\"./browser\").default)(a);switch(\"object\"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:\"error\"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p=\"The operation was insecure\",r=\"Probably you have disallowed Cookies for this page?\",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p=\"Invalid webcam constraints\",r=n.constraint?\"width\"===n.constraint?\"Your webcam does not meet the width requirement.\":\"Unmet constraint: \".concat(n.constraint):n.toString();break;case\"MediaDeviceFailedDueToShutdown\":p=\"Webcam is shutting down\",r=\"This happens your webcam is already switching off and not giving you permission to use it.\";break;case\"SourceUnavailableError\":p=\"Source of your webcam cannot be accessed\",r=\"Probably it is locked from another process or has a hardware error.\",n.explanation&&(n.explanation+=\" Details: \".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case\"NO_DEVICES_FOUND\":m?(p=\"No webcam nor microphone found\",r=\"Your browser cannot find a webcam with microphone attached to your machine.\"):(p=\"No webcam found\",r=\"Your browser cannot find a webcam attached to your machine.\"),y.push(c.WEBCAM_PROBLEM);break;case\"PermissionDismissedError\":p=\"Ooops, you didn't give me any permissions?\",r=\"Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.\",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case\"PermissionDeniedError\":p=\"Permission denied\",r=\"Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.\",y.push(c.WEBCAM_PROBLEM);break;case\"HARDWARE_UNAVAILABLE\":p=\"Webcam is unavailable\",r=\"Maybe it is already busy in another window?\",(b.isChromeBased()||b.isFirefox())&&(r+=\" Or you have to allow access above?\"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p=\"Unable to connect\",r=\"Either the videomail server or your connection is down. Trying to reconnect every few seconds …\";break;case\"NO_VIDEO_FEED\":p=\"No video feed found!\",r=\"Your webcam is already used in another browser.\",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p=\"Starting video failed\",r=\"Most likely this happens when the webcam is already active in another browser\",y.push(c.WEBCAM_PROBLEM);break;case\"DevicesNotFoundError\":p=\"No available webcam could be found\",r=\"Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.\",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p=\"No access to webcam\",r=\"A hardware error occurred which prevented access to your webcam\",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p=\"Invalid state\",r=\"Video recording stream from your webcam already has finished\",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p=\"Requested webcam not found\",r=\"A webcam is needed but could not be found\",y.push(c.WEBCAM_PROBLEM);break;case 9:var g=\"https:\".concat(window.location.href.substring(window.location.protocol.length));p=\"Security upgrade needed\",r='Click here to switch to HTTPs which is more safe ')+\" and enables encrypted videomail transfers.\",y.push(c.BROWSER_PROBLEM);break;case 11:p=\"Invalid State\",r=\"The object is in an invalid, unusable state\",y.push(c.BROWSER_PROBLEM);break;default:p=\"DOM Exception\",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p=\"Media device not supported\",r=f(n);break;default:var v=r;if(r&&\"object\"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:\"Inspected: \".concat((0,s.default)(v))),n)if(\"string\"==typeof n)p=n;else if(n.message&&(p=f(n.message)+\" (pretty)\"),n.explanation&&(r?r+=\";
\".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=\";
\".concat(w)):r=w}p||(h&&(p=h+\" (weird)\"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)(\"VideomailError: create()\",p,r||\"(no explanation set)\");var _,R=b.getUsefulData(),S=t.document.cookie.split(\"; \"),A={title:\"videomail-client error\",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(\",\\n\"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join(\"×\"),orientation:\"string\"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k=\"function\"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error(\"Unable to report error\",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./../resource\":115,\"./browser\":120,\"./pretty\":125,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,\"create-error\":26,\"safe-json-stringify\":93}],127:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"contains\")),o=r(e(\"hidden\")),a=r(e(\"hyperscript\")),s=r(e(\"inherits\")),u=r(e(\"../events\")),l=r(e(\"../util/eventEmitter\")),c=function(e,t){l.default.call(this,t,\"Buttons\");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type=\"button\"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)(\"input#\".concat(e.id),{type:\"radio\",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)(\"span.radioGroup\",t,(0,a.default)(\"label\",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(\".\".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=\".\".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)(\"button.\".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g(\"Buttons: initEvents()\"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g(\"Buttons: onSubmitting()\"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g(\"Buttons: onEnablingAudio()\"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g(\"Buttons: onDisablingAudio()\"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug(\"Buttons: reset()\"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(\".\".concat(t.selectors.buttonsClass)))||(n=(0,a.default)(\"div.\".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,\"Submit\",null,!0,t.selectors.submitButtonId,\"submit\",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:\"audioOffOption\",name:\"audio\",value:\"off\",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:\"audioOnOption\",name:\"audio\",value:\"on\",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g(\"Buttons: unload()\"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{\"../events\":113,\"../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"@babel/runtime/helpers/defineProperty\")),o=r(e(\"document-visibility\")),a=r(e(\"hidden\")),s=r(e(\"insert-css\")),u=r(e(\"safe-json-stringify\")),l=r(e(\"inherits\")),c=r(e(\"../styles/css/main.min.css.js\")),f=r(e(\"../events\")),d=r(e(\"../resource\")),h=r(e(\"../util/eventEmitter\")),p=r(e(\"../util/videomailError\")),m=r(e(\"./buttons\")),y=r(e(\"./dimension\")),b=r(e(\"./form\")),g=r(e(\"./optionsWrapper\")),v=r(e(\"./visuals\")),w=function(e){h.default.call(this,e,\"Container\");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector(\"html\"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&\"FORM\"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest(\"form\")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A(\"Container: initEvents (playerOnly = \".concat(t,\")\")),e.enableAutoUnload&&window.addEventListener(\"beforeunload\",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause(\"document invisible\"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener(\"keypress\",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||\"true\"===t.target.contentEditable||!0===t.target.contentEditable||\"INPUT\"===r||\"TEXTAREA\"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create(\"Recorder width cannot be less than 1!\",e);t.style.width=\"\".concat(n,\"px\")}}function N(){t&&(t.style.width=\"auto\")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&\"text/html\"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error(\"Videomail data is missing for attaching player dimensions\");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A(\"Container: build (\".concat((0,u.default)(r),\")\"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement(\"div\"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),playerOnly||D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A(\"Container: buildChildren (playerOnly = \".concat(n).concat(r?', replayParentElement=\"'.concat(r.id,'\"'):\"\",\")\")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A(\"Container: building failed due to an error.\"):(A(\"Container: built.\"),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add(\"wait\")},this.endWaiting=function(){S.classList&&S.classList.remove(\"wait\")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A(\"Container: unload(\".concat(e?(0,u.default)(e):\"\",\")\")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error(\"No container element exists.\");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A(\"Container: hide()\"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A(\"Container: startOver(\".concat(e?(0,u.default)(e):\"\",\")\")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input \"'.concat(p.name,'\" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c=\"Don't forget to record a video 😉\",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v=\"to\"in g,w=\"cc\"in g,R=\"bcc\"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c=\"At least one recipient is required\")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(\": \");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A(\"Container: submitAll(\".concat(o,\")\"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||\"POST\"===e.toUpperCase()}(t)?function(e){return!!e&&\"PUT\"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:\"\".concat(navigator.connection.downlink,\" Mbit/s\"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&\"\"!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A(\"Container: submit()\"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{\"../events\":113,\"../resource\":115,\"../styles/css/main.min.css.js\":116,\"../util/eventEmitter\":122,\"../util/videomailError\":126,\"./buttons\":127,\"./dimension\":129,\"./form\":130,\"./optionsWrapper\":131,\"./visuals\":132,\"@babel/runtime/helpers/defineProperty\":3,\"@babel/runtime/helpers/interopRequireDefault\":4,\"document-visibility\":31,hidden:60,inherits:65,\"insert-css\":66,\"safe-json-stringify\":93}],129:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"./../util/videomailError\"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create(\"Got a video height less than 1 (\".concat(e,\") while figuring out the minimum!\"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g(\"Visuals: buildChildren (playerOnly = \".concat(r).concat(i?', replayParentElement=\"'.concat(i.id,'\"'):\"\",\")\")),(t=e.querySelector(\"noscript\"))&&((t=(0,o.default)(\"noscript\")).innerHTML=\"Please enable Javascript\",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width=\"\".concat(a.getRecorderWidth(!0),\"px\"),n.style.height=\"\".concat(a.getRecorderHeight(!0),\"px\"))}function E(){n&&(n.style.width=\"auto\",n.style.height=\"auto\")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g(\"Visuals: build (playerOnly=\".concat(i,\")\")),e){if(!(n=s?s.querySelector(\".\".concat(t.selectors.visualsClass)):e.querySelector(\".\".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)(\"div.\".concat(t.selectors.visualsClass));var l=e.querySelector(\".\".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add(\"visuals\")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g(\"Visuals: initEvents (playerOnly = \".concat(n,\")\")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,n||s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g(\"Visuals: back(\".concat(e?(0,s.default)(e):\"\",\")\")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g(\"Visuals: unload(\".concat(e?(0,s.default)(e):\"\",\")\")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{\"../events\":113,\"../util/eventEmitter\":122,\"./visuals/inside/recorderInsides\":138,\"./visuals/notifier\":139,\"./visuals/recorder\":140,\"./visuals/replay\":141,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62,inherits:65,\"safe-json-stringify\":93}],133:[function(e,t,n){\"use strict\";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,o.default)(\"p.countdown\"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],134:[function(e,t,n){\"use strict\";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\")),a=r(e(\"./../../../../events\")),s=r(e(\"./../../../../util/eventEmitter\"))},{\"./../../../../events\":113,\"./../../../../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],135:[function(e,t,n){\"use strict\";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,o.default)(\"div.paused\"),r=(0,o.default)(\"p.pausedHeader\"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(\".pausedHint\"),(s=(0,o.default)(\"p.pausedHint\")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\")),a=r(e(\"./../../../../util/videomailError\"))},{\"./../../../../util/videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],136:[function(e,t,n){\"use strict\";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],137:[function(e,t,n){\"use strict\";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, \".concat(s,\" seconds to go\"))):(t.setNear(),r.classList.add(\"near\"),n.debug(\"End is near, \".concat(s,\" seconds to go\")))}r.innerHTML=\"\".concat(i,\":\").concat((e=o)<10?\"0\".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove(\"near\"),r.classList.remove(\"nigh\"),(0,i.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 ~\".concat(h()-s,\" seconds.\")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(\".recordTimer\"))?d():(r=(0,o.default)(\"p.recordTimer\"),d(),e.appendChild(r))}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],138:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"inherits\")),o=r(e(\"./../../../events\")),a=r(e(\"./../../../util/browser\")),s=r(e(\"./../../../util/eventEmitter\")),u=r(e(\"./recorder/countdown\")),l=r(e(\"./recorder/facingMode\")),c=r(e(\"./recorder/pausedNote\")),f=r(e(\"./recorder/recordNote\")),d=r(e(\"./recorder/recordTimer\")),h=function(e,t){s.default.call(this,t,\"RecorderInsides\");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m(\"RecorderInsides: initEvents()\"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m(\"RecorderInsides: build()\"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{\"./../../../events\":113,\"./../../../util/browser\":120,\"./../../../util/eventEmitter\":122,\"./recorder/countdown\":133,\"./recorder/facingMode\":134,\"./recorder/pausedNote\":135,\"./recorder/recordNote\":136,\"./recorder/recordTimer\":137,\"@babel/runtime/helpers/interopRequireDefault\":4,inherits:65}],139:[function(e,t,n){\"use strict\";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(\"inherits\")),s=r(e(\"../../events\")),u=r(e(\"../../util/eventEmitter\")),l=\"notifierMessage\",c=function(e,t){u.default.call(this,t,\"Notifier\");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h(\"Notifier: initEvents()\"),d.on(s.default.CONNECTING,(function(){d.notify(\"Connecting …\")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify(\"Loading webcam …\")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width=\"auto\",n.style.height=\"\".concat(e.getRecorderHeight(!0,!0),\"px\")):(n.style.width=\"\".concat(e.getRecorderWidth(!0),\"px\"),n.style.height=\"\".concat(e.getRecorderHeight(!0),\"px\")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r=\"\";e.beginWaiting(),n&&(h(\"Limit reached\"),r+=\"\".concat(t.text.limitReached,\".
\")),r+=\"\".concat(t.text.sending,\" …\"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r=\"Video: \".concat(e),n&&(r+=\", Audio: \".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n=\"\".concat(t.text.encoding,\" …\");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify(\"Unloading …\")})).on(s.default.DISCONNECTED,(function(){d.notify(\"Disconnected\")})).on(s.default.CONNECTED,(function(){d.notify(\"Connected\"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className=\"notifier entertain \".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove(\"entertain\"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug(\"Notifier: setExplanation(\".concat(e,\")\")),r||(r=(0,o.default)(\"p\",{className:\"explanation\"}),n?n.appendChild(r):t.logger.warn(\"Unable to show explanation because notifyElement is empty:\",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug(\"Notifier: build()\"),(n=e.querySelector(\".notifier\"))?this.hide():(n=(0,o.default)(\".notifier\"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove(\"blocking\")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug(\"Notifier: notify(\".concat(f.join(\", \"),\")\"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className=\"notifier\"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width=\"auto\",n.style.height=\"auto\")),m?(n&&n.classList.add(\"blocking\"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug(\"Notifier: setMessage(\".concat(e,\")\")),g()||(p=(0,o.default)(\"h2\",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn(\"Unable to show message \".concat(e,\" because notifyElement is empty\"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?\"☹ \":\"\")+e}else t.logger.warn(\"Not going to update notifierMessage element because message is empty\");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{\"../../events\":113,\"../../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;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(\"inherits\")),c=r(e(\"safe-json-stringify\")),f=r(e(\"websocket-stream\")),d=r(e(\"../../constants\")),h=r(e(\"../../events\")),p=r(e(\"../../util/browser\")),m=r(e(\"../../util/eventEmitter\")),y=r(e(\"../../util/humanize\")),b=r(e(\"../../util/pretty\")),g=r(e(\"../../util/videomailError\")),v=r(e(\"./userMedia\")),w=\"°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ \",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,\"Recorder\");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create(\"FPS must be defined\",E);var _,R,S,A,O,k,x,T,j,D,N,M,C,I,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create(\"Already disconnected\",\"Sorry, connection to the server has been destroyed. Please reload.\",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create(\"Failed to write stream buffer\",\"stream.write() failed because of \".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create(\"Failed writing to server\",\"stream.write() failed because of \".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K(\"Recorder: onUserMediaReady()\",(0,c.default)(t));var n=t.switchingFacingMode;M=F=I=C=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return\"\".concat((te/(Q||1)*100).toFixed(2),\"%\")}function le(){return\"\".concat((ne/(X||1)*100).toFixed(2),\"%\")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K(\"Recorder: initializing web socket to %s\",E.socketUrl),Y.emit(h.default.CONNECTING);var t=\"\".concat(E.socketUrl,\"?\").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),\"=\").concat(encodeURIComponent(E.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: \".concat((0,b.default)(e)),E):g.default.create(\"Failed to connect to server\",\"Please upgrade your browser. Your current version does not seem to support websockets.\",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on(\"close\",(function(e){K(\"\".concat(w,\"Stream has closed\")),B=U=!1,e?Y.emit(h.default.ERROR,e||\"Unhandled websocket error\"):N&&fe()})),L.on(\"connect\",(function(){K(\"\".concat(w,\"Stream *connect* event emitted\"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||I||(U=!0,B=I=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on(\"data\",(function(e){var t;K(\"\".concat(w,\"Stream *data* event emitted\"));try{t=JSON.parse(e.toString())}catch(t){K(\"Failed to parse command:\",t),Y.emit(h.default.ERROR,g.default.create(\"Invalid server command\",\"Contact us asap. Bad command was \".concat(e.toString(),\". \"),E))}finally{ye.call(Y,t)}})),L.on(\"error\",(function(e){K(\"\".concat(w,\"Stream *error* event emitted: \").concat((0,c.default)(e)))})),L.on(\"drain\",(function(){K(\"\".concat(w,\"Stream *drain* event emitted (should not happen!)\"))})),L.on(\"preend\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"end\",(function(){K(\"\".concat(w,\"Stream *end* event emitted\"))})),L.on(\"drain\",(function(){K(\"\".concat(w,\"Stream *drain* event emitted\"))})),L.on(\"pipe\",(function(){K(\"\".concat(w,\"Stream *pipe* event emitted\"))})),L.on(\"unpipe\",(function(){K(\"\".concat(w,\"Stream *unpipe* event emitted\"))})),L.on(\"resume\",(function(){K(\"\".concat(w,\"Stream *resume* event emitted\"))})),L.on(\"uncork\",(function(){K(\"\".concat(w,\"Stream *uncork* event emitted\"))})),L.on(\"readable\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"prefinish\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"finish\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})))}}function de(e){M=!1,Re(),K(\"Recorder: userMediaErrorCallback(), name: \".concat(e.name,\", message: \").concat(e.message,\" and Webcam characteristics: \").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K(\"Recorder: ignore user media error\",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!I)throw K(\"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.\",E);K(\"Recorder: already unloaded. Not going to throw error\",e)}}function he(e,t){if(K(\"Recorder: getUserMediaCallback()\",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error(\"Navigator is missing!\");if(K(\"Recorder: loadGenuineUserMedia()\"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K(\"Recorder: navigator.mediaDevices.getUserMedia()\",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K(\"Recorder: navigator.mediaDevices.getSupportedConstraints()\",(0,c.default)(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.\",E);n.then((function(t){he(t,e)})).catch(de)}else K(\"Recorder: navigator.getUserMedia()\"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K(\"Recorder: skipping loadUserMedia() because it is already loaded\"),se(e),!1;if(M)return K(\"Recorder: skipping loadUserMedia() because it is already asking for permission\"),!1;K(\"Recorder: loadUserMedia(\".concat((0,c.default)(e),\")\")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K(\"Recorder: failed to load genuine user media\"),M=!1,!Y.listeners(h.default.ERROR).length)throw K(\"Recorder: no error listeners attached but throwing exception\",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!I)try{switch(e.args?K(\"Server commanded: \".concat(e.command,\" with \").concat((0,c.default)(e.args))):K(\"Server commanded: \".concat(e.command)),e.command){case\"ready\":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case\"preview\":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source(\"\".concat(e.mp4+d.default.SITE_NAME_LABEL,\"/\").concat(E.siteName,\"/videomail.mp4\"),!0),e.webm&&n.setWebMSource(\"\".concat(e.webm+d.default.SITE_NAME_LABEL,\"/\").concat(E.siteName,\"/videomail.webm\"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K(\"While recording, %s have been transferred and waiting time was %s\",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case\"error\":this.emit(h.default.ERROR,g.default.create(\"Oh no, server error!\",e.args.err.toString()||\"(No message given)\",E));break;case\"confirmFrame\":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case\"confirmSample\":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case\"beginAudioEncoding\":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case\"beginVideoEncoding\":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,\"Unknown server command: \".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?\"$ \".concat(e,\" with \").concat((0,c.default)(n)):\"$ \".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K(\"Reconnecting for the command\",e,\"…\"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K(\"Recorder: reInitializeAudio()\"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K(\"Recorder: clearUserMediaTimeout()\"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create(\"Failed to extract webcam data.\",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K(\"Recorder: initEvents()\"),Y.on(h.default.SUBMITTING,(function(){C=!0})).on(h.default.SUBMITTED,(function(){C=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K(\"Recorder: loopWithTimeouts()\");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K(\"Recorder: restoreAnimationFrameObject()\"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;\"user\"===Z?Z=\"environment\":\"environment\"===Z?Z=\"user\":K(\"Recorder: unsupported facing mode\",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K(\"stop(\".concat((0,c.default)(e),\")\"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve(\"stop\",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),I=!1,ae(),ve(\"back\",e)},this.unload=function(e){var t;!I&&W&&(e&&(t=e.name||e.statusText||e.toString()),K(\"Recorder: unload()\".concat(t?\", cause: \".concat(t):\"\")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),C||L&&(K(\"Recorder: ending stream ...\"),L.destroy(),L=void 0),I=!0,W=B=U=!1)},this.reset=function(){I||(K(\"Recorder: reset()\"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?\"pause() at frame \".concat(Q,\" with \").concat((0,c.default)(e)):\"pause() at frame \".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K(\"Recorder: pinging...\"),re(t.from(\"\"))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K(\"Recorder: resume() with frame \".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(I)return!1;if(!U)return K(\"Recorder: reconnecting before recording ...\"),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create(\"Load and enable your camera first\",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext(\"2d\"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K(\"Recorder: record()\"),S.record(),Y.emit(h.default.RECORDING,Q),J.on(\"update\",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K(\"Recorder: avgFps = \".concat(n,\", framesCount = \").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create(\"Canvas has an invalid height.\",E)),!1):(Y.emit(h.default.ERROR,g.default.create(\"Canvas has an invalid width.\",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector(\"video.\".concat(E.selectors.userMediaClass)))||(R=(0,u.default)(\"video.\".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute(\"playsinline\",!0),R.setAttribute(\"webkit-playsinline\",\"webkit-playsinline\"),R.style.transform=\"rotateY(180deg)\",R.style[\"-webkit-transform\"]=\"rotateY(180deg)\",R.style[\"-moz-transform\"]=\"rotateY(180deg)\",E.video.stretch&&(R.style.width=\"100%\"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K(\"Recorder: clearRetryTimeout()\"),clearTimeout(O),O=null))},this.isUnloaded=function(){return I},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e(\"buffer\").Buffer)},{\"../../constants\":112,\"../../events\":113,\"../../util/browser\":120,\"../../util/eventEmitter\":122,\"../../util/humanize\":123,\"../../util/pretty\":125,\"../../util/videomailError\":126,\"./userMedia\":142,\"@babel/runtime/helpers/interopRequireDefault\":4,animitter:13,buffer:18,\"canvas-to-buffer\":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,\"safe-json-stringify\":93,\"websocket-stream\":107}],141:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"add-eventlistener-with-options\")),o=r(e(\"hidden\")),a=r(e(\"hyperscript\")),s=r(e(\"inherits\")),u=r(e(\"../../events\")),l=r(e(\"../../util/browser\")),c=r(e(\"../../util/eventEmitter\")),f=function(e,t){c.default.call(this,t,\"Replay\");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return\"HTMLDivElement\"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+=\"?\".concat(Date.now())),o)n?o.setAttribute(\"src\",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)(\"source\",{src:\"\".concat(n,\"#t=\").concat(s),type:\"video/\".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName(\"track\"),n=t&&t[0];if(n)e?n.setAttribute(\"src\",e):r.removeChild(n);else{var i=(0,a.default)(\"track\",{src:e,kind:\"captions\",default:!0});r.appendChild(i),r.setAttribute(\"crossorigin\",\"anonymous\")}}(s.vtt),s.poster&&r.setAttribute(\"poster\",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(\".\".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h(\"Replay: show(playerOnly=\".concat(l,\")\")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?\"\".concat(i,\"px\"):\"auto\",r.style.height=n>0?\"\".concat(n,\"px\"):\"auto\"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute(\"volume\",1):t.isAudioEnabled()||r.setAttribute(\"muted\",!0),r.load(),s?r.addEventListener(\"canplaythrough\",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener(\"canplaythrough\",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h(\"Replay: build (\".concat(o?'replayParentElement=\"'.concat(o.id,'\"'):\"\",\")\")),(r=e.querySelector(\"video.\".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if(\"string\"==typeof n&&!(n=document.getElementById(n)))throw new Error(\"No replay parent element container with ID \".concat(n,\" found.\"));var i=\"video.\".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,\"touchstart\",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h(\"Replay: built.\")},this.unload=function(){h(\"Replay: unload()\"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName(\"source\"),o=i&&i.length,a=\"video/\".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug(\"UserMedia: unloadAllEventListeners()\"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener(\"play\",k),p.removeEventListener&&p.removeEventListener(\"loadedmetadata\",x)}function A(){try{if(p.load(),p.paused){var e;t.debug(\"UserMedia: play()\",\"media.readyState=\".concat(p.readyState),\"media.paused=\".concat(p.paused),\"media.ended=\".concat(p.ended),\"media.played=\".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn(\"Caught raw usermedia play exception:\",e)}(n=e)&&\"undefined\"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug(\"UserMedia: fireCallbacks(\"+\"readyState=\".concat(s,\", \")+\"onPlayReached=\".concat(l,\", \")+\"onLoadedMetaDataReached=\".concat(h,\")\")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R(\"play\",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener(\"play\",k),E()||_()?o(d.default.create(\"Already busy\",\"Probably another browser window is using your webcam?\",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R(\"loadedmetadata\",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener(\"loadedmetadata\",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create(\"Webcam is disabled\",\"The video track seems to be disabled. Enable it in your system.\",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=\" with enabled=\".concat(T.enabled),j+=\", muted=\".concat(T.muted),j+=\", remote=\".concat(T.remote),j+=\", readyState=\".concat(T.readyState),j+=\", error=\".concat(T.error),t.debug(\"UserMedia: \".concat(T.kind,\" detected.\"),j||\"\")}else t.debug(\"UserMedia: detected (but no video tracks exist\");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener(\"loadedmetadata\",x),p.addEventListener(\"play\",k),p.addEventListener(\"error\",(function(e){t.logger.warn(\"Caught video element error event: %s\",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create(\"Bad dimensions\",\"Calculated raw height cannot be less than 1!\",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e(\"hyperscript\")),o=r(e(\"safe-json-stringify\")),a=r(e(\"./../../events\")),s=r(e(\"./../../util/audioRecorder\")),u=r(e(\"./../../util/browser\")),l=r(e(\"./../../util/eventEmitter\")),c=r(e(\"./../../util/mediaEvents\")),f=r(e(\"./../../util/pretty\")),d=r(e(\"./../../util/videomailError\")),h=\"|—O—|\"},{\"./../../events\":113,\"./../../util/audioRecorder\":119,\"./../../util/browser\":120,\"./../../util/eventEmitter\":122,\"./../../util/mediaEvents\":124,\"./../../util/pretty\":125,\"./../../util/videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,hyperscript:62,\"safe-json-stringify\":93}],\"videomail-client\":[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"./client\"));n.default=i.default},{\"./client\":111,\"@babel/runtime/helpers/interopRequireDefault\":4}]},{},[\"videomail-client\"])(\"videomail-client\")}));\n//# sourceMappingURL=videomail-client.min.js.map\n"]} \ No newline at end of file diff --git a/src/wrappers/container.js b/src/wrappers/container.js index 217965ba..66eb7317 100644 --- a/src/wrappers/container.js +++ b/src/wrappers/container.js @@ -434,7 +434,9 @@ const Container = function (options) { !built && initEvents(buildOptions.playerOnly); - correctDimensions(); + if (!buildOptions.playerOnly) { + correctDimensions(); + } // Building form also applies for when `playerOnly` because of // correcting mode on Videomail. This function will skip if there is no form. Easy. diff --git a/src/wrappers/visuals.js b/src/wrappers/visuals.js index 69b64290..c0efaeb0 100644 --- a/src/wrappers/visuals.js +++ b/src/wrappers/visuals.js @@ -131,7 +131,13 @@ const Visuals = function (container, options) { debug(`Visuals: build (playerOnly=${playerOnly})`); if (container) { - visualsElement = container.querySelector(`.${options.selectors.visualsClass}`); + if (replayParentElement) { + visualsElement = replayParentElement.querySelector( + `.${options.selectors.visualsClass}`, + ); + } else { + visualsElement = container.querySelector(`.${options.selectors.visualsClass}`); + } if (!visualsElement) { if (playerOnly && replayParentElement) { @@ -165,7 +171,7 @@ const Visuals = function (container, options) { correctDimensions(); !built && initEvents(playerOnly); - buildChildren(playerOnly, replayParentElement); + buildChildren(playerOnly, visualsElement || replayParentElement); built = true; }; From 0a85f380e17077c00370fb282bb9df2428805963 Mon Sep 17 00:00:00 2001 From: Michael Heuberger Date: Tue, 8 Oct 2024 10:43:55 +1300 Subject: [PATCH 2/2] Final commit of version 9.5.11 --- package-lock.json | 4 ++-- prototype/js/videomail-client.js | 2 +- prototype/js/videomail-client.min.js | 2 +- prototype/js/videomail-client.min.js.map | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index bffc329d..67508d89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "videomail-client", - "version": "9.5.9", + "version": "9.5.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "videomail-client", - "version": "9.5.9", + "version": "9.5.11", "license": "CC0-1.0", "dependencies": { "@babel/core": "7.25.2", diff --git a/prototype/js/videomail-client.js b/prototype/js/videomail-client.js index ef3baa82..a11ca026 100644 --- a/prototype/js/videomail-client.js +++ b/prototype/js/videomail-client.js @@ -16434,7 +16434,7 @@ function wrappy (fn, cb) { },{}],110:[function(_dereq_,module,exports){ module.exports={ "name": "videomail-client", - "version": "9.5.9", + "version": "9.5.11", "description": "A wicked npm package to record videos directly in the browser, wohooo!", "keywords": [ "webcam", diff --git a/prototype/js/videomail-client.min.js b/prototype/js/videomail-client.min.js index 141a1ef7..30cf8af3 100644 --- a/prototype/js/videomail-client.min.js +++ b/prototype/js/videomail-client.min.js @@ -26,5 +26,5 @@ n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d= /*! safe-buffer. MIT License. Feross Aboukhadijeh */ 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:18}],93:[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},{}],94:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("define-data-property"),o=e("has-property-descriptors")(),a=e("gopd"),s=e("es-errors/type"),u=r("%Math.floor%");t.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},{"define-data-property":28,"es-errors/type":41,"get-intrinsic":50,gopd:54,"has-property-descriptors":55}],95:[function(e,t,n){"use strict";var r=e("get-intrinsic"),i=e("call-bind/callBound"),o=e("object-inspect"),a=e("es-errors/type"),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),h=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),m=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=m(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 p(t,r)}else if(n)return function(e,t){return!!m(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),h(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{"call-bind/callBound":19,"es-errors/type":41,"get-intrinsic":50,"object-inspect":70}],96:[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){var t=e.bufferIndex||0;if(e.buffer.head)return e.buffer.head.data.length;if(e.buffer.length-t>0&&e.buffer[t])return e.buffer[t].length}return e.length}(t)):null}},{}],97:[function(e,t,n){"use strict";const r=["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"];class i{constructor(){this._defaults=[]}_setDefaults(e){for(const t of this._defaults)e[t.fn](...t.args)}}for(const e of r)i.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error("Browser-only version of superagent could not find XHR")};const m="".trim?e=>e.trim():e=>e.replace(/(^\s*|\s*$)/g,"");function y(e){if(!u(e))return e;const t=[];for(const n in e)c(e,n)&&b(t,n,e[n]);return t.join("&")}function b(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)b(e,t,r);else if(u(n))for(const r in n)c(n,r)&&b(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function g(e){const t={},n=e.split("&");let r,i;for(let e=0,o=n.length;e{let e,t=null,r=null;try{r=new w(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)}))}p.serializeObject=y,p.parseString=g,p.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},p.serialize={"application/x-www-form-urlencoded":e=>a.stringify(e,{indices:!1,strictNullHandling:!0}),"application/json":o},p.parse={"application/x-www-form-urlencoded":g,"application/json":JSON.parse},l(w.prototype,f.prototype),w.prototype._parseBody=function(e){let t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&v(this.type)&&(t=p.parse["application/json"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},w.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r=`cannot ${t} ${n} (${this.status})`,i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=w,i(E.prototype),l(E.prototype,s.prototype),E.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},E.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},E.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)},E.prototype.query=function(e){return"string"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},E.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},E.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},E.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)},E.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)},E.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},E.prototype.ca=E.prototype.agent,E.prototype.buffer=E.prototype.ca,E.prototype.write=()=>{throw new Error("Streaming is not supported in browser version of superagent")},E.prototype.pipe=E.prototype.write,E.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},E.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||h,this._finalizeQueryString(),this._end()},E.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},E.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=p.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener("readystatechange",(()=>{const{readyState:n}=t;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||p.serialize[e?e.split(";")[0]:""];!t&&v(e)&&(t=p.serialize["application/json"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&c(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)},p.agent=()=>new d;for(const e of["GET","POST","OPTIONS","PATCH","PUT","DELETE"])d.prototype[e.toLowerCase()]=function(t,n){const r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function _(e,t,n){const r=p("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}d.prototype.del=d.prototype.delete,p.get=(e,t,n)=>{const r=p("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=(e,t,n)=>{const r=p("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=(e,t,n)=>{const r=p("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=_,p.delete=_,p.patch=(e,t,n)=>{const r=p("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=(e,t,n)=>{const r=p("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=(e,t,n)=>{const r=p("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./agent-base":97,"./request-base":99,"./response-base":100,"./utils":101,"component-emitter":23,"fast-safe-stringify":44,qs:76}],99:[function(e,t,n){"use strict";const{isObject:r,hasOwn:i}=e("./utils");function o(){}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(i(e,t))switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const a=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{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&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){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)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if("function"!=typeof e)throw new Error("Callback required");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(const t in e)i(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t,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(r(e)){for(const t in e)i(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(const n in t)i(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},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization",`Basic ${r(`${e}:${t}`)}`);break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization",`Bearer ${e}`)}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){const t=r(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&&r(this._data))for(const t in e){if("bigint"==typeof e[t]&&!e[t].toJSON)throw new Error("Cannot serialize BigInt value to json");i(e,t)&&(this._data[t]=e[t])}else{if("bigint"==typeof e)throw new Error("Cannot send value of type BigInt");"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},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.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("&")}}},o.prototype._appendQueryString=()=>{console.warn("Unsupported")},o.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)},o.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))}},{"./utils":101}],100:[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":101}],101:[function(e,t,n){"use strict";n.type=e=>e.split(/ *; */).shift(),n.params=e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}return t},n.parseLinks=e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}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])},n.isGzipOrDeflateEncoding=e=>new RegExp(/^\s*(?:deflate|gzip)\s*$/).test(e.headers["content-encoding"]),n.isBrotliEncoding=e=>new RegExp(/^\s*(?:br)\s*$/).test(e.headers["content-encoding"])},{}],102:[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":74,timers:102}],103:[function(e,t,n){(function(e){(function(){ /*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh */ -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:18}],104:[function(e,t,n){!function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="major",l="model",c="name",f="type",d="vendor",h="version",p="architecture",m="console",y="mobile",b="tablet",g="smarttv",v="wearable",w="embedded",E="Amazon",_="Apple",R="ASUS",S="BlackBerry",A="Browser",O="Chrome",k="Firefox",x="Google",T="Huawei",j="LG",D="Microsoft",N="Motorola",M="Opera",C="Samsung",I="Sharp",P="Sony",L="Xiaomi",B="Zebra",U="Facebook",F="Chromium OS",W="Mac OS",q=" Browser",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION="1.0.39",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,"end-of-stream":34,inherits:65,"readable-stream":91,"stream-shift":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",E),c.addEventListener("message",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit("connect")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],main:"prototype/js/videomail-client.js",scripts:{audit:"npx audit-ci --config audit-ci.json",build:"gulp build",lint:"eslint --color ./src ./test ./gulpfile.js","lint:fix":"npm --silent run lint -- --fix",major:"./etc/release.sh --importance=major",minor:"./etc/release.sh --importance=minor",patch:"./etc/release.sh --importance=patch",prettier:"prettier --check ./src ./test ./prototype/*.html gulpfile.js","prettier:fix":"prettier --write ./src ./test ./prototype/*.html gulpfile.js",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch"},prettier:"./prettier.config.cjs",dependencies:{"@babel/core":"7.25.2","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"4.1.0","canvas-to-buffer":"4.1.0",contains:"0.1.1","core-js":"3.38.1","create-error":"0.3.1",deepmerge:"4.3.1",defined:"1.0.1",despot:"2.1.0","document-visibility":"1.0.1",filesize:"10.1.6","format-util":"1.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.32.1",hyperscript:"2.0.2",inherits:"2.0.4","insert-css":"2.0.0","is-power-of-two":"1.0.0",keymirror:"0.1.1","safe-json-stringify":"1.2.0",superagent:"10.1.0","ua-parser-js":"1.0.39","websocket-stream":"5.5.2"},devDependencies:{"@babel/eslint-parser":"7.25.1","@babel/plugin-transform-runtime":"7.25.4","@babel/preset-env":"7.25.4","@tsconfig/node22":"22.0.0","@tsconfig/strictest":"2.0.5","audit-ci":"7.1.0",autoprefixer:"10.4.20",babelify:"10.0.0","body-parser":"1.20.3",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"6.0.5",del:"6.1.1",eslint:"8.57.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.30.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.2.0","fancy-log":"2.0.0",glob:"10.4.2",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":"10.0.0","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"3.0.1","gulp-terser":"2.1.0",minimist:"1.2.8",nib:"1.2.0",postcss:"8.4.47",prettier:"3.3.3","prettier-plugin-curly":"0.2.2","prettier-plugin-packagejson":"2.5.2","prettier-plugin-sh":"0.14.0",router:"1.3.8",tape:"5.9.0","tape-catch":"1.0.6","tape-run":"11.0.0",typescript:"5.6.2","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"},engines:{node:"^22.8.0",npm:"^10.8.2"},readmeFilename:"README.md"}},{}],111:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,o=r(e("inherits")),a=r(e("./constants")),s=r(e("./events")),u=r(e("./resource")),l=r(e("./util/browser")),c=r(e("./util/adjustOptions")),f=r(e("./util/eventEmitter")),d=r(e("./wrappers/container"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,"VideomailClient"),this.build=function(){var e=!1;e||n.isBuilt()||(r("Client: build()"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{"./constants":112,"./events":113,"./resource":115,"./util/adjustOptions":118,"./util/browser":120,"./util/eventEmitter":122,"./wrappers/container":128,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],112:[function(e,t,n){"use strict";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"}}},{}],113:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("keymirror"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{"@babel/runtime/helpers/interopRequireDefault":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("../package.json"),o=r(e("./util/addOptionsFunctions")),a={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",containerClass:"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",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e("_process"))},{"../package.json":110,"./util/addOptionsFunctions":117,"@babel/runtime/helpers/interopRequireDefault":4,_process:74}],115:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,"name",r.name),n(i,"type",r.type),n(i,"message",r.message||t.statusText),n(i,"cause",r.cause),n(i,"status",r.status),n(i,"code",r.code),n(i,"errno",r.errno),n(i,"details",r.details),n(i,"stack",r.stack),i}return e}function s(t,n,s){var u="".concat(e.baseUrl,"/videomail/").concat(t,"/").concat(n,"/snapshot");(0,i.default)("get",u).type("json").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c="".concat(e.baseUrl,"/videomail/");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set("Timezone-Id",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s("alias",e,t)},this.getByKey=function(e,t){s("key",e,t)},this.reportError=function(t,n){var a={},s="".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,"from"),n=t(n,"to"),n=t(n,"cc"),n=t(n,"bcc"),n=t(n,"subject"),n=t(n,"body")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u("post",t,r)})):u("post",n,r)},this.put=function(e,t){u("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: ".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":112,"@babel/runtime/helpers/interopRequireDefault":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{"./../options":114,"./addOptionsFunctions":117,"./collectLogger":121,"@babel/runtime/helpers/interopRequireDefault":4,deepmerge:27}],119:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug("AudioRecorder: init()");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create("Webcam has no audio",e.toString(),t)}var a=t.audio.bufferSize;if("auto"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug("AudioRecorder: audio context is closed"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e("audio-sample")),o=r(e("is-power-of-two")),a=r(e("./browser")),s=r(e("./videomailError")),u=1},{"./browser":120,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"audio-sample":14,"is-power-of-two":67}],120:[function(e,t,n){"use strict";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")),o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError"));n.default=function(e){e||(e={});var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),h="Chrome"===c.browser.name,p="Brave"===c.browser.name,m="Chromium"===c.browser.name,y="Firefox"===c.browser.name,b=parseFloat(c.os.version),g="Windows"===c.os.name,v="Edge"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S="Facebook"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.":function(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to ')+"upgrade Firefox to fix this.":h?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to ')+"upgrade Chrome to fix this.":m?e='Probably you need to ')+"upgrade Chromium to fix this.":O?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e="Safari below version 11 has no webcam support.
Better upgrade Safari or pick"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?"Hence we recommend you to use a real browser like "+'Chrome, ')+'Firefox or ')+'Edge.'):"Hence we recommend you to use either "+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create("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&&(M(e,"mp4")?t="mp4":M(e,"webm")&&(t="webm")),"webm"!==t&&"mp4"!==t&&(t="mp4"),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam":this.isFirefox()?"Please grant Firefox access to your webcam":"Your system does not let your browser access your webcam",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,defined:29,"ua-parser-js":104}],121:[function(e,t,n){"use strict";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push("[".concat(t,"] ").concat(a)),a}this.debug=function(){var r=s("debug",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s("warn",e))},this.getLines=function(){return r}};var i=r(e("@babel/runtime/helpers/toConsumableArray")),o=r(e("format-util")),a=r(e("./browser"))},{"./browser":120,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/toConsumableArray":7,"format-util":46}],122:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&("removeListener"!==n&&"newListener"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug("".concat(t," emits ").concat(n," with ").concat((0,o.default)(r))):e.debug("".concat(t," emits ").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e("despot")),o=r(e("safe-json-stringify")),a=r(e("./../events")),s=r(e("./videomailError"))},{"./../events":113,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,despot:30,"safe-json-stringify":93}],123:[function(e,t,n){"use strict";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"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{"@babel/runtime/helpers/interopRequireDefault":4,filesize:45,"humanize-duration":61}],124:[function(e,t,n){"use strict";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"]},{}],125:[function(e,t,n){"use strict";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")),o=r(e("safe-json-stringify")),a="- ",s="
".concat(a)},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":93}],126:[function(e,t,n){(function(t){(function(){"use strict";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")),o=r(e("./../resource")),a=r(e("create-error")),s=r(e("safe-json-stringify")),u=r(e("./pretty")),l="Videomail Error",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e("./browser").default)(a);switch("object"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:"error"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p="The operation was insecure",r="Probably you have disallowed Cookies for this page?",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p="Invalid webcam constraints",r=n.constraint?"width"===n.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: ".concat(n.constraint):n.toString();break;case"MediaDeviceFailedDueToShutdown":p="Webcam is shutting down",r="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":p="Source of your webcam cannot be accessed",r="Probably it is locked from another process or has a hardware error.",n.explanation&&(n.explanation+=" Details: ".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":m?(p="No webcam nor microphone found",r="Your browser cannot find a webcam with microphone attached to your machine."):(p="No webcam found",r="Your browser cannot find a webcam attached to your machine."),y.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":p="Ooops, you didn't give me any permissions?",r="Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":p="Permission denied",r="Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.",y.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":p="Webcam is unavailable",r="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(r+=" Or you have to allow access above?"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p="Unable to connect",r="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":p="No video feed found!",r="Your webcam is already used in another browser.",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p="Starting video failed",r="Most likely this happens when the webcam is already active in another browser",y.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":p="No available webcam could be found",r="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p="No access to webcam",r="A hardware error occurred which prevented access to your webcam",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p="Invalid state",r="Video recording stream from your webcam already has finished",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p="Requested webcam not found",r="A webcam is needed but could not be found",y.push(c.WEBCAM_PROBLEM);break;case 9:var g="https:".concat(window.location.href.substring(window.location.protocol.length));p="Security upgrade needed",r='Click here to switch to HTTPs which is more safe ')+" and enables encrypted videomail transfers.",y.push(c.BROWSER_PROBLEM);break;case 11:p="Invalid State",r="The object is in an invalid, unusable state",y.push(c.BROWSER_PROBLEM);break;default:p="DOM Exception",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p="Media device not supported",r=f(n);break;default:var v=r;if(r&&"object"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:"Inspected: ".concat((0,s.default)(v))),n)if("string"==typeof n)p=n;else if(n.message&&(p=f(n.message)+" (pretty)"),n.explanation&&(r?r+=";
".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=";
".concat(w)):r=w}p||(h&&(p=h+" (weird)"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)("VideomailError: create()",p,r||"(no explanation set)");var _,R=b.getUsefulData(),S=t.document.cookie.split("; "),A={title:"videomail-client error",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(",\n"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join("×"),orientation:"string"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k="function"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error("Unable to report error",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./../resource":115,"./browser":120,"./pretty":125,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"create-error":26,"safe-json-stringify":93}],127:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("contains")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)("input#".concat(e.id),{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)("span.radioGroup",t,(0,a.default)("label",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(".".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=".".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)("button.".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g("Buttons: onSubmitting()"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g("Buttons: onEnablingAudio()"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g("Buttons: onDisablingAudio()"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug("Buttons: reset()"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(".".concat(t.selectors.buttonsClass)))||(n=(0,a.default)("div.".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g("Buttons: unload()"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{"../events":113,"../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/defineProperty")),o=r(e("document-visibility")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("safe-json-stringify")),l=r(e("inherits")),c=r(e("../styles/css/main.min.css.js")),f=r(e("../events")),d=r(e("../resource")),h=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),m=r(e("./buttons")),y=r(e("./dimension")),b=r(e("./form")),g=r(e("./optionsWrapper")),v=r(e("./visuals")),w=function(e){h.default.call(this,e,"Container");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector("html"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest("form")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A("Container: initEvents (playerOnly = ".concat(t,")")),e.enableAutoUnload&&window.addEventListener("beforeunload",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause("document invisible"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener("keypress",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===r||"TEXTAREA"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width="".concat(n,"px")}}function N(){t&&(t.style.width="auto")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error("Videomail data is missing for attaching player dimensions");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A("Container: build (".concat((0,u.default)(r),")"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement("div"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),r.playerOnly||D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A("Container: buildChildren (playerOnly = ".concat(n).concat(r?', replayParentElement="'.concat(r.id,'"'):"",")")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A("Container: building failed due to an error."):(A("Container: built."),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add("wait")},this.endWaiting=function(){S.classList&&S.classList.remove("wait")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A("Container: unload(".concat(e?(0,u.default)(e):"",")")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error("No container element exists.");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A("Container: hide()"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A("Container: startOver(".concat(e?(0,u.default)(e):"",")")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input "'.concat(p.name,'" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c="Don't forget to record a video 😉",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v="to"in g,w="cc"in g,R="bcc"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c="At least one recipient is required")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(": ");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A("Container: submitAll(".concat(o,")"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||"POST"===e.toUpperCase()}(t)?function(e){return!!e&&"PUT"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:"".concat(navigator.connection.downlink," Mbit/s"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&""!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A("Container: submit()"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{"../events":113,"../resource":115,"../styles/css/main.min.css.js":116,"../util/eventEmitter":122,"../util/videomailError":126,"./buttons":127,"./dimension":129,"./form":130,"./optionsWrapper":131,"./visuals":132,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4,"document-visibility":31,hidden:60,inherits:65,"insert-css":66,"safe-json-stringify":93}],129:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./../util/videomailError"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create("Got a video height less than 1 (".concat(e,") while figuring out the minimum!"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g("Visuals: buildChildren (playerOnly = ".concat(r).concat(i?', replayParentElement="'.concat(i.id,'"'):"",")")),(t=e.querySelector("noscript"))&&((t=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width="".concat(a.getRecorderWidth(!0),"px"),n.style.height="".concat(a.getRecorderHeight(!0),"px"))}function E(){n&&(n.style.width="auto",n.style.height="auto")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g("Visuals: build (playerOnly=".concat(i,")")),e){if(!(n=s?s.querySelector(".".concat(t.selectors.visualsClass)):e.querySelector(".".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)("div.".concat(t.selectors.visualsClass));var l=e.querySelector(".".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add("visuals")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g("Visuals: initEvents (playerOnly = ".concat(n,")")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,n||s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g("Visuals: back(".concat(e?(0,s.default)(e):"",")")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g("Visuals: unload(".concat(e?(0,s.default)(e):"",")")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{"../events":113,"../util/eventEmitter":122,"./visuals/inside/recorderInsides":138,"./visuals/notifier":139,"./visuals/recorder":140,"./visuals/replay":141,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93}],133:[function(e,t,n){"use strict";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,o.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],134:[function(e,t,n){"use strict";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":113,"./../../../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],135:[function(e,t,n){"use strict";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,o.default)("div.paused"),r=(0,o.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,o.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],136:[function(e,t,n){"use strict";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],137:[function(e,t,n){"use strict";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, ".concat(s," seconds to go"))):(t.setNear(),r.classList.add("near"),n.debug("End is near, ".concat(s," seconds to go")))}r.innerHTML="".concat(i,":").concat((e=o)<10?"0".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,i.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 ~".concat(h()-s," seconds.")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,o.default)("p.recordTimer"),d(),e.appendChild(r))}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],138:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("inherits")),o=r(e("./../../../events")),a=r(e("./../../../util/browser")),s=r(e("./../../../util/eventEmitter")),u=r(e("./recorder/countdown")),l=r(e("./recorder/facingMode")),c=r(e("./recorder/pausedNote")),f=r(e("./recorder/recordNote")),d=r(e("./recorder/recordTimer")),h=function(e,t){s.default.call(this,t,"RecorderInsides");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m("RecorderInsides: initEvents()"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m("RecorderInsides: build()"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{"./../../../events":113,"./../../../util/browser":120,"./../../../util/eventEmitter":122,"./recorder/countdown":133,"./recorder/facingMode":134,"./recorder/pausedNote":135,"./recorder/recordNote":136,"./recorder/recordTimer":137,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],139:[function(e,t,n){"use strict";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("inherits")),s=r(e("../../events")),u=r(e("../../util/eventEmitter")),l="notifierMessage",c=function(e,t){u.default.call(this,t,"Notifier");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h("Notifier: initEvents()"),d.on(s.default.CONNECTING,(function(){d.notify("Connecting …")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width="auto",n.style.height="".concat(e.getRecorderHeight(!0,!0),"px")):(n.style.width="".concat(e.getRecorderWidth(!0),"px"),n.style.height="".concat(e.getRecorderHeight(!0),"px")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(h("Limit reached"),r+="".concat(t.text.limitReached,".
")),r+="".concat(t.text.sending," …"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: ".concat(e),n&&(r+=", Audio: ".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n="".concat(t.text.encoding," …");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify("Unloading …")})).on(s.default.DISCONNECTED,(function(){d.notify("Disconnected")})).on(s.default.CONNECTED,(function(){d.notify("Connected"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain ".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove("entertain"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug("Notifier: setExplanation(".concat(e,")")),r||(r=(0,o.default)("p",{className:"explanation"}),n?n.appendChild(r):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove("blocking")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug("Notifier: notify(".concat(f.join(", "),")"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className="notifier"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width="auto",n.style.height="auto")),m?(n&&n.classList.add("blocking"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug("Notifier: setMessage(".concat(e,")")),g()||(p=(0,o.default)("h2",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn("Unable to show message ".concat(e," because notifyElement is empty"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?"☹ ":"")+e}else t.logger.warn("Not going to update notifierMessage element because message is empty");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{"../../events":113,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;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("inherits")),c=r(e("safe-json-stringify")),f=r(e("websocket-stream")),d=r(e("../../constants")),h=r(e("../../events")),p=r(e("../../util/browser")),m=r(e("../../util/eventEmitter")),y=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,"Recorder");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create("FPS must be defined",E);var _,R,S,A,O,k,x,T,j,D,N,M,C,I,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed to write stream buffer","stream.write() failed because of ".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of ".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K("Recorder: onUserMediaReady()",(0,c.default)(t));var n=t.switchingFacingMode;M=F=I=C=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return"".concat((te/(Q||1)*100).toFixed(2),"%")}function le(){return"".concat((ne/(X||1)*100).toFixed(2),"%")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K("Recorder: initializing web socket to %s",E.socketUrl),Y.emit(h.default.CONNECTING);var t="".concat(E.socketUrl,"?").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),"=").concat(encodeURIComponent(E.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: ".concat((0,b.default)(e)),E):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on("close",(function(e){K("".concat(w,"Stream has closed")),B=U=!1,e?Y.emit(h.default.ERROR,e||"Unhandled websocket error"):N&&fe()})),L.on("connect",(function(){K("".concat(w,"Stream *connect* event emitted"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||I||(U=!0,B=I=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on("data",(function(e){var t;K("".concat(w,"Stream *data* event emitted"));try{t=JSON.parse(e.toString())}catch(t){K("Failed to parse command:",t),Y.emit(h.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was ".concat(e.toString(),". "),E))}finally{ye.call(Y,t)}})),L.on("error",(function(e){K("".concat(w,"Stream *error* event emitted: ").concat((0,c.default)(e)))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted (should not happen!)"))})),L.on("preend",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("end",(function(){K("".concat(w,"Stream *end* event emitted"))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted"))})),L.on("pipe",(function(){K("".concat(w,"Stream *pipe* event emitted"))})),L.on("unpipe",(function(){K("".concat(w,"Stream *unpipe* event emitted"))})),L.on("resume",(function(){K("".concat(w,"Stream *resume* event emitted"))})),L.on("uncork",(function(){K("".concat(w,"Stream *uncork* event emitted"))})),L.on("readable",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("prefinish",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("finish",(function(){K("".concat(w,"Stream *preend* event emitted"))})))}}function de(e){M=!1,Re(),K("Recorder: userMediaErrorCallback(), name: ".concat(e.name,", message: ").concat(e.message," and Webcam characteristics: ").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K("Recorder: ignore user media error",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!I)throw K("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.",E);K("Recorder: already unloaded. Not going to throw error",e)}}function he(e,t){if(K("Recorder: getUserMediaCallback()",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error("Navigator is missing!");if(K("Recorder: loadGenuineUserMedia()"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K("Recorder: navigator.mediaDevices.getUserMedia()",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K("Recorder: navigator.mediaDevices.getSupportedConstraints()",(0,c.default)(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.",E);n.then((function(t){he(t,e)})).catch(de)}else K("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K("Recorder: skipping loadUserMedia() because it is already loaded"),se(e),!1;if(M)return K("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;K("Recorder: loadUserMedia(".concat((0,c.default)(e),")")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(h.default.ERROR).length)throw K("Recorder: no error listeners attached but throwing exception",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!I)try{switch(e.args?K("Server commanded: ".concat(e.command," with ").concat((0,c.default)(e.args))):K("Server commanded: ".concat(e.command)),e.command){case"ready":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case"preview":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source("".concat(e.mp4+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.mp4"),!0),e.webm&&n.setWebMSource("".concat(e.webm+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.webm"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K("While recording, %s have been transferred and waiting time was %s",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case"error":this.emit(h.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No message given)",E));break;case"confirmFrame":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case"confirmSample":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case"beginAudioEncoding":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,"Unknown server command: ".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?"$ ".concat(e," with ").concat((0,c.default)(n)):"$ ".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K("Reconnecting for the command",e,"…"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K("Recorder: reInitializeAudio()"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K("Recorder: clearUserMediaTimeout()"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K("Recorder: initEvents()"),Y.on(h.default.SUBMITTING,(function(){C=!0})).on(h.default.SUBMITTED,(function(){C=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K("Recorder: loopWithTimeouts()");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K("Recorder: restoreAnimationFrameObject()"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":K("Recorder: unsupported facing mode",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K("stop(".concat((0,c.default)(e),")"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve("stop",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),I=!1,ae(),ve("back",e)},this.unload=function(e){var t;!I&&W&&(e&&(t=e.name||e.statusText||e.toString()),K("Recorder: unload()".concat(t?", cause: ".concat(t):"")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),C||L&&(K("Recorder: ending stream ..."),L.destroy(),L=void 0),I=!0,W=B=U=!1)},this.reset=function(){I||(K("Recorder: reset()"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?"pause() at frame ".concat(Q," with ").concat((0,c.default)(e)):"pause() at frame ".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K("Recorder: pinging..."),re(t.from(""))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K("Recorder: resume() with frame ".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(I)return!1;if(!U)return K("Recorder: reconnecting before recording ..."),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create("Load and enable your camera first",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext("2d"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K("Recorder: record()"),S.record(),Y.emit(h.default.RECORDING,Q),J.on("update",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K("Recorder: avgFps = ".concat(n,", framesCount = ").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid height.",E)),!1):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid width.",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector("video.".concat(E.selectors.userMediaClass)))||(R=(0,u.default)("video.".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute("playsinline",!0),R.setAttribute("webkit-playsinline","webkit-playsinline"),R.style.transform="rotateY(180deg)",R.style["-webkit-transform"]="rotateY(180deg)",R.style["-moz-transform"]="rotateY(180deg)",E.video.stretch&&(R.style.width="100%"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K("Recorder: clearRetryTimeout()"),clearTimeout(O),O=null))},this.isUnloaded=function(){return I},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":112,"../../events":113,"../../util/browser":120,"../../util/eventEmitter":122,"../../util/humanize":123,"../../util/pretty":125,"../../util/videomailError":126,"./userMedia":142,"@babel/runtime/helpers/interopRequireDefault":4,animitter:13,buffer:18,"canvas-to-buffer":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93,"websocket-stream":107}],141:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../../events")),l=r(e("../../util/browser")),c=r(e("../../util/eventEmitter")),f=function(e,t){c.default.call(this,t,"Replay");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return"HTMLDivElement"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+="?".concat(Date.now())),o)n?o.setAttribute("src",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)("source",{src:"".concat(n,"#t=").concat(s),type:"video/".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName("track"),n=t&&t[0];if(n)e?n.setAttribute("src",e):r.removeChild(n);else{var i=(0,a.default)("track",{src:e,kind:"captions",default:!0});r.appendChild(i),r.setAttribute("crossorigin","anonymous")}}(s.vtt),s.poster&&r.setAttribute("poster",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(".".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h("Replay: show(playerOnly=".concat(l,")")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?"".concat(i,"px"):"auto",r.style.height=n>0?"".concat(n,"px"):"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),r.load(),s?r.addEventListener("canplaythrough",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener("canplaythrough",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h("Replay: build (".concat(o?'replayParentElement="'.concat(o.id,'"'):"",")")),(r=e.querySelector("video.".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if("string"==typeof n&&!(n=document.getElementById(n)))throw new Error("No replay parent element container with ID ".concat(n," found."));var i="video.".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h("Replay: built.")},this.unload=function(){h("Replay: unload()"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug("UserMedia: unloadAllEventListeners()"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener("play",k),p.removeEventListener&&p.removeEventListener("loadedmetadata",x)}function A(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState=".concat(p.readyState),"media.paused=".concat(p.paused),"media.ended=".concat(p.ended),"media.played=".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}(n=e)&&"undefined"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug("UserMedia: fireCallbacks("+"readyState=".concat(s,", ")+"onPlayReached=".concat(l,", ")+"onLoadedMetaDataReached=".concat(h,")")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",k),E()||_()?o(d.default.create("Already busy","Probably another browser window is using your webcam?",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=" with enabled=".concat(T.enabled),j+=", muted=".concat(T.muted),j+=", remote=".concat(T.remote),j+=", readyState=".concat(T.readyState),j+=", error=".concat(T.error),t.debug("UserMedia: ".concat(T.kind," detected."),j||"")}else t.debug("UserMedia: detected (but no video tracks exist");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener("loadedmetadata",x),p.addEventListener("play",k),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e("hyperscript")),o=r(e("safe-json-stringify")),a=r(e("./../../events")),s=r(e("./../../util/audioRecorder")),u=r(e("./../../util/browser")),l=r(e("./../../util/eventEmitter")),c=r(e("./../../util/mediaEvents")),f=r(e("./../../util/pretty")),d=r(e("./../../util/videomailError")),h="|—O—|"},{"./../../events":113,"./../../util/audioRecorder":119,"./../../util/browser":120,"./../../util/eventEmitter":122,"./../../util/mediaEvents":124,"./../../util/pretty":125,"./../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hyperscript:62,"safe-json-stringify":93}],"videomail-client":[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./client"));n.default=i.default},{"./client":111,"@babel/runtime/helpers/interopRequireDefault":4}]},{},["videomail-client"])("videomail-client")})); +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:18}],104:[function(e,t,n){!function(e,r){"use strict";var i="function",o="undefined",a="object",s="string",u="major",l="model",c="name",f="type",d="vendor",h="version",p="architecture",m="console",y="mobile",b="tablet",g="smarttv",v="wearable",w="embedded",E="Amazon",_="Apple",R="ASUS",S="BlackBerry",A="Browser",O="Chrome",k="Firefox",x="Google",T="Huawei",j="LG",D="Microsoft",N="Motorola",M="Opera",C="Samsung",I="Sharp",P="Sony",L="Xiaomi",B="Zebra",U="Facebook",F="Chromium OS",W="Mac OS",q=" Browser",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]="iPad",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION="1.0.39",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}("object"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,"end-of-stream":34,inherits:65,"readable-stream":91,"stream-shift":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener("open",v):c.onopen=v);l.socket=c,b?(c.addEventListener("close",w),c.addEventListener("error",E),c.addEventListener("message",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on("close",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit("connect")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,"utf8"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r",contributors:[{name:"Michael Heuberger",email:"michael.heuberger@binarykitchen.com"}],main:"prototype/js/videomail-client.js",scripts:{audit:"npx audit-ci --config audit-ci.json",build:"gulp build",lint:"eslint --color ./src ./test ./gulpfile.js","lint:fix":"npm --silent run lint -- --fix",major:"./etc/release.sh --importance=major",minor:"./etc/release.sh --importance=minor",patch:"./etc/release.sh --importance=patch",prettier:"prettier --check ./src ./test ./prototype/*.html gulpfile.js","prettier:fix":"prettier --write ./src ./test ./prototype/*.html gulpfile.js",test:"gulp test",watch:"NODE_NO_HTTP2=1 gulp watch"},prettier:"./prettier.config.cjs",dependencies:{"@babel/core":"7.25.2","add-eventlistener-with-options":"1.25.5",animitter:"3.0.0","audio-sample":"4.1.0","canvas-to-buffer":"4.1.0",contains:"0.1.1","core-js":"3.38.1","create-error":"0.3.1",deepmerge:"4.3.1",defined:"1.0.1",despot:"2.1.0","document-visibility":"1.0.1",filesize:"10.1.6","format-util":"1.0.5","get-form-data":"3.0.0",hidden:"1.1.1","humanize-duration":"3.32.1",hyperscript:"2.0.2",inherits:"2.0.4","insert-css":"2.0.0","is-power-of-two":"1.0.0",keymirror:"0.1.1","safe-json-stringify":"1.2.0",superagent:"10.1.0","ua-parser-js":"1.0.39","websocket-stream":"5.5.2"},devDependencies:{"@babel/eslint-parser":"7.25.1","@babel/plugin-transform-runtime":"7.25.4","@babel/preset-env":"7.25.4","@tsconfig/node22":"22.0.0","@tsconfig/strictest":"2.0.5","audit-ci":"7.1.0",autoprefixer:"10.4.20",babelify:"10.0.0","body-parser":"1.20.3",browserify:"17.0.0","connect-send-json":"1.0.0",cssnano:"6.0.5",del:"6.1.1",eslint:"8.57.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.30.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.2.0","fancy-log":"2.0.0",glob:"10.4.2",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":"10.0.0","gulp-rename":"2.0.0","gulp-sourcemaps":"3.0.0","gulp-stylus":"3.0.1","gulp-terser":"2.1.0",minimist:"1.2.8",nib:"1.2.0",postcss:"8.4.47",prettier:"3.3.3","prettier-plugin-curly":"0.2.2","prettier-plugin-packagejson":"2.5.2","prettier-plugin-sh":"0.14.0",router:"1.3.8",tape:"5.9.0","tape-catch":"1.0.6","tape-run":"11.0.0",typescript:"5.6.2","vinyl-buffer":"1.0.1","vinyl-source-stream":"2.0.0",watchify:"4.0.0"},engines:{node:"^22.8.0",npm:"^10.8.2"},readmeFilename:"README.md"}},{}],111:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,o=r(e("inherits")),a=r(e("./constants")),s=r(e("./events")),u=r(e("./resource")),l=r(e("./util/browser")),c=r(e("./util/adjustOptions")),f=r(e("./util/eventEmitter")),d=r(e("./wrappers/container"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,"VideomailClient"),this.build=function(){var e=!1;e||n.isBuilt()||(r("Client: build()"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{"./constants":112,"./events":113,"./resource":115,"./util/adjustOptions":118,"./util/browser":120,"./util/eventEmitter":122,"./wrappers/container":128,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],112:[function(e,t,n){"use strict";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"}}},{}],113:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("keymirror"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{"@babel/runtime/helpers/interopRequireDefault":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=e("../package.json"),o=r(e("./util/addOptionsFunctions")),a={logger:null,logStackSize:30,verbose:!("production"===t.env.NODE_ENV),baseUrl:"https://videomail.io",socketUrl:"wss://videomail.io",siteName:"videomail-client-demo",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:"application/json",selectors:{containerId:"videomail",containerClass:"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",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e("_process"))},{"../package.json":110,"./util/addOptionsFunctions":117,"@babel/runtime/helpers/interopRequireDefault":4,_process:74}],115:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,"name",r.name),n(i,"type",r.type),n(i,"message",r.message||t.statusText),n(i,"cause",r.cause),n(i,"status",r.status),n(i,"code",r.code),n(i,"errno",r.errno),n(i,"details",r.details),n(i,"stack",r.stack),i}return e}function s(t,n,s){var u="".concat(e.baseUrl,"/videomail/").concat(t,"/").concat(n,"/snapshot");(0,i.default)("get",u).type("json").set("Accept","application/json").set("Timezone-Id",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c="".concat(e.baseUrl,"/videomail/");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set("Timezone-Id",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s("alias",e,t)},this.getByKey=function(e,t){s("key",e,t)},this.reportError=function(t,n){var a={},s="".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,"from"),n=t(n,"to"),n=t(n,"cc"),n=t(n,"bcc"),n=t(n,"subject"),n=t(n,"body")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u("post",t,r)})):u("post",n,r)},this.put=function(e,t){u("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: ".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set("Timezone-Id",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e("superagent")),o=r(e("./constants")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{"./constants":112,"@babel/runtime/helpers/interopRequireDefault":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&"auto"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&"auto"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{"./../options":114,"./addOptionsFunctions":117,"./collectLogger":121,"@babel/runtime/helpers/interopRequireDefault":4,deepmerge:27}],119:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug("AudioRecorder: init()");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create("Webcam has no audio",e.toString(),t)}var a=t.audio.bufferSize;if("auto"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create("Audio buffer size must be a power of two.",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create("Audio volume must be between zero and one.",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug("AudioRecorder: audio context is closed"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e("audio-sample")),o=r(e("is-power-of-two")),a=r(e("./browser")),s=r(e("./videomailError")),u=1},{"./browser":120,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"audio-sample":14,"is-power-of-two":67}],120:[function(e,t,n){"use strict";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")),o=r(e("defined")),a=r(e("ua-parser-js")),s=r(e("./videomailError"));n.default=function(e){e||(e={});var t,n="http://www.mozilla.org/firefox/update/",r="https://www.microsoft.com/en-us/download/details.aspx?id=48126",u="http://www.google.com/chrome/",l=(0,o.default)(e.fakeUaString,"undefined"!=typeof window&&window.navigator&&window.navigator.userAgent,""),c=new a.default(l).getResult(),f="iOS"===c.os.name,d=parseFloat(c.browser.version),h="Chrome"===c.browser.name,p="Brave"===c.browser.name,m="Chromium"===c.browser.name,y="Firefox"===c.browser.name,b=parseFloat(c.os.version),g="Windows"===c.os.name,v="Edge"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S="Facebook"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||"https:"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.":function(){var e;return y?e=f?"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...":'Probably you need to ')+"upgrade Firefox to fix this.":h?e=f?"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).":'Probably you need to ')+"upgrade Chrome to fix this.":m?e='Probably you need to ')+"upgrade Chromium to fix this.":O?e="Probably you need to shut down Safari and restart it, this for correct webcam access.":w&&(e="Safari below version 11 has no webcam support.
Better upgrade Safari or pick"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?"For the webcam feature, your browser needs an upgrade.":S?"Hence we recommend you to use a real browser like "+'Chrome, ')+'Firefox or ')+'Edge.'):"Hence we recommend you to use either "+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType("video/".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?"Sorry, the Facebook app cannot record from your mobile camera":"Sorry, your browser cannot record from your mobile camera":"Sorry, your browser cannot record from webcams":A?"Sorry, your browser is unable to use your mobile camera":"Sorry, your browser is unable to use webcams",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create("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&&(M(e,"mp4")?t="mp4":M(e,"webm")&&(t="webm")),"webm"!==t&&"mp4"!==t&&(t="mp4"),t&&""!==t||(t="mp4"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?"Click on the allow button to grant access to your webcam":this.isFirefox()?"Please grant Firefox access to your webcam":"Your system does not let your browser access your webcam",s.default.create("Unable to access webcam",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return"mobile"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,defined:29,"ua-parser-js":104}],121:[function(e,t,n){"use strict";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push("[".concat(t,"] ").concat(a)),a}this.debug=function(){var r=s("debug",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace("Trace"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s("error",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s("warn",e))},this.getLines=function(){return r}};var i=r(e("@babel/runtime/helpers/toConsumableArray")),o=r(e("format-util")),a=r(e("./browser"))},{"./browser":120,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/toConsumableArray":7,"format-util":46}],122:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create("You cannot emit without an event.",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&("removeListener"!==n&&"newListener"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug("".concat(t," emits ").concat(n," with ").concat((0,o.default)(r))):e.debug("".concat(t," emits ").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e("despot")),o=r(e("safe-json-stringify")),a=r(e("./../events")),s=r(e("./videomailError"))},{"./../events":113,"./videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,despot:30,"safe-json-stringify":93}],123:[function(e,t,n){"use strict";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"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{"@babel/runtime/helpers/interopRequireDefault":4,filesize:45,"humanize-duration":61}],124:[function(e,t,n){"use strict";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"]},{}],125:[function(e,t,n){"use strict";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")),o=r(e("safe-json-stringify")),a="- ",s="
".concat(a)},{"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"safe-json-stringify":93}],126:[function(e,t,n){(function(t){(function(){"use strict";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")),o=r(e("./../resource")),a=r(e("create-error")),s=r(e("safe-json-stringify")),u=r(e("./pretty")),l="Videomail Error",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e("./browser").default)(a);switch("object"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:"error"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p="The operation was insecure",r="Probably you have disallowed Cookies for this page?",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p="Invalid webcam constraints",r=n.constraint?"width"===n.constraint?"Your webcam does not meet the width requirement.":"Unmet constraint: ".concat(n.constraint):n.toString();break;case"MediaDeviceFailedDueToShutdown":p="Webcam is shutting down",r="This happens your webcam is already switching off and not giving you permission to use it.";break;case"SourceUnavailableError":p="Source of your webcam cannot be accessed",r="Probably it is locked from another process or has a hardware error.",n.explanation&&(n.explanation+=" Details: ".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case"NO_DEVICES_FOUND":m?(p="No webcam nor microphone found",r="Your browser cannot find a webcam with microphone attached to your machine."):(p="No webcam found",r="Your browser cannot find a webcam attached to your machine."),y.push(c.WEBCAM_PROBLEM);break;case"PermissionDismissedError":p="Ooops, you didn't give me any permissions?",r="Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case"PermissionDeniedError":p="Permission denied",r="Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.",y.push(c.WEBCAM_PROBLEM);break;case"HARDWARE_UNAVAILABLE":p="Webcam is unavailable",r="Maybe it is already busy in another window?",(b.isChromeBased()||b.isFirefox())&&(r+=" Or you have to allow access above?"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p="Unable to connect",r="Either the videomail server or your connection is down. Trying to reconnect every few seconds …";break;case"NO_VIDEO_FEED":p="No video feed found!",r="Your webcam is already used in another browser.",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p="Starting video failed",r="Most likely this happens when the webcam is already active in another browser",y.push(c.WEBCAM_PROBLEM);break;case"DevicesNotFoundError":p="No available webcam could be found",r="Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p="No access to webcam",r="A hardware error occurred which prevented access to your webcam",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p="Invalid state",r="Video recording stream from your webcam already has finished",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p="Requested webcam not found",r="A webcam is needed but could not be found",y.push(c.WEBCAM_PROBLEM);break;case 9:var g="https:".concat(window.location.href.substring(window.location.protocol.length));p="Security upgrade needed",r='Click here to switch to HTTPs which is more safe ')+" and enables encrypted videomail transfers.",y.push(c.BROWSER_PROBLEM);break;case 11:p="Invalid State",r="The object is in an invalid, unusable state",y.push(c.BROWSER_PROBLEM);break;default:p="DOM Exception",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p="Media device not supported",r=f(n);break;default:var v=r;if(r&&"object"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:"Inspected: ".concat((0,s.default)(v))),n)if("string"==typeof n)p=n;else if(n.message&&(p=f(n.message)+" (pretty)"),n.explanation&&(r?r+=";
".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=";
".concat(w)):r=w}p||(h&&(p=h+" (weird)"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)("VideomailError: create()",p,r||"(no explanation set)");var _,R=b.getUsefulData(),S=t.document.cookie.split("; "),A={title:"videomail-client error",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(",\n"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join("×"),orientation:"string"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k="function"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error("Unable to report error",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./../resource":115,"./browser":120,"./pretty":125,"@babel/runtime/helpers/interopRequireDefault":4,"@babel/runtime/helpers/typeof":10,"create-error":26,"safe-json-stringify":93}],127:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("contains")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../events")),l=r(e("../util/eventEmitter")),c=function(e,t){l.default.call(this,t,"Buttons");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type="button"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)("input#".concat(e.id),{type:"radio",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)("span.radioGroup",t,(0,a.default)("label",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(".".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=".".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)("button.".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g("Buttons: initEvents()"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g("Buttons: onSubmitting()"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g("Buttons: onEnablingAudio()"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g("Buttons: onDisablingAudio()"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug("Buttons: reset()"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(".".concat(t.selectors.buttonsClass)))||(n=(0,a.default)("div.".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,"Submit",null,!0,t.selectors.submitButtonId,"submit",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:"audioOffOption",name:"audio",value:"off",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:"audioOnOption",name:"audio",value:"on",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g("Buttons: unload()"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{"../events":113,"../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("@babel/runtime/helpers/defineProperty")),o=r(e("document-visibility")),a=r(e("hidden")),s=r(e("insert-css")),u=r(e("safe-json-stringify")),l=r(e("inherits")),c=r(e("../styles/css/main.min.css.js")),f=r(e("../events")),d=r(e("../resource")),h=r(e("../util/eventEmitter")),p=r(e("../util/videomailError")),m=r(e("./buttons")),y=r(e("./dimension")),b=r(e("./form")),g=r(e("./optionsWrapper")),v=r(e("./visuals")),w=function(e){h.default.call(this,e,"Container");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector("html"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&"FORM"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest("form")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A("Container: initEvents (playerOnly = ".concat(t,")")),e.enableAutoUnload&&window.addEventListener("beforeunload",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause("document invisible"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener("keypress",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||"true"===t.target.contentEditable||!0===t.target.contentEditable||"INPUT"===r||"TEXTAREA"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create("Recorder width cannot be less than 1!",e);t.style.width="".concat(n,"px")}}function N(){t&&(t.style.width="auto")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&"text/html"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error("Videomail data is missing for attaching player dimensions");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A("Container: build (".concat((0,u.default)(r),")"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement("div"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),r.playerOnly||D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A("Container: buildChildren (playerOnly = ".concat(n).concat(r?', replayParentElement="'.concat(r.id,'"'):"",")")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A("Container: building failed due to an error."):(A("Container: built."),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add("wait")},this.endWaiting=function(){S.classList&&S.classList.remove("wait")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A("Container: unload(".concat(e?(0,u.default)(e):"",")")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error("No container element exists.");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A("Container: hide()"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A("Container: startOver(".concat(e?(0,u.default)(e):"",")")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input "'.concat(p.name,'" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c="Don't forget to record a video 😉",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v="to"in g,w="cc"in g,R="bcc"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c="At least one recipient is required")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(": ");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A("Container: submitAll(".concat(o,")"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||"POST"===e.toUpperCase()}(t)?function(e){return!!e&&"PUT"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:"".concat(navigator.connection.downlink," Mbit/s"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&""!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A("Container: submit()"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{"../events":113,"../resource":115,"../styles/css/main.min.css.js":116,"../util/eventEmitter":122,"../util/videomailError":126,"./buttons":127,"./dimension":129,"./form":130,"./optionsWrapper":131,"./visuals":132,"@babel/runtime/helpers/defineProperty":3,"@babel/runtime/helpers/interopRequireDefault":4,"document-visibility":31,hidden:60,inherits:65,"insert-css":66,"safe-json-stringify":93}],129:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./../util/videomailError"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create("Got a video height less than 1 (".concat(e,") while figuring out the minimum!"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g("Visuals: buildChildren (playerOnly = ".concat(r).concat(i?', replayParentElement="'.concat(i.id,'"'):"",")")),(t=e.querySelector("noscript"))&&((t=(0,o.default)("noscript")).innerHTML="Please enable Javascript",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width="".concat(a.getRecorderWidth(!0),"px"),n.style.height="".concat(a.getRecorderHeight(!0),"px"))}function E(){n&&(n.style.width="auto",n.style.height="auto")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g("Visuals: build (playerOnly=".concat(i,")")),e){if(!(n=s?s.querySelector(".".concat(t.selectors.visualsClass)):e.querySelector(".".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)("div.".concat(t.selectors.visualsClass));var l=e.querySelector(".".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add("visuals")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g("Visuals: initEvents (playerOnly = ".concat(n,")")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,n||s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g("Visuals: back(".concat(e?(0,s.default)(e):"",")")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g("Visuals: unload(".concat(e?(0,s.default)(e):"",")")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{"../events":113,"../util/eventEmitter":122,"./visuals/inside/recorderInsides":138,"./visuals/notifier":139,"./visuals/recorder":140,"./visuals/replay":141,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93}],133:[function(e,t,n){"use strict";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,o.default)("p.countdown"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],134:[function(e,t,n){"use strict";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../events")),s=r(e("./../../../../util/eventEmitter"))},{"./../../../../events":113,"./../../../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],135:[function(e,t,n){"use strict";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,o.default)("div.paused"),r=(0,o.default)("p.pausedHeader"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(".pausedHint"),(s=(0,o.default)("p.pausedHint")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e("hidden")),o=r(e("hyperscript")),a=r(e("./../../../../util/videomailError"))},{"./../../../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],136:[function(e,t,n){"use strict";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],137:[function(e,t,n){"use strict";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, ".concat(s," seconds to go"))):(t.setNear(),r.classList.add("near"),n.debug("End is near, ".concat(s," seconds to go")))}r.innerHTML="".concat(i,":").concat((e=o)<10?"0".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove("near"),r.classList.remove("nigh"),(0,i.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 ~".concat(h()-s," seconds.")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(".recordTimer"))?d():(r=(0,o.default)("p.recordTimer"),d(),e.appendChild(r))}};var i=r(e("hidden")),o=r(e("hyperscript"))},{"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62}],138:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("inherits")),o=r(e("./../../../events")),a=r(e("./../../../util/browser")),s=r(e("./../../../util/eventEmitter")),u=r(e("./recorder/countdown")),l=r(e("./recorder/facingMode")),c=r(e("./recorder/pausedNote")),f=r(e("./recorder/recordNote")),d=r(e("./recorder/recordTimer")),h=function(e,t){s.default.call(this,t,"RecorderInsides");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m("RecorderInsides: initEvents()"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m("RecorderInsides: build()"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{"./../../../events":113,"./../../../util/browser":120,"./../../../util/eventEmitter":122,"./recorder/countdown":133,"./recorder/facingMode":134,"./recorder/pausedNote":135,"./recorder/recordNote":136,"./recorder/recordTimer":137,"@babel/runtime/helpers/interopRequireDefault":4,inherits:65}],139:[function(e,t,n){"use strict";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("inherits")),s=r(e("../../events")),u=r(e("../../util/eventEmitter")),l="notifierMessage",c=function(e,t){u.default.call(this,t,"Notifier");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h("Notifier: initEvents()"),d.on(s.default.CONNECTING,(function(){d.notify("Connecting …")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify("Loading webcam …")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width="auto",n.style.height="".concat(e.getRecorderHeight(!0,!0),"px")):(n.style.width="".concat(e.getRecorderWidth(!0),"px"),n.style.height="".concat(e.getRecorderHeight(!0),"px")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r="";e.beginWaiting(),n&&(h("Limit reached"),r+="".concat(t.text.limitReached,".
")),r+="".concat(t.text.sending," …"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r="Video: ".concat(e),n&&(r+=", Audio: ".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n="".concat(t.text.encoding," …");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify("Unloading …")})).on(s.default.DISCONNECTED,(function(){d.notify("Disconnected")})).on(s.default.CONNECTED,(function(){d.notify("Connected"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className="notifier entertain ".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove("entertain"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug("Notifier: setExplanation(".concat(e,")")),r||(r=(0,o.default)("p",{className:"explanation"}),n?n.appendChild(r):t.logger.warn("Unable to show explanation because notifyElement is empty:",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug("Notifier: build()"),(n=e.querySelector(".notifier"))?this.hide():(n=(0,o.default)(".notifier"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove("blocking")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug("Notifier: notify(".concat(f.join(", "),")"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className="notifier"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width="auto",n.style.height="auto")),m?(n&&n.classList.add("blocking"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug("Notifier: setMessage(".concat(e,")")),g()||(p=(0,o.default)("h2",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn("Unable to show message ".concat(e," because notifyElement is empty"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?"☹ ":"")+e}else t.logger.warn("Not going to update notifierMessage element because message is empty");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{"../../events":113,"../../util/eventEmitter":122,"@babel/runtime/helpers/interopRequireDefault":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;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("inherits")),c=r(e("safe-json-stringify")),f=r(e("websocket-stream")),d=r(e("../../constants")),h=r(e("../../events")),p=r(e("../../util/browser")),m=r(e("../../util/eventEmitter")),y=r(e("../../util/humanize")),b=r(e("../../util/pretty")),g=r(e("../../util/videomailError")),v=r(e("./userMedia")),w="°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ ",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,"Recorder");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create("FPS must be defined",E);var _,R,S,A,O,k,x,T,j,D,N,M,C,I,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create("Already disconnected","Sorry, connection to the server has been destroyed. Please reload.",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed to write stream buffer","stream.write() failed because of ".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create("Failed writing to server","stream.write() failed because of ".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K("Recorder: onUserMediaReady()",(0,c.default)(t));var n=t.switchingFacingMode;M=F=I=C=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return"".concat((te/(Q||1)*100).toFixed(2),"%")}function le(){return"".concat((ne/(X||1)*100).toFixed(2),"%")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K("Recorder: initializing web socket to %s",E.socketUrl),Y.emit(h.default.CONNECTING);var t="".concat(E.socketUrl,"?").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),"=").concat(encodeURIComponent(E.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: ".concat((0,b.default)(e)),E):g.default.create("Failed to connect to server","Please upgrade your browser. Your current version does not seem to support websockets.",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on("close",(function(e){K("".concat(w,"Stream has closed")),B=U=!1,e?Y.emit(h.default.ERROR,e||"Unhandled websocket error"):N&&fe()})),L.on("connect",(function(){K("".concat(w,"Stream *connect* event emitted"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||I||(U=!0,B=I=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on("data",(function(e){var t;K("".concat(w,"Stream *data* event emitted"));try{t=JSON.parse(e.toString())}catch(t){K("Failed to parse command:",t),Y.emit(h.default.ERROR,g.default.create("Invalid server command","Contact us asap. Bad command was ".concat(e.toString(),". "),E))}finally{ye.call(Y,t)}})),L.on("error",(function(e){K("".concat(w,"Stream *error* event emitted: ").concat((0,c.default)(e)))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted (should not happen!)"))})),L.on("preend",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("end",(function(){K("".concat(w,"Stream *end* event emitted"))})),L.on("drain",(function(){K("".concat(w,"Stream *drain* event emitted"))})),L.on("pipe",(function(){K("".concat(w,"Stream *pipe* event emitted"))})),L.on("unpipe",(function(){K("".concat(w,"Stream *unpipe* event emitted"))})),L.on("resume",(function(){K("".concat(w,"Stream *resume* event emitted"))})),L.on("uncork",(function(){K("".concat(w,"Stream *uncork* event emitted"))})),L.on("readable",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("prefinish",(function(){K("".concat(w,"Stream *preend* event emitted"))})),L.on("finish",(function(){K("".concat(w,"Stream *preend* event emitted"))})))}}function de(e){M=!1,Re(),K("Recorder: userMediaErrorCallback(), name: ".concat(e.name,", message: ").concat(e.message," and Webcam characteristics: ").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K("Recorder: ignore user media error",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!I)throw K("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.",E);K("Recorder: already unloaded. Not going to throw error",e)}}function he(e,t){if(K("Recorder: getUserMediaCallback()",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error("Navigator is missing!");if(K("Recorder: loadGenuineUserMedia()"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K("Recorder: navigator.mediaDevices.getUserMedia()",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K("Recorder: navigator.mediaDevices.getSupportedConstraints()",(0,c.default)(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.",E);n.then((function(t){he(t,e)})).catch(de)}else K("Recorder: navigator.getUserMedia()"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K("Recorder: skipping loadUserMedia() because it is already loaded"),se(e),!1;if(M)return K("Recorder: skipping loadUserMedia() because it is already asking for permission"),!1;K("Recorder: loadUserMedia(".concat((0,c.default)(e),")")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K("Recorder: failed to load genuine user media"),M=!1,!Y.listeners(h.default.ERROR).length)throw K("Recorder: no error listeners attached but throwing exception",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!I)try{switch(e.args?K("Server commanded: ".concat(e.command," with ").concat((0,c.default)(e.args))):K("Server commanded: ".concat(e.command)),e.command){case"ready":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case"preview":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source("".concat(e.mp4+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.mp4"),!0),e.webm&&n.setWebMSource("".concat(e.webm+d.default.SITE_NAME_LABEL,"/").concat(E.siteName,"/videomail.webm"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K("While recording, %s have been transferred and waiting time was %s",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case"error":this.emit(h.default.ERROR,g.default.create("Oh no, server error!",e.args.err.toString()||"(No message given)",E));break;case"confirmFrame":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case"confirmSample":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case"beginAudioEncoding":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case"beginVideoEncoding":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,"Unknown server command: ".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?"$ ".concat(e," with ").concat((0,c.default)(n)):"$ ".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K("Reconnecting for the command",e,"…"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K("Recorder: reInitializeAudio()"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K("Recorder: clearUserMediaTimeout()"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create("Failed to extract webcam data.",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K("Recorder: initEvents()"),Y.on(h.default.SUBMITTING,(function(){C=!0})).on(h.default.SUBMITTED,(function(){C=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K("Recorder: loopWithTimeouts()");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K("Recorder: restoreAnimationFrameObject()"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;"user"===Z?Z="environment":"environment"===Z?Z="user":K("Recorder: unsupported facing mode",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K("stop(".concat((0,c.default)(e),")"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve("stop",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),I=!1,ae(),ve("back",e)},this.unload=function(e){var t;!I&&W&&(e&&(t=e.name||e.statusText||e.toString()),K("Recorder: unload()".concat(t?", cause: ".concat(t):"")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),C||L&&(K("Recorder: ending stream ..."),L.destroy(),L=void 0),I=!0,W=B=U=!1)},this.reset=function(){I||(K("Recorder: reset()"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?"pause() at frame ".concat(Q," with ").concat((0,c.default)(e)):"pause() at frame ".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K("Recorder: pinging..."),re(t.from(""))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K("Recorder: resume() with frame ".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(I)return!1;if(!U)return K("Recorder: reconnecting before recording ..."),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create("Load and enable your camera first",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext("2d"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K("Recorder: record()"),S.record(),Y.emit(h.default.RECORDING,Q),J.on("update",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K("Recorder: avgFps = ".concat(n,", framesCount = ").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid height.",E)),!1):(Y.emit(h.default.ERROR,g.default.create("Canvas has an invalid width.",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector("video.".concat(E.selectors.userMediaClass)))||(R=(0,u.default)("video.".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute("playsinline",!0),R.setAttribute("webkit-playsinline","webkit-playsinline"),R.style.transform="rotateY(180deg)",R.style["-webkit-transform"]="rotateY(180deg)",R.style["-moz-transform"]="rotateY(180deg)",E.video.stretch&&(R.style.width="100%"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K("Recorder: clearRetryTimeout()"),clearTimeout(O),O=null))},this.isUnloaded=function(){return I},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e("buffer").Buffer)},{"../../constants":112,"../../events":113,"../../util/browser":120,"../../util/eventEmitter":122,"../../util/humanize":123,"../../util/pretty":125,"../../util/videomailError":126,"./userMedia":142,"@babel/runtime/helpers/interopRequireDefault":4,animitter:13,buffer:18,"canvas-to-buffer":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,"safe-json-stringify":93,"websocket-stream":107}],141:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("add-eventlistener-with-options")),o=r(e("hidden")),a=r(e("hyperscript")),s=r(e("inherits")),u=r(e("../../events")),l=r(e("../../util/browser")),c=r(e("../../util/eventEmitter")),f=function(e,t){c.default.call(this,t,"Replay");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return"HTMLDivElement"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+="?".concat(Date.now())),o)n?o.setAttribute("src",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)("source",{src:"".concat(n,"#t=").concat(s),type:"video/".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName("track"),n=t&&t[0];if(n)e?n.setAttribute("src",e):r.removeChild(n);else{var i=(0,a.default)("track",{src:e,kind:"captions",default:!0});r.appendChild(i),r.setAttribute("crossorigin","anonymous")}}(s.vtt),s.poster&&r.setAttribute("poster",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(".".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h("Replay: show(playerOnly=".concat(l,")")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?"".concat(i,"px"):"auto",r.style.height=n>0?"".concat(n,"px"):"auto"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute("volume",1):t.isAudioEnabled()||r.setAttribute("muted",!0),r.load(),s?r.addEventListener("canplaythrough",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener("canplaythrough",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h("Replay: build (".concat(o?'replayParentElement="'.concat(o.id,'"'):"",")")),(r=e.querySelector("video.".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if("string"==typeof n&&!(n=document.getElementById(n)))throw new Error("No replay parent element container with ID ".concat(n," found."));var i="video.".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,"touchstart",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h("Replay: built.")},this.unload=function(){h("Replay: unload()"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName("source"),o=i&&i.length,a="video/".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug("UserMedia: unloadAllEventListeners()"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener("play",k),p.removeEventListener&&p.removeEventListener("loadedmetadata",x)}function A(){try{if(p.load(),p.paused){var e;t.debug("UserMedia: play()","media.readyState=".concat(p.readyState),"media.paused=".concat(p.paused),"media.ended=".concat(p.ended),"media.played=".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn("Caught raw usermedia play exception:",e)}(n=e)&&"undefined"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug("UserMedia: fireCallbacks("+"readyState=".concat(s,", ")+"onPlayReached=".concat(l,", ")+"onLoadedMetaDataReached=".concat(h,")")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R("play",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("play",k),E()||_()?o(d.default.create("Already busy","Probably another browser window is using your webcam?",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R("loadedmetadata",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener("loadedmetadata",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create("Webcam is disabled","The video track seems to be disabled. Enable it in your system.",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=" with enabled=".concat(T.enabled),j+=", muted=".concat(T.muted),j+=", remote=".concat(T.remote),j+=", readyState=".concat(T.readyState),j+=", error=".concat(T.error),t.debug("UserMedia: ".concat(T.kind," detected."),j||"")}else t.debug("UserMedia: detected (but no video tracks exist");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener("loadedmetadata",x),p.addEventListener("play",k),p.addEventListener("error",(function(e){t.logger.warn("Caught video element error event: %s",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create("Bad dimensions","Calculated raw height cannot be less than 1!",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e("hyperscript")),o=r(e("safe-json-stringify")),a=r(e("./../../events")),s=r(e("./../../util/audioRecorder")),u=r(e("./../../util/browser")),l=r(e("./../../util/eventEmitter")),c=r(e("./../../util/mediaEvents")),f=r(e("./../../util/pretty")),d=r(e("./../../util/videomailError")),h="|—O—|"},{"./../../events":113,"./../../util/audioRecorder":119,"./../../util/browser":120,"./../../util/eventEmitter":122,"./../../util/mediaEvents":124,"./../../util/pretty":125,"./../../util/videomailError":126,"@babel/runtime/helpers/interopRequireDefault":4,hyperscript:62,"safe-json-stringify":93}],"videomail-client":[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=r(e("./client"));n.default=i.default},{"./client":111,"@babel/runtime/helpers/interopRequireDefault":4}]},{},["videomail-client"])("videomail-client")})); //# sourceMappingURL=videomail-client.min.js.map diff --git a/prototype/js/videomail-client.min.js.map b/prototype/js/videomail-client.min.js.map index f74ede66..dcb08ab7 100644 --- a/prototype/js/videomail-client.min.js.map +++ b/prototype/js/videomail-client.min.js.map @@ -1 +1 @@ -{"version":3,"file":"videomail-client.min.js","names":["f","exports","module","define","amd","window","global","self","this","VideomailClient","r","e","n","t","o","i","c","require","u","a","Error","code","p","call","length","_dereq_","Array","__esModule","arrayLikeToArray","isArray","toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","default","Symbol","iterator","from","TypeError","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_typeof","toPrimitive","String","Number","constructor","prototype","toString","slice","name","test","root","factory","modules","installedModules","__webpack_require__","moduleId","id","loaded","m","target","listener","options","obj","key","optionName","arguments","undefined","addEventListener","listenerOptions","_checkSupport","SupportMap","assign","_OptionsMap","_constants","_defineProperty","OptionsMap","PASSIVE","CAPTURE","ONCE","keys","forEach","k","property","opts","get","removeListener","checkSupportForProperty","methods","EventEmitter","inherits","raf","defaultRAFObject","requestAnimationFrame","cancelAnimationFrame","cancel","returnTrue","Animitter","__delay","delay","fixedDelta","frameCount","deltaTime","elapsedTime","__running","__completed","setFPS","fps","Infinity","setRequestAnimationFrameObject","requestAnimationFrameObject","onStart","scope","rAFID","now","Date","running","__lastTime","emit","lastRAFObject","drawFrame","__isReadyForUpdate","update","method","off","trigger","complete","stop","dispose","removeAllListeners","getDeltaTime","getElapsedTime","getFPS","getFPSLimit","__fps","getFrameCount","getRequestAnimationFrameObject","isRunning","isCompleted","reset","lastTime","half","Math","ceil","makeThrottle","object","start","setTimeout","globalFixedDelta","min","createAnimitter","fn","_instance","on","bind","apply","bound","fnKey","loop","functionKeys","arr","push","functions","hasBind","Function","getTime","events","float32Array","toBuffer","Int16Array","byteLength","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","tmp","Arr","_byteLength","curByte","len","revLookup","charCodeAt","fromByteArray","uint8","extraBytes","parts","maxChunkLength","len2","encodeChunk","lookup","join","Uint8Array","indexOf","end","num","output","undef","nativeSplit","split","compliantExecNpcg","exec","str","separator","limit","separator2","match","lastIndex","lastLength","flags","ignoreCase","multiline","extended","sticky","lastLastIndex","RegExp","source","index","replace","Buffer","base64","ieee754","SlowBuffer","alloc","INSPECT_MAX_BYTES","K_MAX_LENGTH","createBuffer","RangeError","buf","__proto__","arg","encodingOrOffset","allocUnsafe","string","encoding","isEncoding","actual","write","fromString","ArrayBuffer","isView","fromArrayLike","isInstance","buffer","array","byteOffset","fromArrayBuffer","valueOf","b","isBuffer","checked","copy","numberIsNaN","type","data","fromObject","assertSize","size","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","toLowerCase","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","val","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","remaining","strLen","parsed","parseInt","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","res","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","kMaxLength","TYPED_ARRAY_SUPPORT","foo","typedArraySupport","console","error","species","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","x","y","concat","list","pos","swap16","swap32","swap64","toLocaleString","equals","inspect","max","trim","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","_arr","ret","out","toHex","bytes","checkOffset","ext","checkInt","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","set","INVALID_BASE64_RE","leadSurrogate","base64clean","src","dst","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","setFunctionLength","$TypeError","$apply","$call","$reflectApply","$defineProperty","$max","originalFunction","func","applyBind","document","createElement","quality","types","canvas","composeMimeType","isMatch","getTestCanvas","width","height","canvasSupportsMimeType","toDataURL","figureMimeType","uriToBuffer","atob","s","getMimeType","indexof","isTruthy","elem","cl","classList","add","remove","contains","toggle","token","className","item","getTokens","setTokens","splice","filter","Emitter","mixin","event","_callbacks","once","removeEventListener","cb","callbacks","args","listeners","hasListeners","container","comparison","compareDocumentPosition","objectToString","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","re","isObject","isDate","d","isError","isFunction","isPrimitive","createErrorLib","lastcreateError","createError","noConflict","getName","getTarget","properties","getProps","ErrorCtor","message","attachProps","stack","captureStackTrace","Err","context","inheritedKeys","l","clone","cloned","create","attr","hasOwnProperty","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","for","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","map","element","getKeys","getOwnPropertySymbols","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","_","mergeObject","destination","propertyIsUnsafe","customMerge","getMergeFunction","arrayMerge","sourceIsArray","all","reduce","prev","next","deepmerge_1","$SyntaxError","gopd","nonEnumerable","nonWritable","nonConfigurable","loose","desc","Despot","_singletonDespotInstance","Event","Keys","noop","visible","onChange","broadcast","noopShim","hidden","geval","prefix","mozHidden","msHidden","webkitHidden","detectPrefix","substring","doccy","topLevel","minDoc","process","eos","stream","callback","ws","_writableState","rs","_readableState","readable","cancelled","onlegacyfinish","onfinish","onend","onexit","exitCode","onerror","err","onclose","nextTick","onclosenexttick","ended","destroyed","onrequest","req","setHeader","abort","isRequest","stdio","isChildProcess","_process","EvalError","ReferenceError","SyntaxError","URIError","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","ownKeys","getOwnPropertyNames","NumberIsNaN","isNaN","init","emitter","Promise","resolve","reject","errorListener","resolver","eventTargetAgnosticAddListener","handler","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","prepend","existing","warning","newListener","unshift","warned","w","count","warn","onceWrapper","fired","wrapFn","_onceWrap","state","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","getPrototypeOf","setMaxListeners","getMaxListeners","doError","er","addListener","prependListener","prependOnceListener","position","originalListener","shift","pop","spliceOne","rawListeners","eventNames","stringify","stable","deterministicStringify","stableStringify","LIMIT_REPLACE_NODE","CIRCULAR_REPLACE_NODE","replacerStack","defaultOptions","depthLimit","MAX_SAFE_INTEGER","edgesLimit","replacer","spacer","decirc","JSON","replaceGetterValues","part","setReplace","parent","propertyDescriptor","getOwnPropertyDescriptor","edgeIndex","depth","compareFunction","deterministicDecirc","sort","v","BITS","BYTES","EMPTY","JEDEC","ROUND","STRING","STRINGS","iec","bits","jedec","fullform","filesize","pad","base","round","locale","localeOptions","symbols","standard","fullforms","exponent","roundingMethod","precision","result","full","neg","roundingFunc","floor","log","toPrecision","padEnd","unit","partial","fmt","escaped","ptn","flag","toStr","concatty","arrLike","slicy","boundLength","boundArgs","joiner","joiny","Empty","implementation","_extends","getFormData","getFieldData","NODE_LIST_CLASSES","IGNORED_ELEMENT_TYPES","button","fieldset","submit","CHECKED_INPUT_TYPES","checkbox","radio","TRIM_RE","form","includeDisabled","elementName","elementNames","elementNameLookup","elements","disabled","_i","_l","fieldName","getFormElementValue","allRadios","selectedIndex","selected","multiple","files","hasAttribute","$Error","$EvalError","$RangeError","$ReferenceError","$URIError","$Function","getEvalledConstructor","expressionSyntax","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","hasProto","getProto","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int32Array","Map","parseFloat","Proxy","Set","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","errorProto","doEval","gen","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","alias","intrinsicName","first","last","number","quote","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","hasown","listen","broadcaster","tuple","win","hasPropertyDescriptors","hasArrayLengthDefineBug","$Object","origSymbol","hasSymbolSham","sym","symObj","syms","descriptor","$hasOwn","style","display","prop","has","GREEK","language","LANGUAGES","af","am","ar","getArabicForm","delimiter","_hideCountIf2","_digitReplacements","bg","getSlavicForm","bn","ca","ckb","cs","getCzechOrSlovakForm","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","gr","he","hr","mod10","hu","is","it","ja","km","kn","ko","ku","lt","getLithuanianForm","lv","getLatvianForm","mk","mn","mr","ms","nl","no","pl","getPolishForm","pt","ro","ru","sq","sr","ta","te","uk","ur","sk","sl","sv","sw","_numberFirst","tr","th","uz","uz_CYR","vi","zh_CN","zh_TW","mo","h","decimal","renderPiece","piece","digitReplacements","formattedCount","unitName","unitCount","maxDecimalPoints","countStr","char","word","languageWord","formatPieces","pieces","possibleLanguages","fallbacks","languageToTry","languages","getLanguage","conjunction","serialComma","renderedPieces","humanizer","passedOptions","humanizerOptions","abs","msRemaining","unitMeasures","largest","unitCounts","unitMs","unitsRemainingBeforeRound","smallerUnitName","smallerUnitCount","rounded","previousUnitName","previousUnitMs","amountOfPreviousUnit","getPieces","humanizeDuration","getSupportedLanguages","ClassList","Text","cleanupFuncs","appendChild","createTextNode","setAttribute","isNode","attachEvent","detachEvent","cssText","setProperty","parentElement","replaceChild","textContent","cleanup","nodeName","nodeType","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","ctor","superCtor","super_","TempCtor","containers","styleElements","insertCss","css","styleElement","querySelector","containerId","createStyleElement","insertBefore","childNodes","styleSheet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","functionToString","$match","$slice","$toUpperCase","toUpperCase","$toLowerCase","$test","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","custom","inspectSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","seen","maxStringLength","customInspect","indent","numericSeparator","inspectString","bigIntStr","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","getAttribute","isElement","attrs","attributes","xs","singleLineValues","indentedJoin","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isBigInt","globalThis","ys","isPlainObject","protoTag","stringTag","tag","trailer","lowbyte","entries","lineJoiner","isArr","symMap","wrappy","called","onceStrict","onceError","strict","proto","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","uptime","version","arg1","arg2","arg3","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","title","browser","env","argv","versions","binding","cwd","chdir","umask","percentTwenties","Format","formatters","RFC1738","RFC3986","parse","formats","utils","defaults","allowDots","allowEmptyArrays","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","decodeDotInKeys","decoder","decode","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictDepth","strictNullHandling","$0","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","child","segment","chain","leaf","cleanRoot","charAt","decodedRoot","parseObject","normalizeParseOptions","tempObj","cleanStr","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","merge","compact","getSideChannel","arrayPrefixGenerators","brackets","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","arrayFormat","encode","encodeDotInKeys","encoder","encodeValuesOnly","format","formatter","serializeDate","date","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","step","findFlag","objKeys","values","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","joined","hexTable","arrayToObject","acc","refs","compacted","compactQueue","strWithoutPlus","unescape","defaultEncoder","kind","escape","mapped","mergeTarget","targetItem","vendors","suffix","caf","frameDuration","_now","cp","handle","polyfill","pna","objectKeys","Duplex","util","Readable","Writable","allowHalfOpen","onEndNT","highWaterMark","_destroy","PassThrough","Transform","_transform","chunk","ReadableState","EElistenerCount","Stream","OurUint8Array","debugUtil","debug","debuglog","StringDecoder","BufferList","destroyImpl","kProxyEvents","isDuplex","objectMode","readableObjectMode","hwm","readableHwm","readableHighWaterMark","defaultHwm","pipes","pipesCount","flowing","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","awaitDrain","readingMore","_read","destroy","readableAddChunk","addToFront","skipChunkCheck","emitReadable","onEofChunk","chunkInvalid","_uint8ArrayToBuffer","addChunk","maybeReadMore","needMoreData","_undestroy","undestroy","isPaused","setEncoding","enc","MAX_HWM","howMuchToRead","head","computeNewHighWaterMark","emitReadable_","flow","maybeReadMore_","nReadingNextTick","resume_","fromList","clear","hasStrings","nb","tail","copyFromBufferString","copyFromBuffer","fromListPartial","endReadable","endReadableNT","nOrig","doRead","pipe","dest","pipeOpts","endFn","stdout","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","ondrain","ondata","cleanedUp","needDrain","pipeOnDrain","increasedAwaitDrain","pause","resume","dests","ev","wrap","_this","paused","_fromList","isarray","afterTransform","ts","_transformState","transforming","writecb","writechunk","needTransform","writeencoding","transform","flush","_flush","prefinish","done","_write","_this2","err2","setImmediate","CorkedRequest","entry","finish","corkReq","pendingcb","corkedRequestsFree","onCorkedFinish","asyncWrite","WritableState","internalUtil","deprecate","realHasInstance","nop","writableObjectMode","writableHwm","writableHighWaterMark","finalCalled","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","onwriteStateUpdate","finishMaybe","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","_final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","getBuffer","current","hasInstance","writeAfterEnd","valid","validChunk","newChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","timers","instance","Constructor","_classCallCheck","emitErrorNT","readableDestroyed","writableDestroyed","copyProps","SafeBuffer","nenc","retried","_normalizeEncoding","normalizeEncoding","text","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckExtraBytes","total","utf8CheckIncomplete","hasProp","throwsMessage","ensureProperties","visit","fResult","aResult","safeGetValueFromPropertyOnObject","space","hasDescriptors","gOPD","functionLengthIsConfigurable","functionLengthIsWritable","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","$wm","$m","$o","channel","assert","objects","node","listGet","listHas","listSet","_duplexState","idx","bufferIndex","getStateLength","Agent","_defaults","_setDefaults","request","def","_len","_key","safeStringify","qs","RequestBase","ResponseBase","url","Request","getXHR","XMLHttpRequest","serialize","pairs","pushEncodedKeyValuePair","subkey","parseString","string_","pair","length_","isJSON","mime","Response","request_","xhr","responseType","responseText","statusText","status","_setStatusProperties","headers","lines","fields","line","field","parseHeader","getAllResponseHeaders","header","getResponseHeader","_setHeaderProperties","_responseType","body","response","_parseBody","_query","_header","new_error","original","rawResponse","statusCode","_isResponseOK","serializeObject","html","json","xml","urlencoded","_parser","toError","accept","auth","user","pass","btoa","_auth","query","attach","file","_data","_getFormData","append","_formData","FormData","_shouldRetry","_retry","_callback","_maxRetries","retries","_retries","crossDomainError","crossDomain","agent","_isHost","_endCalled","_finalizeQueryString","_end","_setUploadTimeout","_uploadTimeout","_uploadTimeoutTimer","_timeoutError","_aborted","_setTimeouts","readyState","_responseTimeoutTimer","timedout","handleProgress","direction","percent","upload","username","password","open","_withCredentials","withCredentials","contentType","_serializer","setRequestHeader","send","del","delete","patch","post","put","_timer","_timeout","_responseTimeout","option","deadline","retry","_retryCallback","ERROR_CODES","STATUS_CODES","override","timedoutError","then","_fullfilledPromise","catch","use","ok","_okCallback","getHeader","unset","base64Encoder","redirects","_maxRedirects","maxResponseSize","_maxResponseSize","isObject_","sortQuery","_sort","queryArray","_appendQueryString","reason","errno","ct","parameters","params","links","link","parseLinks","trunc","statusType","info","redirect","clientError","serverError","created","accepted","noContent","badRequest","unauthorized","notAcceptable","forbidden","notFound","unprocessableEntity","cleanHeader","changesOrigin","host","authorization","cookie","isGzipOrDeflateEncoding","isBrotliEncoding","clearImmediate","immediateIds","nextImmediateId","Timeout","clearFn","_id","_clearFn","setInterval","clearInterval","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","CHROMIUM_OS","MAC_OS","SUFFIX_BROWSER","enumerize","enums","str1","str2","lowerize","rgxMapper","ua","arrays","q","matches","regex","props","strMapper","windowsVersionMap","ME","XP","Vista","RT","regexes","cpu","device","tablet","engine","EDGE","os","UAParser","extensions","getResult","_navigator","navigator","_ua","userAgent","_uach","userAgentData","_rgxmap","mergedRegexes","extend","_isSelfNav","getBrowser","_browser","brave","isBrave","getCPU","_cpu","getDevice","_device","mobile","standalone","maxTouchPoints","getEngine","_engine","getOS","_os","platform","getUA","setUA","CPU","DEVICE","ENGINE","OS","$","jQuery","Zepto","parser","config","localStorage","msg","trace","SIGNAL_FLUSH","onuncork","_corked","destroyer","_autoDestroy","autoDestroy","_ended","Duplexify","_writable","_readable","_readable2","_forwardDestroy","_forwardEnd","_ondrain","_drained","_forwarding","_unwrite","_unread","setWritable","setReadable","unend","onreadable","_forward","_finish","duplexify","WS","protocols","socket","isBrowser","isNative","WebSocket","socketWrite","socketWriteBrowser","bufferedAmount","bufferSize","bufferTimeout","coerceToBuffer","OPEN","protocol","binary","proxy","socketEnd","buildProxy","browserBufferSize","browserBufferTimeout","binaryType","eventListenerSupport","onopen","onmessage","chunks","buffers","MozWebSocket","wrapper","description","keywords","homepage","repository","license","author","contributors","email","main","scripts","audit","build","lint","major","minor","prettier","watch","dependencies","animitter","defined","despot","hyperscript","keymirror","superagent","devDependencies","autoprefixer","babelify","browserify","cssnano","eslint","glob","gulp","minimist","nib","postcss","router","tape","typescript","watchify","engines","npm","readmeFilename","_interopRequireDefault","_inherits","_resource","_adjustOptions","_eventEmitter","_container","localOptions","building","isBuilt","show","replay","videomail","replayParentElementId","unload","playerOnly","addPlayerDimensions","buildForm","loadForm","REPLAY_SHOWN","showReplayOnly","getReplay","setVideomail","getElement","startOver","hide","getByAlias","getByKey","canRecord","isDirty","isRecording","getLogLines","logger","getLines","public","Events","SITE_NAME_LABEL","VERSION_LABEL","ENC_TYPE_APP_JSON","ENC_TYPE_FORM","_keymirror","BUILT","FORM_READY","LOADING_USER_MEDIA","USER_MEDIA_READY","CONNECTING","CONNECTED","DISCONNECTED","COUNTDOWN","RECORDING","STOPPING","STOPPED","PROGRESS","BEGIN_AUDIO_ENCODING","BEGIN_VIDEO_ENCODING","RESETTING","PAUSED","RESUMING","PREVIEW","PREVIEW_SHOWN","INVALID","VALIDATING","VALID","SUBMITTING","SUBMITTED","ERROR","BLOCKING","SENDING_FIRST_FRAME","FIRST_FRAME_SENT","HIDE","NOTIFYING","ENABLING_AUDIO","DISABLING_AUDIO","LOADED_META_DATA","EVENT_EMITTED","GOING_BACK","STARTING_OVER","ASKING_WEBCAM_PERMISSION","VISIBLE","INVISIBLE","SWITCH_FACING_MODE","SERVER_READY","UNLOADING","_package","_addOptionsFunctions","logStackSize","verbose","NODE_ENV","baseUrl","socketUrl","siteName","enablePause","enableAutoPause","enableSpace","submitWithVideomail","disableSubmit","enableAutoValidation","enableAutoUnload","enableAutoSubmission","enctype","selectors","containerClass","replayClass","userMediaClass","visualsClass","buttonClass","buttonsClass","recordButtonClass","pauseButtonClass","resumeButtonClass","previewButtonClass","recordAgainButtonClass","submitButtonClass","subjectInputName","fromInputName","toInputName","ccInputName","bccInputName","bodyInputName","sendCopyInputName","keyInputName","parentKeyInputName","formId","submitButtonId","submitButtonSelector","audio","enabled","switch","volume","video","limitSeconds","countdown","facingMode","facingModeButton","stretch","image","pausedHeader","pausedHint","sending","limitReached","audioOff","audioOn","buttons","record","recordAgain","preview","notifier","entertain","entertainClass","entertainLimit","entertainInterval","timeouts","userMedia","connection","pingInterval","loadUserMediaOnRecord","adjustFormDataBeforePosting","to","cc","bcc","subject","displayErrors","adjustFormOnBrowserError","reportErrors","fakeUaString","optionsWithFunctions","applyDefaultValue","packedError","packError","originalError","details","fetch","identifierName","identifierValue","_superagent","timezoneId","prettyError","identifier","queryParams","returnedVideomail","reportError","applyDefaultValues","adjustedVideomail","formData","formType","Intl","DateTimeFormat","resolvedOptions","timeZone","audioEnabled","hasDefinedWidth","hasDefinedHeight","hasDefinedDimension","hasDefinedDimensions","getRatio","ratio","hasVideoDimensions","videoHeight","videoWidth","isAudioEnabled","setAudioEnabled","isAutoPauseEnabled","_deepmerge","_collectLogger","_options","_destination","collectLogger","scriptProcessor","audioInput","vcAudioContext","getAudioContextClass","AudioContext","webkitAudioContext","hasAudioContext","getAudioContext","localMediaStream","createGain","createMediaStreamSource","exc","_videomailError","isFirefox","_isPowerOfTwo","gain","createScriptProcessor","CHANNELS","connect","onaudioprocess","inputBuffer","getChannelData","_audioSample","onAudioProcess","disconnect","getSampleRate","sampleRate","_typeof2","_defined","_uaParserJs","videoType","firefoxDownload","edgeDownload","chromeDownload","uaParser","isIOS","browserVersion","isChrome","isChromium","firefox","osVersion","isWindows","isEdge","isSafari","isOpera","isAndroid","chromeBased","isFacebook","isMobile","isOkSafari","isOkIOS","isBadIOS","isHTTPS","fakeHttps","location","okBrowser","getUserMediaWarning","getRecommendation","isChromeBased","canPlayType","hasNavigator","mediaDevices","getUserMedia","getUserMedia_","checkRecordingCapabilities","IOS_PROBLEM","BROWSER_PROBLEM","checkBufferTypes","getVideoType","getNoAccessIssue","explanation","getUsefulData","architecture","lifo","level","_formatUtil","_toConsumableArray2","groupCollapsed","groupEnd","moreArguments","_safeJsonStringify","_despot","eventName","_filesize2","_humanizeDuration","toTime","anything","DASH","SEPARATOR","arrayToString","sLines","propertyNames","excludes","exclude","_createError","_pretty","VIDEOMAIL_ERR_NAME","VideomailError","logLines","promise","screen","orientation","pretty","PERMISSION_DENIED","NOT_ALLOWED_ERROR","NOT_CONNECTED","DOM_EXCEPTION","STARTING_FAILED","MEDIA_DEVICE_NOT_SUPPORTED","WEBCAM_PROBLEM","OVERCONSTRAINED","NOT_FOUND_ERROR","NOT_READABLE_ERROR","SECURITY_ERROR","TRACK_START_ERROR","INVALID_STATE_ERROR","_err$constructor","errType","Browser","NotFoundError","constraint","newUrl","href","originalExplanation","resource","usefulClientData","cookies","errData","colorDepth","errNo","errCode","errName","errConstraint","errConstructorName","videomailError","hasClass","getClassList","removeDimensions","hideButtons","browserProblem","hideForm","_contains","_hidden","_hyperscript","Buttons","buttonsElement","recordButton","pauseButton","resumeButton","previewButton","recordAgainButton","submitButton","audioOnRadioPair","audioOffRadioPair","built","isShown","disable","tagName","enable","adjustButton","buttonElement","replaceClickHandler","clickHandler","onclick","preventDefault","makeRadioButtonPair","radioButtonElement","radioButtonGroup","getElementById","htmlFor","label","changeHandler","onchange","makeButton","selector","innerHTML","onFormReady","onFirstFrameSent","beginWaiting","initEvents","switchingFacingMode","recordWhenReady","onUserMediaReady","adjustButtonsForPause","framesCount","onRecording","enableSubmit","isCountingDown","isRecordAgainButtonEnabled","isReady","isRecordButtonEnabled","setSubmitButton","newSubmitButton","getSubmitButton","hasForm","disableAudio","enableAudio","deep","_defineProperty2","_documentVisibility","_insertCss","_mainMinCss","_buttons","_dimension","_form","_optionsWrapper","_visuals","Container","containerElement","visibility","visuals","htmlElement","hasError","submitted","lastValidation","getFormElement","closest","findParentFormElement","_e$target","isContentEditable","contentEditable","pauseOrResume","recordOrStop","processError","endWaiting","correctDimensions","getRecorderWidth","finalizeSubmissions","formResponse","validateOptions","formElement","findSubmitButton","replayParentElement","getParentElement","playerHeight","calculateHeight","responsive","playerWidth","calculateWidth","limitWidth","limitHeight","fnOptions","hasElement","buildOptions","_replayParentElement","buildChildren","reference","unloadChildren","isReplayShown","back","enableForm","keepHidden","isNotifying","validate","force","runValidation","isConnected","isUserMediaLoaded","isConnecting","_event$target","targetName","whyInvalid","invalidData","visualsValid","invalidInput","getInvalidElement","isHidden","_recipients$to","_recipients$cc","_recipients$bcc","recipients","getRecipients","toIsConfigured","ccIsConfigured","bccIsConfigured","hasTo","hasCc","hasBcc","disableForm","buttonsToo","submitAll","startSubmission","videomailFormData","transformFormData","isPost","isPut","recordingStats","getRecordingStats","getRecorderHeight","downlink","effectiveType","rtt","submitVideomail","err1","videomailResponse","submitForm","isRecorderUnloaded","isOutsideElementOf","parentNode","loadVideomail","doTheSubmit","figureMinHeight","isInteger","limitedWidth","outerWidth","rect","getBoundingClientRect","right","left","getOuterWidth","limitedHeight","documentElement","clientHeight","calculatedWidth","trimEmail","Form","keyInput","FORM_FIELDS","parentKey","sendCopy","getData","setDisabled","isRegisteredFormField","formElementName","getRegisteredFormElements","querySelectorAll","registeredElements","resetForm","inputElements","inputElement","transformedFormData","formFieldValue","input","videomailKey","dispatchEvent","bubbles","hideAll","removeAllInputListeners","validity","newOptions","_recorderInsides","_notifier","_recorder","_replay","Visuals","visualsElement","recorder","recorderInsides","noScriptElement","isRecordable","clientWidth","blockingOptions","removeChild","hidePause","isVisible","showPause","resumeCountdown","startCountdown","getRecorder","getAudioSampleRate","showVisuals","isUnloaded","useBoundingClientRect","checkTimer","intervalSum","isNotifierBuilt","hideReplay","hideRecorder","countdownElement","intervalId","countBackward","fire","facingModeElement","pausedBlockElement","pausedHeaderElement","pausedHintElement","hasPausedHint","recordNoteElement","setNear","setNigh","recordNote","recordTimerElement","started","nearComputed","endNighComputed","thresholdReached","secs","threshold","mins","remainingSeconds","isNear","endIsNigh","getStartSeconds","check","newCountdown","_countdown","_facingMode","_pausedNote","_recordNote","_recordTimer","RecorderInsides","pausedNote","recordTimer","onResetting","hideCountdown","NOTIFIER_MESSAGE_ID","Notifier","notifyElement","explanationElement","entertainTimeoutId","entertaining","messageElement","notify","lead","stillWait","onStopping","frameProgress","sampleProgress","overallProgress","setExplanation","onProgress","hideExplanation","onBeginVideoEncoding","runEntertainment","randomBackgroundClass","random","cancelEntertainment","getMessageElement","blocking","problem","notifyOptions","messageOptions","setMessage","_animitter","_canvasToBuffer","_websocketStream","_humanize","_userMedia","PIPE_SYMBOL","Recorder","originalAnimationFrameObject","recorderElement","userMediaTimeout","retryTimeout","bytesSum","ctx","userMediaLoaded","userMediaLoading","submitting","unloaded","stopTime","connecting","connected","waitingTime","frame","recordingBufferLength","recordingBuffer","samplesCount","confirmedFrameNumber","confirmedSampleNumber","writeStream","stopPings","onFlushedCallback","onAudioSample","audioSample","newLoop","draw","calculateFrameProgress","toFixed","calculateSampleProgress","updateOverallProgress","initSocket","url2Connect","perMessageDeflate","isClosing","CLOSING","command","executeCommand","userMediaErrorCallback","clearUserMediaTimeout","getCharacteristics","errorListeners","getUserMediaCallback","localStream","loadGenuineUserMedia","constraints","frameRate","ideal","getSupportedConstraints","genuineUserMediaRequest","loadUserMedia","mp4","setMp4Source","webm","setWebMSource","sample","updateSampleProgress","writeCommand","commandObj","getIntervalSum","getAvgFps","reInitializeAudio","onFlushed","frameNumber","drawImage","getRawVisuals","frameControlBuffer","setAnimationFrameObject","wantedInterval","processingTime","loopWithTimeouts","switchFacingMode","userMediaVideoWidth","getVideoWidth","getVideoHeight","avgFps","wantedFps","avgInterval","unloadRemainingEventListeners","eventType","createCanvas","getContext","_deltaTime","avgFPS","muted","hasVideoWidth","getRawWidth","getRawHeight","getRawVisualUserMedia","_addEventlistenerWithOptions","Replay","replayElement","isStandalone","setVideoSource","bustCache","getVideoSource","play","newVideomail","vtt","tracks","getElementsByTagName","firstTrack","track","setTrackSource","poster","attributeContainer","attribute","copyAttributes","hasAudio","recorderWidth","recorderHeight","load","videoSelector","buildElement","sources","audioRecorder","currentVisualStream","rawVisualUserMedia","setVisualStream","srcObject","URL","webkitURL","createObjectURL","attachMediaStream","removeAttribute","getVisualStream","mozSrcObject","hasEnded","visualStream","hasInvalidDimensions","logEvent","EVENT_ASCII","outputEvent","_mediaEvents","videoCallback","audioCallback","endedEarlyCallback","aboutToInitialize","onPlayReached","onLoadedMetaDataReached","playingPromiseReached","audioRecord","unloadAllEventListeners","onPlay","onLoadedMetaData","played","fireCallbacks","_audioRecorder","videoTrack","videoTracks","getVideoTracks","getFirstVideoTrack","remote","getTracks","newStopApiFound","rawWidth","widthDefined","rawHeight","audioSampleRate","_client"],"sources":["videomail-client.min.js"],"mappings":"CAAA,SAAUA,GAAG,GAAoB,iBAAVC,SAAoC,oB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AAiBzxB,EAAuB32D,EAAQ,+BAChD+uD,EAAW4H,EAAuB32D,EAAQ,yBAC1C+2D,EAAgBJ,EAAuB32D,EAAQ,8BAC/CsnF,EAAe3wB,EAAuB32D,EAAQ,6BAC9CwpE,EAAU7S,EAAuB32D,EAAQ,wBACzCqkE,EAAkB1N,EAAuB32D,EAAQ,gCACjDonF,EAAc,OA8YlB,EAAE,CAAC,iBAAiB,IAAI,6BAA6B,IAAI,uBAAuB,IAAI,4BAA4B,IAAI,2BAA2B,IAAI,sBAAsB,IAAI,8BAA8B,IAAI,+CAA+C,EAAE9xB,YAAc,GAAG,sBAAsB,KAAK,mBAAmB,CAAC,SAASt1D,EAAQvB,EAAOD,GACxV,aAEA,IAAIm4D,EAAyB32D,EAAQ,gDACrCM,OAAOC,eAAe/B,EAAS,aAAc,CAC3CgC,OAAO,IAEThC,EAAQoC,aAAU,EAClB,IAAIooF,EAAUryB,EAAuB32D,EAAQ,aAC9BxB,EAAQoC,QAAUooF,EAAQpoF,OAEzC,EAAE,CAAC,WAAW,IAAI,+CAA+C,KAAK,CAAC,EAAE,CAAC,oBAtntB6S,CAsntBxR,mBAC/F","ignoreList":[],"sourcesContent":["!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{(\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this).VideomailClient=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u=\"function\"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error(\"Cannot find module '\"+a+\"'\");throw l.code=\"MODULE_NOT_FOUND\",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){return i(t[a][1][e]||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o=\"function\"==typeof require&&require,a=0;ae.length)&&(t=e.length);for(var n=0,r=Array(t);n4&&void 0!==arguments[4]?arguments[4]:\"passive\";if(void 0!==e.addEventListener){var l=r.SupportMap[u]?Object.assign({},i,(s=!0,(a=u)in(o={})?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o)):i;e.addEventListener(t,n,l)}};var r=n(1)},function(e,t,n){\"use strict\";var r;Object.defineProperty(t,\"__esModule\",{value:!0}),t.SupportMap=void 0;var i=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(o(r={},i.PASSIVE,!1),o(r,i.CAPTURE,!1),o(r,i.ONCE,!1),r);t.SupportMap=(Object.keys(a).forEach((function(e,t){a[e]=function(e){if(a[e])return a[e];try{var t=Object.defineProperty({},e,{get:function(){a[e]=!0}});window.addEventListener(\"test\",null,t),window.removeListener(\"test\",null)}catch(e){}return a[e]}(e)})),a)},function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.PASSIVE=\"passive\",t.CAPTURE=\"capture\",t.ONCE=\"once\"}])},\"object\"==typeof n&&\"object\"==typeof t?t.exports=i():\"object\"==typeof n?n[\"add-eventlistener-with-options\"]=i():r[\"add-eventlistener-with-options\"]=i()},{}],13:[function(e,t,n){var r,i=e(\"events\").EventEmitter,o=e(\"inherits\"),a=e(\"raf\"),s={requestAnimationFrame:a,cancelAnimationFrame:a.cancel};function u(){return!0}function l(e){e=e||{},this.__delay=e.delay||0,this.fixedDelta=!!e.fixedDelta,this.frameCount=0,this.deltaTime=0,this.elapsedTime=0,this.__running=!1,this.__completed=!1,this.setFPS(e.fps||1/0),this.setRequestAnimationFrameObject(e.requestAnimationFrameObject||s)}function c(e){var t,r=Date.now();if(e.__running)return e;n.running+=1,e.__running=!0,e.__lastTime=r,e.deltaTime=0,e.emit(\"start\",e.deltaTime,0,e.frameCount);var i=e.requestAnimationFrameObject,o=function(){if(i!==e.requestAnimationFrameObject)return i=e.requestAnimationFrameObject,void e.requestAnimationFrameObject.requestAnimationFrame(o);e.__isReadyForUpdate()&&e.update(),e.__running?t=e.requestAnimationFrameObject.requestAnimationFrame(o):e.requestAnimationFrameObject.cancelAnimationFrame(t)};return e.requestAnimationFrameObject.requestAnimationFrame(o),e}for(var f in o(l,i),r={off:i.prototype.removeListener,trigger:i.prototype.emit,complete:function(){return this.stop(),this.__completed=!0,this.emit(\"complete\",this.frameCount,this.deltaTime),this},dispose:function(){return this.stop(),this.removeAllListeners(),this},getDeltaTime:function(){return this.deltaTime},getElapsedTime:function(){return this.elapsedTime},getFPS:function(){return this.deltaTime>0?1e3/this.deltaTime:0},getFPSLimit:function(){return this.__fps},getFrameCount:function(){return this.frameCount},getRequestAnimationFrameObject:function(){return this.requestAnimationFrameObject},isRunning:function(){return this.__running},isCompleted:function(){return this.__completed},reset:function(){return this.stop(),this.__completed=!1,this.__lastTime=0,this.deltaTime=0,this.elapsedTime=0,this.frameCount=0,this.emit(\"reset\",0,0,this.frameCount),this},setFPS:function(e){return this.__fps=e,this.__isReadyForUpdate=function(e){var t=1e3/e,n=Date.now();if(e<=0||e===1/0)return u;var r=Math.ceil(1e3/60)/2;return function(){var e=Date.now();return!(e-n0?a-4:a;for(n=0;n>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,u=n-i;su?u:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+\"==\")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+\"=\"));return o.join(\"\")};for(var r=[],i=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",s=0;s<64;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=e.indexOf(\"=\");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},{}],16:[function(e,t,n){},{}],17:[function(e,t,n){\n/*!\n * Cross-Browser Split 1.1.1\n * Copyright 2007-2012 Steven Levithan \n * Available under the MIT License\n * ECMAScript compliant, uniform cross-browser split method\n */\nt.exports=function(e){var t,n=String.prototype.split,r=/()??/.exec(\"\")[1]===e;return t=function(t,i,o){if(\"[object RegExp]\"!==Object.prototype.toString.call(i))return n.call(t,i,o);var a,s,u,l,c=[],f=(i.ignoreCase?\"i\":\"\")+(i.multiline?\"m\":\"\")+(i.extended?\"x\":\"\")+(i.sticky?\"y\":\"\"),d=0;i=new RegExp(i.source,f+\"g\");for(t+=\"\",r||(a=new RegExp(\"^\"+i.source+\"$(?!\\\\s)\",f)),o=o===e?-1>>>0:o>>>0;(s=i.exec(t))&&!((u=s.index+s[0].length)>d&&(c.push(t.slice(d,s.index)),!r&&s.length>1&&s[0].replace(a,(function(){for(var t=1;t1&&s.index=o));)i.lastIndex===s.index&&i.lastIndex++;return d===t.length?!l&&i.test(\"\")||c.push(\"\"):c.push(t.slice(d)),c.length>o?c.slice(0,o):c},t}()},{}],18:[function(e,t,n){(function(t){(function(){\n/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n\"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=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 h(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 x(this,t,n);case\"utf8\":case\"utf-8\":return S(this,t,n);case\"ascii\":return O(this,t,n);case\"latin1\":case\"binary\":return k(this,t,n);case\"base64\":return R(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return T(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(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),W(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:y(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):y(e,[t],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function y(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;os&&(n=s-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function R(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;i239?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<=A)return String.fromCharCode.apply(String,e);var n=\"\",r=0;for(;rt&&(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>>=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 E(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return _(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 A=4096;function O(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i=\"\",o=t;on)throw new RangeError(\"Trying to access beyond buffer length\")}function D(e,t,n,r,i,o){if(!a.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError(\"Index out of range\")}function N(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||N(e,0,n,4),r.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,o){return t=+t,n>>>=0,o||N(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>>=0,t>>>=0,n||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||j(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||j(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||j(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||j(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||j(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||j(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||j(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||j(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||j(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||j(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||j(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||j(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||j(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||j(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||j(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||j(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)||D(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r)||D(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||D(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||D(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||D(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||D(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||D(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);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>>=0,!r){var i=Math.pow(2,8*n-1);D(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||D(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||D(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||D(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||D(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||D(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 C(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw new TypeError(\"argument should be a Buffer\");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=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=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>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),\"number\"==typeof e)for(o=t;o55295&&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(I,\"\")).length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}(e))}function U(e,t,n,r){for(var i=0;i=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 W(e){return e!=e}}).call(this)}).call(this,e(\"buffer\").Buffer)},{\"base64-js\":15,buffer:18,ieee754:63}],19:[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}},{\"./\":20,\"get-intrinsic\":50}],20:[function(e,t,n){\"use strict\";var r=e(\"function-bind\"),i=e(\"get-intrinsic\"),o=e(\"set-function-length\"),a=e(\"es-errors/type\"),s=i(\"%Function.prototype.apply%\"),u=i(\"%Function.prototype.call%\"),l=i(\"%Reflect.apply%\",!0)||r.call(u,s),c=e(\"es-define-property\"),f=i(\"%Math.max%\");t.exports=function(e){if(\"function\"!=typeof e)throw new a(\"a function is required\");var t=l(r,u,arguments);return o(t,1+f(0,e.length-(arguments.length-1)),!0)};var d=function(){return l(r,s,arguments)};c?c(t.exports,\"apply\",{value:d}):t.exports.apply=d},{\"es-define-property\":35,\"es-errors/type\":41,\"function-bind\":48,\"get-intrinsic\":50,\"set-function-length\":94}],21:[function(e,t,n){function r(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var i,o=r(e(\"typedarray-to-buffer\")),a=\"undefined\"!=typeof document&&\"function\"==typeof document.createElement,s=a?[\"webp\",\"jpeg\"]:[\"png\"],u=function(){function e(e,t,n){if(void 0===t&&(t=s),void 0===n&&(n=.5),this.quality=void 0,this.types=void 0,this.canvas=void 0,t.length>2)throw new Error(\"Too many image types are specified!\");this.canvas=e,this.quality=n,this.types=t}var t=e.prototype;return t.composeMimeType=function(e){var t;return this.types[e]&&(t=\"image/\"+this.types[e]),t},t.isMatch=function(e,t){return e.match(t)},t.getTestCanvas=function(){var e;return a?(e=document.createElement(\"canvas\")).width=e.height=1:e=this.canvas,e},t.canvasSupportsMimeType=function(e){try{var t=this.getTestCanvas(),n=t.toDataURL&&t.toDataURL(e);return this.isMatch(n,e)}catch(e){return!1}},t.figureMimeType=function(){var e=this.composeMimeType(0);return e&&this.canvasSupportsMimeType(e)||(this.types[1]?(e=this.composeMimeType(1))&&!this.canvasSupportsMimeType(e)&&(e=void 0):e=void 0),e},t.uriToBuffer=function(t){var n,r=t.split(\",\")[1];if(!r)throw new Error(\"Empty uri string given!\");if(!(n=a?window.atob(r):null==e.atob?void 0:e.atob(r)))throw new Error(\"Byte are empty, something within atob went wrong.\");for(var i=new Uint8Array(n.length),s=0,u=n.length;s-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;r3&&\"boolean\"!=typeof arguments[3]&&null!==arguments[3])throw new o(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&\"boolean\"!=typeof arguments[4]&&null!==arguments[4])throw new o(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&\"boolean\"!=typeof arguments[5]&&null!==arguments[5])throw new o(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&\"boolean\"!=typeof arguments[6])throw new o(\"`loose`, if provided, must be a boolean\");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:n,writable:null===u&&f?f.writable:!u});else{if(!c&&(s||u||l))throw new i(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\");e[t]=n}}},{\"es-define-property\":35,\"es-errors/syntax\":40,\"es-errors/type\":41,gopd:54}],29:[function(e,t,n){\"use strict\";t.exports=function(){for(var e=0;e0&&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 h(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 p(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;n0&&(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=y(u,l);for(n=0;n=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=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return\"function\"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},{}],44:[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,p(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;fu.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;ft?1:0}function d(e,t,n,r){void 0===r&&(r=s());var i,u=h(e,\"\",0,[],void 0,0,r)||e;try{i=0===a.length?JSON.stringify(u,t,n):JSON.stringify(u,p(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 h(e,t,n,a,s,u,c){var d;if(u+=1,\"object\"==typeof e&&null!==e){for(d=0;dc.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;d0)for(var r=0;r\n * @license BSD-3-Clause\n * @version 10.1.6\n */\n\"use strict\";const r=\"bits\",i=\"bytes\",o=\"\",a=\"jedec\",s=\"round\",u=\"string\",l={symbol:{iec:{bits:[\"bit\",\"Kibit\",\"Mibit\",\"Gibit\",\"Tibit\",\"Pibit\",\"Eibit\",\"Zibit\",\"Yibit\"],bytes:[\"B\",\"KiB\",\"MiB\",\"GiB\",\"TiB\",\"PiB\",\"EiB\",\"ZiB\",\"YiB\"]},jedec:{bits:[\"bit\",\"Kbit\",\"Mbit\",\"Gbit\",\"Tbit\",\"Pbit\",\"Ebit\",\"Zbit\",\"Ybit\"],bytes:[\"B\",\"KB\",\"MB\",\"GB\",\"TB\",\"PB\",\"EB\",\"ZB\",\"YB\"]}},fullform:{iec:[\"\",\"kibi\",\"mebi\",\"gibi\",\"tebi\",\"pebi\",\"exbi\",\"zebi\",\"yobi\"],jedec:[\"\",\"kilo\",\"mega\",\"giga\",\"tera\",\"peta\",\"exa\",\"zetta\",\"yotta\"]}};function c(e,{bits:t=!1,pad:n=!1,base:c=-1,round:f=2,locale:d=\"\",localeOptions:h={},separator:p=\"\",spacer:m=\" \",symbols:y={},standard:b=\"\",output:g=u,fullform:v=!1,fullforms:w=[],exponent:E=-1,roundingMethod:_=s,precision:R=0}={}){let S=E,A=Number(e),O=[],k=0,x=o;\"si\"===b?(c=10,b=a):\"iec\"===b||b===a?c=2:2===c?b=\"iec\":(c=10,b=a);const T=10===c?1e3:1024,j=!0===v,D=A<0,N=Math[_];if(\"bigint\"!=typeof e&&isNaN(e))throw new TypeError(\"Invalid number\");if(\"function\"!=typeof N)throw new TypeError(\"Invalid rounding method\");if(D&&(A=-A),(-1===S||isNaN(S))&&(S=Math.floor(Math.log(A)/Math.log(T)),S<0&&(S=0)),S>8&&(R>0&&(R+=8-S),S=8),\"exponent\"===g)return S;if(0===A)O[0]=0,x=O[1]=l.symbol[b][t?r:i][S];else{k=A/(2===c?Math.pow(2,10*S):Math.pow(1e3,S)),t&&(k*=8,k>=T&&S<8&&(k/=T,S++));const e=Math.pow(10,S>0?f:0);O[0]=N(k*e)/e,O[0]===T&&S<8&&-1===E&&(O[0]=1,S++),x=O[1]=10===c&&1===S?t?\"kbit\":\"kB\":l.symbol[b][t?r:i][S]}if(D&&(O[0]=-O[0]),R>0&&(O[0]=O[0].toPrecision(R)),O[1]=y[O[1]]||O[1],!0===d?O[0]=O[0].toLocaleString():d.length>0?O[0]=O[0].toLocaleString(d,h):p.length>0&&(O[0]=O[0].toString().replace(\".\",p)),n&&f>0){const e=O[0].toString(),t=p||(e.match(/(\\D)/g)||[]).pop()||\".\",n=e.toString().split(t),r=n[1]||o,i=r.length,a=f-i;O[0]=`${n[0]}${t}${r.padEnd(i+a,\"0\")}`}return j&&(O[1]=w[S]?w[S]:l.fullform[b][S]+(t?\"bit\":\"byte\")+(1===O[0]?o:\"s\")),\"array\"===g?O:\"object\"===g?{value:O[0],symbol:O[1],exponent:S,unit:x}:O.join(m)}n.filesize=c,n.partial=function({bits:e=!1,pad:t=!1,base:n=-1,round:r=2,locale:i=\"\",localeOptions:o={},separator:a=\"\",spacer:l=\" \",symbols:f={},standard:d=\"\",output:h=u,fullform:p=!1,fullforms:m=[],exponent:y=-1,roundingMethod:b=s,precision:g=0}={}){return s=>c(s,{bits:e,pad:t,base:n,round:r,locale:i,localeOptions:o,separator:a,spacer:l,symbols:f,standard:d,output:h,fullform:p,fullforms:m,exponent:y,roundingMethod:b,precision:g})}},{}],46:[function(e,t,n){t.exports=function(e){var t=Array.prototype.slice.call(arguments,1);return t.length&&(e=e.replace(/(%?)(%([jds]))/g,(function(e,n,r,i){var o=t.shift();switch(i){case\"s\":o=\"\"+o;break;case\"d\":o=Number(o);break;case\"j\":o=JSON.stringify(o)}return n?(t.unshift(o),e):o}))),t.length&&(e+=\" \"+t.join(\" \")),\"\"+(e=e.replace(/%{2,2}/g,\"%\"))}},{}],47:[function(e,t,n){\"use strict\";var r=Object.prototype.toString,i=Math.max,o=function(e,t){for(var n=[],r=0;r0?a:null}function d(e,t){var n=null,r=e.type;if(\"select-one\"===r)return e.options.length&&(n=e.options[e.selectedIndex].value),n;if(\"select-multiple\"===r){n=[];for(var i=0,o=e.options.length;i1&&\"boolean\"!=typeof t)throw new l('\"allowMissing\" argument must be a boolean');if(null===D(/^%?[^%]*%?$/,e))throw new u(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var n=function(e){var t=j(e,0,1),n=j(e,-1);if(\"%\"===t&&\"%\"!==n)throw new u(\"invalid intrinsic syntax, expected closing `%`\");if(\"%\"===n&&\"%\"!==t)throw new u(\"invalid intrinsic syntax, expected opening `%`\");var r=[];return T(e,N,(function(e,t,n,i){r[r.length]=n?T(i,M,\"$1\"):t||e})),r}(e),r=n.length>0?n[0]:\"\",i=C(\"%\"+r+\"%\",t),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],x(n,k([0,1],c)));for(var f=1,d=!0;f=n.length){var b=h(a,p);a=(d=!!b)&&\"get\"in b&&!(\"originalValue\"in b.get)?b.get:a[p]}else d=O(a,p),a=a[p];d&&!s&&(E[o]=a)}}return a}},{\"es-errors\":37,\"es-errors/eval\":36,\"es-errors/range\":38,\"es-errors/ref\":39,\"es-errors/syntax\":40,\"es-errors/type\":41,\"es-errors/uri\":42,\"function-bind\":48,\"has-proto\":56,\"has-symbols\":57,hasown:59}],51:[function(e,t,n){t.exports=function(){var e=[];return{broadcast:function(t){for(var n=0;n=2?\"s\":\"\")}),\"mois\",(function(e){return\"semaine\"+(e>=2?\"s\":\"\")}),(function(e){return\"jour\"+(e>=2?\"s\":\"\")}),(function(e){return\"heure\"+(e>=2?\"s\":\"\")}),(function(e){return\"minute\"+(e>=2?\"s\":\"\")}),(function(e){return\"seconde\"+(e>=2?\"s\":\"\")}),(function(e){return\"milliseconde\"+(e>=2?\"s\":\"\")}),\",\"),gr:r,he:o((function(e){return 1===e?\"שנה\":\"שנים\"}),(function(e){return 1===e?\"חודש\":\"חודשים\"}),(function(e){return 1===e?\"שבוע\":\"שבועות\"}),(function(e){return 1===e?\"יום\":\"ימים\"}),(function(e){return 1===e?\"שעה\":\"שעות\"}),(function(e){return 1===e?\"דקה\":\"דקות\"}),(function(e){return 1===e?\"שניה\":\"שניות\"}),(function(e){return 1===e?\"מילישנייה\":\"מילישניות\"})),hr:o((function(e){return e%10==2||e%10==3||e%10==4?\"godine\":\"godina\"}),(function(e){return 1===e?\"mjesec\":2===e||3===e||4===e?\"mjeseca\":\"mjeseci\"}),(function(e){return e%10==1&&11!==e?\"tjedan\":\"tjedna\"}),(function(e){return 1===e?\"dan\":\"dana\"}),(function(e){return 1===e?\"sat\":2===e||3===e||4===e?\"sata\":\"sati\"}),(function(e){var t=e%10;return 2!==t&&3!==t&&4!==t||!(e<10||e>14)?\"minuta\":\"minute\"}),(function(e){var t=e%10;return 5===t||Math.floor(e)===e&&e>=10&&e<=19?\"sekundi\":1===t?\"sekunda\":2===t||3===t||4===t?\"sekunde\":\"sekundi\"}),(function(e){return 1===e?\"milisekunda\":e%10==2||e%10==3||e%10==4?\"milisekunde\":\"milisekundi\"}),\",\"),hi:o(\"साल\",(function(e){return 1===e?\"महीना\":\"महीने\"}),(function(e){return 1===e?\"हफ़्ता\":\"हफ्ते\"}),\"दिन\",(function(e){return 1===e?\"घंटा\":\"घंटे\"}),\"मिनट\",\"सेकंड\",\"मिलीसेकंड\"),hu:o(\"év\",\"hónap\",\"hét\",\"nap\",\"óra\",\"perc\",\"másodperc\",\"ezredmásodperc\",\",\"),id:o(\"tahun\",\"bulan\",\"minggu\",\"hari\",\"jam\",\"menit\",\"detik\",\"milidetik\"),is:o(\"ár\",(function(e){return\"mánuð\"+(1===e?\"ur\":\"ir\")}),(function(e){return\"vik\"+(1===e?\"a\":\"ur\")}),(function(e){return\"dag\"+(1===e?\"ur\":\"ar\")}),(function(e){return\"klukkutím\"+(1===e?\"i\":\"ar\")}),(function(e){return\"mínút\"+(1===e?\"a\":\"ur\")}),(function(e){return\"sekúnd\"+(1===e?\"a\":\"ur\")}),(function(e){return\"millisekúnd\"+(1===e?\"a\":\"ur\")})),it:o((function(e){return\"ann\"+(1===e?\"o\":\"i\")}),(function(e){return\"mes\"+(1===e?\"e\":\"i\")}),(function(e){return\"settiman\"+(1===e?\"a\":\"e\")}),(function(e){return\"giorn\"+(1===e?\"o\":\"i\")}),(function(e){return\"or\"+(1===e?\"a\":\"e\")}),(function(e){return\"minut\"+(1===e?\"o\":\"i\")}),(function(e){return\"second\"+(1===e?\"o\":\"i\")}),(function(e){return\"millisecond\"+(1===e?\"o\":\"i\")}),\",\"),ja:o(\"年\",\"ヶ月\",\"週\",\"日\",\"時間\",\"分\",\"秒\",\"ミリ秒\"),km:o(\"ឆ្នាំ\",\"ខែ\",\"សប្តាហ៍\",\"ថ្ងៃ\",\"ម៉ោង\",\"នាទី\",\"វិនាទី\",\"មិល្លីវិនាទី\"),kn:o((function(e){return 1===e?\"ವರ್ಷ\":\"ವರ್ಷಗಳು\"}),(function(e){return 1===e?\"ತಿಂಗಳು\":\"ತಿಂಗಳುಗಳು\"}),(function(e){return 1===e?\"ವಾರ\":\"ವಾರಗಳು\"}),(function(e){return 1===e?\"ದಿನ\":\"ದಿನಗಳು\"}),(function(e){return 1===e?\"ಗಂಟೆ\":\"ಗಂಟೆಗಳು\"}),(function(e){return 1===e?\"ನಿಮಿಷ\":\"ನಿಮಿಷಗಳು\"}),(function(e){return 1===e?\"ಸೆಕೆಂಡ್\":\"ಸೆಕೆಂಡುಗಳು\"}),(function(e){return 1===e?\"ಮಿಲಿಸೆಕೆಂಡ್\":\"ಮಿಲಿಸೆಕೆಂಡುಗಳು\"})),ko:o(\"년\",\"개월\",\"주일\",\"일\",\"시간\",\"분\",\"초\",\"밀리 초\"),ku:o(\"sal\",\"meh\",\"hefte\",\"roj\",\"seet\",\"deqe\",\"saniye\",\"mîlîçirk\",\",\"),lo:o(\"ປີ\",\"ເດືອນ\",\"ອາທິດ\",\"ມື້\",\"ຊົ່ວໂມງ\",\"ນາທີ\",\"ວິນາທີ\",\"ມິນລິວິນາທີ\",\",\"),lt:o((function(e){return e%10==0||e%100>=10&&e%100<=20?\"metų\":\"metai\"}),(function(e){return[\"mėnuo\",\"mėnesiai\",\"mėnesių\"][c(e)]}),(function(e){return[\"savaitė\",\"savaitės\",\"savaičių\"][c(e)]}),(function(e){return[\"diena\",\"dienos\",\"dienų\"][c(e)]}),(function(e){return[\"valanda\",\"valandos\",\"valandų\"][c(e)]}),(function(e){return[\"minutė\",\"minutės\",\"minučių\"][c(e)]}),(function(e){return[\"sekundė\",\"sekundės\",\"sekundžių\"][c(e)]}),(function(e){return[\"milisekundė\",\"milisekundės\",\"milisekundžių\"][c(e)]}),\",\"),lv:o((function(e){return f(e)?\"gads\":\"gadi\"}),(function(e){return f(e)?\"mēnesis\":\"mēneši\"}),(function(e){return f(e)?\"nedēļa\":\"nedēļas\"}),(function(e){return f(e)?\"diena\":\"dienas\"}),(function(e){return f(e)?\"stunda\":\"stundas\"}),(function(e){return f(e)?\"minūte\":\"minūtes\"}),(function(e){return f(e)?\"sekunde\":\"sekundes\"}),(function(e){return f(e)?\"milisekunde\":\"milisekundes\"}),\",\"),mk:o((function(e){return 1===e?\"година\":\"години\"}),(function(e){return 1===e?\"месец\":\"месеци\"}),(function(e){return 1===e?\"недела\":\"недели\"}),(function(e){return 1===e?\"ден\":\"дена\"}),(function(e){return 1===e?\"час\":\"часа\"}),(function(e){return 1===e?\"минута\":\"минути\"}),(function(e){return 1===e?\"секунда\":\"секунди\"}),(function(e){return 1===e?\"милисекунда\":\"милисекунди\"}),\",\"),mn:o(\"жил\",\"сар\",\"долоо хоног\",\"өдөр\",\"цаг\",\"минут\",\"секунд\",\"миллисекунд\"),mr:o((function(e){return 1===e?\"वर्ष\":\"वर्षे\"}),(function(e){return 1===e?\"महिना\":\"महिने\"}),(function(e){return 1===e?\"आठवडा\":\"आठवडे\"}),\"दिवस\",\"तास\",(function(e){return 1===e?\"मिनिट\":\"मिनिटे\"}),\"सेकंद\",\"मिलिसेकंद\"),ms:o(\"tahun\",\"bulan\",\"minggu\",\"hari\",\"jam\",\"minit\",\"saat\",\"milisaat\"),nl:o(\"jaar\",(function(e){return 1===e?\"maand\":\"maanden\"}),(function(e){return 1===e?\"week\":\"weken\"}),(function(e){return 1===e?\"dag\":\"dagen\"}),\"uur\",(function(e){return 1===e?\"minuut\":\"minuten\"}),(function(e){return 1===e?\"seconde\":\"seconden\"}),(function(e){return 1===e?\"milliseconde\":\"milliseconden\"}),\",\"),no:o(\"år\",(function(e){return\"måned\"+(1===e?\"\":\"er\")}),(function(e){return\"uke\"+(1===e?\"\":\"r\")}),(function(e){return\"dag\"+(1===e?\"\":\"er\")}),(function(e){return\"time\"+(1===e?\"\":\"r\")}),(function(e){return\"minutt\"+(1===e?\"\":\"er\")}),(function(e){return\"sekund\"+(1===e?\"\":\"er\")}),(function(e){return\"millisekund\"+(1===e?\"\":\"er\")}),\",\"),pl:o((function(e){return[\"rok\",\"roku\",\"lata\",\"lat\"][s(e)]}),(function(e){return[\"miesiąc\",\"miesiąca\",\"miesiące\",\"miesięcy\"][s(e)]}),(function(e){return[\"tydzień\",\"tygodnia\",\"tygodnie\",\"tygodni\"][s(e)]}),(function(e){return[\"dzień\",\"dnia\",\"dni\",\"dni\"][s(e)]}),(function(e){return[\"godzina\",\"godziny\",\"godziny\",\"godzin\"][s(e)]}),(function(e){return[\"minuta\",\"minuty\",\"minuty\",\"minut\"][s(e)]}),(function(e){return[\"sekunda\",\"sekundy\",\"sekundy\",\"sekund\"][s(e)]}),(function(e){return[\"milisekunda\",\"milisekundy\",\"milisekundy\",\"milisekund\"][s(e)]}),\",\"),pt:o((function(e){return\"ano\"+(1===e?\"\":\"s\")}),(function(e){return 1===e?\"mês\":\"meses\"}),(function(e){return\"semana\"+(1===e?\"\":\"s\")}),(function(e){return\"dia\"+(1===e?\"\":\"s\")}),(function(e){return\"hora\"+(1===e?\"\":\"s\")}),(function(e){return\"minuto\"+(1===e?\"\":\"s\")}),(function(e){return\"segundo\"+(1===e?\"\":\"s\")}),(function(e){return\"milissegundo\"+(1===e?\"\":\"s\")}),\",\"),ro:o((function(e){return 1===e?\"an\":\"ani\"}),(function(e){return 1===e?\"lună\":\"luni\"}),(function(e){return 1===e?\"săptămână\":\"săptămâni\"}),(function(e){return 1===e?\"zi\":\"zile\"}),(function(e){return 1===e?\"oră\":\"ore\"}),(function(e){return 1===e?\"minut\":\"minute\"}),(function(e){return 1===e?\"secundă\":\"secunde\"}),(function(e){return 1===e?\"milisecundă\":\"milisecunde\"}),\",\"),ru:o((function(e){return[\"лет\",\"год\",\"года\"][u(e)]}),(function(e){return[\"месяцев\",\"месяц\",\"месяца\"][u(e)]}),(function(e){return[\"недель\",\"неделя\",\"недели\"][u(e)]}),(function(e){return[\"дней\",\"день\",\"дня\"][u(e)]}),(function(e){return[\"часов\",\"час\",\"часа\"][u(e)]}),(function(e){return[\"минут\",\"минута\",\"минуты\"][u(e)]}),(function(e){return[\"секунд\",\"секунда\",\"секунды\"][u(e)]}),(function(e){return[\"миллисекунд\",\"миллисекунда\",\"миллисекунды\"][u(e)]}),\",\"),sq:o((function(e){return 1===e?\"vit\":\"vjet\"}),\"muaj\",\"javë\",\"ditë\",\"orë\",(function(e){return\"minut\"+(1===e?\"ë\":\"a\")}),(function(e){return\"sekond\"+(1===e?\"ë\":\"a\")}),(function(e){return\"milisekond\"+(1===e?\"ë\":\"a\")}),\",\"),sr:o((function(e){return[\"години\",\"година\",\"године\"][u(e)]}),(function(e){return[\"месеци\",\"месец\",\"месеца\"][u(e)]}),(function(e){return[\"недељи\",\"недеља\",\"недеље\"][u(e)]}),(function(e){return[\"дани\",\"дан\",\"дана\"][u(e)]}),(function(e){return[\"сати\",\"сат\",\"сата\"][u(e)]}),(function(e){return[\"минута\",\"минут\",\"минута\"][u(e)]}),(function(e){return[\"секунди\",\"секунда\",\"секунде\"][u(e)]}),(function(e){return[\"милисекунди\",\"милисекунда\",\"милисекунде\"][u(e)]}),\",\"),ta:o((function(e){return 1===e?\"வருடம்\":\"ஆண்டுகள்\"}),(function(e){return 1===e?\"மாதம்\":\"மாதங்கள்\"}),(function(e){return 1===e?\"வாரம்\":\"வாரங்கள்\"}),(function(e){return 1===e?\"நாள்\":\"நாட்கள்\"}),(function(e){return 1===e?\"மணி\":\"மணிநேரம்\"}),(function(e){return\"நிமிட\"+(1===e?\"ம்\":\"ங்கள்\")}),(function(e){return\"வினாடி\"+(1===e?\"\":\"கள்\")}),(function(e){return\"மில்லி விநாடி\"+(1===e?\"\":\"கள்\")})),te:o((function(e){return\"సంవత్స\"+(1===e?\"రం\":\"రాల\")}),(function(e){return\"నెల\"+(1===e?\"\":\"ల\")}),(function(e){return 1===e?\"వారం\":\"వారాలు\"}),(function(e){return\"రోజు\"+(1===e?\"\":\"లు\")}),(function(e){return\"గంట\"+(1===e?\"\":\"లు\")}),(function(e){return 1===e?\"నిమిషం\":\"నిమిషాలు\"}),(function(e){return 1===e?\"సెకను\":\"సెకన్లు\"}),(function(e){return 1===e?\"మిల్లీసెకన్\":\"మిల్లీసెకన్లు\"})),uk:o((function(e){return[\"років\",\"рік\",\"роки\"][u(e)]}),(function(e){return[\"місяців\",\"місяць\",\"місяці\"][u(e)]}),(function(e){return[\"тижнів\",\"тиждень\",\"тижні\"][u(e)]}),(function(e){return[\"днів\",\"день\",\"дні\"][u(e)]}),(function(e){return[\"годин\",\"година\",\"години\"][u(e)]}),(function(e){return[\"хвилин\",\"хвилина\",\"хвилини\"][u(e)]}),(function(e){return[\"секунд\",\"секунда\",\"секунди\"][u(e)]}),(function(e){return[\"мілісекунд\",\"мілісекунда\",\"мілісекунди\"][u(e)]}),\",\"),ur:o(\"سال\",(function(e){return 1===e?\"مہینہ\":\"مہینے\"}),(function(e){return 1===e?\"ہفتہ\":\"ہفتے\"}),\"دن\",(function(e){return 1===e?\"گھنٹہ\":\"گھنٹے\"}),\"منٹ\",\"سیکنڈ\",\"ملی سیکنڈ\"),sk:o((function(e){return[\"rok\",\"roky\",\"roky\",\"rokov\"][l(e)]}),(function(e){return[\"mesiac\",\"mesiace\",\"mesiace\",\"mesiacov\"][l(e)]}),(function(e){return[\"týždeň\",\"týždne\",\"týždne\",\"týždňov\"][l(e)]}),(function(e){return[\"deň\",\"dni\",\"dni\",\"dní\"][l(e)]}),(function(e){return[\"hodina\",\"hodiny\",\"hodiny\",\"hodín\"][l(e)]}),(function(e){return[\"minúta\",\"minúty\",\"minúty\",\"minút\"][l(e)]}),(function(e){return[\"sekunda\",\"sekundy\",\"sekundy\",\"sekúnd\"][l(e)]}),(function(e){return[\"milisekunda\",\"milisekundy\",\"milisekundy\",\"milisekúnd\"][l(e)]}),\",\"),sl:o((function(e){return e%10==1?\"leto\":e%100==2?\"leti\":e%100==3||e%100==4||Math.floor(e)!==e&&e%100<=5?\"leta\":\"let\"}),(function(e){return e%10==1?\"mesec\":e%100==2||Math.floor(e)!==e&&e%100<=5?\"meseca\":e%10==3||e%10==4?\"mesece\":\"mesecev\"}),(function(e){return e%10==1?\"teden\":e%10==2||Math.floor(e)!==e&&e%100<=4?\"tedna\":e%10==3||e%10==4?\"tedne\":\"tednov\"}),(function(e){return e%100==1?\"dan\":\"dni\"}),(function(e){return e%10==1?\"ura\":e%100==2?\"uri\":e%10==3||e%10==4||Math.floor(e)!==e?\"ure\":\"ur\"}),(function(e){return e%10==1?\"minuta\":e%10==2?\"minuti\":e%10==3||e%10==4||Math.floor(e)!==e&&e%100<=4?\"minute\":\"minut\"}),(function(e){return e%10==1?\"sekunda\":e%100==2?\"sekundi\":e%100==3||e%100==4||Math.floor(e)!==e?\"sekunde\":\"sekund\"}),(function(e){return e%10==1?\"milisekunda\":e%100==2?\"milisekundi\":e%100==3||e%100==4||Math.floor(e)!==e?\"milisekunde\":\"milisekund\"}),\",\"),sv:o(\"år\",(function(e){return\"månad\"+(1===e?\"\":\"er\")}),(function(e){return\"veck\"+(1===e?\"a\":\"or\")}),(function(e){return\"dag\"+(1===e?\"\":\"ar\")}),(function(e){return\"timm\"+(1===e?\"e\":\"ar\")}),(function(e){return\"minut\"+(1===e?\"\":\"er\")}),(function(e){return\"sekund\"+(1===e?\"\":\"er\")}),(function(e){return\"millisekund\"+(1===e?\"\":\"er\")}),\",\"),sw:e(o((function(e){return 1===e?\"mwaka\":\"miaka\"}),(function(e){return 1===e?\"mwezi\":\"miezi\"}),\"wiki\",(function(e){return 1===e?\"siku\":\"masiku\"}),(function(e){return 1===e?\"saa\":\"masaa\"}),\"dakika\",\"sekunde\",\"milisekunde\"),{_numberFirst:!0}),tr:o(\"yıl\",\"ay\",\"hafta\",\"gün\",\"saat\",\"dakika\",\"saniye\",\"milisaniye\",\",\"),th:o(\"ปี\",\"เดือน\",\"สัปดาห์\",\"วัน\",\"ชั่วโมง\",\"นาที\",\"วินาที\",\"มิลลิวินาที\"),uz:o(\"yil\",\"oy\",\"hafta\",\"kun\",\"soat\",\"minut\",\"sekund\",\"millisekund\"),uz_CYR:o(\"йил\",\"ой\",\"ҳафта\",\"кун\",\"соат\",\"минут\",\"секунд\",\"миллисекунд\"),vi:o(\"năm\",\"tháng\",\"tuần\",\"ngày\",\"giờ\",\"phút\",\"giây\",\"mili giây\",\",\"),zh_CN:o(\"年\",\"个月\",\"周\",\"天\",\"小时\",\"分钟\",\"秒\",\"毫秒\"),zh_TW:o(\"年\",\"個月\",\"周\",\"天\",\"小時\",\"分鐘\",\"秒\",\"毫秒\")};function o(e,t,n,r,i,o,a,s,u){var l={y:e,mo:t,w:n,d:r,h:i,m:o,s:a,ms:s};return void 0!==u&&(l.decimal=u),l}function a(e){return 2===e?1:e>2&&e<11?2:0}function s(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&!(e%100>10&&e%100<20)?2:3}function u(e){return Math.floor(e)!==e?2:e%100>=5&&e%100<=20||e%10>=5&&e%10<=9||e%10==0?0:e%10==1?1:e>1?2:0}function l(e){return 1===e?0:Math.floor(e)!==e?1:e%10>=2&&e%10<=4&&e%100<10?2:3}function c(e){return 1===e||e%10==1&&e%100>20?0:Math.floor(e)!==e||e%10>=2&&e%100>20||e%10>=2&&e%100<10?1:2}function f(e){return e%10==1&&e%100!=11}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t,n){var r,i,o,a=e.unitName,s=e.unitCount,u=n.spacer,l=n.maxDecimalPoints;r=d(n,\"decimal\")?n.decimal:d(t,\"decimal\")?t.decimal:\".\",\"digitReplacements\"in n?i=n.digitReplacements:\"_digitReplacements\"in t&&(i=t._digitReplacements);var c=(void 0===l?s:Math.floor(s*Math.pow(10,l))/Math.pow(10,l)).toString();if(t._hideCountIf2&&2===s)o=\"\",u=\"\";else if(i){o=\"\";for(var f=0;f=0;r--)if(0!==(i=l[n=a[r]])){var m=Math.round(i);if(l[n]=m,0===r)break;var y=a[r-1],b=s[y],g=Math.floor(m*s[n]/b);if(!g)break;l[y]+=g,l[n]=0}}var v=[];for(r=0;r */\nn.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],64:[function(e,t,n){var r=[].indexOf;t.exports=function(e,t){if(r)return e.indexOf(t);for(var n=0;n-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(\"number\"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var i=String(r),o=g.call(t,i.length+1);return v.call(i,n,\"$&_\")+\".\"+v.call(v.call(o,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return v.call(t,n,\"$&_\")}var I=e(\"./util.inspect\"),P=I.custom,L=q(P)?P:null;function B(e,t,n){var r=\"double\"===(n.quoteStyle||t)?'\"':\"'\";return r+e+r}function U(e){return v.call(String(e),/\"/g,\""\")}function F(e){return!(\"[object Array]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}function W(e){return!(\"[object RegExp]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}function q(e){if(j)return e&&\"object\"==typeof e&&e instanceof Symbol;if(\"symbol\"==typeof e)return!0;if(!e||\"object\"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}t.exports=function e(t,r,i,s){var u=r||{};if(V(u,\"quoteStyle\")&&\"single\"!==u.quoteStyle&&\"double\"!==u.quoteStyle)throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(V(u,\"maxStringLength\")&&(\"number\"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var m=!V(u,\"customInspect\")||u.customInspect;if(\"boolean\"!=typeof m&&\"symbol\"!==m)throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(V(u,\"indent\")&&null!==u.indent&&\"\\t\"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(V(u,\"numericSeparator\")&&\"boolean\"!=typeof u.numericSeparator)throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===t)return\"undefined\";if(null===t)return\"null\";if(\"boolean\"==typeof t)return t?\"true\":\"false\";if(\"string\"==typeof t)return $(t,u);if(\"number\"==typeof t){if(0===t)return 1/0/t>0?\"0\":\"-0\";var _=String(t);return w?C(t,_):_}if(\"bigint\"==typeof t){var O=String(t)+\"n\";return w?C(t,O):O}var x=void 0===u.depth?5:u.depth;if(void 0===i&&(i=0),i>=x&&x>0&&\"object\"==typeof t)return F(t)?\"[Array]\":\"[Object]\";var P=function(e,t){var n;if(\"\\t\"===e.indent)n=\"\\t\";else{if(!(\"number\"==typeof e.indent&&e.indent>0))return null;n=S.call(Array(e.indent+1),\" \")}return{base:n,prev:S.call(Array(t+1),n)}}(u,i);if(void 0===s)s=[];else if(G(s,t)>=0)return\"[Circular]\";function H(t,n,r){if(n&&(s=A.call(s)).push(n),r){var o={depth:u.depth};return V(u,\"quoteStyle\")&&(o.quoteStyle=u.quoteStyle),e(t,o,i+1,s)}return e(t,u,i+1,s)}if(\"function\"==typeof t&&!W(t)){var Y=function(e){if(e.name)return e.name;var t=b.call(y.call(e),/^function\\s*([\\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,H);return\"[Function\"+(Y?\": \"+Y:\" (anonymous)\")+\"]\"+(ee.length>0?\" { \"+S.call(ee,\", \")+\" }\":\"\")}if(q(t)){var te=j?v.call(String(t),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):T.call(t);return\"object\"!=typeof t||j?te:K(te)}if(function(e){if(!e||\"object\"!=typeof e)return!1;if(\"undefined\"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return\"string\"==typeof e.nodeName&&\"function\"==typeof e.getAttribute}(t)){for(var ne=\"<\"+E.call(String(t.nodeName)),re=t.attributes||[],ie=0;ie\",t.childNodes&&t.childNodes.length&&(ne+=\"...\"),ne+=\"\"}if(F(t)){if(0===t.length)return\"[]\";var oe=Z(t,H);return P&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?\"[\"+Q(oe,P)+\"]\":\"[ \"+S.call(oe,\", \")+\" ]\"}if(function(e){return!(\"[object Error]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t)){var ae=Z(t,H);return\"cause\"in Error.prototype||!(\"cause\"in t)||N.call(t,\"cause\")?0===ae.length?\"[\"+String(t)+\"]\":\"{ [\"+String(t)+\"] \"+S.call(ae,\", \")+\" }\":\"{ [\"+String(t)+\"] \"+S.call(R.call(\"[cause]: \"+H(t.cause),ae),\", \")+\" }\"}if(\"object\"==typeof t&&m){if(L&&\"function\"==typeof t[L]&&I)return I(t,{depth:x-i});if(\"symbol\"!==m&&\"function\"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||\"object\"!=typeof e)return!1;try{o.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(H(n,t,!0)+\" => \"+H(e,t))})),X(\"Map\",o.call(t),se,P)}if(function(e){if(!l||!e||\"object\"!=typeof e)return!1;try{l.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c&&c.call(t,(function(e){ue.push(H(e,t))})),X(\"Set\",l.call(t),ue,P)}if(function(e){if(!f||!e||\"object\"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return J(\"WeakMap\");if(function(e){if(!d||!e||\"object\"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return J(\"WeakSet\");if(function(e){if(!h||!e||\"object\"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return J(\"WeakRef\");if(function(e){return!(\"[object Number]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(H(Number(t)));if(function(e){if(!e||\"object\"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}(t))return K(H(k.call(t)));if(function(e){return!(\"[object Boolean]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(p.call(t));if(function(e){return!(\"[object String]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t))return K(H(String(t)));if(\"undefined\"!=typeof window&&t===window)return\"{ [object Window] }\";if(\"undefined\"!=typeof globalThis&&t===globalThis||void 0!==n&&t===n)return\"{ [object globalThis] }\";if(!function(e){return!(\"[object Date]\"!==z(e)||D&&\"object\"==typeof e&&D in e)}(t)&&!W(t)){var le=Z(t,H),ce=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?\"\":\"null prototype\",de=!ce&&D&&Object(t)===t&&D in t?g.call(z(t),8,-1):fe?\"Object\":\"\",he=(ce||\"function\"!=typeof t.constructor?\"\":t.constructor.name?t.constructor.name+\" \":\"\")+(de||fe?\"[\"+S.call(R.call([],de||[],fe||[]),\": \")+\"] \":\"\");return 0===le.length?he+\"{}\":P?he+\"{\"+Q(le,P)+\"}\":he+\"{ \"+S.call(le,\", \")+\" }\"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,r=\"... \"+n+\" more character\"+(n>1?\"s\":\"\");return $(g.call(e,0,t.maxStringLength),t)+r}return B(v.call(v.call(e,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,Y),\"single\",t)}function Y(e){var t=e.charCodeAt(0),n={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[t];return n?\"\\\\\"+n:\"\\\\x\"+(t<16?\"0\":\"\")+w.call(t.toString(16))}function K(e){return\"Object(\"+e+\")\"}function J(e){return e+\" { ? }\"}function X(e,t,n,r){return e+\" (\"+t+\") {\"+(r?Q(n,r):S.call(n,\", \"))+\"}\"}function Q(e,t){if(0===e.length)return\"\";var n=\"\\n\"+t.prev+t.base;return n+S.call(e,\",\"+n)+\"\\n\"+t.prev}function Z(e,t){var n=F(e),r=[];if(n){r.length=e.length;for(var i=0;i1)for(var n=1;n-1?e.split(\",\"):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\\.([^.[]+)/g,\"[$1]\"):e,a=/(\\[[^[\\]]*])/g,s=n.depth>0&&/(\\[[^[\\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var f=0;n.depth>0&&null!==(s=a.exec(o))&&f=0;--o){var a,s=e[o];if(\"[]\"===s&&n.parseArrays)a=n.allowEmptyArrays&&(\"\"===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l=\"[\"===s.charAt(0)&&\"]\"===s.charAt(s.length-1)?s.slice(1,-1):s,c=n.decodeDotInKeys?l.replace(/%2E/g,\".\"):l,f=parseInt(c,10);n.parseArrays||\"\"!==c?!isNaN(f)&&s!==c&&String(f)===c&&f>=0&&n.parseArrays&&f<=n.arrayLimit?(a=[])[f]=i:\"__proto__\"!==c&&(a[c]=i):a={0:i}}i=a}return i}(c,t,n,r)}};t.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&\"boolean\"!=typeof e.allowEmptyArrays)throw new TypeError(\"`allowEmptyArrays` option can only be `true` or `false`, when provided\");if(void 0!==e.decodeDotInKeys&&\"boolean\"!=typeof e.decodeDotInKeys)throw new TypeError(\"`decodeDotInKeys` option can only be `true` or `false`, when provided\");if(null!==e.decoder&&void 0!==e.decoder&&\"function\"!=typeof e.decoder)throw new TypeError(\"Decoder has to be a function.\");if(void 0!==e.charset&&\"utf-8\"!==e.charset&&\"iso-8859-1\"!==e.charset)throw new TypeError(\"The charset option must be either utf-8, iso-8859-1, or undefined\");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if(\"combine\"!==n&&\"first\"!==n&&\"last\"!==n)throw new TypeError(\"The duplicates option must be either combine, first, or last\");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:\"boolean\"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:\"boolean\"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:\"boolean\"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:\"number\"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:\"boolean\"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:\"boolean\"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:\"boolean\"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:\"function\"==typeof e.decoder?e.decoder:a.decoder,delimiter:\"string\"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:\"number\"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:\"boolean\"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:\"number\"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:\"boolean\"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:\"boolean\"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictNullHandling:\"boolean\"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(\"\"===e||null==e)return n.plainObjects?Object.create(null):{};for(var c=\"string\"==typeof e?function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\\?/,\"\"):e;l=l.replace(/%5B/gi,\"[\").replace(/%5D/gi,\"]\");var c,f=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,f),h=-1,p=t.charset;if(t.charsetSentinel)for(c=0;c-1&&(y=o(y)?[y]:y);var w=i.call(n,m);w&&\"combine\"===t.duplicates?n[m]=r.combine(n[m],y):w&&\"last\"!==t.duplicates||(n[m]=y)}return n}(e,n):e,f=n.plainObjects?Object.create(null):{},d=Object.keys(c),h=0;h0?O.join(\",\")||null:void 0}];else if(u(y))D=y;else{var M=Object.keys(O);D=b?M.sort(b):M}var C=d?n.replace(/\\./g,\"%2E\"):n,I=a&&u(O)&&1===O.length?C+\"[]\":C;if(s&&u(O)&&0===O.length)return I+\"[]\";for(var P=0;P0?w+v:\"\"}},{\"./formats\":75,\"./utils\":79,\"side-channel\":95}],79:[function(e,t,n){\"use strict\";var r=e(\"./formats\"),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push(\"%\"+((t<16?\"0\":\"\")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i=u?s.slice(c,c+u):s,d=[],h=0;h=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===r.RFC1738&&(40===p||41===p)?d[d.length]=f.charAt(h):p<128?d[d.length]=a[p]:p<2048?d[d.length]=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?d[d.length]=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(h+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(h)),d[d.length]=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}l+=d.join(\"\")}return l},isBuffer:function(e){return!(!e||\"object\"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r0?(\"string\"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit(\"error\",new Error(\"stream.unshift() after end event\")):E(e,a,t,!0):a.ended?e.emit(\"error\",new Error(\"stream.push() after EOF\")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?E(e,a,t,!1):O(e,a)):E(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=_?e=_:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function S(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(A,e):A(e))}function A(e){h(\"emit readable\"),e.emit(\"readable\"),j(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(k,e,t))}function k(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(\"\"):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function N(e){var t=e._readableState;if(t.length>0)throw new Error('\"endReadable()\" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(M,t,e))}function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function C(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?N(this):S(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&N(this),null;var r,i=t.needReadable;return h(\"need readable\",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&N(this)),null!==r&&this.emit(\"data\",r),r},v.prototype._read=function(e){this.emit(\"error\",new Error(\"_read() is not implemented\"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h(\"pipe count=%d opts=%j\",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function l(t,n){h(\"onunpipe\"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,h(\"cleanup\"),e.removeListener(\"close\",b),e.removeListener(\"finish\",g),e.removeListener(\"drain\",f),e.removeListener(\"error\",y),e.removeListener(\"unpipe\",l),r.removeListener(\"end\",c),r.removeListener(\"end\",v),r.removeListener(\"data\",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h(\"onend\"),e.end()}o.endEmitted?i.nextTick(u):r.once(\"end\",u),e.on(\"unpipe\",l);var f=function(e){return function(){var t=e._readableState;h(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,\"data\")&&(t.flowing=!0,j(e))}}(r);e.on(\"drain\",f);var d=!1;var p=!1;function m(t){h(\"ondata\"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==C(o.pipes,e))&&!d&&(h(\"false write response, pause\",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function y(t){h(\"onerror\",t),v(),e.removeListener(\"error\",y),0===s(e,\"error\")&&e.emit(\"error\",t)}function b(){e.removeListener(\"finish\",g),v()}function g(){h(\"onfinish\"),e.removeListener(\"close\",b),v()}function v(){h(\"unpipe\"),r.unpipe(e)}return r.on(\"data\",m),function(e,t,n){if(\"function\"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,\"error\",y),e.once(\"close\",b),e.once(\"finish\",g),e.emit(\"pipe\",r),o.flowing||(h(\"pipe resume\"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?i:o.nextTick;g.WritableState=b;var l=Object.create(e(\"core-util-is\"));l.inherits=e(\"inherits\");var c={deprecate:e(\"util-deprecate\")},f=e(\"./internal/streams/stream\"),d=e(\"safe-buffer\").Buffer,h=(void 0!==r?r:\"undefined\"!=typeof window?window:\"undefined\"!=typeof self?self:{}).Uint8Array||function(){};var p,m=e(\"./internal/streams/destroy\");function y(){}function b(t,n){s=s||e(\"./_stream_duplex\"),t=t||{};var r=n instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var f=!1===t.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=t.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o.nextTick(i,r),o.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit(\"error\",r)):(i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r),S(e,t))}(e,n,r,t,i);else{var a=_(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||E(e,n),r?u(w,e,n,a,i):w(e,n,a,i)}}(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(t){if(s=s||e(\"./_stream_duplex\"),!(p.call(g,this)||this instanceof s))return new g(t);this._writableState=new b(t,this),this.writable=!0,t&&(\"function\"==typeof t.write&&(this._write=t.write),\"function\"==typeof t.writev&&(this._writev=t.writev),\"function\"==typeof t.destroy&&(this._destroy=t.destroy),\"function\"==typeof t.final&&(this._final=t.final)),f.call(this)}function v(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}(e,t),t.pendingcb--,r(),S(e,t)}function E(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,u=!0;n;)i[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;i.allBuffers=u,v(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(v(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function R(e,t){e._final((function(n){t.pendingcb--,n&&e.emit(\"error\",n),t.prefinished=!0,e.emit(\"prefinish\"),S(e,t)}))}function S(e,t){var n=_(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||(\"function\"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(R,e,t)):(t.prefinished=!0,e.emit(\"prefinish\")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit(\"finish\"))),n}l.inherits(g,f),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,\"buffer\",{get:c.deprecate((function(){return this.getBuffer()}),\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\",\"DEP0003\")})}catch(e){}}(),\"function\"==typeof Symbol&&Symbol.hasInstance&&\"function\"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===g&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe, not readable\"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=!i.objectMode&&(r=e,d.isBuffer(r)||r instanceof h);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),\"function\"==typeof t&&(n=t,t=null),s?t=\"buffer\":t||(t=i.defaultEncoding),\"function\"!=typeof n&&(n=y),i.ended?function(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),o.nextTick(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError(\"May not write null values to stream\"):\"string\"==typeof n||void 0===n||t.objectMode||(a=new TypeError(\"Invalid non-string/buffer chunk\")),a&&(e.emit(\"error\",a),o.nextTick(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||\"string\"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i=\"buffer\",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var u=t.length-1))throw new TypeError(\"Unknown encoding: \"+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(g.prototype,\"writableHighWaterMark\",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(e,t,n){n(new Error(\"_write() is not implemented\"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?o.nextTick(n):e.once(\"finish\",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,\"destroyed\",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=m.destroy,g.prototype._undestroy=m.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this)}).call(this,e(\"_process\"),\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{},e(\"timers\").setImmediate)},{\"./_stream_duplex\":81,\"./internal/streams/destroy\":87,\"./internal/streams/stream\":88,_process:74,\"core-util-is\":25,inherits:65,\"process-nextick-args\":73,\"safe-buffer\":89,timers:102,\"util-deprecate\":105}],86:[function(e,t,n){\"use strict\";var r=e(\"safe-buffer\").Buffer,i=e(\"util\");t.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return\"\";for(var t=this.head,n=\"\"+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+\" \"+e})},{\"safe-buffer\":89,util:16}],87:[function(e,t,n){\"use strict\";var r=e(\"process-nextick-args\");function i(e,t){e.emit(\"error\",t)}t.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,r.nextTick(i,this,e)):r.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted||(n._writableState.errorEmitted=!0,r.nextTick(i,n,e)):r.nextTick(i,n,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{\"process-nextick-args\":73}],88:[function(e,t,n){t.exports=e(\"events\").EventEmitter},{events:43}],89:[function(e,t,n){var r=e(\"buffer\"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,n),n.Buffer=a),o(i,a),a.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return i(e,t,n)},a.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=i(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return i(e)},a.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return r.SlowBuffer(e)}},{buffer:18}],90:[function(e,t,n){\"use strict\";var r=e(\"safe-buffer\").Buffer,i=r.isEncoding||function(e){switch((e=\"\"+e)&&e.toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":case\"raw\":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return\"utf8\";for(var t;;)switch(e){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return e;default:if(t)return;e=(\"\"+e).toLowerCase(),t=!0}}(e);if(\"string\"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error(\"Unknown encoding: \"+e);return t||e}(e),this.encoding){case\"utf16le\":this.text=u,this.end=l,t=4;break;case\"utf8\":this.fillLast=s,t=4;break;case\"base64\":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,\"�\";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,\"�\";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,\"�\"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString(\"utf16le\",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(\"utf16le\",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):\"\";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(\"utf16le\",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString(\"base64\",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(\"base64\",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+this.lastChar.toString(\"base64\",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):\"\"}n.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return\"\";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return\"\";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString(\"utf8\",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(\"utf8\",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{\"safe-buffer\":89}],91:[function(e,t,n){(n=t.exports=e(\"./lib/_stream_readable.js\")).Stream=n,n.Readable=n,n.Writable=e(\"./lib/_stream_writable.js\"),n.Duplex=e(\"./lib/_stream_duplex.js\"),n.Transform=e(\"./lib/_stream_transform.js\"),n.PassThrough=e(\"./lib/_stream_passthrough.js\")},{\"./lib/_stream_duplex.js\":81,\"./lib/_stream_passthrough.js\":82,\"./lib/_stream_readable.js\":83,\"./lib/_stream_transform.js\":84,\"./lib/_stream_writable.js\":85}],92:[function(e,t,n){\n/*! safe-buffer. MIT License. Feross Aboukhadijeh */\nvar 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:18}],93:[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},{}],94:[function(e,t,n){\"use strict\";var r=e(\"get-intrinsic\"),i=e(\"define-data-property\"),o=e(\"has-property-descriptors\")(),a=e(\"gopd\"),s=e(\"es-errors/type\"),u=r(\"%Math.floor%\");t.exports=function(e,t){if(\"function\"!=typeof e)throw new s(\"`fn` is not a function\");if(\"number\"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s(\"`length` must be a positive 32-bit integer\");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if(\"length\"in e&&a){var c=a(e,\"length\");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(o?i(e,\"length\",t,!0,!0):i(e,\"length\",t)),e}},{\"define-data-property\":28,\"es-errors/type\":41,\"get-intrinsic\":50,gopd:54,\"has-property-descriptors\":55}],95:[function(e,t,n){\"use strict\";var r=e(\"get-intrinsic\"),i=e(\"call-bind/callBound\"),o=e(\"object-inspect\"),a=e(\"es-errors/type\"),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),h=i(\"Map.prototype.set\",!0),p=i(\"Map.prototype.has\",!0),m=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=m(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 p(t,r)}else if(n)return function(e,t){return!!m(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),h(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},{\"call-bind/callBound\":19,\"es-errors/type\":41,\"get-intrinsic\":50,\"object-inspect\":70}],96:[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){var t=e.bufferIndex||0;if(e.buffer.head)return e.buffer.head.data.length;if(e.buffer.length-t>0&&e.buffer[t])return e.buffer[t].length}return e.length}(t)):null}},{}],97:[function(e,t,n){\"use strict\";const r=[\"use\",\"on\",\"once\",\"set\",\"query\",\"type\",\"accept\",\"auth\",\"withCredentials\",\"sortQuery\",\"retry\",\"ok\",\"redirects\",\"timeout\",\"buffer\",\"serialize\",\"parse\",\"ca\",\"key\",\"pfx\",\"cert\",\"disableTLSCerts\"];class i{constructor(){this._defaults=[]}_setDefaults(e){for(const t of this._defaults)e[t.fn](...t.args)}}for(const e of r)i.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{if(r.XMLHttpRequest)return new r.XMLHttpRequest;throw new Error(\"Browser-only version of superagent could not find XHR\")};const m=\"\".trim?e=>e.trim():e=>e.replace(/(^\\s*|\\s*$)/g,\"\");function y(e){if(!u(e))return e;const t=[];for(const n in e)c(e,n)&&b(t,n,e[n]);return t.join(\"&\")}function b(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))for(const r of n)b(e,t,r);else if(u(n))for(const r in n)c(n,r)&&b(e,`${t}[${r}]`,n[r]);else e.push(encodeURI(t)+\"=\"+encodeURIComponent(n));else e.push(encodeURI(t))}function g(e){const t={},n=e.split(\"&\");let r,i;for(let e=0,o=n.length;e{let e,t=null,r=null;try{r=new w(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)}))}p.serializeObject=y,p.parseString=g,p.types={html:\"text/html\",json:\"application/json\",xml:\"text/xml\",urlencoded:\"application/x-www-form-urlencoded\",form:\"application/x-www-form-urlencoded\",\"form-data\":\"application/x-www-form-urlencoded\"},p.serialize={\"application/x-www-form-urlencoded\":e=>a.stringify(e,{indices:!1,strictNullHandling:!0}),\"application/json\":o},p.parse={\"application/x-www-form-urlencoded\":g,\"application/json\":JSON.parse},l(w.prototype,f.prototype),w.prototype._parseBody=function(e){let t=p.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&v(this.type)&&(t=p.parse[\"application/json\"]),t&&e&&(e.length>0||e instanceof Object)?t(e):null)},w.prototype.toError=function(){const{req:e}=this,{method:t}=e,{url:n}=e,r=`cannot ${t} ${n} (${this.status})`,i=new Error(r);return i.status=this.status,i.method=t,i.url=n,i},p.Response=w,i(E.prototype),l(E.prototype,s.prototype),E.prototype.type=function(e){return this.set(\"Content-Type\",p.types[e]||e),this},E.prototype.accept=function(e){return this.set(\"Accept\",p.types[e]||e),this},E.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)},E.prototype.query=function(e){return\"string\"!=typeof e&&(e=y(e)),e&&this._query.push(e),this},E.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},E.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},E.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)},E.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)},E.prototype.agent=function(){return console.warn(\"This is not supported in browser version of superagent\"),this},E.prototype.ca=E.prototype.agent,E.prototype.buffer=E.prototype.ca,E.prototype.write=()=>{throw new Error(\"Streaming is not supported in browser version of superagent\")},E.prototype.pipe=E.prototype.write,E.prototype._isHost=function(e){return e&&\"object\"==typeof e&&!Array.isArray(e)&&\"[object Object]\"!==Object.prototype.toString.call(e)},E.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||h,this._finalizeQueryString(),this._end()},E.prototype._setUploadTimeout=function(){const e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((()=>{e._timeoutError(\"Upload timeout of \",e._uploadTimeout,\"ETIMEDOUT\")}),this._uploadTimeout))},E.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=p.getXHR();const{xhr:t}=this;let n=this._formData||this._data;this._setTimeouts(),t.addEventListener(\"readystatechange\",(()=>{const{readyState:n}=t;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||p.serialize[e?e.split(\";\")[0]:\"\"];!t&&v(e)&&(t=p.serialize[\"application/json\"]),t&&(n=t(n))}for(const e in this.header)null!==this.header[e]&&c(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)},p.agent=()=>new d;for(const e of[\"GET\",\"POST\",\"OPTIONS\",\"PATCH\",\"PUT\",\"DELETE\"])d.prototype[e.toLowerCase()]=function(t,n){const r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r};function _(e,t,n){const r=p(\"DELETE\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}d.prototype.del=d.prototype.delete,p.get=(e,t,n)=>{const r=p(\"GET\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=(e,t,n)=>{const r=p(\"HEAD\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=(e,t,n)=>{const r=p(\"OPTIONS\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=_,p.delete=_,p.patch=(e,t,n)=>{const r=p(\"PATCH\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=(e,t,n)=>{const r=p(\"POST\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=(e,t,n)=>{const r=p(\"PUT\",e);return\"function\"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{\"./agent-base\":97,\"./request-base\":99,\"./response-base\":100,\"./utils\":101,\"component-emitter\":23,\"fast-safe-stringify\":44,qs:76}],99:[function(e,t,n){\"use strict\";const{isObject:r,hasOwn:i}=e(\"./utils\");function o(){}t.exports=o,o.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},o.prototype.parse=function(e){return this._parser=e,this},o.prototype.responseType=function(e){return this._responseType=e,this},o.prototype.serialize=function(e){return this._serializer=e,this},o.prototype.timeout=function(e){if(!e||\"object\"!=typeof e)return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(const t in e)if(i(e,t))switch(t){case\"deadline\":this._timeout=e.deadline;break;case\"response\":this._responseTimeout=e.response;break;case\"upload\":this._uploadTimeout=e.upload;break;default:console.warn(\"Unknown timeout option\",t)}return this},o.prototype.retry=function(e,t){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=t,this};const a=new Set([\"ETIMEDOUT\",\"ECONNRESET\",\"EADDRINUSE\",\"ECONNREFUSED\",\"EPIPE\",\"ENOTFOUND\",\"ENETUNREACH\",\"EAI_AGAIN\"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);o.prototype._shouldRetry=function(e,t){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{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&&s.has(t.status))return!0;if(e){if(e.code&&a.has(e.code))return!0;if(e.timeout&&\"ECONNABORTED\"===e.code)return!0;if(e.crossDomain)return!0}return!1},o.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},o.prototype.then=function(e,t){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)},o.prototype.catch=function(e){return this.then(void 0,e)},o.prototype.use=function(e){return e(this),this},o.prototype.ok=function(e){if(\"function\"!=typeof e)throw new Error(\"Callback required\");return this._okCallback=e,this},o.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},o.prototype.get=function(e){return this._header[e.toLowerCase()]},o.prototype.getHeader=o.prototype.get,o.prototype.set=function(e,t){if(r(e)){for(const t in e)i(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},o.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},o.prototype.field=function(e,t,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(r(e)){for(const t in e)i(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(t)){for(const n in t)i(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},o.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit(\"abort\")),this},o.prototype._auth=function(e,t,n,r){switch(n.type){case\"basic\":this.set(\"Authorization\",`Basic ${r(`${e}:${t}`)}`);break;case\"auto\":this.username=e,this.password=t;break;case\"bearer\":this.set(\"Authorization\",`Bearer ${e}`)}return this},o.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},o.prototype.redirects=function(e){return this._maxRedirects=e,this},o.prototype.maxResponseSize=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Invalid argument\");return this._maxResponseSize=e,this},o.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},o.prototype.send=function(e){const t=r(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&&r(this._data))for(const t in e){if(\"bigint\"==typeof e[t]&&!e[t].toJSON)throw new Error(\"Cannot serialize BigInt value to json\");i(e,t)&&(this._data[t]=e[t])}else{if(\"bigint\"==typeof e)throw new Error(\"Cannot send value of type BigInt\");\"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},o.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},o.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(\"&\")}}},o.prototype._appendQueryString=()=>{console.warn(\"Unsupported\")},o.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)},o.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))}},{\"./utils\":101}],100:[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\":101}],101:[function(e,t,n){\"use strict\";n.type=e=>e.split(/ *; */).shift(),n.params=e=>{const t={};for(const n of e.split(/ *; */)){const e=n.split(/ *= */),r=e.shift(),i=e.shift();r&&i&&(t[r]=i)}return t},n.parseLinks=e=>{const t={};for(const n of e.split(/ *, */)){const e=n.split(/ *; */),r=e[0].slice(1,-1);t[e[1].split(/ *= */)[1].slice(1,-1)]=r}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])},n.isGzipOrDeflateEncoding=e=>new RegExp(/^\\s*(?:deflate|gzip)\\s*$/).test(e.headers[\"content-encoding\"]),n.isBrotliEncoding=e=>new RegExp(/^\\s*(?:br)\\s*$/).test(e.headers[\"content-encoding\"])},{}],102:[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\":74,timers:102}],103:[function(e,t,n){(function(e){(function(){\n/*! typedarray-to-buffer. MIT License. Feross Aboukhadijeh */\nt.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:18}],104:[function(e,t,n){!function(e,r){\"use strict\";var i=\"function\",o=\"undefined\",a=\"object\",s=\"string\",u=\"major\",l=\"model\",c=\"name\",f=\"type\",d=\"vendor\",h=\"version\",p=\"architecture\",m=\"console\",y=\"mobile\",b=\"tablet\",g=\"smarttv\",v=\"wearable\",w=\"embedded\",E=\"Amazon\",_=\"Apple\",R=\"ASUS\",S=\"BlackBerry\",A=\"Browser\",O=\"Chrome\",k=\"Firefox\",x=\"Google\",T=\"Huawei\",j=\"LG\",D=\"Microsoft\",N=\"Motorola\",M=\"Opera\",C=\"Samsung\",I=\"Sharp\",P=\"Sony\",L=\"Xiaomi\",B=\"Zebra\",U=\"Facebook\",F=\"Chromium OS\",W=\"Mac OS\",q=\" Browser\",H=function(e){for(var t={},n=0;n0?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}},Y=function(e,t){for(var n in t)if(typeof t[n]===a&&t[n].length>0){for(var i=0;i2&&(e[l]=\"iPad\",e[f]=b),e},this.getEngine=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.engine),e},this.getOS=function(){var e={};return e[c]=r,e[h]=r,$.call(e,g,w.os),E&&!e[c]&&v&&v.platform&&\"Unknown\"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,F).replace(/macos/i,W)),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 g},this.setUA=function(e){return g=typeof e===s&&e.length>500?G(e,500):e,this},this.setUA(g),this};X.VERSION=\"1.0.39\",X.BROWSER=H([c,h,u]),X.CPU=H([p]),X.DEVICE=H([l,d,f,m,y,g,b,v,w]),X.ENGINE=X.OS=H([c,h]),typeof n!==o?(typeof t!==o&&t.exports&&(n=t.exports=X),n.UAParser=X):typeof e!==o&&(e.UAParser=X);var Q=typeof e!==o&&(e.jQuery||e.Zepto);if(Q&&!Q.ua){var Z=new X;Q.ua=Z.getResult(),Q.ua.get=function(){return Z.getUA()},Q.ua.set=function(e){Z.setUA(e);var t=Z.getResult();for(var n in t)Q.ua[n]=t[n]}}}(\"object\"==typeof window?window:this)},{}],105:[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:{})},{}],106:[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:74,buffer:18,\"end-of-stream\":34,inherits:65,\"readable-stream\":91,\"stream-shift\":96}],107:[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,h=f?function e(t,n,r){if(c.bufferedAmount>m)return void setTimeout(e,y,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 p=function(e,t,n){var r=new i({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(u,h,(function(e){c.close(),e()}));u.objectMode||(p._writev=R);var m=u.browserBufferSize||524288,y=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=p:(l=l=o(void 0,void 0,u),u.objectMode||(l._writev=R),b?c.addEventListener(\"open\",v):c.onopen=v);l.socket=c,b?(c.addEventListener(\"close\",w),c.addEventListener(\"error\",E),c.addEventListener(\"message\",_)):(c.onclose=w,c.onerror=E,c.onmessage=_);p.on(\"close\",(function(){c.close()}));var g=!u.objectMode;function v(){l.setReadable(p),l.setWritable(p),l.emit(\"connect\")}function w(){l.end(),l.destroy()}function E(e){l.destroy(e)}function _(e){var t=e.data;t=t instanceof ArrayBuffer?s.from(t):s.from(t,\"utf8\"),p.push(t)}function R(e,t){for(var n=new Array(e.length),r=0;r\",contributors:[{name:\"Michael Heuberger\",email:\"michael.heuberger@binarykitchen.com\"}],main:\"prototype/js/videomail-client.js\",scripts:{audit:\"npx audit-ci --config audit-ci.json\",build:\"gulp build\",lint:\"eslint --color ./src ./test ./gulpfile.js\",\"lint:fix\":\"npm --silent run lint -- --fix\",major:\"./etc/release.sh --importance=major\",minor:\"./etc/release.sh --importance=minor\",patch:\"./etc/release.sh --importance=patch\",prettier:\"prettier --check ./src ./test ./prototype/*.html gulpfile.js\",\"prettier:fix\":\"prettier --write ./src ./test ./prototype/*.html gulpfile.js\",test:\"gulp test\",watch:\"NODE_NO_HTTP2=1 gulp watch\"},prettier:\"./prettier.config.cjs\",dependencies:{\"@babel/core\":\"7.25.2\",\"add-eventlistener-with-options\":\"1.25.5\",animitter:\"3.0.0\",\"audio-sample\":\"4.1.0\",\"canvas-to-buffer\":\"4.1.0\",contains:\"0.1.1\",\"core-js\":\"3.38.1\",\"create-error\":\"0.3.1\",deepmerge:\"4.3.1\",defined:\"1.0.1\",despot:\"2.1.0\",\"document-visibility\":\"1.0.1\",filesize:\"10.1.6\",\"format-util\":\"1.0.5\",\"get-form-data\":\"3.0.0\",hidden:\"1.1.1\",\"humanize-duration\":\"3.32.1\",hyperscript:\"2.0.2\",inherits:\"2.0.4\",\"insert-css\":\"2.0.0\",\"is-power-of-two\":\"1.0.0\",keymirror:\"0.1.1\",\"safe-json-stringify\":\"1.2.0\",superagent:\"10.1.0\",\"ua-parser-js\":\"1.0.39\",\"websocket-stream\":\"5.5.2\"},devDependencies:{\"@babel/eslint-parser\":\"7.25.1\",\"@babel/plugin-transform-runtime\":\"7.25.4\",\"@babel/preset-env\":\"7.25.4\",\"@tsconfig/node22\":\"22.0.0\",\"@tsconfig/strictest\":\"2.0.5\",\"audit-ci\":\"7.1.0\",autoprefixer:\"10.4.20\",babelify:\"10.0.0\",\"body-parser\":\"1.20.3\",browserify:\"17.0.0\",\"connect-send-json\":\"1.0.0\",cssnano:\"6.0.5\",del:\"6.1.1\",eslint:\"8.57.0\",\"eslint-config-prettier\":\"9.1.0\",\"eslint-plugin-import\":\"2.30.0\",\"eslint-plugin-node\":\"11.1.0\",\"eslint-plugin-promise\":\"6.2.0\",\"fancy-log\":\"2.0.0\",glob:\"10.4.2\",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\":\"10.0.0\",\"gulp-rename\":\"2.0.0\",\"gulp-sourcemaps\":\"3.0.0\",\"gulp-stylus\":\"3.0.1\",\"gulp-terser\":\"2.1.0\",minimist:\"1.2.8\",nib:\"1.2.0\",postcss:\"8.4.47\",prettier:\"3.3.3\",\"prettier-plugin-curly\":\"0.2.2\",\"prettier-plugin-packagejson\":\"2.5.2\",\"prettier-plugin-sh\":\"0.14.0\",router:\"1.3.8\",tape:\"5.9.0\",\"tape-catch\":\"1.0.6\",\"tape-run\":\"11.0.0\",typescript:\"5.6.2\",\"vinyl-buffer\":\"1.0.1\",\"vinyl-source-stream\":\"2.0.0\",watchify:\"4.0.0\"},engines:{node:\"^22.8.0\",npm:\"^10.8.2\"},readmeFilename:\"README.md\"}},{}],111:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i,o=r(e(\"inherits\")),a=r(e(\"./constants\")),s=r(e(\"./events\")),u=r(e(\"./resource\")),l=r(e(\"./util/browser\")),c=r(e(\"./util/adjustOptions\")),f=r(e(\"./util/eventEmitter\")),d=r(e(\"./wrappers/container\"));var h=function(e){var t=(0,c.default)(e),n=new d.default(t),r=t.debug;this.events=s.default,f.default.call(this,t,\"VideomailClient\"),this.build=function(){var e=!1;e||n.isBuilt()||(r(\"Client: build()\"),e=!0,n.build(),e=!1)},this.show=function(){return n.isBuilt()||this.build(),n.show()},this.replay=function(e,t){n.isBuilt()&&this.unload(),n.build({playerOnly:!0,replayParentElementId:t}),e&&(e=n.addPlayerDimensions(e)),n.buildForm(),n.loadForm(e),this.once(s.default.REPLAY_SHOWN,(function(){n.showReplayOnly()}));var r=n.getReplay();return r.setVideomail(e,!0),r.getElement()},this.startOver=function(e){var t=n.getReplay();t&&(t.hide(),t.reset()),n.startOver(e)},this.unload=function(e){this.removeAllListeners(),n.unload(e)},this.hide=function(){n.hide()},this.getByAlias=function(e,r){new u.default(t).getByAlias(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.get=this.getByAlias,this.getByKey=function(e,r){new u.default(t).getByKey(e,(function(e,t){e?r(e):r(null,n.addPlayerDimensions(t))}))},this.canRecord=function(){return function(e){return i||(i=new l.default(e)),i}(t).canRecord()},this.isDirty=function(){return n.isDirty()},this.isBuilt=function(){return n.isBuilt()},this.isRecording=function(){return n.isRecording()},this.submit=function(){n.submit()},this.getLogLines=function(){if(t.logger&&t.logger.getLines)return t.logger.getLines()}};(0,o.default)(h,f.default),Object.keys(a.default.public).forEach((function(e){h[e]=a.default.public[e]})),h.Events=s.default;n.default=h},{\"./constants\":112,\"./events\":113,\"./resource\":115,\"./util/adjustOptions\":118,\"./util/browser\":120,\"./util/eventEmitter\":122,\"./wrappers/container\":128,\"@babel/runtime/helpers/interopRequireDefault\":4,inherits:65}],112:[function(e,t,n){\"use strict\";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\"}}},{}],113:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"keymirror\"));n.default=(0,i.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,SERVER_READY:null,UNLOADING:null})},{\"@babel/runtime/helpers/interopRequireDefault\":4,keymirror:69}],114:[function(e,t,n){(function(t){(function(){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=e(\"../package.json\"),o=r(e(\"./util/addOptionsFunctions\")),a={logger:null,logStackSize:30,verbose:!(\"production\"===t.env.NODE_ENV),baseUrl:\"https://videomail.io\",socketUrl:\"wss://videomail.io\",siteName:\"videomail-client-demo\",insertCss:!0,enablePause:!0,enableAutoPause:!0,enableSpace:!0,submitWithVideomail:!1,disableSubmit:!1,enableAutoValidation:!0,enableAutoUnload:!0,enableAutoSubmission:!0,enctype:\"application/json\",selectors:{containerId:\"videomail\",containerClass:\"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\",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,stretch:!1},image:{quality:.42,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:3e4},loadUserMediaOnRecord:!1,callbacks:{adjustFormDataBeforePosting:null},defaults:{from:null,to:null,cc:null,bcc:null,subject:null,body:null},displayErrors:!0,adjustFormOnBrowserError:!1,reportErrors:!1,fakeUaString:null,version:i.version},s=(0,o.default)(a);n.default=s}).call(this)}).call(this,e(\"_process\"))},{\"../package.json\":110,\"./util/addOptionsFunctions\":117,\"@babel/runtime/helpers/interopRequireDefault\":4,_process:74}],115:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e){function t(t,n){return e.defaults[n]&&!t[n]&&(t[n]=e.defaults[n]),t}function n(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0})}function r(e,t){if(t&&t.body&&t.body.error){var r=t.body.error,i=new Error;return n(i,\"name\",r.name),n(i,\"type\",r.type),n(i,\"message\",r.message||t.statusText),n(i,\"cause\",r.cause),n(i,\"status\",r.status),n(i,\"code\",r.code),n(i,\"errno\",r.errno),n(i,\"details\",r.details),n(i,\"stack\",r.stack),i}return e}function s(t,n,s){var u=\"\".concat(e.baseUrl,\"/videomail/\").concat(t,\"/\").concat(n,\"/snapshot\");(0,i.default)(\"get\",u).type(\"json\").set(\"Accept\",\"application/json\").set(\"Timezone-Id\",a).set(o.default.SITE_NAME_LABEL,e.siteName).timeout(e.timeouts.connection).end((function(e,t){if(e){var n=r(e,t);s(n)}else{var i=t.body?t.body:null;s(null,i)}}))}function u(t,n,s,u){u||(u=s,s=null);var l={},c=\"\".concat(e.baseUrl,\"/videomail/\");s&&(c+=s);var f=(0,i.default)(t,c);l[o.default.SITE_NAME_LABEL]=e.siteName,f.query(l).set(\"Timezone-Id\",a).send(n).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);u(n)}else{var i=t.body&&t.body.videomail?t.body.videomail:null;u(null,i,t.body)}}))}this.getByAlias=function(e,t){s(\"alias\",e,t)},this.getByKey=function(e,t){s(\"key\",e,t)},this.reportError=function(t,n){var a={},s=\"\".concat(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){if(e){var i=r(e,t);n&&n(i)}else n&&n()}))},this.post=function(n,r){(n=function(n){return e.defaults&&(n=t(n,\"from\"),n=t(n,\"to\"),n=t(n,\"cc\"),n=t(n,\"bcc\"),n=t(n,\"subject\"),n=t(n,\"body\")),n}(n))[o.default.VERSION_LABEL]=e.version,e.callbacks.adjustFormDataBeforePosting?e.callbacks.adjustFormDataBeforePosting(n,(function(e,t){e?r(e):u(\"post\",t,r)})):u(\"post\",n,r)},this.put=function(e,t){u(\"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: \".concat(e.enctype)))}),0)}u&&i.default.post(n).type(u).set(\"Timezone-Id\",a).send(t).timeout(e.timeout).end((function(e,t){if(e){var n=r(e,t);s(n)}else s(null,t)}))}};var i=r(e(\"superagent\")),o=r(e(\"./constants\")),a=Intl.DateTimeFormat().resolvedOptions().timeZone},{\"./constants\":112,\"@babel/runtime/helpers/interopRequireDefault\":4,superagent:98}],116:[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}}.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%);-ms-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{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;overflow:hidden}.videomail .radioGroup{display:block}.videomail video{margin-bottom:0}.videomail video.userMedia{background-color:rgba(50,50,50,.1)}'},{}],117:[function(e,t,n){\"use strict\";Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;n.default=function(e){var t=e.audio&&e.audio.enabled;return e.hasDefinedWidth=function(){return this.video.width&&\"auto\"!==this.video.width},e.hasDefinedHeight=function(){return this.video.height&&\"auto\"!==this.video.height},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.videoHeight0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)(a.default,e,{arrayMerge:function(e,t){return t}}),n=new o.default(t);return t.logger=n,t.debug=t.logger.debug,(0,s.default)(t)}},{\"./../options\":114,\"./addOptionsFunctions\":117,\"./collectLogger\":121,\"@babel/runtime/helpers/interopRequireDefault\":4,deepmerge:27}],119:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e,t){var n,r,l,c=new a.default(t);function f(){return window.AudioContext||window.webkitAudioContext}function d(){return Boolean(f())&&Boolean(h())}function h(){if(!l){var e=f();l=new e}return l}this.init=function(e){t.debug(\"AudioRecorder: init()\");var i=h().createGain();try{r=h().createMediaStreamSource(e)}catch(e){throw s.default.create(\"Webcam has no audio\",e.toString(),t)}var a=t.audio.bufferSize;if(\"auto\"===a&&(a=c.isFirefox()?512:2048),!(0,o.default)(a))throw s.default.create(\"Audio buffer size must be a power of two.\",t);if(!t.audio.volume||t.audio.volume>1)throw s.default.create(\"Audio volume must be between zero and one.\",t);i.gain.value=t.audio.volume,n=h().createScriptProcessor(a,u,u),r.connect(n),n.connect(h().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(),d()&&(h().close?h().close().then((function(){t.debug(\"AudioRecorder: audio context is closed\"),l=null})).catch((function(e){throw s.default.create(e,t)})):l=null)},this.getSampleRate=function(){return d()?h().sampleRate:-1}};var i=r(e(\"audio-sample\")),o=r(e(\"is-power-of-two\")),a=r(e(\"./browser\")),s=r(e(\"./videomailError\")),u=1},{\"./browser\":120,\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,\"audio-sample\":14,\"is-power-of-two\":67}],120:[function(e,t,n){\"use strict\";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\")),o=r(e(\"defined\")),a=r(e(\"ua-parser-js\")),s=r(e(\"./videomailError\"));n.default=function(e){e||(e={});var t,n=\"http://www.mozilla.org/firefox/update/\",r=\"https://www.microsoft.com/en-us/download/details.aspx?id=48126\",u=\"http://www.google.com/chrome/\",l=(0,o.default)(e.fakeUaString,\"undefined\"!=typeof window&&window.navigator&&window.navigator.userAgent,\"\"),c=new a.default(l).getResult(),f=\"iOS\"===c.os.name,d=parseFloat(c.browser.version),h=\"Chrome\"===c.browser.name,p=\"Brave\"===c.browser.name,m=\"Chromium\"===c.browser.name,y=\"Firefox\"===c.browser.name,b=parseFloat(c.os.version),g=\"Windows\"===c.os.name,v=\"Edge\"===c.browser.name||g&&b>=10,w=/Safari/.test(c.browser.name),E=/Opera/.test(c.browser.name),_=/Android/.test(c.os.name),R=h||m,S=\"Facebook\"===c.browser.name,A=f||_,O=w&&d>=11,k=f&&b>=11,x=f&&b<11,T=e.fakeHttps||\"https:\"===window.location.protocol,j=R||y||_||E||v||O||k||p,D=this;function N(){var e;return(e=x?\"On iPads or iPhones below iOS v11 this camera feature is missing.

For now, we recommend you to upgrade iOS or to use an Android device.\":function(){var e;return y?e=f?\"Firefox on iOS is not ready for cameras yet. Hopefully in near future ...\":'Probably you need to ')+\"upgrade Firefox to fix this.\":h?e=f?\"Use Safari instead. Apple doesn't give Chrome access to iPhone cameras (booo).\":'Probably you need to ')+\"upgrade Chrome to fix this.\":m?e='Probably you need to ')+\"upgrade Chromium to fix this.\":O?e=\"Probably you need to shut down Safari and restart it, this for correct webcam access.\":w&&(e=\"Safari below version 11 has no webcam support.
Better upgrade Safari or pick\"+' Chrome,')+' Firefox or Android.')),e}())||(e=D.isChromeBased()||D.isFirefox()||w?\"For the webcam feature, your browser needs an upgrade.\":S?\"Hence we recommend you to use a real browser like \"+'Chrome, ')+'Firefox or ')+'Edge.'):\"Hence we recommend you to use either \"+'Chrome, ')+'Firefox, ')+'Edge or Android.')),e}function M(e,t){var n;return e&&e.canPlayType&&(n=e.canPlayType(\"video/\".concat(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(!j||!this.canRecord()){var n,r=[];x?r.push(s.default.IOS_PROBLEM):r.push(s.default.BROWSER_PROBLEM),n=j?A?S?\"Sorry, the Facebook app cannot record from your mobile camera\":\"Sorry, your browser cannot record from your mobile camera\":\"Sorry, your browser cannot record from webcams\":A?\"Sorry, your browser is unable to use your mobile camera\":\"Sorry, your browser is unable to use webcams\",x&&(e.reportErrors=!1),t=s.default.create(n,N(),e,{classList:r})}}else t=s.default.create(\"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&&(M(e,\"mp4\")?t=\"mp4\":M(e,\"webm\")&&(t=\"webm\")),\"webm\"!==t&&\"mp4\"!==t&&(t=\"mp4\"),t&&\"\"!==t||(t=\"mp4\"),t},this.getNoAccessIssue=function(){var t;return t=this.isChromeBased()?\"Click on the allow button to grant access to your webcam\":this.isFirefox()?\"Please grant Firefox access to your webcam\":\"Your system does not let your browser access your webcam\",s.default.create(\"Unable to access webcam\",t,e)},this.isChromeBased=function(){return R},this.isFirefox=function(){return y},this.isEdge=function(){return v},this.isAndroid=function(){return _},this.isMobile=function(){return\"mobile\"===c.device.type},this.isOkSafari=function(){return O},this.isIOS=function(){return f},this.getUsefulData=function(){return{browser:c.browser,cpu:c.cpu.architecture?c.cpu:void 0,device:c.device.type?c.device:void 0,engine:c.engine,os:c.os.name&&c.os.version?c.os:void 0}}}},{\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,defined:29,\"ua-parser-js\":104}],121:[function(e,t,n){\"use strict\";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 a.default(e),n=e.logger||console,r=[];function s(t,n){var a=o.default.apply(void 0,(0,i.default)(n));return r.length>e.logStackSize&&r.pop(),r.push(\"[\".concat(t,\"] \").concat(a)),a}this.debug=function(){var r=s(\"debug\",[].slice.call(arguments,0));e.verbose&&(t.isFirefox()?n.debug(r):n.groupCollapsed?(n.groupCollapsed(r),n.trace(\"Trace\"),n.groupEnd()):n.debug?n.debug(r):console.log(r))},this.error=function(){var e=[].slice.call(arguments,0);n.error(s(\"error\",e))},this.warn=function(){var e=[].slice.call(arguments,0);n.warn(s(\"warn\",e))},this.getLines=function(){return r}};var i=r(e(\"@babel/runtime/helpers/toConsumableArray\")),o=r(e(\"format-util\")),a=r(e(\"./browser\"))},{\"./browser\":120,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/toConsumableArray\":7,\"format-util\":46}],122:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=function(e,t){this.emit=function(n){var r,u=Array.prototype.slice.call(arguments,0);if(!n)throw s.default.create(\"You cannot emit without an event.\",e);if(n===a.default.ERROR){var l=u[1];l=s.default.create(l,e),u[1]=l}e.debug&&(\"removeListener\"!==n&&\"newListener\"!==n&&(u[1]&&(r=u.slice(1)),r?e.debug(\"\".concat(t,\" emits \").concat(n,\" with \").concat((0,o.default)(r))):e.debug(\"\".concat(t,\" emits \").concat(n))));return i.default.emit.apply(i.default,u)},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()}};var i=r(e(\"despot\")),o=r(e(\"safe-json-stringify\")),a=r(e(\"./../events\")),s=r(e(\"./videomailError\"))},{\"./../events\":113,\"./videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,despot:30,\"safe-json-stringify\":93}],123:[function(e,t,n){\"use strict\";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\"));n.default={filesize:function(e,t){return(0,i.filesize)(e,{round:t})},toTime:function(e){return(0,o.default)(e)}}},{\"@babel/runtime/helpers/interopRequireDefault\":4,filesize:45,\"humanize-duration\":61}],124:[function(e,t,n){\"use strict\";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\"]},{}],125:[function(e,t,n){\"use strict\";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\")),o=r(e(\"safe-json-stringify\")),a=\"- \",s=\"
\".concat(a)},{\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,\"safe-json-stringify\":93}],126:[function(e,t,n){(function(t){(function(){\"use strict\";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\")),o=r(e(\"./../resource\")),a=r(e(\"create-error\")),s=r(e(\"safe-json-stringify\")),u=r(e(\"./pretty\")),l=\"Videomail Error\",c=(0,a.default)(Error,l,{title:void 0,message:void 0,explanation:void 0,logLines:void 0,siteName:void 0,cookie:void 0,location:void 0,err:void 0,promise:void 0,cause:void 0,reason:void 0,browser:void 0,cpu:void 0,device:void 0,engine:void 0,os:void 0,screen:void 0,orientation:void 0}),f=function(e){return(0,u.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(n,r,a,u){var d;if(n&&n.name===l)return n;!a&&r&&(a=r,r=void 0),a||(a={}),u||(u={});var h,p,m=a&&a.isAudioEnabled&&a.isAudioEnabled(),y=u.classList||[],b=new(0,e(\"./browser\").default)(a);switch(\"object\"===(0,i.default)(n)?n.name===c.TRACK_START_ERROR?h=c.TRACK_START_ERROR:n.name===c.SECURITY_ERROR?h=c.SECURITY_ERROR:8===n.code&&n.name===c.NotFoundError?h=c.NotFoundError:35===n.code||n.name===c.NOT_ALLOWED_ERROR?h=c.NOT_ALLOWED_ERROR:1===n.code&&1===n.PERMISSION_DENIED?h=c.PERMISSION_DENIED:n.constructor&&n.constructor.name===c.DOM_EXCEPTION?h=n.name===c.NOT_READABLE_ERROR?c.NOT_READABLE_ERROR:c.DOM_EXCEPTION:n.constructor&&n.constructor.name===c.OVERCONSTRAINED?h=c.OVERCONSTRAINED:n.explanation===c.STARTING_FAILED?h=n.explanation:n.name?h=n.name:\"error\"===n.type&&0===n.target.bufferedAmount&&(h=c.NOT_CONNECTED):h=n===c.NOT_CONNECTED?c.NOT_CONNECTED:n,h){case c.SECURITY_ERROR:p=\"The operation was insecure\",r=\"Probably you have disallowed Cookies for this page?\",y.push(c.BROWSER_PROBLEM);break;case c.OVERCONSTRAINED:p=\"Invalid webcam constraints\",r=n.constraint?\"width\"===n.constraint?\"Your webcam does not meet the width requirement.\":\"Unmet constraint: \".concat(n.constraint):n.toString();break;case\"MediaDeviceFailedDueToShutdown\":p=\"Webcam is shutting down\",r=\"This happens your webcam is already switching off and not giving you permission to use it.\";break;case\"SourceUnavailableError\":p=\"Source of your webcam cannot be accessed\",r=\"Probably it is locked from another process or has a hardware error.\",n.explanation&&(n.explanation+=\" Details: \".concat(n.explanation));break;case c.NOT_FOUND_ERROR:case\"NO_DEVICES_FOUND\":m?(p=\"No webcam nor microphone found\",r=\"Your browser cannot find a webcam with microphone attached to your machine.\"):(p=\"No webcam found\",r=\"Your browser cannot find a webcam attached to your machine.\"),y.push(c.WEBCAM_PROBLEM);break;case\"PermissionDismissedError\":p=\"Ooops, you didn't give me any permissions?\",r=\"Looks like you skipped the webcam permission dialogue.
Please grant access next time the dialogue appears.\",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_ALLOWED_ERROR:case c.PERMISSION_DENIED:case\"PermissionDeniedError\":p=\"Permission denied\",r=\"Cannot access your webcam. This can have two reasons:
a) you blocked access to webcam; or
b) your webcam is already in use.\",y.push(c.WEBCAM_PROBLEM);break;case\"HARDWARE_UNAVAILABLE\":p=\"Webcam is unavailable\",r=\"Maybe it is already busy in another window?\",(b.isChromeBased()||b.isFirefox())&&(r+=\" Or you have to allow access above?\"),y.push(c.WEBCAM_PROBLEM);break;case c.NOT_CONNECTED:p=\"Unable to connect\",r=\"Either the videomail server or your connection is down. Trying to reconnect every few seconds …\";break;case\"NO_VIDEO_FEED\":p=\"No video feed found!\",r=\"Your webcam is already used in another browser.\",y.push(c.WEBCAM_PROBLEM);break;case c.STARTING_FAILED:p=\"Starting video failed\",r=\"Most likely this happens when the webcam is already active in another browser\",y.push(c.WEBCAM_PROBLEM);break;case\"DevicesNotFoundError\":p=\"No available webcam could be found\",r=\"Looks like you do not have any webcam attached to your machine; or the one you plugged in is already used.\",y.push(c.WEBCAM_PROBLEM);break;case c.NOT_READABLE_ERROR:case c.TRACK_START_ERROR:p=\"No access to webcam\",r=\"A hardware error occurred which prevented access to your webcam\",y.push(c.WEBCAM_PROBLEM);break;case c.INVALID_STATE_ERROR:p=\"Invalid state\",r=\"Video recording stream from your webcam already has finished\",y.push(c.WEBCAM_PROBLEM);break;case c.DOM_EXCEPTION:switch(n.code){case 8:p=\"Requested webcam not found\",r=\"A webcam is needed but could not be found\",y.push(c.WEBCAM_PROBLEM);break;case 9:var g=\"https:\".concat(window.location.href.substring(window.location.protocol.length));p=\"Security upgrade needed\",r='Click here to switch to HTTPs which is more safe ')+\" and enables encrypted videomail transfers.\",y.push(c.BROWSER_PROBLEM);break;case 11:p=\"Invalid State\",r=\"The object is in an invalid, unusable state\",y.push(c.BROWSER_PROBLEM);break;default:p=\"DOM Exception\",r=f(n),y.push(c.BROWSER_PROBLEM)}break;case c.MEDIA_DEVICE_NOT_SUPPORTED:p=\"Media device not supported\",r=f(n);break;default:var v=r;if(r&&\"object\"===(0,i.default)(r)&&(r=f(r)),!r&&v&&(r=v.explanation?v.explanation:\"Inspected: \".concat((0,s.default)(v))),n)if(\"string\"==typeof n)p=n;else if(n.message&&(p=f(n.message)+\" (pretty)\"),n.explanation&&(r?r+=\";
\".concat(f(n.explanation)):r=f(n.explanation)),n.details){var w=f(n.details);r?w&&(r+=\";
\".concat(w)):r=w}p||(h&&(p=h+\" (weird)\"),!r&&n&&(r=f(n)),f(p)===r&&(r=void 0))}var E=null;a.logger&&a.logger.getLines&&(E=a.logger.getLines()),(a&&a.debug||console.log)(\"VideomailError: create()\",p,r||\"(no explanation set)\");var _,R=b.getUsefulData(),S=t.document.cookie.split(\"; \"),A={title:\"videomail-client error\",message:p,explanation:r,logLines:E,siteName:a.siteName,browser:R.browser,cpu:R.cpu,device:R.device,engine:R.engine,os:R.os,location:window.location.href,cookie:S.length>0?S.join(\",\\n\"):void 0,screen:[screen.width,screen.height,screen.colorDepth].join(\"×\"),orientation:\"string\"==typeof screen.orientation?screen.orientation:screen.orientation.type.toString(),errNo:null==n?void 0:n.errno,errCode:null==n?void 0:n.code,errName:null==n?void 0:n.name,errType:null==n?void 0:n.type,errConstraint:null==n?void 0:n.constraint,errConstructorName:null==n||null===(d=n.constructor)||void 0===d?void 0:d.name},O=new c(n instanceof Error?n:p,A),k=!1;function x(e){return y.indexOf(e)>=0}return a.reportErrors&&(k=\"function\"==typeof a.reportErrors?a.reportErrors(O):a.reportErrors),k&&(_=new o.default(a)),_&&_.reportError(O,(function(e){e&&console.error(\"Unable to report error\",e)})),O.getClassList=function(){return y},O.removeDimensions=function(){return x(c.IOS_PROBLEM)||b.isMobile()},O.hideButtons=function(){return x(c.BROWSER_PROBLEM)||u.browserProblem||x(c.IOS_PROBLEM)},O.hideForm=function(){return x(c.IOS_PROBLEM)},O};n.default=c}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./../resource\":115,\"./browser\":120,\"./pretty\":125,\"@babel/runtime/helpers/interopRequireDefault\":4,\"@babel/runtime/helpers/typeof\":10,\"create-error\":26,\"safe-json-stringify\":93}],127:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"contains\")),o=r(e(\"hidden\")),a=r(e(\"hyperscript\")),s=r(e(\"inherits\")),u=r(e(\"../events\")),l=r(e(\"../util/eventEmitter\")),c=function(e,t){l.default.call(this,t,\"Buttons\");var n,r,s,c,f,d,h,p,m,y,b=this,g=t.debug;function v(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!0)}))}function w(e){e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){(0,o.default)(e,!1)}))}function E(e){var t=e&&!0;return e&&!Array.isArray(e)&&(e=[e]),e&&e.forEach((function(e){t&&(t=e&&!(0,o.default)(e))})),t}function _(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 R(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),n?e.type=n:e.type||(e.type=\"button\"),!t&&v(e),e}function A(e,t){e.onclick=function(e){e&&e.preventDefault();try{t({event:e})}catch(e){b.emit(u.default.ERROR,e)}}}function O(e){var t,r;return e.id&&(t=document.getElementById(e.id)),t||(t=(0,a.default)(\"input#\".concat(e.id),{type:\"radio\",name:e.name,value:e.value,checked:e.checked}),r=(0,a.default)(\"span.radioGroup\",t,(0,a.default)(\"label\",{htmlFor:e.id},e.label)),h&&(0,i.default)(n,h)?n.insertBefore(r,h):n.appendChild(r)),e.changeHandler&&(t.onchange=e.changeHandler),_(t),t}function k(e,r,o,s,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(\".\".concat(e)))?f=S(f,s,l,d):(t.selectors.buttonClass&&(e+=\".\".concat(t.selectors.buttonClass)),(f=S(f=(0,a.default)(\"button.\".concat(e)),s,l,d)).innerHTML=r,h&&(0,i.default)(n,h)?n.insertBefore(f,h):n.appendChild(f)),o&&A(f,o),f}function x(e){E(d)||e.paused||w(r),e.paused||(_(f),v(f)),t.enableAutoValidation||R(h)}function T(){v(r),v(d),s&&(w(s),R(s)),R(f),w(f)}function j(){_(d),e.beginWaiting(),e.recordAgain()}function D(){e.submit()}function N(t){_(r),e.record(t)}function M(){g(\"Buttons: initEvents()\"),b.on(u.default.USER_MEDIA_READY,(function(e){e.switchingFacingMode||function(e){x(e),E(r)&&!e.recordWhenReady?R(r):E(d)&&!e.recordWhenReady&&R(d),t.enableAutoValidation&&_(h),e.recordWhenReady||(E(p)&&R(p),E(m)&&R(m))}(e)})).on(u.default.PREVIEW,(function(){v(r),v(f),_(p),_(m),w(d),R(d),t.enableAutoValidation||R(h)})).on(u.default.PAUSED,(function(){b.adjustButtonsForPause()})).on(u.default.RECORDING,(function(e){!function(e){e>1?T():(_(m),_(p),_(d),_(r))}(e)})).on(u.default.FIRST_FRAME_SENT,(function(){T()})).on(u.default.RESUMING,(function(){v(c),v(r),s&&(R(s),w(s))})).on(u.default.STOPPING,(function(){_(f),_(r),v(s),v(c)})).on(u.default.COUNTDOWN,(function(){_(r),_(m),_(p)})).on(u.default.SUBMITTING,(function(){g(\"Buttons: onSubmitting()\"),_(h),_(d)})).on(u.default.RESETTING,(function(){_(h),b.reset()})).on(u.default.INVALID,(function(){t.enableAutoValidation&&_(h)})).on(u.default.VALID,(function(){t.enableAutoValidation&&R(h)})).on(u.default.SUBMITTED,(function(){_(f),_(d),_(r),_(h)})).on(u.default.HIDE,(function(){v(r),v(f),v(d),v(c),v(p),v(m)})).on(u.default.FORM_READY,(function(e){x(e)})).on(u.default.REPLAY_SHOWN,(function(){b.hide()})).on(u.default.GOING_BACK,(function(){v(d),w(r),w(h)})).on(u.default.ENABLING_AUDIO,(function(){g(\"Buttons: onEnablingAudio()\"),_(r),_(p),_(m)})).on(u.default.DISABLING_AUDIO,(function(){g(\"Buttons: onDisablingAudio()\"),_(r),_(p),_(m)})).on(u.default.STARTING_OVER,(function(){w(h)})).on(u.default.CONNECTED,(function(){t.loadUserMediaOnRecord&&E(r)&&R(r)})).on(u.default.DISCONNECTED,(function(){_(r),_(p),_(m)})).on(u.default.ERROR,(function(e){e.hideButtons&&e.hideButtons()&&t.adjustFormOnBrowserError&&b.hide()}))}this.enableSubmit=function(){R(h)},this.adjustButtonsForPause=function(){b.isCountingDown()||(s&&v(s),w(c),R(c),v(r),w(f),R(f))},this.reset=function(){t.debug(\"Buttons: reset()\"),_(s),_(c),_(r),_(f),_(d),_(p),_(m)},this.isRecordAgainButtonEnabled=function(){return!d.disabled},this.isReady=function(){return!!r&&this.isRecordButtonEnabled()},this.isRecordButtonEnabled=function(){return!r.disabled},this.setSubmitButton=function(e){h=e},this.getSubmitButton=function(){return h},this.build=function(){(n=e.querySelector(\".\".concat(t.selectors.buttonsClass)))||(n=(0,a.default)(\"div.\".concat(t.selectors.buttonsClass)),e.appendChild(n)),t.disableSubmit||(h?_(h):h=k(t.selectors.submitButtonClass,\"Submit\",null,!0,t.selectors.submitButtonId,\"submit\",t.selectors.submitButtonSelector,t.enableAutoValidation),!e.hasForm()&&h&&A(h,D)),r=k(t.selectors.recordButtonClass,t.text.buttons.record,N,!1),t.enablePause&&(s=k(t.selectors.pauseButtonClass,t.text.buttons.pause,e.pause,!1)),t.enablePause&&(c=k(t.selectors.resumeButtonClass,t.text.buttons.resume,e.resume,!1)),f=k(t.selectors.previewButtonClass,t.text.buttons.preview,e.stop,!1),d=k(t.selectors.recordAgainButtonClass,t.text.buttons.recordAgain,j,!1),t.audio&&t.audio.switch&&(m=O({id:\"audioOffOption\",name:\"audio\",value:\"off\",label:t.text.audioOff,checked:!t.isAudioEnabled(),changeHandler:function(){e.disableAudio()}}),p=O({id:\"audioOnOption\",name:\"audio\",value:\"on\",label:t.text.audioOn,checked:t.isAudioEnabled(),changeHandler:function(){e.enableAudio()}})),!y&&M(),y=!0},this.unload=function(){y&&(b.reset(),g(\"Buttons: unload()\"),b.removeAllListeners(),b.hide(),y=!1)},this.hide=function(e){v(n),e&&e.deep&&(v(r),v(s),v(c),v(f),v(d),v(h),v(p),v(m))},this.show=function(){w(n)},this.isCountingDown=function(){return e.isCountingDown()}};(0,s.default)(c,l.default);n.default=c},{\"../events\":113,\"../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,contains:24,hidden:60,hyperscript:62,inherits:65}],128:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"@babel/runtime/helpers/defineProperty\")),o=r(e(\"document-visibility\")),a=r(e(\"hidden\")),s=r(e(\"insert-css\")),u=r(e(\"safe-json-stringify\")),l=r(e(\"inherits\")),c=r(e(\"../styles/css/main.min.css.js\")),f=r(e(\"../events\")),d=r(e(\"../resource\")),h=r(e(\"../util/eventEmitter\")),p=r(e(\"../util/videomailError\")),m=r(e(\"./buttons\")),y=r(e(\"./dimension\")),b=r(e(\"./form\")),g=r(e(\"./optionsWrapper\")),v=r(e(\"./visuals\")),w=function(e){h.default.call(this,e,\"Container\");var t,n,r,l=this,w=(0,o.default)(),E=new v.default(this,e),_=new m.default(this,e),R=new d.default(e),S=document.querySelector(\"html\"),A=e.debug,O=!1,k=!1,x=!1;function T(){return t&&\"FORM\"===t.tagName?t:e.selectors.formId?document.getElementById(e.selectors.formId):function(){if(t)return t.closest(\"form\")}()}function j(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A(\"Container: initEvents (playerOnly = \".concat(t,\")\")),e.enableAutoUnload&&window.addEventListener(\"beforeunload\",(function(e){l.unload(e)}),{once:!0}),t||w.onChange((function(t){n&&(t?(e.isAutoPauseEnabled()&&l.isCountingDown()&&l.resume(),l.emit(f.default.VISIBLE)):(e.isAutoPauseEnabled()&&(l.isCountingDown()||l.isRecording())&&l.pause(\"document invisible\"),l.emit(f.default.INVISIBLE)))})),e.enableSpace&&(t||window.addEventListener(\"keypress\",(function(t){var n,r=null===(n=t.target)||void 0===n?void 0:n.tagName;t.target.isContentEditable||\"true\"===t.target.contentEditable||!0===t.target.contentEditable||\"INPUT\"===r||\"TEXTAREA\"===r||32===t.code&&(t.preventDefault(),e.enablePause?E.pauseOrResume():E.recordOrStop())}))),l.on(f.default.ERROR,(function(t){!function(t){O=!0,t.stack?e.logger.error(t.stack):e.logger.error(t.message),e.displayErrors?E.error(t):E.reset()}(t),l.endWaiting(),t.removeDimensions&&t.removeDimensions()&&N()})),t||l.on(f.default.LOADED_META_DATA,(function(){D()}))}function D(){if(e.video.stretch)N();else if(t){var n=E.getRecorderWidth(!0);if(n<1)throw p.default.create(\"Recorder width cannot be less than 1!\",e);t.style.width=\"\".concat(n,\"px\")}}function N(){t&&(t.style.width=\"auto\")}function M(e,t,n,r,i){l.endWaiting(),e?l.emit(f.default.ERROR,e):(k=!0,r&&i&&i.body&&Object.keys(i.body).forEach((function(e){r[e]=i.body[e]})),l.emit(f.default.SUBMITTED,n,r||i),i&&\"text/html\"===i.type&&i.text&&(document.body.innerHTML=i.text))}!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)}(),this.buildForm=function(){if(!r){var t=T();if(t){var n=(r=new b.default(l,t,e)).findSubmitButton();n&&_.setSubmitButton(n),r.build()}}},this.addPlayerDimensions=function(e){try{if(!e)throw new Error(\"Videomail data is missing for attaching player dimensions\");var t=l.getReplay().getParentElement();return e.playerHeight=l.calculateHeight({responsive:!0,videoWidth:e.width,ratio:e.height/e.width},t),e.playerWidth=l.calculateWidth({responsive:!0,videoHeight:e.playerHeight,ratio:e.height/e.width}),e}catch(e){l.emit(f.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(g.default.merge(e,t))},this.calculateHeight=function(n,r){return r||(r=t||document.body),y.default.calculateHeight(r,g.default.merge(e,n))},this.hasElement=function(){return Boolean(t)},this.build=function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{playerOnly:!1,replayParentElementId:void 0,replayParentElement:void 0};A(\"Container: build (\".concat((0,u.default)(r),\")\"));try{e.insertCss&&(0,s.default)(c.default,{prepend:!0});var i,o,a=e.selectors.containerId;if(t=a?document.getElementById(e.selectors.containerId):document.createElement(\"div\"),r.replayParentElement?i=r.replayParentElement:r.replayParentElementId&&(i=document.getElementById(r.replayParentElementId)),!t&&i)null!==(o=i)&&void 0!==o&&o.classList.contains(e.selectors.containerClass)&&(t=i);!n&&j(r.playerOnly),playerOnly||D(),l.buildForm(),function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0;A(\"Container: buildChildren (playerOnly = \".concat(n).concat(r?', replayParentElement=\"'.concat(r.id,'\"'):\"\",\")\")),t&&t.classList.add(e.selectors.containerClass),n||_.build(),E.build(n,r)}(r.playerOnly,r.playerOnly?i||t:void 0),O?A(\"Container: building failed due to an error.\"):(A(\"Container: built.\"),n=!0,l.emit(f.default.BUILT))}catch(e){l.emit(f.default.ERROR,e)}return t},this.getSubmitButton=function(){return _.getSubmitButton()},this.querySelector=function(e){if(t)return t.querySelector(e)},this.beginWaiting=function(){S.classList&&S.classList.add(\"wait\")},this.endWaiting=function(){S.classList&&S.classList.remove(\"wait\")},this.appendChild=function(e){t&&t!==e&&t.appendChild(e)},this.insertBefore=function(e,n){t&&t.insertBefore(e,n)},this.unload=function(e){try{if(!n)return;A(\"Container: unload(\".concat(e?(0,u.default)(e):\"\",\")\")),l.emit(f.default.UNLOADING),function(e){E.unload(e),_.unload(),r&&(r.unload(),r=void 0),l.endWaiting()}(e),l.removeAllListeners(),l.hide(),n=k=!1}catch(e){l.emit(f.default.ERROR,e)}},this.show=function(){if(!t)throw new Error(\"No container element exists.\");if((0,a.default)(t,!1),E.show(),!O){var e=l.isPaused();e&&_.adjustButtonsForPause(),_.show(),l.isReplayShown()?l.emit(f.default.PREVIEW):l.emit(f.default.FORM_READY,{paused:e})}return t},this.hide=function(){A(\"Container: hide()\"),O=!1,l.isRecording()&&l.pause(),E.hide(),k&&(_.hide(),(0,a.default)(t,!0))},this.startOver=function(e){try{A(\"Container: startOver(\".concat(e?(0,u.default)(e):\"\",\")\")),k=!1,l.build(),l.emit(f.default.STARTING_OVER),E.back(e,(function(){l.enableForm(),e&&e.keepHidden||l.show(e)}))}catch(e){l.emit(f.default.ERROR,e)}},this.showReplayOnly=function(){O=!1,l.isRecording()&&l.pause(),E.showReplayOnly(),k&&_.hide()},this.isNotifying=function(){return E.isNotifying()},this.isPaused=function(){return E.isPaused()},this.pause=function(e){E.pause(e)},this.validate=function(t,n){var o=!0,a=!0;if(e.enableAutoValidation?n?o=n:l.isNotifying()?o=!1:E.isConnected()?o=E.isUserMediaLoaded()||E.isReplayShown():E.isConnecting()&&(o=!1):(o=!1,x=!0),o){var s,u=null==t||null===(s=t.target)||void 0===s?void 0:s.name;u?l.emit(f.default.VALIDATING,{targetName:u}):l.emit(f.default.VALIDATING,t);var c,d,h=E.validate()&&_.isRecordAgainButtonEnabled();if(r){var p=r.getInvalidElement();if(p?(a=!1,c='Input \"'.concat(p.name,'\" seems wrong 🤔'),d=(0,i.default)({},p.name,p.value)):E.isHidden()||h||(_.isReady()||l.isRecording()||l.isPaused()||l.isCountingDown())&&(a=!1,c=\"Don't forget to record a video 😉\",d={key:void 0}),a){var m,y,b,g=r.getRecipients(),v=\"to\"in g,w=\"cc\"in g,R=\"bcc\"in g,S=(null===(m=g.to)||void 0===m?void 0:m.length)>0,A=(null===(y=g.cc)||void 0===y?void 0:y.length)>0,O=(null===(b=g.bcc)||void 0===b?void 0:b.length)>0;v?S||(w&&R?A||O||(a=!1):w?A||(a=!1):R&&O||(a=!1)):w&&(A||R&&!O&&(a=!1)),a||(c=\"At least one recipient is required\")}}else a=h;a?l.emit(f.default.VALID):d?l.emit(f.default.INVALID,c,d):l.emit(f.default.INVALID,c),x=a}return a},this.disableForm=function(e){r&&r.disable(e)},this.enableForm=function(e){r&&r.enable(e)},this.hasForm=function(){return Boolean(r)},this.submitAll=function(t,n,i){var o=[n,i].filter(Boolean).join(\": \");function a(){l.beginWaiting(),l.disableForm(!0),l.emit(f.default.SUBMITTING)}A(\"Container: submitAll(\".concat(o,\")\"));Boolean(t[e.selectors.keyInputName])?(a(),function(e,t,n){var i=r.transformFormData(e);!function(e){return!e||\"POST\"===e.toUpperCase()}(t)?function(e){return!!e&&\"PUT\"===e.toUpperCase()}(t)&&R.put(i,n):(i.recordingStats=E.getRecordingStats(),i.width=E.getRecorderWidth(!0),i.height=E.getRecorderHeight(!0),navigator.connection&&(i.connection={downlink:\"\".concat(navigator.connection.downlink,\" Mbit/s\"),effectiveType:navigator.connection.effectiveType,rtt:navigator.connection.rtt,type:navigator.connection.type}),R.post(i,n))}(t,n,(function(e,t,n){M(e||null,0,t,n)}))):e.enableAutoSubmission&&(a(),function(t,n,r,i){r&&\"\"!==r||(r=e.baseUrl),n&&e.submitWithVideomail&&(t.videomail=n.videomail),R.form(t,r,i)}(t,null,i,(function(e,t){M(e,0,null,null,t)})))},this.isBuilt=function(){return n},this.isReplayShown=function(){return E.isReplayShown()},this.isDirty=function(){var e=!1;return r&&(E.isRecorderUnloaded()||k?e=!1:(l.isReplayShown()||l.isPaused())&&(e=!0)),e},this.getReplay=function(){return E.getReplay()},this.isOutsideElementOf=function(e){return e.parentNode!==t&&e!==t},this.hideForm=function(e){r&&r.hide(),_&&_.hide(e)},this.loadForm=function(e){r&&(r.loadVideomail(e),l.validate())},this.enableAudio=function(){e.setAudioEnabled(!0),l.emit(f.default.ENABLING_AUDIO)},this.disableAudio=function(){e.setAudioEnabled(!1),l.emit(f.default.DISABLING_AUDIO)},this.submit=function(){A(\"Container: submit()\"),x&&r&&r.doTheSubmit()},this.isCountingDown=E.isCountingDown.bind(E),this.isRecording=E.isRecording.bind(E),this.record=E.record.bind(E),this.resume=E.resume.bind(E),this.stop=E.stop.bind(E),this.recordAgain=E.recordAgain.bind(E)};(0,l.default)(w,h.default);n.default=w},{\"../events\":113,\"../resource\":115,\"../styles/css/main.min.css.js\":116,\"../util/eventEmitter\":122,\"../util/videomailError\":126,\"./buttons\":127,\"./dimension\":129,\"./form\":130,\"./optionsWrapper\":131,\"./visuals\":132,\"@babel/runtime/helpers/defineProperty\":3,\"@babel/runtime/helpers/interopRequireDefault\":4,\"document-visibility\":31,hidden:60,inherits:65,\"insert-css\":66,\"safe-json-stringify\":93}],129:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"./../util/videomailError\"));function o(e,t){if(t.hasDefinedHeight()&&(e=e?Math.min(t.video.height,e):t.video.height),Number.isInteger(e)&&e<1)throw i.default.create(\"Got a video height less than 1 (\".concat(e,\") while figuring out the minimum!\"),t);return e}n.default={limitWidth:function(e,t,n){if(!e)return t;var r,o=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?o>0&&o0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0;g(\"Visuals: buildChildren (playerOnly = \".concat(r).concat(i?', replayParentElement=\"'.concat(i.id,'\"'):\"\",\")\")),(t=e.querySelector(\"noscript\"))&&((t=(0,o.default)(\"noscript\")).innerHTML=\"Please enable Javascript\",n.appendChild(t)),r||(b.build(),y.build()),p.build(i)}function w(){t.video.stretch?E():n&&m&&(n.style.width=\"\".concat(a.getRecorderWidth(!0),\"px\"),n.style.height=\"\".concat(a.getRecorderHeight(!0),\"px\"))}function E(){n&&(n.style.width=\"auto\",n.style.height=\"auto\")}function _(){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(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1?arguments[1]:void 0;if(g(\"Visuals: build (playerOnly=\".concat(i,\")\")),e){if(!(n=s?s.querySelector(\".\".concat(t.selectors.visualsClass)):e.querySelector(\".\".concat(t.selectors.visualsClass)))){n=i&&s?s:(0,o.default)(\"div.\".concat(t.selectors.visualsClass));var l=e.querySelector(\".\".concat(t.selectors.buttonsClass));l&&!e.isOutsideElementOf(l)?e.insertBefore(n,l):e.appendChild(n)}n.classList.add(\"visuals\")}w(),!r&&function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n||(g(\"Visuals: initEvents (playerOnly = \".concat(n,\")\")),a.on(u.default.USER_MEDIA_READY,(function(){r=!0,a.endWaiting(),e.enableForm(!1)})).on(u.default.PREVIEW,(function(){a.endWaiting()})).on(u.default.BLOCKING,(function(n){(n.hideForm||t.adjustFormOnBrowserError)&&e.disableForm(!0)})).on(u.default.PREVIEW_SHOWN,(function(){e.validate(void 0,!0)})).on(u.default.LOADED_META_DATA,(function(){w()})).on(u.default.ERROR,(function(e){e.removeDimensions&&e.removeDimensions()&&E()})))}(i),v(i,n||s),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(),m.reset()},this.beginWaiting=function(){e.beginWaiting()},this.endWaiting=function(){e.endWaiting()},this.stop=function(e){m.stop(e),y.hidePause()},this.back=function(e,t){!t&&e&&(t=e,e={}),g(\"Visuals: back(\".concat(e?(0,s.default)(e):\"\",\")\")),p.hide(),b.hide(),e&&e.keepHidden?(m.hide(),t&&t()):m.back(t)},this.recordAgain=function(){this.back((function(){t.loadUserMediaOnRecord?a.once(u.default.SERVER_READY,(function(){a.record()})):a.once(u.default.USER_MEDIA_READY,(function(){a.record()}))}))},this.unload=function(e){try{if(!r)return;g(\"Visuals: unload(\".concat(e?(0,s.default)(e):\"\",\")\")),a.removeAllListeners(),m.unload(e),y.unload(e),p.unload(),e instanceof Error||this.hide(),r=!1}catch(e){this.emit(u.default.ERROR,e)}},this.isNotifying=function(){return b.isVisible()},this.isReplayShown=function(){return p.isShown()},this.pause=function(e){m.pause(e),y.showPause()},this.resume=function(){y.isCountingDown()?y.resumeCountdown():m.resume(),y.hidePause()},this.pauseOrResume=function(){_.call(this)&&(this.isRecording()?this.pause():m.isPaused()?this.resume():m.isReady()&&this.record())},this.recordOrStop=function(){_()&&(this.isRecording()?this.stop():m.isReady()&&this.record())},this.record=function(){t.video.countdown?(this.emit(u.default.COUNTDOWN),y.startCountdown(m.record.bind(m))):m.record()},this.getRecorder=function(){return m},this.getReplay=function(){return p},this.validate=function(){return m.validate()&&this.isReplayShown()},this.getRecordingStats=function(){return m.getRecordingStats()},this.getAudioSampleRate=function(){return m.getAudioSampleRate()},this.isPaused=function(){return m.isPaused()},this.error=function(e){b.error(e)},this.hide=function(){n&&((0,i.default)(n,!0),this.emit(u.default.HIDE))},this.isHidden=function(){return!r||(n?(0,i.default)(n):void 0)},this.showVisuals=function(){(0,i.default)(n,!1)},this.show=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]||this.isReplayShown()||m.build(),this.showVisuals()},this.showReplayOnly=function(){this.show(!0),m.hide(),b.hide()},this.isRecorderUnloaded=function(){return m.isUnloaded()},this.isConnecting=function(){return m.isConnecting()},this.getRecorderWidth=function(e){return m.getRecorderWidth(e)},this.getRecorderHeight=function(e,t){return m.getRecorderHeight(e,t)},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 b&&b.isBuilt()},this.isReplayShown=p.isShown.bind(p),this.hideReplay=p.hide.bind(p),this.hideRecorder=m.hide.bind(m),this.isRecording=m.isRecording.bind(m),this.isUserMediaLoaded=m.isUserMediaLoaded.bind(m),this.isConnected=m.isConnected.bind(m)};(0,a.default)(p,l.default);n.default=p},{\"../events\":113,\"../util/eventEmitter\":122,\"./visuals/inside/recorderInsides\":138,\"./visuals/notifier\":139,\"./visuals/recorder\":140,\"./visuals/replay\":141,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62,inherits:65,\"safe-json-stringify\":93}],133:[function(e,t,n){\"use strict\";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,o.default)(\"p.countdown\"),this.hide(),e.appendChild(n))},this.show=function(){(0,i.default)(n,!1)},this.isCountingDown=function(){return Boolean(r)},this.unload=function(){clearInterval(r),s=!1,r=null},this.hide=function(){(0,i.default)(n,!0),this.unload()}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],134:[function(e,t,n){\"use strict\";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,o.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,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\")),a=r(e(\"./../../../../events\")),s=r(e(\"./../../../../util/eventEmitter\"))},{\"./../../../../events\":113,\"./../../../../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],135:[function(e,t,n){\"use strict\";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,o.default)(\"div.paused\"),r=(0,o.default)(\"p.pausedHeader\"),this.hide(),r.innerHTML=t.text.pausedHeader,n.appendChild(r),u()&&(s=e.querySelector(\".pausedHint\"),(s=(0,o.default)(\"p.pausedHint\")).innerHTML=t.text.pausedHint,n.appendChild(s)),e.appendChild(n))},this.hide=function(){(0,i.default)(n,!0)},this.show=function(){(0,i.default)(n,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\")),a=r(e(\"./../../../../util/videomailError\"))},{\"./../../../../util/videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],136:[function(e,t,n){\"use strict\";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,o.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,i.default)(t,!0)},this.show=function(){(0,i.default)(t,!1)}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],137:[function(e,t,n){\"use strict\";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, \".concat(s,\" seconds to go\"))):(t.setNear(),r.classList.add(\"near\"),n.debug(\"End is near, \".concat(s,\" seconds to go\")))}r.innerHTML=\"\".concat(i,\":\").concat((e=o)<10?\"0\".concat(e):e)}function d(){(0,i.default)(r,!0)}function h(){return n.video.limitSeconds}this.check=function(t){var n=h()-Math.floor(t.intervalSum/1e3);n!==s&&(s=n,f(),s<1&&e.stop(!0))},this.start=function(){s=h(),u=l=!1,a=!0,f(),r.classList.remove(\"near\"),r.classList.remove(\"nigh\"),(0,i.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 ~\".concat(h()-s,\" seconds.\")),d(),t.stop(),s=null,a=!1)},this.build=function(){(r=e.querySelector(\".recordTimer\"))?d():(r=(0,o.default)(\"p.recordTimer\"),d(),e.appendChild(r))}};var i=r(e(\"hidden\")),o=r(e(\"hyperscript\"))},{\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62}],138:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"inherits\")),o=r(e(\"./../../../events\")),a=r(e(\"./../../../util/browser\")),s=r(e(\"./../../../util/eventEmitter\")),u=r(e(\"./recorder/countdown\")),l=r(e(\"./recorder/facingMode\")),c=r(e(\"./recorder/pausedNote\")),f=r(e(\"./recorder/recordNote\")),d=r(e(\"./recorder/recordTimer\")),h=function(e,t){s.default.call(this,t,\"RecorderInsides\");var n,r,i,h,p=this,m=t.debug,y=new f.default(e),b=new d.default(e,y,t),g=new a.default(t);function v(){p.hidePause(),p.hideCountdown(),b.stop(),h&&h.hide()}function w(){m(\"RecorderInsides: initEvents()\"),p.on(o.default.USER_MEDIA_READY,(function(){h&&h.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(){p.isCountingDown()?n.pause():b.pause()})).on(o.default.ERROR,v).on(o.default.RESETTING,v).on(o.default.HIDE,(function(){p.hideCountdown()}))}t.video.countdown&&(n=new u.default(e,t)),t.video.facingModeButton&&g.isMobile()&&(h=new l.default(e,t)),t.enablePause&&(r=new c.default(e,t)),this.build=function(){m(\"RecorderInsides: build()\"),n&&n.build(),r&&r.build(),h&&h.build(),y.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)}};(0,i.default)(h,s.default);n.default=h},{\"./../../../events\":113,\"./../../../util/browser\":120,\"./../../../util/eventEmitter\":122,\"./recorder/countdown\":133,\"./recorder/facingMode\":134,\"./recorder/pausedNote\":135,\"./recorder/recordNote\":136,\"./recorder/recordTimer\":137,\"@babel/runtime/helpers/interopRequireDefault\":4,inherits:65}],139:[function(e,t,n){\"use strict\";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(\"inherits\")),s=r(e(\"../../events\")),u=r(e(\"../../util/eventEmitter\")),l=\"notifierMessage\",c=function(e,t){u.default.call(this,t,\"Notifier\");var n,r,a,c,f,d=this,h=t&&t.debug,p=document.getElementById(l);function m(){h(\"Notifier: initEvents()\"),d.on(s.default.CONNECTING,(function(){d.notify(\"Connecting …\")})).on(s.default.LOADING_USER_MEDIA,(function(){d.notify(\"Loading webcam …\")})).on(s.default.USER_MEDIA_READY,(function(){t.video.stretch?(n.style.width=\"auto\",n.style.height=\"\".concat(e.getRecorderHeight(!0,!0),\"px\")):(n.style.width=\"\".concat(e.getRecorderWidth(!0),\"px\"),n.style.height=\"\".concat(e.getRecorderHeight(!0),\"px\")),d.hide()})).on(s.default.LOADED_META_DATA,(function(){})).on(s.default.PREVIEW,(function(){d.hide()})).on(s.default.STOPPING,(function(n){!function(n){var r=\"\";e.beginWaiting(),n&&(h(\"Limit reached\"),r+=\"\".concat(t.text.limitReached,\".
\")),r+=\"\".concat(t.text.sending,\" …\"),d.notify(r,null,{stillWait:!0,entertain:t.notifier.entertain})}(n)})).on(s.default.PROGRESS,(function(e,n){!function(e,n){var r;t.isAudioEnabled()?(r=\"Video: \".concat(e),n&&(r+=\", Audio: \".concat(n))):r=e,v(r)}(e,n)})).on(s.default.BEGIN_VIDEO_ENCODING,(function(){!function(){e.beginWaiting();var n=\"\".concat(t.text.encoding,\" …\");d.notify(n,null,{stillWait:!0,entertain:t.notifier.entertain}),w()}()})).on(s.default.UNLOADING,(function(){d.notify(\"Unloading …\")})).on(s.default.DISCONNECTED,(function(){d.notify(\"Disconnected\")})).on(s.default.CONNECTED,(function(){d.notify(\"Connected\"),t.loadUserMediaOnRecord&&d.hide()}))}function y(){if(t.notifier.entertain){if(!c){var e=Math.floor(Math.random()*t.notifier.entertainLimit+1);n.className=\"notifier entertain \".concat(t.notifier.entertainClass).concat(e),a=setTimeout(y,t.notifier.entertainInterval),c=!0}}else b()}function b(){n&&n.classList.remove(\"entertain\"),clearTimeout(a),a=null,c=!1}function g(){return p||(p=document.getElementById(l))}function v(e){t.debug(\"Notifier: setExplanation(\".concat(e,\")\")),r||(r=(0,o.default)(\"p\",{className:\"explanation\"}),n?n.appendChild(r):t.logger.warn(\"Unable to show explanation because notifyElement is empty:\",e)),r.innerHTML=e,(0,i.default)(r,!1)}function w(){r&&(0,i.default)(r,!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 error 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.build=function(){t.debug(\"Notifier: build()\"),(n=e.querySelector(\".notifier\"))?this.hide():(n=(0,o.default)(\".notifier\"),this.hide(),e.appendChild(n)),!f&&m(),f=!0},this.hide=function(){b(),n&&((0,i.default)(n,!0),n.classList.remove(\"blocking\")),g()&&(0,i.default)(p,!0),w()},this.isVisible=function(){return!!f&&(n&&!(0,i.default)(n))},this.isBuilt=function(){return f},this.notify=function(a,u){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=[a,u].filter(Boolean);t.debug(\"Notifier: notify(\".concat(f.join(\", \"),\")\"));var d=!!c.stillWait&&c.stillWait,h=!!c.entertain&&c.entertain,m=!!c.blocking&&c.blocking,w=!!c.hideForm&&c.hideForm,E=!!c.classList&&c.classList,_=!!c.removeDimensions&&c.removeDimensions;n&&(h||(n.className=\"notifier\"),E&&E.forEach((function(e){n.classList.add(e)})),_&&(n.style.width=\"auto\",n.style.height=\"auto\")),m?(n&&n.classList.add(\"blocking\"),this.emit(s.default.BLOCKING,{hideForm:w})):this.emit(s.default.NOTIFYING),e.hideReplay(),e.hideRecorder(),function(e,a){if(t.debug(\"Notifier: setMessage(\".concat(e,\")\")),g()||(p=(0,o.default)(\"h2\",{id:l}),n?r?n.insertBefore(p,r):n.appendChild(p):t.logger.warn(\"Unable to show message \".concat(e,\" because notifyElement is empty\"))),e.length>0){var s=!!a.problem&&a.problem;p.innerHTML=(s?\"☹ \":\"\")+e}else t.logger.warn(\"Not going to update notifierMessage element because message is empty\");(0,i.default)(p,!1)}(a,c),u&&u.length>0&&v(u),h?y():b(),e.showVisuals(),n&&(0,i.default)(n,!1),!d&&e.endWaiting()}};(0,a.default)(c,u.default);n.default=c},{\"../../events\":113,\"../../util/eventEmitter\":122,\"@babel/runtime/helpers/interopRequireDefault\":4,hidden:60,hyperscript:62,inherits:65}],140:[function(e,t,n){(function(t){(function(){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;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(\"inherits\")),c=r(e(\"safe-json-stringify\")),f=r(e(\"websocket-stream\")),d=r(e(\"../../constants\")),h=r(e(\"../../events\")),p=r(e(\"../../util/browser\")),m=r(e(\"../../util/eventEmitter\")),y=r(e(\"../../util/humanize\")),b=r(e(\"../../util/pretty\")),g=r(e(\"../../util/videomailError\")),v=r(e(\"./userMedia\")),w=\"°º¤ø,¸¸,ø¤º°`°º¤ø,¸,ø¤°º¤ø,¸¸,ø¤º°`°º¤ø,¸ \",E=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};m.default.call(this,r,\"Recorder\");var l=new p.default(r),E=(0,a.default)(r,{image:{quality:l.isMobile()?r.image.quality-.05:r.image.quality}});if(!E.video||!E.video.fps)throw g.default.create(\"FPS must be defined\",E);var _,R,S,A,O,k,x,T,j,D,N,M,C,I,P,L,B,U,F,W,q,H,V,z,G,$,Y=this,K=E.debug,J=null,X=0,Q=0,Z=E.video.facingMode,ee={},te=0,ne=0;function re(e,t){if(L)if(L.destroyed)ie(),Y.emit(h.default.ERROR,g.default.create(\"Already disconnected\",\"Sorry, connection to the server has been destroyed. Please reload.\",E));else{var n=t&&t.onFlushedCallback;try{L.write(e,(function(){if(n)try{n(t)}catch(e){Y.emit(h.default.ERROR,g.default.create(\"Failed to write stream buffer\",\"stream.write() failed because of \".concat((0,b.default)(e)),E))}}))}catch(e){Y.emit(h.default.ERROR,g.default.create(\"Failed writing to server\",\"stream.write() failed because of \".concat((0,b.default)(e)),E))}}}function ie(){clearInterval(V)}function oe(e){X++,re(e.toBuffer())}function ae(){R&&(0,s.default)(R,!1)}function se(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{K(\"Recorder: onUserMediaReady()\",(0,c.default)(t));var n=t.switchingFacingMode;M=F=I=C=!1,N=!0,n||(e=(0,i.default)({fps:E.video.fps},Ae),_=e.getRequestAnimationFrameObject(),J=e),ae(),t.recordWhenReady&&Y.record(),Y.emit(h.default.USER_MEDIA_READY,{switchingFacingMode:t.switchingFacingMode,paused:Y.isPaused(),recordWhenReady:t.recordWhenReady})}catch(e){Y.emit(h.default.ERROR,e)}}function ue(){return\"\".concat((te/(Q||1)*100).toFixed(2),\"%\")}function le(){return\"\".concat((ne/(X||1)*100).toFixed(2),\"%\")}function ce(){x||(x=ue()),T||(T=le()),Y.emit(h.default.PROGRESS,x,T)}function fe(e){if(!U){B=!0,K(\"Recorder: initializing web socket to %s\",E.socketUrl),Y.emit(h.default.CONNECTING);var t=\"\".concat(E.socketUrl,\"?\").concat(encodeURIComponent(d.default.SITE_NAME_LABEL),\"=\").concat(encodeURIComponent(E.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: \".concat((0,b.default)(e)),E):g.default.create(\"Failed to connect to server\",\"Please upgrade your browser. Your current version does not seem to support websockets.\",E,{browserProblem:!0}),Y.emit(h.default.ERROR,n)}L&&(L.on(\"close\",(function(e){K(\"\".concat(w,\"Stream has closed\")),B=U=!1,e?Y.emit(h.default.ERROR,e||\"Unhandled websocket error\"):N&&fe()})),L.on(\"connect\",(function(){K(\"\".concat(w,\"Stream *connect* event emitted\"));var t=this.socket.readyState===WebSocket.CLOSING;U||t||I||(U=!0,B=I=!1,Y.emit(h.default.CONNECTED),e&&e())})),L.on(\"data\",(function(e){var t;K(\"\".concat(w,\"Stream *data* event emitted\"));try{t=JSON.parse(e.toString())}catch(t){K(\"Failed to parse command:\",t),Y.emit(h.default.ERROR,g.default.create(\"Invalid server command\",\"Contact us asap. Bad command was \".concat(e.toString(),\". \"),E))}finally{ye.call(Y,t)}})),L.on(\"error\",(function(e){K(\"\".concat(w,\"Stream *error* event emitted: \").concat((0,c.default)(e)))})),L.on(\"drain\",(function(){K(\"\".concat(w,\"Stream *drain* event emitted (should not happen!)\"))})),L.on(\"preend\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"end\",(function(){K(\"\".concat(w,\"Stream *end* event emitted\"))})),L.on(\"drain\",(function(){K(\"\".concat(w,\"Stream *drain* event emitted\"))})),L.on(\"pipe\",(function(){K(\"\".concat(w,\"Stream *pipe* event emitted\"))})),L.on(\"unpipe\",(function(){K(\"\".concat(w,\"Stream *unpipe* event emitted\"))})),L.on(\"resume\",(function(){K(\"\".concat(w,\"Stream *resume* event emitted\"))})),L.on(\"uncork\",(function(){K(\"\".concat(w,\"Stream *uncork* event emitted\"))})),L.on(\"readable\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"prefinish\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})),L.on(\"finish\",(function(){K(\"\".concat(w,\"Stream *preend* event emitted\"))})))}}function de(e){M=!1,Re(),K(\"Recorder: userMediaErrorCallback(), name: \".concat(e.name,\", message: \").concat(e.message,\" and Webcam characteristics: \").concat((0,c.default)(S.getCharacteristics())));var t=Y.listeners(h.default.ERROR);if(t&&t.length)e.name!==g.default.MEDIA_DEVICE_NOT_SUPPORTED?Y.emit(h.default.ERROR,g.default.create(e,E)):K(\"Recorder: ignore user media error\",e),O=setTimeout(fe,E.timeouts.userMedia);else{if(!I)throw K(\"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.\",E);K(\"Recorder: already unloaded. Not going to throw error\",e)}}function he(e,t){if(K(\"Recorder: getUserMediaCallback()\",(0,c.default)(t)),U&&(be()||!ge()||F))try{Re(),S.init(e,(function(){se(t)}),oe.bind(Y),(function(e){Y.emit(h.default.ERROR,e)}),t)}catch(e){Y.emit(h.default.ERROR,e)}}function pe(e){if(!navigator)throw new Error(\"Navigator is missing!\");if(K(\"Recorder: loadGenuineUserMedia()\"),Y.emit(h.default.ASKING_WEBCAM_PERMISSION),navigator.mediaDevices&&navigator.mediaDevices.getUserMedia){var t={video:{facingMode:Z,frameRate:{ideal:E.video.fps}},audio:E.isAudioEnabled()};l.isOkSafari()||(E.hasDefinedWidth()?t.video.width={ideal:E.video.width}:t.video.width={ideal:Y.limitWidth()},E.hasDefinedHeight()&&(t.video.height={ideal:E.video.height})),K(\"Recorder: navigator.mediaDevices.getUserMedia()\",(0,c.default)(t)),navigator.mediaDevices.getSupportedConstraints&&K(\"Recorder: navigator.mediaDevices.getSupportedConstraints()\",(0,c.default)(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.\",E);n.then((function(t){he(t,e)})).catch(de)}else K(\"Recorder: navigator.getUserMedia()\"),navigator.getUserMedia_({video:!0,audio:E.isAudioEnabled()},he,de)}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(N)return K(\"Recorder: skipping loadUserMedia() because it is already loaded\"),se(e),!1;if(M)return K(\"Recorder: skipping loadUserMedia() because it is already asking for permission\"),!1;K(\"Recorder: loadUserMedia(\".concat((0,c.default)(e),\")\")),Y.emit(h.default.LOADING_USER_MEDIA);try{A=setTimeout((function(){Y.isReady()||Y.emit(h.default.ERROR,l.getNoAccessIssue())}),E.timeouts.userMedia),M=!0,pe(e)}catch(e){if(K(\"Recorder: failed to load genuine user media\"),M=!1,!Y.listeners(h.default.ERROR).length)throw K(\"Recorder: no error listeners attached but throwing exception\",e),e;Y.emit(h.default.ERROR,e)}}function ye(e){var t;if(!I)try{switch(e.args?K(\"Server commanded: \".concat(e.command,\" with \").concat((0,c.default)(e.args))):K(\"Server commanded: \".concat(e.command)),e.command){case\"ready\":this.emit(h.default.SERVER_READY),A||(E.loadUserMediaOnRecord?ae():me());break;case\"preview\":!function(e){te=ne=X=Q=0,T=x=null,q=e.key,e.mp4&&n.setMp4Source(\"\".concat(e.mp4+d.default.SITE_NAME_LABEL,\"/\").concat(E.siteName,\"/videomail.mp4\"),!0),e.webm&&n.setWebMSource(\"\".concat(e.webm+d.default.SITE_NAME_LABEL,\"/\").concat(E.siteName,\"/videomail.webm\"),!0),Y.hide();var t=Y.getRecorderWidth(!0),r=Y.getRecorderHeight(!0);Y.emit(h.default.PREVIEW,q,t,r),H=Date.now()-P,ee.waitingTime=H,E.debug&&K(\"While recording, %s have been transferred and waiting time was %s\",y.default.filesize(k,2),y.default.toTime(H))}(e.args);break;case\"error\":this.emit(h.default.ERROR,g.default.create(\"Oh no, server error!\",e.args.err.toString()||\"(No message given)\",E));break;case\"confirmFrame\":t=e.args,te=t.frame?t.frame:te,x=ue(),ce();break;case\"confirmSample\":!function(e){ne=e.sample?e.sample:ne,T=le(),ce()}(e.args);break;case\"beginAudioEncoding\":this.emit(h.default.BEGIN_AUDIO_ENCODING);break;case\"beginVideoEncoding\":this.emit(h.default.BEGIN_VIDEO_ENCODING);break;default:this.emit(h.default.ERROR,\"Unknown server command: \".concat(e.command))}}catch(e){Y.emit(h.default.ERROR,e)}}function be(){return e.isNotifying()}function ge(){return!R||(0,s.default)(R)}function ve(e,n,r){if(!r&&n&&n.constructor===Function&&(r=n,n=null),U){if(L){K(n?\"$ \".concat(e,\" with \").concat((0,c.default)(n)):\"$ \".concat(e));var i={command:e,args:n};re(t.from((0,c.default)(i))),r&&setTimeout((function(){r()}),0)}}else K(\"Reconnecting for the command\",e,\"…\"),fe((function(){ve(e,n),r&&r()}))}function we(){return J.getElapsedTime()}function Ee(){if(0!==we())return Q/we()*1e3}function _e(){K(\"Recorder: reInitializeAudio()\"),Re(),S&&S.stop(),N=q=j=D=null,me()}function Re(){A&&(K(\"Recorder: clearUserMediaTimeout()\"),A&&clearTimeout(A),A=null)}function Se(e){1===(e&&e.frameNumber)&&Y.emit(h.default.FIRST_FRAME_SENT)}function Ae(n,r){try{if(!Y.isPaused()&&L&&D){if(0===Q&&Y.emit(h.default.SENDING_FIRST_FRAME),Q++,D.drawImage(S.getRawVisuals(),0,0,j.width,j.height),$=z.toBuffer(),(G=$.length)<1)throw g.default.create(\"Failed to extract webcam data.\",E);k+=G;var i=t.from((0,c.default)({frameNumber:Q}));re(t.concat([$,i]),{frameNumber:Q,onFlushedCallback:Se}),e.checkTimer({intervalSum:r})}}catch(e){Y.emit(h.default.ERROR,e)}}function Oe(e){if(J){var t=Y.isRecording();J.stop(),J.setRequestAnimationFrameObject(e),t&&J.start()}}function ke(){E.hasDefinedWidth()&&(R.width=Y.getRecorderWidth(!0)),E.hasDefinedHeight()&&(R.height=Y.getRecorderHeight(!0))}function xe(){K(\"Recorder: initEvents()\"),Y.on(h.default.SUBMITTING,(function(){C=!0})).on(h.default.SUBMITTED,(function(){C=!1})).on(h.default.BLOCKING,(function(){F=!0,Re()})).on(h.default.HIDE,(function(){Y.hide()})).on(h.default.LOADED_META_DATA,(function(){ke()})).on(h.default.DISABLING_AUDIO,(function(){_e()})).on(h.default.ENABLING_AUDIO,(function(){_e()})).on(h.default.INVISIBLE,(function(){!function(){K(\"Recorder: loopWithTimeouts()\");var e,t=1e3/E.video.fps,n=0;Oe({requestAnimationFrame:function(r){return setTimeout((function(){e=Date.now(),r(),n=Date.now()-e}),t-n)},cancelAnimationFrame:function(e){clearTimeout(e)}})}()})).on(h.default.VISIBLE,(function(){K(\"Recorder: restoreAnimationFrameObject()\"),Oe(_)})).on(h.default.SWITCH_FACING_MODE,(function(){!function(){if(!l.isMobile())return!1;\"user\"===Z?Z=\"environment\":\"environment\"===Z?Z=\"user\":K(\"Recorder: unsupported facing mode\",Z),pe({switchingFacingMode:!0})}()}))}function Te(){var t;if(S){var n=S.getVideoWidth();t=n<1?e.getRatio():S.getVideoHeight()/n}else t=E.getRatio();return t}this.getRecordingStats=function(){return ee},this.getAudioSampleRate=function(){return S.getAudioSampleRate()},this.stop=function(e){K(\"stop(\".concat((0,c.default)(e),\")\"));var t=e.limitReached;this.emit(h.default.STOPPING,t),J.complete();var r=this;setTimeout((function(){P=Date.now(),ee={avgFps:Ee(),wantedFps:E.video.fps,avgInterval:we()/Q,wantedInterval:1e3/E.video.fps,intervalSum:we(),framesCount:Q,videoType:n.getVideoType()},E.isAudioEnabled()&&(ee.samplesCount=X,ee.sampleRate=S.getAudioSampleRate()),ve(\"stop\",ee,(function(){r.emit(h.default.STOPPED,{recordingStats:ee})})),r.reset()}),60)},this.back=function(e){this.emit(h.default.GOING_BACK),I=!1,ae(),ve(\"back\",e)},this.unload=function(e){var t;!I&&W&&(e&&(t=e.name||e.statusText||e.toString()),K(\"Recorder: unload()\".concat(t?\", cause: \".concat(t):\"\")),this.reset(),Re(),S&&S.unloadRemainingEventListeners(),C||L&&(K(\"Recorder: ending stream ...\"),L.destroy(),L=void 0),I=!0,W=B=U=!1)},this.reset=function(){I||(K(\"Recorder: reset()\"),this.emit(h.default.RESETTING),J&&J.dispose(),S&&S.stop(),n.reset(),N=q=j=D=$=G=null)},this.validate=function(){return U&&null===j},this.isReady=function(){return S.isReady()},this.pause=function(e){var n=e&&e.event;n instanceof window.Event&&(e.eventType=n.type),K(e?\"pause() at frame \".concat(Q,\" with \").concat((0,c.default)(e)):\"pause() at frame \".concat(Q)),S.pause(),J.stop(),this.emit(h.default.PAUSED),V=window.setInterval((function(){K(\"Recorder: pinging...\"),re(t.from(\"\"))}),E.timeouts.pingInterval)},this.isPaused=function(){return S&&S.isPaused()},this.resume=function(){K(\"Recorder: resume() with frame \".concat(Q)),ie(),this.emit(h.default.RESUMING),S.resume(),J.start()},this.record=function(){if(I)return!1;if(!U)return K(\"Recorder: reconnecting before recording ...\"),fe((function(){Y.once(h.default.USER_MEDIA_READY,Y.record)})),!1;if(!N)return E.loadUserMediaOnRecord?me({recordWhenReady:!0}):Y.emit(h.default.ERROR,g.default.create(\"Load and enable your camera first\",E)),!1;try{j=S.createCanvas()}catch(e){return Y.emit(h.default.ERROR,g.default.create(e,E)),!1}return D=j.getContext(\"2d\"),j.width?j.height?(k=0,z=new o.default(j,E.image.types,E.image.quality),K(\"Recorder: record()\"),S.record(),Y.emit(h.default.RECORDING,Q),J.on(\"update\",(function(e,t){var n=void 0;n=0!==t?Math.round(Q/t*1e3):void 0,K(\"Recorder: avgFps = \".concat(n,\", framesCount = \").concat(Q))})),void J.start()):(Y.emit(h.default.ERROR,g.default.create(\"Canvas has an invalid height.\",E)),!1):(Y.emit(h.default.ERROR,g.default.create(\"Canvas has an invalid width.\",E)),!1)},this.build=function(){var t=l.checkRecordingCapabilities();t||(t=l.checkBufferTypes()),t?this.emit(h.default.ERROR,t):((R=e.querySelector(\"video.\".concat(E.selectors.userMediaClass)))||(R=(0,u.default)(\"video.\".concat(E.selectors.userMediaClass)),e.appendChild(R)),ke(),R.muted=!0,R.setAttribute(\"playsinline\",!0),R.setAttribute(\"webkit-playsinline\",\"webkit-playsinline\"),R.style.transform=\"rotateY(180deg)\",R.style[\"-webkit-transform\"]=\"rotateY(180deg)\",R.style[\"-moz-transform\"]=\"rotateY(180deg)\",E.video.stretch&&(R.style.width=\"100%\"),S||(S=new v.default(this,E)),ae(),W?E.loadUserMediaOnRecord&&me():(xe(),U?E.loadUserMediaOnRecord||me():fe()),W=!0)},this.isPaused=function(){return S&&S.isPaused()&&!J.isRunning()},this.isRecording=function(){return J&&J.isRunning()&&!this.isPaused()&&!be()&&L&&!L.destroyed},this.hide=function(){ge()||(R&&(0,s.default)(R,!0),Re(),O&&(K(\"Recorder: clearRetryTimeout()\"),clearTimeout(O),O=null))},this.isUnloaded=function(){return I},this.getRecorderWidth=function(e){return S&&S.hasVideoWidth()?S.getRawWidth(e):e&&E.hasDefinedWidth()?this.limitWidth(E.video.width):void 0},this.getRecorderHeight=function(e,t){return R&&t?R.getBoundingClientRect().height:S?S.getRawHeight(e):e&&E.hasDefinedHeight()?this.calculateHeight(e):void 0},this.calculateWidth=function(t){var n;return S?n=S.getVideoHeight():R&&(n=R.videoHeight||R.height),e.calculateWidth({responsive:t,ratio:Te(),videoHeight:n})},this.calculateHeight=function(t){var n;return S?n=S.getVideoWidth():R&&(n=R.videoWidth||R.width),e.calculateHeight({responsive:t,ratio:Te(),videoWidth:n})},this.getRawVisualUserMedia=function(){return R},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 N}};(0,l.default)(E,m.default);n.default=E}).call(this)}).call(this,e(\"buffer\").Buffer)},{\"../../constants\":112,\"../../events\":113,\"../../util/browser\":120,\"../../util/eventEmitter\":122,\"../../util/humanize\":123,\"../../util/pretty\":125,\"../../util/videomailError\":126,\"./userMedia\":142,\"@babel/runtime/helpers/interopRequireDefault\":4,animitter:13,buffer:18,\"canvas-to-buffer\":21,deepmerge:27,hidden:60,hyperscript:62,inherits:65,\"safe-json-stringify\":93,\"websocket-stream\":107}],141:[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"add-eventlistener-with-options\")),o=r(e(\"hidden\")),a=r(e(\"hyperscript\")),s=r(e(\"inherits\")),u=r(e(\"../../events\")),l=r(e(\"../../util/browser\")),c=r(e(\"../../util/eventEmitter\")),f=function(e,t){c.default.call(this,t,\"Replay\");var n,r,s,f=this,d=new l.default(t),h=t.debug;function p(){return\"HTMLDivElement\"===e.constructor.name}function m(e,n,i){var o=f.getVideoSource(e);if(n&&i&&(n+=\"?\".concat(Date.now())),o)n?o.setAttribute(\"src\",n):r.removeChild(o);else if(n){var s=1/t.video.fps*2;o=(0,a.default)(\"source\",{src:\"\".concat(n,\"#t=\").concat(s),type:\"video/\".concat(e)}),r.appendChild(o)}}function y(e){setTimeout((function(){try{r&&r.pause()}catch(e){t.logger.warn(e)}e&&e()}),15)}function b(){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(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(s=e)&&(s.mp4&&this.setMp4Source(s.mp4),s.webm&&this.setWebMSource(s.webm),s.vtt&&function(e){if(!r)return;var t=r.getElementsByTagName(\"track\"),n=t&&t[0];if(n)e?n.setAttribute(\"src\",e):r.removeChild(n);else{var i=(0,a.default)(\"track\",{src:e,kind:\"captions\",default:!0});r.appendChild(i),r.setAttribute(\"crossorigin\",\"anonymous\")}}(s.vtt),s.poster&&r.setAttribute(\"poster\",s.poster),function(e){var t;Object.keys(e).forEach((function(n){(t=r.parentNode.querySelector(\".\".concat(n)))&&(!t.innerHTML||t.innerHTML.length<1)&&(t.innerHTML=e[n])}))}(s));var n=s&&s.width,i=s&&s.height,o=s&&s.recordingStats&&s.recordingStats.sampleRate>0;this.show(n,i,o,t)},this.show=function(n,i,a){var l=arguments.length>3&&void 0!==arguments[3]&&arguments[3];r&&(f.isShown()||(h(\"Replay: show(playerOnly=\".concat(l,\")\")),s&&function(t){var n,i;s&&s.playerWidth?i=s.playerWidth:e.calculateWidth&&(i=e.calculateWidth(t)),s&&s.playerHeight?n=s.playerHeight:e.calculateHeight&&(n=e.calculateHeight(t)),r.style.width=i>0?\"\".concat(i,\"px\"):\"auto\",r.style.height=n>0?\"\".concat(n,\"px\"):\"auto\"}({responsive:!0,videoWidth:n||r.videoWidth,videoHeight:i||r.videoHeight}),(0,o.default)(r,!1),l?(0,o.default)(r.parentNode,!1):e&&(e.style?(0,o.default)(e,!1):e.show&&e.show()),a?r.setAttribute(\"volume\",1):t.isAudioEnabled()||r.setAttribute(\"muted\",!0),r.load(),s?r.addEventListener(\"canplaythrough\",(function(){f.emit(u.default.REPLAY_SHOWN)}),{once:!0}):r.addEventListener(\"canplaythrough\",(function(){f.emit(u.default.PREVIEW_SHOWN)}),{once:!0})))},this.build=function(o){h(\"Replay: build (\".concat(o?'replayParentElement=\"'.concat(o.id,'\"'):\"\",\")\")),(r=e.querySelector(\"video.\".concat(t.selectors.replayClass)))||function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e;if(\"string\"==typeof n&&!(n=document.getElementById(n)))throw new Error(\"No replay parent element container with ID \".concat(n,\" found.\"));var i=\"video.\".concat(t.selectors.replayClass);(r=n.querySelector(i))||(r=(0,a.default)(i),n.appendChild(r))}(o),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||(p()||this.on(u.default.PREVIEW,(function(e,t,n){f.show(t,n)})),(0,i.default)(r,\"touchstart\",(function(e){try{e&&e.preventDefault()}catch(e){}this.paused?b():y()})),r.onclick=function(e){e&&e.preventDefault(),this.paused?b():y()}),n=!0,h(\"Replay: built.\")},this.unload=function(){h(\"Replay: unload()\"),f.removeAllListeners(),r.remove(),r=void 0,s=void 0,n=!1},this.getVideoSource=function(e){if(r){var t,n,i=r.getElementsByTagName(\"source\"),o=i&&i.length,a=\"video/\".concat(e);if(o)for(n=0;n4&&void 0!==arguments[4]?arguments[4]:{};this.stop(e,{aboutToInitialize:!0,switchingFacingMode:u.switchingFacingMode});var l=!1,h=!1,b=!1;function g(){y.removeListener(a.default.SENDING_FIRST_FRAME,g),n&&n.record(i)}function w(){t.debug(\"UserMedia: unloadAllEventListeners()\"),y.unloadRemainingEventListeners(),y.removeListener(a.default.SENDING_FIRST_FRAME,g),p.removeEventListener&&p.removeEventListener(\"play\",k),p.removeEventListener&&p.removeEventListener(\"loadedmetadata\",x)}function A(){try{if(p.load(),p.paused){var e;t.debug(\"UserMedia: play()\",\"media.readyState=\".concat(p.readyState),\"media.paused=\".concat(p.paused),\"media.ended=\".concat(p.ended),\"media.played=\".concat((0,f.default)(p.played)));try{e=p.play()}catch(e){t.logger.warn(\"Caught raw usermedia play exception:\",e)}(n=e)&&\"undefined\"!=typeof Promise&&n instanceof Promise&&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){w(),o(e)}var n}function O(){var s=p.readyState;if(t.debug(\"UserMedia: fireCallbacks(\"+\"readyState=\".concat(s,\", \")+\"onPlayReached=\".concat(l,\", \")+\"onLoadedMetaDataReached=\".concat(h,\")\")),l&&h&&(r(),n&&i))try{n.init(e),y.on(a.default.SENDING_FIRST_FRAME,g)}catch(e){w(),o(e)}}function k(){try{R(\"play\",{readyState:p.readyState,audio:t.isAudioEnabled(),width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener(\"play\",k),E()||_()?o(d.default.create(\"Already busy\",\"Probably another browser window is using your webcam?\",t)):(l=!0,O())}catch(e){w(),o(e)}}function x(){R(\"loadedmetadata\",{readyState:p.readyState,paused:p.paused,width:p.width,height:p.height,videoWidth:p.videoWidth,videoHeight:p.videoHeight}),p.removeEventListener&&p.removeEventListener(\"loadedmetadata\",x),E()||_()||(y.emit(a.default.LOADED_META_DATA),m.isAndroid()&&A(),h=!0,O())}t&&t.isAudioEnabled()&&(n||(n=new s.default(this,t)));try{var T=function(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}(e);if(T){if(!T.enabled)throw d.default.create(\"Webcam is disabled\",\"The video track seems to be disabled. Enable it in your system.\",t);var j;T.label&&T.label.length>0&&(j=T.label),j+=\" with enabled=\".concat(T.enabled),j+=\", muted=\".concat(T.muted),j+=\", remote=\".concat(T.remote),j+=\", readyState=\".concat(T.readyState),j+=\", error=\".concat(T.error),t.debug(\"UserMedia: \".concat(T.kind,\" detected.\"),j||\"\")}else t.debug(\"UserMedia: detected (but no video tracks exist\");c.default.forEach((function(e){p.addEventListener(e,S,!1)})),p.addEventListener(\"loadedmetadata\",x),p.addEventListener(\"play\",k),p.addEventListener(\"error\",(function(e){t.logger.warn(\"Caught video element error event: %s\",(0,f.default)(e))})),v(e),A()}catch(e){y.emit(a.default.ERROR,e)}},this.isReady=function(){return Boolean(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=w());var o=function(e){var t;return e&&e.getTracks&&(t=e.getTracks()),t}(e),s=!1;o&&o.forEach((function(e){e.stop&&(s=!0,e.stop())})),!s&&e&&e.stop&&e.stop(),v(null),n&&n.stop(),n=null}i||(b=g=!1)}catch(e){y.emit(a.default.ERROR,e)}},this.createCanvas=function(){return(0,i.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 d.default.create(\"Bad dimensions\",\"Calculated raw height cannot be less than 1!\",t)}else if((r=this.getVideoHeight())<1)throw d.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(){b=!0},this.isPaused=function(){return b},this.resume=function(){b=!1},this.record=function(){g=!0},this.isRecording=function(){return g},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}}};var i=r(e(\"hyperscript\")),o=r(e(\"safe-json-stringify\")),a=r(e(\"./../../events\")),s=r(e(\"./../../util/audioRecorder\")),u=r(e(\"./../../util/browser\")),l=r(e(\"./../../util/eventEmitter\")),c=r(e(\"./../../util/mediaEvents\")),f=r(e(\"./../../util/pretty\")),d=r(e(\"./../../util/videomailError\")),h=\"|—O—|\"},{\"./../../events\":113,\"./../../util/audioRecorder\":119,\"./../../util/browser\":120,\"./../../util/eventEmitter\":122,\"./../../util/mediaEvents\":124,\"./../../util/pretty\":125,\"./../../util/videomailError\":126,\"@babel/runtime/helpers/interopRequireDefault\":4,hyperscript:62,\"safe-json-stringify\":93}],\"videomail-client\":[function(e,t,n){\"use strict\";var r=e(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i=r(e(\"./client\"));n.default=i.default},{\"./client\":111,\"@babel/runtime/helpers/interopRequireDefault\":4}]},{},[\"videomail-client\"])(\"videomail-client\")}));\n//# sourceMappingURL=videomail-client.min.js.map\n"]} \ No newline at end of file +{"version":3,"file":"videomail-client.min.js","names":["f","exports","module","define","amd","window","global","self","this","VideomailClient","r","e","n","t","o","i","c","require","u","a","Error","code","p","call","length","_dereq_","Array","__esModule","arrayLikeToArray","isArray","toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","default","Symbol","iterator","from","TypeError","arrayWithoutHoles","iterableToArray","unsupportedIterableToArray","nonIterableSpread","_typeof","toPrimitive","String","Number","constructor","prototype","toString","slice","name","test","root","factory","modules","installedModules","__webpack_require__","moduleId","id","loaded","m","target","listener","options","obj","key","optionName","arguments","undefined","addEventListener","listenerOptions","_checkSupport","SupportMap","assign","_OptionsMap","_constants","_defineProperty","OptionsMap","PASSIVE","CAPTURE","ONCE","keys","forEach","k","property","opts","get","removeListener","checkSupportForProperty","methods","EventEmitter","inherits","raf","defaultRAFObject","requestAnimationFrame","cancelAnimationFrame","cancel","returnTrue","Animitter","__delay","delay","fixedDelta","frameCount","deltaTime","elapsedTime","__running","__completed","setFPS","fps","Infinity","setRequestAnimationFrameObject","requestAnimationFrameObject","onStart","scope","rAFID","now","Date","running","__lastTime","emit","lastRAFObject","drawFrame","__isReadyForUpdate","update","method","off","trigger","complete","stop","dispose","removeAllListeners","getDeltaTime","getElapsedTime","getFPS","getFPSLimit","__fps","getFrameCount","getRequestAnimationFrameObject","isRunning","isCompleted","reset","lastTime","half","Math","ceil","makeThrottle","object","start","setTimeout","globalFixedDelta","min","createAnimitter","fn","_instance","on","bind","apply","bound","fnKey","loop","functionKeys","arr","push","functions","hasBind","Function","getTime","events","float32Array","toBuffer","Int16Array","byteLength","b64","lens","getLens","validLen","placeHoldersLen","toByteArray","tmp","Arr","_byteLength","curByte","len","revLookup","charCodeAt","fromByteArray","uint8","extraBytes","parts","maxChunkLength","len2","encodeChunk","lookup","join","Uint8Array","indexOf","end","num","output","undef","nativeSplit","split","compliantExecNpcg","exec","str","separator","limit","separator2","match","lastIndex","lastLength","flags","ignoreCase","multiline","extended","sticky","lastLastIndex","RegExp","source","index","replace","Buffer","base64","ieee754","SlowBuffer","alloc","INSPECT_MAX_BYTES","K_MAX_LENGTH","createBuffer","RangeError","buf","__proto__","arg","encodingOrOffset","allocUnsafe","string","encoding","isEncoding","actual","write","fromString","ArrayBuffer","isView","fromArrayLike","isInstance","buffer","array","byteOffset","fromArrayBuffer","valueOf","b","isBuffer","checked","copy","numberIsNaN","type","data","fromObject","assertSize","size","mustMatch","loweredCase","utf8ToBytes","base64ToBytes","toLowerCase","slowToString","hexSlice","utf8Slice","asciiSlice","latin1Slice","base64Slice","utf16leSlice","swap","bidirectionalIndexOf","val","dir","arrayIndexOf","lastIndexOf","indexSize","arrLength","valLength","read","readUInt16BE","foundIndex","found","j","hexWrite","offset","remaining","strLen","parsed","parseInt","substr","utf8Write","blitBuffer","asciiWrite","byteArray","asciiToBytes","latin1Write","base64Write","ucs2Write","units","hi","lo","utf16leToBytes","res","secondByte","thirdByte","fourthByte","tempCodePoint","firstByte","codePoint","bytesPerSequence","codePoints","MAX_ARGUMENTS_LENGTH","fromCharCode","decodeCodePointsArray","kMaxLength","TYPED_ARRAY_SUPPORT","foo","typedArraySupport","console","error","species","poolSize","fill","allocUnsafeSlow","_isBuffer","compare","x","y","concat","list","pos","swap16","swap32","swap64","toLocaleString","equals","inspect","max","trim","thisStart","thisEnd","thisCopy","targetCopy","includes","isFinite","toJSON","_arr","ret","out","toHex","bytes","checkOffset","ext","checkInt","checkIEEE754","writeFloat","littleEndian","noAssert","writeDouble","newBuf","subarray","readUIntLE","mul","readUIntBE","readUInt8","readUInt16LE","readUInt32LE","readUInt32BE","readIntLE","pow","readIntBE","readInt8","readInt16LE","readInt16BE","readInt32LE","readInt32BE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","sub","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","targetStart","copyWithin","set","INVALID_BASE64_RE","leadSurrogate","base64clean","src","dst","GetIntrinsic","callBind","$indexOf","allowMissing","intrinsic","setFunctionLength","$TypeError","$apply","$call","$reflectApply","$defineProperty","$max","originalFunction","func","applyBind","document","createElement","quality","types","canvas","composeMimeType","isMatch","getTestCanvas","width","height","canvasSupportsMimeType","toDataURL","figureMimeType","uriToBuffer","atob","s","getMimeType","indexof","isTruthy","elem","cl","classList","add","remove","contains","toggle","token","className","item","getTokens","setTokens","splice","filter","Emitter","mixin","event","_callbacks","once","removeEventListener","cb","callbacks","args","listeners","hasListeners","container","comparison","compareDocumentPosition","objectToString","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","re","isObject","isDate","d","isError","isFunction","isPrimitive","createErrorLib","lastcreateError","createError","noConflict","getName","getTarget","properties","getProps","ErrorCtor","message","attachProps","stack","captureStackTrace","Err","context","inheritedKeys","l","clone","cloned","create","attr","hasOwnProperty","isMergeableObject","isNonNullObject","stringValue","$$typeof","REACT_ELEMENT_TYPE","isReactElement","isSpecial","for","cloneUnlessOtherwiseSpecified","deepmerge","defaultArrayMerge","map","element","getKeys","getOwnPropertySymbols","symbol","propertyIsEnumerable","getEnumerableOwnPropertySymbols","propertyIsOnObject","_","mergeObject","destination","propertyIsUnsafe","customMerge","getMergeFunction","arrayMerge","sourceIsArray","all","reduce","prev","next","deepmerge_1","$SyntaxError","gopd","nonEnumerable","nonWritable","nonConfigurable","loose","desc","Despot","_singletonDespotInstance","Event","Keys","noop","visible","onChange","broadcast","noopShim","hidden","geval","prefix","mozHidden","msHidden","webkitHidden","detectPrefix","substring","doccy","topLevel","minDoc","process","eos","stream","callback","ws","_writableState","rs","_readableState","readable","cancelled","onlegacyfinish","onfinish","onend","onexit","exitCode","onerror","err","onclose","nextTick","onclosenexttick","ended","destroyed","onrequest","req","setHeader","abort","isRequest","stdio","isChildProcess","_process","EvalError","ReferenceError","SyntaxError","URIError","ReflectOwnKeys","R","Reflect","ReflectApply","receiver","ownKeys","getOwnPropertyNames","NumberIsNaN","isNaN","init","emitter","Promise","resolve","reject","errorListener","resolver","eventTargetAgnosticAddListener","handler","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","that","_addListener","prepend","existing","warning","newListener","unshift","warned","w","count","warn","onceWrapper","fired","wrapFn","_onceWrap","state","wrapped","_listeners","unwrap","evlistener","unwrapListeners","arrayClone","listenerCount","wrapListener","getPrototypeOf","setMaxListeners","getMaxListeners","doError","er","addListener","prependListener","prependOnceListener","position","originalListener","shift","pop","spliceOne","rawListeners","eventNames","stringify","stable","deterministicStringify","stableStringify","LIMIT_REPLACE_NODE","CIRCULAR_REPLACE_NODE","replacerStack","defaultOptions","depthLimit","MAX_SAFE_INTEGER","edgesLimit","replacer","spacer","decirc","JSON","replaceGetterValues","part","setReplace","parent","propertyDescriptor","getOwnPropertyDescriptor","edgeIndex","depth","compareFunction","deterministicDecirc","sort","v","BITS","BYTES","EMPTY","JEDEC","ROUND","STRING","STRINGS","iec","bits","jedec","fullform","filesize","pad","base","round","locale","localeOptions","symbols","standard","fullforms","exponent","roundingMethod","precision","result","full","neg","roundingFunc","floor","log","toPrecision","padEnd","unit","partial","fmt","escaped","ptn","flag","toStr","concatty","arrLike","slicy","boundLength","boundArgs","joiner","joiny","Empty","implementation","_extends","getFormData","getFieldData","NODE_LIST_CLASSES","IGNORED_ELEMENT_TYPES","button","fieldset","submit","CHECKED_INPUT_TYPES","checkbox","radio","TRIM_RE","form","includeDisabled","elementName","elementNames","elementNameLookup","elements","disabled","_i","_l","fieldName","getFormElementValue","allRadios","selectedIndex","selected","multiple","files","hasAttribute","$Error","$EvalError","$RangeError","$ReferenceError","$URIError","$Function","getEvalledConstructor","expressionSyntax","$gOPD","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","hasSymbols","hasProto","getProto","needsEval","TypedArray","INTRINSICS","AggregateError","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","eval","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int32Array","Map","parseFloat","Proxy","Set","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","WeakRef","WeakSet","errorProto","doEval","gen","LEGACY_ALIASES","hasOwn","$concat","$spliceApply","$replace","$strSlice","$exec","rePropName","reEscapeChar","getBaseIntrinsic","alias","intrinsicName","first","last","number","quote","subString","stringToPath","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","isOwn","hasown","listen","broadcaster","tuple","win","hasPropertyDescriptors","hasArrayLengthDefineBug","$Object","origSymbol","hasSymbolSham","sym","symObj","syms","descriptor","$hasOwn","style","display","prop","has","GREEK","language","LANGUAGES","af","am","ar","getArabicForm","delimiter","_hideCountIf2","_digitReplacements","bg","getSlavicForm","bn","ca","ckb","cs","getCzechOrSlovakForm","cy","da","de","el","en","eo","es","et","eu","fa","fi","fo","fr","gr","he","hr","mod10","hu","is","it","ja","km","kn","ko","ku","lt","getLithuanianForm","lv","getLatvianForm","mk","mn","mr","ms","nl","no","pl","getPolishForm","pt","ro","ru","sq","sr","ta","te","uk","ur","sk","sl","sv","sw","_numberFirst","tr","th","uz","uz_CYR","vi","zh_CN","zh_TW","mo","h","decimal","renderPiece","piece","digitReplacements","formattedCount","unitName","unitCount","maxDecimalPoints","countStr","char","word","languageWord","formatPieces","pieces","possibleLanguages","fallbacks","languageToTry","languages","getLanguage","conjunction","serialComma","renderedPieces","humanizer","passedOptions","humanizerOptions","abs","msRemaining","unitMeasures","largest","unitCounts","unitMs","unitsRemainingBeforeRound","smallerUnitName","smallerUnitCount","rounded","previousUnitName","previousUnitMs","amountOfPreviousUnit","getPieces","humanizeDuration","getSupportedLanguages","ClassList","Text","cleanupFuncs","appendChild","createTextNode","setAttribute","isNode","attachEvent","detachEvent","cssText","setProperty","parentElement","replaceChild","textContent","cleanup","nodeName","nodeType","isLE","mLen","nBytes","eLen","eMax","eBias","nBits","NaN","rt","LN2","ctor","superCtor","super_","TempCtor","containers","styleElements","insertCss","css","styleElement","querySelector","containerId","createStyleElement","insertBefore","childNodes","styleSheet","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","weakRefDeref","deref","booleanValueOf","functionToString","$match","$slice","$toUpperCase","toUpperCase","$toLowerCase","$test","$join","$arrSlice","$floor","bigIntValueOf","gOPS","symToString","hasShammedSymbols","toStringTag","isEnumerable","gPO","O","addNumericSeparator","sepRegex","int","intStr","dec","utilInspect","inspectCustom","custom","inspectSymbol","wrapQuotes","defaultStyle","quoteChar","quoteStyle","inspect_","seen","maxStringLength","customInspect","indent","numericSeparator","inspectString","bigIntStr","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","getAttribute","isElement","attrs","attributes","xs","singleLineValues","indentedJoin","cause","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isBigInt","globalThis","ys","isPlainObject","protoTag","stringTag","tag","trailer","lowbyte","entries","lineJoiner","isArr","symMap","wrappy","called","onceStrict","onceError","strict","proto","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","uptime","version","arg1","arg2","arg3","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","title","browser","env","argv","versions","binding","cwd","chdir","umask","percentTwenties","Format","formatters","RFC1738","RFC3986","parse","formats","utils","defaults","allowDots","allowEmptyArrays","allowPrototypes","allowSparse","arrayLimit","charset","charsetSentinel","comma","decodeDotInKeys","decoder","decode","duplicates","ignoreQueryPrefix","interpretNumericEntities","parameterLimit","parseArrays","plainObjects","strictDepth","strictNullHandling","$0","numberStr","parseArrayValue","parseKeys","givenKey","valuesParsed","child","segment","chain","leaf","cleanRoot","charAt","decodedRoot","parseObject","normalizeParseOptions","tempObj","cleanStr","skipIndex","bracketEqualsPos","maybeMap","encodedVal","combine","parseValues","newObj","merge","compact","getSideChannel","arrayPrefixGenerators","brackets","indices","repeat","pushToArray","valueOrArray","toISO","toISOString","defaultFormat","addQueryPrefix","arrayFormat","encode","encodeDotInKeys","encoder","encodeValuesOnly","format","formatter","serializeDate","date","skipNulls","sentinel","generateArrayPrefix","commaRoundTrip","sideChannel","tmpSc","step","findFlag","objKeys","values","encodedPrefix","adjustedPrefix","encodedKey","keyPrefix","valueSideChannel","normalizeStringifyOptions","joined","hexTable","arrayToObject","acc","refs","compacted","compactQueue","strWithoutPlus","unescape","defaultEncoder","kind","escape","mapped","mergeTarget","targetItem","vendors","suffix","caf","frameDuration","_now","cp","handle","polyfill","pna","objectKeys","Duplex","util","Readable","Writable","allowHalfOpen","onEndNT","highWaterMark","_destroy","PassThrough","Transform","_transform","chunk","ReadableState","EElistenerCount","Stream","OurUint8Array","debugUtil","debug","debuglog","StringDecoder","BufferList","destroyImpl","kProxyEvents","isDuplex","objectMode","readableObjectMode","hwm","readableHwm","readableHighWaterMark","defaultHwm","pipes","pipesCount","flowing","endEmitted","reading","sync","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","awaitDrain","readingMore","_read","destroy","readableAddChunk","addToFront","skipChunkCheck","emitReadable","onEofChunk","chunkInvalid","_uint8ArrayToBuffer","addChunk","maybeReadMore","needMoreData","_undestroy","undestroy","isPaused","setEncoding","enc","MAX_HWM","howMuchToRead","head","computeNewHighWaterMark","emitReadable_","flow","maybeReadMore_","nReadingNextTick","resume_","fromList","clear","hasStrings","nb","tail","copyFromBufferString","copyFromBuffer","fromListPartial","endReadable","endReadableNT","nOrig","doRead","pipe","dest","pipeOpts","endFn","stdout","stderr","unpipe","onunpipe","unpipeInfo","hasUnpiped","ondrain","ondata","cleanedUp","needDrain","pipeOnDrain","increasedAwaitDrain","pause","resume","dests","ev","wrap","_this","paused","_fromList","isarray","afterTransform","ts","_transformState","transforming","writecb","writechunk","needTransform","writeencoding","transform","flush","_flush","prefinish","done","_write","_this2","err2","setImmediate","CorkedRequest","entry","finish","corkReq","pendingcb","corkedRequestsFree","onCorkedFinish","asyncWrite","WritableState","internalUtil","deprecate","realHasInstance","nop","writableObjectMode","writableHwm","writableHighWaterMark","finalCalled","ending","finished","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","onwriteStateUpdate","finishMaybe","errorEmitted","onwriteError","needFinish","bufferedRequest","clearBuffer","afterWrite","lastBufferedRequest","prefinished","bufferedRequestCount","writev","_writev","final","_final","doWrite","onwriteDrain","holder","allBuffers","isBuf","callFinal","need","getBuffer","current","hasInstance","writeAfterEnd","valid","validChunk","newChunk","decodeChunk","writeOrBuffer","cork","uncork","setDefaultEncoding","endWritable","timers","instance","Constructor","_classCallCheck","emitErrorNT","readableDestroyed","writableDestroyed","copyProps","SafeBuffer","nenc","retried","_normalizeEncoding","normalizeEncoding","text","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8CheckByte","byte","utf8CheckExtraBytes","total","utf8CheckIncomplete","hasProp","throwsMessage","ensureProperties","visit","fResult","aResult","safeGetValueFromPropertyOnObject","space","hasDescriptors","gOPD","functionLengthIsConfigurable","functionLengthIsWritable","callBound","$WeakMap","$Map","$weakMapGet","$weakMapSet","$weakMapHas","$mapGet","$mapSet","$mapHas","listGetNode","curr","$wm","$m","$o","channel","assert","objects","node","listGet","listHas","listSet","_duplexState","idx","bufferIndex","getStateLength","Agent","_defaults","_setDefaults","request","def","_len","_key","safeStringify","qs","RequestBase","ResponseBase","url","Request","getXHR","XMLHttpRequest","serialize","pairs","pushEncodedKeyValuePair","subkey","parseString","string_","pair","length_","isJSON","mime","Response","request_","xhr","responseType","responseText","statusText","status","_setStatusProperties","headers","lines","fields","line","field","parseHeader","getAllResponseHeaders","header","getResponseHeader","_setHeaderProperties","_responseType","body","response","_parseBody","_query","_header","new_error","original","rawResponse","statusCode","_isResponseOK","serializeObject","html","json","xml","urlencoded","_parser","toError","accept","auth","user","pass","btoa","_auth","query","attach","file","_data","_getFormData","append","_formData","FormData","_shouldRetry","_retry","_callback","_maxRetries","retries","_retries","crossDomainError","crossDomain","agent","_isHost","_endCalled","_finalizeQueryString","_end","_setUploadTimeout","_uploadTimeout","_uploadTimeoutTimer","_timeoutError","_aborted","_setTimeouts","readyState","_responseTimeoutTimer","timedout","handleProgress","direction","percent","upload","username","password","open","_withCredentials","withCredentials","contentType","_serializer","setRequestHeader","send","del","delete","patch","post","put","_timer","_timeout","_responseTimeout","option","deadline","retry","_retryCallback","ERROR_CODES","STATUS_CODES","override","timedoutError","then","_fullfilledPromise","catch","use","ok","_okCallback","getHeader","unset","base64Encoder","redirects","_maxRedirects","maxResponseSize","_maxResponseSize","isObject_","sortQuery","_sort","queryArray","_appendQueryString","reason","errno","ct","parameters","params","links","link","parseLinks","trunc","statusType","info","redirect","clientError","serverError","created","accepted","noContent","badRequest","unauthorized","notAcceptable","forbidden","notFound","unprocessableEntity","cleanHeader","changesOrigin","host","authorization","cookie","isGzipOrDeflateEncoding","isBrotliEncoding","clearImmediate","immediateIds","nextImmediateId","Timeout","clearFn","_id","_clearFn","setInterval","clearInterval","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","FUNC_TYPE","UNDEF_TYPE","OBJ_TYPE","STR_TYPE","MAJOR","MODEL","NAME","TYPE","VENDOR","VERSION","ARCHITECTURE","CONSOLE","MOBILE","TABLET","SMARTTV","WEARABLE","EMBEDDED","AMAZON","APPLE","ASUS","BLACKBERRY","BROWSER","CHROME","FIREFOX","GOOGLE","HUAWEI","LG","MICROSOFT","MOTOROLA","OPERA","SAMSUNG","SHARP","SONY","XIAOMI","ZEBRA","FACEBOOK","CHROMIUM_OS","MAC_OS","SUFFIX_BROWSER","enumerize","enums","str1","str2","lowerize","rgxMapper","ua","arrays","q","matches","regex","props","strMapper","windowsVersionMap","ME","XP","Vista","RT","regexes","cpu","device","tablet","engine","EDGE","os","UAParser","extensions","getResult","_navigator","navigator","_ua","userAgent","_uach","userAgentData","_rgxmap","mergedRegexes","extend","_isSelfNav","getBrowser","_browser","brave","isBrave","getCPU","_cpu","getDevice","_device","mobile","standalone","maxTouchPoints","getEngine","_engine","getOS","_os","platform","getUA","setUA","CPU","DEVICE","ENGINE","OS","$","jQuery","Zepto","parser","config","localStorage","msg","trace","SIGNAL_FLUSH","onuncork","_corked","destroyer","_autoDestroy","autoDestroy","_ended","Duplexify","_writable","_readable","_readable2","_forwardDestroy","_forwardEnd","_ondrain","_drained","_forwarding","_unwrite","_unread","setWritable","setReadable","unend","onreadable","_forward","_finish","duplexify","WS","protocols","socket","isBrowser","isNative","WebSocket","socketWrite","socketWriteBrowser","bufferedAmount","bufferSize","bufferTimeout","coerceToBuffer","OPEN","protocol","binary","proxy","socketEnd","buildProxy","browserBufferSize","browserBufferTimeout","binaryType","eventListenerSupport","onopen","onmessage","chunks","buffers","MozWebSocket","wrapper","description","keywords","homepage","repository","license","author","contributors","email","main","scripts","audit","build","lint","major","minor","prettier","watch","dependencies","animitter","defined","despot","hyperscript","keymirror","superagent","devDependencies","autoprefixer","babelify","browserify","cssnano","eslint","glob","gulp","minimist","nib","postcss","router","tape","typescript","watchify","engines","npm","readmeFilename","_interopRequireDefault","_inherits","_resource","_adjustOptions","_eventEmitter","_container","localOptions","building","isBuilt","show","replay","videomail","replayParentElementId","unload","playerOnly","addPlayerDimensions","buildForm","loadForm","REPLAY_SHOWN","showReplayOnly","getReplay","setVideomail","getElement","startOver","hide","getByAlias","getByKey","canRecord","isDirty","isRecording","getLogLines","logger","getLines","public","Events","SITE_NAME_LABEL","VERSION_LABEL","ENC_TYPE_APP_JSON","ENC_TYPE_FORM","_keymirror","BUILT","FORM_READY","LOADING_USER_MEDIA","USER_MEDIA_READY","CONNECTING","CONNECTED","DISCONNECTED","COUNTDOWN","RECORDING","STOPPING","STOPPED","PROGRESS","BEGIN_AUDIO_ENCODING","BEGIN_VIDEO_ENCODING","RESETTING","PAUSED","RESUMING","PREVIEW","PREVIEW_SHOWN","INVALID","VALIDATING","VALID","SUBMITTING","SUBMITTED","ERROR","BLOCKING","SENDING_FIRST_FRAME","FIRST_FRAME_SENT","HIDE","NOTIFYING","ENABLING_AUDIO","DISABLING_AUDIO","LOADED_META_DATA","EVENT_EMITTED","GOING_BACK","STARTING_OVER","ASKING_WEBCAM_PERMISSION","VISIBLE","INVISIBLE","SWITCH_FACING_MODE","SERVER_READY","UNLOADING","_package","_addOptionsFunctions","logStackSize","verbose","NODE_ENV","baseUrl","socketUrl","siteName","enablePause","enableAutoPause","enableSpace","submitWithVideomail","disableSubmit","enableAutoValidation","enableAutoUnload","enableAutoSubmission","enctype","selectors","containerClass","replayClass","userMediaClass","visualsClass","buttonClass","buttonsClass","recordButtonClass","pauseButtonClass","resumeButtonClass","previewButtonClass","recordAgainButtonClass","submitButtonClass","subjectInputName","fromInputName","toInputName","ccInputName","bccInputName","bodyInputName","sendCopyInputName","keyInputName","parentKeyInputName","formId","submitButtonId","submitButtonSelector","audio","enabled","switch","volume","video","limitSeconds","countdown","facingMode","facingModeButton","stretch","image","pausedHeader","pausedHint","sending","limitReached","audioOff","audioOn","buttons","record","recordAgain","preview","notifier","entertain","entertainClass","entertainLimit","entertainInterval","timeouts","userMedia","connection","pingInterval","loadUserMediaOnRecord","adjustFormDataBeforePosting","to","cc","bcc","subject","displayErrors","adjustFormOnBrowserError","reportErrors","fakeUaString","optionsWithFunctions","applyDefaultValue","packedError","packError","originalError","details","fetch","identifierName","identifierValue","_superagent","timezoneId","prettyError","identifier","queryParams","returnedVideomail","reportError","applyDefaultValues","adjustedVideomail","formData","formType","Intl","DateTimeFormat","resolvedOptions","timeZone","audioEnabled","hasDefinedWidth","hasDefinedHeight","hasDefinedDimension","hasDefinedDimensions","getRatio","ratio","hasVideoDimensions","videoHeight","videoWidth","isAudioEnabled","setAudioEnabled","isAutoPauseEnabled","_deepmerge","_collectLogger","_options","_destination","collectLogger","scriptProcessor","audioInput","vcAudioContext","getAudioContextClass","AudioContext","webkitAudioContext","hasAudioContext","getAudioContext","localMediaStream","createGain","createMediaStreamSource","exc","_videomailError","isFirefox","_isPowerOfTwo","gain","createScriptProcessor","CHANNELS","connect","onaudioprocess","inputBuffer","getChannelData","_audioSample","onAudioProcess","disconnect","getSampleRate","sampleRate","_typeof2","_defined","_uaParserJs","videoType","firefoxDownload","edgeDownload","chromeDownload","uaParser","isIOS","browserVersion","isChrome","isChromium","firefox","osVersion","isWindows","isEdge","isSafari","isOpera","isAndroid","chromeBased","isFacebook","isMobile","isOkSafari","isOkIOS","isBadIOS","isHTTPS","fakeHttps","location","okBrowser","getUserMediaWarning","getRecommendation","isChromeBased","canPlayType","hasNavigator","mediaDevices","getUserMedia","getUserMedia_","checkRecordingCapabilities","IOS_PROBLEM","BROWSER_PROBLEM","checkBufferTypes","getVideoType","getNoAccessIssue","explanation","getUsefulData","architecture","lifo","level","_formatUtil","_toConsumableArray2","groupCollapsed","groupEnd","moreArguments","_safeJsonStringify","_despot","eventName","_filesize2","_humanizeDuration","toTime","anything","DASH","SEPARATOR","arrayToString","sLines","propertyNames","excludes","exclude","_createError","_pretty","VIDEOMAIL_ERR_NAME","VideomailError","logLines","promise","screen","orientation","pretty","PERMISSION_DENIED","NOT_ALLOWED_ERROR","NOT_CONNECTED","DOM_EXCEPTION","STARTING_FAILED","MEDIA_DEVICE_NOT_SUPPORTED","WEBCAM_PROBLEM","OVERCONSTRAINED","NOT_FOUND_ERROR","NOT_READABLE_ERROR","SECURITY_ERROR","TRACK_START_ERROR","INVALID_STATE_ERROR","_err$constructor","errType","Browser","NotFoundError","constraint","newUrl","href","originalExplanation","resource","usefulClientData","cookies","errData","colorDepth","errNo","errCode","errName","errConstraint","errConstructorName","videomailError","hasClass","getClassList","removeDimensions","hideButtons","browserProblem","hideForm","_contains","_hidden","_hyperscript","Buttons","buttonsElement","recordButton","pauseButton","resumeButton","previewButton","recordAgainButton","submitButton","audioOnRadioPair","audioOffRadioPair","built","isShown","disable","tagName","enable","adjustButton","buttonElement","replaceClickHandler","clickHandler","onclick","preventDefault","makeRadioButtonPair","radioButtonElement","radioButtonGroup","getElementById","htmlFor","label","changeHandler","onchange","makeButton","selector","innerHTML","onFormReady","onFirstFrameSent","beginWaiting","initEvents","switchingFacingMode","recordWhenReady","onUserMediaReady","adjustButtonsForPause","framesCount","onRecording","enableSubmit","isCountingDown","isRecordAgainButtonEnabled","isReady","isRecordButtonEnabled","setSubmitButton","newSubmitButton","getSubmitButton","hasForm","disableAudio","enableAudio","deep","_defineProperty2","_documentVisibility","_insertCss","_mainMinCss","_buttons","_dimension","_form","_optionsWrapper","_visuals","Container","containerElement","visibility","visuals","htmlElement","hasError","submitted","lastValidation","getFormElement","closest","findParentFormElement","_e$target","isContentEditable","contentEditable","pauseOrResume","recordOrStop","processError","endWaiting","correctDimensions","getRecorderWidth","finalizeSubmissions","formResponse","validateOptions","formElement","findSubmitButton","replayParentElement","getParentElement","playerHeight","calculateHeight","responsive","playerWidth","calculateWidth","limitWidth","limitHeight","fnOptions","hasElement","buildOptions","_replayParentElement","buildChildren","reference","unloadChildren","isReplayShown","back","enableForm","keepHidden","isNotifying","validate","force","runValidation","isConnected","isUserMediaLoaded","isConnecting","_event$target","targetName","whyInvalid","invalidData","visualsValid","invalidInput","getInvalidElement","isHidden","_recipients$to","_recipients$cc","_recipients$bcc","recipients","getRecipients","toIsConfigured","ccIsConfigured","bccIsConfigured","hasTo","hasCc","hasBcc","disableForm","buttonsToo","submitAll","startSubmission","videomailFormData","transformFormData","isPost","isPut","recordingStats","getRecordingStats","getRecorderHeight","downlink","effectiveType","rtt","submitVideomail","err1","videomailResponse","submitForm","isRecorderUnloaded","isOutsideElementOf","parentNode","loadVideomail","doTheSubmit","figureMinHeight","isInteger","limitedWidth","outerWidth","rect","getBoundingClientRect","right","left","getOuterWidth","limitedHeight","documentElement","clientHeight","calculatedWidth","trimEmail","Form","keyInput","FORM_FIELDS","parentKey","sendCopy","getData","setDisabled","isRegisteredFormField","formElementName","getRegisteredFormElements","querySelectorAll","registeredElements","resetForm","inputElements","inputElement","transformedFormData","formFieldValue","input","videomailKey","dispatchEvent","bubbles","hideAll","removeAllInputListeners","validity","newOptions","_recorderInsides","_notifier","_recorder","_replay","Visuals","visualsElement","recorder","recorderInsides","noScriptElement","isRecordable","clientWidth","blockingOptions","removeChild","hidePause","isVisible","showPause","resumeCountdown","startCountdown","getRecorder","getAudioSampleRate","showVisuals","isUnloaded","useBoundingClientRect","checkTimer","intervalSum","isNotifierBuilt","hideReplay","hideRecorder","countdownElement","intervalId","countBackward","fire","facingModeElement","pausedBlockElement","pausedHeaderElement","pausedHintElement","hasPausedHint","recordNoteElement","setNear","setNigh","recordNote","recordTimerElement","started","nearComputed","endNighComputed","thresholdReached","secs","threshold","mins","remainingSeconds","isNear","endIsNigh","getStartSeconds","check","newCountdown","_countdown","_facingMode","_pausedNote","_recordNote","_recordTimer","RecorderInsides","pausedNote","recordTimer","onResetting","hideCountdown","NOTIFIER_MESSAGE_ID","Notifier","notifyElement","explanationElement","entertainTimeoutId","entertaining","messageElement","notify","lead","stillWait","onStopping","frameProgress","sampleProgress","overallProgress","setExplanation","onProgress","hideExplanation","onBeginVideoEncoding","runEntertainment","randomBackgroundClass","random","cancelEntertainment","getMessageElement","blocking","problem","notifyOptions","messageOptions","setMessage","_animitter","_canvasToBuffer","_websocketStream","_humanize","_userMedia","PIPE_SYMBOL","Recorder","originalAnimationFrameObject","recorderElement","userMediaTimeout","retryTimeout","bytesSum","ctx","userMediaLoaded","userMediaLoading","submitting","unloaded","stopTime","connecting","connected","waitingTime","frame","recordingBufferLength","recordingBuffer","samplesCount","confirmedFrameNumber","confirmedSampleNumber","writeStream","stopPings","onFlushedCallback","onAudioSample","audioSample","newLoop","draw","calculateFrameProgress","toFixed","calculateSampleProgress","updateOverallProgress","initSocket","url2Connect","perMessageDeflate","isClosing","CLOSING","command","executeCommand","userMediaErrorCallback","clearUserMediaTimeout","getCharacteristics","errorListeners","getUserMediaCallback","localStream","loadGenuineUserMedia","constraints","frameRate","ideal","getSupportedConstraints","genuineUserMediaRequest","loadUserMedia","mp4","setMp4Source","webm","setWebMSource","sample","updateSampleProgress","writeCommand","commandObj","getIntervalSum","getAvgFps","reInitializeAudio","onFlushed","frameNumber","drawImage","getRawVisuals","frameControlBuffer","setAnimationFrameObject","wantedInterval","processingTime","loopWithTimeouts","switchFacingMode","userMediaVideoWidth","getVideoWidth","getVideoHeight","avgFps","wantedFps","avgInterval","unloadRemainingEventListeners","eventType","createCanvas","getContext","_deltaTime","avgFPS","muted","hasVideoWidth","getRawWidth","getRawHeight","getRawVisualUserMedia","_addEventlistenerWithOptions","Replay","replayElement","isStandalone","setVideoSource","bustCache","getVideoSource","play","newVideomail","vtt","tracks","getElementsByTagName","firstTrack","track","setTrackSource","poster","attributeContainer","attribute","copyAttributes","hasAudio","recorderWidth","recorderHeight","load","videoSelector","buildElement","sources","audioRecorder","currentVisualStream","rawVisualUserMedia","setVisualStream","srcObject","URL","webkitURL","createObjectURL","attachMediaStream","removeAttribute","getVisualStream","mozSrcObject","hasEnded","visualStream","hasInvalidDimensions","logEvent","EVENT_ASCII","outputEvent","_mediaEvents","videoCallback","audioCallback","endedEarlyCallback","aboutToInitialize","onPlayReached","onLoadedMetaDataReached","playingPromiseReached","audioRecord","unloadAllEventListeners","onPlay","onLoadedMetaData","played","fireCallbacks","_audioRecorder","videoTrack","videoTracks","getVideoTracks","getFirstVideoTrack","remote","getTracks","newStopApiFound","rawWidth","widthDefined","rawHeight","audioSampleRate","_client"],"sources":["videomail-client.min.js"],"mappings":"CAAA,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