@squadx_dev/brix-client-library 1.51.2 → 1.51.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import pt, { createContext as io, useRef as Rt, useEffect as zt, useState as yt, useCallback as Ui, forwardRef as zr, useImperativeHandle as Lm, useLayoutEffect as Cm, useMemo as Rm } from "react";
1
+ import gt, { createContext as io, useRef as Rt, useEffect as zt, useState as yt, useCallback as Ui, forwardRef as zr, useImperativeHandle as Lm, useLayoutEffect as Cm, useMemo as Rm } from "react";
2
2
  var _m = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
3
  function Im(i) {
4
4
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
@@ -67,7 +67,7 @@ var vu;
67
67
  function km() {
68
68
  if (vu) return Lr;
69
69
  vu = 1, tf();
70
- var i = pt, e = 60103;
70
+ var i = gt, e = 60103;
71
71
  if (Lr.Fragment = 60107, typeof Symbol == "function" && Symbol.for) {
72
72
  var t = Symbol.for;
73
73
  e = t("react.element"), Lr.Fragment = t("react.fragment");
@@ -95,7 +95,7 @@ var yu;
95
95
  function Pm() {
96
96
  return yu || (yu = 1, function(i) {
97
97
  process.env.NODE_ENV !== "production" && function() {
98
- var e = pt, t = tf(), s = 60103, r = 60106;
98
+ var e = gt, t = tf(), s = 60103, r = 60106;
99
99
  i.Fragment = 60107;
100
100
  var n = 60108, a = 60114, o = 60109, l = 60110, u = 60112, d = 60113, f = 60120, g = 60115, v = 60116, y = 60121, E = 60122, b = 60117, w = 60129, F = 60131;
101
101
  if (typeof Symbol == "function" && Symbol.for) {
@@ -185,9 +185,9 @@ function Pm() {
185
185
  return null;
186
186
  }
187
187
  var Ae = 0, ue, he, Te, ge, ve, Ge, Be;
188
- function Ye() {
188
+ function Qe() {
189
189
  }
190
- Ye.__reactDisabledLog = !0;
190
+ Qe.__reactDisabledLog = !0;
191
191
  function tt() {
192
192
  {
193
193
  if (Ae === 0) {
@@ -195,7 +195,7 @@ function Pm() {
195
195
  var W = {
196
196
  configurable: !0,
197
197
  enumerable: !0,
198
- value: Ye,
198
+ value: Qe,
199
199
  writable: !0
200
200
  };
201
201
  Object.defineProperties(console, {
@@ -211,7 +211,7 @@ function Pm() {
211
211
  Ae++;
212
212
  }
213
213
  }
214
- function Ze() {
214
+ function it() {
215
215
  {
216
216
  if (Ae--, Ae === 0) {
217
217
  var W = {
@@ -246,27 +246,27 @@ function Pm() {
246
246
  Ae < 0 && re("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
247
247
  }
248
248
  }
249
- var it = j.ReactCurrentDispatcher, Qe;
250
- function vt(W, Se, Le) {
249
+ var Je = j.ReactCurrentDispatcher, Ye;
250
+ function ht(W, Se, Le) {
251
251
  {
252
- if (Qe === void 0)
252
+ if (Ye === void 0)
253
253
  try {
254
254
  throw Error();
255
255
  } catch (ot) {
256
256
  var _e = ot.stack.trim().match(/\n( *(at )?)/);
257
- Qe = _e && _e[1] || "";
257
+ Ye = _e && _e[1] || "";
258
258
  }
259
259
  return `
260
- ` + Qe + W;
260
+ ` + Ye + W;
261
261
  }
262
262
  }
263
- var Dt = !1, vs;
263
+ var It = !1, vs;
264
264
  {
265
265
  var Ne = typeof WeakMap == "function" ? WeakMap : Map;
266
266
  vs = new Ne();
267
267
  }
268
268
  function ls(W, Se) {
269
- if (!W || Dt)
269
+ if (!W || It)
270
270
  return "";
271
271
  {
272
272
  var Le = vs.get(W);
@@ -274,11 +274,11 @@ function Pm() {
274
274
  return Le;
275
275
  }
276
276
  var _e;
277
- Dt = !0;
277
+ It = !0;
278
278
  var ot = Error.prepareStackTrace;
279
279
  Error.prepareStackTrace = void 0;
280
280
  var Me;
281
- Me = it.current, it.current = null, tt();
281
+ Me = Je.current, Je.current = null, tt();
282
282
  try {
283
283
  if (Se) {
284
284
  var et = function() {
@@ -313,17 +313,17 @@ function Pm() {
313
313
  }
314
314
  } catch (Rs) {
315
315
  if (Rs && _e && typeof Rs.stack == "string") {
316
- for (var Je = Rs.stack.split(`
316
+ for (var Ze = Rs.stack.split(`
317
317
  `), Gt = _e.stack.split(`
318
- `), St = Je.length - 1, bt = Gt.length - 1; St >= 1 && bt >= 0 && Je[St] !== Gt[bt]; )
318
+ `), St = Ze.length - 1, bt = Gt.length - 1; St >= 1 && bt >= 0 && Ze[St] !== Gt[bt]; )
319
319
  bt--;
320
320
  for (; St >= 1 && bt >= 0; St--, bt--)
321
- if (Je[St] !== Gt[bt]) {
321
+ if (Ze[St] !== Gt[bt]) {
322
322
  if (St !== 1 || bt !== 1)
323
323
  do
324
- if (St--, bt--, bt < 0 || Je[St] !== Gt[bt]) {
324
+ if (St--, bt--, bt < 0 || Ze[St] !== Gt[bt]) {
325
325
  var Cs = `
326
- ` + Je[St].replace(" at new ", " at ");
326
+ ` + Ze[St].replace(" at new ", " at ");
327
327
  return typeof W == "function" && vs.set(W, Cs), Cs;
328
328
  }
329
329
  while (St >= 1 && bt >= 0);
@@ -331,9 +331,9 @@ function Pm() {
331
331
  }
332
332
  }
333
333
  } finally {
334
- Dt = !1, it.current = Me, Ze(), Error.prepareStackTrace = ot;
334
+ It = !1, Je.current = Me, it(), Error.prepareStackTrace = ot;
335
335
  }
336
- var wi = W ? W.displayName || W.name : "", jn = wi ? vt(wi) : "";
336
+ var wi = W ? W.displayName || W.name : "", jn = wi ? ht(wi) : "";
337
337
  return typeof W == "function" && vs.set(W, jn), jn;
338
338
  }
339
339
  function cs(W, Se, Le) {
@@ -349,12 +349,12 @@ function Pm() {
349
349
  if (typeof W == "function")
350
350
  return ls(W, fr(W));
351
351
  if (typeof W == "string")
352
- return vt(W);
352
+ return ht(W);
353
353
  switch (W) {
354
354
  case d:
355
- return vt("Suspense");
355
+ return ht("Suspense");
356
356
  case f:
357
- return vt("SuspenseList");
357
+ return ht("SuspenseList");
358
358
  }
359
359
  if (typeof W == "object")
360
360
  switch (W.$$typeof) {
@@ -387,17 +387,17 @@ function Pm() {
387
387
  var Me = Function.call.bind(Object.prototype.hasOwnProperty);
388
388
  for (var et in W)
389
389
  if (Me(W, et)) {
390
- var Je = void 0;
390
+ var Ze = void 0;
391
391
  try {
392
392
  if (typeof W[et] != "function") {
393
393
  var Gt = Error((_e || "React class") + ": " + Le + " type `" + et + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof W[et] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
394
394
  throw Gt.name = "Invariant Violation", Gt;
395
395
  }
396
- Je = W[et](Se, et, _e, Le, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
396
+ Ze = W[et](Se, et, _e, Le, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
397
397
  } catch (St) {
398
- Je = St;
398
+ Ze = St;
399
399
  }
400
- Je && !(Je instanceof Error) && (us(ot), re("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _e || "React class", Le, et, typeof Je), us(null)), Je instanceof Error && !(Je.message in Ki) && (Ki[Je.message] = !0, us(ot), re("Failed %s type: %s", Le, Je.message), us(null));
400
+ Ze && !(Ze instanceof Error) && (us(ot), re("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _e || "React class", Le, et, typeof Ze), us(null)), Ze instanceof Error && !(Ze.message in Ki) && (Ki[Ze.message] = !0, us(ot), re("Failed %s type: %s", Le, Ze.message), us(null));
401
401
  }
402
402
  }
403
403
  }
@@ -453,7 +453,7 @@ function Pm() {
453
453
  }
454
454
  }
455
455
  var ys = function(W, Se, Le, _e, ot, Me, et) {
456
- var Je = {
456
+ var Ze = {
457
457
  // This tag allows us to uniquely identify this as a React Element
458
458
  $$typeof: s,
459
459
  // Built-in properties that belong on the element
@@ -464,27 +464,27 @@ function Pm() {
464
464
  // Record the component responsible for creating this element.
465
465
  _owner: Me
466
466
  };
467
- return Je._store = {}, Object.defineProperty(Je._store, "validated", {
467
+ return Ze._store = {}, Object.defineProperty(Ze._store, "validated", {
468
468
  configurable: !1,
469
469
  enumerable: !1,
470
470
  writable: !0,
471
471
  value: !1
472
- }), Object.defineProperty(Je, "_self", {
472
+ }), Object.defineProperty(Ze, "_self", {
473
473
  configurable: !1,
474
474
  enumerable: !1,
475
475
  writable: !1,
476
476
  value: _e
477
- }), Object.defineProperty(Je, "_source", {
477
+ }), Object.defineProperty(Ze, "_source", {
478
478
  configurable: !1,
479
479
  enumerable: !1,
480
480
  writable: !1,
481
481
  value: ot
482
- }), Object.freeze && (Object.freeze(Je.props), Object.freeze(Je)), Je;
482
+ }), Object.freeze && (Object.freeze(Ze.props), Object.freeze(Ze)), Ze;
483
483
  };
484
484
  function ai(W, Se, Le, _e, ot) {
485
485
  {
486
- var Me, et = {}, Je = null, Gt = null;
487
- Le !== void 0 && (Je = "" + Le), gr(Se) && (Je = "" + Se.key), $n(Se) && (Gt = Se.ref, Un(Se, ot));
486
+ var Me, et = {}, Ze = null, Gt = null;
487
+ Le !== void 0 && (Ze = "" + Le), gr(Se) && (Ze = "" + Se.key), $n(Se) && (Gt = Se.ref, Un(Se, ot));
488
488
  for (Me in Se)
489
489
  Bs.call(Se, Me) && !$s.hasOwnProperty(Me) && (et[Me] = Se[Me]);
490
490
  if (W && W.defaultProps) {
@@ -492,11 +492,11 @@ function Pm() {
492
492
  for (Me in St)
493
493
  et[Me] === void 0 && (et[Me] = St[Me]);
494
494
  }
495
- if (Je || Gt) {
495
+ if (Ze || Gt) {
496
496
  var bt = typeof W == "function" ? W.displayName || W.name || "Unknown" : W;
497
- Je && Gn(et, bt), Gt && uo(et, bt);
497
+ Ze && Gn(et, bt), Gt && uo(et, bt);
498
498
  }
499
- return ys(W, Je, Gt, ot, _e, Ns.current, et);
499
+ return ys(W, Ze, Gt, ot, _e, Ns.current, et);
500
500
  }
501
501
  }
502
502
  var mr = j.ReactCurrentOwner, Xr = j.ReactDebugCurrentFrame;
@@ -613,12 +613,12 @@ Check the top-level render call using <` + Le + ">.");
613
613
  {
614
614
  var et = se(W);
615
615
  if (!et) {
616
- var Je = "";
617
- (W === void 0 || typeof W == "object" && W !== null && Object.keys(W).length === 0) && (Je += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
616
+ var Ze = "";
617
+ (W === void 0 || typeof W == "object" && W !== null && Object.keys(W).length === 0) && (Ze += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
618
618
  var Gt = yr();
619
- Gt ? Je += Gt : Je += Jr();
619
+ Gt ? Ze += Gt : Ze += Jr();
620
620
  var St;
621
- W === null ? St = "null" : Array.isArray(W) ? St = "array" : W !== void 0 && W.$$typeof === s ? (St = "<" + (Ee(W.type) || "Unknown") + " />", Je = " Did you accidentally export a JSX literal instead of a component?") : St = typeof W, re("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", St, Je);
621
+ W === null ? St = "null" : Array.isArray(W) ? St = "array" : W !== void 0 && W.$$typeof === s ? (St = "<" + (Ee(W.type) || "Unknown") + " />", Ze = " Did you accidentally export a JSX literal instead of a component?") : St = typeof W, re("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", St, Ze);
622
622
  }
623
623
  var bt = ai(W, Se, Le, ot, Me);
624
624
  if (bt == null)
@@ -639,13 +639,13 @@ Check the top-level render call using <` + Le + ">.");
639
639
  return W === i.Fragment ? fo(bt) : ho(bt), bt;
640
640
  }
641
641
  }
642
- function It(W, Se, Le) {
642
+ function kt(W, Se, Le) {
643
643
  return we(W, Se, Le, !0);
644
644
  }
645
645
  function oi(W, Se, Le) {
646
646
  return we(W, Se, Le, !1);
647
647
  }
648
- var Ls = oi, Mt = It;
648
+ var Ls = oi, Mt = kt;
649
649
  i.jsx = Ls, i.jsxs = Mt;
650
650
  }();
651
651
  }(Lo)), Lo;
@@ -4057,14 +4057,14 @@ class pe {
4057
4057
  return ap[e] || "";
4058
4058
  }
4059
4059
  }
4060
- const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4060
+ const mt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4061
4061
  /* Googlebot */
4062
4062
  {
4063
4063
  test: [/googlebot/i],
4064
4064
  describe(i) {
4065
4065
  const e = {
4066
4066
  name: "Googlebot"
4067
- }, t = pe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, i) || pe.getFirstMatch(gt, i);
4067
+ }, t = pe.getFirstMatch(/googlebot\/(\d+(\.\d+))/i, i) || pe.getFirstMatch(mt, i);
4068
4068
  return t && (e.version = t), e;
4069
4069
  }
4070
4070
  },
@@ -4074,7 +4074,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4074
4074
  describe(i) {
4075
4075
  const e = {
4076
4076
  name: "Opera"
4077
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, i);
4077
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i, i);
4078
4078
  return t && (e.version = t), e;
4079
4079
  }
4080
4080
  },
@@ -4084,7 +4084,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4084
4084
  describe(i) {
4085
4085
  const e = {
4086
4086
  name: "Opera"
4087
- }, t = pe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, i) || pe.getFirstMatch(gt, i);
4087
+ }, t = pe.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i, i) || pe.getFirstMatch(mt, i);
4088
4088
  return t && (e.version = t), e;
4089
4089
  }
4090
4090
  },
@@ -4093,7 +4093,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4093
4093
  describe(i) {
4094
4094
  const e = {
4095
4095
  name: "Samsung Internet for Android"
4096
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4096
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4097
4097
  return t && (e.version = t), e;
4098
4098
  }
4099
4099
  },
@@ -4102,7 +4102,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4102
4102
  describe(i) {
4103
4103
  const e = {
4104
4104
  name: "NAVER Whale Browser"
4105
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, i);
4105
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i, i);
4106
4106
  return t && (e.version = t), e;
4107
4107
  }
4108
4108
  },
@@ -4111,7 +4111,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4111
4111
  describe(i) {
4112
4112
  const e = {
4113
4113
  name: "MZ Browser"
4114
- }, t = pe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4114
+ }, t = pe.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4115
4115
  return t && (e.version = t), e;
4116
4116
  }
4117
4117
  },
@@ -4120,7 +4120,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4120
4120
  describe(i) {
4121
4121
  const e = {
4122
4122
  name: "Focus"
4123
- }, t = pe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4123
+ }, t = pe.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4124
4124
  return t && (e.version = t), e;
4125
4125
  }
4126
4126
  },
@@ -4129,7 +4129,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4129
4129
  describe(i) {
4130
4130
  const e = {
4131
4131
  name: "Swing"
4132
- }, t = pe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4132
+ }, t = pe.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4133
4133
  return t && (e.version = t), e;
4134
4134
  }
4135
4135
  },
@@ -4138,7 +4138,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4138
4138
  describe(i) {
4139
4139
  const e = {
4140
4140
  name: "Opera Coast"
4141
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, i);
4141
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i, i);
4142
4142
  return t && (e.version = t), e;
4143
4143
  }
4144
4144
  },
@@ -4147,7 +4147,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4147
4147
  describe(i) {
4148
4148
  const e = {
4149
4149
  name: "Opera Touch"
4150
- }, t = pe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4150
+ }, t = pe.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4151
4151
  return t && (e.version = t), e;
4152
4152
  }
4153
4153
  },
@@ -4156,7 +4156,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4156
4156
  describe(i) {
4157
4157
  const e = {
4158
4158
  name: "Yandex Browser"
4159
- }, t = pe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4159
+ }, t = pe.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4160
4160
  return t && (e.version = t), e;
4161
4161
  }
4162
4162
  },
@@ -4165,7 +4165,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4165
4165
  describe(i) {
4166
4166
  const e = {
4167
4167
  name: "UC Browser"
4168
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4168
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i, i);
4169
4169
  return t && (e.version = t), e;
4170
4170
  }
4171
4171
  },
@@ -4174,7 +4174,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4174
4174
  describe(i) {
4175
4175
  const e = {
4176
4176
  name: "Maxthon"
4177
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, i);
4177
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i, i);
4178
4178
  return t && (e.version = t), e;
4179
4179
  }
