d5-testing-library 1.9.0-alpha.26 → 1.9.0-alpha.28

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.
@@ -245,7 +245,7 @@ var init_actions = __esm({
245
245
  });
246
246
 
247
247
  // src/utils/locators.ts
248
- var import_selenium_webdriver2, byTestIdCssSelector, byTestId, readonlyLocator;
248
+ var import_selenium_webdriver2, byTestIdCssSelector, byTestId, readonlyLocator, disabledLocator;
249
249
  var init_locators = __esm({
250
250
  "src/utils/locators.ts"() {
251
251
  "use strict";
@@ -257,6 +257,7 @@ var init_locators = __esm({
257
257
  return import_selenium_webdriver2.By.css(byTestIdCssSelector(testId, element));
258
258
  };
259
259
  readonlyLocator = "readonly";
260
+ disabledLocator = "disabled";
260
261
  }
261
262
  });
262
263
 
@@ -310,6 +311,10 @@ var init_AbstractElementWithParent = __esm({
310
311
  const classSting = await this.getClasses();
311
312
  return classSting.includes(readonlyLocator);
312
313
  }
314
+ async isDisabled() {
315
+ const classSting = await this.getClasses();
316
+ return classSting.includes(disabledLocator);
317
+ }
313
318
  };
314
319
  }
315
320
  });
