videomail-client 13.6.4 → 13.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +169 -165
- package/dist/esm/index.js +144 -135
- package/dist/esm/wrappers/visuals/recorder.d.ts +1 -1
- package/dist/esm/wrappers/visuals.d.ts +1 -1
- package/dist/umd/index.js +162 -153
- package/package.json +14 -14
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var __webpack_modules__ = {
|
|
2
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
|
|
2
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl" (module, __webpack_exports__, __webpack_require__) {
|
|
3
3
|
"use strict";
|
|
4
4
|
__webpack_require__.d(__webpack_exports__, {
|
|
5
5
|
A: ()=>__rspack_default_export
|
|
6
6
|
});
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var ___CSS_LOADER_EXPORT___ =
|
|
7
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0 = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js");
|
|
8
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0);
|
|
9
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1 = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js");
|
|
10
|
+
var _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default = /*#__PURE__*/ __webpack_require__.n(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1);
|
|
11
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_api_js__rspack_import_1_default()(_node_modules_rslib_core_node_modules_rsbuild_core_compiled_css_loader_noSourceMaps_js__rspack_import_0_default());
|
|
12
12
|
___CSS_LOADER_EXPORT___.push([
|
|
13
13
|
module.id,
|
|
14
14
|
`@keyframes blink {
|
|
@@ -340,7 +340,7 @@ var __webpack_modules__ = {
|
|
|
340
340
|
exports1.fromByteArray = fromByteArray;
|
|
341
341
|
var lookup = [];
|
|
342
342
|
var revLookup = [];
|
|
343
|
-
var Arr =
|
|
343
|
+
var Arr = "u" > typeof Uint8Array ? Uint8Array : Array;
|
|
344
344
|
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
|
|
345
345
|
for(var i = 0, len = code.length; i < len; ++i){
|
|
346
346
|
lookup[i] = code[i];
|
|
@@ -439,7 +439,7 @@ var __webpack_modules__ = {
|
|
|
439
439
|
var K_MAX_LENGTH = 0x7fffffff;
|
|
440
440
|
exports1.kMaxLength = K_MAX_LENGTH;
|
|
441
441
|
Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport();
|
|
442
|
-
if (!Buffer.TYPED_ARRAY_SUPPORT &&
|
|
442
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && "u" > typeof console && 'function' == typeof console.error) console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");
|
|
443
443
|
function typedArraySupport() {
|
|
444
444
|
try {
|
|
445
445
|
var arr = new Uint8Array(1);
|
|
@@ -488,13 +488,13 @@ var __webpack_modules__ = {
|
|
|
488
488
|
if (ArrayBuffer.isView(value)) return fromArrayView(value);
|
|
489
489
|
if (null == value) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
|
|
490
490
|
if (isInstance(value, ArrayBuffer) || value && isInstance(value.buffer, ArrayBuffer)) return fromArrayBuffer(value, encodingOrOffset, length);
|
|
491
|
-
if (
|
|
491
|
+
if ("u" > typeof SharedArrayBuffer && (isInstance(value, SharedArrayBuffer) || value && isInstance(value.buffer, SharedArrayBuffer))) return fromArrayBuffer(value, encodingOrOffset, length);
|
|
492
492
|
if ('number' == typeof value) throw new TypeError('The "value" argument must not be of type number. Received type number');
|
|
493
493
|
var valueOf = value.valueOf && value.valueOf();
|
|
494
494
|
if (null != valueOf && valueOf !== value) return Buffer.from(valueOf, encodingOrOffset, length);
|
|
495
495
|
var b = fromObject(value);
|
|
496
496
|
if (b) return b;
|
|
497
|
-
if (
|
|
497
|
+
if ("u" > typeof Symbol && null != Symbol.toPrimitive && 'function' == typeof value[Symbol.toPrimitive]) return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length);
|
|
498
498
|
throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof value);
|
|
499
499
|
}
|
|
500
500
|
Buffer.from = function(value, encodingOrOffset, length) {
|
|
@@ -1544,7 +1544,7 @@ var __webpack_modules__ = {
|
|
|
1544
1544
|
},
|
|
1545
1545
|
"./node_modules/call-bind-apply-helpers/reflectApply.js" (module) {
|
|
1546
1546
|
"use strict";
|
|
1547
|
-
module.exports =
|
|
1547
|
+
module.exports = "u" > typeof Reflect && Reflect && Reflect.apply;
|
|
1548
1548
|
},
|
|
1549
1549
|
"./node_modules/call-bind/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
1550
1550
|
"use strict";
|
|
@@ -2194,7 +2194,7 @@ var __webpack_modules__ = {
|
|
|
2194
2194
|
};
|
|
2195
2195
|
var Stream = __webpack_require__("./node_modules/duplexify/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
|
|
2196
2196
|
var Buffer = __webpack_require__("./node_modules/duplexify/node_modules/safe-buffer/index.js").Buffer;
|
|
2197
|
-
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g :
|
|
2197
|
+
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
|
|
2198
2198
|
function _uint8ArrayToBuffer(chunk) {
|
|
2199
2199
|
return Buffer.from(chunk);
|
|
2200
2200
|
}
|
|
@@ -2935,7 +2935,7 @@ var __webpack_modules__ = {
|
|
|
2935
2935
|
};
|
|
2936
2936
|
var Stream = __webpack_require__("./node_modules/duplexify/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
|
|
2937
2937
|
var Buffer = __webpack_require__("./node_modules/duplexify/node_modules/safe-buffer/index.js").Buffer;
|
|
2938
|
-
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g :
|
|
2938
|
+
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
|
|
2939
2939
|
function _uint8ArrayToBuffer(chunk) {
|
|
2940
2940
|
return Buffer.from(chunk);
|
|
2941
2941
|
}
|
|
@@ -4438,24 +4438,24 @@ var __webpack_modules__ = {
|
|
|
4438
4438
|
var $apply = __webpack_require__("./node_modules/call-bind-apply-helpers/functionApply.js");
|
|
4439
4439
|
var $call = __webpack_require__("./node_modules/call-bind-apply-helpers/functionCall.js");
|
|
4440
4440
|
var needsEval = {};
|
|
4441
|
-
var TypedArray =
|
|
4441
|
+
var TypedArray = "u" > typeof Uint8Array && getProto ? getProto(Uint8Array) : undefined;
|
|
4442
4442
|
var INTRINSICS = {
|
|
4443
4443
|
__proto__: null,
|
|
4444
|
-
'%AggregateError%':
|
|
4444
|
+
'%AggregateError%': "u" < typeof AggregateError ? undefined : AggregateError,
|
|
4445
4445
|
'%Array%': Array,
|
|
4446
|
-
'%ArrayBuffer%':
|
|
4446
|
+
'%ArrayBuffer%': "u" < typeof ArrayBuffer ? undefined : ArrayBuffer,
|
|
4447
4447
|
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
4448
4448
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
4449
4449
|
'%AsyncFunction%': needsEval,
|
|
4450
4450
|
'%AsyncGenerator%': needsEval,
|
|
4451
4451
|
'%AsyncGeneratorFunction%': needsEval,
|
|
4452
4452
|
'%AsyncIteratorPrototype%': needsEval,
|
|
4453
|
-
'%Atomics%':
|
|
4454
|
-
'%BigInt%':
|
|
4455
|
-
'%BigInt64Array%':
|
|
4456
|
-
'%BigUint64Array%':
|
|
4453
|
+
'%Atomics%': "u" < typeof Atomics ? undefined : Atomics,
|
|
4454
|
+
'%BigInt%': "u" < typeof BigInt ? undefined : BigInt,
|
|
4455
|
+
'%BigInt64Array%': "u" < typeof BigInt64Array ? undefined : BigInt64Array,
|
|
4456
|
+
'%BigUint64Array%': "u" < typeof BigUint64Array ? undefined : BigUint64Array,
|
|
4457
4457
|
'%Boolean%': Boolean,
|
|
4458
|
-
'%DataView%':
|
|
4458
|
+
'%DataView%': "u" < typeof DataView ? undefined : DataView,
|
|
4459
4459
|
'%Date%': Date,
|
|
4460
4460
|
'%decodeURI%': decodeURI,
|
|
4461
4461
|
'%decodeURIComponent%': decodeURIComponent,
|
|
@@ -4464,36 +4464,36 @@ var __webpack_modules__ = {
|
|
|
4464
4464
|
'%Error%': $Error,
|
|
4465
4465
|
'%eval%': eval,
|
|
4466
4466
|
'%EvalError%': $EvalError,
|
|
4467
|
-
'%Float16Array%':
|
|
4468
|
-
'%Float32Array%':
|
|
4469
|
-
'%Float64Array%':
|
|
4470
|
-
'%FinalizationRegistry%':
|
|
4467
|
+
'%Float16Array%': "u" < typeof Float16Array ? undefined : Float16Array,
|
|
4468
|
+
'%Float32Array%': "u" < typeof Float32Array ? undefined : Float32Array,
|
|
4469
|
+
'%Float64Array%': "u" < typeof Float64Array ? undefined : Float64Array,
|
|
4470
|
+
'%FinalizationRegistry%': "u" < typeof FinalizationRegistry ? undefined : FinalizationRegistry,
|
|
4471
4471
|
'%Function%': $Function,
|
|
4472
4472
|
'%GeneratorFunction%': needsEval,
|
|
4473
|
-
'%Int8Array%':
|
|
4474
|
-
'%Int16Array%':
|
|
4475
|
-
'%Int32Array%':
|
|
4473
|
+
'%Int8Array%': "u" < typeof Int8Array ? undefined : Int8Array,
|
|
4474
|
+
'%Int16Array%': "u" < typeof Int16Array ? undefined : Int16Array,
|
|
4475
|
+
'%Int32Array%': "u" < typeof Int32Array ? undefined : Int32Array,
|
|
4476
4476
|
'%isFinite%': isFinite,
|
|
4477
4477
|
'%isNaN%': isNaN,
|
|
4478
4478
|
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
4479
4479
|
'%JSON%': 'object' == typeof JSON ? JSON : undefined,
|
|
4480
|
-
'%Map%':
|
|
4481
|
-
'%MapIteratorPrototype%':
|
|
4480
|
+
'%Map%': "u" < typeof Map ? undefined : Map,
|
|
4481
|
+
'%MapIteratorPrototype%': "u" > typeof Map && hasSymbols && getProto ? getProto(new Map()[Symbol.iterator]()) : undefined,
|
|
4482
4482
|
'%Math%': Math,
|
|
4483
4483
|
'%Number%': Number,
|
|
4484
4484
|
'%Object%': $Object,
|
|
4485
4485
|
"%Object.getOwnPropertyDescriptor%": $gOPD,
|
|
4486
4486
|
'%parseFloat%': parseFloat,
|
|
4487
4487
|
'%parseInt%': parseInt,
|
|
4488
|
-
'%Promise%':
|
|
4489
|
-
'%Proxy%':
|
|
4488
|
+
'%Promise%': "u" < typeof Promise ? undefined : Promise,
|
|
4489
|
+
'%Proxy%': "u" < typeof Proxy ? undefined : Proxy,
|
|
4490
4490
|
'%RangeError%': $RangeError,
|
|
4491
4491
|
'%ReferenceError%': $ReferenceError,
|
|
4492
|
-
'%Reflect%':
|
|
4492
|
+
'%Reflect%': "u" < typeof Reflect ? undefined : Reflect,
|
|
4493
4493
|
'%RegExp%': RegExp,
|
|
4494
|
-
'%Set%':
|
|
4495
|
-
'%SetIteratorPrototype%':
|
|
4496
|
-
'%SharedArrayBuffer%':
|
|
4494
|
+
'%Set%': "u" < typeof Set ? undefined : Set,
|
|
4495
|
+
'%SetIteratorPrototype%': "u" > typeof Set && hasSymbols && getProto ? getProto(new Set()[Symbol.iterator]()) : undefined,
|
|
4496
|
+
'%SharedArrayBuffer%': "u" < typeof SharedArrayBuffer ? undefined : SharedArrayBuffer,
|
|
4497
4497
|
'%String%': String,
|
|
4498
4498
|
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
4499
4499
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
@@ -4501,14 +4501,14 @@ var __webpack_modules__ = {
|
|
|
4501
4501
|
'%ThrowTypeError%': ThrowTypeError,
|
|
4502
4502
|
'%TypedArray%': TypedArray,
|
|
4503
4503
|
'%TypeError%': $TypeError,
|
|
4504
|
-
'%Uint8Array%':
|
|
4505
|
-
'%Uint8ClampedArray%':
|
|
4506
|
-
'%Uint16Array%':
|
|
4507
|
-
'%Uint32Array%':
|
|
4504
|
+
'%Uint8Array%': "u" < typeof Uint8Array ? undefined : Uint8Array,
|
|
4505
|
+
'%Uint8ClampedArray%': "u" < typeof Uint8ClampedArray ? undefined : Uint8ClampedArray,
|
|
4506
|
+
'%Uint16Array%': "u" < typeof Uint16Array ? undefined : Uint16Array,
|
|
4507
|
+
'%Uint32Array%': "u" < typeof Uint32Array ? undefined : Uint32Array,
|
|
4508
4508
|
'%URIError%': $URIError,
|
|
4509
|
-
'%WeakMap%':
|
|
4510
|
-
'%WeakRef%':
|
|
4511
|
-
'%WeakSet%':
|
|
4509
|
+
'%WeakMap%': "u" < typeof WeakMap ? undefined : WeakMap,
|
|
4510
|
+
'%WeakRef%': "u" < typeof WeakRef ? undefined : WeakRef,
|
|
4511
|
+
'%WeakSet%': "u" < typeof WeakSet ? undefined : WeakSet,
|
|
4512
4512
|
'%Function.prototype.call%': $call,
|
|
4513
4513
|
'%Function.prototype.apply%': $apply,
|
|
4514
4514
|
'%Object.defineProperty%': $defineProperty,
|
|
@@ -4851,7 +4851,7 @@ var __webpack_modules__ = {
|
|
|
4851
4851
|
},
|
|
4852
4852
|
"./node_modules/get-proto/Reflect.getPrototypeOf.js" (module) {
|
|
4853
4853
|
"use strict";
|
|
4854
|
-
module.exports =
|
|
4854
|
+
module.exports = "u" > typeof Reflect && Reflect.getPrototypeOf || null;
|
|
4855
4855
|
},
|
|
4856
4856
|
"./node_modules/get-proto/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
4857
4857
|
"use strict";
|
|
@@ -4898,10 +4898,10 @@ var __webpack_modules__ = {
|
|
|
4898
4898
|
}
|
|
4899
4899
|
},
|
|
4900
4900
|
"./node_modules/global/document.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
4901
|
-
var topLevel = void 0 !== __webpack_require__.g ? __webpack_require__.g :
|
|
4901
|
+
var topLevel = void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : {};
|
|
4902
4902
|
var minDoc = __webpack_require__("?a7ce");
|
|
4903
4903
|
var doccy;
|
|
4904
|
-
if (
|
|
4904
|
+
if ("u" > typeof document) doccy = document;
|
|
4905
4905
|
else {
|
|
4906
4906
|
doccy = topLevel['__GLOBAL_DOCUMENT_CACHE@4'];
|
|
4907
4907
|
if (!doccy) doccy = topLevel['__GLOBAL_DOCUMENT_CACHE@4'] = minDoc;
|
|
@@ -4942,7 +4942,7 @@ var __webpack_modules__ = {
|
|
|
4942
4942
|
},
|
|
4943
4943
|
"./node_modules/has-symbols/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
4944
4944
|
"use strict";
|
|
4945
|
-
var origSymbol =
|
|
4945
|
+
var origSymbol = "u" > typeof Symbol && Symbol;
|
|
4946
4946
|
var hasSymbolSham = __webpack_require__("./node_modules/has-symbols/shams.js");
|
|
4947
4947
|
module.exports = function() {
|
|
4948
4948
|
if ('function' != typeof origSymbol) return false;
|
|
@@ -5462,8 +5462,8 @@ var __webpack_modules__ = {
|
|
|
5462
5462
|
if (isBigInt(obj)) return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
5463
5463
|
if (isBoolean(obj)) return markBoxed(booleanValueOf.call(obj));
|
|
5464
5464
|
if (isString(obj)) return markBoxed(inspect(String(obj)));
|
|
5465
|
-
if (
|
|
5466
|
-
if (
|
|
5465
|
+
if ("u" > typeof window && obj === window) return '{ [object Window] }';
|
|
5466
|
+
if ("u" > typeof globalThis && obj === globalThis || void 0 !== __webpack_require__.g && obj === __webpack_require__.g) return '{ [object globalThis] }';
|
|
5467
5467
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
5468
5468
|
var ys = arrObjKeys(obj, inspect);
|
|
5469
5469
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
@@ -5609,7 +5609,7 @@ var __webpack_modules__ = {
|
|
|
5609
5609
|
}
|
|
5610
5610
|
function isElement(x) {
|
|
5611
5611
|
if (!x || 'object' != typeof x) return false;
|
|
5612
|
-
if (
|
|
5612
|
+
if ("u" > typeof HTMLElement && x instanceof HTMLElement) return true;
|
|
5613
5613
|
return 'string' == typeof x.nodeName && 'function' == typeof x.getAttribute;
|
|
5614
5614
|
}
|
|
5615
5615
|
function inspectString(str, opts) {
|
|
@@ -5733,7 +5733,7 @@ var __webpack_modules__ = {
|
|
|
5733
5733
|
var process = __webpack_require__("./node_modules/process/browser.js");
|
|
5734
5734
|
(function() {
|
|
5735
5735
|
var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;
|
|
5736
|
-
if ("
|
|
5736
|
+
if ("u" > typeof performance && null !== performance && performance.now) module.exports = function() {
|
|
5737
5737
|
return performance.now();
|
|
5738
5738
|
};
|
|
5739
5739
|
else if (null != process && process.hrtime) {
|
|
@@ -6540,7 +6540,7 @@ var __webpack_modules__ = {
|
|
|
6540
6540
|
};
|
|
6541
6541
|
},
|
|
6542
6542
|
"./node_modules/raf/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
6543
|
-
var now = __webpack_require__("./node_modules/performance-now/lib/performance-now.js"), root =
|
|
6543
|
+
var now = __webpack_require__("./node_modules/performance-now/lib/performance-now.js"), root = "u" < typeof window ? __webpack_require__.g : window, vendors = [
|
|
6544
6544
|
'moz',
|
|
6545
6545
|
'webkit'
|
|
6546
6546
|
], suffix = 'AnimationFrame', raf = root['request' + suffix], caf = root['cancel' + suffix] || root['cancelRequest' + suffix];
|
|
@@ -6876,8 +6876,8 @@ var __webpack_modules__ = {
|
|
|
6876
6876
|
"./node_modules/superagent/lib/client.js" (module, exports1, __webpack_require__) {
|
|
6877
6877
|
"use strict";
|
|
6878
6878
|
let root;
|
|
6879
|
-
if (
|
|
6880
|
-
else if (
|
|
6879
|
+
if ("u" > typeof window) root = window;
|
|
6880
|
+
else if ("u" < typeof self) {
|
|
6881
6881
|
console.warn('Using browser-only version of superagent in non-browser environment');
|
|
6882
6882
|
root = void 0;
|
|
6883
6883
|
} else root = self;
|
|
@@ -7706,8 +7706,8 @@ var __webpack_modules__ = {
|
|
|
7706
7706
|
function uncurryThis(f) {
|
|
7707
7707
|
return f.call.bind(f);
|
|
7708
7708
|
}
|
|
7709
|
-
var BigIntSupported =
|
|
7710
|
-
var SymbolSupported =
|
|
7709
|
+
var BigIntSupported = "u" > typeof BigInt;
|
|
7710
|
+
var SymbolSupported = "u" > typeof Symbol;
|
|
7711
7711
|
var ObjectToString = uncurryThis(Object.prototype.toString);
|
|
7712
7712
|
var numberValue = uncurryThis(Number.prototype.valueOf);
|
|
7713
7713
|
var stringValue = uncurryThis(String.prototype.valueOf);
|
|
@@ -7727,11 +7727,11 @@ var __webpack_modules__ = {
|
|
|
7727
7727
|
exports1.isGeneratorFunction = isGeneratorFunction;
|
|
7728
7728
|
exports1.isTypedArray = isTypedArray;
|
|
7729
7729
|
function isPromise(input) {
|
|
7730
|
-
return
|
|
7730
|
+
return "u" > typeof Promise && input instanceof Promise || null !== input && 'object' == typeof input && 'function' == typeof input.then && 'function' == typeof input.catch;
|
|
7731
7731
|
}
|
|
7732
7732
|
exports1.isPromise = isPromise;
|
|
7733
7733
|
function isArrayBufferView(value) {
|
|
7734
|
-
if (
|
|
7734
|
+
if ("u" > typeof ArrayBuffer && ArrayBuffer.isView) return ArrayBuffer.isView(value);
|
|
7735
7735
|
return isTypedArray(value) || isDataView(value);
|
|
7736
7736
|
}
|
|
7737
7737
|
exports1.isArrayBufferView = isArrayBufferView;
|
|
@@ -7782,34 +7782,34 @@ var __webpack_modules__ = {
|
|
|
7782
7782
|
function isMapToString(value) {
|
|
7783
7783
|
return '[object Map]' === ObjectToString(value);
|
|
7784
7784
|
}
|
|
7785
|
-
isMapToString.working =
|
|
7785
|
+
isMapToString.working = "u" > typeof Map && isMapToString(new Map());
|
|
7786
7786
|
function isMap(value) {
|
|
7787
|
-
if (
|
|
7787
|
+
if ("u" < typeof Map) return false;
|
|
7788
7788
|
return isMapToString.working ? isMapToString(value) : value instanceof Map;
|
|
7789
7789
|
}
|
|
7790
7790
|
exports1.isMap = isMap;
|
|
7791
7791
|
function isSetToString(value) {
|
|
7792
7792
|
return '[object Set]' === ObjectToString(value);
|
|
7793
7793
|
}
|
|
7794
|
-
isSetToString.working =
|
|
7794
|
+
isSetToString.working = "u" > typeof Set && isSetToString(new Set());
|
|
7795
7795
|
function isSet(value) {
|
|
7796
|
-
if (
|
|
7796
|
+
if ("u" < typeof Set) return false;
|
|
7797
7797
|
return isSetToString.working ? isSetToString(value) : value instanceof Set;
|
|
7798
7798
|
}
|
|
7799
7799
|
exports1.isSet = isSet;
|
|
7800
7800
|
function isWeakMapToString(value) {
|
|
7801
7801
|
return '[object WeakMap]' === ObjectToString(value);
|
|
7802
7802
|
}
|
|
7803
|
-
isWeakMapToString.working =
|
|
7803
|
+
isWeakMapToString.working = "u" > typeof WeakMap && isWeakMapToString(new WeakMap());
|
|
7804
7804
|
function isWeakMap(value) {
|
|
7805
|
-
if (
|
|
7805
|
+
if ("u" < typeof WeakMap) return false;
|
|
7806
7806
|
return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
|
|
7807
7807
|
}
|
|
7808
7808
|
exports1.isWeakMap = isWeakMap;
|
|
7809
7809
|
function isWeakSetToString(value) {
|
|
7810
7810
|
return '[object WeakSet]' === ObjectToString(value);
|
|
7811
7811
|
}
|
|
7812
|
-
isWeakSetToString.working =
|
|
7812
|
+
isWeakSetToString.working = "u" > typeof WeakSet && isWeakSetToString(new WeakSet());
|
|
7813
7813
|
function isWeakSet(value) {
|
|
7814
7814
|
return isWeakSetToString(value);
|
|
7815
7815
|
}
|
|
@@ -7817,22 +7817,22 @@ var __webpack_modules__ = {
|
|
|
7817
7817
|
function isArrayBufferToString(value) {
|
|
7818
7818
|
return '[object ArrayBuffer]' === ObjectToString(value);
|
|
7819
7819
|
}
|
|
7820
|
-
isArrayBufferToString.working =
|
|
7820
|
+
isArrayBufferToString.working = "u" > typeof ArrayBuffer && isArrayBufferToString(new ArrayBuffer());
|
|
7821
7821
|
function isArrayBuffer(value) {
|
|
7822
|
-
if (
|
|
7822
|
+
if ("u" < typeof ArrayBuffer) return false;
|
|
7823
7823
|
return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
|
|
7824
7824
|
}
|
|
7825
7825
|
exports1.isArrayBuffer = isArrayBuffer;
|
|
7826
7826
|
function isDataViewToString(value) {
|
|
7827
7827
|
return '[object DataView]' === ObjectToString(value);
|
|
7828
7828
|
}
|
|
7829
|
-
isDataViewToString.working =
|
|
7829
|
+
isDataViewToString.working = "u" > typeof ArrayBuffer && "u" > typeof DataView && isDataViewToString(new DataView(new ArrayBuffer(1), 0, 1));
|
|
7830
7830
|
function isDataView(value) {
|
|
7831
|
-
if (
|
|
7831
|
+
if ("u" < typeof DataView) return false;
|
|
7832
7832
|
return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
|
|
7833
7833
|
}
|
|
7834
7834
|
exports1.isDataView = isDataView;
|
|
7835
|
-
var SharedArrayBufferCopy =
|
|
7835
|
+
var SharedArrayBufferCopy = "u" > typeof SharedArrayBuffer ? SharedArrayBuffer : void 0;
|
|
7836
7836
|
function isSharedArrayBufferToString(value) {
|
|
7837
7837
|
return '[object SharedArrayBuffer]' === ObjectToString(value);
|
|
7838
7838
|
}
|
|
@@ -7887,7 +7887,7 @@ var __webpack_modules__ = {
|
|
|
7887
7887
|
}
|
|
7888
7888
|
exports1.isBoxedPrimitive = isBoxedPrimitive;
|
|
7889
7889
|
function isAnyArrayBuffer(value) {
|
|
7890
|
-
return
|
|
7890
|
+
return "u" > typeof Uint8Array && (isArrayBuffer(value) || isSharedArrayBuffer(value));
|
|
7891
7891
|
}
|
|
7892
7892
|
exports1.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
7893
7893
|
[
|
|
@@ -8293,7 +8293,7 @@ var __webpack_modules__ = {
|
|
|
8293
8293
|
function hasOwnProperty(obj, prop) {
|
|
8294
8294
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
8295
8295
|
}
|
|
8296
|
-
var kCustomPromisifiedSymbol =
|
|
8296
|
+
var kCustomPromisifiedSymbol = "u" > typeof Symbol ? Symbol('util.promisify.custom') : void 0;
|
|
8297
8297
|
exports1.promisify = function(original) {
|
|
8298
8298
|
if ('function' != typeof original) throw new TypeError('The "original" argument must be of type Function');
|
|
8299
8299
|
if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
|
|
@@ -8461,7 +8461,7 @@ var __webpack_modules__ = {
|
|
|
8461
8461
|
};
|
|
8462
8462
|
var Stream = __webpack_require__("./node_modules/websocket-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
|
|
8463
8463
|
var Buffer = __webpack_require__("./node_modules/websocket-stream/node_modules/safe-buffer/index.js").Buffer;
|
|
8464
|
-
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g :
|
|
8464
|
+
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
|
|
8465
8465
|
function _uint8ArrayToBuffer(chunk) {
|
|
8466
8466
|
return Buffer.from(chunk);
|
|
8467
8467
|
}
|
|
@@ -9202,7 +9202,7 @@ var __webpack_modules__ = {
|
|
|
9202
9202
|
};
|
|
9203
9203
|
var Stream = __webpack_require__("./node_modules/websocket-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js");
|
|
9204
9204
|
var Buffer = __webpack_require__("./node_modules/websocket-stream/node_modules/safe-buffer/index.js").Buffer;
|
|
9205
|
-
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g :
|
|
9205
|
+
var OurUint8Array = (void 0 !== __webpack_require__.g ? __webpack_require__.g : "u" > typeof window ? window : "u" > typeof self ? self : {}).Uint8Array || function() {};
|
|
9206
9206
|
function _uint8ArrayToBuffer(chunk) {
|
|
9207
9207
|
return Buffer.from(chunk);
|
|
9208
9208
|
}
|
|
@@ -10100,9 +10100,9 @@ var __webpack_modules__ = {
|
|
|
10100
10100
|
},
|
|
10101
10101
|
"./node_modules/websocket-stream/ws-fallback.js" (module) {
|
|
10102
10102
|
var ws = null;
|
|
10103
|
-
if (
|
|
10104
|
-
else if (
|
|
10105
|
-
else if (
|
|
10103
|
+
if ("u" > typeof WebSocket) ws = WebSocket;
|
|
10104
|
+
else if ("u" > typeof MozWebSocket) ws = MozWebSocket;
|
|
10105
|
+
else if ("u" > typeof window) ws = window.WebSocket || window.MozWebSocket;
|
|
10106
10106
|
module.exports = ws;
|
|
10107
10107
|
},
|
|
10108
10108
|
"./node_modules/which-typed-array/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
@@ -10115,7 +10115,7 @@ var __webpack_modules__ = {
|
|
|
10115
10115
|
var getProto = __webpack_require__("./node_modules/get-proto/index.js");
|
|
10116
10116
|
var $toString = callBound('Object.prototype.toString');
|
|
10117
10117
|
var hasToStringTag = __webpack_require__("./node_modules/has-tostringtag/shams.js")();
|
|
10118
|
-
var g =
|
|
10118
|
+
var g = "u" < typeof globalThis ? __webpack_require__.g : globalThis;
|
|
10119
10119
|
var typedArrays = availableTypedArrays();
|
|
10120
10120
|
var $slice = callBound('String.prototype.slice');
|
|
10121
10121
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function(array, value) {
|
|
@@ -10199,7 +10199,7 @@ var __webpack_modules__ = {
|
|
|
10199
10199
|
"?3f0e" () {},
|
|
10200
10200
|
"?3412" () {},
|
|
10201
10201
|
"?3152" () {},
|
|
10202
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/api.js" (module) {
|
|
10202
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/api.js" (module) {
|
|
10203
10203
|
"use strict";
|
|
10204
10204
|
module.exports = function(cssWithMappingToString) {
|
|
10205
10205
|
var list = [];
|
|
@@ -10253,13 +10253,13 @@ var __webpack_modules__ = {
|
|
|
10253
10253
|
return list;
|
|
10254
10254
|
};
|
|
10255
10255
|
},
|
|
10256
|
-
"./node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js" (module) {
|
|
10256
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/noSourceMaps.js" (module) {
|
|
10257
10257
|
"use strict";
|
|
10258
10258
|
module.exports = function(i) {
|
|
10259
10259
|
return i[1];
|
|
10260
10260
|
};
|
|
10261
10261
|
},
|
|
10262
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js" (module) {
|
|
10262
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js" (module) {
|
|
10263
10263
|
"use strict";
|
|
10264
10264
|
var stylesInDOM = [];
|
|
10265
10265
|
function getIndexByIdentifier(identifier) {
|
|
@@ -10338,7 +10338,7 @@ var __webpack_modules__ = {
|
|
|
10338
10338
|
};
|
|
10339
10339
|
};
|
|
10340
10340
|
},
|
|
10341
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js" (module) {
|
|
10341
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js" (module) {
|
|
10342
10342
|
"use strict";
|
|
10343
10343
|
var memo = {};
|
|
10344
10344
|
function getTarget(target) {
|
|
@@ -10360,7 +10360,7 @@ var __webpack_modules__ = {
|
|
|
10360
10360
|
}
|
|
10361
10361
|
module.exports = insertBySelector;
|
|
10362
10362
|
},
|
|
10363
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js" (module) {
|
|
10363
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js" (module) {
|
|
10364
10364
|
"use strict";
|
|
10365
10365
|
function insertStyleElement(options) {
|
|
10366
10366
|
var element = document.createElement("style");
|
|
@@ -10370,7 +10370,7 @@ var __webpack_modules__ = {
|
|
|
10370
10370
|
}
|
|
10371
10371
|
module.exports = insertStyleElement;
|
|
10372
10372
|
},
|
|
10373
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
10373
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
10374
10374
|
"use strict";
|
|
10375
10375
|
function setAttributesWithoutAttributes(styleElement) {
|
|
10376
10376
|
var nonce = __webpack_require__.nc;
|
|
@@ -10378,7 +10378,7 @@ var __webpack_modules__ = {
|
|
|
10378
10378
|
}
|
|
10379
10379
|
module.exports = setAttributesWithoutAttributes;
|
|
10380
10380
|
},
|
|
10381
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js" (module) {
|
|
10381
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js" (module) {
|
|
10382
10382
|
"use strict";
|
|
10383
10383
|
function apply(styleElement, options, obj) {
|
|
10384
10384
|
var css = "";
|
|
@@ -10391,7 +10391,7 @@ var __webpack_modules__ = {
|
|
|
10391
10391
|
if (obj.media) css += "}";
|
|
10392
10392
|
if (obj.supports) css += "}";
|
|
10393
10393
|
var sourceMap = obj.sourceMap;
|
|
10394
|
-
if (sourceMap && "
|
|
10394
|
+
if (sourceMap && "u" > typeof btoa) css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
10395
10395
|
options.styleTagTransform(css, styleElement, options.options);
|
|
10396
10396
|
}
|
|
10397
10397
|
function removeStyleElement(styleElement) {
|
|
@@ -10399,7 +10399,7 @@ var __webpack_modules__ = {
|
|
|
10399
10399
|
styleElement.parentNode.removeChild(styleElement);
|
|
10400
10400
|
}
|
|
10401
10401
|
function domAPI(options) {
|
|
10402
|
-
if ("
|
|
10402
|
+
if ("u" < typeof document) return {
|
|
10403
10403
|
update: function() {},
|
|
10404
10404
|
remove: function() {}
|
|
10405
10405
|
};
|
|
@@ -10415,7 +10415,7 @@ var __webpack_modules__ = {
|
|
|
10415
10415
|
}
|
|
10416
10416
|
module.exports = domAPI;
|
|
10417
10417
|
},
|
|
10418
|
-
"./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js" (module) {
|
|
10418
|
+
"./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js" (module) {
|
|
10419
10419
|
"use strict";
|
|
10420
10420
|
function styleTagTransform(css, styleElement) {
|
|
10421
10421
|
if (styleElement.styleSheet) styleElement.styleSheet.cssText = css;
|
|
@@ -10429,7 +10429,7 @@ var __webpack_modules__ = {
|
|
|
10429
10429
|
"./node_modules/available-typed-arrays/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
10430
10430
|
"use strict";
|
|
10431
10431
|
var possibleNames = __webpack_require__("./node_modules/possible-typed-array-names/index.js");
|
|
10432
|
-
var g =
|
|
10432
|
+
var g = "u" < typeof globalThis ? __webpack_require__.g : globalThis;
|
|
10433
10433
|
module.exports = function() {
|
|
10434
10434
|
var out = [];
|
|
10435
10435
|
for(var i = 0; i < possibleNames.length; i++)if ('function' == typeof g[possibleNames[i]]) out[out.length] = possibleNames[i];
|
|
@@ -10480,7 +10480,7 @@ function __webpack_require__(moduleId) {
|
|
|
10480
10480
|
})();
|
|
10481
10481
|
(()=>{
|
|
10482
10482
|
__webpack_require__.r = (exports1)=>{
|
|
10483
|
-
if (
|
|
10483
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
10484
10484
|
value: 'Module'
|
|
10485
10485
|
});
|
|
10486
10486
|
Object.defineProperty(exports1, '__esModule', {
|
|
@@ -10664,8 +10664,37 @@ var __webpack_exports__ = {};
|
|
|
10664
10664
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10665
10665
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10666
10666
|
var package_namespaceObject = {
|
|
10667
|
-
rE: "13.6.
|
|
10667
|
+
rE: "13.6.6"
|
|
10668
10668
|
};
|
|
10669
|
+
function isAudioEnabled(options) {
|
|
10670
|
+
return Boolean(options.audio.enabled);
|
|
10671
|
+
}
|
|
10672
|
+
function setAudioEnabled(enabled, options) {
|
|
10673
|
+
options.audio.enabled = enabled;
|
|
10674
|
+
return options;
|
|
10675
|
+
}
|
|
10676
|
+
function isAutoPauseEnabled(options) {
|
|
10677
|
+
return options.enableAutoPause && options.enablePause;
|
|
10678
|
+
}
|
|
10679
|
+
var util = __webpack_require__("./node_modules/util/util.js");
|
|
10680
|
+
var util_default = /*#__PURE__*/ __webpack_require__.n(util);
|
|
10681
|
+
function inspect(element) {
|
|
10682
|
+
return util_default().inspect(element, {
|
|
10683
|
+
colors: false,
|
|
10684
|
+
compact: true,
|
|
10685
|
+
depth: 4,
|
|
10686
|
+
breakLength: 1 / 0
|
|
10687
|
+
}).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
|
|
10688
|
+
}
|
|
10689
|
+
function pretty(anything) {
|
|
10690
|
+
if (anything instanceof HTMLElement) {
|
|
10691
|
+
if (anything.id) return `#${anything.id}`;
|
|
10692
|
+
if (anything.className) return `.${anything.className}`;
|
|
10693
|
+
return "(No HTML identifier available)";
|
|
10694
|
+
}
|
|
10695
|
+
return inspect(anything);
|
|
10696
|
+
}
|
|
10697
|
+
const util_pretty = pretty;
|
|
10669
10698
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10670
10699
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
|
10671
10700
|
var LIBVERSION = '2.0.7', UA_MAX_LENGTH = 500, USER_AGENT = 'user-agent', EMPTY = '', UNKNOWN = '?', TYPEOF = {
|
|
@@ -13920,35 +13949,6 @@ var __webpack_exports__ = {};
|
|
|
13920
13949
|
return getBrowser_browser;
|
|
13921
13950
|
}
|
|
13922
13951
|
const util_getBrowser = getBrowser;
|
|
13923
|
-
function isAudioEnabled(options) {
|
|
13924
|
-
return Boolean(options.audio.enabled);
|
|
13925
|
-
}
|
|
13926
|
-
function setAudioEnabled(enabled, options) {
|
|
13927
|
-
options.audio.enabled = enabled;
|
|
13928
|
-
return options;
|
|
13929
|
-
}
|
|
13930
|
-
function isAutoPauseEnabled(options) {
|
|
13931
|
-
return options.enableAutoPause && options.enablePause;
|
|
13932
|
-
}
|
|
13933
|
-
var util = __webpack_require__("./node_modules/util/util.js");
|
|
13934
|
-
var util_default = /*#__PURE__*/ __webpack_require__.n(util);
|
|
13935
|
-
function inspect(element) {
|
|
13936
|
-
return util_default().inspect(element, {
|
|
13937
|
-
colors: false,
|
|
13938
|
-
compact: true,
|
|
13939
|
-
depth: 4,
|
|
13940
|
-
breakLength: 1 / 0
|
|
13941
|
-
}).replace(/\s+/gu, " ").replace(/\r?\n/gu, "");
|
|
13942
|
-
}
|
|
13943
|
-
function pretty(anything) {
|
|
13944
|
-
if (anything instanceof HTMLElement) {
|
|
13945
|
-
if (anything.id) return `#${anything.id}`;
|
|
13946
|
-
if (anything.className) return `.${anything.className}`;
|
|
13947
|
-
return "(No HTML identifier available)";
|
|
13948
|
-
}
|
|
13949
|
-
return inspect(anything);
|
|
13950
|
-
}
|
|
13951
|
-
const util_pretty = pretty;
|
|
13952
13952
|
function HTTPVideomailError_define_property(obj, key, value) {
|
|
13953
13953
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
13954
13954
|
value: value,
|
|
@@ -13987,6 +13987,7 @@ var __webpack_exports__ = {};
|
|
|
13987
13987
|
return this.classList;
|
|
13988
13988
|
}
|
|
13989
13989
|
constructor(message, options, classList, errData){
|
|
13990
|
+
var _ref;
|
|
13990
13991
|
super(message, errData), VideomailError_define_property(this, "title", "Error from videomail-client npm package"), VideomailError_define_property(this, "location", window.location.href), VideomailError_define_property(this, "logLines", void 0), VideomailError_define_property(this, "siteName", void 0), VideomailError_define_property(this, "cookie", void 0), VideomailError_define_property(this, "err", void 0), VideomailError_define_property(this, "promise", void 0), VideomailError_define_property(this, "reason", void 0), VideomailError_define_property(this, "browser", void 0), VideomailError_define_property(this, "cpu", void 0), VideomailError_define_property(this, "device", void 0), VideomailError_define_property(this, "engine", void 0), VideomailError_define_property(this, "os", void 0), VideomailError_define_property(this, "screen", void 0), VideomailError_define_property(this, "orientation", void 0), VideomailError_define_property(this, "classList", void 0);
|
|
13991
13992
|
this.explanation = null == errData ? void 0 : errData.explanation;
|
|
13992
13993
|
this.logLines = null == errData ? void 0 : errData.logLines;
|
|
@@ -14009,8 +14010,7 @@ var __webpack_exports__ = {};
|
|
|
14009
14010
|
].join("×");
|
|
14010
14011
|
if (screen.orientation) this.orientation = screen.orientation.type;
|
|
14011
14012
|
this.err = null == errData ? void 0 : errData.err;
|
|
14012
|
-
|
|
14013
|
-
const stackTarget = null != (_errData_cause = null == errData ? void 0 : errData.cause) ? _errData_cause : null == errData ? void 0 : errData.err;
|
|
14013
|
+
const stackTarget = null != (_ref = null == errData ? void 0 : errData.cause) ? _ref : null == errData ? void 0 : errData.err;
|
|
14014
14014
|
if (stackTarget) {
|
|
14015
14015
|
if ("captureStackTrace" in Error) Error.captureStackTrace(stackTarget, VideomailError);
|
|
14016
14016
|
}
|
|
@@ -14030,18 +14030,16 @@ var __webpack_exports__ = {};
|
|
|
14030
14030
|
VideomailError_define_property(VideomailError, "INVALID_STATE_ERROR", "InvalidStateError");
|
|
14031
14031
|
const error_VideomailError = VideomailError;
|
|
14032
14032
|
function createError(errorParams) {
|
|
14033
|
+
var _errorParams_classList, _ref;
|
|
14033
14034
|
const { exc, options } = errorParams;
|
|
14034
14035
|
let err = errorParams.err;
|
|
14035
14036
|
if (!err && exc instanceof Error) err = exc;
|
|
14036
14037
|
if (err instanceof error_VideomailError) return err;
|
|
14037
14038
|
let message = errorParams.message;
|
|
14038
14039
|
let explanation = errorParams.explanation;
|
|
14039
|
-
var _errorParams_classList;
|
|
14040
14040
|
const classList = null != (_errorParams_classList = errorParams.classList) ? _errorParams_classList : [];
|
|
14041
14041
|
const audioEnabled = isAudioEnabled(options);
|
|
14042
|
-
const
|
|
14043
|
-
var _err_name;
|
|
14044
|
-
const errName = null != (_err_name = null == err ? void 0 : err.name) ? _err_name : null == err ? void 0 : err.constructor.name;
|
|
14042
|
+
const errName = null != (_ref = null == err ? void 0 : err.name) ? _ref : null == err ? void 0 : err.constructor.name;
|
|
14045
14043
|
switch(errName){
|
|
14046
14044
|
case error_VideomailError.SECURITY_ERROR:
|
|
14047
14045
|
message = "The operation was insecure";
|
|
@@ -14087,9 +14085,9 @@ var __webpack_exports__ = {};
|
|
|
14087
14085
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
14088
14086
|
break;
|
|
14089
14087
|
case "HARDWARE_UNAVAILABLE":
|
|
14088
|
+
case "AbortError":
|
|
14090
14089
|
message = "Webcam is unavailable";
|
|
14091
14090
|
explanation = "Maybe it is already busy in another window?";
|
|
14092
|
-
if (browser.isChromeBased() || browser.isFirefox()) explanation += " Or you have to allow access above?";
|
|
14093
14091
|
classList.push(error_VideomailError.WEBCAM_PROBLEM);
|
|
14094
14092
|
break;
|
|
14095
14093
|
case "NO_VIDEO_FEED":
|
|
@@ -14594,11 +14592,11 @@ var __webpack_exports__ = {};
|
|
|
14594
14592
|
}
|
|
14595
14593
|
doTheSubmit(e) {
|
|
14596
14594
|
return _async_to_generator(function*() {
|
|
14595
|
+
var _this_formElement_getAttribute;
|
|
14597
14596
|
if (e) {
|
|
14598
14597
|
this.options.logger.debug(`Form: doTheSubmit(${util_pretty(e)})`);
|
|
14599
14598
|
e.preventDefault();
|
|
14600
14599
|
} else this.options.logger.debug("Form: doTheSubmit()");
|
|
14601
|
-
var _this_formElement_getAttribute;
|
|
14602
14600
|
const url = null != (_this_formElement_getAttribute = this.formElement.getAttribute("action")) ? _this_formElement_getAttribute : this.options.apiUrl;
|
|
14603
14601
|
const method = this.formElement.getAttribute("method");
|
|
14604
14602
|
let chosenMethod;
|
|
@@ -15081,19 +15079,19 @@ var __webpack_exports__ = {};
|
|
|
15081
15079
|
return newOptions;
|
|
15082
15080
|
}
|
|
15083
15081
|
const options_mergeWithDefaultOptions = mergeWithDefaultOptions;
|
|
15084
|
-
var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
|
|
15082
|
+
var injectStylesIntoStyleTag = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/injectStylesIntoStyleTag.js");
|
|
15085
15083
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/ __webpack_require__.n(injectStylesIntoStyleTag);
|
|
15086
|
-
var styleDomAPI = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
|
|
15084
|
+
var styleDomAPI = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleDomAPI.js");
|
|
15087
15085
|
var styleDomAPI_default = /*#__PURE__*/ __webpack_require__.n(styleDomAPI);
|
|
15088
|
-
var insertBySelector = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
|
|
15086
|
+
var insertBySelector = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertBySelector.js");
|
|
15089
15087
|
var insertBySelector_default = /*#__PURE__*/ __webpack_require__.n(insertBySelector);
|
|
15090
|
-
var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
|
|
15088
|
+
var setAttributesWithoutAttributes = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/setAttributesWithoutAttributes.js");
|
|
15091
15089
|
var setAttributesWithoutAttributes_default = /*#__PURE__*/ __webpack_require__.n(setAttributesWithoutAttributes);
|
|
15092
|
-
var insertStyleElement = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
|
|
15090
|
+
var insertStyleElement = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/insertStyleElement.js");
|
|
15093
15091
|
var insertStyleElement_default = /*#__PURE__*/ __webpack_require__.n(insertStyleElement);
|
|
15094
|
-
var styleTagTransform = __webpack_require__("./node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
|
|
15092
|
+
var styleTagTransform = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/style-loader/runtime/styleTagTransform.js");
|
|
15095
15093
|
var styleTagTransform_default = /*#__PURE__*/ __webpack_require__.n(styleTagTransform);
|
|
15096
|
-
var main = __webpack_require__("./node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
|
|
15094
|
+
var main = __webpack_require__("./node_modules/@rslib/core/node_modules/@rsbuild/core/compiled/css-loader/index.js??ruleSet[1].rules[13].use[1]!builtin:lightningcss-loader??ruleSet[1].rules[13].use[2]!./node_modules/stylus-loader/dist/cjs.js??ruleSet[1].rules[13].use[3]!./src/styles/main.styl");
|
|
15097
15095
|
var main_options = {};
|
|
15098
15096
|
main_options.styleTagTransform = styleTagTransform_default();
|
|
15099
15097
|
main_options.setAttributes = setAttributesWithoutAttributes_default();
|
|
@@ -16190,7 +16188,7 @@ var __webpack_exports__ = {};
|
|
|
16190
16188
|
if (this.options.video.stretch) {
|
|
16191
16189
|
const heightDimension = this.visuals.getRecorderHeight(true, true);
|
|
16192
16190
|
this.notifyElement.style.width = "auto";
|
|
16193
|
-
this.notifyElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
16191
|
+
if (heightDimension) this.notifyElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
16194
16192
|
} else {
|
|
16195
16193
|
let heightDimension;
|
|
16196
16194
|
let widthDimension = dimensions_useFullWidth(this.options.video.mobileBreakPoint);
|
|
@@ -16302,20 +16300,16 @@ var __webpack_exports__ = {};
|
|
|
16302
16300
|
return this.built;
|
|
16303
16301
|
}
|
|
16304
16302
|
notify(message, explanation, notifyOptions = {}) {
|
|
16303
|
+
var _notifyOptions_stillWait, _notifyOptions_entertain, _notifyOptions_blocking, _notifyOptions_classList, _notifyOptions_removeDimensions;
|
|
16305
16304
|
const params = [
|
|
16306
16305
|
message,
|
|
16307
16306
|
explanation
|
|
16308
16307
|
].filter(Boolean);
|
|
16309
16308
|
this.options.logger.debug(`Notifier: notify(${params.join(", ")})`);
|
|
16310
|
-
var _notifyOptions_stillWait;
|
|
16311
16309
|
const stillWait = null != (_notifyOptions_stillWait = notifyOptions.stillWait) ? _notifyOptions_stillWait : false;
|
|
16312
|
-
var _notifyOptions_entertain;
|
|
16313
16310
|
const entertain = null != (_notifyOptions_entertain = notifyOptions.entertain) ? _notifyOptions_entertain : false;
|
|
16314
|
-
var _notifyOptions_blocking;
|
|
16315
16311
|
const blocking = null != (_notifyOptions_blocking = notifyOptions.blocking) ? _notifyOptions_blocking : false;
|
|
16316
|
-
var _notifyOptions_classList;
|
|
16317
16312
|
const classList = null != (_notifyOptions_classList = notifyOptions.classList) ? _notifyOptions_classList : false;
|
|
16318
|
-
var _notifyOptions_removeDimensions;
|
|
16319
16313
|
const removeDimensions = null != (_notifyOptions_removeDimensions = notifyOptions.removeDimensions) ? _notifyOptions_removeDimensions : false;
|
|
16320
16314
|
if (this.notifyElement) {
|
|
16321
16315
|
if (!entertain) this.notifyElement.className = "notifier";
|
|
@@ -16352,7 +16346,7 @@ var __webpack_exports__ = {};
|
|
|
16352
16346
|
var animitter = __webpack_require__("./node_modules/animitter/index.js");
|
|
16353
16347
|
var animitter_default = /*#__PURE__*/ __webpack_require__.n(animitter);
|
|
16354
16348
|
var typedarray_to_buffer = __webpack_require__("./node_modules/typedarray-to-buffer/index.js");
|
|
16355
|
-
const canvas_to_buffer_modern_e = "
|
|
16349
|
+
const canvas_to_buffer_modern_e = "u" > typeof document && "function" == typeof document.createElement, canvas_to_buffer_modern_i = canvas_to_buffer_modern_e ? [
|
|
16356
16350
|
"webp",
|
|
16357
16351
|
"jpeg"
|
|
16358
16352
|
] : [
|
|
@@ -17081,6 +17075,7 @@ var __webpack_exports__ = {};
|
|
|
17081
17075
|
this.updateOverallProgress();
|
|
17082
17076
|
}
|
|
17083
17077
|
preview(args) {
|
|
17078
|
+
var _args_duration;
|
|
17084
17079
|
if (!args) throw error_createError({
|
|
17085
17080
|
message: "Preview arguments are missing.",
|
|
17086
17081
|
options: this.options
|
|
@@ -17094,12 +17089,11 @@ var __webpack_exports__ = {};
|
|
|
17094
17089
|
this.hide();
|
|
17095
17090
|
const widthDimension = this.getRecorderWidth(true);
|
|
17096
17091
|
const heightDimension = this.getRecorderHeight(true);
|
|
17097
|
-
var _args_duration;
|
|
17098
17092
|
const duration = null != (_args_duration = args.duration) ? _args_duration : -1;
|
|
17099
17093
|
this.emit("PREVIEW", {
|
|
17100
17094
|
key: this.key,
|
|
17101
17095
|
width: null == widthDimension ? void 0 : widthDimension.value,
|
|
17102
|
-
height: heightDimension.value,
|
|
17096
|
+
height: null == heightDimension ? void 0 : heightDimension.value,
|
|
17103
17097
|
hasAudio,
|
|
17104
17098
|
duration
|
|
17105
17099
|
});
|
|
@@ -17719,7 +17713,7 @@ var __webpack_exports__ = {};
|
|
|
17719
17713
|
}
|
|
17720
17714
|
if (this.options.video.height) {
|
|
17721
17715
|
const recorderHeight = this.getRecorderHeight(true);
|
|
17722
|
-
if (recorderHeight.value) this.recorderElement.height = recorderHeight.value;
|
|
17716
|
+
if (null == recorderHeight ? void 0 : recorderHeight.value) this.recorderElement.height = recorderHeight.value;
|
|
17723
17717
|
else this.recorderElement.style.removeProperty("height");
|
|
17724
17718
|
}
|
|
17725
17719
|
}
|
|
@@ -17831,29 +17825,28 @@ var __webpack_exports__ = {};
|
|
|
17831
17825
|
return dimension;
|
|
17832
17826
|
}
|
|
17833
17827
|
getRecorderHeight(responsive, useBoundingClientRect) {
|
|
17828
|
+
let recorderHeight;
|
|
17834
17829
|
if (this.recorderElement && useBoundingClientRect) {
|
|
17835
17830
|
const height = this.recorderElement.getBoundingClientRect().height;
|
|
17836
|
-
|
|
17831
|
+
recorderHeight = {
|
|
17837
17832
|
unit: "px",
|
|
17838
17833
|
value: height
|
|
17839
17834
|
};
|
|
17840
|
-
|
|
17841
|
-
}
|
|
17842
|
-
if (this.userMedia) {
|
|
17835
|
+
} else if (this.userMedia) {
|
|
17843
17836
|
const height = this.userMedia.getRawHeight(responsive);
|
|
17844
|
-
|
|
17837
|
+
recorderHeight = {
|
|
17838
|
+
unit: "px",
|
|
17839
|
+
value: height
|
|
17840
|
+
};
|
|
17841
|
+
} else if (responsive && this.options.video.height) recorderHeight = this.calculateHeight(responsive);
|
|
17842
|
+
else if (this.options.video.height) {
|
|
17843
|
+
const height = this.options.video.height;
|
|
17844
|
+
recorderHeight = {
|
|
17845
17845
|
unit: "px",
|
|
17846
17846
|
value: height
|
|
17847
17847
|
};
|
|
17848
|
-
return dimension;
|
|
17849
17848
|
}
|
|
17850
|
-
|
|
17851
|
-
const height = this.options.video.height;
|
|
17852
|
-
const dimension = {
|
|
17853
|
-
unit: "px",
|
|
17854
|
-
value: height
|
|
17855
|
-
};
|
|
17856
|
-
return dimension;
|
|
17849
|
+
return recorderHeight;
|
|
17857
17850
|
}
|
|
17858
17851
|
getRatio() {
|
|
17859
17852
|
let ratio;
|
|
@@ -17872,10 +17865,21 @@ var __webpack_exports__ = {};
|
|
|
17872
17865
|
return dimensions_calculateWidth(responsive, videoHeight, this.options, this.getRatio());
|
|
17873
17866
|
}
|
|
17874
17867
|
calculateHeight(responsive) {
|
|
17875
|
-
let
|
|
17876
|
-
if (this.userMedia)
|
|
17877
|
-
|
|
17878
|
-
|
|
17868
|
+
let videoDimension;
|
|
17869
|
+
if (this.userMedia) {
|
|
17870
|
+
const videoHeight = this.userMedia.getVideoHeight();
|
|
17871
|
+
videoDimension = {
|
|
17872
|
+
value: videoHeight,
|
|
17873
|
+
unit: "px"
|
|
17874
|
+
};
|
|
17875
|
+
} else if (this.recorderElement) {
|
|
17876
|
+
const videoHeight = this.recorderElement.videoHeight || this.recorderElement.height;
|
|
17877
|
+
videoDimension = {
|
|
17878
|
+
value: videoHeight,
|
|
17879
|
+
unit: "px"
|
|
17880
|
+
};
|
|
17881
|
+
} else videoDimension = dimensions_calculateHeight(responsive, void 0, this.options, this.getRatio(), this.recorderElement);
|
|
17882
|
+
return videoDimension;
|
|
17879
17883
|
}
|
|
17880
17884
|
getRawVisualUserMedia() {
|
|
17881
17885
|
return this.recorderElement;
|
|
@@ -18234,9 +18238,9 @@ var __webpack_exports__ = {};
|
|
|
18234
18238
|
widthDimension = this.getRecorderWidth(true);
|
|
18235
18239
|
heightDimension = this.getRecorderHeight(true);
|
|
18236
18240
|
}
|
|
18237
|
-
if (widthDimension) this.visualsElement.style.width = `${widthDimension.value}${widthDimension.unit}`;
|
|
18241
|
+
if (null == widthDimension ? void 0 : widthDimension.value) this.visualsElement.style.width = `${widthDimension.value}${widthDimension.unit}`;
|
|
18238
18242
|
else this.visualsElement.style.removeProperty("width");
|
|
18239
|
-
if (heightDimension) this.visualsElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
18243
|
+
if (null == heightDimension ? void 0 : heightDimension.value) this.visualsElement.style.height = `${heightDimension.value}${heightDimension.unit}`;
|
|
18240
18244
|
else this.visualsElement.style.removeProperty("height");
|
|
18241
18245
|
}
|
|
18242
18246
|
}
|
|
@@ -18665,7 +18669,7 @@ var __webpack_exports__ = {};
|
|
|
18665
18669
|
const widthDimension = this.visuals.getRecorderWidth(true);
|
|
18666
18670
|
const heightDimension = this.visuals.getRecorderHeight(true);
|
|
18667
18671
|
videomailFormData.width = null == widthDimension ? void 0 : widthDimension.value;
|
|
18668
|
-
videomailFormData.height = heightDimension.value;
|
|
18672
|
+
videomailFormData.height = null == heightDimension ? void 0 : heightDimension.value;
|
|
18669
18673
|
return yield this.resource.post(videomailFormData);
|
|
18670
18674
|
}
|
|
18671
18675
|
if (method === FormMethod.PUT) return yield this.resource.put(videomailFormData);
|