4180
4180
  },
@@ -4183,7 +4183,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4183
4183
  describe(i) {
4184
4184
  const e = {
4185
4185
  name: "Epiphany"
4186
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, i);
4186
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i, i);
4187
4187
  return t && (e.version = t), e;
4188
4188
  }
4189
4189
  },
@@ -4192,7 +4192,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4192
4192
  describe(i) {
4193
4193
  const e = {
4194
4194
  name: "Puffin"
4195
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, i);
4195
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i, i);
4196
4196
  return t && (e.version = t), e;
4197
4197
  }
4198
4198
  },
@@ -4201,7 +4201,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4201
4201
  describe(i) {
4202
4202
  const e = {
4203
4203
  name: "Sleipnir"
4204
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, i);
4204
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i, i);
4205
4205
  return t && (e.version = t), e;
4206
4206
  }
4207
4207
  },
@@ -4210,7 +4210,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4210
4210
  describe(i) {
4211
4211
  const e = {
4212
4212
  name: "K-Meleon"
4213
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, i);
4213
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i, i);
4214
4214
  return t && (e.version = t), e;
4215
4215
  }
4216
4216
  },
@@ -4219,7 +4219,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4219
4219
  describe(i) {
4220
4220
  const e = {
4221
4221
  name: "WeChat"
4222
- }, t = pe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4222
+ }, t = pe.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4223
4223
  return t && (e.version = t), e;
4224
4224
  }
4225
4225
  },
@@ -4228,7 +4228,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4228
4228
  describe(i) {
4229
4229
  const e = {
4230
4230
  name: /qqbrowserlite/i.test(i) ? "QQ Browser Lite" : "QQ Browser"
4231
- }, t = pe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4231
+ }, t = pe.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4232
4232
  return t && (e.version = t), e;
4233
4233
  }
4234
4234
  },
@@ -4318,7 +4318,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4318
4318
  describe(i) {
4319
4319
  const e = {
4320
4320
  name: "BlackBerry"
4321
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, i);
4321
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i, i);
4322
4322
  return t && (e.version = t), e;
4323
4323
  }
4324
4324
  },
@@ -4327,7 +4327,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4327
4327
  describe(i) {
4328
4328
  const e = {
4329
4329
  name: "WebOS Browser"
4330
- }, t = pe.getFirstMatch(gt, i) || pe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, i);
4330
+ }, t = pe.getFirstMatch(mt, i) || pe.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i, i);
4331
4331
  return t && (e.version = t), e;
4332
4332
  }
4333
4333
  },
@@ -4345,7 +4345,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4345
4345
  describe(i) {
4346
4346
  const e = {
4347
4347
  name: "Tizen"
4348
- }, t = pe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4348
+ }, t = pe.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4349
4349
  return t && (e.version = t), e;
4350
4350
  }
4351
4351
  },
@@ -4354,7 +4354,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4354
4354
  describe(i) {
4355
4355
  const e = {
4356
4356
  name: "QupZilla"
4357
- }, t = pe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4357
+ }, t = pe.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4358
4358
  return t && (e.version = t), e;
4359
4359
  }
4360
4360
  },
@@ -4390,7 +4390,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4390
4390
  describe(i) {
4391
4391
  const e = {
4392
4392
  name: "Chromium"
4393
- }, t = pe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(gt, i);
4393
+ }, t = pe.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i, i) || pe.getFirstMatch(mt, i);
4394
4394
  return t && (e.version = t), e;
4395
4395
  }
4396
4396
  },
@@ -4421,7 +4421,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4421
4421
  describe(i) {
4422
4422
  const e = {
4423
4423
  name: "Android Browser"
4424
- }, t = pe.getFirstMatch(gt, i);
4424
+ }, t = pe.getFirstMatch(mt, i);
4425
4425
  return t && (e.version = t), e;
4426
4426
  }
4427
4427
  },
@@ -4431,7 +4431,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4431
4431
  describe(i) {
4432
4432
  const e = {
4433
4433
  name: "PlayStation 4"
4434
- }, t = pe.getFirstMatch(gt, i);
4434
+ }, t = pe.getFirstMatch(mt, i);
4435
4435
  return t && (e.version = t), e;
4436
4436
  }
4437
4437
  },
@@ -4441,7 +4441,7 @@ const gt = /version\/(\d+(\.?_?\d+)+)/i, bx = [
4441
4441
  describe(i) {
4442
4442
  const e = {
4443
4443
  name: "Safari"
4444
- }, t = pe.getFirstMatch(gt, i);
4444
+ }, t = pe.getFirstMatch(mt, i);
4445
4445
  return t && (e.version = t), e;
4446
4446
  }
4447
4447
  },
@@ -5965,7 +5965,7 @@ const Qx = (i) => typeof ReadableStream == "function" && i instanceof ReadableSt
5965
5965
  return i.size;
5966
5966
  }
5967
5967
  throw new Error(`Body Length computation failed for ${i}`);
5968
- }, fp = "required", Fe = "type", lt = "rules", at = "conditions", ze = "fn", We = "argv", ft = "ref", bn = "assign", qs = "url", Ys = "properties", Xs = "headers", Zx = !0, ar = "isSet", sr = "stringEquals", Oo = "aws.parseArn", ir = "arn", es = "booleanEquals", as = "endpoint", ct = "tree", dt = "error", Cr = { [fp]: !1, [Fe]: "String" }, Ju = { [fp]: !0, default: !1, [Fe]: "Boolean" }, No = { [ze]: "not", [We]: [{ [ze]: ar, [We]: [{ [ft]: "Endpoint" }] }] }, pp = { [ft]: "Endpoint" }, ia = { [ze]: ar, [We]: [{ [ft]: "Region" }] }, ra = { [ze]: "aws.partition", [We]: [{ [ft]: "Region" }], [bn]: "PartitionResult" }, Bo = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, rc = { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "name"] }, $o = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [rc, "aws-iso-b"] }] }, Na = { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsFIPS"] }, Es = {}, gp = { [dt]: "FIPS is enabled but this partition does not support FIPS", [Fe]: dt }, mp = { [dt]: "DualStack is enabled but this partition does not support DualStack", [Fe]: dt }, Uo = { [dt]: "Invalid ARN: Failed to parse ARN.", [Fe]: dt }, Zu = { [ze]: es, [We]: [!0, { [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }] }, eh = [{ [ft]: "StreamARN" }], eS = [{ [ze]: ar, [We]: [pp] }], Go = [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "accountId"] }, !1] }], [lt]: [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "region"] }, !1] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "service"] }, "kinesis"] }], [lt]: [{ [at]: [{ [ze]: "getAttr", [We]: [{ [ft]: ir }, "resourceId[0]"], [bn]: "arnType" }, { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ft]: "arnType" }, ""] }] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ft]: "arnType" }, "stream"] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "{arn#partition}"] }], [lt]: [{ [at]: [{ [ze]: ar, [We]: [{ [ft]: "OperationType" }] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [dt]: "DualStack is enabled, but this partition does not support DualStack.", [Fe]: dt }], [Fe]: ct }, { [dt]: "FIPS is enabled, but this partition does not support FIPS.", [Fe]: dt }], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [ft]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [dt]: "Operation Type is not set. Please contact service team for resolution.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: No ARN type specified", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Invalid region.", [Fe]: dt }], [Fe]: ct }, { [dt]: "Invalid ARN: Invalid account id.", [Fe]: dt }], tS = [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], sS = [{ [ze]: es, [We]: [Na, !0] }], th = [{ [ze]: es, [We]: [{ [ft]: "UseFIPS" }, !0] }], sh = [{ [ze]: es, [We]: [{ [ft]: "UseDualStack" }, !0] }], ih = [{ [ft]: "ConsumerARN" }], rh = [{ [ft]: "ResourceARN" }], iS = { version: "1.0", parameters: { Region: Cr, UseDualStack: Ju, UseFIPS: Ju, Endpoint: Cr, StreamARN: Cr, OperationType: Cr, ConsumerARN: Cr, ResourceARN: Cr }, [lt]: [{ [at]: [{ [ze]: ar, [We]: eh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: eh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: ih }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: ih, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: rh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: rh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: eS, [lt]: [{ [at]: th, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [Fe]: dt }, { [at]: sh, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [Fe]: dt }, { endpoint: { [qs]: pp, [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { [at]: [ia], [lt]: [{ [at]: [ra], [lt]: [{ [at]: tS, [lt]: [{ [at]: [{ [ze]: es, [We]: [Zx, Na] }, Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [Fe]: dt }], [Fe]: ct }, { [at]: th, [lt]: [{ [at]: sS, [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "aws-us-gov"] }], endpoint: { [qs]: "https://kinesis.{Region}.amazonaws.com", [Ys]: Es, [Xs]: Es }, [Fe]: as }, { endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: sh, [lt]: [{ [at]: [Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }], [Fe]: ct }, { error: "Invalid Configuration: Missing Region", [Fe]: dt }] }, rS = iS, nS = (i, e = {}) => mf(rS, {
5968
+ }, fp = "required", Fe = "type", lt = "rules", at = "conditions", ze = "fn", We = "argv", pt = "ref", bn = "assign", qs = "url", Ys = "properties", Xs = "headers", Zx = !0, ar = "isSet", sr = "stringEquals", Oo = "aws.parseArn", ir = "arn", es = "booleanEquals", as = "endpoint", ct = "tree", ft = "error", Cr = { [fp]: !1, [Fe]: "String" }, Ju = { [fp]: !0, default: !1, [Fe]: "Boolean" }, No = { [ze]: "not", [We]: [{ [ze]: ar, [We]: [{ [pt]: "Endpoint" }] }] }, pp = { [pt]: "Endpoint" }, ia = { [ze]: ar, [We]: [{ [pt]: "Region" }] }, ra = { [ze]: "aws.partition", [We]: [{ [pt]: "Region" }], [bn]: "PartitionResult" }, Bo = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, rc = { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "name"] }, $o = { [ze]: "not", [We]: [{ [ze]: sr, [We]: [rc, "aws-iso-b"] }] }, Na = { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsFIPS"] }, Es = {}, gp = { [ft]: "FIPS is enabled but this partition does not support FIPS", [Fe]: ft }, mp = { [ft]: "DualStack is enabled but this partition does not support DualStack", [Fe]: ft }, Uo = { [ft]: "Invalid ARN: Failed to parse ARN.", [Fe]: ft }, Zu = { [ze]: es, [We]: [!0, { [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }] }, eh = [{ [pt]: "StreamARN" }], eS = [{ [ze]: ar, [We]: [pp] }], Go = [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "accountId"] }, !1] }], [lt]: [{ [at]: [{ [ze]: "isValidHostLabel", [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "region"] }, !1] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "service"] }, "kinesis"] }], [lt]: [{ [at]: [{ [ze]: "getAttr", [We]: [{ [pt]: ir }, "resourceId[0]"], [bn]: "arnType" }, { [ze]: "not", [We]: [{ [ze]: sr, [We]: [{ [pt]: "arnType" }, ""] }] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [{ [pt]: "arnType" }, "stream"] }], [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "{arn#partition}"] }], [lt]: [{ [at]: [{ [ze]: ar, [We]: [{ [pt]: "OperationType" }] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [ft]: "DualStack is enabled, but this partition does not support DualStack.", [Fe]: ft }], [Fe]: ct }, { [ft]: "FIPS is enabled, but this partition does not support FIPS.", [Fe]: ft }], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [Na, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: [{ [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], [lt]: [{ [at]: [{ [ze]: es, [We]: [{ [ze]: "getAttr", [We]: [{ [pt]: "PartitionResult" }, "supportsDualStack"] }, !0] }], [lt]: [{ [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { [as]: { [qs]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: {}, [Xs]: {} }, [Fe]: as }], [Fe]: ct }, { [ft]: "Operation Type is not set. Please contact service team for resolution.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: No ARN type specified", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Invalid region.", [Fe]: ft }], [Fe]: ct }, { [ft]: "Invalid ARN: Invalid account id.", [Fe]: ft }], tS = [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }, { [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], sS = [{ [ze]: es, [We]: [Na, !0] }], th = [{ [ze]: es, [We]: [{ [pt]: "UseFIPS" }, !0] }], sh = [{ [ze]: es, [We]: [{ [pt]: "UseDualStack" }, !0] }], ih = [{ [pt]: "ConsumerARN" }], rh = [{ [pt]: "ResourceARN" }], iS = { version: "1.0", parameters: { Region: Cr, UseDualStack: Ju, UseFIPS: Ju, Endpoint: Cr, StreamARN: Cr, OperationType: Cr, ConsumerARN: Cr, ResourceARN: Cr }, [lt]: [{ [at]: [{ [ze]: ar, [We]: eh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: eh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: ih }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: ih, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: [{ [ze]: ar, [We]: rh }, No, ia, ra, Bo, $o], [lt]: [{ [at]: [{ [ze]: Oo, [We]: rh, [bn]: ir }], [lt]: Go, [Fe]: ct }, Uo], [Fe]: ct }, { [at]: eS, [lt]: [{ [at]: th, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [Fe]: ft }, { [at]: sh, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [Fe]: ft }, { endpoint: { [qs]: pp, [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { [at]: [ia], [lt]: [{ [at]: [ra], [lt]: [{ [at]: tS, [lt]: [{ [at]: [{ [ze]: es, [We]: [Zx, Na] }, Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [Fe]: ft }], [Fe]: ct }, { [at]: th, [lt]: [{ [at]: sS, [lt]: [{ [at]: [{ [ze]: sr, [We]: [rc, "aws-us-gov"] }], endpoint: { [qs]: "https://kinesis.{Region}.amazonaws.com", [Ys]: Es, [Xs]: Es }, [Fe]: as }, { endpoint: { [qs]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, gp], [Fe]: ct }, { [at]: sh, [lt]: [{ [at]: [Zu], [lt]: [{ endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }, mp], [Fe]: ct }, { endpoint: { [qs]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Ys]: Es, [Xs]: Es }, [Fe]: as }], [Fe]: ct }], [Fe]: ct }, { error: "Invalid Configuration: Missing Region", [Fe]: ft }] }, rS = iS, nS = (i, e = {}) => mf(rS, {
5969
5969
  endpointParams: i,
5970
5970
  logger: e.logger
5971
5971
  });