@@ -2238,6 +2243,16 @@ var init_AbstractEditor2 = __esm({
2238
2243
  await this.initEditor();
2239
2244
  return this.editor.isReadonly();
2240
2245
  }
2246
+ /**
2247
+ * Возвращает значение true|false в зависимости isDisabled поле или нет
2248
+ * @example
2249
+ * expect(await formEdit.field('NumberFld').isDisabled()).toBe(true);
2250
+ * expect(await formEdit.field('TextFld').isDisabled()).toBe(false);
2251
+ */
2252
+ async isDisabled() {
2253
+ await this.initEditor();
2254
+ return this.editor.isDisabled();
2255
+ }
2241
2256
  /**
2242
2257
  * Возвращает значение true|false в зависимости isDisplayed поле или нет
2243
2258
  * @example
@@ -3219,6 +3234,12 @@ var init_FormFilterField = __esm({
3219
3234
  const filterOperation = await this.initOperation();
3220
3235
  return await filterOperation.getIsBlank();
3221
3236
  }
3237
+ async isReadonly() {
3238
+ return super.isReadonly();
3239
+ }
3240
+ async isDisabled() {
3241
+ return super.isDisabled();
3242
+ }
3222
3243
  };
3223
3244
  }
3224
3245
  });
@@ -3327,6 +3348,12 @@ var init_PanelFilterField = __esm({
3327
3348
  const filterOperation = await this.initOperation();
3328
3349
  return await filterOperation.getIsBlank();
3329
3350
  }
3351
+ async isReadonly() {
3352
+ return super.isReadonly();
3353
+ }
3354
+ async isDisabled() {
3355
+ return super.isDisabled();
3356
+ }
3330
3357
  };
3331
3358
  }
3332
3359
  });
@@ -3415,6 +3442,12 @@ var init_HeaderFilterField = __esm({
3415
3442
  async remove(itemText) {
3416
3443
  return super.remove(itemText);
3417
3444
  }
3445
+ async isReadonly() {
3446
+ return super.isReadonly();
3447
+ }
3448
+ async isDisabled() {
3449
+ return super.isDisabled();
3450
+ }
3418
3451
  };
3419
3452
  }
3420
3453
  });
@@ -3596,6 +3629,18 @@ var init_ColumnFilter = __esm({
3596
3629
  const filterOperation = await this.initOperation();
3597
3630
  return await filterOperation.getIsBlank();
3598
3631
  }
3632
+ async isReadonly() {
3633
+ const filter = await this.initFilter();
3634
+ const result = await filter.isReadonly();
3635
+ await this.cancel();
3636
+ return result;
3637
+ }
3638
+ async isDisabled() {
3639
+ const filter = await this.initFilter();
3640
+ const result = await filter.isDisabled();
3641
+ await this.cancel();
3642
+ return result;
3643
+ }
3599
3644
  };
3600
3645
  }
3601
3646
  });
@@ -3964,9 +4009,9 @@ var require_d5lib = __commonJS({
3964
4009
  var i2 = n2(5912), o = n2(7651);
3965
4010
  e2.exports = function(e3, a3, n3, t) {
3966
4011
  var s = n3.keyedList ? n3.keyedList[n3.index] : n3.index;
3967
- n3.jobs[s] = function(e4, a4, n4, o2) {
4012
+ n3.jobs[s] = (function(e4, a4, n4, o2) {
3968
4013
  return 2 == e4.length ? e4(n4, i2(o2)) : e4(n4, a4, i2(o2));
3969
- }(a3, s, e3[s], function(e4, a4) {
4014
+ })(a3, s, e3[s], function(e4, a4) {
3970
4015
  s in n3.jobs && (delete n3.jobs[s], e4 ? o(n3) : n3.results[s] = a4, t(e4, n3.results));
3971
4016
  });
3972
4017
  };
@@ -4228,12 +4273,12 @@ var require_d5lib = __commonJS({
4228
4273
  if ("undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) return false;
4229
4274
  let e3;
4230
4275
  return "undefined" != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || "undefined" != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || "undefined" != typeof navigator && navigator.userAgent && (e3 = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(e3[1], 10) >= 31 || "undefined" != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
4231
- }, a2.storage = function() {
4276
+ }, a2.storage = (function() {
4232
4277
  try {
4233
4278
  return localStorage;
4234
4279
  } catch (e3) {
4235
4280
  }
4236
- }(), a2.destroy = /* @__PURE__ */ (() => {
4281
+ })(), a2.destroy = /* @__PURE__ */ (() => {
4237
4282
  let e3 = false;
4238
4283
  return () => {
4239
4284
  e3 || (e3 = true, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
@@ -4589,13 +4634,13 @@ var require_d5lib = __commonJS({
4589
4634
  for (var o2 of (i3._redirectable = this, x)) i3.on(o2, h[o2]);
4590
4635
  if (this._currentUrl = /^\//.test(this._options.path) ? s.format(this._options) : this._options.path, this._isRedirect) {
4591
4636
  var t2 = 0, r2 = this, c2 = this._requestBodyBuffers;
4592
- !function e4(a4) {
4637
+ !(function e4(a4) {
4593
4638
  if (i3 === r2._currentRequest) if (a4) r2.emit("error", a4);
4594
4639
  else if (t2 < c2.length) {
4595
4640
  var n4 = c2[t2++];
4596
4641
  i3.finished || i3.write(n4.data, n4.encoding, e4);
4597
4642
  } else r2._ended && i3.end();
4598
- }();
4643
+ })();
4599
4644
  }
4600
4645
  }, j.prototype._processResponse = function(e3) {
4601
4646
  var a3 = e3.statusCode;
@@ -4608,11 +4653,11 @@ var require_d5lib = __commonJS({
4608
4653
  var t2 = this._options.method;
4609
4654
  ((301 === a3 || 302 === a3) && "POST" === this._options.method || 303 === a3 && !/^(?:GET|HEAD)$/.test(this._options.method)) && (this._options.method = "GET", this._requestBodyBuffers = [], S(/^content-/i, this._options.headers));
4610
4655
  var c2, p2, l2 = S(/^host$/i, this._options.headers), f2 = O(this._currentUrl), x2 = l2 || f2.host, h2 = /^\w+:/.test(i3) ? this._currentUrl : s.format(Object.assign(f2, { host: x2 })), v2 = (c2 = i3, p2 = h2, d ? new r(c2, p2) : O(s.resolve(p2, c2)));
4611
- if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !function(e4, a4) {
4656
+ if (m("redirecting to", v2.href), this._isRedirect = true, C(v2, this._options), (v2.protocol !== f2.protocol && "https:" !== v2.protocol || v2.host !== x2 && !(function(e4, a4) {
4612
4657
  u(F(e4) && F(a4));
4613
4658
  var n4 = e4.length - a4.length - 1;
4614
4659
  return n4 > 0 && "." === e4[n4] && e4.endsWith(a4);
4615
- }(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
4660
+ })(v2.host, x2)) && S(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers), P(o2)) {
4616
4661
  var b2 = { headers: e3.headers, statusCode: a3 }, y2 = { url: h2, method: t2, headers: n3 };
4617
4662
  o2(this._options, b2, y2), this._sanitizeOptions(this._options);
4618
4663
  }
@@ -4719,14 +4764,14 @@ var require_d5lib = __commonJS({
4719
4764
  e2.exports = function(e3) {
4720
4765
  var o = this;
4721
4766
  if ("function" != typeof o || "[object Function]" !== a2.apply(o)) throw new TypeError("Function.prototype.bind called on incompatible " + o);
4722
- for (var t, s = function(e4) {
4767
+ for (var t, s = (function(e4) {
4723
4768
  for (var a3 = [], n3 = 1, i3 = 0; n3 < e4.length; n3 += 1, i3 += 1) a3[i3] = e4[n3];
4724
4769
  return a3;
4725
- }(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
4726
- if (t = Function("binder", "return function (" + function(e4) {
4770
+ })(arguments), r = n2(0, o.length - s.length), c = [], p = 0; p < r; p++) c[p] = "$" + p;
4771
+ if (t = Function("binder", "return function (" + (function(e4) {
4727
4772
  for (var a3 = "", n3 = 0; n3 < e4.length; n3 += 1) a3 += e4[n3], n3 + 1 < e4.length && (a3 += ",");
4728
4773
  return a3;
4729
- }(c) + "){ return binder.apply(this,arguments); }")(function() {
4774
+ })(c) + "){ return binder.apply(this,arguments); }")(function() {
4730
4775
  if (this instanceof t) {
4731
4776
  var a3 = o.apply(this, i2(s, arguments));
4732
4777
  return Object(a3) === a3 ? a3 : this;
@@ -4752,7 +4797,7 @@ var require_d5lib = __commonJS({
4752
4797
  }
4753
4798
  }, w = n2(7296), _ = n2(4429), j = function() {
4754
4799
  throw new l();
4755
- }, k = w ? function() {
4800
+ }, k = w ? (function() {
4756
4801
  try {
4757
4802
  return j;
4758
4803
  } catch (e3) {
@@ -4762,7 +4807,7 @@ var require_d5lib = __commonJS({
4762
4807
  return j;
4763
4808
  }
4764
4809
  }
4765
- }() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
4810
+ })() : j, E = n2(1405)(), O = n2(1618), R = n2(8899), C = n2(443), S = n2(1768), A = n2(8928), T = {}, F = "undefined" != typeof Uint8Array && O ? O(Uint8Array) : i2, P = { __proto__: null, "%AggregateError%": "undefined" == typeof AggregateError ? i2 : AggregateError, "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? i2 : ArrayBuffer, "%ArrayIteratorPrototype%": E && O ? O([][Symbol.iterator]()) : i2, "%AsyncFromSyncIteratorPrototype%": i2, "%AsyncFunction%": T, "%AsyncGenerator%": T, "%AsyncGeneratorFunction%": T, "%AsyncIteratorPrototype%": T, "%Atomics%": "undefined" == typeof Atomics ? i2 : Atomics, "%BigInt%": "undefined" == typeof BigInt ? i2 : BigInt, "%BigInt64Array%": "undefined" == typeof BigInt64Array ? i2 : BigInt64Array, "%BigUint64Array%": "undefined" == typeof BigUint64Array ? i2 : BigUint64Array, "%Boolean%": Boolean, "%DataView%": "undefined" == typeof DataView ? i2 : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": t, "%eval%": eval, "%EvalError%": s, "%Float16Array%": "undefined" == typeof Float16Array ? i2 : Float16Array, "%Float32Array%": "undefined" == typeof Float32Array ? i2 : Float32Array, "%Float64Array%": "undefined" == typeof Float64Array ? i2 : Float64Array, "%FinalizationRegistry%": "undefined" == typeof FinalizationRegistry ? i2 : FinalizationRegistry, "%Function%": g, "%GeneratorFunction%": T, "%Int8Array%": "undefined" == typeof Int8Array ? i2 : Int8Array, "%Int16Array%": "undefined" == typeof Int16Array ? i2 : Int16Array, "%Int32Array%": "undefined" == typeof Int32Array ? i2 : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": E && O ? O(O([][Symbol.iterator]())) : i2, "%JSON%": "object" == typeof JSON ? JSON : i2, "%Map%": "undefined" == typeof Map ? i2 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && E && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : i2, "%Math%": Math, "%Number%": Number, "%Object%": o, "%Object.getOwnPropertyDescriptor%": w, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? i2 : Promise, "%Proxy%": "undefined" == typeof Proxy ? i2 : Proxy, "%RangeError%": r, "%ReferenceError%": c, "%Reflect%": "undefined" == typeof Reflect ? i2 : Reflect, "%RegExp%": RegExp, "%Set%": "undefined" == typeof Set ? i2 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && E && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : i2, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? i2 : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": E && O ? O(""[Symbol.iterator]()) : i2, "%Symbol%": E ? Symbol : i2, "%SyntaxError%": p, "%ThrowTypeError%": k, "%TypedArray%": F, "%TypeError%": l, "%Uint8Array%": "undefined" == typeof Uint8Array ? i2 : Uint8Array, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? i2 : Uint8ClampedArray, "%Uint16Array%": "undefined" == typeof Uint16Array ? i2 : Uint16Array, "%Uint32Array%": "undefined" == typeof Uint32Array ? i2 : Uint32Array, "%URIError%": u, "%WeakMap%": "undefined" == typeof WeakMap ? i2 : WeakMap, "%WeakRef%": "undefined" == typeof WeakRef ? i2 : WeakRef, "%WeakSet%": "undefined" == typeof WeakSet ? i2 : WeakSet, "%Function.prototype.call%": A, "%Function.prototype.apply%": S, "%Object.defineProperty%": _, "%Object.getPrototypeOf%": R, "%Math.abs%": m, "%Math.floor%": d, "%Math.max%": f, "%Math.min%": x, "%Math.pow%": h, "%Math.round%": v, "%Math.sign%": b, "%Reflect.getPrototypeOf%": C };
4766
4811
  if (O) try {
4767
4812
  null.error;
4768
4813
  } catch (e3) {
@@ -4795,7 +4840,7 @@ var require_d5lib = __commonJS({
4795
4840
  if ("string" != typeof e3 || 0 === e3.length) throw new l("intrinsic name must be a non-empty string");
4796
4841
  if (arguments.length > 1 && "boolean" != typeof a3) throw new l('"allowMissing" argument must be a boolean');
4797
4842
  if (null === H(/^%?[^%]*%?$/, e3)) throw new p("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
4798
- var n3 = function(e4) {
4843
+ var n3 = (function(e4) {
4799
4844
  var a4 = M(e4, 0, 1), n4 = M(e4, -1);
4800
4845
  if ("%" === a4 && "%" !== n4) throw new p("invalid intrinsic syntax, expected closing `%`");
4801
4846
  if ("%" === n4 && "%" !== a4) throw new p("invalid intrinsic syntax, expected opening `%`");
@@ -4803,7 +4848,7 @@ var require_d5lib = __commonJS({
4803
4848
  return D(e4, G, function(e5, a5, n5, o3) {
4804
4849
  i4[i4.length] = n5 ? D(o3, K, "$1") : a5 || e5;
4805
4850
  }), i4;
4806
- }(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
4851
+ })(e3), i3 = n3.length > 0 ? n3[0] : "", o2 = W("%" + i3 + "%", a3), t2 = o2.name, s2 = o2.value, r2 = false, c2 = o2.alias;
4807
4852
  c2 && (i3 = c2[0], I(n3, U([0, 1], c2)));
4808
4853
  for (var u2 = 1, m2 = true; u2 < n3.length; u2 += 1) {
4809
4854
  var d2 = n3[u2], f2 = M(d2, 0, 1), x2 = M(d2, -1);
@@ -4975,7 +5020,7 @@ var require_d5lib = __commonJS({
4975
5020
  e2.exports = function(e3, r) {
4976
5021
  r = r || {};
4977
5022
  var c, p, l = typeof e3;
4978
- if ("string" === l && e3.length > 0) return function(e4) {
5023
+ if ("string" === l && e3.length > 0) return (function(e4) {
4979
5024
  if (!((e4 = String(e4)).length > 100)) {
4980
5025
  var s2 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e4);
4981
5026
  if (s2) {
@@ -5024,11 +5069,11 @@ var require_d5lib = __commonJS({
5024
5069
  }
5025
5070
  }
5026
5071
  }
5027
- }(e3);
5028
- if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : function(e4) {
5072
+ })(e3);
5073
+ if ("number" === l && isFinite(e3)) return r.long ? (c = e3, (p = Math.abs(c)) >= o ? s(c, p, o, "day") : p >= i2 ? s(c, p, i2, "hour") : p >= n2 ? s(c, p, n2, "minute") : p >= a2 ? s(c, p, a2, "second") : c + " ms") : (function(e4) {
5029
5074
  var t2 = Math.abs(e4);
5030
5075
  return t2 >= o ? Math.round(e4 / o) + "d" : t2 >= i2 ? Math.round(e4 / i2) + "h" : t2 >= n2 ? Math.round(e4 / n2) + "m" : t2 >= a2 ? Math.round(e4 / a2) + "s" : e4 + "ms";
5031
- }(e3);
5076
+ })(e3);
5032
5077
  throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e3));
5033
5078
  };
5034
5079
  }, 1394: (e2, a2, n2) => {
@@ -5042,14 +5087,14 @@ var require_d5lib = __commonJS({
5042
5087
  a2.j = function(e3) {
5043
5088
  var a3 = "string" == typeof e3 ? i2(e3) : e3 || {}, n3 = a3.protocol, r = a3.host, c = a3.port;
5044
5089
  if ("string" != typeof r || !r || "string" != typeof n3) return "";
5045
- if (n3 = n3.split(":", 1)[0], !function(e4, a4) {
5090
+ if (n3 = n3.split(":", 1)[0], !(function(e4, a4) {
5046
5091
  var n4 = (s("npm_config_no_proxy") || s("no_proxy")).toLowerCase();
5047
5092
  return !n4 || "*" !== n4 && n4.split(/[,\s]/).every(function(n5) {
5048
5093
  if (!n5) return true;
5049
5094
  var i3 = n5.match(/^(.+):(\d+)$/), o2 = i3 ? i3[1] : n5, s2 = i3 ? parseInt(i3[2]) : 0;
5050
5095
  return !(!s2 || s2 === a4) || (/^[.*]/.test(o2) ? ("*" === o2.charAt(0) && (o2 = o2.slice(1)), !t.call(e4, o2)) : e4 !== o2);
5051
5096
  });
5052
- }(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
5097
+ })(r = r.replace(/:\d*$/, ""), c = parseInt(c) || o[n3] || 0)) return "";
5053
5098
  var p = s("npm_config_" + n3 + "_proxy") || s(n3 + "_proxy") || s("npm_config_proxy") || s("all_proxy");
5054
5099
  return p && -1 === p.indexOf("://") && (p = n3 + "://" + p), p;
5055
5100
  };
@@ -5146,7 +5191,7 @@ var require_d5lib = __commonJS({
5146
5191
  return e3;
5147
5192
  }, o.apply(this, arguments);
5148
5193
  };
5149
- const t = function() {
5194
+ const t = (function() {
5150
5195
  function e3(e4, a3) {
5151
5196
  this._objectName = e4, this._body = null != a3 ? a3 : {};
5152
5197
  }
@@ -5276,7 +5321,7 @@ var require_d5lib = __commonJS({
5276
5321
  var a3;
5277
5322
  return !!(null === (a3 = this._body.Filters) || void 0 === a3 ? void 0 : a3.hasOwnProperty(e4));
5278
5323
  }, e3;
5279
- }();
5324
+ })();
5280
5325
  function s(e3, a3) {
5281
5326
  return function() {
5282
5327
  return e3.apply(a3, arguments);
@@ -5456,9 +5501,9 @@ var require_d5lib = __commonJS({
5456
5501
  let r3 = e4;
5457
5502
  if (e4 && !o3 && "object" == typeof e4) {
5458
5503
  if (I.endsWith(n3, "{}")) n3 = i2 ? n3 : n3.slice(0, -2), e4 = JSON.stringify(e4);
5459
- else if (I.isArray(e4) && function(e5) {
5504
+ else if (I.isArray(e4) && (function(e5) {
5460
5505
  return I.isArray(e5) && !e5.some(W);
5461
- }(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
5506
+ })(e4) || (I.isFileList(e4) || I.endsWith(n3, "[]")) && (r3 = I.toArray(e4))) return n3 = V(n3), r3.forEach(function(e5, i3) {
5462
5507
  !I.isUndefined(e5) && null !== e5 && a3.append(true === s2 ? $([n3], i3, t2) : null === s2 ? n3 : n3 + "[]", c2(e5));
5463
5508
  }), false;
5464
5509
  }
@@ -5466,14 +5511,14 @@ var require_d5lib = __commonJS({
5466
5511
  }
5467
5512
  const l2 = [], u2 = Object.assign(J, { defaultVisitor: p2, convertValue: c2, isVisitable: W });
5468
5513
  if (!I.isObject(e3)) throw new TypeError("data must be an object");
5469
- return function e4(n3, i3) {
5514
+ return (function e4(n3, i3) {
5470
5515
  if (!I.isUndefined(n3)) {
5471
5516
  if (-1 !== l2.indexOf(n3)) throw Error("Circular reference detected in " + i3.join("."));
5472
5517
  l2.push(n3), I.forEach(n3, function(n4, t3) {
5473
5518
  true === (!(I.isUndefined(n4) || null === n4) && o2.call(a3, n4, I.isString(t3) ? t3.trim() : t3, i3, u2)) && e4(n4, i3 ? i3.concat(t3) : [t3]);
5474
5519
  }), l2.pop();
5475
5520
  }
5476
- }(e3), a3;
5521
+ })(e3), a3;
5477
5522
  };
5478
5523
  function Q(e3) {
5479
5524
  const a3 = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" };
@@ -5531,21 +5576,21 @@ var require_d5lib = __commonJS({
5531
5576
  function a3(e4, n2, i2, o2) {
5532
5577
  let t2 = e4[o2++];
5533
5578
  const s2 = Number.isFinite(+t2), r2 = o2 >= e4.length;
5534
- return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = function(e5) {
5579
+ return t2 = !t2 && I.isArray(i2) ? i2.length : t2, r2 ? (I.hasOwnProp(i2, t2) ? i2[t2] = [i2[t2], n2] : i2[t2] = n2, !s2) : (i2[t2] && I.isObject(i2[t2]) || (i2[t2] = []), a3(e4, n2, i2[t2], o2) && I.isArray(i2[t2]) && (i2[t2] = (function(e5) {
5535
5580
  const a4 = {}, n3 = Object.keys(e5);
5536
5581
  let i3;
5537
5582
  const o3 = n3.length;
5538
5583
  let t3;
5539
5584
  for (i3 = 0; i3 < o3; i3++) t3 = n3[i3], a4[t3] = e5[t3];
5540
5585
  return a4;
5541
- }(i2[t2])), !s2);
5586
+ })(i2[t2])), !s2);
5542
5587
  }
5543
5588
  if (I.isFormData(e3) && I.isFunction(e3.entries)) {
5544
5589
  const n2 = {};
5545
5590
  return I.forEachEntry(e3, (e4, i2) => {
5546
- a3(function(e5) {
5591
+ a3((function(e5) {
5547
5592
  return I.matchAll(/\w+|\[(\w*)]/g, e5).map((e6) => "[]" === e6[0] ? "" : e6[1] || e6[0]);
5548
- }(e4), i2, n2, 0);
5593
+ })(e4), i2, n2, 0);
5549
5594
  }), n2;
5550
5595
  }
5551
5596
  return null;
@@ -5557,24 +5602,24 @@ var require_d5lib = __commonJS({
5557
5602
  if (I.isURLSearchParams(e3)) return a3.setContentType("application/x-www-form-urlencoded;charset=utf-8", false), e3.toString();
5558
5603
  let t2;
5559
5604
  if (o2) {
5560
- if (n2.indexOf("application/x-www-form-urlencoded") > -1) return function(e4, a4) {
5605
+ if (n2.indexOf("application/x-www-form-urlencoded") > -1) return (function(e4, a4) {
5561
5606
  return Y(e4, new te.classes.URLSearchParams(), Object.assign({ visitor: function(e5, a5, n3, i3) {
5562
5607
  return te.isNode && I.isBuffer(e5) ? (this.append(a5, e5.toString("base64")), false) : i3.defaultVisitor.apply(this, arguments);
5563
5608
  } }, a4));
5564
- }(e3, this.formSerializer).toString();
5609
+ })(e3, this.formSerializer).toString();
5565
5610
  if ((t2 = I.isFileList(e3)) || n2.indexOf("multipart/form-data") > -1) {
5566
5611
  const a4 = this.env && this.env.FormData;
5567
5612
  return Y(t2 ? { "files[]": e3 } : e3, a4 && new a4(), this.formSerializer);
5568
5613
  }
5569
5614
  }
5570
- return o2 || i2 ? (a3.setContentType("application/json", false), function(e4) {
5615
+ return o2 || i2 ? (a3.setContentType("application/json", false), (function(e4) {
5571
5616
  if (I.isString(e4)) try {
5572
5617
  return (0, JSON.parse)(e4), I.trim(e4);
5573
5618
  } catch (e5) {
5574
5619
  if ("SyntaxError" !== e5.name) throw e5;
5575
5620
  }
5576
5621
  return (0, JSON.stringify)(e4);
5577
- }(e3)) : e3;
5622
+ })(e3)) : e3;
5578
5623
  }], transformResponse: [function(e3) {
5579
5624
  const a3 = this.transitional || ce.transitional, n2 = a3 && a3.forcedJSONParsing, i2 = "json" === this.responseType;
5580
5625
  if (e3 && I.isString(e3) && (n2 && !this.responseType || i2)) {
@@ -5634,12 +5679,12 @@ var require_d5lib = __commonJS({
5634
5679
  if (n2) {
5635
5680
  const e4 = this[n2];
5636
5681
  if (!a3) return e4;
5637
- if (true === a3) return function(e5) {
5682
+ if (true === a3) return (function(e5) {
5638
5683
  const a4 = /* @__PURE__ */ Object.create(null), n3 = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
5639
5684
  let i2;
5640
5685
  for (; i2 = n3.exec(e5); ) a4[i2[1]] = i2[2];
5641
5686
  return a4;
5642
- }(e4);
5687
+ })(e4);
5643
5688
  if (I.isFunction(a3)) return a3.call(this, e4, n2);
5644
5689
  if (I.isRegExp(a3)) return a3.exec(e4);
5645
5690
  throw new TypeError("parser must be boolean|regexp|function");
@@ -5678,9 +5723,9 @@ var require_d5lib = __commonJS({
5678
5723
  return I.forEach(this, (i2, o2) => {
5679
5724
  const t2 = I.findKey(n2, o2);
5680
5725
  if (t2) return a3[t2] = de(i2), void delete a3[o2];
5681
- const s2 = e3 ? function(e4) {
5726
+ const s2 = e3 ? (function(e4) {
5682
5727
  return e4.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e5, a4, n3) => a4.toUpperCase() + n3);
5683
- }(o2) : String(o2).trim();
5728
+ })(o2) : String(o2).trim();
5684
5729
  s2 !== o2 && delete a3[o2], a3[s2] = de(i2), n2[s2] = true;
5685
5730
  }), this;
5686
5731
  }
@@ -5713,14 +5758,14 @@ var require_d5lib = __commonJS({
5713
5758
  const a3 = (this[ue] = this[ue] = { accessors: {} }).accessors, n2 = this.prototype;
5714
5759
  function i2(e4) {
5715
5760
  const i3 = me(e4);
5716
- a3[i3] || (function(e5, a4) {
5761
+ a3[i3] || ((function(e5, a4) {
5717
5762
  const n3 = I.toCamelCase(" " + a4);
5718
5763
  ["get", "set", "has"].forEach((i4) => {
5719
5764
  Object.defineProperty(e5, i4 + n3, { value: function(e6, n4, o2) {
5720
5765
  return this[i4].call(this, a4, e6, n4, o2);
5721
5766
  }, configurable: true });
5722
5767
  });
5723
- }(n2, e4), a3[i3] = true);
5768
+ })(n2, e4), a3[i3] = true);
5724
5769
  }
5725
5770
  return I.isArray(e3) ? e3.forEach(i2) : i2(e3), this;
5726
5771
  }
@@ -5747,9 +5792,9 @@ var require_d5lib = __commonJS({
5747
5792
  n2.status && i2 && !i2(n2.status) ? a3(new G("Request failed with status code " + n2.status, [G.ERR_BAD_REQUEST, G.ERR_BAD_RESPONSE][Math.floor(n2.status / 100) - 4], n2.config, n2.request, n2)) : e3(n2);
5748
5793
  }
5749
5794
  function _e(e3, a3) {
5750
- return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? function(e4, a4) {
5795
+ return e3 && !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a3) ? (function(e4, a4) {
5751
5796
  return a4 ? e4.replace(/\/+$/, "") + "/" + a4.replace(/^\/+/, "") : e4;
5752
- }(e3, a3) : a3;
5797
+ })(e3, a3) : a3;
5753
5798
  }
5754
5799
  var je = n(1394), ke = n(3685), Ee = n(5687), Oe = n(3837), Re = n(938);
5755
5800
  const Ce = require("zlib"), Se = "1.4.0";
@@ -5781,7 +5826,7 @@ var require_d5lib = __commonJS({
5781
5826
  "progress" === e4 && (n2.isCaptured || (n2.isCaptured = true));
5782
5827
  });
5783
5828
  let o2 = 0;
5784
- n2.updateProgress = function(e4, a4) {
5829
+ n2.updateProgress = (function(e4, a4) {
5785
5830
  let n3 = 0;
5786
5831
  const i3 = 1e3 / a4;
5787
5832
  let o3 = null;
@@ -5790,7 +5835,7 @@ var require_d5lib = __commonJS({
5790
5835
  if (a5 || s2 - n3 > i3) return o3 && (clearTimeout(o3), o3 = null), n3 = s2, e4.apply(null, t3);
5791
5836
  o3 || (o3 = setTimeout(() => (o3 = null, n3 = Date.now(), e4.apply(null, t3)), i3 - (s2 - n3)));
5792
5837
  };
5793
- }(function() {
5838
+ })(function() {
5794
5839
  const e4 = n2.length, t3 = n2.bytesSeen, s2 = t3 - o2;
5795
5840
  if (!s2 || a3.destroyed) return;
5796
5841
  const r2 = i2(s2);
@@ -5821,12 +5866,12 @@ var require_d5lib = __commonJS({
5821
5866
  }, r2 - d2);
5822
5867
  l3 < m2 && (m2 = l3);
5823
5868
  }
5824
- m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), function(e5, a5) {
5869
+ m2 && n3 > m2 && n3 - m2 > p2 && (u2 = e4.subarray(m2), e4 = e4.subarray(0, m2)), (function(e5, a5) {
5825
5870
  const n4 = Buffer.byteLength(e5);
5826
5871
  o2.bytesSeen += n4, o2.bytes += n4, o2.isCaptured && o2.updateProgress(), i2.push(e5) ? process.nextTick(a5) : o2.onReadCallback = () => {
5827
5872
  o2.onReadCallback = null, process.nextTick(a5);
5828
5873
  };
5829
- }(e4, u2 ? () => {
5874
+ })(e4, u2 ? () => {
5830
5875
  process.nextTick(a4, null, u2);
5831
5876
  } : a4);
5832
5877
  };
@@ -5926,7 +5971,7 @@ var require_d5lib = __commonJS({
5926
5971
  let i3;
5927
5972
  if ("GET" !== p2) return we(a4, n2, { status: 405, statusText: "method not allowed", headers: {}, config: e3 });
5928
5973
  try {
5929
- i3 = function(e4, a5, n3) {
5974
+ i3 = (function(e4, a5, n3) {
5930
5975
  const i4 = n3 && n3.Blob || te.classes.Blob, o3 = Ae(e4);
5931
5976
  if (void 0 === a5 && i4 && (a5 = true), "data" === o3) {
5932
5977
  e4 = o3.length ? e4.slice(o3.length + 1) : e4;
@@ -5940,7 +5985,7 @@ var require_d5lib = __commonJS({
5940
5985
  return c3;
5941
5986
  }
5942
5987
  throw new G("Unsupported protocol " + o3, G.ERR_NOT_SUPPORT);
5943
- }(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
5988
+ })(e3.url, "blob" === r2, { Blob: e3.env && e3.env.Blob });
5944
5989
  } catch (a5) {
5945
5990
  throw G.from(a5, G.ERR_BAD_REQUEST, e3);
5946
5991
  }
@@ -5965,10 +6010,10 @@ var require_d5lib = __commonJS({
5965
6010
  });
5966
6011
  c3 += s3.byteLength * p3.length, c3 = I.toFiniteNumber(c3);
5967
6012
  const l3 = { "Content-Type": `multipart/form-data; boundary=${t3}` };
5968
- return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from(async function* () {
6013
+ return Number.isFinite(c3) && (l3["Content-Length"] = c3), a5 && a5(l3), Fe.Readable.from((async function* () {
5969
6014
  for (const e6 of p3) yield s3, yield* e6.encode();
5970
6015
  yield r3;
5971
- }());
6016
+ })());
5972
6017
  })(o2, (e5) => {
5973
6018
  g2.set(e5);
5974
6019
  }, { tag: `axios-${Se}-boundary`, boundary: e4 && e4[1] || void 0 });
@@ -6107,7 +6152,7 @@ var require_d5lib = __commonJS({
6107
6152
  }, read: function() {
6108
6153
  return null;
6109
6154
  }, remove: function() {
6110
- } }, ta = te.isStandardBrowserEnv ? function() {
6155
+ } }, ta = te.isStandardBrowserEnv ? (function() {
6111
6156
  const e3 = /(msie|trident)/i.test(navigator.userAgent), a3 = document.createElement("a");
6112
6157
  let n2;
6113
6158
  function i2(n3) {
@@ -6118,7 +6163,7 @@ var require_d5lib = __commonJS({
6118
6163
  const a4 = I.isString(e4) ? i2(e4) : e4;
6119
6164
  return a4.protocol === n2.protocol && a4.host === n2.host;
6120
6165
  };
6121
- }() : function() {
6166
+ })() : function() {
6122
6167
  return true;
6123
6168
  };
6124
6169
  function sa(e3, a3) {
@@ -6373,12 +6418,12 @@ var require_d5lib = __commonJS({
6373
6418
  Object.entries(wa).forEach(([e3, a3]) => {
6374
6419
  wa[a3] = e3;
6375
6420
  });
6376
- const _a = wa, ja = function e3(a3) {
6421
+ const _a = wa, ja = (function e3(a3) {
6377
6422
  const n2 = new ba(a3), i2 = s(ba.prototype.request, n2);
6378
6423
  return I.extend(i2, ba.prototype, n2, { allOwnKeys: true }), I.extend(i2, n2, null, { allOwnKeys: true }), i2.create = function(n3) {
6379
6424
  return e3(ma(a3, n3));
6380
6425
  }, i2;
6381
- }(pe);
6426
+ })(pe);
6382
6427
  ja.Axios = ba, ja.CanceledError = ye, ja.CancelToken = ya, ja.isCancel = be, ja.VERSION = Se, ja.toFormData = Y, ja.AxiosError = G, ja.Cancel = ja.CanceledError, ja.all = function(e3) {
6383
6428
  return Promise.all(e3);
6384
6429
  }, ja.spread = function(e3) {
@@ -6393,7 +6438,7 @@ var require_d5lib = __commonJS({
6393
6438
  function Oa(e3) {
6394
6439
  var a3, n2, i2, o2, t2 = e3.body, s2 = e3.url, r2 = e3.auth, c2 = e3.headers, p2 = void 0 === c2 ? { "Content-Type": "application/json" } : c2;
6395
6440
  return a3 = this, n2 = void 0, o2 = function() {
6396
- return function(e4, a4) {
6441
+ return (function(e4, a4) {
6397
6442
  var n3, i3, o3, t3, s3 = { label: 0, sent: function() {
6398
6443
  if (1 & o3[0]) throw o3[1];
6399
6444
  return o3[1];
@@ -6403,7 +6448,7 @@ var require_d5lib = __commonJS({
6403
6448
  }), t3;
6404
6449
  function r3(r4) {
6405
6450
  return function(c3) {
6406
- return function(r5) {
6451
+ return (function(r5) {
6407
6452
  if (n3) throw new TypeError("Generator is already executing.");
6408
6453
  for (; t3 && (t3 = 0, r5[0] && (s3 = 0)), s3; ) try {
6409
6454
  if (n3 = 1, i3 && (o3 = 2 & r5[0] ? i3.return : r5[0] ? i3.throw || ((o3 = i3.return) && o3.call(i3), 0) : i3.next) && !(o3 = o3.call(i3, r5[1])).done) return o3;
@@ -6448,10 +6493,10 @@ var require_d5lib = __commonJS({
6448
6493
  }
6449
6494
  if (5 & r5[0]) throw r5[1];
6450
6495
  return { value: r5[0] ? r5[1] : void 0, done: true };
6451
- }([r4, c3]);
6496
+ })([r4, c3]);
6452
6497
  };
6453
6498
  }
6454
- }(this, function(e4) {
6499
+ })(this, function(e4) {
6455
6500
  return [2, ka.post(s2, t2, { auth: r2, headers: p2 }).then(function(e5) {
6456
6501
  return e5.data;
6457
6502
  })];
@@ -6480,7 +6525,7 @@ var require_d5lib = __commonJS({
6480
6525
  c3((o2 = o2.apply(a3, n2 || [])).next());
6481
6526
  });
6482
6527
  }
6483
- var Ra = new (function() {
6528
+ var Ra = new ((function() {
6484
6529
  function e3() {
6485
6530
  if (this._host = "", this._login = "", this._password = "", Ea) throw new Error("You can only create one instance!");
6486
6531
  Ea = this;
@@ -6498,7 +6543,7 @@ var require_d5lib = __commonJS({
6498
6543
  }, enumerable: false, configurable: true }), e3.prototype.setLogin = function(e4) {
6499
6544
  this._login = null != e4 ? e4 : "";
6500
6545
  }, e3;
6501
- }())();
6546
+ })())();
6502
6547
  function Ca(e3) {
6503
6548
  Ra.setLogin(e3.login), Ra.setPassword(e3.password), Ra.setHost(e3.host);
6504
6549
  }
@@ -6508,7 +6553,7 @@ var require_d5lib = __commonJS({
6508
6553
  }, Fa = function(e3) {
6509
6554
  return Sa.host + "/wapi" + e3;
6510
6555
  };
6511
- const Pa = new (function() {
6556
+ const Pa = new ((function() {
6512
6557
  function e3() {
6513
6558
  if (Aa) throw new Error("You can only create one instance!");
6514
6559
  Aa = this;
@@ -6518,7 +6563,7 @@ var require_d5lib = __commonJS({
6518
6563
  }, e3.prototype.createFileHandler = function(e4) {
6519
6564
  return new this.service(e4);
6520
6565
  }, e3;
6521
- }())();
6566
+ })())();
6522
6567
  var za, La = (za = function(e3, a3) {
6523
6568
  return za = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, a4) {
6524
6569
  e4.__proto__ = a4;
@@ -6536,9 +6581,9 @@ var require_d5lib = __commonJS({
6536
6581
  for (var a3, n2 = 1, i2 = arguments.length; n2 < i2; n2++) for (var o2 in a3 = arguments[n2]) Object.prototype.hasOwnProperty.call(a3, o2) && (e3[o2] = a3[o2]);
6537
6582
  return e3;
6538
6583
  }, Ba.apply(this, arguments);
6539
- }, Na = function(e3) {
6584
+ }, Na = (function(e3) {
6540
6585
  function n2(a3) {
6541
- var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = function(e4, a4) {
6586
+ var n3 = this, i2 = a3.url, o2 = a3.auth, t2 = (function(e4, a4) {
6542
6587
  var n4 = {};
6543
6588
  for (var i3 in e4) Object.prototype.hasOwnProperty.call(e4, i3) && a4.indexOf(i3) < 0 && (n4[i3] = e4[i3]);
6544
6589
  if (null != e4 && "function" == typeof Object.getOwnPropertySymbols) {
@@ -6546,7 +6591,7 @@ var require_d5lib = __commonJS({
6546
6591
  for (i3 = Object.getOwnPropertySymbols(e4); o3 < i3.length; o3++) a4.indexOf(i3[o3]) < 0 && Object.prototype.propertyIsEnumerable.call(e4, i3[o3]) && (n4[i3[o3]] = e4[i3[o3]]);
6547
6592
  }
6548
6593
  return n4;
6549
- }(a3, ["url", "auth"]);
6594
+ })(a3, ["url", "auth"]);
6550
6595
  return (n3 = e3.call(this, t2.objectName, t2.body) || this).url = i2, n3.auth = o2, n3;
6551
6596
  }
6552
6597
  return La(n2, e3), n2.prototype.createModBody = function(e4) {
@@ -6582,7 +6627,7 @@ var require_d5lib = __commonJS({
6582
6627
  var a3, n3, i2, o2, t2, s2;
6583
6628
  return void 0 === e4 && (e4 = false), i2 = this, o2 = void 0, s2 = function() {
6584
6629
  var i3, o3, t3;
6585
- return function(e5, a4) {
6630
+ return (function(e5, a4) {
6586
6631
  var n4, i4, o4, t4, s3 = { label: 0, sent: function() {
6587
6632
  if (1 & o4[0]) throw o4[1];
6588
6633
  return o4[1];
@@ -6592,7 +6637,7 @@ var require_d5lib = __commonJS({
6592
6637
  }), t4;
6593
6638
  function r2(r3) {
6594
6639
  return function(c2) {
6595
- return function(r4) {
6640
+ return (function(r4) {
6596
6641
  if (n4) throw new TypeError("Generator is already executing.");
6597
6642
  for (; t4 && (t4 = 0, r4[0] && (s3 = 0)), s3; ) try {
6598
6643
  if (n4 = 1, i4 && (o4 = 2 & r4[0] ? i4.return : r4[0] ? i4.throw || ((o4 = i4.return) && o4.call(i4), 0) : i4.next) && !(o4 = o4.call(i4, r4[1])).done) return o4;
@@ -6637,10 +6682,10 @@ var require_d5lib = __commonJS({
6637
6682
  }
6638
6683
  if (5 & r4[0]) throw r4[1];
6639
6684
  return { value: r4[0] ? r4[1] : void 0, done: true };
6640
- }([r3, c2]);
6685
+ })([r3, c2]);
6641
6686
  };
6642
6687
  }
6643
- }(this, function(s3) {
6688
+ })(this, function(s3) {
6644
6689
  switch (s3.label) {
6645
6690
  case 0:
6646
6691
  return i3 = (null === (a3 = this.auth) || void 0 === a3 ? void 0 : a3.username) ? this.auth : void 0, o3 = this.requestBody(), [4, Oa({ url: this.url, auth: i3, body: o3.data, headers: o3.headers })];
@@ -6674,7 +6719,7 @@ var require_d5lib = __commonJS({
6674
6719
  c2((s2 = s2.apply(i2, o2 || [])).next());
6675
6720
  });
6676
6721
  }, n2;
6677
- }(t);
6722
+ })(t);
6678
6723
  function qa(e3, a3, n2) {
6679
6724
  var i2 = { username: Sa.login, password: Sa.password };
6680
6725
  return new Na({ objectName: e3, body: n2, url: Fa("/".concat(e3, "/").concat(a3)), auth: i2 });
@@ -6706,7 +6751,7 @@ var require_d5lib = __commonJS({
6706
6751
  function Va(e3) {
6707
6752
  return Ua(e3, "Del");
6708
6753
  }
6709
- var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = function() {
6754
+ var $a = n(7147), Ja = n.n($a), Ya = n(1017), Qa = n.n(Ya), Xa = [{ ext: ".aac", mime: "audio/aac" }, { ext: ".abw", mime: "application/x-abiword" }, { ext: ".arc", mime: "application/x-freearc" }, { ext: ".avif", mime: "image/avif" }, { ext: ".avi", mime: "video/x-msvideo" }, { ext: ".azw", mime: "application/vnd.amazon.ebook" }, { ext: ".bin", mime: "application/octet-stream" }, { ext: ".bmp", mime: "image/bmp" }, { ext: ".bz", mime: "application/x-bzip" }, { ext: ".bz2", mime: "application/x-bzip2" }, { ext: ".cda", mime: "application/x-cdf" }, { ext: ".csh", mime: "application/x-csh" }, { ext: ".css", mime: "text/css" }, { ext: ".csv", mime: "text/csv" }, { ext: ".doc", mime: "application/msword" }, { ext: ".docx", mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document" }, { ext: ".eot", mime: "application/vnd.ms-fontobject" }, { ext: ".epub", mime: "application/epub+zip" }, { ext: ".gz", mime: "application/gzip" }, { ext: ".gif", mime: "image/gif" }, { ext: ".htm, .html", mime: "text/html" }, { ext: ".ico", mime: "image/vnd.microsoft.icon" }, { ext: ".ics", mime: "text/calendar" }, { ext: ".jar", mime: "application/java-archive" }, { ext: ".jpeg, .jpg", mime: "image/jpeg" }, { ext: ".js", mime: "text/javascript (Specifications: HTML and RFC 9239)" }, { ext: ".json", mime: "application/json" }, { ext: ".jsonld", mime: "application/ld+json" }, { ext: ".mid, .midi", mime: "audio/midi, audio/x-midi" }, { ext: ".mjs", mime: "text/javascript" }, { ext: ".mp3", mime: "audio/mpeg" }, { ext: ".mp4", mime: "video/mp4" }, { ext: ".mpeg", mime: "video/mpeg" }, { ext: ".mpkg", mime: "application/vnd.apple.installer+xml" }, { ext: ".odp", mime: "application/vnd.oasis.opendocument.presentation" }, { ext: ".ods", mime: "application/vnd.oasis.opendocument.spreadsheet" }, { ext: ".odt", mime: "application/vnd.oasis.opendocument.text" }, { ext: ".oga", mime: "audio/ogg" }, { ext: ".ogv", mime: "video/ogg" }, { ext: ".ogx", mime: "application/ogg" }, { ext: ".opus", mime: "audio/opus" }, { ext: ".otf", mime: "font/otf" }, { ext: ".png", mime: "image/png" }, { ext: ".pdf", mime: "application/pdf" }, { ext: ".php", mime: "application/x-httpd-php" }, { ext: ".ppt", mime: "application/vnd.ms-powerpoint" }, { ext: ".pptx", mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation" }, { ext: ".rar", mime: "application/vnd.rar" }, { ext: ".rtf", mime: "application/rtf" }, { ext: ".sh", mime: "application/x-sh" }, { ext: ".svg", mime: "image/svg+xml" }, { ext: ".tar", mime: "application/x-tar" }, { ext: ".tif, .tiff", mime: "image/tiff" }, { ext: ".ts", mime: "video/mp2t" }, { ext: ".ttf", mime: "font/ttf" }, { ext: ".txt", mime: "text/plain" }, { ext: ".md", mime: "text/plain" }, { ext: ".vsd", mime: "application/vnd.visio" }, { ext: ".wav", mime: "audio/wav" }, { ext: ".weba", mime: "audio/webm" }, { ext: ".webm", mime: "video/webm" }, { ext: ".webp", mime: "image/webp" }, { ext: ".woff", mime: "font/woff" }, { ext: ".woff2", mime: "font/woff2" }, { ext: ".xhtml", mime: "application/xhtml+xml" }, { ext: ".xls", mime: "application/vnd.ms-excel" }, { ext: ".xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }, { ext: ".xml", mime: "application/xml is recommended as of RFC 7303 (section 4.1), but text/xml is still used sometimes. You can assign a specific MIME type to a file with .xml extension depending on how its contents are meant to be interpreted. For instance, an Atom feed is application/atom+xml, but application/xml serves as a valid default." }, { ext: ".xul", mime: "application/vnd.mozilla.xul+xml" }, { ext: ".zip", mime: "application/zip" }, { ext: ".3gp", mime: "video/3gpp; audio/3gpp if it doesn't contain video" }, { ext: ".3g2", mime: "video/3gpp2; audio/3gpp2 if it doesn't contain video" }, { ext: ".7z", mime: "application/x-7z-compressed" }], Za = (function() {
6710
6755
  function e3(e4) {
6711
6756
  this._data = e4;
6712
6757
  }
@@ -6715,17 +6760,17 @@ var require_d5lib = __commonJS({
6715
6760
  }, Object.defineProperty(e3.prototype, "size", { get: function() {
6716
6761
  return Ja().statSync(this._data.path).size;
6717
6762
  }, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "type", { get: function() {
6718
- return function(e4) {
6763
+ return (function(e4) {
6719
6764
  for (var a3 = 0, n2 = Xa; a3 < n2.length; a3++) {
6720
6765
  var i2 = n2[a3];
6721
6766
  if (i2.ext === e4) return i2.mime;
6722
6767
  }
6723
6768
  return "";
6724
- }(en(this._data.path).ext);
6769
+ })(en(this._data.path).ext);
6725
6770
  }, enumerable: false, configurable: true }), Object.defineProperty(e3.prototype, "name", { get: function() {
6726
6771
  return en(this._data.path).base;
6727
6772
  }, enumerable: false, configurable: true }), e3;
6728
- }();
6773
+ })();
6729
6774
  function en(e3) {
6730
6775
  return Qa().parse(e3);
6731
6776
  }
@@ -6760,6 +6805,7 @@ __export(src_exports, {
6760
6805
  config: () => config,
6761
6806
  contextMenu: () => contextMenu,
6762
6807
  createDriver: () => createDriver,
6808
+ disabledLocator: () => disabledLocator,
6763
6809
  editorFactory: () => editorFactory,
6764
6810
  elementIsNotPresent: () => elementIsNotPresent,
6765
6811
  readonlyLocator: () => readonlyLocator,
@@ -7178,6 +7224,7 @@ function ApiRequest(objectName, operation) {
7178
7224
  config,
7179
7225
  contextMenu,
7180
7226
  createDriver,
7227
+ disabledLocator,
7181
7228
  editorFactory,
7182
7229
  elementIsNotPresent,
7183
7230
  readonlyLocator,