@@ -6460,7 +6460,7 @@ function NS(i) {
6460
6460
  return async () => {
6461
6461
  var o, l, u;
6462
6462
  (o = i.logger) == null || o.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");
6463
- const { GetCredentialsForIdentityCommand: e, CognitoIdentityClient: t } = await import("./3t-Ysz2w.es.js"), { Credentials: { AccessKeyId: s = BS(i.logger), Expiration: r, SecretKey: n = US(i.logger), SessionToken: a } = $S(i.logger) } = await (i.client ?? new t(Object.assign({}, i.clientConfig ?? {}, {
6463
+ const { GetCredentialsForIdentityCommand: e, CognitoIdentityClient: t } = await import("./CyI1rJfJ.es.js"), { Credentials: { AccessKeyId: s = BS(i.logger), Expiration: r, SecretKey: n = US(i.logger), SessionToken: a } = $S(i.logger) } = await (i.client ?? new t(Object.assign({}, i.clientConfig ?? {}, {
6464
6464
  region: ((l = i.clientConfig) == null ? void 0 : l.region) ?? ((u = i.parentClientConfig) == null ? void 0 : u.region)
6465
6465
  }))).send(new e({
6466
6466
  CustomRoleArn: i.customRoleArn,
@@ -6564,7 +6564,7 @@ function KS({ accountId: i, cache: e = jS(), client: t, clientConfig: s, customR
6564
6564
  l == null || l.debug("@aws-sdk/credential-provider-cognito-identity - fromCognitoIdentity");
6565
6565
  const d = o ? `aws:cognito-identity-credentials:${n}:${o}` : void 0;
6566
6566
  let f = async () => {
6567
- const { GetIdCommand: g, CognitoIdentityClient: v } = await import("./3t-Ysz2w.es.js"), y = t ?? new v(Object.assign({}, s ?? {}, { region: (s == null ? void 0 : s.region) ?? (u == null ? void 0 : u.region) }));
6567
+ const { GetIdCommand: g, CognitoIdentityClient: v } = await import("./CyI1rJfJ.es.js"), y = t ?? new v(Object.assign({}, s ?? {}, { region: (s == null ? void 0 : s.region) ?? (u == null ? void 0 : u.region) }));
6568
6568
  let E = d && await e.getItem(d);
6569
6569
  if (!E) {
6570
6570
  const { IdentityId: b = zS(l) } = await y.send(new g({
@@ -7004,8 +7004,8 @@ class L1 {
7004
7004
  /**
7005
7005
  * 채널/방송/숏츠 id */
7006
7006
  setId(e) {
7007
- var t;
7008
- this.data.ty && (this.data.ty === "b" ? (this.data.di.ib = e, delete this.data.di.is, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "s" ? (this.data.di.is = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "c" ? (this.data.di.icc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.iugc) : this.data.ty === "u" ? (this.data.di.iugc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.icc) : this.data.ty === "l" && (this.data.di.il = e, this.data.ii.s = "vod"), (t = window == null ? void 0 : window.__brix_console) == null || t.call(window, "id", e), this.stop(), this.init(), this.start());
7007
+ var t, s;
7008
+ this.data.ty && (this.data.ty === "b" ? (this.data.di.ib = e, delete this.data.di.is, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "s" ? (this.data.di.is = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.icc, delete this.data.di.iugc) : this.data.ty === "c" ? (this.data.di.icc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.iugc) : this.data.ty === "u" ? (this.data.di.iugc = e, this.data.ii.s = "vod", delete this.data.di.ib, delete this.data.di.is, delete this.data.di.icc) : this.data.ty === "l" && (this.data.di.il = e, this.data.ii.s = "vod"), (t = window == null ? void 0 : window.__brix_console) == null || t.call(window, "id", e), (s = this.data.di) != null && s.iu && (this.stop(), this.init(), this.start()));
7009
7009
  }
7010
7010
  /**
7011
7011
  * 클라이언트 아이디 */
@@ -8964,6 +8964,9 @@ const SE = {
8964
8964
  "Please enter answer": "Please enter answer",
8965
8965
  "Participation completed": "Participation completed",
8966
8966
  "Stream Starting Soon": "Stream Starting Soon",
8967
+ "It will be temporarily restricted for smooth chat": "It will be temporarily restricted for smooth chat",
8968
+ "The video cannot be played.": "The video cannot be played.",
8969
+ "This content requires a login. Please try again.": "This content requires a login. Please try again.",
8967
8970
  "Please enter your name": "Please enter your name",
8968
8971
  "Please enter your nickname": "Please enter your nickname",
8969
8972
  "Please enter your phonenumber": "Please enter your phonenumber",
@@ -9054,11 +9057,15 @@ Please look forward to the announcement of the winners!`
9054
9057
  "Please enter answer": "답안을 입력하세요.",
9055
9058
  "Participation completed": "참여완료 되었습니다.",
9056
9059
  "Stream Starting Soon": "곧 라이브가 시작됩니다.",
9060
+ "It will be temporarily restricted for smooth chat": "원활한 채팅을 위해 잠시 제한됩니다.",
9061
+ "The video cannot be played": "동영상을 재생할 수 없습니다.",
9062
+ "This content requires a login. Please try again": "이 콘텐츠는 로그인이 필요합니다. 다시 시도해 주세요.",
9057
9063
  "Please enter your name": "이름을 입력해주세요.",
9058
9064
  "Please enter your nickname": "닉네임을 입력해주세요.",
9059
9065
  "Please enter your phonenumber": "전화번호를 입력해주세요.",
9060
9066
  "Consent for Personal Information": "개인정보 수집및 이용동의(필수)",
9061
- "Please enter the information": "참여를 위해서는 아래 항목을 입력해주세요.",
9067
+ "Please enter the information": `원활한 소통과 서비스 제공을 위해 아래 정보를 입력해주세요.
9068
+ 입력하신 개인정보는 서비스 운영 및 원활한 소통을 위해서만 사용되며 안전하게 보호됩니다.`,
9062
9069
  "Reply has been raised": `라이브 답글이 달렸어요.
9063
9070
  우측 하단 메뉴를 통해 다시 확인할 수 있습니다.`,
9064
9071
  "Please press unmute button": "소리를 켜려면 누르세요.",
@@ -9162,7 +9169,7 @@ var Rp = {
9162
9169
  className: void 0,
9163
9170
  style: void 0,
9164
9171
  attr: void 0
9165
- }, Mh = pt.createContext && /* @__PURE__ */ pt.createContext(Rp), mb = ["attr", "size", "title"];
9172
+ }, Mh = gt.createContext && /* @__PURE__ */ gt.createContext(Rp), mb = ["attr", "size", "title"];
9166
9173
  function vb(i, e) {
9167
9174
  if (i == null) return {};
9168
9175
  var t = yb(i, e), s, r;
@@ -9232,12 +9239,12 @@ function Eb(i, e) {
9232
9239
  return (e === "string" ? String : Number)(i);
9233
9240
  }
9234
9241
  function _p(i) {
9235
- return i && i.map((e, t) => /* @__PURE__ */ pt.createElement(e.tag, Ha({
9242
+ return i && i.map((e, t) => /* @__PURE__ */ gt.createElement(e.tag, Ha({
9236
9243
  key: t
9237
9244
  }, e.attr), _p(e.child)));
9238
9245
  }
9239
9246
  function bi(i) {
9240
- return (e) => /* @__PURE__ */ pt.createElement(bb, Va({
9247
+ return (e) => /* @__PURE__ */ gt.createElement(bb, Va({
9241
9248
  attr: Ha({}, i.attr)
9242
9249
  }, e), _p(i.child));
9243
9250
  }
@@ -9248,7 +9255,7 @@ function bb(i) {
9248
9255
  size: r,
9249
9256
  title: n
9250
9257
  } = i, a = vb(i, mb), o = r || t.size || "1em", l;
9251
- return t.className && (l = t.className), i.className && (l = (l ? l + " " : "") + i.className), /* @__PURE__ */ pt.createElement("svg", Va({
9258
+ return t.className && (l = t.className), i.className && (l = (l ? l + " " : "") + i.className), /* @__PURE__ */ gt.createElement("svg", Va({
9252
9259
  stroke: "currentColor",
9253
9260
  fill: "currentColor",
9254
9261
  strokeWidth: "0"
@@ -9260,9 +9267,9 @@ function bb(i) {
9260
9267
  height: o,
9261
9268
  width: o,
9262
9269
  xmlns: "http://www.w3.org/2000/svg"
9263
- }), n && /* @__PURE__ */ pt.createElement("title", null, n), i.children);
9270
+ }), n && /* @__PURE__ */ gt.createElement("title", null, n), i.children);
9264
9271
  };
9265
- return Mh !== void 0 ? /* @__PURE__ */ pt.createElement(Mh.Consumer, null, (t) => e(t)) : e(Rp);
9272
+ return Mh !== void 0 ? /* @__PURE__ */ gt.createElement(Mh.Consumer, null, (t) => e(t)) : e(Rp);
9266
9273
  }
9267
9274
  function Tb(i) {
9268
9275
  return bi({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "circle", attr: { cx: "256", cy: "256", r: "208", fill: "none", strokeMiterlimit: "10", strokeWidth: "32" }, child: [] }, { tag: "path", attr: { fill: "none", strokeMiterlimit: "10", strokeWidth: "32", d: "m108.92 108.92 294.16 294.16" }, child: [] }] })(i);
@@ -10105,7 +10112,7 @@ const Ws = {
10105
10112
  id3: 3,
10106
10113
  text: 4
10107
10114
  };
10108
- function Pt(i) {
10115
+ function Dt(i) {
10109
10116
  return String.fromCharCode.apply(null, i);
10110
10117
  }
10111
10118
  function $p(i, e) {
@@ -10142,7 +10149,7 @@ function Xe(i, e) {
10142
10149
  return t;
10143
10150
  const s = i.byteLength;
10144
10151
  for (let r = 0; r < s; ) {
10145
- const n = Ue(i, r), a = Pt(i.subarray(r + 4, r + 8)), o = n > 1 ? r + n : s;
10152
+ const n = Ue(i, r), a = Dt(i.subarray(r + 4, r + 8)), o = n > 1 ? r + n : s;
10146
10153
  if (a === e[0])
10147
10154
  if (e.length === 1)
10148
10155
  t.push(i.subarray(r + 8, o));
@@ -10202,7 +10209,7 @@ function Gp(i) {
10202
10209
  o = u[0];
10203
10210
  const d = Ue(u, o === 0 ? 12 : 20), f = Xe(n, ["mdia", "hdlr"])[0];
10204
10211
  if (f) {
10205
- const g = Pt(f.subarray(8, 12)), v = {
10212
+ const g = Dt(f.subarray(8, 12)), v = {
10206
10213
  soun: ut.AUDIO,
10207
10214
  vide: ut.VIDEO
10208
10215
  }[g];
@@ -10229,7 +10236,7 @@ function Gp(i) {
10229
10236
  }), e;
10230
10237
  }
10231
10238
  function IT(i) {
10232
- const e = i.subarray(8), t = e.subarray(86), s = Pt(e.subarray(4, 8));
10239
+ const e = i.subarray(8), t = e.subarray(86), s = Dt(e.subarray(4, 8));
10233
10240
  let r = s;
10234
10241
  const n = s === "enca" || s === "encv";
10235
10242
  if (n) {
@@ -10237,10 +10244,10 @@ function IT(i) {
10237
10244
  Xe(o, ["sinf"]).forEach((u) => {
10238
10245
  const d = Xe(u, ["schm"])[0];
10239
10246
  if (d) {
10240
- const f = Pt(d.subarray(4, 8));
10247
+ const f = Dt(d.subarray(4, 8));
10241
10248
  if (f === "cbcs" || f === "cenc") {
10242
10249
  const g = Xe(u, ["frma"])[0];
10243
- g && (r = Pt(g));
10250
+ g && (r = Dt(g));
10244
10251
  }
10245
10252
  }
10246
10253
  });
@@ -10348,7 +10355,7 @@ function kT(i, e) {
10348
10355
  function Vp(i) {
10349
10356
  const e = Xe(i, ["schm"])[0];
10350
10357
  if (e) {
10351
- const t = Pt(e.subarray(4, 8));
10358
+ const t = Dt(e.subarray(4, 8));
10352
10359
  if (t === "cbcs" || t === "cenc")
10353
10360
  return Xe(i, ["schi", "tenc"])[0];
10354
10361
  }
@@ -10491,17 +10498,17 @@ function Vh(i, e) {
10491
10498
  const Ge = Ue(re, 4);
10492
10499
  let Be = 8;
10493
10500
  se && (fe = Ue(re, Be), Be += 4), de && (Be += 4);
10494
- let Ye = fe + u;
10501
+ let Qe = fe + u;
10495
10502
  for (let tt = 0; tt < Ge; tt++) {
10496
10503
  if (Ee ? (Ae = Ue(re, Be), Be += 4) : Ae = k, ue ? (he = Ue(re, Be), Be += 4) : he = N, Te && (Be += 4), ge && (Q === 0 ? ve = Ue(re, Be) : ve = Up(re, Be), Be += 4), e.type === ut.VIDEO) {
10497
- let Ze = 0;
10498
- for (; Ze < he; ) {
10499
- const it = Ue(s, Ye);
10500
- if (Ye += 4, BT(a, s[Ye])) {
10501
- const Qe = s.subarray(Ye, Ye + it);
10502
- Hp(Qe, a ? 2 : 1, i + ve / r, t);
10504
+ let it = 0;
10505
+ for (; it < he; ) {
10506
+ const Je = Ue(s, Qe);
10507
+ if (Qe += 4, BT(a, s[Qe])) {
10508
+ const Ye = s.subarray(Qe, Qe + Je);
10509
+ Hp(Ye, a ? 2 : 1, i + ve / r, t);
10503
10510
  }
10504
- Ye += it, Ze += it + 4;
10511
+ Qe += Je, it += Je + 4;
10505
10512
  }
10506
10513
  }
10507
10514
  i += Ae / r;
@@ -10611,21 +10618,21 @@ function $T(i) {
10611
10618
  const e = i[0];
10612
10619
  let t = "", s = "", r = 0, n = 0, a = 0, o = 0, l = 0, u = 0;
10613
10620
  if (e === 0) {
10614
- for (; Pt(i.subarray(u, u + 1)) !== "\0"; )
10615
- t += Pt(i.subarray(u, u + 1)), u += 1;
10616
- for (t += Pt(i.subarray(u, u + 1)), u += 1; Pt(i.subarray(u, u + 1)) !== "\0"; )
10617
- s += Pt(i.subarray(u, u + 1)), u += 1;
10618
- s += Pt(i.subarray(u, u + 1)), u += 1, r = Ue(i, 12), n = Ue(i, 16), o = Ue(i, 20), l = Ue(i, 24), u = 28;
10621
+ for (; Dt(i.subarray(u, u + 1)) !== "\0"; )
10622
+ t += Dt(i.subarray(u, u + 1)), u += 1;
10623
+ for (t += Dt(i.subarray(u, u + 1)), u += 1; Dt(i.subarray(u, u + 1)) !== "\0"; )
10624
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10625
+ s += Dt(i.subarray(u, u + 1)), u += 1, r = Ue(i, 12), n = Ue(i, 16), o = Ue(i, 20), l = Ue(i, 24), u = 28;
10619
10626
  } else if (e === 1) {
10620
10627
  u += 4, r = Ue(i, u), u += 4;
10621
10628
  const f = Ue(i, u);
10622
10629
  u += 4;
10623
10630
  const g = Ue(i, u);
10624
- for (u += 4, a = 2 ** 32 * f + g, sT(a) || (a = Number.MAX_SAFE_INTEGER, ie.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = Ue(i, u), u += 4, l = Ue(i, u), u += 4; Pt(i.subarray(u, u + 1)) !== "\0"; )
10625
- t += Pt(i.subarray(u, u + 1)), u += 1;
10626
- for (t += Pt(i.subarray(u, u + 1)), u += 1; Pt(i.subarray(u, u + 1)) !== "\0"; )
10627
- s += Pt(i.subarray(u, u + 1)), u += 1;
10628
- s += Pt(i.subarray(u, u + 1)), u += 1;
10631
+ for (u += 4, a = 2 ** 32 * f + g, sT(a) || (a = Number.MAX_SAFE_INTEGER, ie.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), o = Ue(i, u), u += 4, l = Ue(i, u), u += 4; Dt(i.subarray(u, u + 1)) !== "\0"; )
10632
+ t += Dt(i.subarray(u, u + 1)), u += 1;
10633
+ for (t += Dt(i.subarray(u, u + 1)), u += 1; Dt(i.subarray(u, u + 1)) !== "\0"; )
10634
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10635
+ s += Dt(i.subarray(u, u + 1)), u += 1;
10629
10636
  }
10630
10637
  const d = i.subarray(u, i.byteLength);
10631
10638
  return {
@@ -13469,12 +13476,12 @@ class kw {
13469
13476
  continue;
13470
13477
  if (w.useMediaCapabilities && !ue.supportedResult && !ue.supportedPromise) {
13471
13478
  const tt = navigator.mediaCapabilities;
13472
- typeof (tt == null ? void 0 : tt.decodingInfo) == "function" && Ew(ue, le, te, j, e, re) ? (ue.supportedPromise = bw(ue, le, tt), ue.supportedPromise.then((Ze) => {
13479
+ typeof (tt == null ? void 0 : tt.decodingInfo) == "function" && Ew(ue, le, te, j, e, re) ? (ue.supportedPromise = bw(ue, le, tt), ue.supportedPromise.then((it) => {
13473
13480
  if (!this.hls)
13474
13481
  return;
13475
- ue.supportedResult = Ze;
13476
- const it = this.hls.levels, Qe = it.indexOf(ue);
13477
- Ze.error ? ie.warn(`[abr] MediaCapabilities decodingInfo error: "${Ze.error}" for level ${Qe} ${JSON.stringify(Ze)}`) : Ze.supported || (ie.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Qe} ${JSON.stringify(Ze)}`), Qe > -1 && it.length > 1 && (ie.log(`[abr] Removing unsupported level ${Qe}`), this.hls.removeLevel(Qe)));
13482
+ ue.supportedResult = it;
13483
+ const Je = this.hls.levels, Ye = Je.indexOf(ue);
13484
+ it.error ? ie.warn(`[abr] MediaCapabilities decodingInfo error: "${it.error}" for level ${Ye} ${JSON.stringify(it)}`) : it.supported || (ie.warn(`[abr] Unsupported MediaCapabilities decodingInfo result for level ${Ye} ${JSON.stringify(it)}`), Ye > -1 && Je.length > 1 && (ie.log(`[abr] Removing unsupported level ${Ye}`), this.hls.removeLevel(Ye)));
13478
13485
  })) : ue.supportedResult = eg;
13479
13486
  }
13480
13487
  if (N && ue.codecSet !== N || te && ue.videoRange !== te || he && j > ue.frameRate || !he && j > 0 && j < ue.frameRate || ue.supportedResult && !((Ee = ue.supportedResult.decodingInfoResults) != null && Ee[0].smooth)) {
@@ -13822,14 +13829,14 @@ const Mw = {
13822
13829
  start: () => 0,
13823
13830
  end: () => 0
13824
13831
  };
13825
- class mt {
13832
+ class vt {
13826
13833
  /**
13827
13834
  * Return true if `media`'s buffered include `position`
13828
13835
  */
13829
13836
  static isBuffered(e, t) {
13830
13837
  try {
13831
13838
  if (e) {
13832
- const s = mt.getBuffered(e);
13839
+ const s = vt.getBuffered(e);
13833
13840
  for (let r = 0; r < s.length; r++)
13834
13841
  if (t >= s.start(r) && t <= s.end(r))
13835
13842
  return !0;
@@ -13841,7 +13848,7 @@ class mt {
13841
13848
  static bufferInfo(e, t, s) {
13842
13849
  try {
13843
13850
  if (e) {
13844
- const r = mt.getBuffered(e), n = [];
13851
+ const r = vt.getBuffered(e), n = [];
13845
13852
  let a;
13846
13853
  for (a = 0; a < r.length; a++)
13847
13854
  n.push({
@@ -14415,7 +14422,7 @@ class _c extends Pw {
14415
14422
  const s = t.partList;
14416
14423
  if (s != null && s.length) {
14417
14424
  const n = s[s.length - 1];
14418
- return mt.isBuffered(this.media, n.start + n.duration / 2);
14425
+ return vt.isBuffered(this.media, n.start + n.duration / 2);
14419
14426
  }
14420
14427
  const r = t.fragments[t.fragments.length - 1].type;
14421
14428
  return this.fragmentTracker.isEndListAppended(r);
@@ -14443,7 +14450,7 @@ class _c extends Pw {
14443
14450
  media: s,
14444
14451
  mediaBuffer: r,
14445
14452
  state: n
14446
- } = this, a = s ? s.currentTime : 0, o = mt.bufferInfo(r || s, a, e.maxBufferHole);
14453
+ } = this, a = s ? s.currentTime : 0, o = vt.bufferInfo(r || s, a, e.maxBufferHole);
14447
14454
  if (this.log(`media seeking to ${Re(a) ? a.toFixed(3) : a}, state: ${n}`), this.state === me.ENDED)
14448
14455
  this.resetLoadingState();
14449
14456
  else if (t) {
@@ -14585,7 +14592,7 @@ class _c extends Pw {
14585
14592
  fragBufferedComplete(e, t) {
14586
14593
  var s, r, n, a;
14587
14594
  const o = this.mediaBuffer ? this.mediaBuffer : this.media;
14588
- if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === Ve.MAIN ? "level" : "track"} ${e.level} (frag:[${((s = e.startPTS) != null ? s : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Kw.toString(mt.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
14595
+ if (this.log(`Buffered ${e.type} sn: ${e.sn}${t ? " part: " + t.index : ""} of ${this.playlistType === Ve.MAIN ? "level" : "track"} ${e.level} (frag:[${((s = e.startPTS) != null ? s : NaN).toFixed(3)}-${((r = e.endPTS) != null ? r : NaN).toFixed(3)}] > buffer:${o ? Kw.toString(vt.getBuffered(o)) : "(detached)"})`), e.sn !== "initSegment") {
14589
14596
  var l;
14590
14597
  if (e.type !== Ve.SUBTITLE) {
14591
14598
  const d = e.elementaryStreams;
@@ -14750,11 +14757,11 @@ class _c extends Pw {
14750
14757
  const t = this.media;
14751
14758
  if (!t)
14752
14759
  return;
14753
- if (!mt.isBuffered(t, t.currentTime)) {
14760
+ if (!vt.isBuffered(t, t.currentTime)) {
14754
14761
  this.flushMainBuffer(0, e.start);
14755
14762
  return;
14756
14763
  }
14757
- const s = t.currentTime, r = mt.bufferInfo(t, s, 0), n = e.duration, a = Math.min(this.config.maxFragLookUpTolerance * 2, n * 0.25), o = Math.max(Math.min(e.start - a, r.end - a), s + a);
14764
+ const s = t.currentTime, r = vt.bufferInfo(t, s, 0), n = e.duration, a = Math.min(this.config.maxFragLookUpTolerance * 2, n * 0.25), o = Math.max(Math.min(e.start - a, r.end - a), s + a);
14758
14765
  e.start - o > a && this.flushMainBuffer(o, e.start);
14759
14766
  }
14760
14767
  getFwdBufferInfo(e, t) {
@@ -14766,11 +14773,11 @@ class _c extends Pw {
14766
14773
  config: {
14767
14774
  maxBufferHole: r
14768
14775
  }
14769
- } = this, n = mt.bufferInfo(e, t, r);
14776
+ } = this, n = vt.bufferInfo(e, t, r);
14770
14777
  if (n.len === 0 && n.nextStart !== void 0) {
14771
14778
  const a = this.fragmentTracker.getBufferedFrag(t, s);
14772
14779
  if (a && n.nextStart < a.end)
14773
- return mt.bufferInfo(e, t, Math.max(n.nextStart, r));
14780
+ return vt.bufferInfo(e, t, Math.max(n.nextStart, r));
14774
14781
  }
14775
14782
  return n;
14776
14783
  }
@@ -14998,7 +15005,7 @@ class _c extends Pw {
14998
15005
  afterBufferFlushed(e, t, s) {
14999
15006
  if (!e)
15000
15007
  return;
15001
- const r = mt.getBuffered(e);
15008
+ const r = vt.getBuffered(e);
15002
15009
  this.fragmentTracker.detectEvictedFragments(t, r, s), this.state === me.ENDED && this.resetLoadingState();
15003
15010
  }
15004
15011
  resetLoadingState() {
@@ -17701,8 +17708,8 @@ class Ra {
17701
17708
  if (ve)
17702
17709
  a[0].dts = v, a[0].pts = Be;
17703
17710
  else
17704
- for (let Ye = 0; Ye < a.length && !(a[Ye].dts > Be); Ye++)
17705
- a[Ye].dts -= ge, a[Ye].pts -= ge;
17711
+ for (let Qe = 0; Qe < a.length && !(a[Qe].dts > Be); Qe++)
17712
+ a[Qe].dts -= ge, a[Qe].pts -= ge;
17706
17713
  ie.log(`Video: Initial PTS/DTS adjusted: ${mn(Be, !0)}/${mn(v, !0)}, delta: ${mn(ge, !0)} ms`);
17707
17714
  }
17708
17715
  }
@@ -17710,10 +17717,10 @@ class Ra {
17710
17717
  let N = 0, te = 0, j = v;
17711
17718
  for (let ge = 0; ge < l; ge++) {
17712
17719
  const ve = a[ge], Ge = ve.units, Be = Ge.length;
17713
- let Ye = 0;
17720
+ let Qe = 0;
17714
17721
  for (let tt = 0; tt < Be; tt++)
17715
- Ye += Ge[tt].data.length;
17716
- te += Ye, N += Be, ve.length = Ye, ve.dts < j ? (ve.dts = j, j += U / 4 | 0 || 1) : j = ve.dts, E = Math.min(ve.pts, E), b = Math.max(ve.pts, b);
17722
+ Qe += Ge[tt].data.length;
17723
+ te += Qe, N += Be, ve.length = Qe, ve.dts < j ? (ve.dts = j, j += U / 4 | 0 || 1) : j = ve.dts, E = Math.min(ve.pts, E), b = Math.max(ve.pts, b);
17717
17724
  }
17718
17725
  y = a[l - 1].dts;
17719
17726
  const re = te + 4 * N + 8;
@@ -17737,23 +17744,23 @@ class Ra {
17737
17744
  for (let ge = 0; ge < l; ge++) {
17738
17745
  const ve = a[ge], Ge = ve.units;
17739
17746
  let Be = 0;
17740
- for (let Ze = 0, it = Ge.length; Ze < it; Ze++) {
17741
- const Qe = Ge[Ze], vt = Qe.data, Dt = Qe.data.byteLength;
17742
- le.setUint32(f, Dt), f += 4, Q.set(vt, f), f += Dt, Be += 4 + Dt;
17747
+ for (let it = 0, Je = Ge.length; it < Je; it++) {
17748
+ const Ye = Ge[it], ht = Ye.data, It = Ye.data.byteLength;
17749
+ le.setUint32(f, It), f += 4, Q.set(ht, f), f += It, Be += 4 + It;
17743
17750
  }
17744
- let Ye;
17751
+ let Qe;
17745
17752
  if (ge < l - 1)
17746
- g = a[ge + 1].dts - ve.dts, Ye = a[ge + 1].pts - ve.pts;
17753
+ g = a[ge + 1].dts - ve.dts, Qe = a[ge + 1].pts - ve.pts;
17747
17754
  else {
17748
- const Ze = this.config, it = ge > 0 ? ve.dts - a[ge - 1].dts : U;
17749
- if (Ye = ge > 0 ? ve.pts - a[ge - 1].pts : U, Ze.stretchShortVideoTrack && this.nextAudioPts !== null) {
17750
- const Qe = Math.floor(Ze.maxBufferHole * n), vt = (r ? E + r * n : this.nextAudioPts) - ve.pts;
17751
- vt > Qe ? (g = vt - it, g < 0 ? g = it : se = !0, ie.log(`[mp4-remuxer]: It is approximately ${vt / 90} ms to the next segment; using duration ${g / 90} ms for the last video frame.`)) : g = it;
17755
+ const it = this.config, Je = ge > 0 ? ve.dts - a[ge - 1].dts : U;
17756
+ if (Qe = ge > 0 ? ve.pts - a[ge - 1].pts : U, it.stretchShortVideoTrack && this.nextAudioPts !== null) {
17757
+ const Ye = Math.floor(it.maxBufferHole * n), ht = (r ? E + r * n : this.nextAudioPts) - ve.pts;
17758
+ ht > Ye ? (g = ht - Je, g < 0 ? g = Je : se = !0, ie.log(`[mp4-remuxer]: It is approximately ${ht / 90} ms to the next segment; using duration ${g / 90} ms for the last video frame.`)) : g = Je;
17752
17759
  } else
17753
- g = it;
17760
+ g = Je;
17754
17761
  }
17755
17762
  const tt = Math.round(ve.pts - ve.dts);
17756
- fe = Math.min(fe, g), Ee = Math.max(Ee, g), de = Math.min(de, Ye), Ae = Math.max(Ae, Ye), o.push(new xd(ve.key, g, Be, tt));
17763
+ fe = Math.min(fe, g), Ee = Math.max(Ee, g), de = Math.min(de, Qe), Ae = Math.max(Ae, Qe), o.push(new xd(ve.key, g, Be, tt));
17757
17764
  }
17758
17765
  if (o.length) {
17759
17766
  if (Fr) {
@@ -17765,10 +17772,10 @@ class Ra {
17765
17772
  ie.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");
17766
17773
  let ge = v;
17767
17774
  for (let ve = 0, Ge = o.length; ve < Ge; ve++) {
17768
- const Be = ge + o[ve].duration, Ye = ge + o[ve].cts;
17775
+ const Be = ge + o[ve].duration, Qe = ge + o[ve].cts;
17769
17776
  if (ve < Ge - 1) {
17770
17777
  const tt = Be + o[ve + 1].cts;
17771
- o[ve].duration = tt - Ye;
17778
+ o[ve].duration = tt - Qe;
17772
17779
  } else
17773
17780
  o[ve].duration = ve ? o[ve - 1].duration : U;
17774
17781
  o[ve].cts = 0, ge = Be;
@@ -17821,14 +17828,14 @@ class Ra {
17821
17828
  if (Ge <= -ue * d && y)
17822
17829
  he === 0 && (ie.warn(`Audio frame @ ${(ve / a).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3 * Ge / a)} ms.`), this.nextAudioPts = w = Te = ve);
17823
17830
  else if (Ge >= ue * d && Be < xA && y) {
17824
- let Ye = Math.round(Ge / d);
17825
- Te = ve - Ye * d, Te < 0 && (Ye--, Te += d), he === 0 && (this.nextAudioPts = w = Te), ie.warn(`[mp4-remuxer]: Injecting ${Ye} audio frame @ ${(Te / a).toFixed(3)}s due to ${Math.round(1e3 * Ge / a)} ms gap.`);
17826
- for (let tt = 0; tt < Ye; tt++) {
17827
- const Ze = Math.max(Te, 0);
17828
- let it = vd.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
17829
- it || (ie.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), it = ge.unit.subarray()), E.splice(he, 0, {
17830
- unit: it,
17831
- pts: Ze
17831
+ let Qe = Math.round(Ge / d);
17832
+ Te = ve - Qe * d, Te < 0 && (Qe--, Te += d), he === 0 && (this.nextAudioPts = w = Te), ie.warn(`[mp4-remuxer]: Injecting ${Qe} audio frame @ ${(Te / a).toFixed(3)}s due to ${Math.round(1e3 * Ge / a)} ms gap.`);
17833
+ for (let tt = 0; tt < Qe; tt++) {
17834
+ const it = Math.max(Te, 0);
17835
+ let Je = vd.getSilentFrame(e.manifestCodec || e.codec, e.channelCount);
17836
+ Je || (ie.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."), Je = ge.unit.subarray()), E.splice(he, 0, {
17837
+ unit: Je,
17838
+ pts: it
17832
17839
  }), Te += d, he++;
17833
17840
  }
17834
17841
  }
@@ -18686,7 +18693,7 @@ class _A extends _c {
18686
18693
  } else if (this.videoTrackCC !== this.waitingVideoCC)
18687
18694
  this.log(`Waiting fragment cc (${r.cc}) cancelled because video is at cc ${this.videoTrackCC}`), this.clearWaitingFragment();
18688
18695
  else {
18689
- const l = this.getLoadPosition(), u = mt.bufferInfo(this.mediaBuffer, l, this.config.maxBufferHole);
18696
+ const l = this.getLoadPosition(), u = vt.bufferInfo(this.mediaBuffer, l, this.config.maxBufferHole);
18690
18697
  Ol(u.end, this.config.maxFragLookUpTolerance, r) < 0 && (this.log(`Waiting fragment cc (${r.cc}) @ ${r.start} cancelled because another fragment at ${u.end} is needed`), this.clearWaitingFragment());
18691
18698
  }
18692
18699
  } else
@@ -18885,7 +18892,7 @@ class _A extends _c {
18885
18892
  if (s.type !== Ve.AUDIO) {
18886
18893
  if (!this.loadedmetadata && s.type === Ve.MAIN) {
18887
18894
  const n = this.videoBuffer || this.media;
18888
- n && mt.getBuffered(n).length && (this.loadedmetadata = !0);
18895
+ n && vt.getBuffered(n).length && (this.loadedmetadata = !0);
18889
18896
  }
18890
18897
  return;
18891
18898
  }
@@ -19469,7 +19476,7 @@ class kA extends _c {
19469
19476
  return;
19470
19477
  const {
19471
19478
  config: r
19472
- } = this, n = this.getLoadPosition(), a = mt.bufferedInfo(this.tracksBuffered[this.currentTrackId] || [], n, r.maxBufferHole), {
19479
+ } = this, n = this.getLoadPosition(), a = vt.bufferedInfo(this.tracksBuffered[this.currentTrackId] || [], n, r.maxBufferHole), {
19473
19480
  end: o,
19474
19481
  len: l
19475
19482
  } = a, u = this.getFwdBufferInfo(this.media, Ve.MAIN), d = s.details, f = this.getMaxBufferLength(u == null ? void 0 : u.len) + d.levelTargetDuration;
@@ -20060,7 +20067,7 @@ class FA {
20060
20067
  sourceBuffer: U
20061
20068
  } = this, N = {};
20062
20069
  for (const te in U)
20063
- N[te] = mt.getBuffered(U[te]);
20070
+ N[te] = vt.getBuffered(U[te]);
20064
20071
  this.appendErrors[o] = 0, o === "audio" || o === "video" ? this.appendErrors.audiovideo = 0 : (this.appendErrors.audio = 0, this.appendErrors.video = 0), this.hls.trigger(C.BUFFER_APPENDED, {
20065
20072
  type: o,
20066
20073
  frag: l,
@@ -20188,7 +20195,7 @@ class FA {
20188
20195
  this.getSourceBufferTypes().forEach((o) => {
20189
20196
  const l = n[o];
20190
20197
  if (l) {
20191
- const u = mt.getBuffered(l);
20198
+ const u = vt.getBuffered(l);
20192
20199
  if (u.length > 0 && s > u.start(0)) {
20193
20200
  if (this.hls.trigger(C.BACK_BUFFER_REACHED, {
20194
20201
  bufferEnd: s
@@ -20216,7 +20223,7 @@ class FA {
20216
20223
  this.getSourceBufferTypes().forEach((a) => {
20217
20224
  const o = r[a];
20218
20225
  if (o) {
20219
- const l = mt.getBuffered(o), u = l.length;
20226
+ const l = vt.getBuffered(o), u = l.length;
20220
20227
  if (u < 2)
20221
20228
  return;
20222
20229
  const d = l.start(u - 1), f = l.end(u - 1);
@@ -22555,7 +22562,7 @@ class Ur {
22555
22562
  return;
22556
22563
  let r, n;
22557
22564
  if (t === "sinf" && this.config.drmSystems[xt.FAIRPLAY]) {
22558
- const d = Pt(new Uint8Array(s));
22565
+ const d = Dt(new Uint8Array(s));
22559
22566
  try {
22560
22567
  const f = bc(JSON.parse(d).sinf), g = Vp(new Uint8Array(f));
22561
22568
  if (!g)
@@ -23279,7 +23286,7 @@ class VL {
23279
23286
  */
23280
23287
  getBufferLength(e) {
23281
23288
  const t = this.hls.media, s = e === Yt.AUDIO ? this.audioBuffer : this.videoBuffer;
23282
- return !s || !t ? NaN : mt.bufferInfo(s, t.currentTime, this.config.maxBufferHole).len * 1e3;
23289
+ return !s || !t ? NaN : vt.bufferInfo(s, t.currentTime, this.config.maxBufferHole).len * 1e3;
23283
23290
  }
23284
23291
  /**
23285
23292
  * Create a playlist loader
@@ -24752,11 +24759,11 @@ class dC {
24752
24759
  this.stalled = null;
24753
24760
  return;
24754
24761
  }
24755
- if (r.paused && !o || r.ended || r.playbackRate === 0 || !mt.getBuffered(r).length) {
24762
+ if (r.paused && !o || r.ended || r.playbackRate === 0 || !vt.getBuffered(r).length) {
24756
24763
  this.nudgeRetry = 0;
24757
24764
  return;
24758
24765
  }
24759
- const d = mt.bufferInfo(r, a, 0), f = d.nextStart || 0;
24766
+ const d = vt.bufferInfo(r, a, 0), f = d.nextStart || 0;
24760
24767
  if (o) {
24761
24768
  const b = d.len > Pa, w = !f || t && t.start <= a || f - a > Pa && !this.fragmentTracker.getPartialFragment(a);
24762
24769
  if (b || w)
@@ -24781,7 +24788,7 @@ class dC {
24781
24788
  const y = v - n;
24782
24789
  if (!o && y >= cC && (this._reportStall(d), !this.media))
24783
24790
  return;
24784
- const E = mt.bufferInfo(r, a, s.maxBufferHole);
24791
+ const E = vt.bufferInfo(r, a, s.maxBufferHole);
24785
24792
  this._tryFixBufferStall(E, y);
24786
24793
  }
24787
24794
  /**
@@ -24837,7 +24844,7 @@ class dC {
24837
24844
  } = this;
24838
24845
  if (r === null)
24839
24846
  return 0;
24840
- const n = r.currentTime, a = mt.bufferInfo(r, n, 0), o = n < a.start ? a.start : a.nextStart;
24847
+ const n = r.currentTime, a = vt.bufferInfo(r, n, 0), o = n < a.start ? a.start : a.nextStart;
24841
24848
  if (o) {
24842
24849
  const l = a.len <= t.maxBufferHole, u = a.len > 0 && a.len < 1 && r.readyState < 3, d = o - n;
24843
24850
  if (d > 0 && (l || u)) {
@@ -25300,7 +25307,7 @@ class pC extends _c {
25300
25307
  gapController: t
25301
25308
  } = this;
25302
25309
  if (!(!e || !t || !e.readyState)) {
25303
- if (this.loadedmetadata || !mt.getBuffered(e).length) {
25310
+ if (this.loadedmetadata || !vt.getBuffered(e).length) {
25304
25311
  const s = this.state !== me.IDLE ? this.fragCurrent : null;
25305
25312
  t.poll(this.lastCurrentTime, s);
25306
25313
  }
@@ -25340,7 +25347,7 @@ class pC extends _c {
25340
25347
  this.log(`could not seek to ${s}, already seeking at ${t}`);
25341
25348
  return;
25342
25349
  }
25343
- const r = mt.getBuffered(e), a = (r.length ? r.start(0) : 0) - s;
25350
+ const r = vt.getBuffered(e), a = (r.length ? r.start(0) : 0) - s;
25344
25351
  a > 0 && (a < this.config.maxBufferHole || a < this.config.maxFragLookUpTolerance) && (this.log(`adjusting start position by ${a} to match buffer start`), s += a, this.startPosition = s), this.log(`seek to target start position ${s} from current time ${t}`), e.currentTime = s;
25345
25352
  }
25346
25353
  }
@@ -25510,7 +25517,7 @@ class pC extends _c {
25510
25517
  let t = null;
25511
25518
  if (e && e.readyState > 1 && e.seeking === !1) {
25512
25519
  const s = e.currentTime;
25513
- if (mt.isBuffered(e, s) ? t = this.getAppendedFrag(s) : mt.isBuffered(e, s + 0.1) && (t = this.getAppendedFrag(s + 0.1)), t) {
25520
+ if (vt.isBuffered(e, s) ? t = this.getAppendedFrag(s) : vt.isBuffered(e, s + 0.1) && (t = this.getAppendedFrag(s + 0.1)), t) {
25514
25521
  this.backtrackFragment = null;
25515
25522
  const r = this.fragPlaying, n = t.level;
25516
25523
  (!r || t.sn !== r.sn || r.level !== n) && (this.fragPlaying = t, this.hls.trigger(C.FRAG_CHANGED, {
@@ -26201,7 +26208,7 @@ function gC({
26201
26208
  const ue = re.current;
26202
26209
  let he;
26203
26210
  if (Fs.isSupported()) {
26204
- const Qe = {
26211
+ const Ye = {
26205
26212
  debug: !1,
26206
26213
  enableWorker: !0,
26207
26214
  lowLatencyMode: !0,
@@ -26209,15 +26216,15 @@ function gC({
26209
26216
  highBufferWatchdogPeriod: 1,
26210
26217
  maxMaxBufferLength: 8
26211
26218
  };
26212
- he = new Fs(Qe), he.attachMedia(ue), he.loadSource(i), f(he);
26219
+ he = new Fs(Ye), he.attachMedia(ue), he.loadSource(i), f(he);
26213
26220
  } else ue.canPlayType("application/vnd.apple.mpegurl") && (ue.src = i);
26214
26221
  const Te = () => {
26215
- var Dt, vs, Ne, ls;
26216
- const Qe = ue.duration, vt = ((Ne = (vs = (Dt = he == null ? void 0 : he.levels) == null ? void 0 : Dt[0]) == null ? void 0 : vs.details) == null ? void 0 : Ne.live) || Qe === 1 / 0;
26217
- v(vt), (ls = Q.current) == null || ls.call(Q, !0), Qe !== 1 / 0 && j((cs) => ({
26222
+ var It, vs, Ne, ls;
26223
+ const Ye = ue.duration, ht = ((Ne = (vs = (It = he == null ? void 0 : he.levels) == null ? void 0 : It[0]) == null ? void 0 : vs.details) == null ? void 0 : Ne.live) || Ye === 1 / 0;
26224
+ v(ht), (ls = Q.current) == null || ls.call(Q, !0), Ye !== 1 / 0 && j((cs) => ({
26218
26225
  ...cs,
26219
- durationTime: Math.floor(Qe)
26220
- })), t && (ue.currentTime = t), s && !vt && (ue.currentTime = s), ue.play().catch(() => {
26226
+ durationTime: Math.floor(Ye)
26227
+ })), t && (ue.currentTime = t), s && !ht && (ue.currentTime = s), ue.play().catch(() => {
26221
26228
  N(!0);
26222
26229
  });
26223
26230
  }, ge = () => {
@@ -26228,21 +26235,21 @@ function gC({
26228
26235
  ue.pause();
26229
26236
  }, Be = () => {
26230
26237
  w(!0);
26231
- }, Ye = () => {
26238
+ }, Qe = () => {
26232
26239
  E(ue.playbackRate);
26233
- }, tt = ({ detail: Qe }) => {
26234
- he && (he.currentLevel = Qe.quality);
26235
- }, Ze = () => {
26236
- var Dt, vs, Ne, ls, cs, fr, Os, Ki, zi, us, pr, Ns;
26237
- const Qe = ue.currentTime, vt = ue.duration;
26238
- if ((vs = (Dt = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : Dt.details) != null && vs.live)
26239
- (Ne = Q == null ? void 0 : Q.current) == null || Ne.call(Q, vt - Qe < 10);
26240
- else if (vt === 1 / 0 && ue.buffered.length > 0) {
26240
+ }, tt = ({ detail: Ye }) => {
26241
+ he && (he.currentLevel = Ye.quality);
26242
+ }, it = () => {
26243
+ var It, vs, Ne, ls, cs, fr, Os, Ki, zi, us, pr, Ns;
26244
+ const Ye = ue.currentTime, ht = ue.duration;
26245
+ if ((vs = (It = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : It.details) != null && vs.live)
26246
+ (Ne = Q == null ? void 0 : Q.current) == null || Ne.call(Q, ht - Ye < 10);
26247
+ else if (ht === 1 / 0 && ue.buffered.length > 0) {
26241
26248
  const Bs = ue.buffered.end(0);
26242
- (ls = Q == null ? void 0 : Q.current) == null || ls.call(Q, Bs - Qe < 10);
26249
+ (ls = Q == null ? void 0 : Q.current) == null || ls.call(Q, Bs - Ye < 10);
26243
26250
  }
26244
- if (typeof r == "number" && Qe >= r && (ue.currentTime = r, ue.pause()), a) {
26245
- const Bs = ue.buffered.length > 0 ? ue.buffered.end(0) : 0, $s = ((fr = (cs = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : cs.details) == null ? void 0 : fr.live) || vt === 1 / 0, De = {
26251
+ if (typeof r == "number" && Ye >= r && (ue.currentTime = r, ue.pause()), a) {
26252
+ const Bs = ue.buffered.length > 0 ? ue.buffered.end(0) : 0, $s = ((fr = (cs = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : cs.details) == null ? void 0 : fr.live) || ht === 1 / 0, De = {
26246
26253
  isSupported: Fs.isSupported(),
26247
26254
  version: Fs.version,
26248
26255
  live: $s,
@@ -26250,24 +26257,24 @@ function gC({
26250
26257
  firstLevel: ((Ki = he == null ? void 0 : he.levels[he.firstLevel]) == null ? void 0 : Ki.width) || "auto",
26251
26258
  latency: (zi = he == null ? void 0 : he.latency) == null ? void 0 : zi.toFixed(2),
26252
26259
  targetLatency: he == null ? void 0 : he.targetLatency,
26253
- currentTime: Qe,
26254
- durationTime: vt,
26260
+ currentTime: Ye,
26261
+ durationTime: ht,
26255
26262
  bufferedEnd: Bs,
26256
- sync: $s ? (pr = (us = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : us.details) != null && pr.live ? Bs - Qe < 5 : vt - Qe < 5 : "not live"
26263
+ sync: $s ? (pr = (us = he == null ? void 0 : he.levels[he.currentLevel]) == null ? void 0 : us.details) != null && pr.live ? Bs - Ye < 5 : ht - Ye < 5 : "not live"
26257
26264
  };
26258
26265
  (Ns = window == null ? void 0 : window.__brix_console) == null || Ns.call(window, "hls", De);
26259
26266
  }
26260
- }, it = (Qe) => {
26261
- console.log(Qe);
26267
+ }, Je = (Ye) => {
26268
+ console.log(Ye);
26262
26269
  };
26263
26270
  return document.addEventListener(
26264
26271
  "__BP_VIDEO_QUALITY",
26265
26272
  tt
26266
- ), ue.addEventListener("progress", Ze), ue.addEventListener("loadedmetadata", Te), ue.addEventListener("pause", ge), ue.addEventListener("play", ve), ue.addEventListener("ratechange", Ye), ue.addEventListener("canplay", Be), ue.addEventListener("ended", Ge), ue.addEventListener("error", it), l == null || l(ue, he), () => {
26273
+ ), ue.addEventListener("progress", it), ue.addEventListener("loadedmetadata", Te), ue.addEventListener("pause", ge), ue.addEventListener("play", ve), ue.addEventListener("ratechange", Qe), ue.addEventListener("canplay", Be), ue.addEventListener("ended", Ge), ue.addEventListener("error", Je), l == null || l(ue, he), () => {
26267
26274
  document.removeEventListener(
26268
26275
  "__BP_VIDEO_QUALITY",
26269
26276
  tt
26270
- ), ue.removeEventListener("progress", Ze), ue.removeEventListener("loadedmetadata", Te), ue.removeEventListener("pause", ge), ue.removeEventListener("play", ve), ue.removeEventListener("ratechange", Ye), ue.removeEventListener("canplay", Be), ue.removeEventListener("ended", Ge), ue.removeEventListener("error", it), he == null || he.stopLoad(), he == null || he.destroy(), u == null || u();
26277
+ ), ue.removeEventListener("progress", it), ue.removeEventListener("loadedmetadata", Te), ue.removeEventListener("pause", ge), ue.removeEventListener("play", ve), ue.removeEventListener("ratechange", Qe), ue.removeEventListener("canplay", Be), ue.removeEventListener("ended", Ge), ue.removeEventListener("error", Je), he == null || he.stopLoad(), he == null || he.destroy(), u == null || u();
26271
26278
  };
26272
26279
  }, [
26273
26280
  i,
@@ -26594,7 +26601,7 @@ var jl = { exports: {} };
26594
26601
  var p = ve(c[0] * 255, c[1] * 255, c[2] * 255);
26595
26602
  return p[2] += h, p[2] > 1 ? p[2] = 1 : p[2] < 0 && (p[2] = 0), ge(p[0], p[1], p[2]);
26596
26603
  }
26597
- function Ye(c, h) {
26604
+ function Qe(c, h) {
26598
26605
  var p = ve(c[0] * 255, c[1] * 255, c[2] * 255);
26599
26606
  return p[0] += h / 360, p[0] > 1 ? p[0] -= 1 : p[0] < 0 && (p[0] += 1), ge(p[0], p[1], p[2]);
26600
26607
  }
@@ -26608,15 +26615,15 @@ var jl = { exports: {} };
26608
26615
  })();
26609
26616
  var tt = function(h) {
26610
26617
  b = !!h;
26611
- }, Ze = function() {
26618
+ }, it = function() {
26612
26619
  return b;
26613
- }, it = function(h) {
26620
+ }, Je = function(h) {
26614
26621
  w = h;
26615
- }, Qe = function() {
26622
+ }, Ye = function() {
26616
26623
  return w;
26617
- }, vt = function(h) {
26624
+ }, ht = function(h) {
26618
26625
  re = h;
26619
- }, Dt = function() {
26626
+ }, It = function() {
26620
26627
  return re;
26621
26628
  }, vs = function(h) {
26622
26629
  F = h;
@@ -27214,7 +27221,7 @@ var jl = { exports: {} };
27214
27221
  }, $s(c);
27215
27222
  }
27216
27223
  var De = function() {
27217
- this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = Te(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = Ze(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = zi(), this.imagePreloader = new fr(), this.audioController = v(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new se("drawnFrame", 0, 0, 0), this.expressionsPlugin = Qe();
27224
+ this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = Te(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = it(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = zi(), this.imagePreloader = new fr(), this.audioController = v(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new se("drawnFrame", 0, 0, 0), this.expressionsPlugin = Ye();
27218
27225
  };
27219
27226
  f([Os], De), De.prototype.setParams = function(c) {
27220
27227
  (c.wrapper || c.container) && (this.wrapper = c.wrapper || c.container);
@@ -27256,7 +27263,7 @@ var jl = { exports: {} };
27256
27263
  this.animationData.__complete = !1, cs.completeAnimation(this.animationData, this.onSegmentComplete);
27257
27264
  }, De.prototype.onSegmentComplete = function(c) {
27258
27265
  this.animationData = c;
27259
- var h = Qe();
27266
+ var h = Ye();
27260
27267
  h && h.initExpressions(this), this.loadNextSegment();
27261
27268
  }, De.prototype.loadNextSegment = function() {
27262
27269
  var c = this.animationData.segments;
@@ -27289,7 +27296,7 @@ var jl = { exports: {} };
27289
27296
  }, De.prototype.checkLoaded = function() {
27290
27297
  if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
27291
27298
  this.isLoaded = !0;
27292
- var c = Qe();
27299
+ var c = Ye();
27293
27300
  c && c.initExpressions(this), this.renderer.initItems(), setTimeout((function() {
27294
27301
  this.trigger("DOMLoaded");
27295
27302
  }).bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
@@ -27672,8 +27679,8 @@ var jl = { exports: {} };
27672
27679
  function c() {
27673
27680
  return {
27674
27681
  addedLength: 0,
27675
- percents: y("float32", Dt()),
27676
- lengths: y("float32", Dt())
27682
+ percents: y("float32", It()),
27683
+ lengths: y("float32", It())
27677
27684
  };
27678
27685
  }
27679
27686
  return gr(8, c);
@@ -27706,7 +27713,7 @@ var jl = { exports: {} };
27706
27713
  }
27707
27714
  var m = /* @__PURE__ */ function() {
27708
27715
  return function(I, H, q, K) {
27709
- var J = Dt(), G, O, _, P, $, Y = 0, Z, ae = [], xe = [], je = Un.newElement();
27716
+ var J = It(), G, O, _, P, $, Y = 0, Z, ae = [], xe = [], je = Un.newElement();
27710
27717
  for (_ = q.length, G = 0; G < J; G += 1) {
27711
27718
  for ($ = G / (J - 1), Z = 0, O = 0; O < _; O += 1)
27712
27719
  P = U(1 - $, 3) * I[O] + 3 * U(1 - $, 2) * $ * q[O] + 3 * (1 - $) * U($, 2) * K[O] + U($, 3) * H[O], ae[O] = P, xe[O] !== null && (Z += U(ae[O] - xe[O], 2)), xe[O] = ae[O];
@@ -27732,7 +27739,7 @@ var jl = { exports: {} };
27732
27739
  return function(H, q, K, J) {
27733
27740
  var G = (H[0] + "_" + H[1] + "_" + q[0] + "_" + q[1] + "_" + K[0] + "_" + K[1] + "_" + J[0] + "_" + J[1]).replace(/\./g, "p");
27734
27741
  if (!I[G]) {
27735
- var O = Dt(), _, P, $, Y, Z, ae = 0, xe, je, Pe = null;
27742
+ var O = It(), _, P, $, Y, Z, ae = 0, xe, je, Pe = null;
27736
27743
  H.length === 2 && (H[0] !== q[0] || H[1] !== q[1]) && h(H[0], H[1], q[0], q[1], H[0] + K[0], H[1] + K[1]) && h(H[0], H[1], q[0], q[1], q[0] + J[0], q[1] + J[1]) && (O = 2);
27737
27744
  var be = new x(O);
27738
27745
  for ($ = K.length, _ = 0; _ < O; _ += 1) {
@@ -27940,9 +27947,9 @@ var jl = { exports: {} };
27940
27947
  };
27941
27948
  return h;
27942
27949
  }();
27943
- function It() {
27950
+ function kt() {
27944
27951
  }
27945
- It.prototype = {
27952
+ kt.prototype = {
27946
27953
  addDynamicProperty: function(h) {
27947
27954
  this.dynamicProperties.indexOf(h) === -1 && (this.dynamicProperties.push(h), this.container.addDynamicProperty(this), this._isAnimated = !0);
27948
27955
  },
@@ -28150,7 +28157,7 @@ var jl = { exports: {} };
28150
28157
  var P = this.p.v[0], $ = this.p.v[1], Y = this.s.v[0] / 2, Z = this.s.v[1] / 2, ae = this.d !== 3, xe = this.v;
28151
28158
  xe.v[0][0] = P, xe.v[0][1] = $ - Z, xe.v[1][0] = ae ? P + Y : P - Y, xe.v[1][1] = $, xe.v[2][0] = P, xe.v[2][1] = $ + Z, xe.v[3][0] = ae ? P - Y : P + Y, xe.v[3][1] = $, xe.i[0][0] = ae ? P - Y * G : P + Y * G, xe.i[0][1] = $ - Z, xe.i[1][0] = ae ? P + Y : P - Y, xe.i[1][1] = $ - Z * G, xe.i[2][0] = ae ? P + Y * G : P - Y * G, xe.i[2][1] = $ + Z, xe.i[3][0] = ae ? P - Y : P + Y, xe.i[3][1] = $ + Z * G, xe.o[0][0] = ae ? P + Y * G : P - Y * G, xe.o[0][1] = $ - Z, xe.o[1][0] = ae ? P + Y : P - Y, xe.o[1][1] = $ + Z * G, xe.o[2][0] = ae ? P - Y * G : P + Y * G, xe.o[2][1] = $ + Z, xe.o[3][0] = ae ? P - Y : P + Y, xe.o[3][1] = $ - Z * G;
28152
28159
  }
28153
- }, f([It], O), O;
28160
+ }, f([kt], O), O;
28154
28161
  }(), ee = function() {
28155
28162
  function G(O, _) {
28156
28163
  this.v = Mt.newElement(), this.v.setPathData(!0, 0), this.elem = O, this.comp = O.comp, this.data = _, this.frameId = -1, this.d = _.d, this.initDynamicPropertyContainer(O), _.sy === 1 ? (this.ir = we.getProp(O, _.ir, 0, 0, this), this.is = we.getProp(O, _.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = we.getProp(O, _.pt, 0, 0, this), this.p = we.getProp(O, _.p, 1, 0, this), this.r = we.getProp(O, _.r, 0, Q, this), this.or = we.getProp(O, _.or, 0, 0, this), this.os = we.getProp(O, _.os, 0, 0.01, this), this.localShapeCollection = Se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
@@ -28178,7 +28185,7 @@ var jl = { exports: {} };
28178
28185
  }
28179
28186
  this.paths.length = 0, this.paths[0] = this.v;
28180
28187
  }
28181
- }, f([It], G), G;
28188
+ }, f([kt], G), G;
28182
28189
  }(), I = function() {
28183
28190
  function G(O, _) {
28184
28191
  this.v = Mt.newElement(), this.v.c = !0, this.localShapeCollection = Se.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = O, this.comp = O.comp, this.frameId = -1, this.d = _.d, this.initDynamicPropertyContainer(O), this.p = we.getProp(O, _.p, 1, 0, this), this.s = we.getProp(O, _.s, 1, 0, this), this.r = we.getProp(O, _.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
@@ -28192,7 +28199,7 @@ var jl = { exports: {} };
28192
28199
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
28193
28200
  },
28194
28201
  reset: m
28195
- }, f([It], G), G;
28202
+ }, f([kt], G), G;
28196
28203
  }();
28197
28204
  function H(G, O, _) {
28198
28205
  var P;
@@ -28261,18 +28268,18 @@ var jl = { exports: {} };
28261
28268
  function I(T, R, ne) {
28262
28269
  return !ne && ne !== 0 && (ne = 1), T === 1 && R === 1 && ne === 1 ? this : this._t(T, 0, 0, 0, 0, R, 0, 0, 0, 0, ne, 0, 0, 0, 0, 1);
28263
28270
  }
28264
- function H(T, R, ne, X, Ce, $e, Ke, rt, nt, kt, ss, Gs, is, Vt, hs, ht) {
28265
- return this.props[0] = T, this.props[1] = R, this.props[2] = ne, this.props[3] = X, this.props[4] = Ce, this.props[5] = $e, this.props[6] = Ke, this.props[7] = rt, this.props[8] = nt, this.props[9] = kt, this.props[10] = ss, this.props[11] = Gs, this.props[12] = is, this.props[13] = Vt, this.props[14] = hs, this.props[15] = ht, this;
28271
+ function H(T, R, ne, X, Ce, $e, Ke, rt, nt, Pt, ss, Gs, is, Vt, hs, dt) {
28272
+ return this.props[0] = T, this.props[1] = R, this.props[2] = ne, this.props[3] = X, this.props[4] = Ce, this.props[5] = $e, this.props[6] = Ke, this.props[7] = rt, this.props[8] = nt, this.props[9] = Pt, this.props[10] = ss, this.props[11] = Gs, this.props[12] = is, this.props[13] = Vt, this.props[14] = hs, this.props[15] = dt, this;
28266
28273
  }
28267
28274
  function q(T, R, ne) {
28268
28275
  return ne = ne || 0, T !== 0 || R !== 0 || ne !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, T, R, ne, 1) : this;
28269
28276
  }
28270
- function K(T, R, ne, X, Ce, $e, Ke, rt, nt, kt, ss, Gs, is, Vt, hs, ht) {
28277
+ function K(T, R, ne, X, Ce, $e, Ke, rt, nt, Pt, ss, Gs, is, Vt, hs, dt) {
28271
28278
  var ke = this.props;
28272
- if (T === 1 && R === 0 && ne === 0 && X === 0 && Ce === 0 && $e === 1 && Ke === 0 && rt === 0 && nt === 0 && kt === 0 && ss === 1 && Gs === 0)
28273
- return ke[12] = ke[12] * T + ke[15] * is, ke[13] = ke[13] * $e + ke[15] * Vt, ke[14] = ke[14] * ss + ke[15] * hs, ke[15] *= ht, this._identityCalculated = !1, this;
28279
+ if (T === 1 && R === 0 && ne === 0 && X === 0 && Ce === 0 && $e === 1 && Ke === 0 && rt === 0 && nt === 0 && Pt === 0 && ss === 1 && Gs === 0)
28280
+ return ke[12] = ke[12] * T + ke[15] * is, ke[13] = ke[13] * $e + ke[15] * Vt, ke[14] = ke[14] * ss + ke[15] * hs, ke[15] *= dt, this._identityCalculated = !1, this;
28274
28281
  var ui = ke[0], ki = ke[1], hi = ke[2], Vs = ke[3], di = ke[4], fi = ke[5], rs = ke[6], Pi = ke[7], Di = ke[8], Is = ke[9], Mi = ke[10], ks = ke[11], Qi = ke[12], Xn = ke[13], Qn = ke[14], Jn = ke[15];
28275
- return ke[0] = ui * T + ki * Ce + hi * nt + Vs * is, ke[1] = ui * R + ki * $e + hi * kt + Vs * Vt, ke[2] = ui * ne + ki * Ke + hi * ss + Vs * hs, ke[3] = ui * X + ki * rt + hi * Gs + Vs * ht, ke[4] = di * T + fi * Ce + rs * nt + Pi * is, ke[5] = di * R + fi * $e + rs * kt + Pi * Vt, ke[6] = di * ne + fi * Ke + rs * ss + Pi * hs, ke[7] = di * X + fi * rt + rs * Gs + Pi * ht, ke[8] = Di * T + Is * Ce + Mi * nt + ks * is, ke[9] = Di * R + Is * $e + Mi * kt + ks * Vt, ke[10] = Di * ne + Is * Ke + Mi * ss + ks * hs, ke[11] = Di * X + Is * rt + Mi * Gs + ks * ht, ke[12] = Qi * T + Xn * Ce + Qn * nt + Jn * is, ke[13] = Qi * R + Xn * $e + Qn * kt + Jn * Vt, ke[14] = Qi * ne + Xn * Ke + Qn * ss + Jn * hs, ke[15] = Qi * X + Xn * rt + Qn * Gs + Jn * ht, this._identityCalculated = !1, this;
28282
+ return ke[0] = ui * T + ki * Ce + hi * nt + Vs * is, ke[1] = ui * R + ki * $e + hi * Pt + Vs * Vt, ke[2] = ui * ne + ki * Ke + hi * ss + Vs * hs, ke[3] = ui * X + ki * rt + hi * Gs + Vs * dt, ke[4] = di * T + fi * Ce + rs * nt + Pi * is, ke[5] = di * R + fi * $e + rs * Pt + Pi * Vt, ke[6] = di * ne + fi * Ke + rs * ss + Pi * hs, ke[7] = di * X + fi * rt + rs * Gs + Pi * dt, ke[8] = Di * T + Is * Ce + Mi * nt + ks * is, ke[9] = Di * R + Is * $e + Mi * Pt + ks * Vt, ke[10] = Di * ne + Is * Ke + Mi * ss + ks * hs, ke[11] = Di * X + Is * rt + Mi * Gs + ks * dt, ke[12] = Qi * T + Xn * Ce + Qn * nt + Jn * is, ke[13] = Qi * R + Xn * $e + Qn * Pt + Jn * Vt, ke[14] = Qi * ne + Xn * Ke + Qn * ss + Jn * hs, ke[15] = Qi * X + Xn * rt + Qn * Gs + Jn * dt, this._identityCalculated = !1, this;
28276
28283
  }
28277
28284
  function J(T) {
28278
28285
  var R = T.props;
@@ -28335,8 +28342,8 @@ var jl = { exports: {} };
28335
28342
  if (this.isIdentity())
28336
28343
  X[0] = T[0], X[1] = T[1], X[2] = R[0], X[3] = R[1], X[4] = ne[0], X[5] = ne[1];
28337
28344
  else {
28338
- var Ce = this.props[0], $e = this.props[1], Ke = this.props[4], rt = this.props[5], nt = this.props[12], kt = this.props[13];
28339
- X[0] = T[0] * Ce + T[1] * Ke + nt, X[1] = T[0] * $e + T[1] * rt + kt, X[2] = R[0] * Ce + R[1] * Ke + nt, X[3] = R[0] * $e + R[1] * rt + kt, X[4] = ne[0] * Ce + ne[1] * Ke + nt, X[5] = ne[0] * $e + ne[1] * rt + kt;
28345
+ var Ce = this.props[0], $e = this.props[1], Ke = this.props[4], rt = this.props[5], nt = this.props[12], Pt = this.props[13];
28346
+ X[0] = T[0] * Ce + T[1] * Ke + nt, X[1] = T[0] * $e + T[1] * rt + Pt, X[2] = R[0] * Ce + R[1] * Ke + nt, X[3] = R[0] * $e + R[1] * rt + Pt, X[4] = ne[0] * Ce + ne[1] * Ke + nt, X[5] = ne[0] * $e + ne[1] * rt + Pt;
28340
28347
  }
28341
28348
  return X;
28342
28349
  }
@@ -28379,7 +28386,7 @@ var jl = { exports: {} };
28379
28386
  function et(c) {
28380
28387
  l(c);
28381
28388
  }
28382
- function Je() {
28389
+ function Ze() {
28383
28390
  wt.searchAnimations();
28384
28391
  }
28385
28392
  function Gt(c) {
@@ -28395,23 +28402,23 @@ var jl = { exports: {} };
28395
28402
  if (typeof c == "string")
28396
28403
  switch (c) {
28397
28404
  case "high":
28398
- vt(200);
28405
+ ht(200);
28399
28406
  break;
28400
28407
  default:
28401
28408
  case "medium":
28402
- vt(50);
28409
+ ht(50);
28403
28410
  break;
28404
28411
  case "low":
28405
- vt(10);
28412
+ ht(10);
28406
28413
  break;
28407
28414
  }
28408
- else !isNaN(c) && c > 1 && vt(c);
28415
+ else !isNaN(c) && c > 1 && ht(c);
28409
28416
  }
28410
28417
  function wi() {
28411
28418
  return typeof navigator < "u";
28412
28419
  }
28413
28420
  function jn(c, h) {
28414
- c === "expressions" && it(h);
28421
+ c === "expressions" && Je(h);
28415
28422
  }
28416
28423
  function Rs(c) {
28417
28424
  switch (c) {
@@ -28425,9 +28432,9 @@ var jl = { exports: {} };
28425
28432
  return null;
28426
28433
  }
28427
28434
  }
28428
- Me.play = wt.play, Me.pause = wt.pause, Me.setLocationHref = et, Me.togglePause = wt.togglePause, Me.setSpeed = wt.setSpeed, Me.setDirection = wt.setDirection, Me.stop = wt.stop, Me.searchAnimations = Je, Me.registerAnimation = wt.registerAnimation, Me.loadAnimation = bt, Me.setSubframeRendering = Gt, Me.resize = wt.resize, Me.goToAndStop = wt.goToAndStop, Me.destroy = wt.destroy, Me.setQuality = Cs, Me.inBrowser = wi, Me.installPlugin = jn, Me.freeze = wt.freeze, Me.unfreeze = wt.unfreeze, Me.setVolume = wt.setVolume, Me.mute = wt.mute, Me.unmute = wt.unmute, Me.getRegisteredAnimations = wt.getRegisteredAnimations, Me.useWebWorker = a, Me.setIDPrefix = St, Me.__getFactory = Rs, Me.version = "5.12.2";
28435
+ Me.play = wt.play, Me.pause = wt.pause, Me.setLocationHref = et, Me.togglePause = wt.togglePause, Me.setSpeed = wt.setSpeed, Me.setDirection = wt.setDirection, Me.stop = wt.stop, Me.searchAnimations = Ze, Me.registerAnimation = wt.registerAnimation, Me.loadAnimation = bt, Me.setSubframeRendering = Gt, Me.resize = wt.resize, Me.goToAndStop = wt.goToAndStop, Me.destroy = wt.destroy, Me.setQuality = Cs, Me.inBrowser = wi, Me.installPlugin = jn, Me.freeze = wt.freeze, Me.unfreeze = wt.unfreeze, Me.setVolume = wt.setVolume, Me.mute = wt.mute, Me.unmute = wt.unmute, Me.getRegisteredAnimations = wt.getRegisteredAnimations, Me.useWebWorker = a, Me.setIDPrefix = St, Me.__getFactory = Rs, Me.version = "5.12.2";
28429
28436
  function Zg() {
28430
- document.readyState === "complete" && (clearInterval(sm), Je());
28437
+ document.readyState === "complete" && (clearInterval(sm), Ze());
28431
28438
  }
28432
28439
  function em(c) {
28433
28440
  for (var h = Gc.split("&"), p = 0; p < h.length; p += 1) {
@@ -28478,7 +28485,7 @@ var jl = { exports: {} };
28478
28485
  this.shapes = [], this.elem = c, this.initDynamicPropertyContainer(c), this.initModifierProperties(c, h), this.frameId = n, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
28479
28486
  }, xs.prototype.processKeys = function() {
28480
28487
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
28481
- }, f([It], xs);
28488
+ }, f([kt], xs);
28482
28489
  function _s() {
28483
28490
  }
28484
28491
  f([xs], _s), _s.prototype.initModifierProperties = function(c, h) {
@@ -28716,7 +28723,7 @@ var jl = { exports: {} };
28716
28723
  getValue: p,
28717
28724
  precalculateMatrix: m,
28718
28725
  autoOrient: S
28719
- }, f([It], A), A.prototype.addDynamicProperty = x, A.prototype._addDynamicProperty = It.prototype.addDynamicProperty;
28726
+ }, f([kt], A), A.prototype.addDynamicProperty = x, A.prototype._addDynamicProperty = kt.prototype.addDynamicProperty;
28720
28727
  function D(L, B, V) {
28721
28728
  return new A(L, B, V);
28722
28729
  }
@@ -29263,8 +29270,8 @@ var jl = { exports: {} };
29263
29270
  for ($e = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < $e.length; Ke += 1)
29264
29271
  T[R].fPath === $e[Ke].src && (Ce = !1);
29265
29272
  if (Ce) {
29266
- var kt = d("link");
29267
- kt.setAttribute("f-forigin", T[R].fOrigin), kt.setAttribute("f-origin", T[R].origin), kt.setAttribute("rel", "stylesheet"), kt.setAttribute("href", T[R].fPath), z.appendChild(kt);
29273
+ var Pt = d("link");
29274
+ Pt.setAttribute("f-forigin", T[R].fOrigin), Pt.setAttribute("f-origin", T[R].origin), Pt.setAttribute("rel", "stylesheet"), Pt.setAttribute("href", T[R].fPath), z.appendChild(Pt);
29268
29275
  }
29269
29276
  }
29270
29277
  T[R].helper = K(T[R], z), T[R].cache = {}, this.fonts.push(T[R]);
@@ -29486,7 +29493,7 @@ var jl = { exports: {} };
29486
29493
  function nn(c, h) {
29487
29494
  this.init(c, h);
29488
29495
  }
29489
- f([It], nn), nn.prototype.getValue = nn.prototype.iterateDynamicProperties, nn.prototype.init = function(c, h) {
29496
+ f([kt], nn), nn.prototype.getValue = nn.prototype.iterateDynamicProperties, nn.prototype.init = function(c, h) {
29490
29497
  this.data = c, this.effectElements = [], this.initDynamicPropertyContainer(h);
29491
29498
  var p, m = this.data.ef.length, S, x = this.data.ef;
29492
29499
  for (p = 0; p < m; p += 1) {
@@ -30165,19 +30172,19 @@ var jl = { exports: {} };
30165
30172
  for (this.renderer === "svg" && (this.dashStr = ""), h = 0; h < p; h += 1)
30166
30173
  this.dataProps[h].n !== "o" ? this.renderer === "svg" ? this.dashStr += " " + this.dataProps[h].p.v : this.dashArray[h] = this.dataProps[h].p.v : this.dashoffset[0] = this.dataProps[h].p.v;
30167
30174
  }
30168
- }, f([It], Yn);
30175
+ }, f([kt], Yn);
30169
30176
  function hu(c, h, p) {
30170
30177
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.o = we.getProp(c, h.o, 0, 0.01, this), this.w = we.getProp(c, h.w, 0, null, this), this.d = new Yn(c, h.d || {}, "svg", this), this.c = we.getProp(c, h.c, 1, 255, this), this.style = p, this._isAnimated = !!this._isAnimated;
30171
30178
  }
30172
- f([It], hu);
30179
+ f([kt], hu);
30173
30180
  function du(c, h, p) {
30174
30181
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.o = we.getProp(c, h.o, 0, 0.01, this), this.c = we.getProp(c, h.c, 1, 255, this), this.style = p;
30175
30182
  }
30176
- f([It], du);
30183
+ f([kt], du);
30177
30184
  function fu(c, h, p) {
30178
30185
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.style = p;
30179
30186
  }
30180
- f([It], fu);
30187
+ f([kt], fu);
30181
30188
  function un(c, h, p) {
30182
30189
  this.data = h, this.c = y("uint8c", h.p * 4);
30183
30190
  var m = h.k.k[0].s ? h.k.k[0].s.length - h.p * 4 : h.k.k.length - h.p * 4;
@@ -30212,7 +30219,7 @@ var jl = { exports: {} };
30212
30219
  m = h % 2 === 0 ? 100 : 1, S = h % 2 === 0 ? Math.round(this.prop.v[h] * 100) : this.prop.v[h], this.o[h - this.data.p * 4] !== S && (this.o[h - this.data.p * 4] = S, this._omdf = !c);
30213
30220
  this._mdf = !c;
30214
30221
  }
30215
- }, f([It], un);
30222
+ }, f([kt], un);
30216
30223
  function Ar(c, h, p) {
30217
30224
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.initGradientData(c, h, p);
30218
30225
  }
@@ -30242,11 +30249,11 @@ var jl = { exports: {} };
30242
30249
  p = Ne("stop"), p.setAttribute("stop-color", "rgb(255,255,255)"), B.appendChild(p), V.push(p);
30243
30250
  A.setAttribute(c.ty === "gf" ? "fill" : "stroke", "url(" + u() + "#" + D + ")"), c.ty === "gs" && (A.setAttribute("stroke-linecap", ou[c.lc || 2]), A.setAttribute("stroke-linejoin", lu[c.lj || 2]), c.lj === 1 && A.setAttribute("stroke-miterlimit", c.ml)), this.of = B, this.ms = x, this.ost = V, this.maskId = L, h.msElem = A;
30244
30251
  }
30245
- }, f([It], Ar);
30252
+ }, f([kt], Ar);
30246
30253
  function pu(c, h, p) {
30247
30254
  this.initDynamicPropertyContainer(c), this.getValue = this.iterateDynamicProperties, this.w = we.getProp(c, h.w, 0, null, this), this.d = new Yn(c, h.d || {}, "svg", this), this.initGradientData(c, h, p), this._isAnimated = !!this._isAnimated;
30248
30255
  }
30249
- f([Ar, It], pu);
30256
+ f([Ar, kt], pu);
30250
30257
  function Sm() {
30251
30258
  this.it = [], this.prevViewData = [], this.gr = Ne("g");
30252
30259
  }
@@ -30676,7 +30683,7 @@ var jl = { exports: {} };
30676
30683
  }
30677
30684
  this.finalS = B, this.finalE = V;
30678
30685
  }
30679
- }, f([It], m);
30686
+ }, f([kt], m);
30680
30687
  function S(x, A, D) {
30681
30688
  return new m(x, A);
30682
30689
  }
@@ -30748,7 +30755,7 @@ var jl = { exports: {} };
30748
30755
  ee = I.length, L = 0, B = 0;
30749
30756
  var Ie = c.finalSize * 1.2 * 0.714, ye = !0, M, z, T, R, ne;
30750
30757
  R = m.length;
30751
- var X, Ce = -1, $e, Ke, rt, nt = q, kt = _, ss = O, Gs = -1, is, Vt, hs, ht, ke, ui, ki, hi, Vs = "", di = this.defaultPropsArray, fi;
30758
+ var X, Ce = -1, $e, Ke, rt, nt = q, Pt = _, ss = O, Gs = -1, is, Vt, hs, dt, ke, ui, ki, hi, Vs = "", di = this.defaultPropsArray, fi;
30752
30759
  if (c.j === 2 || c.j === 1) {
30753
30760
  var rs = 0, Pi = 0, Di = c.j === 2 ? -0.5 : -1, Is = 0, Mi = !0;
30754
30761
  for (V = 0; V < ee; V += 1)
@@ -30766,7 +30773,7 @@ var jl = { exports: {} };
30766
30773
  }
30767
30774
  for (V = 0; V < ee; V += 1) {
30768
30775
  if (x.reset(), is = 1, I[V].n)
30769
- L = 0, B += c.yOffset, B += ye ? 1 : 0, q = nt, ye = !1, this._hasMaskedPath && (_ = kt, O = ss, $ = Y[_].points, P = $[O - 1], K = $[O], Z = K.partialLength, J = 0), Vs = "", hi = "", ui = "", fi = "", di = this.defaultPropsArray;
30776
+ L = 0, B += c.yOffset, B += ye ? 1 : 0, q = nt, ye = !1, this._hasMaskedPath && (_ = Pt, O = ss, $ = Y[_].points, P = $[O - 1], K = $[O], Z = K.partialLength, J = 0), Vs = "", hi = "", ui = "", fi = "", di = this.defaultPropsArray;
30770
30777
  else {
30771
30778
  if (this._hasMaskedPath) {
30772
30779
  if (Gs !== I[V].line) {
@@ -30791,7 +30798,7 @@ var jl = { exports: {} };
30791
30798
  $e = I[V].an / 2 - I[V].add, x.translate(-$e, 0, 0), x.translate(-p[0] * I[V].an * 5e-3, -p[1] * Ie * 0.01, 0);
30792
30799
  for (T = 0; T < R; T += 1)
30793
30800
  M = m[T].a, M.t.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), (L !== 0 || c.j !== 0) && (this._hasMaskedPath ? X.length ? q += M.t.v * X[0] : q += M.t.v * X : X.length ? L += M.t.v * X[0] : L += M.t.v * X));
30794
- for (c.strokeWidthAnim && (hs = c.sw || 0), c.strokeColorAnim && (c.sc ? Vt = [c.sc[0], c.sc[1], c.sc[2]] : Vt = [0, 0, 0]), c.fillColorAnim && c.fc && (ht = [c.fc[0], c.fc[1], c.fc[2]]), T = 0; T < R; T += 1)
30801
+ for (c.strokeWidthAnim && (hs = c.sw || 0), c.strokeColorAnim && (c.sc ? Vt = [c.sc[0], c.sc[1], c.sc[2]] : Vt = [0, 0, 0]), c.fillColorAnim && c.fc && (dt = [c.fc[0], c.fc[1], c.fc[2]]), T = 0; T < R; T += 1)
30795
30802
  M = m[T].a, M.a.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), X.length ? x.translate(-M.a.v[0] * X[0], -M.a.v[1] * X[1], M.a.v[2] * X[2]) : x.translate(-M.a.v[0] * X, -M.a.v[1] * X, M.a.v[2] * X));
30796
30803
  for (T = 0; T < R; T += 1)
30797
30804
  M = m[T].a, M.s.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), X.length ? x.scale(1 + (M.s.v[0] - 1) * X[0], 1 + (M.s.v[1] - 1) * X[1], 1) : x.scale(1 + (M.s.v[0] - 1) * X, 1 + (M.s.v[1] - 1) * X, 1));
@@ -30802,13 +30809,13 @@ var jl = { exports: {} };
30802
30809
  if (c.fillColorAnim && c.fc) {
30803
30810
  if (M.fc.propType)
30804
30811
  for (ke = 0; ke < 3; ke += 1)
30805
- X.length ? ht[ke] += (M.fc.v[ke] - ht[ke]) * X[0] : ht[ke] += (M.fc.v[ke] - ht[ke]) * X;
30806
- M.fh.propType && (X.length ? ht = Ye(ht, M.fh.v * X[0]) : ht = Ye(ht, M.fh.v * X)), M.fs.propType && (X.length ? ht = Ge(ht, M.fs.v * X[0]) : ht = Ge(ht, M.fs.v * X)), M.fb.propType && (X.length ? ht = Be(ht, M.fb.v * X[0]) : ht = Be(ht, M.fb.v * X));
30812
+ X.length ? dt[ke] += (M.fc.v[ke] - dt[ke]) * X[0] : dt[ke] += (M.fc.v[ke] - dt[ke]) * X;
30813
+ M.fh.propType && (X.length ? dt = Qe(dt, M.fh.v * X[0]) : dt = Qe(dt, M.fh.v * X)), M.fs.propType && (X.length ? dt = Ge(dt, M.fs.v * X[0]) : dt = Ge(dt, M.fs.v * X)), M.fb.propType && (X.length ? dt = Be(dt, M.fb.v * X[0]) : dt = Be(dt, M.fb.v * X));
30807
30814
  }
30808
30815
  }
30809
30816
  for (T = 0; T < R; T += 1)
30810
30817
  M = m[T].a, M.p.propType && (z = m[T].s, X = z.getMult(I[V].anIndexes[T], S.a[T].s.totalChars), this._hasMaskedPath ? X.length ? x.translate(0, M.p.v[1] * X[0], -M.p.v[2] * X[1]) : x.translate(0, M.p.v[1] * X, -M.p.v[2] * X) : X.length ? x.translate(M.p.v[0] * X[0], M.p.v[1] * X[1], -M.p.v[2] * X[2]) : x.translate(M.p.v[0] * X, M.p.v[1] * X, -M.p.v[2] * X));
30811
- if (c.strokeWidthAnim && (ui = hs < 0 ? 0 : hs), c.strokeColorAnim && (ki = "rgb(" + Math.round(Vt[0] * 255) + "," + Math.round(Vt[1] * 255) + "," + Math.round(Vt[2] * 255) + ")"), c.fillColorAnim && c.fc && (hi = "rgb(" + Math.round(ht[0] * 255) + "," + Math.round(ht[1] * 255) + "," + Math.round(ht[2] * 255) + ")"), this._hasMaskedPath) {
30818
+ if (c.strokeWidthAnim && (ui = hs < 0 ? 0 : hs), c.strokeColorAnim && (ki = "rgb(" + Math.round(Vt[0] * 255) + "," + Math.round(Vt[1] * 255) + "," + Math.round(Vt[2] * 255) + ")"), c.fillColorAnim && c.fc && (hi = "rgb(" + Math.round(dt[0] * 255) + "," + Math.round(dt[1] * 255) + "," + Math.round(dt[2] * 255) + ")"), this._hasMaskedPath) {
30812
30819
  if (x.translate(0, -c.ls), x.translate(0, p[1] * Ie * 0.01 + B, 0), this._pathData.p.v) {
30813
30820
  je = (K.point[1] - P.point[1]) / (K.point[0] - P.point[0]);
30814
30821
  var Qi = Math.atan(je) * 180 / Math.PI;
@@ -30833,7 +30840,7 @@ var jl = { exports: {} };
30833
30840
  }
30834
30841
  }, Xi.prototype.getValue = function() {
30835
30842
  this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
30836
- }, Xi.prototype.mHelper = new _e(), Xi.prototype.defaultPropsArray = [], f([It], Xi);
30843
+ }, Xi.prototype.mHelper = new _e(), Xi.prototype.defaultPropsArray = [], f([kt], Xi);
30837
30844
  function Ss() {
30838
30845
  }
30839
30846
  Ss.prototype.initElement = function(c, h, p) {
@@ -31047,7 +31054,7 @@ var jl = { exports: {} };
31047
31054
  if (!(h[c] || this.layers[c].ty === 99)) {
31048
31055
  h[c] = !0;
31049
31056
  var p = this.createItem(this.layers[c]);
31050
- if (h[c] = p, Qe() && (this.layers[c].ty === 0 && this.globalData.projectInterface.registerComposition(p), p.initExpressions()), this.appendElementInPos(p, c), this.layers[c].tt) {
31057
+ if (h[c] = p, Ye() && (this.layers[c].ty === 0 && this.globalData.projectInterface.registerComposition(p), p.initExpressions()), this.appendElementInPos(p, c), this.layers[c].tt) {
31051
31058
  var m = "tp" in this.layers[c] ? this.findIndexByInd(this.layers[c].tp) : c - 1;
31052
31059
  if (m === -1)
31053
31060
  return;
@@ -32172,24 +32179,26 @@ const zC = zr(
32172
32179
  onDestroy: b
32173
32180
  }), ve = I1({
32174
32181
  onClick: N,
32175
- onDoubleClick: (Ze) => {
32182
+ onDoubleClick: (Je) => {
32176
32183
  if (g || se) return;
32177
- const it = Ze.target.getBoundingClientRect(), Qe = it.left + it.width / 2;
32178
- Ze.clientX < Qe ? (ue(), Q("left")) : (he(), Q("right"));
32184
+ const Ye = Je.target.getBoundingClientRect(), ht = Ye.left + Ye.width / 2;
32185
+ Je.clientX < ht ? (ue(), Q("left")) : (he(), Q("right"));
32179
32186
  }
32180
- }), Ge = (Ze, it) => {
32181
- if (Ze.stopPropagation(), !le.current) return;
32182
- const Qe = it * ((o ?? le.current.duration) - (a ?? 0)) / 100;
32183
- Ae(Qe);
32187
+ }), Ge = (Je, Ye) => {
32188
+ if (Je.stopPropagation(), !le.current) return;
32189
+ const ht = Ye * ((o ?? le.current.duration) - (a ?? 0)) / 100;
32190
+ Ae(ht);
32184
32191
  }, Be = () => {
32185
32192
  j();
32186
- }, Ye = (Ze) => (it) => {
32187
- it.stopPropagation(), Ze();
32193
+ }, Qe = (Je) => {
32194
+ Je.key === "Enter" && ve();
32195
+ }, tt = (Je) => (Ye) => {
32196
+ Ye.stopPropagation(), Je();
32188
32197
  };
32189
32198
  zt(() => {
32190
32199
  y == null || y(U);
32191
32200
  }, [U, y]);
32192
- const tt = !(g || se);
32201
+ const it = !(g || se);
32193
32202
  return /* @__PURE__ */ Oe.jsxs("div", { ref: k, className: `${Tt.root} ${F || ""}`, children: [
32194
32203
  /* @__PURE__ */ Oe.jsx(
32195
32204
  "video",
@@ -32215,6 +32224,10 @@ const zC = zr(
32215
32224
  {
32216
32225
  className: `${Tt.layer} ${t ? Tt.shadow : ""}`,
32217
32226
  onClick: ve,
32227
+ onKeyDown: Qe,
32228
+ tabIndex: 0,
32229
+ "aria-label": "비디오 플레이어 컨트롤",
32230
+ "aria-pressed": U,
32218
32231
  children: [
32219
32232
  re && /* @__PURE__ */ Oe.jsx(
32220
32233
  "div",
@@ -32224,7 +32237,7 @@ const zC = zr(
32224
32237
  }
32225
32238
  ),
32226
32239
  s && U && /* @__PURE__ */ Oe.jsxs(Oe.Fragment, { children: [
32227
- tt && /* @__PURE__ */ Oe.jsx(
32240
+ it && /* @__PURE__ */ Oe.jsx(
32228
32241
  $g,
32229
32242
  {
32230
32243
  handle: !0,
@@ -32233,7 +32246,7 @@ const zC = zr(
32233
32246
  onChangeProgress: Ge
32234
32247
  }
32235
32248
  ),
32236
- tt && /* @__PURE__ */ Oe.jsx(
32249
+ it && /* @__PURE__ */ Oe.jsx(
32237
32250
  wC,
32238
32251
  {
32239
32252
  className: Tt.time,
@@ -32241,11 +32254,11 @@ const zC = zr(
32241
32254
  durationTime: fe.durationTime
32242
32255
  }
32243
32256
  ),
32244
- tt && /* @__PURE__ */ Oe.jsxs(
32257
+ it && /* @__PURE__ */ Oe.jsxs(
32245
32258
  "button",
32246
32259
  {
32247
32260
  className: `${Tt.button} ${Tt.playbackrate}`,
32248
- onClick: Ye(ge),
32261
+ onClick: tt(ge),
32249
32262
  "aria-label": "비디오 배속",
32250
32263
  children: [
32251
32264
  Ee,
@@ -32257,48 +32270,48 @@ const zC = zr(
32257
32270
  "button",
32258
32271
  {
32259
32272
  className: `${Tt.button} ${Tt.play_toggle}`,
32260
- onClick: Ye(Te),
32273
+ onClick: tt(Te),
32261
32274
  "aria-label": "비디오 재생",
32262
32275
  "aria-pressed": de,
32263
32276
  children: /* @__PURE__ */ Oe.jsx(zo, { name: de ? "pause" : "play" })
32264
32277
  }
32265
32278
  ),
32266
- tt && /* @__PURE__ */ Oe.jsx(
32279
+ it && /* @__PURE__ */ Oe.jsx(
32267
32280
  "button",
32268
32281
  {
32269
32282
  className: `${Tt.button} ${Tt.backward}`,
32270
- onClick: Ye(ue),
32283
+ onClick: tt(ue),
32271
32284
  "aria-label": "비디오 10초 뒤로",
32272
32285
  children: /* @__PURE__ */ Oe.jsx(zo, { name: "backward" })
32273
32286
  }
32274
32287
  ),
32275
- tt && /* @__PURE__ */ Oe.jsx(
32288
+ it && /* @__PURE__ */ Oe.jsx(
32276
32289
  "button",
32277
32290
  {
32278
32291
  className: `${Tt.button} ${Tt.forward}`,
32279
- onClick: Ye(he),
32292
+ onClick: tt(he),
32280
32293
  "aria-label": "비디오 10초 앞으로",
32281
32294
  children: /* @__PURE__ */ Oe.jsx(zo, { name: "forward" })
32282
32295
  }
32283
32296
  ),
32284
- !!u && tt && /* @__PURE__ */ Oe.jsx(
32297
+ !!u && it && /* @__PURE__ */ Oe.jsx(
32285
32298
  "button",
32286
32299
  {
32287
32300
  className: `${Tt.button} ${Tt.chapter_toggle}`,
32288
32301
  "aria-label": "비디오 챕터",
32289
- onClick: Ye(Be),
32302
+ onClick: tt(Be),
32290
32303
  children: Wt.t("chapter")
32291
32304
  }
32292
32305
  ),
32293
- !!u && te && /* @__PURE__ */ Oe.jsx("div", { className: Tt.chapter_wrap, children: u == null ? void 0 : u.map((Ze) => /* @__PURE__ */ Oe.jsx(
32306
+ !!u && te && /* @__PURE__ */ Oe.jsx("div", { className: Tt.chapter_wrap, children: u == null ? void 0 : u.map((Je) => /* @__PURE__ */ Oe.jsx(
32294
32307
  KC,
32295
32308
  {
32296
- ...Ze,
32297
- onClick: Ye(
32298
- () => Ae(TC(Ze.time))
32309
+ ...Je,
32310
+ onClick: tt(
32311
+ () => Ae(TC(Je.time))
32299
32312
  )
32300
32313
  },
32301
- Ze.id
32314
+ Je.id
32302
32315
  )) })
32303
32316
  ] }),
32304
32317
  U && (v == null ? void 0 : v({
@@ -32837,9 +32850,9 @@ function hR() {
32837
32850
  else {
32838
32851
  const {
32839
32852
  clientWidth: Be,
32840
- offsetWidth: Ye
32853
+ offsetWidth: Qe
32841
32854
  } = fe;
32842
- Q = ue + he + Te + ge + ve + (Ye - Be);
32855
+ Q = ue + he + Te + ge + ve + (Qe - Be);
32843
32856
  }
32844
32857
  }
32845
32858
  Ee && (fe.style.transform = Ee), Ae && (fe.style.webkitTransform = Ae), s.roundLengths && (Q = Math.floor(Q));
@@ -34677,7 +34690,7 @@ function Xg(i) {
34677
34690
  }
34678
34691
  function Qg(i) {
34679
34692
  const e = [];
34680
- return pt.Children.toArray(i).forEach((t) => {
34693
+ return gt.Children.toArray(i).forEach((t) => {
34681
34694
  Xg(t) ? e.push(t) : t.props && t.props.children && Qg(t.props.children).forEach((s) => e.push(s));
34682
34695
  }), e;
34683
34696
  }
@@ -34688,7 +34701,7 @@ function x_(i) {
34688
34701
  "wrapper-start": [],
34689
34702
  "wrapper-end": []
34690
34703
  };
34691
- return pt.Children.toArray(i).forEach((s) => {
34704
+ return gt.Children.toArray(i).forEach((s) => {
34692
34705
  if (Xg(s))
34693
34706
  e.push(s);
34694
34707
  else if (s.props && s.props.slot && t[s.props.slot])
@@ -34718,7 +34731,7 @@ function S_(i, e, t) {
34718
34731
  } = t, o = i.params.loop ? -e.length : 0, l = i.params.loop ? e.length * 2 : e.length, u = [];
34719
34732
  for (let d = o; d < l; d += 1)
34720
34733
  d >= n && d <= a && u.push(e[s(d)]);
34721
- return u.map((d, f) => /* @__PURE__ */ pt.cloneElement(d, {
34734
+ return u.map((d, f) => /* @__PURE__ */ gt.cloneElement(d, {
34722
34735
  swiper: i,
34723
34736
  style: r,
34724
34737
  key: `slide-${f}`
@@ -34813,28 +34826,28 @@ const Xd = /* @__PURE__ */ io(null), E_ = /* @__PURE__ */ io(null), b_ = /* @__P
34813
34826
  y_(w.current);
34814
34827
  }, [f]);
34815
34828
  function Te() {
34816
- return re.virtual ? S_(w.current, fe, f) : fe.map((ge, ve) => /* @__PURE__ */ pt.cloneElement(ge, {
34829
+ return re.virtual ? S_(w.current, fe, f) : fe.map((ge, ve) => /* @__PURE__ */ gt.cloneElement(ge, {
34817
34830
  swiper: w.current,
34818
34831
  swiperSlideIndex: ve
34819
34832
  }));
34820
34833
  }
34821
- return /* @__PURE__ */ pt.createElement(s, to({
34834
+ return /* @__PURE__ */ gt.createElement(s, to({
34822
34835
  ref: b,
34823
34836
  className: Yg(`${u}${t ? ` ${t}` : ""}`)
34824
- }, le), /* @__PURE__ */ pt.createElement(E_.Provider, {
34837
+ }, le), /* @__PURE__ */ gt.createElement(E_.Provider, {
34825
34838
  value: w.current
34826
- }, de["container-start"], /* @__PURE__ */ pt.createElement(r, {
34839
+ }, de["container-start"], /* @__PURE__ */ gt.createElement(r, {
34827
34840
  className: f_(re.wrapperClass)
34828
- }, de["wrapper-start"], Te(), de["wrapper-end"]), zg(re) && /* @__PURE__ */ pt.createElement(pt.Fragment, null, /* @__PURE__ */ pt.createElement("div", {
34841
+ }, de["wrapper-start"], Te(), de["wrapper-end"]), zg(re) && /* @__PURE__ */ gt.createElement(gt.Fragment, null, /* @__PURE__ */ gt.createElement("div", {
34829
34842
  ref: N,
34830
34843
  className: "swiper-button-prev"
34831
- }), /* @__PURE__ */ pt.createElement("div", {
34844
+ }), /* @__PURE__ */ gt.createElement("div", {
34832
34845
  ref: U,
34833
34846
  className: "swiper-button-next"
34834
- })), qg(re) && /* @__PURE__ */ pt.createElement("div", {
34847
+ })), qg(re) && /* @__PURE__ */ gt.createElement("div", {
34835
34848
  ref: j,
34836
34849
  className: "swiper-scrollbar"
34837
- }), Wg(re) && /* @__PURE__ */ pt.createElement("div", {
34850
+ }), Wg(re) && /* @__PURE__ */ gt.createElement("div", {
34838
34851
  ref: te,
34839
34852
  className: "swiper-pagination"
34840
34853
  }), de["container-end"]));
@@ -34877,21 +34890,21 @@ const T_ = /* @__PURE__ */ zr(function(i, e) {
34877
34890
  }, F = () => typeof s == "function" ? s(w) : s, k = () => {
34878
34891
  E(!0);
34879
34892
  };
34880
- return /* @__PURE__ */ pt.createElement(t, to({
34893
+ return /* @__PURE__ */ gt.createElement(t, to({
34881
34894
  ref: f,
34882
34895
  className: Yg(`${g}${r ? ` ${r}` : ""}`),
34883
34896
  "data-swiper-slide-index": l,
34884
34897
  onLoad: k
34885
- }, d), a && /* @__PURE__ */ pt.createElement(Xd.Provider, {
34898
+ }, d), a && /* @__PURE__ */ gt.createElement(Xd.Provider, {
34886
34899
  value: w
34887
- }, /* @__PURE__ */ pt.createElement("div", {
34900
+ }, /* @__PURE__ */ gt.createElement("div", {
34888
34901
  className: "swiper-zoom-container",
34889
34902
  "data-swiper-zoom": typeof a == "number" ? a : void 0
34890
- }, F(), o && !y && /* @__PURE__ */ pt.createElement("div", {
34903
+ }, F(), o && !y && /* @__PURE__ */ gt.createElement("div", {
34891
34904
  className: "swiper-lazy-preloader"
34892
- }))), !a && /* @__PURE__ */ pt.createElement(Xd.Provider, {
34905
+ }))), !a && /* @__PURE__ */ gt.createElement(Xd.Provider, {
34893
34906
  value: w
34894
- }, F(), o && !y && /* @__PURE__ */ pt.createElement("div", {
34907
+ }, F(), o && !y && /* @__PURE__ */ gt.createElement("div", {
34895
34908
  className: "swiper-lazy-preloader"
34896
34909
  })));
34897
34910
  });
@@ -35147,14 +35160,17 @@ const Jg = {
35147
35160
  const [t, s] = yt(null), [r, n] = yt(null);
35148
35161
  return zt(() => {
35149
35162
  if (e) return;
35150
- (async () => {
35163
+ let a = !0;
35164
+ return (async () => {
35151
35165
  try {
35152
- const o = await i();
35153
- s(o), n(null);
35154
- } catch (o) {
35155
- s(null), n(o.message);
35166
+ const l = await i();
35167
+ a && (s(l), n(null));
35168
+ } catch (l) {
35169
+ a && (s(null), n(l.message));
35156
35170
  }
35157
- })();
35171
+ })(), () => {
35172
+ a = !1;
35173
+ };
35158
35174
  }, [i, e]), { data: t, error: r };
35159
35175
  };
35160
35176
  function q_({
@@ -35171,7 +35187,7 @@ function q_({
35171
35187
  className: d
35172
35188
  }) {
35173
35189
  var Ae, ue;
35174
- if (!i || !e || !t) throw new Error("id, type, env는 필수값입니다.");
35190
+ if (!i || !e || !t) return null;
35175
35191
  const [f, g] = yt(), [v, y] = yt(0), [E, b] = yt(!0), [w, F] = yt(!1), { data: k } = ef(
35176
35192
  Ui(
35177
35193
  () => e === "ugc" ? $_({ id: i, env: t }) : U_({ id: i, env: t }),
@@ -35227,12 +35243,16 @@ function q_({
35227
35243
  f.removeEventListener("loadedmetadata", ve), f.removeEventListener("timeupdate", he), f.removeEventListener("play", Te), f.removeEventListener("pause", ge);
35228
35244
  };
35229
35245
  }, [f, Ee]), zt(() => {
35230
- f && (U.current && clearTimeout(U.current), j && l && (U.current = setTimeout(() => {
35231
- f.play();
35246
+ if (!f) return;
35247
+ let he = !0;
35248
+ return U.current && clearTimeout(U.current), j && l && (U.current = setTimeout(() => {
35249
+ he && f.play();
35232
35250
  }, 300)), j || (U.current = setTimeout(() => {
35233
- f.pause();
35234
- }, 700)));
35235
- }, [j, f]), zt(() => {
35251
+ he && f.pause();
35252
+ }, 700)), () => {
35253
+ he = !1, U.current && clearTimeout(U.current);
35254
+ };
35255
+ }, [j, f, l]), zt(() => {
35236
35256
  !t || !N || !i || !Ee || (Ee.setType(e), Ee.setId(i), Ee.setUser(N.userId, N.role), Ee.stop());
35237
35257
  }, [Ee]), (k == null ? void 0 : k.status) === "standby" || (k == null ? void 0 : k.status) === "converting" ? /* @__PURE__ */ Oe.jsx("div", { className: Hs.root, children: /* @__PURE__ */ Oe.jsx(
35238
35258
  "div",
@@ -35301,4 +35321,4 @@ export {
35301
35321
  Fv as t,
35302
35322
  _v as w
35303
35323
  };
35304
- //# sourceMappingURL=Bf1fTf3c.es.js.map
35324
+ //# sourceMappingURL=BOY213m5.es.js.map