@konnectio/core 4.0.37 → 4.0.38

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.
Files changed (66) hide show
  1. package/dist/{ActionField-8e5218c5.js → ActionField-cd683106.js} +2 -2
  2. package/dist/ActionField-cd683106.js.br +0 -0
  3. package/dist/{ActionField-6712c933.cjs → ActionField-dc98863c.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-ec96db6b.cjs → AvailabilitySkeleton-2dd88f42.cjs} +1 -1
  5. package/dist/{AvailabilitySkeleton-67ce6e6d.js → AvailabilitySkeleton-64372a3d.js} +5 -5
  6. package/dist/AvailabilitySkeleton-64372a3d.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-64a0c44b.js → DateField.vue_vue_type_style_index_0_lang-239ef816.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-239ef816.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-0c12cda5.cjs → DateField.vue_vue_type_style_index_0_lang-7267a5fa.cjs} +1 -1
  10. package/dist/{Field-616b5ab4.cjs → Field-825b33aa.cjs} +1 -1
  11. package/dist/{Field-0fa0f987.js → Field-94ac0265.js} +2 -2
  12. package/dist/Field-94ac0265.js.br +0 -0
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1f92ec10.cjs → NumberField.vue_vue_type_script_setup_true_lang-4b483b4b.cjs} +1 -1
  14. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js → NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js} +1 -1
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-ab43cf10.js.br +0 -0
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js → SelectField.vue_vue_type_style_index_0_lang-9187c95a.js} +820 -819
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-9187c95a.js.br +0 -0
  18. package/dist/{SelectField.vue_vue_type_style_index_0_lang-2fab4a70.cjs → SelectField.vue_vue_type_style_index_0_lang-a4d7be42.cjs} +32 -32
  19. package/dist/{ThankYou-0bb9b8ba.cjs → ThankYou-2219aecc.cjs} +2 -2
  20. package/dist/{ThankYou-125b27fb.js → ThankYou-d505adc9.js} +7 -7
  21. package/dist/ThankYou-d505adc9.js.br +0 -0
  22. package/dist/{_-f6d1d88b.cjs → _-b9738f5d.cjs} +1 -1
  23. package/dist/{_-3a1d4d62.js → _-e90b6bab.js} +1 -1
  24. package/dist/availability.cjs +2 -2
  25. package/dist/availability.js +10 -10
  26. package/dist/availability.js.br +0 -0
  27. package/dist/components/listings/Base.vue.d.ts +1 -1
  28. package/dist/components/listings/Event.vue.d.ts +1 -1
  29. package/dist/entries/availability.d.ts +1 -1
  30. package/dist/{event-ad6054a0.cjs → event-8dde494e.cjs} +1 -1
  31. package/dist/{event-bf4c7637.js → event-9b5b92a7.js} +7 -7
  32. package/dist/event-9b5b92a7.js.br +0 -0
  33. package/dist/event.cjs +1 -1
  34. package/dist/event.js +9 -9
  35. package/dist/event.js.br +0 -0
  36. package/dist/gift-card-validation.cjs +1 -1
  37. package/dist/gift-card-validation.js +3 -3
  38. package/dist/gift-card-validation.js.br +0 -0
  39. package/dist/gift-card.cjs +1 -1
  40. package/dist/gift-card.js +227 -228
  41. package/dist/gift-card.js.br +0 -0
  42. package/dist/hotel.cjs +1 -1
  43. package/dist/hotel.js +11 -12
  44. package/dist/hotel.js.br +0 -0
  45. package/dist/{index-cc419f8f.js → index-524d9d24.js} +1 -1
  46. package/dist/index-524d9d24.js.br +0 -0
  47. package/dist/{index-f4b84887.cjs → index-85e3a13d.cjs} +1 -1
  48. package/dist/polyfill.cjs +1 -1
  49. package/dist/polyfill.js +1 -1
  50. package/dist/polyfill.js.br +0 -0
  51. package/dist/store/event.d.ts +3 -3
  52. package/dist/store/tracking.d.ts +8 -3
  53. package/dist/store/utilities.d.ts +4 -1
  54. package/dist/style.css +1 -1
  55. package/dist/style.css.br +0 -0
  56. package/dist/types/index.d.ts +1 -1
  57. package/package.json +1 -1
  58. package/dist/ActionField-8e5218c5.js.br +0 -0
  59. package/dist/AvailabilitySkeleton-67ce6e6d.js.br +0 -0
  60. package/dist/DateField.vue_vue_type_style_index_0_lang-64a0c44b.js.br +0 -0
  61. package/dist/Field-0fa0f987.js.br +0 -0
  62. package/dist/NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js.br +0 -0
  63. package/dist/SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js.br +0 -0
  64. package/dist/ThankYou-125b27fb.js.br +0 -0
  65. package/dist/event-bf4c7637.js.br +0 -0
  66. package/dist/index-cc419f8f.js.br +0 -0
@@ -1406,10 +1406,10 @@ function kd(e, t, n, r, i, a, o, l, s, u, f = !1) {
1406
1406
  p.isHydrating = !1;
1407
1407
  else if (!E) {
1408
1408
  I = S && P.transition && P.transition.mode === "out-in", I && (S.transition.afterLeave = () => {
1409
- N === p.pendingId && (d(P, C, q, 0), zo(w));
1409
+ N === p.pendingId && (d(P, C, U, 0), zo(w));
1410
1410
  });
1411
- let { anchor: q } = p;
1412
- S && (q = y(S), h(S, O, p, !0)), I || d(P, C, q, 0);
1411
+ let { anchor: U } = p;
1412
+ S && (U = y(S), h(S, O, p, !0)), I || d(P, C, U, 0);
1413
1413
  }
1414
1414
  Ia(p, P), p.pendingBranch = null, p.isInFallback = !1;
1415
1415
  let D = p.parent, j = !1;
@@ -2458,21 +2458,21 @@ function O4(e) {
2458
2458
  filters: I
2459
2459
  } = t;
2460
2460
  if (u && w4(u, r, null), o)
2461
- for (const q in o) {
2462
- const te = o[q];
2463
- Ae(te) && (r[q] = te.bind(n));
2461
+ for (const U in o) {
2462
+ const te = o[U];
2463
+ Ae(te) && (r[U] = te.bind(n));
2464
2464
  }
2465
2465
  if (i) {
2466
- const q = i.call(n, n);
2467
- Je(q) && (e.data = Sr(q));
2466
+ const U = i.call(n, n);
2467
+ Je(U) && (e.data = Sr(U));
2468
2468
  }
2469
2469
  if (cf = !0, a)
2470
- for (const q in a) {
2471
- const te = a[q], K = Ae(te) ? te.bind(n, n) : Ae(te.get) ? te.get.bind(n, n) : Zt, H = !Ae(te) && Ae(te.set) ? te.set.bind(n) : Zt, M = fe({
2470
+ for (const U in a) {
2471
+ const te = a[U], K = Ae(te) ? te.bind(n, n) : Ae(te.get) ? te.get.bind(n, n) : Zt, H = !Ae(te) && Ae(te.set) ? te.set.bind(n) : Zt, M = fe({
2472
2472
  get: K,
2473
2473
  set: H
2474
2474
  });
2475
- Object.defineProperty(r, q, {
2475
+ Object.defineProperty(r, U, {
2476
2476
  enumerable: !0,
2477
2477
  configurable: !0,
2478
2478
  get: () => M.value,
@@ -2480,23 +2480,23 @@ function O4(e) {
2480
2480
  });
2481
2481
  }
2482
2482
  if (l)
2483
- for (const q in l)
2484
- E0(l[q], r, n, q);
2483
+ for (const U in l)
2484
+ E0(l[U], r, n, U);
2485
2485
  if (s) {
2486
- const q = Ae(s) ? s.call(n) : s;
2487
- Reflect.ownKeys(q).forEach((te) => {
2488
- $d(te, q[te]);
2486
+ const U = Ae(s) ? s.call(n) : s;
2487
+ Reflect.ownKeys(U).forEach((te) => {
2488
+ $d(te, U[te]);
2489
2489
  });
2490
2490
  }
2491
2491
  f && k1(f, e, "c");
2492
- function j(q, te) {
2493
- me(te) ? te.forEach((K) => q(K.bind(n))) : te && q(te.bind(n));
2492
+ function j(U, te) {
2493
+ me(te) ? te.forEach((K) => U(K.bind(n))) : te && U(te.bind(n));
2494
2494
  }
2495
2495
  if (j(Md, c), j(bn, d), j(xd, h), j(bl, y), j(Ld, g), j(Id, _), j(Hd, S), j(Fd, k), j(Dd, T), j(Mr, v), j(ra, p), j(Rd, P), me(N))
2496
2496
  if (N.length) {
2497
- const q = e.exposed || (e.exposed = {});
2497
+ const U = e.exposed || (e.exposed = {});
2498
2498
  N.forEach((te) => {
2499
- Object.defineProperty(q, te, {
2499
+ Object.defineProperty(U, te, {
2500
2500
  get: () => n[te],
2501
2501
  set: (K) => n[te] = K
2502
2502
  });
@@ -3037,9 +3037,9 @@ function x4(e) {
3037
3037
  case Zr:
3038
3038
  if (P && (b = a(b), D = b.nodeType), D === 1 || D === 3) {
3039
3039
  j = b;
3040
- const q = !p.children.length;
3040
+ const U = !p.children.length;
3041
3041
  for (let te = 0; te < p.staticCount; te++)
3042
- q && (p.children += j.nodeType === 1 ? j.outerHTML : j.data), te === p.staticCount - 1 && (p.anchor = j), j = a(j);
3042
+ U && (p.children += j.nodeType === 1 ? j.outerHTML : j.data), te === p.staticCount - 1 && (p.anchor = j), j = a(j);
3043
3043
  return P ? a(j) : j;
3044
3044
  } else
3045
3045
  N();
@@ -3066,18 +3066,18 @@ function x4(e) {
3066
3066
  );
3067
3067
  else if (C & 6) {
3068
3068
  p.slotScopeIds = T;
3069
- const q = o(b);
3069
+ const U = o(b);
3070
3070
  if (P ? j = _(b) : es(b) && b.data === "teleport start" ? j = _(b, b.data, "teleport end") : j = a(b), t(
3071
3071
  p,
3072
- q,
3072
+ U,
3073
3073
  null,
3074
3074
  E,
3075
3075
  k,
3076
- Ql(q),
3076
+ Ql(U),
3077
3077
  S
3078
3078
  ), zi(p)) {
3079
3079
  let te;
3080
- P ? (te = xe(rt), te.anchor = j ? j.previousSibling : q.lastChild) : te = b.nodeType === 3 ? li("") : xe("div"), te.el = b, p.component.subTree = te;
3080
+ P ? (te = xe(rt), te.anchor = j ? j.previousSibling : U.lastChild) : te = b.nodeType === 3 ? li("") : xe("div"), te.el = b, p.component.subTree = te;
3081
3081
  }
3082
3082
  } else
3083
3083
  C & 64 ? D !== 8 ? j = N() : j = p.type.hydrate(
@@ -3130,14 +3130,14 @@ function x4(e) {
3130
3130
  );
3131
3131
  let j;
3132
3132
  (j = N && N.onVnodeBeforeMount) && on(j, E, p);
3133
- let q = !1;
3133
+ let U = !1;
3134
3134
  if (v(b)) {
3135
- q = C0(k, I) && E && E.vnode.props && E.vnode.props.appear;
3135
+ U = C0(k, I) && E && E.vnode.props && E.vnode.props.appear;
3136
3136
  const te = b.content.firstChild;
3137
- q && I.beforeEnter(te), m(te, b, E), p.el = b = te;
3137
+ U && I.beforeEnter(te), m(te, b, E), p.el = b = te;
3138
3138
  }
3139
- if (C && nr(p, null, E, "beforeMount"), ((j = N && N.onVnodeMounted) || C || q) && Qv(() => {
3140
- j && on(j, E, p), q && I.enter(b), C && nr(p, null, E, "mounted");
3139
+ if (C && nr(p, null, E, "beforeMount"), ((j = N && N.onVnodeMounted) || C || U) && Qv(() => {
3140
+ j && on(j, E, p), U && I.enter(b), C && nr(p, null, E, "mounted");
3141
3141
  }, k), O & 16 && // skip if element has innerHTML / textContent
3142
3142
  !(N && (N.innerHTML || N.textContent))) {
3143
3143
  let te = h(
@@ -3264,10 +3264,10 @@ function k0(e, t) {
3264
3264
  nextSibling: d,
3265
3265
  setScopeId: h = Zt,
3266
3266
  insertStaticContent: y
3267
- } = e, g = (B, L, x, $ = null, ee = null, le = null, U = !1, W = null, re = !!L.dynamicChildren) => {
3267
+ } = e, g = (B, L, x, $ = null, ee = null, le = null, q = !1, W = null, ne = !!L.dynamicChildren) => {
3268
3268
  if (B === L)
3269
3269
  return;
3270
- B && !Vn(B, L) && ($ = J(B), V(B, ee, le, !0), B = null), L.patchFlag === -2 && (re = !1, L.dynamicChildren = null);
3270
+ B && !Vn(B, L) && ($ = J(B), V(B, ee, le, !0), B = null), L.patchFlag === -2 && (ne = !1, L.dynamicChildren = null);
3271
3271
  const { type: ie, ref: oe, shapeFlag: ce } = L;
3272
3272
  switch (ie) {
3273
3273
  case Ar:
@@ -3277,7 +3277,7 @@ function k0(e, t) {
3277
3277
  m(B, L, x, $);
3278
3278
  break;
3279
3279
  case Zr:
3280
- B == null && v(L, x, $, U);
3280
+ B == null && v(L, x, $, q);
3281
3281
  break;
3282
3282
  case rt:
3283
3283
  O(
@@ -3287,9 +3287,9 @@ function k0(e, t) {
3287
3287
  $,
3288
3288
  ee,
3289
3289
  le,
3290
- U,
3290
+ q,
3291
3291
  W,
3292
- re
3292
+ ne
3293
3293
  );
3294
3294
  break;
3295
3295
  default:
@@ -3300,9 +3300,9 @@ function k0(e, t) {
3300
3300
  $,
3301
3301
  ee,
3302
3302
  le,
3303
- U,
3303
+ q,
3304
3304
  W,
3305
- re
3305
+ ne
3306
3306
  ) : ce & 6 ? C(
3307
3307
  B,
3308
3308
  L,
@@ -3310,9 +3310,9 @@ function k0(e, t) {
3310
3310
  $,
3311
3311
  ee,
3312
3312
  le,
3313
- U,
3313
+ q,
3314
3314
  W,
3315
- re
3315
+ ne
3316
3316
  ) : (ce & 64 || ce & 128) && ie.process(
3317
3317
  B,
3318
3318
  L,
@@ -3320,10 +3320,10 @@ function k0(e, t) {
3320
3320
  $,
3321
3321
  ee,
3322
3322
  le,
3323
- U,
3323
+ q,
3324
3324
  W,
3325
- re,
3326
- Z
3325
+ ne,
3326
+ Q
3327
3327
  );
3328
3328
  }
3329
3329
  oe != null && ee && $s(oe, B && B.ref, le, L || B, !L);
@@ -3363,46 +3363,46 @@ function k0(e, t) {
3363
3363
  for (; B && B !== L; )
3364
3364
  x = d(B), i(B), B = x;
3365
3365
  i(L);
3366
- }, E = (B, L, x, $, ee, le, U, W, re) => {
3367
- U = U || L.type === "svg", B == null ? k(
3366
+ }, E = (B, L, x, $, ee, le, q, W, ne) => {
3367
+ q = q || L.type === "svg", B == null ? k(
3368
3368
  L,
3369
3369
  x,
3370
3370
  $,
3371
3371
  ee,
3372
3372
  le,
3373
- U,
3373
+ q,
3374
3374
  W,
3375
- re
3375
+ ne
3376
3376
  ) : P(
3377
3377
  B,
3378
3378
  L,
3379
3379
  ee,
3380
3380
  le,
3381
- U,
3381
+ q,
3382
3382
  W,
3383
- re
3383
+ ne
3384
3384
  );
3385
- }, k = (B, L, x, $, ee, le, U, W) => {
3386
- let re, ie;
3387
- const { type: oe, props: ce, shapeFlag: G, transition: ne, dirs: pe } = B;
3388
- if (re = B.el = o(
3385
+ }, k = (B, L, x, $, ee, le, q, W) => {
3386
+ let ne, ie;
3387
+ const { type: oe, props: ce, shapeFlag: G, transition: re, dirs: pe } = B;
3388
+ if (ne = B.el = o(
3389
3389
  B.type,
3390
3390
  le,
3391
3391
  ce && ce.is,
3392
3392
  ce
3393
- ), G & 8 ? f(re, B.children) : G & 16 && S(
3393
+ ), G & 8 ? f(ne, B.children) : G & 16 && S(
3394
3394
  B.children,
3395
- re,
3395
+ ne,
3396
3396
  null,
3397
3397
  $,
3398
3398
  ee,
3399
3399
  le && oe !== "foreignObject",
3400
- U,
3400
+ q,
3401
3401
  W
3402
- ), pe && nr(B, null, $, "created"), T(re, B, B.scopeId, U, $), ce) {
3402
+ ), pe && nr(B, null, $, "created"), T(ne, B, B.scopeId, q, $), ce) {
3403
3403
  for (const ve in ce)
3404
3404
  ve !== "value" && !Vi(ve) && a(
3405
- re,
3405
+ ne,
3406
3406
  ve,
3407
3407
  null,
3408
3408
  ce[ve],
@@ -3412,12 +3412,12 @@ function k0(e, t) {
3412
3412
  ee,
3413
3413
  F
3414
3414
  );
3415
- "value" in ce && a(re, "value", null, ce.value), (ie = ce.onVnodeBeforeMount) && on(ie, $, B);
3415
+ "value" in ce && a(ne, "value", null, ce.value), (ie = ce.onVnodeBeforeMount) && on(ie, $, B);
3416
3416
  }
3417
3417
  pe && nr(B, null, $, "beforeMount");
3418
- const ge = C0(ee, ne);
3419
- ge && ne.beforeEnter(re), r(re, L, x), ((ie = ce && ce.onVnodeMounted) || ge || pe) && Rt(() => {
3420
- ie && on(ie, $, B), ge && ne.enter(re), pe && nr(B, null, $, "mounted");
3418
+ const ge = C0(ee, re);
3419
+ ge && re.beforeEnter(ne), r(ne, L, x), ((ie = ce && ce.onVnodeMounted) || ge || pe) && Rt(() => {
3420
+ ie && on(ie, $, B), ge && re.enter(ne), pe && nr(B, null, $, "mounted");
3421
3421
  }, ee);
3422
3422
  }, T = (B, L, x, $, ee) => {
3423
3423
  if (x && h(B, x), $)
@@ -3426,18 +3426,18 @@ function k0(e, t) {
3426
3426
  if (ee) {
3427
3427
  let le = ee.subTree;
3428
3428
  if (L === le) {
3429
- const U = ee.vnode;
3429
+ const q = ee.vnode;
3430
3430
  T(
3431
3431
  B,
3432
- U,
3433
- U.scopeId,
3434
- U.slotScopeIds,
3432
+ q,
3433
+ q.scopeId,
3434
+ q.slotScopeIds,
3435
3435
  ee.parent
3436
3436
  );
3437
3437
  }
3438
3438
  }
3439
- }, S = (B, L, x, $, ee, le, U, W, re = 0) => {
3440
- for (let ie = re; ie < B.length; ie++) {
3439
+ }, S = (B, L, x, $, ee, le, q, W, ne = 0) => {
3440
+ for (let ie = ne; ie < B.length; ie++) {
3441
3441
  const oe = B[ie] = W ? Wr(B[ie]) : pn(B[ie]);
3442
3442
  g(
3443
3443
  null,
@@ -3447,17 +3447,17 @@ function k0(e, t) {
3447
3447
  $,
3448
3448
  ee,
3449
3449
  le,
3450
- U,
3450
+ q,
3451
3451
  W
3452
3452
  );
3453
3453
  }
3454
- }, P = (B, L, x, $, ee, le, U) => {
3454
+ }, P = (B, L, x, $, ee, le, q) => {
3455
3455
  const W = L.el = B.el;
3456
- let { patchFlag: re, dynamicChildren: ie, dirs: oe } = L;
3457
- re |= B.patchFlag & 16;
3456
+ let { patchFlag: ne, dynamicChildren: ie, dirs: oe } = L;
3457
+ ne |= B.patchFlag & 16;
3458
3458
  const ce = B.props || Ye, G = L.props || Ye;
3459
- let ne;
3460
- x && Si(x, !1), (ne = G.onVnodeBeforeUpdate) && on(ne, x, L, B), oe && nr(L, B, x, "beforeUpdate"), x && Si(x, !0);
3459
+ let re;
3460
+ x && Si(x, !1), (re = G.onVnodeBeforeUpdate) && on(re, x, L, B), oe && nr(L, B, x, "beforeUpdate"), x && Si(x, !0);
3461
3461
  const pe = ee && L.type !== "foreignObject";
3462
3462
  if (ie ? N(
3463
3463
  B.dynamicChildren,
@@ -3467,7 +3467,7 @@ function k0(e, t) {
3467
3467
  $,
3468
3468
  pe,
3469
3469
  le
3470
- ) : U || te(
3470
+ ) : q || te(
3471
3471
  B,
3472
3472
  L,
3473
3473
  W,
@@ -3477,8 +3477,8 @@ function k0(e, t) {
3477
3477
  pe,
3478
3478
  le,
3479
3479
  !1
3480
- ), re > 0) {
3481
- if (re & 16)
3480
+ ), ne > 0) {
3481
+ if (ne & 16)
3482
3482
  w(
3483
3483
  W,
3484
3484
  L,
@@ -3488,7 +3488,7 @@ function k0(e, t) {
3488
3488
  $,
3489
3489
  ee
3490
3490
  );
3491
- else if (re & 2 && ce.class !== G.class && a(W, "class", null, G.class, ee), re & 4 && a(W, "style", ce.style, G.style, ee), re & 8) {
3491
+ else if (ne & 2 && ce.class !== G.class && a(W, "class", null, G.class, ee), ne & 4 && a(W, "style", ce.style, G.style, ee), ne & 8) {
3492
3492
  const ge = L.dynamicProps;
3493
3493
  for (let ve = 0; ve < ge.length; ve++) {
3494
3494
  const Re = ge[ve], Te = ce[Re], nt = G[Re];
@@ -3505,9 +3505,9 @@ function k0(e, t) {
3505
3505
  );
3506
3506
  }
3507
3507
  }
3508
- re & 1 && B.children !== L.children && f(W, L.children);
3508
+ ne & 1 && B.children !== L.children && f(W, L.children);
3509
3509
  } else
3510
- !U && ie == null && w(
3510
+ !q && ie == null && w(
3511
3511
  W,
3512
3512
  L,
3513
3513
  ce,
@@ -3516,38 +3516,38 @@ function k0(e, t) {
3516
3516
  $,
3517
3517
  ee
3518
3518
  );
3519
- ((ne = G.onVnodeUpdated) || oe) && Rt(() => {
3520
- ne && on(ne, x, L, B), oe && nr(L, B, x, "updated");
3519
+ ((re = G.onVnodeUpdated) || oe) && Rt(() => {
3520
+ re && on(re, x, L, B), oe && nr(L, B, x, "updated");
3521
3521
  }, $);
3522
- }, N = (B, L, x, $, ee, le, U) => {
3522
+ }, N = (B, L, x, $, ee, le, q) => {
3523
3523
  for (let W = 0; W < L.length; W++) {
3524
- const re = B[W], ie = L[W], oe = (
3524
+ const ne = B[W], ie = L[W], oe = (
3525
3525
  // oldVNode may be an errored async setup() component inside Suspense
3526
3526
  // which will not have a mounted element
3527
- re.el && // - In the case of a Fragment, we need to provide the actual parent
3527
+ ne.el && // - In the case of a Fragment, we need to provide the actual parent
3528
3528
  // of the Fragment itself so it can move its children.
3529
- (re.type === rt || // - In the case of different nodes, there is going to be a replacement
3529
+ (ne.type === rt || // - In the case of different nodes, there is going to be a replacement
3530
3530
  // which also requires the correct parent container
3531
- !Vn(re, ie) || // - In the case of a component, it could contain anything.
3532
- re.shapeFlag & 70) ? c(re.el) : (
3531
+ !Vn(ne, ie) || // - In the case of a component, it could contain anything.
3532
+ ne.shapeFlag & 70) ? c(ne.el) : (
3533
3533
  // In other cases, the parent container is not actually used so we
3534
3534
  // just pass the block element here to avoid a DOM parentNode call.
3535
3535
  x
3536
3536
  )
3537
3537
  );
3538
3538
  g(
3539
- re,
3539
+ ne,
3540
3540
  ie,
3541
3541
  oe,
3542
3542
  null,
3543
3543
  $,
3544
3544
  ee,
3545
3545
  le,
3546
- U,
3546
+ q,
3547
3547
  !0
3548
3548
  );
3549
3549
  }
3550
- }, w = (B, L, x, $, ee, le, U) => {
3550
+ }, w = (B, L, x, $, ee, le, q) => {
3551
3551
  if (x !== $) {
3552
3552
  if (x !== Ye)
3553
3553
  for (const W in x)
@@ -3556,7 +3556,7 @@ function k0(e, t) {
3556
3556
  W,
3557
3557
  x[W],
3558
3558
  null,
3559
- U,
3559
+ q,
3560
3560
  L.children,
3561
3561
  ee,
3562
3562
  le,
@@ -3565,13 +3565,13 @@ function k0(e, t) {
3565
3565
  for (const W in $) {
3566
3566
  if (Vi(W))
3567
3567
  continue;
3568
- const re = $[W], ie = x[W];
3569
- re !== ie && W !== "value" && a(
3568
+ const ne = $[W], ie = x[W];
3569
+ ne !== ie && W !== "value" && a(
3570
3570
  B,
3571
3571
  W,
3572
3572
  ie,
3573
- re,
3574
- U,
3573
+ ne,
3574
+ q,
3575
3575
  L.children,
3576
3576
  ee,
3577
3577
  le,
@@ -3580,18 +3580,18 @@ function k0(e, t) {
3580
3580
  }
3581
3581
  "value" in $ && a(B, "value", x.value, $.value);
3582
3582
  }
3583
- }, O = (B, L, x, $, ee, le, U, W, re) => {
3583
+ }, O = (B, L, x, $, ee, le, q, W, ne) => {
3584
3584
  const ie = L.el = B ? B.el : l(""), oe = L.anchor = B ? B.anchor : l("");
3585
- let { patchFlag: ce, dynamicChildren: G, slotScopeIds: ne } = L;
3586
- ne && (W = W ? W.concat(ne) : ne), B == null ? (r(ie, x, $), r(oe, x, $), S(
3585
+ let { patchFlag: ce, dynamicChildren: G, slotScopeIds: re } = L;
3586
+ re && (W = W ? W.concat(re) : re), B == null ? (r(ie, x, $), r(oe, x, $), S(
3587
3587
  L.children,
3588
3588
  x,
3589
3589
  oe,
3590
3590
  ee,
3591
3591
  le,
3592
- U,
3592
+ q,
3593
3593
  W,
3594
- re
3594
+ ne
3595
3595
  )) : ce > 0 && ce & 64 && G && // #2715 the previous fragment could've been a BAILed one as a result
3596
3596
  // of renderSlot() with no valid children
3597
3597
  B.dynamicChildren ? (N(
@@ -3600,7 +3600,7 @@ function k0(e, t) {
3600
3600
  x,
3601
3601
  ee,
3602
3602
  le,
3603
- U,
3603
+ q,
3604
3604
  W
3605
3605
  ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
3606
3606
  // get moved around. Make sure all root level vnodes inherit el.
@@ -3618,36 +3618,36 @@ function k0(e, t) {
3618
3618
  oe,
3619
3619
  ee,
3620
3620
  le,
3621
- U,
3621
+ q,
3622
3622
  W,
3623
- re
3623
+ ne
3624
3624
  );
3625
- }, C = (B, L, x, $, ee, le, U, W, re) => {
3625
+ }, C = (B, L, x, $, ee, le, q, W, ne) => {
3626
3626
  L.slotScopeIds = W, B == null ? L.shapeFlag & 512 ? ee.ctx.activate(
3627
3627
  L,
3628
3628
  x,
3629
3629
  $,
3630
- U,
3631
- re
3630
+ q,
3631
+ ne
3632
3632
  ) : I(
3633
3633
  L,
3634
3634
  x,
3635
3635
  $,
3636
3636
  ee,
3637
3637
  le,
3638
- U,
3639
- re
3640
- ) : D(B, L, re);
3641
- }, I = (B, L, x, $, ee, le, U) => {
3638
+ q,
3639
+ ne
3640
+ ) : D(B, L, ne);
3641
+ }, I = (B, L, x, $, ee, le, q) => {
3642
3642
  const W = B.component = D0(
3643
3643
  B,
3644
3644
  $,
3645
3645
  ee
3646
3646
  );
3647
- if (yl(B) && (W.ctx.renderer = Z), H0(W), W.asyncDep) {
3647
+ if (yl(B) && (W.ctx.renderer = Q), H0(W), W.asyncDep) {
3648
3648
  if (ee && ee.registerDep(W, j), !B.el) {
3649
- const re = W.subTree = xe(Ft);
3650
- m(null, re, L, x);
3649
+ const ne = W.subTree = xe(Ft);
3650
+ m(null, ne, L, x);
3651
3651
  }
3652
3652
  return;
3653
3653
  }
@@ -3658,23 +3658,23 @@ function k0(e, t) {
3658
3658
  x,
3659
3659
  ee,
3660
3660
  le,
3661
- U
3661
+ q
3662
3662
  );
3663
3663
  }, D = (B, L, x) => {
3664
3664
  const $ = L.component = B.component;
3665
3665
  if (u4(B, L, x))
3666
3666
  if ($.asyncDep && !$.asyncResolved) {
3667
- q($, L, x);
3667
+ U($, L, x);
3668
3668
  return;
3669
3669
  } else
3670
3670
  $.next = L, r4($.update), $.update();
3671
3671
  else
3672
3672
  L.el = B.el, $.vnode = L;
3673
- }, j = (B, L, x, $, ee, le, U) => {
3673
+ }, j = (B, L, x, $, ee, le, q) => {
3674
3674
  const W = () => {
3675
3675
  if (B.isMounted) {
3676
- let { next: oe, bu: ce, u: G, parent: ne, vnode: pe } = B, ge = oe, ve;
3677
- Si(B, !1), oe ? (oe.el = pe.el, q(B, oe, U)) : oe = pe, ce && Pa(ce), (ve = oe.props && oe.props.onVnodeBeforeUpdate) && on(ve, ne, oe, pe), Si(B, !0);
3676
+ let { next: oe, bu: ce, u: G, parent: re, vnode: pe } = B, ge = oe, ve;
3677
+ Si(B, !1), oe ? (oe.el = pe.el, U(B, oe, q)) : oe = pe, ce && Pa(ce), (ve = oe.props && oe.props.onVnodeBeforeUpdate) && on(ve, re, oe, pe), Si(B, !0);
3678
3678
  const Re = As(B), Te = B.subTree;
3679
3679
  B.subTree = Re, g(
3680
3680
  Te,
@@ -3687,13 +3687,13 @@ function k0(e, t) {
3687
3687
  ee,
3688
3688
  le
3689
3689
  ), oe.el = Re.el, ge === null && Td(B, Re.el), G && Rt(G, ee), (ve = oe.props && oe.props.onVnodeUpdated) && Rt(
3690
- () => on(ve, ne, oe, pe),
3690
+ () => on(ve, re, oe, pe),
3691
3691
  ee
3692
3692
  );
3693
3693
  } else {
3694
3694
  let oe;
3695
- const { el: ce, props: G } = L, { bm: ne, m: pe, parent: ge } = B, ve = zi(L);
3696
- if (Si(B, !1), ne && Pa(ne), !ve && (oe = G && G.onVnodeBeforeMount) && on(oe, ge, L), Si(B, !0), ce && he) {
3695
+ const { el: ce, props: G } = L, { bm: re, m: pe, parent: ge } = B, ve = zi(L);
3696
+ if (Si(B, !1), re && Pa(re), !ve && (oe = G && G.onVnodeBeforeMount) && on(oe, ge, L), Si(B, !0), ce && he) {
3697
3697
  const Re = () => {
3698
3698
  B.subTree = As(B), he(
3699
3699
  ce,
@@ -3731,19 +3731,19 @@ function k0(e, t) {
3731
3731
  }
3732
3732
  (L.shapeFlag & 256 || ge && zi(ge.vnode) && ge.vnode.shapeFlag & 256) && B.a && Rt(B.a, ee), B.isMounted = !0, L = x = $ = null;
3733
3733
  }
3734
- }, re = B.effect = new Ki(
3734
+ }, ne = B.effect = new Ki(
3735
3735
  W,
3736
3736
  () => Cu(ie),
3737
3737
  B.scope
3738
3738
  // track it in component's effect scope
3739
- ), ie = B.update = () => re.run();
3739
+ ), ie = B.update = () => ne.run();
3740
3740
  ie.id = B.uid, Si(B, !0), ie();
3741
- }, q = (B, L, x) => {
3741
+ }, U = (B, L, x) => {
3742
3742
  L.component = B;
3743
3743
  const $ = B.vnode.props;
3744
3744
  B.vnode = L, B.next = null, P4(B, L.props, $, x), M4(B, L.children, x), Za(), w1(), Qa();
3745
- }, te = (B, L, x, $, ee, le, U, W, re = !1) => {
3746
- const ie = B && B.children, oe = B ? B.shapeFlag : 0, ce = L.children, { patchFlag: G, shapeFlag: ne } = L;
3745
+ }, te = (B, L, x, $, ee, le, q, W, ne = !1) => {
3746
+ const ie = B && B.children, oe = B ? B.shapeFlag : 0, ce = L.children, { patchFlag: G, shapeFlag: re } = L;
3747
3747
  if (G > 0) {
3748
3748
  if (G & 128) {
3749
3749
  H(
@@ -3753,9 +3753,9 @@ function k0(e, t) {
3753
3753
  $,
3754
3754
  ee,
3755
3755
  le,
3756
- U,
3756
+ q,
3757
3757
  W,
3758
- re
3758
+ ne
3759
3759
  );
3760
3760
  return;
3761
3761
  } else if (G & 256) {
@@ -3766,49 +3766,49 @@ function k0(e, t) {
3766
3766
  $,
3767
3767
  ee,
3768
3768
  le,
3769
- U,
3769
+ q,
3770
3770
  W,
3771
- re
3771
+ ne
3772
3772
  );
3773
3773
  return;
3774
3774
  }
3775
3775
  }
3776
- ne & 8 ? (oe & 16 && F(ie, ee, le), ce !== ie && f(x, ce)) : oe & 16 ? ne & 16 ? H(
3776
+ re & 8 ? (oe & 16 && F(ie, ee, le), ce !== ie && f(x, ce)) : oe & 16 ? re & 16 ? H(
3777
3777
  ie,
3778
3778
  ce,
3779
3779
  x,
3780
3780
  $,
3781
3781
  ee,
3782
3782
  le,
3783
- U,
3783
+ q,
3784
3784
  W,
3785
- re
3786
- ) : F(ie, ee, le, !0) : (oe & 8 && f(x, ""), ne & 16 && S(
3785
+ ne
3786
+ ) : F(ie, ee, le, !0) : (oe & 8 && f(x, ""), re & 16 && S(
3787
3787
  ce,
3788
3788
  x,
3789
3789
  $,
3790
3790
  ee,
3791
3791
  le,
3792
- U,
3792
+ q,
3793
3793
  W,
3794
- re
3794
+ ne
3795
3795
  ));
3796
- }, K = (B, L, x, $, ee, le, U, W, re) => {
3796
+ }, K = (B, L, x, $, ee, le, q, W, ne) => {
3797
3797
  B = B || ka, L = L || ka;
3798
3798
  const ie = B.length, oe = L.length, ce = Math.min(ie, oe);
3799
3799
  let G;
3800
3800
  for (G = 0; G < ce; G++) {
3801
- const ne = L[G] = re ? Wr(L[G]) : pn(L[G]);
3801
+ const re = L[G] = ne ? Wr(L[G]) : pn(L[G]);
3802
3802
  g(
3803
3803
  B[G],
3804
- ne,
3804
+ re,
3805
3805
  x,
3806
3806
  null,
3807
3807
  ee,
3808
3808
  le,
3809
- U,
3809
+ q,
3810
3810
  W,
3811
- re
3811
+ ne
3812
3812
  );
3813
3813
  }
3814
3814
  ie > oe ? F(
@@ -3824,46 +3824,46 @@ function k0(e, t) {
3824
3824
  $,
3825
3825
  ee,
3826
3826
  le,
3827
- U,
3827
+ q,
3828
3828
  W,
3829
- re,
3829
+ ne,
3830
3830
  ce
3831
3831
  );
3832
- }, H = (B, L, x, $, ee, le, U, W, re) => {
3832
+ }, H = (B, L, x, $, ee, le, q, W, ne) => {
3833
3833
  let ie = 0;
3834
3834
  const oe = L.length;
3835
3835
  let ce = B.length - 1, G = oe - 1;
3836
3836
  for (; ie <= ce && ie <= G; ) {
3837
- const ne = B[ie], pe = L[ie] = re ? Wr(L[ie]) : pn(L[ie]);
3838
- if (Vn(ne, pe))
3837
+ const re = B[ie], pe = L[ie] = ne ? Wr(L[ie]) : pn(L[ie]);
3838
+ if (Vn(re, pe))
3839
3839
  g(
3840
- ne,
3840
+ re,
3841
3841
  pe,
3842
3842
  x,
3843
3843
  null,
3844
3844
  ee,
3845
3845
  le,
3846
- U,
3846
+ q,
3847
3847
  W,
3848
- re
3848
+ ne
3849
3849
  );
3850
3850
  else
3851
3851
  break;
3852
3852
  ie++;
3853
3853
  }
3854
3854
  for (; ie <= ce && ie <= G; ) {
3855
- const ne = B[ce], pe = L[G] = re ? Wr(L[G]) : pn(L[G]);
3856
- if (Vn(ne, pe))
3855
+ const re = B[ce], pe = L[G] = ne ? Wr(L[G]) : pn(L[G]);
3856
+ if (Vn(re, pe))
3857
3857
  g(
3858
- ne,
3858
+ re,
3859
3859
  pe,
3860
3860
  x,
3861
3861
  null,
3862
3862
  ee,
3863
3863
  le,
3864
- U,
3864
+ q,
3865
3865
  W,
3866
- re
3866
+ ne
3867
3867
  );
3868
3868
  else
3869
3869
  break;
@@ -3871,27 +3871,27 @@ function k0(e, t) {
3871
3871
  }
3872
3872
  if (ie > ce) {
3873
3873
  if (ie <= G) {
3874
- const ne = G + 1, pe = ne < oe ? L[ne].el : $;
3874
+ const re = G + 1, pe = re < oe ? L[re].el : $;
3875
3875
  for (; ie <= G; )
3876
3876
  g(
3877
3877
  null,
3878
- L[ie] = re ? Wr(L[ie]) : pn(L[ie]),
3878
+ L[ie] = ne ? Wr(L[ie]) : pn(L[ie]),
3879
3879
  x,
3880
3880
  pe,
3881
3881
  ee,
3882
3882
  le,
3883
- U,
3883
+ q,
3884
3884
  W,
3885
- re
3885
+ ne
3886
3886
  ), ie++;
3887
3887
  }
3888
3888
  } else if (ie > G)
3889
3889
  for (; ie <= ce; )
3890
3890
  V(B[ie], ee, le, !0), ie++;
3891
3891
  else {
3892
- const ne = ie, pe = ie, ge = /* @__PURE__ */ new Map();
3892
+ const re = ie, pe = ie, ge = /* @__PURE__ */ new Map();
3893
3893
  for (ie = pe; ie <= G; ie++) {
3894
- const st = L[ie] = re ? Wr(L[ie]) : pn(L[ie]);
3894
+ const st = L[ie] = ne ? Wr(L[ie]) : pn(L[ie]);
3895
3895
  st.key != null && ge.set(st.key, ie);
3896
3896
  }
3897
3897
  let ve, Re = 0;
@@ -3900,7 +3900,7 @@ function k0(e, t) {
3900
3900
  const wn = new Array(Te);
3901
3901
  for (ie = 0; ie < Te; ie++)
3902
3902
  wn[ie] = 0;
3903
- for (ie = ne; ie <= ce; ie++) {
3903
+ for (ie = re; ie <= ce; ie++) {
3904
3904
  const st = B[ie];
3905
3905
  if (Re >= Te) {
3906
3906
  V(st, ee, le, !0);
@@ -3922,9 +3922,9 @@ function k0(e, t) {
3922
3922
  null,
3923
3923
  ee,
3924
3924
  le,
3925
- U,
3925
+ q,
3926
3926
  W,
3927
- re
3927
+ ne
3928
3928
  ), Re++);
3929
3929
  }
3930
3930
  const Yn = nt ? R4(wn) : ka;
@@ -3937,14 +3937,14 @@ function k0(e, t) {
3937
3937
  ke,
3938
3938
  ee,
3939
3939
  le,
3940
- U,
3940
+ q,
3941
3941
  W,
3942
- re
3942
+ ne
3943
3943
  ) : nt && (ve < 0 || ie !== Yn[ve] ? M(It, x, ke, 2) : ve--);
3944
3944
  }
3945
3945
  }
3946
3946
  }, M = (B, L, x, $, ee = null) => {
3947
- const { el: le, type: U, transition: W, children: re, shapeFlag: ie } = B;
3947
+ const { el: le, type: q, transition: W, children: ne, shapeFlag: ie } = B;
3948
3948
  if (ie & 6) {
3949
3949
  M(B.component.subTree, L, x, $);
3950
3950
  return;
@@ -3954,17 +3954,17 @@ function k0(e, t) {
3954
3954
  return;
3955
3955
  }
3956
3956
  if (ie & 64) {
3957
- U.move(B, L, x, Z);
3957
+ q.move(B, L, x, Q);
3958
3958
  return;
3959
3959
  }
3960
- if (U === rt) {
3960
+ if (q === rt) {
3961
3961
  r(le, L, x);
3962
- for (let ce = 0; ce < re.length; ce++)
3963
- M(re[ce], L, x, $);
3962
+ for (let ce = 0; ce < ne.length; ce++)
3963
+ M(ne[ce], L, x, $);
3964
3964
  r(B.anchor, L, x);
3965
3965
  return;
3966
3966
  }
3967
- if (U === Zr) {
3967
+ if (q === Zr) {
3968
3968
  b(B, L, x);
3969
3969
  return;
3970
3970
  }
@@ -3972,9 +3972,9 @@ function k0(e, t) {
3972
3972
  if ($ === 0)
3973
3973
  W.beforeEnter(le), r(le, L, x), Rt(() => W.enter(le), ee);
3974
3974
  else {
3975
- const { leave: ce, delayLeave: G, afterLeave: ne } = W, pe = () => r(le, L, x), ge = () => {
3975
+ const { leave: ce, delayLeave: G, afterLeave: re } = W, pe = () => r(le, L, x), ge = () => {
3976
3976
  ce(le, () => {
3977
- pe(), ne && ne();
3977
+ pe(), re && re();
3978
3978
  });
3979
3979
  };
3980
3980
  G ? G(le, pe, ge) : ge();
@@ -3984,9 +3984,9 @@ function k0(e, t) {
3984
3984
  }, V = (B, L, x, $ = !1, ee = !1) => {
3985
3985
  const {
3986
3986
  type: le,
3987
- props: U,
3987
+ props: q,
3988
3988
  ref: W,
3989
- children: re,
3989
+ children: ne,
3990
3990
  dynamicChildren: ie,
3991
3991
  shapeFlag: oe,
3992
3992
  patchFlag: ce,
@@ -3996,21 +3996,21 @@ function k0(e, t) {
3996
3996
  L.ctx.deactivate(B);
3997
3997
  return;
3998
3998
  }
3999
- const ne = oe & 1 && G, pe = !zi(B);
3999
+ const re = oe & 1 && G, pe = !zi(B);
4000
4000
  let ge;
4001
- if (pe && (ge = U && U.onVnodeBeforeUnmount) && on(ge, L, B), oe & 6)
4001
+ if (pe && (ge = q && q.onVnodeBeforeUnmount) && on(ge, L, B), oe & 6)
4002
4002
  X(B.component, x, $);
4003
4003
  else {
4004
4004
  if (oe & 128) {
4005
4005
  B.suspense.unmount(x, $);
4006
4006
  return;
4007
4007
  }
4008
- ne && nr(B, null, L, "beforeUnmount"), oe & 64 ? B.type.remove(
4008
+ re && nr(B, null, L, "beforeUnmount"), oe & 64 ? B.type.remove(
4009
4009
  B,
4010
4010
  L,
4011
4011
  x,
4012
4012
  ee,
4013
- Z,
4013
+ Q,
4014
4014
  $
4015
4015
  ) : ie && // #1153: fast path should not be taken for non-stable (v-for) fragments
4016
4016
  (le !== rt || ce > 0 && ce & 64) ? F(
@@ -4019,15 +4019,15 @@ function k0(e, t) {
4019
4019
  x,
4020
4020
  !1,
4021
4021
  !0
4022
- ) : (le === rt && ce & 384 || !ee && oe & 16) && F(re, L, x), $ && z(B);
4022
+ ) : (le === rt && ce & 384 || !ee && oe & 16) && F(ne, L, x), $ && z(B);
4023
4023
  }
4024
- (pe && (ge = U && U.onVnodeUnmounted) || ne) && Rt(() => {
4025
- ge && on(ge, L, B), ne && nr(B, null, L, "unmounted");
4024
+ (pe && (ge = q && q.onVnodeUnmounted) || re) && Rt(() => {
4025
+ ge && on(ge, L, B), re && nr(B, null, L, "unmounted");
4026
4026
  }, x);
4027
4027
  }, z = (B) => {
4028
4028
  const { type: L, el: x, anchor: $, transition: ee } = B;
4029
4029
  if (L === rt) {
4030
- Q(x, $);
4030
+ Z(x, $);
4031
4031
  return;
4032
4032
  }
4033
4033
  if (L === Zr) {
@@ -4038,26 +4038,26 @@ function k0(e, t) {
4038
4038
  i(x), ee && !ee.persisted && ee.afterLeave && ee.afterLeave();
4039
4039
  };
4040
4040
  if (B.shapeFlag & 1 && ee && !ee.persisted) {
4041
- const { leave: U, delayLeave: W } = ee, re = () => U(x, le);
4042
- W ? W(B.el, le, re) : re();
4041
+ const { leave: q, delayLeave: W } = ee, ne = () => q(x, le);
4042
+ W ? W(B.el, le, ne) : ne();
4043
4043
  } else
4044
4044
  le();
4045
- }, Q = (B, L) => {
4045
+ }, Z = (B, L) => {
4046
4046
  let x;
4047
4047
  for (; B !== L; )
4048
4048
  x = d(B), i(B), B = x;
4049
4049
  i(L);
4050
4050
  }, X = (B, L, x) => {
4051
- const { bum: $, scope: ee, update: le, subTree: U, um: W } = B;
4052
- $ && Pa($), ee.stop(), le && (le.active = !1, V(U, B, L, x)), W && Rt(W, L), Rt(() => {
4051
+ const { bum: $, scope: ee, update: le, subTree: q, um: W } = B;
4052
+ $ && Pa($), ee.stop(), le && (le.active = !1, V(q, B, L, x)), W && Rt(W, L), Rt(() => {
4053
4053
  B.isUnmounted = !0;
4054
4054
  }, L), L && L.pendingBranch && !L.isUnmounted && B.asyncDep && !B.asyncResolved && B.suspenseId === L.pendingId && (L.deps--, L.deps === 0 && L.resolve());
4055
4055
  }, F = (B, L, x, $ = !1, ee = !1, le = 0) => {
4056
- for (let U = le; U < B.length; U++)
4057
- V(B[U], L, x, $, ee);
4056
+ for (let q = le; q < B.length; q++)
4057
+ V(B[q], L, x, $, ee);
4058
4058
  }, J = (B) => B.shapeFlag & 6 ? J(B.component.subTree) : B.shapeFlag & 128 ? B.suspense.next() : d(B.anchor || B.el), ae = (B, L, x) => {
4059
4059
  B == null ? L._vnode && V(L._vnode, null, null, !0) : g(L._vnode || null, B, L, null, null, null, x), w1(), Bs(), L._vnode = B;
4060
- }, Z = {
4060
+ }, Q = {
4061
4061
  p: g,
4062
4062
  um: V,
4063
4063
  m: M,
@@ -4071,7 +4071,7 @@ function k0(e, t) {
4071
4071
  };
4072
4072
  let se, he;
4073
4073
  return t && ([se, he] = t(
4074
- Z
4074
+ Q
4075
4075
  )), {
4076
4076
  render: ae,
4077
4077
  hydrate: se,
@@ -8023,9 +8023,9 @@ function F2(e, t, n = e.props, r, i, a = !1) {
8023
8023
  );
8024
8024
  continue;
8025
8025
  }
8026
- const q = t.directiveTransforms[w];
8027
- if (q) {
8028
- const { props: te, needRuntime: K } = q(N, e, t);
8026
+ const U = t.directiveTransforms[w];
8027
+ if (U) {
8028
+ const { props: te, needRuntime: K } = U(N, e, t);
8029
8029
  !a && te.forEach(T), j && O && !un(O) ? k(Cn(te, l)) : u.push(...te), K && (c.push(N), Tr(K) && D2.set(N, K));
8030
8030
  } else
8031
8031
  cb(w) || (c.push(N), d && (h = !0));
@@ -9712,8 +9712,8 @@ var Sp = {
9712
9712
  }, u = function(O, C) {
9713
9713
  var I = typeof C?.composedPath == "function" ? C.composedPath() : void 0;
9714
9714
  return o.containerGroups.findIndex(function(D) {
9715
- var j = D.container, q = D.tabbableNodes;
9716
- return j.contains(O) || I?.includes(j) || q.find(function(te) {
9715
+ var j = D.container, U = D.tabbableNodes;
9716
+ return j.contains(O) || I?.includes(j) || U.find(function(te) {
9717
9717
  return te === O;
9718
9718
  });
9719
9719
  });
@@ -9729,10 +9729,10 @@ var Sp = {
9729
9729
  return C;
9730
9730
  throw new Error("`".concat(O, "` was specified but was not a node, or did not return a node"));
9731
9731
  }
9732
- var q = C;
9733
- if (typeof C == "string" && (q = r.querySelector(C), !q))
9732
+ var U = C;
9733
+ if (typeof C == "string" && (U = r.querySelector(C), !U))
9734
9734
  throw new Error("`".concat(O, "` as selector refers to no known node"));
9735
- return q;
9735
+ return U;
9736
9736
  }, c = function() {
9737
9737
  var O = f("initialFocus");
9738
9738
  if (O === !1)
@@ -9749,7 +9749,7 @@ var Sp = {
9749
9749
  return O;
9750
9750
  }, d = function() {
9751
9751
  if (o.containerGroups = o.containers.map(function(O) {
9752
- var C = Y8(O, a.tabbableOptions), I = X8(O, a.tabbableOptions), D = C.length > 0 ? C[0] : void 0, j = C.length > 0 ? C[C.length - 1] : void 0, q = I.find(function(H) {
9752
+ var C = Y8(O, a.tabbableOptions), I = X8(O, a.tabbableOptions), D = C.length > 0 ? C[0] : void 0, j = C.length > 0 ? C[C.length - 1] : void 0, U = I.find(function(H) {
9753
9753
  return Ea(H);
9754
9754
  }), te = I.slice().reverse().find(function(H) {
9755
9755
  return Ea(H);
@@ -9774,7 +9774,7 @@ var Sp = {
9774
9774
  // "close enough most of the time" alternative for positive tabindexes which should generally
9775
9775
  // be avoided anyway...
9776
9776
  /** First tabbable node in container, __DOM__ order; `undefined` if none. */
9777
- firstDomTabbableNode: q,
9777
+ firstDomTabbableNode: U,
9778
9778
  /** Last tabbable node in container, __DOM__ order; `undefined` if none. */
9779
9779
  lastDomTabbableNode: te,
9780
9780
  /**
@@ -9787,10 +9787,10 @@ var Sp = {
9787
9787
  */
9788
9788
  nextTabbableNode: function(M) {
9789
9789
  var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, z = C.indexOf(M);
9790
- return z < 0 ? V ? I.slice(I.indexOf(M) + 1).find(function(Q) {
9791
- return Ea(Q);
9792
- }) : I.slice(0, I.indexOf(M)).reverse().find(function(Q) {
9793
- return Ea(Q);
9790
+ return z < 0 ? V ? I.slice(I.indexOf(M) + 1).find(function(Z) {
9791
+ return Ea(Z);
9792
+ }) : I.slice(0, I.indexOf(M)).reverse().find(function(Z) {
9793
+ return Ea(Z);
9794
9794
  }) : C[z + (V ? 1 : -1)];
9795
9795
  }
9796
9796
  };
@@ -9822,11 +9822,11 @@ var Sp = {
9822
9822
  }, _ = function(O) {
9823
9823
  var C = O.target, I = O.event, D = O.isBackward, j = D === void 0 ? !1 : D;
9824
9824
  C = C || ss(I), d();
9825
- var q = null;
9825
+ var U = null;
9826
9826
  if (o.tabbableGroups.length > 0) {
9827
9827
  var te = u(C, I), K = te >= 0 ? o.containerGroups[te] : void 0;
9828
9828
  if (te < 0)
9829
- j ? q = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : q = o.tabbableGroups[0].firstTabbableNode;
9829
+ j ? U = o.tabbableGroups[o.tabbableGroups.length - 1].lastTabbableNode : U = o.tabbableGroups[0].firstTabbableNode;
9830
9830
  else if (j) {
9831
9831
  var H = Np(o.tabbableGroups, function(F) {
9832
9832
  var J = F.firstTabbableNode;
@@ -9834,23 +9834,23 @@ var Sp = {
9834
9834
  });
9835
9835
  if (H < 0 && (K.container === C || Hc(C, a.tabbableOptions) && !Ea(C, a.tabbableOptions) && !K.nextTabbableNode(C, !1)) && (H = te), H >= 0) {
9836
9836
  var M = H === 0 ? o.tabbableGroups.length - 1 : H - 1, V = o.tabbableGroups[M];
9837
- q = Li(C) >= 0 ? V.lastTabbableNode : V.lastDomTabbableNode;
9837
+ U = Li(C) >= 0 ? V.lastTabbableNode : V.lastDomTabbableNode;
9838
9838
  } else
9839
- xo(I) || (q = K.nextTabbableNode(C, !1));
9839
+ xo(I) || (U = K.nextTabbableNode(C, !1));
9840
9840
  } else {
9841
9841
  var z = Np(o.tabbableGroups, function(F) {
9842
9842
  var J = F.lastTabbableNode;
9843
9843
  return C === J;
9844
9844
  });
9845
9845
  if (z < 0 && (K.container === C || Hc(C, a.tabbableOptions) && !Ea(C, a.tabbableOptions) && !K.nextTabbableNode(C)) && (z = te), z >= 0) {
9846
- var Q = z === o.tabbableGroups.length - 1 ? 0 : z + 1, X = o.tabbableGroups[Q];
9847
- q = Li(C) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
9846
+ var Z = z === o.tabbableGroups.length - 1 ? 0 : z + 1, X = o.tabbableGroups[Z];
9847
+ U = Li(C) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
9848
9848
  } else
9849
- xo(I) || (q = K.nextTabbableNode(C));
9849
+ xo(I) || (U = K.nextTabbableNode(C));
9850
9850
  }
9851
9851
  } else
9852
- q = f("fallbackFocus");
9853
- return q;
9852
+ U = f("fallbackFocus");
9853
+ return U;
9854
9854
  }, m = function(O) {
9855
9855
  var C = ss(O);
9856
9856
  if (!(u(C, O) >= 0)) {
@@ -9877,7 +9877,7 @@ var Sp = {
9877
9877
  var D, j = !0;
9878
9878
  if (o.mostRecentlyFocusedNode)
9879
9879
  if (Li(o.mostRecentlyFocusedNode) > 0) {
9880
- var q = u(o.mostRecentlyFocusedNode), te = o.containerGroups[q].tabbableNodes;
9880
+ var U = u(o.mostRecentlyFocusedNode), te = o.containerGroups[U].tabbableNodes;
9881
9881
  if (te.length > 0) {
9882
9882
  var K = te.findIndex(function(H) {
9883
9883
  return H === o.mostRecentlyFocusedNode;
@@ -9979,14 +9979,14 @@ var Sp = {
9979
9979
  checkCanReturnFocus: a.checkCanReturnFocus
9980
9980
  }, O);
9981
9981
  clearTimeout(o.delayInitialFocusTimer), o.delayInitialFocusTimer = void 0, T(), o.active = !1, o.paused = !1, N(), Sp.deactivateTrap(i, l);
9982
- var I = s(C, "onDeactivate"), D = s(C, "onPostDeactivate"), j = s(C, "checkCanReturnFocus"), q = s(C, "returnFocus", "returnFocusOnDeactivate");
9982
+ var I = s(C, "onDeactivate"), D = s(C, "onPostDeactivate"), j = s(C, "checkCanReturnFocus"), U = s(C, "returnFocus", "returnFocusOnDeactivate");
9983
9983
  I?.();
9984
9984
  var te = function() {
9985
9985
  Ap(function() {
9986
- q && y(g(o.nodeFocusedBeforeActivation)), D?.();
9986
+ U && y(g(o.nodeFocusedBeforeActivation)), D?.();
9987
9987
  });
9988
9988
  };
9989
- return q && j ? (j(g(o.nodeFocusedBeforeActivation)).then(te, te), this) : (te(), this);
9989
+ return U && j ? (j(g(o.nodeFocusedBeforeActivation)).then(te, te), this) : (te(), this);
9990
9990
  },
9991
9991
  pause: function(O) {
9992
9992
  if (o.paused || !o.active)
@@ -10774,122 +10774,122 @@ const Mh = Symbol("vfm"), xh = Symbol("internalVfm"), C_ = /* @__PURE__ */ ft({
10774
10774
  onLeave() {
10775
10775
  s(X()), v(), p(), k("closed"), T("closed");
10776
10776
  }
10777
- }), { onEsc: q, onMouseupRoot: te, onMousedown: K } = c_(n, r, { vfmRootEl: d, vfmContentEl: h, visible: S, modelValueLocal: b }), {
10777
+ }), { onEsc: U, onMouseupRoot: te, onMousedown: K } = c_(n, r, { vfmRootEl: d, vfmContentEl: h, visible: S, modelValueLocal: b }), {
10778
10778
  swipeBannerEl: H,
10779
10779
  bindSwipe: M,
10780
10780
  onTouchStartSwipeBanner: V
10781
- } = k_(n, { vfmContentEl: h, modelValueLocal: b }), z = ku(n, "hideOverlay"), Q = fe(() => ({
10781
+ } = k_(n, { vfmContentEl: h, modelValueLocal: b }), z = ku(n, "hideOverlay"), Z = fe(() => ({
10782
10782
  modalId: n.modalId,
10783
10783
  hideOverlay: z,
10784
10784
  overlayVisible: O,
10785
10785
  focus: y,
10786
- toggle(Z) {
10786
+ toggle(Q) {
10787
10787
  return new Promise((se) => {
10788
10788
  T = s_((B) => se(B));
10789
- const he = typeof Z == "boolean" ? Z : !b.value;
10789
+ const he = typeof Q == "boolean" ? Q : !b.value;
10790
10790
  b.value = he, r("update:modelValue", he);
10791
10791
  });
10792
10792
  }
10793
10793
  }));
10794
10794
  function X() {
10795
- return Q;
10795
+ return Z;
10796
10796
  }
10797
- const F = fe(() => a.indexOf(Q));
10797
+ const F = fe(() => a.indexOf(Z));
10798
10798
  Ke(() => [n.zIndexFn, F.value], () => {
10799
10799
  S.value && m(F.value);
10800
10800
  }), bn(() => {
10801
- i.push(Q);
10802
- }), b.value && J(), Ke(b, (Z) => {
10803
- Z ? J() : ae();
10801
+ i.push(Z);
10802
+ }), b.value && J(), Ke(b, (Q) => {
10803
+ Q ? J() : ae();
10804
10804
  });
10805
10805
  async function J() {
10806
- k("beforeOpen"), l(Q), u(Q), m(F.value), o(), D();
10806
+ k("beforeOpen"), l(Z), u(Z), m(F.value), o(), D();
10807
10807
  }
10808
10808
  function ae() {
10809
- k("beforeClose"), f(Q), o(), g(), j();
10809
+ k("beforeClose"), f(Z), o(), g(), j();
10810
10810
  }
10811
10811
  return Mr(() => {
10812
- p(), c(Q), s(Q), f(Q), g(), o();
10813
- }), (Z, se) => Z.displayDirective !== "if" || Se(S) ? fr((Ee(), Le("div", {
10812
+ p(), c(Z), s(Z), f(Z), g(), o();
10813
+ }), (Q, se) => Q.displayDirective !== "if" || Se(S) ? fr((Ee(), Le("div", {
10814
10814
  key: 0,
10815
10815
  ref_key: "vfmRootEl",
10816
10816
  ref: d,
10817
- class: Tt(["vfm vfm--fixed vfm--inset", { "vfm--prevent-none": Z.background === "interactive" }]),
10817
+ class: Tt(["vfm vfm--fixed vfm--inset", { "vfm--prevent-none": Q.background === "interactive" }]),
10818
10818
  style: Jt({ zIndex: Se(_) }),
10819
10819
  role: "dialog",
10820
10820
  "aria-modal": "true",
10821
- onKeydown: se[7] || (se[7] = lh(() => Se(q)(), ["esc"])),
10821
+ onKeydown: se[7] || (se[7] = lh(() => Se(U)(), ["esc"])),
10822
10822
  onMouseup: se[8] || (se[8] = ja(() => Se(te)(), ["self"])),
10823
10823
  onMousedown: se[9] || (se[9] = ja((he) => Se(K)(he), ["self"]))
10824
10824
  }, [
10825
10825
  z.value ? it("", !0) : (Ee(), bt(Yi, gn({ key: 0 }, Se(I), { appear: !0 }, Ko(Se(C))), {
10826
10826
  default: vn(() => [
10827
- Z.displayDirective !== "if" || Se(O) ? fr((Ee(), Le("div", {
10827
+ Q.displayDirective !== "if" || Se(O) ? fr((Ee(), Le("div", {
10828
10828
  key: 0,
10829
- class: Tt(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none", Z.overlayClass]),
10830
- style: Jt(Z.overlayStyle),
10829
+ class: Tt(["vfm__overlay vfm--overlay vfm--absolute vfm--inset vfm--prevent-none", Q.overlayClass]),
10830
+ style: Jt(Q.overlayStyle),
10831
10831
  "aria-hidden": "true"
10832
10832
  }, null, 6)), [
10833
- [ei, Z.displayDirective !== "show" || Se(O)],
10834
- [Se(Vc), Z.displayDirective !== "visible" || Se(O)]
10833
+ [ei, Q.displayDirective !== "show" || Se(O)],
10834
+ [Se(Vc), Q.displayDirective !== "visible" || Se(O)]
10835
10835
  ]) : it("", !0)
10836
10836
  ]),
10837
10837
  _: 1
10838
10838
  }, 16)),
10839
10839
  xe(Yi, gn(Se(w), { appear: !0 }, Ko(Se(N))), {
10840
10840
  default: vn(() => [
10841
- Z.displayDirective !== "if" || Se(P) ? fr((Ee(), Le("div", gn({
10841
+ Q.displayDirective !== "if" || Se(P) ? fr((Ee(), Le("div", gn({
10842
10842
  key: 0,
10843
10843
  ref_key: "vfmContentEl",
10844
10844
  ref: h,
10845
- class: ["vfm__content vfm--outline-none", [Z.contentClass, { "vfm--prevent-auto": Z.background === "interactive" }]],
10846
- style: Z.contentStyle,
10845
+ class: ["vfm__content vfm--outline-none", [Q.contentClass, { "vfm--prevent-auto": Q.background === "interactive" }]],
10846
+ style: Q.contentStyle,
10847
10847
  tabindex: "0"
10848
10848
  }, Se(M), {
10849
10849
  onMousedown: se[6] || (se[6] = () => Se(K)())
10850
10850
  }), [
10851
- vt(Z.$slots, "default"),
10852
- Z.showSwipeBanner ? (Ee(), Le("div", {
10851
+ vt(Q.$slots, "default"),
10852
+ Q.showSwipeBanner ? (Ee(), Le("div", {
10853
10853
  key: 0,
10854
10854
  ref_key: "swipeBannerEl",
10855
10855
  ref: H,
10856
10856
  class: "vfm-swipe-banner-container",
10857
10857
  onTouchstart: se[2] || (se[2] = (he) => Se(V)(he))
10858
10858
  }, [
10859
- vt(Z.$slots, "swipe-banner", {}, () => [
10859
+ vt(Q.$slots, "swipe-banner", {}, () => [
10860
10860
  He("div", {
10861
10861
  class: "vfm-swipe-banner-back",
10862
- onTouchstart: se[0] || (se[0] = (he) => Z.swipeToClose === "left" && he.preventDefault())
10862
+ onTouchstart: se[0] || (se[0] = (he) => Q.swipeToClose === "left" && he.preventDefault())
10863
10863
  }, null, 32),
10864
10864
  He("div", {
10865
10865
  class: "vfm-swipe-banner-forward",
10866
- onTouchstart: se[1] || (se[1] = (he) => Z.swipeToClose === "right" && he.preventDefault())
10866
+ onTouchstart: se[1] || (se[1] = (he) => Q.swipeToClose === "right" && he.preventDefault())
10867
10867
  }, null, 32)
10868
10868
  ])
10869
- ], 544)) : !Z.showSwipeBanner && Z.preventNavigationGestures ? (Ee(), Le("div", {
10869
+ ], 544)) : !Q.showSwipeBanner && Q.preventNavigationGestures ? (Ee(), Le("div", {
10870
10870
  key: 1,
10871
10871
  class: "vfm-swipe-banner-container",
10872
10872
  onTouchstart: se[5] || (se[5] = (he) => Se(V)(he))
10873
10873
  }, [
10874
10874
  He("div", {
10875
10875
  class: "vfm-swipe-banner-back",
10876
- onTouchstart: se[3] || (se[3] = (he) => Z.swipeToClose === "left" && he.preventDefault())
10876
+ onTouchstart: se[3] || (se[3] = (he) => Q.swipeToClose === "left" && he.preventDefault())
10877
10877
  }, null, 32),
10878
10878
  He("div", {
10879
10879
  class: "vfm-swipe-banner-forward",
10880
- onTouchstart: se[4] || (se[4] = (he) => Z.swipeToClose === "right" && he.preventDefault())
10880
+ onTouchstart: se[4] || (se[4] = (he) => Q.swipeToClose === "right" && he.preventDefault())
10881
10881
  }, null, 32)
10882
10882
  ], 32)) : it("", !0)
10883
10883
  ], 16)), [
10884
- [ei, Z.displayDirective !== "show" || Se(P)],
10885
- [Se(Vc), Z.displayDirective !== "visible" || Se(P)]
10884
+ [ei, Q.displayDirective !== "show" || Se(P)],
10885
+ [Se(Vc), Q.displayDirective !== "visible" || Se(P)]
10886
10886
  ]) : it("", !0)
10887
10887
  ]),
10888
10888
  _: 3
10889
10889
  }, 16)
10890
10890
  ], 38)), [
10891
- [ei, Z.displayDirective !== "show" || Se(S)],
10892
- [Se(Vc), Z.displayDirective !== "visible" || Se(S)]
10891
+ [ei, Q.displayDirective !== "show" || Se(S)],
10892
+ [Se(Vc), Q.displayDirective !== "visible" || Se(S)]
10893
10893
  ]) : it("", !0);
10894
10894
  }
10895
10895
  }), P_ = {
@@ -11315,7 +11315,7 @@ function s5(e, t = {}) {
11315
11315
  function c(L, x, $, ...ee) {
11316
11316
  const le = u();
11317
11317
  if (x.column += $, x.offset += $, f) {
11318
- const U = n ? Mf(le.startLoc, x) : null, W = eo(L, U, {
11318
+ const q = n ? Mf(le.startLoc, x) : null, W = eo(L, q, {
11319
11319
  domain: l5,
11320
11320
  args: ee
11321
11321
  });
@@ -11412,8 +11412,8 @@ function s5(e, t = {}) {
11412
11412
  if ($ !== 10)
11413
11413
  return !1;
11414
11414
  const ee = () => {
11415
- const U = L.currentPeek();
11416
- return U === "{" ? m(L.peek()) : U === "@" || U === "%" || U === "|" || U === ":" || U === "." || U === gr || !U ? !1 : U === Yt ? (L.peek(), ee()) : m(U);
11415
+ const q = L.currentPeek();
11416
+ return q === "{" ? m(L.peek()) : q === "@" || q === "%" || q === "|" || q === ":" || q === "." || q === gr || !q ? !1 : q === Yt ? (L.peek(), ee()) : m(q);
11417
11417
  }, le = ee();
11418
11418
  return L.resetPeek(), le;
11419
11419
  }
@@ -11430,9 +11430,9 @@ function s5(e, t = {}) {
11430
11430
  };
11431
11431
  }
11432
11432
  function O(L, x = !0) {
11433
- const $ = (le = !1, U = "", W = !1) => {
11434
- const re = L.currentPeek();
11435
- return re === "{" ? U === "%" ? !1 : le : re === "@" || !re ? U === "%" ? !0 : le : re === "%" ? (L.peek(), $(le, "%", !0)) : re === "|" ? U === "%" || W ? !0 : !(U === gr || U === Yt) : re === gr ? (L.peek(), $(!0, gr, W)) : re === Yt ? (L.peek(), $(!0, Yt, W)) : !0;
11433
+ const $ = (le = !1, q = "", W = !1) => {
11434
+ const ne = L.currentPeek();
11435
+ return ne === "{" ? q === "%" ? !1 : le : ne === "@" || !ne ? q === "%" ? !0 : le : ne === "%" ? (L.peek(), $(le, "%", !0)) : ne === "|" ? q === "%" || W ? !0 : !(q === gr || q === Yt) : ne === gr ? (L.peek(), $(!0, gr, W)) : ne === Yt ? (L.peek(), $(!0, Yt, W)) : !0;
11436
11436
  }, ee = $();
11437
11437
  return x && L.resetPeek(), ee;
11438
11438
  }
@@ -11464,7 +11464,7 @@ function s5(e, t = {}) {
11464
11464
  ee >= 97 && ee <= 102;
11465
11465
  });
11466
11466
  }
11467
- function q(L) {
11467
+ function U(L) {
11468
11468
  let x = "", $ = "";
11469
11469
  for (; x = D(L); )
11470
11470
  $ += x;
@@ -11509,12 +11509,12 @@ function s5(e, t = {}) {
11509
11509
  function M(L) {
11510
11510
  _(L);
11511
11511
  let x = "";
11512
- return L.currentChar() === "-" ? (L.next(), x += `-${q(L)}`) : x += q(L), L.currentChar() === jr && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), x;
11512
+ return L.currentChar() === "-" ? (L.next(), x += `-${U(L)}`) : x += U(L), L.currentChar() === jr && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), x;
11513
11513
  }
11514
11514
  function V(L) {
11515
11515
  _(L), y(L, "'");
11516
11516
  let x = "", $ = "";
11517
- const ee = (U) => U !== Rp && U !== Yt;
11517
+ const ee = (q) => q !== Rp && q !== Yt;
11518
11518
  for (; x = C(L, ee); )
11519
11519
  x === "\\" ? $ += z(L) : $ += x;
11520
11520
  const le = L.currentChar();
@@ -11527,23 +11527,23 @@ function s5(e, t = {}) {
11527
11527
  case "'":
11528
11528
  return L.next(), `\\${x}`;
11529
11529
  case "u":
11530
- return Q(L, x, 4);
11530
+ return Z(L, x, 4);
11531
11531
  case "U":
11532
- return Q(L, x, 6);
11532
+ return Z(L, x, 6);
11533
11533
  default:
11534
11534
  return c(Ne.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, x), "";
11535
11535
  }
11536
11536
  }
11537
- function Q(L, x, $) {
11537
+ function Z(L, x, $) {
11538
11538
  y(L, x);
11539
11539
  let ee = "";
11540
11540
  for (let le = 0; le < $; le++) {
11541
- const U = j(L);
11542
- if (!U) {
11541
+ const q = j(L);
11542
+ if (!q) {
11543
11543
  c(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${x}${ee}${L.currentChar()}`);
11544
11544
  break;
11545
11545
  }
11546
- ee += U;
11546
+ ee += q;
11547
11547
  }
11548
11548
  return `\\${x}${ee}`;
11549
11549
  }
@@ -11577,7 +11577,7 @@ function s5(e, t = {}) {
11577
11577
  );
11578
11578
  return _(L), x;
11579
11579
  }
11580
- function Z(L, x) {
11580
+ function Q(L, x) {
11581
11581
  let $ = null;
11582
11582
  switch (L.currentChar()) {
11583
11583
  case "{":
@@ -11597,18 +11597,18 @@ function s5(e, t = {}) {
11597
11597
  case "@":
11598
11598
  return x.braceNest > 0 && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), $ = se(L, x) || h(x), x.braceNest = 0, $;
11599
11599
  default:
11600
- let le = !0, U = !0, W = !0;
11600
+ let le = !0, q = !0, W = !0;
11601
11601
  if (N(L))
11602
11602
  return x.braceNest > 0 && c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), $ = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, $;
11603
11603
  if (x.braceNest > 0 && (x.currentType === 5 || x.currentType === 6 || x.currentType === 7))
11604
11604
  return c(Ne.UNTERMINATED_CLOSING_BRACE, a(), 0), x.braceNest = 0, he(L, x);
11605
11605
  if (le = b(L, x))
11606
11606
  return $ = d(x, 5, H(L)), _(L), $;
11607
- if (U = p(L, x))
11607
+ if (q = p(L, x))
11608
11608
  return $ = d(x, 6, M(L)), _(L), $;
11609
11609
  if (W = E(L, x))
11610
11610
  return $ = d(x, 7, V(L)), _(L), $;
11611
- if (!le && !U && !W)
11611
+ if (!le && !q && !W)
11612
11612
  return $ = d(x, 13, X(L)), c(Ne.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, $.value), _(L), $;
11613
11613
  break;
11614
11614
  }
@@ -11641,7 +11641,7 @@ function s5(e, t = {}) {
11641
11641
  /* TokenChars.LinkedDelimiter */
11642
11642
  );
11643
11643
  default:
11644
- return N(L) ? (ee = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, ee) : k(L, x) || S(L, x) ? (_(L), se(L, x)) : T(L, x) ? (_(L), d(x, 12, F(L))) : P(L, x) ? (_(L), le === "{" ? Z(L, x) || ee : d(x, 11, J(L))) : ($ === 8 && c(Ne.INVALID_LINKED_FORMAT, a(), 0), x.braceNest = 0, x.inLinked = !1, he(L, x));
11644
+ return N(L) ? (ee = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, ee) : k(L, x) || S(L, x) ? (_(L), se(L, x)) : T(L, x) ? (_(L), d(x, 12, F(L))) : P(L, x) ? (_(L), le === "{" ? Q(L, x) || ee : d(x, 11, J(L))) : ($ === 8 && c(Ne.INVALID_LINKED_FORMAT, a(), 0), x.braceNest = 0, x.inLinked = !1, he(L, x));
11645
11645
  }
11646
11646
  }
11647
11647
  function he(L, x) {
@@ -11650,12 +11650,12 @@ function s5(e, t = {}) {
11650
11650
  /* TokenTypes.EOF */
11651
11651
  };
11652
11652
  if (x.braceNest > 0)
11653
- return Z(L, x) || h(x);
11653
+ return Q(L, x) || h(x);
11654
11654
  if (x.inLinked)
11655
11655
  return se(L, x) || h(x);
11656
11656
  switch (L.currentChar()) {
11657
11657
  case "{":
11658
- return Z(L, x) || h(x);
11658
+ return Q(L, x) || h(x);
11659
11659
  case "}":
11660
11660
  return c(Ne.UNBALANCED_CLOSING_BRACE, a(), 0), L.next(), d(
11661
11661
  x,
@@ -11668,9 +11668,9 @@ function s5(e, t = {}) {
11668
11668
  default:
11669
11669
  if (N(L))
11670
11670
  return $ = d(x, 1, ae(L)), x.braceNest = 0, x.inLinked = !1, $;
11671
- const { isModulo: le, hasSpace: U } = w(L);
11671
+ const { isModulo: le, hasSpace: q } = w(L);
11672
11672
  if (le)
11673
- return U ? d(x, 0, K(L)) : d(x, 4, te(L));
11673
+ return q ? d(x, 0, K(L)) : d(x, 4, te(L));
11674
11674
  if (O(L))
11675
11675
  return d(x, 0, K(L));
11676
11676
  break;
@@ -13084,8 +13084,8 @@ function Ig(e = {}, t) {
13084
13084
  __meta: { framework: "vue" }
13085
13085
  };
13086
13086
  G.datetimeFormats = f.value, G.numberFormats = c.value, G.__datetimeFormatters = je(T) ? T.__datetimeFormatters : void 0, G.__numberFormatters = je(T) ? T.__numberFormatters : void 0;
13087
- const ne = r7(G);
13088
- return i && Up(ne), ne;
13087
+ const re = r7(G);
13088
+ return i && Up(re), re;
13089
13089
  })(), bo(T, l.value, s.value);
13090
13090
  function P() {
13091
13091
  return [
@@ -13113,13 +13113,13 @@ function Ig(e = {}, t) {
13113
13113
  function j(G) {
13114
13114
  v = G, T.postTranslation = G;
13115
13115
  }
13116
- function q() {
13116
+ function U() {
13117
13117
  return _;
13118
13118
  }
13119
13119
  function te(G) {
13120
13120
  G !== null && (m = rm(G)), _ = G, T.missing = m;
13121
13121
  }
13122
- const K = (G, ne, pe, ge, ve, Re) => {
13122
+ const K = (G, re, pe, ge, ve, Re) => {
13123
13123
  P();
13124
13124
  let Te;
13125
13125
  try {
@@ -13129,7 +13129,7 @@ function Ig(e = {}, t) {
13129
13129
  }
13130
13130
  if (pe !== "translate exists" && // for not `te` (e.g `t`)
13131
13131
  Pt(Te) && Te === Wu || pe === "translate exists" && !Te) {
13132
- const [nt, Gn] = ne();
13132
+ const [nt, Gn] = re();
13133
13133
  return n && y ? ge(n) : ve(nt);
13134
13134
  } else {
13135
13135
  if (Re(Te))
@@ -13138,33 +13138,33 @@ function Ig(e = {}, t) {
13138
13138
  }
13139
13139
  };
13140
13140
  function H(...G) {
13141
- return K((ne) => Reflect.apply(Gp, null, [ne, ...G]), () => Rf(...G), "translate", (ne) => Reflect.apply(ne.t, ne, [...G]), (ne) => ne, (ne) => _e(ne));
13141
+ return K((re) => Reflect.apply(Gp, null, [re, ...G]), () => Rf(...G), "translate", (re) => Reflect.apply(re.t, re, [...G]), (re) => re, (re) => _e(re));
13142
13142
  }
13143
13143
  function M(...G) {
13144
- const [ne, pe, ge] = G;
13144
+ const [re, pe, ge] = G;
13145
13145
  if (ge && !Xe(ge))
13146
13146
  throw Wn(Rn.INVALID_ARGUMENT);
13147
- return H(ne, pe, Ut({ resolvedMessage: !0 }, ge || {}));
13147
+ return H(re, pe, Ut({ resolvedMessage: !0 }, ge || {}));
13148
13148
  }
13149
13149
  function V(...G) {
13150
- return K((ne) => Reflect.apply(Yp, null, [ne, ...G]), () => Df(...G), "datetime format", (ne) => Reflect.apply(ne.d, ne, [...G]), () => zp, (ne) => _e(ne));
13150
+ return K((re) => Reflect.apply(Yp, null, [re, ...G]), () => Df(...G), "datetime format", (re) => Reflect.apply(re.d, re, [...G]), () => zp, (re) => _e(re));
13151
13151
  }
13152
13152
  function z(...G) {
13153
- return K((ne) => Reflect.apply(Jp, null, [ne, ...G]), () => Ff(...G), "number format", (ne) => Reflect.apply(ne.n, ne, [...G]), () => zp, (ne) => _e(ne));
13153
+ return K((re) => Reflect.apply(Jp, null, [re, ...G]), () => Ff(...G), "number format", (re) => Reflect.apply(re.n, re, [...G]), () => zp, (re) => _e(re));
13154
13154
  }
13155
- function Q(G) {
13156
- return G.map((ne) => _e(ne) || Pt(ne) || lt(ne) ? Qp(String(ne)) : ne);
13155
+ function Z(G) {
13156
+ return G.map((re) => _e(re) || Pt(re) || lt(re) ? Qp(String(re)) : re);
13157
13157
  }
13158
13158
  const F = {
13159
- normalize: Q,
13159
+ normalize: Z,
13160
13160
  interpolate: (G) => G,
13161
13161
  type: "vnode"
13162
13162
  };
13163
13163
  function J(...G) {
13164
13164
  return K(
13165
- (ne) => {
13165
+ (re) => {
13166
13166
  let pe;
13167
- const ge = ne;
13167
+ const ge = re;
13168
13168
  try {
13169
13169
  ge.processor = F, pe = Reflect.apply(Gp, null, [ge, ...G]);
13170
13170
  } finally {
@@ -13175,96 +13175,96 @@ function Ig(e = {}, t) {
13175
13175
  () => Rf(...G),
13176
13176
  "translate",
13177
13177
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13178
- (ne) => ne[Hf](...G),
13179
- (ne) => [Qp(ne)],
13180
- (ne) => wt(ne)
13178
+ (re) => re[Hf](...G),
13179
+ (re) => [Qp(re)],
13180
+ (re) => wt(re)
13181
13181
  );
13182
13182
  }
13183
13183
  function ae(...G) {
13184
13184
  return K(
13185
- (ne) => Reflect.apply(Jp, null, [ne, ...G]),
13185
+ (re) => Reflect.apply(Jp, null, [re, ...G]),
13186
13186
  () => Ff(...G),
13187
13187
  "number format",
13188
13188
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13189
- (ne) => ne[jf](...G),
13189
+ (re) => re[jf](...G),
13190
13190
  tm,
13191
- (ne) => _e(ne) || wt(ne)
13191
+ (re) => _e(re) || wt(re)
13192
13192
  );
13193
13193
  }
13194
- function Z(...G) {
13194
+ function Q(...G) {
13195
13195
  return K(
13196
- (ne) => Reflect.apply(Yp, null, [ne, ...G]),
13196
+ (re) => Reflect.apply(Yp, null, [re, ...G]),
13197
13197
  () => Df(...G),
13198
13198
  "datetime format",
13199
13199
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
13200
- (ne) => ne[Vf](...G),
13200
+ (re) => re[Vf](...G),
13201
13201
  tm,
13202
- (ne) => _e(ne) || wt(ne)
13202
+ (re) => _e(re) || wt(re)
13203
13203
  );
13204
13204
  }
13205
13205
  function se(G) {
13206
13206
  k = G, T.pluralRules = k;
13207
13207
  }
13208
- function he(G, ne) {
13208
+ function he(G, re) {
13209
13209
  return K(() => {
13210
13210
  if (!G)
13211
13211
  return !1;
13212
- const pe = _e(ne) ? ne : l.value, ge = x(pe), ve = T.messageResolver(ge, G);
13212
+ const pe = _e(re) ? re : l.value, ge = x(pe), ve = T.messageResolver(ge, G);
13213
13213
  return Ka(ve) || kn(ve) || _e(ve);
13214
- }, () => [G], "translate exists", (pe) => Reflect.apply(pe.te, pe, [G, ne]), v7, (pe) => lt(pe));
13214
+ }, () => [G], "translate exists", (pe) => Reflect.apply(pe.te, pe, [G, re]), v7, (pe) => lt(pe));
13215
13215
  }
13216
13216
  function B(G) {
13217
- let ne = null;
13217
+ let re = null;
13218
13218
  const pe = gg(T, s.value, l.value);
13219
13219
  for (let ge = 0; ge < pe.length; ge++) {
13220
13220
  const ve = u.value[pe[ge]] || {}, Re = T.messageResolver(ve, G);
13221
13221
  if (Re != null) {
13222
- ne = Re;
13222
+ re = Re;
13223
13223
  break;
13224
13224
  }
13225
13225
  }
13226
- return ne;
13226
+ return re;
13227
13227
  }
13228
13228
  function L(G) {
13229
- const ne = B(G);
13230
- return ne ?? (n ? n.tm(G) || {} : {});
13229
+ const re = B(G);
13230
+ return re ?? (n ? n.tm(G) || {} : {});
13231
13231
  }
13232
13232
  function x(G) {
13233
13233
  return u.value[G] || {};
13234
13234
  }
13235
- function $(G, ne) {
13235
+ function $(G, re) {
13236
13236
  if (a) {
13237
- const pe = { [G]: ne };
13237
+ const pe = { [G]: re };
13238
13238
  for (const ge in pe)
13239
13239
  tl(pe, ge) && rl(pe[ge]);
13240
- ne = pe[G];
13240
+ re = pe[G];
13241
13241
  }
13242
- u.value[G] = ne, T.messages = u.value;
13242
+ u.value[G] = re, T.messages = u.value;
13243
13243
  }
13244
- function ee(G, ne) {
13244
+ function ee(G, re) {
13245
13245
  u.value[G] = u.value[G] || {};
13246
- const pe = { [G]: ne };
13246
+ const pe = { [G]: re };
13247
13247
  for (const ge in pe)
13248
13248
  tl(pe, ge) && rl(pe[ge]);
13249
- ne = pe[G], Fo(ne, u.value[G]), T.messages = u.value;
13249
+ re = pe[G], Fo(re, u.value[G]), T.messages = u.value;
13250
13250
  }
13251
13251
  function le(G) {
13252
13252
  return f.value[G] || {};
13253
13253
  }
13254
- function U(G, ne) {
13255
- f.value[G] = ne, T.datetimeFormats = f.value, Xp(T, G, ne);
13254
+ function q(G, re) {
13255
+ f.value[G] = re, T.datetimeFormats = f.value, Xp(T, G, re);
13256
13256
  }
13257
- function W(G, ne) {
13258
- f.value[G] = Ut(f.value[G] || {}, ne), T.datetimeFormats = f.value, Xp(T, G, ne);
13257
+ function W(G, re) {
13258
+ f.value[G] = Ut(f.value[G] || {}, re), T.datetimeFormats = f.value, Xp(T, G, re);
13259
13259
  }
13260
- function re(G) {
13260
+ function ne(G) {
13261
13261
  return c.value[G] || {};
13262
13262
  }
13263
- function ie(G, ne) {
13264
- c.value[G] = ne, T.numberFormats = c.value, Zp(T, G, ne);
13263
+ function ie(G, re) {
13264
+ c.value[G] = re, T.numberFormats = c.value, Zp(T, G, re);
13265
13265
  }
13266
- function oe(G, ne) {
13267
- c.value[G] = Ut(c.value[G] || {}, ne), T.numberFormats = c.value, Zp(T, G, ne);
13266
+ function oe(G, re) {
13267
+ c.value[G] = Ut(c.value[G] || {}, re), T.numberFormats = c.value, Zp(T, G, re);
13268
13268
  }
13269
13269
  nm++, n && If && (Ke(n.locale, (G) => {
13270
13270
  o && (l.value = G, T.locale = G, bo(T, l.value, s.value));
@@ -13336,11 +13336,11 @@ function Ig(e = {}, t) {
13336
13336
  mergeLocaleMessage: ee,
13337
13337
  getPostTranslationHandler: D,
13338
13338
  setPostTranslationHandler: j,
13339
- getMissingHandler: q,
13339
+ getMissingHandler: U,
13340
13340
  setMissingHandler: te,
13341
13341
  [h7]: se
13342
13342
  };
13343
- return ce.datetimeFormats = C, ce.numberFormats = I, ce.rt = M, ce.te = he, ce.tm = L, ce.d = V, ce.n = z, ce.getDateTimeFormat = le, ce.setDateTimeFormat = U, ce.mergeDateTimeFormat = W, ce.getNumberFormat = re, ce.setNumberFormat = ie, ce.mergeNumberFormat = oe, ce[p7] = r, ce[Hf] = J, ce[Vf] = Z, ce[jf] = ae, ce;
13343
+ return ce.datetimeFormats = C, ce.numberFormats = I, ce.rt = M, ce.te = he, ce.tm = L, ce.d = V, ce.n = z, ce.getDateTimeFormat = le, ce.setDateTimeFormat = q, ce.mergeDateTimeFormat = W, ce.getNumberFormat = ne, ce.setNumberFormat = ie, ce.mergeNumberFormat = oe, ce[p7] = r, ce[Hf] = J, ce[Vf] = Q, ce[jf] = ae, ce;
13344
13344
  }
13345
13345
  const Vh = {
13346
13346
  tag: {
@@ -15638,7 +15638,7 @@ const kO = aa("applyGiftCard", () => {
15638
15638
  headers: {
15639
15639
  Authorization: t.value,
15640
15640
  Accept: "application/json",
15641
- "Fresh-Booking-Ver": "4.0.37"
15641
+ "Fresh-Booking-Ver": "4.0.38"
15642
15642
  }
15643
15643
  }).then((f) => {
15644
15644
  const {
@@ -15840,16 +15840,16 @@ const kO = aa("applyGiftCard", () => {
15840
15840
  }), N = be({}), w = be(!0), O = be(
15841
15841
  0
15842
15842
  /* InitialState */
15843
- ), C = be(NaN), I = be(NaN), D = be(""), j = be(""), q = be(""), te = Dt("konnectio_name", "", void 0, { serializer: kt.string }), K = Dt("konnectio_nameTitle", 2, void 0, { serializer: kt.number }), H = Dt("konnectio_email", "", void 0, { serializer: kt.string }), M = Dt("konnectio_phone", "", void 0, { serializer: kt.string }), V = Dt("konnectio_company", "", void 0, { serializer: kt.string }), z = Dt("konnectio_postal", "", void 0, { serializer: kt.string }), Q = Dt("konnectio_city", "", void 0, { serializer: kt.string }), X = Dt("konnectio_country", 57, void 0, { serializer: kt.number }), F = Dt("konnectio_address", "", void 0, { serializer: kt.string }), J = be(""), ae = be(""), Z = be(!1), se = be(!1), he = () => b.metaData.hotels.findIndex((ke) => ke.id === d.value), B = fe(() => b.metaData.hotels[he()]), L = fe(() => b.metaData.hotels && b.metaData.hotels.length > 1), x = fe(() => b.metaData.hotels ? b.metaData.hotels.flatMap((ke) => ({
15843
+ ), C = be(NaN), I = be(NaN), D = be(""), j = be(""), U = be(""), te = Dt("konnectio_name", "", void 0, { serializer: kt.string }), K = Dt("konnectio_nameTitle", 2, void 0, { serializer: kt.number }), H = Dt("konnectio_email", "", void 0, { serializer: kt.string }), M = Dt("konnectio_phone", "", void 0, { serializer: kt.string }), V = Dt("konnectio_company", "", void 0, { serializer: kt.string }), z = Dt("konnectio_postal", "", void 0, { serializer: kt.string }), Z = Dt("konnectio_city", "", void 0, { serializer: kt.string }), X = Dt("konnectio_country", 57, void 0, { serializer: kt.number }), F = Dt("konnectio_address", "", void 0, { serializer: kt.string }), J = be(""), ae = be(""), Q = be(!1), se = be(!1), he = () => b.metaData.hotels.findIndex((ke) => ke.id === d.value), B = fe(() => b.metaData.hotels[he()]), L = fe(() => b.metaData.hotels && b.metaData.hotels.length > 1), x = fe(() => b.metaData.hotels ? b.metaData.hotels.flatMap((ke) => ({
15844
15844
  value: ke.id,
15845
15845
  label: ke.name
15846
- })) : []), $ = fe(() => B.value.termsOfService), ee = fe(() => B.value.country ? B.value.country.name : ""), le = fe(() => b.metaData.countries ? b.metaData.countries : []), U = fe(() => B.value.name ? B.value.name : ""), W = fe(() => b.metaData && Object.keys(b.metaData).length !== 0), re = fe(() => Object.keys(N.value).length !== 0), ie = fe(() => !(!te.value[1] || !H.value || !(M.value.length >= 5) || !z.value || !Q.value || !F.value)), oe = fe(() => O.value === 1 && w.value), ce = fe(() => O.value === 3 && w.value), G = fe(() => {
15846
+ })) : []), $ = fe(() => B.value.termsOfService), ee = fe(() => B.value.country ? B.value.country.name : ""), le = fe(() => b.metaData.countries ? b.metaData.countries : []), q = fe(() => B.value.name ? B.value.name : ""), W = fe(() => b.metaData && Object.keys(b.metaData).length !== 0), ne = fe(() => Object.keys(N.value).length !== 0), ie = fe(() => !(!te.value[1] || !H.value || !(M.value.length >= 5) || !z.value || !Z.value || !F.value)), oe = fe(() => O.value === 1 && w.value), ce = fe(() => O.value === 3 && w.value), G = fe(() => {
15847
15847
  if (N.value.templates)
15848
15848
  return N.value.templates.find(
15849
15849
  (ke) => ke.id === C.value
15850
15850
  );
15851
15851
  });
15852
- function ne(ke) {
15852
+ function re(ke) {
15853
15853
  if (G.value)
15854
15854
  return G.value.roomGroups.find(
15855
15855
  (Be) => Be.roomGroupID === ke
@@ -15878,7 +15878,7 @@ const kO = aa("applyGiftCard", () => {
15878
15878
  [REQUESTED DEPARTURE]: ${Be}`;
15879
15879
  }
15880
15880
  function Te(ke, Be, Ze, De) {
15881
- const Qt = (Be ? Ze : De ? j.value : q.value).split(":");
15881
+ const Qt = (Be ? Ze : De ? j.value : U.value).split(":");
15882
15882
  return uO(
15883
15883
  new Date(ke).setUTCHours(parseInt(Qt[0]), parseInt(Qt[1]), 0, 0)
15884
15884
  );
@@ -15898,7 +15898,7 @@ const kO = aa("applyGiftCard", () => {
15898
15898
  headers: {
15899
15899
  Authorization: y.value,
15900
15900
  Accept: "application/json",
15901
- "Fresh-Booking-Ver": "4.0.37"
15901
+ "Fresh-Booking-Ver": "4.0.38"
15902
15902
  }
15903
15903
  })).data;
15904
15904
  h.value = ke;
@@ -15926,7 +15926,7 @@ const kO = aa("applyGiftCard", () => {
15926
15926
  headers: {
15927
15927
  Authorization: y.value,
15928
15928
  Accept: "application/json",
15929
- "Fresh-Booking-Ver": "4.0.37"
15929
+ "Fresh-Booking-Ver": "4.0.38"
15930
15930
  }
15931
15931
  });
15932
15932
  Be.status !== 200 ? i({
@@ -15973,7 +15973,7 @@ const kO = aa("applyGiftCard", () => {
15973
15973
  name: te.value,
15974
15974
  email: H.value,
15975
15975
  phone: M.value,
15976
- newsmails: Z.value
15976
+ newsmails: Q.value
15977
15977
  }
15978
15978
  });
15979
15979
  let Ze = d.value;
@@ -15992,8 +15992,8 @@ const kO = aa("applyGiftCard", () => {
15992
15992
  country: X.value,
15993
15993
  address1: F.value,
15994
15994
  postal: String(z.value),
15995
- city: Q.value,
15996
- newsmails: Z.value
15995
+ city: Z.value,
15996
+ newsmails: Q.value
15997
15997
  },
15998
15998
  giftCardCode: n.value,
15999
15999
  selectedRooms: Be,
@@ -16003,12 +16003,12 @@ const kO = aa("applyGiftCard", () => {
16003
16003
  ),
16004
16004
  checkoutUrl: window.location.origin,
16005
16005
  privacyUrl: window.location.origin,
16006
- termsOfserviceUrl: window.location.origin
16006
+ termsOfserviceURL: window.location.origin
16007
16007
  }, {
16008
16008
  headers: {
16009
16009
  Authorization: y.value,
16010
16010
  Accept: "application/json",
16011
- "Fresh-Booking-Ver": "4.0.37"
16011
+ "Fresh-Booking-Ver": "4.0.38"
16012
16012
  }
16013
16013
  }).then((De) => {
16014
16014
  se.value = !1, w.value = !1, t.pay({
@@ -16054,33 +16054,33 @@ const kO = aa("applyGiftCard", () => {
16054
16054
  roomGroupID: I,
16055
16055
  travelingFor: D,
16056
16056
  arrivalTime: j,
16057
- departureTime: q,
16057
+ departureTime: U,
16058
16058
  name: te,
16059
16059
  nameTitle: K,
16060
16060
  email: H,
16061
16061
  phone: M,
16062
16062
  firmName: V,
16063
16063
  postal: z,
16064
- city: Q,
16064
+ city: Z,
16065
16065
  country: X,
16066
16066
  address: F,
16067
16067
  remark: J,
16068
16068
  allergies: ae,
16069
- newsMails: Z,
16069
+ newsMails: Q,
16070
16070
  roomDisplay: E,
16071
16071
  isPaymentInitialized: se,
16072
16072
  nights: c,
16073
16073
  hotelCountry: ee,
16074
16074
  countries: le,
16075
- title: U,
16075
+ title: q,
16076
16076
  // slideshow,
16077
16077
  isMetaDataAvailable: W,
16078
- isAvailabilityDataAvailable: re,
16078
+ isAvailabilityDataAvailable: ne,
16079
16079
  totalPrice: P,
16080
16080
  selectedPackage: G,
16081
16081
  isPaymentLoading: ce,
16082
16082
  getSingleListing: ge,
16083
- getSpecifiedPackageRoom: ne,
16083
+ getSpecifiedPackageRoom: re,
16084
16084
  getRoomName: ve,
16085
16085
  getBasePrice: nt,
16086
16086
  getSelectedPackageRoom: pe,
@@ -16095,13 +16095,13 @@ const kO = aa("applyGiftCard", () => {
16095
16095
  }), py = aa("tracking", () => {
16096
16096
  const e = Ya(), t = PO(), n = fe(() => {
16097
16097
  const d = [];
16098
- return t.roomDisplay.forEach(({ variants: h, roomGroupID: y }) => {
16099
- h?.forEach(({ rooms: g, ratePlanID: _, name: m }) => {
16100
- g?.forEach(({ totalPrice: v }) => {
16098
+ return t.roomDisplay.forEach(({ variants: h }) => {
16099
+ h?.forEach(({ rooms: y, name: g }) => {
16100
+ y?.forEach(({ totalPrice: _ }) => {
16101
16101
  d.push({
16102
- name: m,
16102
+ name: g,
16103
16103
  quantity: 1,
16104
- price: v
16104
+ price: _
16105
16105
  });
16106
16106
  });
16107
16107
  });
@@ -16403,27 +16403,27 @@ Ga.getInstance = vy.getInstance;
16403
16403
  } });
16404
16404
  })(my);
16405
16405
  const Ya = aa("utilities", () => {
16406
- const e = py(), { display: t } = Nl(), { location: n } = Ui(Gf()), { reset: r } = Gf(), i = Dt("konnectio_settings", {}, void 0, { serializer: kt.object }), a = Dt("konnectio_cLocation", NaN, void 0, { serializer: kt.number }), o = be({}), l = fe(() => i.value.maximumNightsAvailable), s = fe(() => i.value.enableTracking), u = fe(() => i.value.googleApiKey), f = fe(() => i.value.recaptchaSiteKey), c = fe(() => i.value.recaptchaSecretKey), d = fe(() => i.value.maxAdultAmount), h = fe(() => i.value.maxChildAmount), y = fe(() => i.value.firstSelectableDateOffset), g = fe(() => i.value.lastSelectableDateOffset), _ = fe(() => i.value.disableAdultSelection), m = fe(() => i.value.disableArrivalUserSelection), v = fe(() => i.value.disableChildSelection), b = fe(() => i.value.disableDepartureUserSelection), p = fe(() => i.value.bookingUri), E = fe(() => i.value.hideTitle), k = fe(() => i.value.headerHeight), T = fe(() => i.value.arrivalDefault), S = fe(() => i.value.arrivalEarliest), P = fe(() => i.value.arrivalLatest), N = fe(() => i.value.departureDefault), w = fe(() => i.value.departureEarliest), O = fe(() => i.value.departureLatest), C = fe(() => i.value.hideArrivalDepartureInputs), I = fe(() => i.value.disableNamePrefix), D = fe(() => i.value.disableGiftCardVoucher), j = fe(() => i.value.enablePackages), q = fe(() => i.value.disablePricesFrom), te = fe(() => i.value.hideAvailableRoomAmount), K = fe(() => i.value.hideEvents), H = fe(() => i.value.hideEventTemplates), M = fe(() => i.value.disableNewsletterSignup), V = fe(() => i.value.disableTravelingFor), z = fe(() => i.value.disableCompanyField), Q = be(""), X = fe(() => `Bearer ${Q.value}`), F = fe(() => Object.keys(o.value).length > 0), J = fe(() => F.value ? o.value.hotels[0].currency.currencyCode : ""), ae = fe(() => F.value ? o.value.hotels[0].name : ""), Z = fe(() => o.value.hotels[0].paymentGatewayId), se = fe(() => {
16407
- let U = !0;
16408
- return (Z.value === al.None || Z.value === al.AskForCreditCard) && (U = !1), U;
16406
+ const e = py(), { display: t } = Nl(), { location: n } = Ui(Gf()), { reset: r } = Gf(), i = Dt("konnectio_settings", {}, void 0, { serializer: kt.object }), a = Dt("konnectio_cLocation", NaN, void 0, { serializer: kt.number }), o = be({}), l = fe(() => i.value.maximumNightsAvailable), s = fe(() => i.value.enableTracking), u = fe(() => i.value.googleApiKey), f = fe(() => i.value.recaptchaSiteKey), c = fe(() => i.value.recaptchaSecretKey), d = fe(() => i.value.maxAdultAmount), h = fe(() => i.value.maxChildAmount), y = fe(() => i.value.firstSelectableDateOffset), g = fe(() => i.value.lastSelectableDateOffset), _ = fe(() => i.value.disableAdultSelection), m = fe(() => i.value.disableArrivalUserSelection), v = fe(() => i.value.disableChildSelection), b = fe(() => i.value.disableDepartureUserSelection), p = fe(() => i.value.bookingUri), E = fe(() => i.value.hideTitle), k = fe(() => i.value.headerHeight), T = fe(() => i.value.arrivalDefault), S = fe(() => i.value.arrivalEarliest), P = fe(() => i.value.arrivalLatest), N = fe(() => i.value.departureDefault), w = fe(() => i.value.departureEarliest), O = fe(() => i.value.departureLatest), C = fe(() => i.value.hideArrivalDepartureInputs), I = fe(() => i.value.disableNamePrefix), D = fe(() => i.value.disableGiftCardVoucher), j = fe(() => i.value.enablePackages), U = fe(() => i.value.disablePricesFrom), te = fe(() => i.value.hideAvailableRoomAmount), K = fe(() => i.value.hideEvents), H = fe(() => i.value.hideEventTemplates), M = fe(() => i.value.disableNewsletterSignup), V = fe(() => i.value.disableTravelingFor), z = fe(() => i.value.disableCompanyField), Z = be(""), X = fe(() => `Bearer ${Z.value}`), F = fe(() => Object.keys(o.value).length > 0), J = fe(() => F.value ? o.value.hotels[0].currency.currencyCode : ""), ae = fe(() => F.value ? o.value.hotels[0].currency.id : NaN), Q = fe(() => F.value ? o.value.hotels[0].name : ""), se = fe(() => o.value.hotels[0].paymentGatewayId), he = fe(() => {
16407
+ let W = !0;
16408
+ return (se.value === al.None || se.value === al.AskForCreditCard) && (W = !1), W;
16409
16409
  });
16410
- function he(U) {
16411
- Q.value = U;
16410
+ function B(W) {
16411
+ Z.value = W;
16412
16412
  }
16413
- async function B(U = "none") {
16413
+ async function L(W = "none") {
16414
16414
  try {
16415
- if (U !== "none") {
16416
- const W = (await qi.get(`https://production.hotel-service.konnectio.dk/api/${U}/metadata`, {
16415
+ if (W !== "none") {
16416
+ const ne = (await qi.get(`https://production.hotel-service.konnectio.dk/api/${W}/metadata`, {
16417
16417
  params: {
16418
16418
  language: kr()
16419
16419
  },
16420
16420
  headers: {
16421
16421
  Authorization: X.value,
16422
16422
  Accept: "application/json",
16423
- "Fresh-Booking-Ver": "4.0.37"
16423
+ "Fresh-Booking-Ver": "4.0.38"
16424
16424
  }
16425
16425
  })).data;
16426
- o.value = W, W.hotelId && (isNaN(a.value) ? a.value = W.hotelId : a.value !== W.hotelId && (r(), a.value = W.hotelId), isNaN(n.value) && W.hotelId && (n.value = W.hotelId));
16426
+ o.value = ne, ne.hotelId && (isNaN(a.value) ? a.value = ne.hotelId : a.value !== ne.hotelId && (r(), a.value = ne.hotelId), isNaN(n.value) && ne.hotelId && (n.value = ne.hotelId));
16427
16427
  }
16428
16428
  } catch {
16429
16429
  t({
@@ -16432,53 +16432,54 @@ const Ya = aa("utilities", () => {
16432
16432
  });
16433
16433
  }
16434
16434
  }
16435
- async function L() {
16435
+ async function x() {
16436
16436
  await qi.get("https://production.hotel-service.konnectio.dk/api/utility/get-settings-and-translations", {
16437
16437
  headers: {
16438
16438
  Authorization: X.value,
16439
16439
  Accept: "application/json",
16440
- "Fresh-Booking-Ver": "4.0.37"
16440
+ "Fresh-Booking-Ver": "4.0.38"
16441
16441
  }
16442
- }).then((U) => {
16443
- const { settings: W, translations: re } = U.data;
16444
- i.value = W, nO(re), ee(), e.setup();
16442
+ }).then((W) => {
16443
+ const { settings: ne, translations: ie } = W.data;
16444
+ i.value = ne, nO(ie), le(), e.setup();
16445
16445
  });
16446
16446
  }
16447
- const x = be(), $ = fe(() => x.value !== void 0);
16448
- async function ee() {
16449
- f.value && (x.value || (console.log(f.value), x.value = await my.load(f.value)));
16447
+ const $ = be(), ee = fe(() => $.value !== void 0);
16448
+ async function le() {
16449
+ f.value && ($.value || (console.log(f.value), $.value = await my.load(f.value)));
16450
16450
  }
16451
- async function le({ type: U = "submit", callback: W }) {
16452
- if (x.value !== void 0) {
16453
- console.log(U);
16454
- const re = await x.value.execute(U);
16455
- console.log([x.value.siteKey, x.value.recaptchaID, x.value.recaptcha]), (await qi.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha", {
16451
+ async function q({ type: W = "submit", callback: ne }) {
16452
+ if ($.value !== void 0) {
16453
+ console.log(W);
16454
+ const ie = await $.value.execute(W);
16455
+ (await qi.get("https://production.hotel-service.konnectio.dk/api/utility/verify-recaptcha", {
16456
16456
  params: {
16457
16457
  language: kr(),
16458
- token: re
16458
+ token: ie
16459
16459
  },
16460
16460
  headers: {
16461
16461
  Authorization: X.value,
16462
- "Konnectio-Core-Ver": "4.0.37"
16462
+ "Konnectio-Core-Ver": "4.0.38"
16463
16463
  }
16464
- })).data.success === !0 ? W() : t({
16464
+ })).data.success === !0 ? ne() : t({
16465
16465
  message: qe.t("Robot guy"),
16466
16466
  type: "warning"
16467
16467
  });
16468
16468
  } else
16469
- W();
16469
+ ne();
16470
16470
  }
16471
16471
  return {
16472
- setAccessToken: he,
16473
- fetchUtilities: L,
16474
- fetchMetadata: B,
16475
- verifyRecaptcha: le,
16476
- hasPaymentGateway: se,
16477
- recaptcha: x,
16478
- name: ae,
16479
- paymentGatewayId: Z,
16472
+ setAccessToken: B,
16473
+ fetchUtilities: x,
16474
+ fetchMetadata: L,
16475
+ verifyRecaptcha: q,
16476
+ hasPaymentGateway: he,
16477
+ recaptcha: $,
16478
+ name: Q,
16479
+ paymentGatewayId: se,
16480
16480
  metaData: o,
16481
16481
  currency: J,
16482
+ currencyId: ae,
16482
16483
  bearerToken: X,
16483
16484
  maximumNightsAvailable: l,
16484
16485
  enableTracking: s,
@@ -16506,14 +16507,14 @@ const Ya = aa("utilities", () => {
16506
16507
  disableNamePrefix: I,
16507
16508
  disableGiftCardVoucher: D,
16508
16509
  enablePackages: j,
16509
- disablePricesFrom: q,
16510
+ disablePricesFrom: U,
16510
16511
  hideAvailableRoomAmount: te,
16511
16512
  hideEvents: K,
16512
16513
  hideEventTemplates: H,
16513
16514
  disableNewsletterSignup: M,
16514
16515
  disableTravelingFor: V,
16515
16516
  disableCompanyField: z,
16516
- isRecaptchaEnabled: $
16517
+ isRecaptchaEnabled: ee
16517
16518
  };
16518
16519
  });
16519
16520
  function xm(e, t) {
@@ -20784,8 +20785,8 @@ var Xy = { exports: {} };
20784
20785
  } else {
20785
20786
  if ("value" in D)
20786
20787
  return D.value;
20787
- var q = D.get;
20788
- return q === void 0 ? void 0 : q.call(I);
20788
+ var U = D.get;
20789
+ return U === void 0 ? void 0 : U.call(I);
20789
20790
  }
20790
20791
  }, l = i(3), s = b(l), u = i(2), f = b(u), c = i(0), d = b(c), h = i(16), y = b(h), g = i(6), _ = b(g), m = i(7), v = b(m);
20791
20792
  function b(w) {
@@ -20828,16 +20829,16 @@ var Xy = { exports: {} };
20828
20829
  }
20829
20830
  }, {
20830
20831
  key: "formatAt",
20831
- value: function(I, D, j, q) {
20832
- this.format(j, q);
20832
+ value: function(I, D, j, U) {
20833
+ this.format(j, U);
20833
20834
  }
20834
20835
  }, {
20835
20836
  key: "insertAt",
20836
20837
  value: function(I, D, j) {
20837
20838
  if (typeof D == "string" && D.endsWith(`
20838
20839
  `)) {
20839
- var q = d.default.create(P.blotName);
20840
- this.parent.insertBefore(q, I === 0 ? this : this.next), q.insertAt(0, D.slice(0, -1));
20840
+ var U = d.default.create(P.blotName);
20841
+ this.parent.insertBefore(U, I === 0 ? this : this.next), U.insertAt(0, D.slice(0, -1));
20841
20842
  } else
20842
20843
  o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertAt", this).call(this, I, D, j);
20843
20844
  }
@@ -20866,8 +20867,8 @@ var Xy = { exports: {} };
20866
20867
  }
20867
20868
  }, {
20868
20869
  key: "formatAt",
20869
- value: function(I, D, j, q) {
20870
- D <= 0 || (d.default.query(j, d.default.Scope.BLOCK) ? I + D === this.length() && this.format(j, q) : o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "formatAt", this).call(this, I, Math.min(D, this.length() - I - 1), j, q), this.cache = {});
20870
+ value: function(I, D, j, U) {
20871
+ D <= 0 || (d.default.query(j, d.default.Scope.BLOCK) ? I + D === this.length() && this.format(j, U) : o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "formatAt", this).call(this, I, Math.min(D, this.length() - I - 1), j, U), this.cache = {});
20871
20872
  }
20872
20873
  }, {
20873
20874
  key: "insertAt",
@@ -20875,11 +20876,11 @@ var Xy = { exports: {} };
20875
20876
  if (j != null)
20876
20877
  return o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertAt", this).call(this, I, D, j);
20877
20878
  if (D.length !== 0) {
20878
- var q = D.split(`
20879
- `), te = q.shift();
20879
+ var U = D.split(`
20880
+ `), te = U.shift();
20880
20881
  te.length > 0 && (I < this.length() - 1 || this.children.tail == null ? o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "insertAt", this).call(this, Math.min(I, this.length() - 1), te) : this.children.tail.insertAt(this.children.tail.length(), te), this.cache = {});
20881
20882
  var K = this;
20882
- q.reduce(function(H, M) {
20883
+ U.reduce(function(H, M) {
20883
20884
  return K = K.split(H, !0), K.insertAt(0, M), M.length;
20884
20885
  }, I + te.length);
20885
20886
  }
@@ -20923,8 +20924,8 @@ var Xy = { exports: {} };
20923
20924
  var j = this.clone();
20924
20925
  return I === 0 ? (this.parent.insertBefore(j, this), this) : (this.parent.insertBefore(j, this.next), j);
20925
20926
  } else {
20926
- var q = o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "split", this).call(this, I, D);
20927
- return this.cache = {}, q;
20927
+ var U = o(O.prototype.__proto__ || Object.getPrototypeOf(O.prototype), "split", this).call(this, I, D);
20928
+ return this.cache = {}, U;
20928
20929
  }
20929
20930
  }
20930
20931
  }]), O;
@@ -20948,17 +20949,17 @@ var Xy = { exports: {} };
20948
20949
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
20949
20950
  }, o = function() {
20950
20951
  function K(H, M) {
20951
- var V = [], z = !0, Q = !1, X = void 0;
20952
+ var V = [], z = !0, Z = !1, X = void 0;
20952
20953
  try {
20953
20954
  for (var F = H[Symbol.iterator](), J; !(z = (J = F.next()).done) && (V.push(J.value), !(M && V.length === M)); z = !0)
20954
20955
  ;
20955
20956
  } catch (ae) {
20956
- Q = !0, X = ae;
20957
+ Z = !0, X = ae;
20957
20958
  } finally {
20958
20959
  try {
20959
20960
  !z && F.return && F.return();
20960
20961
  } finally {
20961
- if (Q)
20962
+ if (Z)
20962
20963
  throw X;
20963
20964
  }
20964
20965
  }
@@ -21013,14 +21014,14 @@ var Xy = { exports: {} };
21013
21014
  }, {
21014
21015
  key: "register",
21015
21016
  value: function(M, V) {
21016
- var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
21017
+ var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
21017
21018
  if (typeof M != "string") {
21018
21019
  var X = M.attrName || M.blotName;
21019
21020
  typeof X == "string" ? this.register("formats/" + X, M, V) : Object.keys(M).forEach(function(F) {
21020
21021
  z.register(F, M[F], V);
21021
21022
  });
21022
21023
  } else
21023
- this.imports[M] != null && !Q && C.warn("Overwriting " + M + " with", V), this.imports[M] = V, (M.startsWith("blots/") || M.startsWith("formats/")) && V.blotName !== "abstract" ? m.default.register(V) : M.startsWith("modules") && typeof V.register == "function" && V.register();
21024
+ this.imports[M] != null && !Z && C.warn("Overwriting " + M + " with", V), this.imports[M] = V, (M.startsWith("blots/") || M.startsWith("formats/")) && V.blotName !== "abstract" ? m.default.register(V) : M.startsWith("modules") && typeof V.register == "function" && V.register();
21024
21025
  }
21025
21026
  }]);
21026
21027
  function K(H) {
@@ -21040,8 +21041,8 @@ var Xy = { exports: {} };
21040
21041
  return M.editor.update(null, F, ae);
21041
21042
  }, X);
21042
21043
  });
21043
- var Q = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + z + "<p><br></p></div>");
21044
- this.setContents(Q), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
21044
+ var Z = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + z + "<p><br></p></div>");
21045
+ this.setContents(Z), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
21045
21046
  }
21046
21047
  return l(K, [{
21047
21048
  key: "addContainer",
@@ -21061,9 +21062,9 @@ var Xy = { exports: {} };
21061
21062
  }, {
21062
21063
  key: "deleteText",
21063
21064
  value: function(M, V, z) {
21064
- var Q = this, X = q(M, V, z), F = o(X, 4);
21065
+ var Z = this, X = U(M, V, z), F = o(X, 4);
21065
21066
  return M = F[0], V = F[1], z = F[3], j.call(this, function() {
21066
- return Q.editor.deleteText(M, V);
21067
+ return Z.editor.deleteText(M, V);
21067
21068
  }, z, M, -1 * V);
21068
21069
  }
21069
21070
  }, {
@@ -21086,7 +21087,7 @@ var Xy = { exports: {} };
21086
21087
  }, {
21087
21088
  key: "format",
21088
21089
  value: function(M, V) {
21089
- var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : h.default.sources.API;
21090
+ var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : h.default.sources.API;
21090
21091
  return j.call(this, function() {
21091
21092
  var X = z.getSelection(!0), F = new u.default();
21092
21093
  if (X == null)
@@ -21099,21 +21100,21 @@ var Xy = { exports: {} };
21099
21100
  F = z.editor.formatText(X.index, X.length, w({}, M, V));
21100
21101
  }
21101
21102
  return z.setSelection(X, h.default.sources.SILENT), F;
21102
- }, Q);
21103
+ }, Z);
21103
21104
  }
21104
21105
  }, {
21105
21106
  key: "formatLine",
21106
- value: function(M, V, z, Q, X) {
21107
- var F = this, J = void 0, ae = q(M, V, z, Q, X), Z = o(ae, 4);
21108
- return M = Z[0], V = Z[1], J = Z[2], X = Z[3], j.call(this, function() {
21107
+ value: function(M, V, z, Z, X) {
21108
+ var F = this, J = void 0, ae = U(M, V, z, Z, X), Q = o(ae, 4);
21109
+ return M = Q[0], V = Q[1], J = Q[2], X = Q[3], j.call(this, function() {
21109
21110
  return F.editor.formatLine(M, V, J);
21110
21111
  }, X, M, 0);
21111
21112
  }
21112
21113
  }, {
21113
21114
  key: "formatText",
21114
- value: function(M, V, z, Q, X) {
21115
- var F = this, J = void 0, ae = q(M, V, z, Q, X), Z = o(ae, 4);
21116
- return M = Z[0], V = Z[1], J = Z[2], X = Z[3], j.call(this, function() {
21115
+ value: function(M, V, z, Z, X) {
21116
+ var F = this, J = void 0, ae = U(M, V, z, Z, X), Q = o(ae, 4);
21117
+ return M = Q[0], V = Q[1], J = Q[2], X = Q[3], j.call(this, function() {
21117
21118
  return F.editor.formatText(M, V, J);
21118
21119
  }, X, M, 0);
21119
21120
  }
@@ -21122,21 +21123,21 @@ var Xy = { exports: {} };
21122
21123
  value: function(M) {
21123
21124
  var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = void 0;
21124
21125
  typeof M == "number" ? z = this.selection.getBounds(M, V) : z = this.selection.getBounds(M.index, M.length);
21125
- var Q = this.container.getBoundingClientRect();
21126
+ var Z = this.container.getBoundingClientRect();
21126
21127
  return {
21127
- bottom: z.bottom - Q.top,
21128
+ bottom: z.bottom - Z.top,
21128
21129
  height: z.height,
21129
- left: z.left - Q.left,
21130
- right: z.right - Q.left,
21131
- top: z.top - Q.top,
21130
+ left: z.left - Z.left,
21131
+ right: z.right - Z.left,
21132
+ top: z.top - Z.top,
21132
21133
  width: z.width
21133
21134
  };
21134
21135
  }
21135
21136
  }, {
21136
21137
  key: "getContents",
21137
21138
  value: function() {
21138
- var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = q(M, V), Q = o(z, 2);
21139
- return M = Q[0], V = Q[1], this.editor.getContents(M, V);
21139
+ var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Z = o(z, 2);
21140
+ return M = Z[0], V = Z[1], this.editor.getContents(M, V);
21140
21141
  }
21141
21142
  }, {
21142
21143
  key: "getFormat",
@@ -21184,8 +21185,8 @@ var Xy = { exports: {} };
21184
21185
  }, {
21185
21186
  key: "getText",
21186
21187
  value: function() {
21187
- var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = q(M, V), Q = o(z, 2);
21188
- return M = Q[0], V = Q[1], this.editor.getText(M, V);
21188
+ var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - M, z = U(M, V), Z = o(z, 2);
21189
+ return M = Z[0], V = Z[1], this.editor.getText(M, V);
21189
21190
  }
21190
21191
  }, {
21191
21192
  key: "hasFocus",
@@ -21195,16 +21196,16 @@ var Xy = { exports: {} };
21195
21196
  }, {
21196
21197
  key: "insertEmbed",
21197
21198
  value: function(M, V, z) {
21198
- var Q = this, X = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
21199
+ var Z = this, X = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : K.sources.API;
21199
21200
  return j.call(this, function() {
21200
- return Q.editor.insertEmbed(M, V, z);
21201
+ return Z.editor.insertEmbed(M, V, z);
21201
21202
  }, X, M);
21202
21203
  }
21203
21204
  }, {
21204
21205
  key: "insertText",
21205
- value: function(M, V, z, Q, X) {
21206
- var F = this, J = void 0, ae = q(M, 0, z, Q, X), Z = o(ae, 4);
21207
- return M = Z[0], J = Z[2], X = Z[3], j.call(this, function() {
21206
+ value: function(M, V, z, Z, X) {
21207
+ var F = this, J = void 0, ae = U(M, 0, z, Z, X), Q = o(ae, 4);
21208
+ return M = Q[0], J = Q[2], X = Q[3], j.call(this, function() {
21208
21209
  return F.editor.insertText(M, V, J);
21209
21210
  }, X, M, V.length);
21210
21211
  }
@@ -21236,9 +21237,9 @@ var Xy = { exports: {} };
21236
21237
  }, {
21237
21238
  key: "removeFormat",
21238
21239
  value: function(M, V, z) {
21239
- var Q = this, X = q(M, V, z), F = o(X, 4);
21240
+ var Z = this, X = U(M, V, z), F = o(X, 4);
21240
21241
  return M = F[0], V = F[1], z = F[3], j.call(this, function() {
21241
- return Q.editor.removeFormat(M, V);
21242
+ return Z.editor.removeFormat(M, V);
21242
21243
  }, z, M);
21243
21244
  }
21244
21245
  }, {
@@ -21252,7 +21253,7 @@ var Xy = { exports: {} };
21252
21253
  var V = this, z = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : h.default.sources.API;
21253
21254
  return j.call(this, function() {
21254
21255
  M = new u.default(M);
21255
- var Q = V.getLength(), X = V.editor.deleteText(0, Q), F = V.editor.applyDelta(M), J = F.ops[F.ops.length - 1];
21256
+ var Z = V.getLength(), X = V.editor.deleteText(0, Z), F = V.editor.applyDelta(M), J = F.ops[F.ops.length - 1];
21256
21257
  J != null && typeof J.insert == "string" && J.insert[J.insert.length - 1] === `
21257
21258
  ` && (V.editor.deleteText(V.getLength() - 1, 1), F.delete(1));
21258
21259
  var ae = X.compose(F);
@@ -21265,7 +21266,7 @@ var Xy = { exports: {} };
21265
21266
  if (M == null)
21266
21267
  this.selection.setRange(null, V || K.sources.API);
21267
21268
  else {
21268
- var Q = q(M, V, z), X = o(Q, 4);
21269
+ var Z = U(M, V, z), X = o(Z, 4);
21269
21270
  M = X[0], V = X[1], z = X[3], this.selection.setRange(new v.Range(M, V), z), z !== h.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
21270
21271
  }
21271
21272
  }
@@ -21319,29 +21320,29 @@ var Xy = { exports: {} };
21319
21320
  else if (H.theme = I.import("themes/" + H.theme), H.theme == null)
21320
21321
  throw new Error("Invalid theme " + H.theme + ". Did you register it?");
21321
21322
  var M = (0, E.default)(!0, {}, H.theme.DEFAULTS);
21322
- [M, H].forEach(function(Q) {
21323
- Q.modules = Q.modules || {}, Object.keys(Q.modules).forEach(function(X) {
21324
- Q.modules[X] === !0 && (Q.modules[X] = {});
21323
+ [M, H].forEach(function(Z) {
21324
+ Z.modules = Z.modules || {}, Object.keys(Z.modules).forEach(function(X) {
21325
+ Z.modules[X] === !0 && (Z.modules[X] = {});
21325
21326
  });
21326
21327
  });
21327
- var V = Object.keys(M.modules).concat(Object.keys(H.modules)), z = V.reduce(function(Q, X) {
21328
+ var V = Object.keys(M.modules).concat(Object.keys(H.modules)), z = V.reduce(function(Z, X) {
21328
21329
  var F = I.import("modules/" + X);
21329
- return F == null ? C.error("Cannot load " + X + " module. Are you sure you registered it?") : Q[X] = F.DEFAULTS || {}, Q;
21330
+ return F == null ? C.error("Cannot load " + X + " module. Are you sure you registered it?") : Z[X] = F.DEFAULTS || {}, Z;
21330
21331
  }, {});
21331
21332
  return H.modules != null && H.modules.toolbar && H.modules.toolbar.constructor !== Object && (H.modules.toolbar = {
21332
21333
  container: H.modules.toolbar
21333
- }), H = (0, E.default)(!0, {}, I.DEFAULTS, { modules: z }, M, H), ["bounds", "container", "scrollingContainer"].forEach(function(Q) {
21334
- typeof H[Q] == "string" && (H[Q] = document.querySelector(H[Q]));
21335
- }), H.modules = Object.keys(H.modules).reduce(function(Q, X) {
21336
- return H.modules[X] && (Q[X] = H.modules[X]), Q;
21334
+ }), H = (0, E.default)(!0, {}, I.DEFAULTS, { modules: z }, M, H), ["bounds", "container", "scrollingContainer"].forEach(function(Z) {
21335
+ typeof H[Z] == "string" && (H[Z] = document.querySelector(H[Z]));
21336
+ }), H.modules = Object.keys(H.modules).reduce(function(Z, X) {
21337
+ return H.modules[X] && (Z[X] = H.modules[X]), Z;
21337
21338
  }, {}), H;
21338
21339
  }
21339
21340
  function j(K, H, M, V) {
21340
21341
  if (this.options.strict && !this.isEnabled() && H === h.default.sources.USER)
21341
21342
  return new u.default();
21342
- var z = M == null ? null : this.getSelection(), Q = this.editor.delta, X = K();
21343
+ var z = M == null ? null : this.getSelection(), Z = this.editor.delta, X = K();
21343
21344
  if (z != null && (M === !0 && (M = z.index), V == null ? z = te(z, X, H) : V !== 0 && (z = te(z, M, V, H)), this.setSelection(z, h.default.sources.SILENT)), X.length() > 0) {
21344
- var F, J = [h.default.events.TEXT_CHANGE, X, Q, H];
21345
+ var F, J = [h.default.events.TEXT_CHANGE, X, Z, H];
21345
21346
  if ((F = this.emitter).emit.apply(F, [h.default.events.EDITOR_CHANGE].concat(J)), H !== h.default.sources.SILENT) {
21346
21347
  var ae;
21347
21348
  (ae = this.emitter).emit.apply(ae, J);
@@ -21349,28 +21350,28 @@ var Xy = { exports: {} };
21349
21350
  }
21350
21351
  return X;
21351
21352
  }
21352
- function q(K, H, M, V, z) {
21353
- var Q = {};
21354
- return typeof K.index == "number" && typeof K.length == "number" ? typeof H != "number" ? (z = V, V = M, M = H, H = K.length, K = K.index) : (H = K.length, K = K.index) : typeof H != "number" && (z = V, V = M, M = H, H = 0), (typeof M > "u" ? "undefined" : a(M)) === "object" ? (Q = M, z = V) : typeof M == "string" && (V != null ? Q[M] = V : z = M), z = z || h.default.sources.API, [K, H, Q, z];
21353
+ function U(K, H, M, V, z) {
21354
+ var Z = {};
21355
+ return typeof K.index == "number" && typeof K.length == "number" ? typeof H != "number" ? (z = V, V = M, M = H, H = K.length, K = K.index) : (H = K.length, K = K.index) : typeof H != "number" && (z = V, V = M, M = H, H = 0), (typeof M > "u" ? "undefined" : a(M)) === "object" ? (Z = M, z = V) : typeof M == "string" && (V != null ? Z[M] = V : z = M), z = z || h.default.sources.API, [K, H, Z, z];
21355
21356
  }
21356
21357
  function te(K, H, M, V) {
21357
21358
  if (K == null)
21358
21359
  return null;
21359
- var z = void 0, Q = void 0;
21360
+ var z = void 0, Z = void 0;
21360
21361
  if (H instanceof u.default) {
21361
- var X = [K.index, K.index + K.length].map(function(Z) {
21362
- return H.transformPosition(Z, V !== h.default.sources.USER);
21362
+ var X = [K.index, K.index + K.length].map(function(Q) {
21363
+ return H.transformPosition(Q, V !== h.default.sources.USER);
21363
21364
  }), F = o(X, 2);
21364
- z = F[0], Q = F[1];
21365
+ z = F[0], Z = F[1];
21365
21366
  } else {
21366
- var J = [K.index, K.index + K.length].map(function(Z) {
21367
- return Z < H || Z === H && V === h.default.sources.USER ? Z : M >= 0 ? Z + M : Math.max(H, Z + M);
21367
+ var J = [K.index, K.index + K.length].map(function(Q) {
21368
+ return Q < H || Q === H && V === h.default.sources.USER ? Q : M >= 0 ? Q + M : Math.max(H, Q + M);
21368
21369
  }), ae = o(J, 2);
21369
- z = ae[0], Q = ae[1];
21370
+ z = ae[0], Z = ae[1];
21370
21371
  }
21371
- return new v.Range(z, Q - z);
21372
+ return new v.Range(z, Z - z);
21372
21373
  }
21373
- r.expandConfig = D, r.overload = q, r.default = I;
21374
+ r.expandConfig = D, r.overload = U, r.default = I;
21374
21375
  },
21375
21376
  /* 6 */
21376
21377
  /***/
@@ -21720,8 +21721,8 @@ var Xy = { exports: {} };
21720
21721
  try {
21721
21722
  for (var D = P[Symbol.iterator](), j; !(O = (j = D.next()).done) && (w.push(j.value), !(N && w.length === N)); O = !0)
21722
21723
  ;
21723
- } catch (q) {
21724
- C = !0, I = q;
21724
+ } catch (U) {
21725
+ C = !0, I = U;
21725
21726
  } finally {
21726
21727
  try {
21727
21728
  !O && D.return && D.return();
@@ -21817,8 +21818,8 @@ var Xy = { exports: {} };
21817
21818
  if (O !== 0 && !(c.default.query(C, c.default.Scope.BLOCK) == null || C === this.statics.blotName && I === this.statics.formats(this.domNode))) {
21818
21819
  var D = this.newlineIndex(w);
21819
21820
  if (!(D < 0 || D >= w + O)) {
21820
- var j = this.newlineIndex(w, !0) + 1, q = D - j + 1, te = this.isolate(j, q), K = te.next;
21821
- te.format(C, I), K instanceof P && K.formatAt(0, w - j + O - q, C, I);
21821
+ var j = this.newlineIndex(w, !0) + 1, U = D - j + 1, te = this.isolate(j, U), K = te.next;
21822
+ te.format(C, I), K instanceof P && K.formatAt(0, w - j + O - U, C, I);
21822
21823
  }
21823
21824
  }
21824
21825
  }
@@ -21826,8 +21827,8 @@ var Xy = { exports: {} };
21826
21827
  key: "insertAt",
21827
21828
  value: function(w, O, C) {
21828
21829
  if (C == null) {
21829
- var I = this.descendant(m.default, w), D = a(I, 2), j = D[0], q = D[1];
21830
- j.insertAt(q, O);
21830
+ var I = this.descendant(m.default, w), D = a(I, 2), j = D[0], U = D[1];
21831
+ j.insertAt(U, O);
21831
21832
  }
21832
21833
  }
21833
21834
  }, {
@@ -21892,17 +21893,17 @@ var Xy = { exports: {} };
21892
21893
  return K && typeof Symbol == "function" && K.constructor === Symbol && K !== Symbol.prototype ? "symbol" : typeof K;
21893
21894
  }, o = function() {
21894
21895
  function K(H, M) {
21895
- var V = [], z = !0, Q = !1, X = void 0;
21896
+ var V = [], z = !0, Z = !1, X = void 0;
21896
21897
  try {
21897
21898
  for (var F = H[Symbol.iterator](), J; !(z = (J = F.next()).done) && (V.push(J.value), !(M && V.length === M)); z = !0)
21898
21899
  ;
21899
21900
  } catch (ae) {
21900
- Q = !0, X = ae;
21901
+ Z = !0, X = ae;
21901
21902
  } finally {
21902
21903
  try {
21903
21904
  !z && F.return && F.return();
21904
21905
  } finally {
21905
- if (Q)
21906
+ if (Z)
21906
21907
  throw X;
21907
21908
  }
21908
21909
  }
@@ -21945,15 +21946,15 @@ var Xy = { exports: {} };
21945
21946
  value: function(M) {
21946
21947
  var V = this, z = !1;
21947
21948
  this.scroll.update();
21948
- var Q = this.scroll.length();
21949
+ var Z = this.scroll.length();
21949
21950
  return this.scroll.batchStart(), M = te(M), M.reduce(function(X, F) {
21950
21951
  var J = F.retain || F.delete || F.insert.length || 1, ae = F.attributes || {};
21951
21952
  if (F.insert != null) {
21952
21953
  if (typeof F.insert == "string") {
21953
- var Z = F.insert;
21954
- Z.endsWith(`
21955
- `) && z && (z = !1, Z = Z.slice(0, -1)), X >= Q && !Z.endsWith(`
21956
- `) && (z = !0), V.scroll.insertAt(X, Z);
21954
+ var Q = F.insert;
21955
+ Q.endsWith(`
21956
+ `) && z && (z = !1, Q = Q.slice(0, -1)), X >= Z && !Q.endsWith(`
21957
+ `) && (z = !0), V.scroll.insertAt(X, Q);
21957
21958
  var se = V.scroll.line(X), he = o(se, 2), B = he[0], L = he[1], x = (0, w.default)({}, (0, v.bubbleFormats)(B));
21958
21959
  if (B instanceof b.default) {
21959
21960
  var $ = B.descendant(h.default.Leaf, L), ee = o($, 1), le = ee[0];
@@ -21961,12 +21962,12 @@ var Xy = { exports: {} };
21961
21962
  }
21962
21963
  ae = c.default.attributes.diff(x, ae) || {};
21963
21964
  } else if (a(F.insert) === "object") {
21964
- var U = Object.keys(F.insert)[0];
21965
- if (U == null)
21965
+ var q = Object.keys(F.insert)[0];
21966
+ if (q == null)
21966
21967
  return X;
21967
- V.scroll.insertAt(X, U, F.insert[U]);
21968
+ V.scroll.insertAt(X, q, F.insert[q]);
21968
21969
  }
21969
- Q += J;
21970
+ Z += J;
21970
21971
  }
21971
21972
  return Object.keys(ae).forEach(function(W) {
21972
21973
  V.scroll.formatAt(X, J, W, ae[W]);
@@ -21983,30 +21984,30 @@ var Xy = { exports: {} };
21983
21984
  }, {
21984
21985
  key: "formatLine",
21985
21986
  value: function(M, V) {
21986
- var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
21987
- return this.scroll.update(), Object.keys(Q).forEach(function(X) {
21987
+ var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
21988
+ return this.scroll.update(), Object.keys(Z).forEach(function(X) {
21988
21989
  if (!(z.scroll.whitelist != null && !z.scroll.whitelist[X])) {
21989
21990
  var F = z.scroll.lines(M, Math.max(V, 1)), J = V;
21990
21991
  F.forEach(function(ae) {
21991
- var Z = ae.length();
21992
+ var Q = ae.length();
21992
21993
  if (!(ae instanceof g.default))
21993
- ae.format(X, Q[X]);
21994
+ ae.format(X, Z[X]);
21994
21995
  else {
21995
21996
  var se = M - ae.offset(z.scroll), he = ae.newlineIndex(se + J) - se + 1;
21996
- ae.formatAt(se, he, X, Q[X]);
21997
+ ae.formatAt(se, he, X, Z[X]);
21997
21998
  }
21998
- J -= Z;
21999
+ J -= Q;
21999
22000
  });
22000
22001
  }
22001
- }), this.scroll.optimize(), this.update(new u.default().retain(M).retain(V, (0, T.default)(Q)));
22002
+ }), this.scroll.optimize(), this.update(new u.default().retain(M).retain(V, (0, T.default)(Z)));
22002
22003
  }
22003
22004
  }, {
22004
22005
  key: "formatText",
22005
22006
  value: function(M, V) {
22006
- var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22007
- return Object.keys(Q).forEach(function(X) {
22008
- z.scroll.formatAt(M, V, X, Q[X]);
22009
- }), this.update(new u.default().retain(M).retain(V, (0, T.default)(Q)));
22007
+ var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22008
+ return Object.keys(Z).forEach(function(X) {
22009
+ z.scroll.formatAt(M, V, X, Z[X]);
22010
+ }), this.update(new u.default().retain(M).retain(V, (0, T.default)(Z)));
22010
22011
  }
22011
22012
  }, {
22012
22013
  key: "getContents",
@@ -22023,19 +22024,19 @@ var Xy = { exports: {} };
22023
22024
  }, {
22024
22025
  key: "getFormat",
22025
22026
  value: function(M) {
22026
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = [], Q = [];
22027
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, z = [], Z = [];
22027
22028
  V === 0 ? this.scroll.path(M).forEach(function(F) {
22028
22029
  var J = o(F, 1), ae = J[0];
22029
- ae instanceof b.default ? z.push(ae) : ae instanceof h.default.Leaf && Q.push(ae);
22030
- }) : (z = this.scroll.lines(M, V), Q = this.scroll.descendants(h.default.Leaf, M, V));
22031
- var X = [z, Q].map(function(F) {
22030
+ ae instanceof b.default ? z.push(ae) : ae instanceof h.default.Leaf && Z.push(ae);
22031
+ }) : (z = this.scroll.lines(M, V), Z = this.scroll.descendants(h.default.Leaf, M, V));
22032
+ var X = [z, Z].map(function(F) {
22032
22033
  if (F.length === 0)
22033
22034
  return {};
22034
22035
  for (var J = (0, v.bubbleFormats)(F.shift()); Object.keys(J).length > 0; ) {
22035
22036
  var ae = F.shift();
22036
22037
  if (ae == null)
22037
22038
  return J;
22038
- J = q((0, v.bubbleFormats)(ae), J);
22039
+ J = U((0, v.bubbleFormats)(ae), J);
22039
22040
  }
22040
22041
  return J;
22041
22042
  });
@@ -22058,12 +22059,12 @@ var Xy = { exports: {} };
22058
22059
  }, {
22059
22060
  key: "insertText",
22060
22061
  value: function(M, V) {
22061
- var z = this, Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22062
+ var z = this, Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
22062
22063
  return V = V.replace(/\r\n/g, `
22063
22064
  `).replace(/\r/g, `
22064
- `), this.scroll.insertAt(M, V), Object.keys(Q).forEach(function(X) {
22065
- z.scroll.formatAt(M, V.length, X, Q[X]);
22066
- }), this.update(new u.default().retain(M).insert(V, (0, T.default)(Q)));
22065
+ `), this.scroll.insertAt(M, V), Object.keys(Z).forEach(function(X) {
22066
+ z.scroll.formatAt(M, V.length, X, Z[X]);
22067
+ }), this.update(new u.default().retain(M).insert(V, (0, T.default)(Z)));
22067
22068
  }
22068
22069
  }, {
22069
22070
  key: "isBlank",
@@ -22078,28 +22079,28 @@ var Xy = { exports: {} };
22078
22079
  }, {
22079
22080
  key: "removeFormat",
22080
22081
  value: function(M, V) {
22081
- var z = this.getText(M, V), Q = this.scroll.line(M + V), X = o(Q, 2), F = X[0], J = X[1], ae = 0, Z = new u.default();
22082
- F != null && (F instanceof g.default ? ae = F.newlineIndex(J) - J + 1 : ae = F.length() - J, Z = F.delta().slice(J, J + ae - 1).insert(`
22082
+ var z = this.getText(M, V), Z = this.scroll.line(M + V), X = o(Z, 2), F = X[0], J = X[1], ae = 0, Q = new u.default();
22083
+ F != null && (F instanceof g.default ? ae = F.newlineIndex(J) - J + 1 : ae = F.length() - J, Q = F.delta().slice(J, J + ae - 1).insert(`
22083
22084
  `));
22084
- var se = this.getContents(M, V + ae), he = se.diff(new u.default().insert(z).concat(Z)), B = new u.default().retain(M).concat(he);
22085
+ var se = this.getContents(M, V + ae), he = se.diff(new u.default().insert(z).concat(Q)), B = new u.default().retain(M).concat(he);
22085
22086
  return this.applyDelta(B);
22086
22087
  }
22087
22088
  }, {
22088
22089
  key: "update",
22089
22090
  value: function(M) {
22090
- var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Q = this.delta;
22091
+ var V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Z = this.delta;
22091
22092
  if (V.length === 1 && V[0].type === "characterData" && V[0].target.data.match(D) && h.default.find(V[0].target)) {
22092
- var X = h.default.find(V[0].target), F = (0, v.bubbleFormats)(X), J = X.offset(this.scroll), ae = V[0].oldValue.replace(m.default.CONTENTS, ""), Z = new u.default().insert(ae), se = new u.default().insert(X.value()), he = new u.default().retain(J).concat(Z.diff(se, z));
22093
+ var X = h.default.find(V[0].target), F = (0, v.bubbleFormats)(X), J = X.offset(this.scroll), ae = V[0].oldValue.replace(m.default.CONTENTS, ""), Q = new u.default().insert(ae), se = new u.default().insert(X.value()), he = new u.default().retain(J).concat(Q.diff(se, z));
22093
22094
  M = he.reduce(function(B, L) {
22094
22095
  return L.insert ? B.insert(L.insert, F) : B.push(L);
22095
- }, new u.default()), this.delta = Q.compose(M);
22096
+ }, new u.default()), this.delta = Z.compose(M);
22096
22097
  } else
22097
- this.delta = this.getDelta(), (!M || !(0, P.default)(Q.compose(M), this.delta)) && (M = Q.diff(this.delta, z));
22098
+ this.delta = this.getDelta(), (!M || !(0, P.default)(Z.compose(M), this.delta)) && (M = Z.diff(this.delta, z));
22098
22099
  return M;
22099
22100
  }
22100
22101
  }]), K;
22101
22102
  }();
22102
- function q(K, H) {
22103
+ function U(K, H) {
22103
22104
  return Object.keys(H).reduce(function(M, V) {
22104
22105
  return K[V] == null || (H[V] === K[V] ? M[V] = H[V] : Array.isArray(H[V]) ? H[V].indexOf(K[V]) < 0 && (M[V] = H[V].concat([K[V]])) : M[V] = [H[V], K[V]]), M;
22105
22106
  }, {});
@@ -22133,8 +22134,8 @@ var Xy = { exports: {} };
22133
22134
  try {
22134
22135
  for (var D = P[Symbol.iterator](), j; !(O = (j = D.next()).done) && (w.push(j.value), !(N && w.length === N)); O = !0)
22135
22136
  ;
22136
- } catch (q) {
22137
- C = !0, I = q;
22137
+ } catch (U) {
22138
+ C = !0, I = U;
22138
22139
  } finally {
22139
22140
  try {
22140
22141
  !O && D.return && D.return();
@@ -22200,8 +22201,8 @@ var Xy = { exports: {} };
22200
22201
  }
22201
22202
  }), this.emitter.on(y.default.events.SCROLL_OPTIMIZE, function(O, C) {
22202
22203
  if (C.range) {
22203
- var I = C.range, D = I.startNode, j = I.startOffset, q = I.endNode, te = I.endOffset;
22204
- w.setNativeRange(D, j, q, te);
22204
+ var I = C.range, D = I.startNode, j = I.startOffset, U = I.endNode, te = I.endOffset;
22205
+ w.setNativeRange(D, j, U, te);
22205
22206
  }
22206
22207
  }), this.update(y.default.sources.SILENT);
22207
22208
  }
@@ -22264,22 +22265,22 @@ var Xy = { exports: {} };
22264
22265
  value: function(N) {
22265
22266
  var w = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, O = this.scroll.length();
22266
22267
  N = Math.min(N, O - 1), w = Math.min(N + w, O - 1) - N;
22267
- var C = void 0, I = this.scroll.leaf(N), D = a(I, 2), j = D[0], q = D[1];
22268
+ var C = void 0, I = this.scroll.leaf(N), D = a(I, 2), j = D[0], U = D[1];
22268
22269
  if (j == null)
22269
22270
  return null;
22270
- var te = j.position(q, !0), K = a(te, 2);
22271
- C = K[0], q = K[1];
22271
+ var te = j.position(U, !0), K = a(te, 2);
22272
+ C = K[0], U = K[1];
22272
22273
  var H = document.createRange();
22273
22274
  if (w > 0) {
22274
- H.setStart(C, q);
22275
+ H.setStart(C, U);
22275
22276
  var M = this.scroll.leaf(N + w), V = a(M, 2);
22276
- if (j = V[0], q = V[1], j == null)
22277
+ if (j = V[0], U = V[1], j == null)
22277
22278
  return null;
22278
- var z = j.position(q, !0), Q = a(z, 2);
22279
- return C = Q[0], q = Q[1], H.setEnd(C, q), H.getBoundingClientRect();
22279
+ var z = j.position(U, !0), Z = a(z, 2);
22280
+ return C = Z[0], U = Z[1], H.setEnd(C, U), H.getBoundingClientRect();
22280
22281
  } else {
22281
22282
  var X = "left", F = void 0;
22282
- return C instanceof Text ? (q < C.data.length ? (H.setStart(C, q), H.setEnd(C, q + 1)) : (H.setStart(C, q - 1), H.setEnd(C, q), X = "right"), F = H.getBoundingClientRect()) : (F = j.domNode.getBoundingClientRect(), q > 0 && (X = "right")), {
22283
+ return C instanceof Text ? (U < C.data.length ? (H.setStart(C, U), H.setEnd(C, U + 1)) : (H.setStart(C, U - 1), H.setEnd(C, U), X = "right"), F = H.getBoundingClientRect()) : (F = j.domNode.getBoundingClientRect(), U > 0 && (X = "right")), {
22283
22284
  bottom: F.top + F.height,
22284
22285
  height: F.height,
22285
22286
  left: F[X],
@@ -22321,7 +22322,7 @@ var Xy = { exports: {} };
22321
22322
  var w = this, O = [[N.start.node, N.start.offset]];
22322
22323
  N.native.collapsed || O.push([N.end.node, N.end.offset]);
22323
22324
  var C = O.map(function(j) {
22324
- var q = a(j, 2), te = q[0], K = q[1], H = s.default.find(te, !0), M = H.offset(w.scroll);
22325
+ var U = a(j, 2), te = U[0], K = U[1], H = s.default.find(te, !0), M = H.offset(w.scroll);
22325
22326
  return K === 0 ? M : H instanceof s.default.Container ? M + H.length() : M + H.index(te, K);
22326
22327
  }), I = Math.min(Math.max.apply(Math, v(C)), this.scroll.length() - 1), D = Math.min.apply(Math, [I].concat(v(C)));
22327
22328
  return new E(D, I - D);
@@ -22353,8 +22354,8 @@ var Xy = { exports: {} };
22353
22354
  var w = this, O = N.collapsed ? [N.index] : [N.index, N.index + N.length], C = [], I = this.scroll.length();
22354
22355
  return O.forEach(function(D, j) {
22355
22356
  D = Math.min(I - 1, D);
22356
- var q = void 0, te = w.scroll.leaf(D), K = a(te, 2), H = K[0], M = K[1], V = H.position(M, j !== 0), z = a(V, 2);
22357
- q = z[0], M = z[1], C.push(q, M);
22357
+ var U = void 0, te = w.scroll.leaf(D), K = a(te, 2), H = K[0], M = K[1], V = H.position(M, j !== 0), z = a(V, 2);
22358
+ U = z[0], M = z[1], C.push(U, M);
22358
22359
  }), C.length < 2 && (C = C.concat(C)), C;
22359
22360
  }
22360
22361
  }, {
@@ -22364,12 +22365,12 @@ var Xy = { exports: {} };
22364
22365
  if (w != null) {
22365
22366
  var O = this.getBounds(w.index, w.length);
22366
22367
  if (O != null) {
22367
- var C = this.scroll.length() - 1, I = this.scroll.line(Math.min(w.index, C)), D = a(I, 1), j = D[0], q = j;
22368
+ var C = this.scroll.length() - 1, I = this.scroll.line(Math.min(w.index, C)), D = a(I, 1), j = D[0], U = j;
22368
22369
  if (w.length > 0) {
22369
22370
  var te = this.scroll.line(Math.min(w.index + w.length, C)), K = a(te, 1);
22370
- q = K[0];
22371
+ U = K[0];
22371
22372
  }
22372
- if (!(j == null || q == null)) {
22373
+ if (!(j == null || U == null)) {
22373
22374
  var H = N.getBoundingClientRect();
22374
22375
  O.top < H.top ? N.scrollTop -= H.top - O.top : O.bottom > H.bottom && (N.scrollTop += O.bottom - H.bottom);
22375
22376
  }
@@ -22388,8 +22389,8 @@ var Xy = { exports: {} };
22388
22389
  var j = (this.getNativeRange() || {}).native;
22389
22390
  if (j == null || I || N !== j.startContainer || w !== j.startOffset || O !== j.endContainer || C !== j.endOffset) {
22390
22391
  N.tagName == "BR" && (w = [].indexOf.call(N.parentNode.childNodes, N), N = N.parentNode), O.tagName == "BR" && (C = [].indexOf.call(O.parentNode.childNodes, O), O = O.parentNode);
22391
- var q = document.createRange();
22392
- q.setStart(N, w), q.setEnd(O, C), D.removeAllRanges(), D.addRange(q);
22392
+ var U = document.createRange();
22393
+ U.setStart(N, w), U.setEnd(O, C), D.removeAllRanges(), D.addRange(U);
22393
22394
  }
22394
22395
  } else
22395
22396
  D.removeAllRanges(), this.root.blur(), document.body.focus();
@@ -22413,10 +22414,10 @@ var Xy = { exports: {} };
22413
22414
  if (this.lastRange = I, this.lastRange != null && (this.savedRange = this.lastRange), !(0, d.default)(w, this.lastRange)) {
22414
22415
  var j;
22415
22416
  !this.composing && D != null && D.native.collapsed && D.start.node !== this.cursor.textNode && this.cursor.restore();
22416
- var q = [y.default.events.SELECTION_CHANGE, (0, f.default)(this.lastRange), (0, f.default)(w), N];
22417
- if ((j = this.emitter).emit.apply(j, [y.default.events.EDITOR_CHANGE].concat(q)), N !== y.default.sources.SILENT) {
22417
+ var U = [y.default.events.SELECTION_CHANGE, (0, f.default)(this.lastRange), (0, f.default)(w), N];
22418
+ if ((j = this.emitter).emit.apply(j, [y.default.events.EDITOR_CHANGE].concat(U)), N !== y.default.sources.SILENT) {
22418
22419
  var te;
22419
- (te = this.emitter).emit.apply(te, q);
22420
+ (te = this.emitter).emit.apply(te, U);
22420
22421
  }
22421
22422
  }
22422
22423
  }
@@ -22912,15 +22913,15 @@ var Xy = { exports: {} };
22912
22913
  }
22913
22914
  if (Object.getOwnPropertySymbols)
22914
22915
  for (var D = Object.getOwnPropertySymbols(S), C = 0; C < D.length; C++) {
22915
- var j = D[C], q = Object.getOwnPropertyDescriptor(S, j);
22916
- q && !q.enumerable && !b || (N[j] = T(S[j], P - 1), q.enumerable || Object.defineProperty(N, j, {
22916
+ var j = D[C], U = Object.getOwnPropertyDescriptor(S, j);
22917
+ U && !U.enumerable && !b || (N[j] = T(S[j], P - 1), U.enumerable || Object.defineProperty(N, j, {
22917
22918
  enumerable: !1
22918
22919
  }));
22919
22920
  }
22920
22921
  if (b)
22921
22922
  for (var te = Object.getOwnPropertyNames(S), C = 0; C < te.length; C++) {
22922
- var K = te[C], q = Object.getOwnPropertyDescriptor(S, K);
22923
- q && q.enumerable || (N[K] = T(S[K], P - 1), Object.defineProperty(N, K, {
22923
+ var K = te[C], U = Object.getOwnPropertyDescriptor(S, K);
22924
+ U && U.enumerable || (N[K] = T(S[K], P - 1), Object.defineProperty(N, K, {
22924
22925
  enumerable: !1
22925
22926
  }));
22926
22927
  }
@@ -22969,13 +22970,13 @@ var Xy = { exports: {} };
22969
22970
  function N(w, O) {
22970
22971
  var C = [], I = !0, D = !1, j = void 0;
22971
22972
  try {
22972
- for (var q = w[Symbol.iterator](), te; !(I = (te = q.next()).done) && (C.push(te.value), !(O && C.length === O)); I = !0)
22973
+ for (var U = w[Symbol.iterator](), te; !(I = (te = U.next()).done) && (C.push(te.value), !(O && C.length === O)); I = !0)
22973
22974
  ;
22974
22975
  } catch (K) {
22975
22976
  D = !0, j = K;
22976
22977
  } finally {
22977
22978
  try {
22978
- !I && q.return && q.return();
22979
+ !I && U.return && U.return();
22979
22980
  } finally {
22980
22981
  if (D)
22981
22982
  throw j;
@@ -23056,15 +23057,15 @@ var Xy = { exports: {} };
23056
23057
  }, {
23057
23058
  key: "deleteAt",
23058
23059
  value: function(C, I) {
23059
- var D = this.line(C), j = a(D, 2), q = j[0], te = j[1], K = this.line(C + I), H = a(K, 1), M = H[0];
23060
- if (l(w.prototype.__proto__ || Object.getPrototypeOf(w.prototype), "deleteAt", this).call(this, C, I), M != null && q !== M && te > 0) {
23061
- if (q instanceof d.BlockEmbed || M instanceof d.BlockEmbed) {
23060
+ var D = this.line(C), j = a(D, 2), U = j[0], te = j[1], K = this.line(C + I), H = a(K, 1), M = H[0];
23061
+ if (l(w.prototype.__proto__ || Object.getPrototypeOf(w.prototype), "deleteAt", this).call(this, C, I), M != null && U !== M && te > 0) {
23062
+ if (U instanceof d.BlockEmbed || M instanceof d.BlockEmbed) {
23062
23063
  this.optimize();
23063
23064
  return;
23064
23065
  }
23065
- if (q instanceof m.default) {
23066
- var V = q.newlineIndex(q.length(), !0);
23067
- if (V > -1 && (q = q.split(V + 1), q === M)) {
23066
+ if (U instanceof m.default) {
23067
+ var V = U.newlineIndex(U.length(), !0);
23068
+ if (V > -1 && (U = U.split(V + 1), U === M)) {
23068
23069
  this.optimize();
23069
23070
  return;
23070
23071
  }
@@ -23072,8 +23073,8 @@ var Xy = { exports: {} };
23072
23073
  var z = M.newlineIndex(0);
23073
23074
  z > -1 && M.split(z + 1);
23074
23075
  }
23075
- var Q = M.children.head instanceof g.default ? null : M.children.head;
23076
- q.moveChildren(M, Q), q.remove();
23076
+ var Z = M.children.head instanceof g.default ? null : M.children.head;
23077
+ U.moveChildren(M, Z), U.remove();
23077
23078
  }
23078
23079
  this.optimize();
23079
23080
  }
@@ -23098,8 +23099,8 @@ var Xy = { exports: {} };
23098
23099
  this.appendChild(j), D == null && I.endsWith(`
23099
23100
  `) && (I = I.slice(0, -1)), j.insertAt(0, I, D);
23100
23101
  } else {
23101
- var q = u.default.create(I, D);
23102
- this.appendChild(q);
23102
+ var U = u.default.create(I, D);
23103
+ this.appendChild(U);
23103
23104
  }
23104
23105
  else
23105
23106
  l(w.prototype.__proto__ || Object.getPrototypeOf(w.prototype), "insertAt", this).call(this, C, I, D);
@@ -23128,10 +23129,10 @@ var Xy = { exports: {} };
23128
23129
  }, {
23129
23130
  key: "lines",
23130
23131
  value: function() {
23131
- var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, D = function j(q, te, K) {
23132
+ var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, I = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, D = function j(U, te, K) {
23132
23133
  var H = [], M = K;
23133
- return q.children.forEachAt(te, K, function(V, z, Q) {
23134
- S(V) ? H.push(V) : V instanceof u.default.Container && (H = H.concat(j(V, z, M))), M -= Q;
23134
+ return U.children.forEachAt(te, K, function(V, z, Z) {
23135
+ S(V) ? H.push(V) : V instanceof u.default.Container && (H = H.concat(j(V, z, M))), M -= Z;
23135
23136
  }), H;
23136
23137
  };
23137
23138
  return D(this, C, I);
@@ -23171,9 +23172,9 @@ var Xy = { exports: {} };
23171
23172
  return F && typeof Symbol == "function" && F.constructor === Symbol && F !== Symbol.prototype ? "symbol" : typeof F;
23172
23173
  }, o = function() {
23173
23174
  function F(J, ae) {
23174
- var Z = [], se = !0, he = !1, B = void 0;
23175
+ var Q = [], se = !0, he = !1, B = void 0;
23175
23176
  try {
23176
- for (var L = J[Symbol.iterator](), x; !(se = (x = L.next()).done) && (Z.push(x.value), !(ae && Z.length === ae)); se = !0)
23177
+ for (var L = J[Symbol.iterator](), x; !(se = (x = L.next()).done) && (Q.push(x.value), !(ae && Q.length === ae)); se = !0)
23177
23178
  ;
23178
23179
  } catch ($) {
23179
23180
  he = !0, B = $;
@@ -23185,7 +23186,7 @@ var Xy = { exports: {} };
23185
23186
  throw B;
23186
23187
  }
23187
23188
  }
23188
- return Z;
23189
+ return Q;
23189
23190
  }
23190
23191
  return function(J, ae) {
23191
23192
  if (Array.isArray(J))
@@ -23196,13 +23197,13 @@ var Xy = { exports: {} };
23196
23197
  };
23197
23198
  }(), l = function() {
23198
23199
  function F(J, ae) {
23199
- for (var Z = 0; Z < ae.length; Z++) {
23200
- var se = ae[Z];
23200
+ for (var Q = 0; Q < ae.length; Q++) {
23201
+ var se = ae[Q];
23201
23202
  se.enumerable = se.enumerable || !1, se.configurable = !0, "value" in se && (se.writable = !0), Object.defineProperty(J, se.key, se);
23202
23203
  }
23203
23204
  }
23204
- return function(J, ae, Z) {
23205
- return ae && F(J.prototype, ae), Z && F(J, Z), J;
23205
+ return function(J, ae, Q) {
23206
+ return ae && F(J.prototype, ae), Q && F(J, Q), J;
23206
23207
  };
23207
23208
  }(), s = i(21), u = N(s), f = i(11), c = N(f), d = i(3), h = N(d), y = i(2), g = N(y), _ = i(20), m = N(_), v = i(0), b = N(v), p = i(5), E = N(p), k = i(10), T = N(k), S = i(9), P = N(S);
23208
23209
  function N(F) {
@@ -23225,18 +23226,18 @@ var Xy = { exports: {} };
23225
23226
  throw new TypeError("Super expression must either be null or a function, not " + typeof J);
23226
23227
  F.prototype = Object.create(J && J.prototype, { constructor: { value: F, enumerable: !1, writable: !0, configurable: !0 } }), J && (Object.setPrototypeOf ? Object.setPrototypeOf(F, J) : F.__proto__ = J);
23227
23228
  }
23228
- var D = (0, T.default)("quill:keyboard"), j = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", q = function(F) {
23229
+ var D = (0, T.default)("quill:keyboard"), j = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", U = function(F) {
23229
23230
  I(J, F), l(J, null, [{
23230
23231
  key: "match",
23231
- value: function(Z, se) {
23232
+ value: function(Q, se) {
23232
23233
  return se = X(se), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(he) {
23233
- return !!se[he] !== Z[he] && se[he] !== null;
23234
- }) ? !1 : se.key === (Z.which || Z.keyCode);
23234
+ return !!se[he] !== Q[he] && se[he] !== null;
23235
+ }) ? !1 : se.key === (Q.which || Q.keyCode);
23235
23236
  }
23236
23237
  }]);
23237
- function J(ae, Z) {
23238
+ function J(ae, Q) {
23238
23239
  O(this, J);
23239
- var se = C(this, (J.__proto__ || Object.getPrototypeOf(J)).call(this, ae, Z));
23240
+ var se = C(this, (J.__proto__ || Object.getPrototypeOf(J)).call(this, ae, Q));
23240
23241
  return se.bindings = {}, Object.keys(se.options.bindings).forEach(function(he) {
23241
23242
  he === "list autofill" && ae.scroll.whitelist != null && !ae.scroll.whitelist.list || se.options.bindings[he] && se.addBinding(se.options.bindings[he]);
23242
23243
  }), se.addBinding({ key: J.keys.ENTER, shiftKey: null }, V), se.addBinding({ key: J.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
@@ -23244,8 +23245,8 @@ var Xy = { exports: {} };
23244
23245
  }
23245
23246
  return l(J, [{
23246
23247
  key: "addBinding",
23247
- value: function(Z) {
23248
- var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, B = X(Z);
23248
+ value: function(Q) {
23249
+ var se = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, he = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, B = X(Q);
23249
23250
  if (B == null || B.key == null)
23250
23251
  return D.warn("Attempted to add invalid keyboard binding", B);
23251
23252
  typeof se == "function" && (se = { handler: se }), typeof he == "function" && (he = { handler: he }), B = (0, h.default)(B, se, he), this.bindings[B.key] = this.bindings[B.key] || [], this.bindings[B.key].push(B);
@@ -23253,19 +23254,19 @@ var Xy = { exports: {} };
23253
23254
  }, {
23254
23255
  key: "listen",
23255
23256
  value: function() {
23256
- var Z = this;
23257
+ var Q = this;
23257
23258
  this.quill.root.addEventListener("keydown", function(se) {
23258
23259
  if (!se.defaultPrevented) {
23259
- var he = se.which || se.keyCode, B = (Z.bindings[he] || []).filter(function(Te) {
23260
+ var he = se.which || se.keyCode, B = (Q.bindings[he] || []).filter(function(Te) {
23260
23261
  return J.match(se, Te);
23261
23262
  });
23262
23263
  if (B.length !== 0) {
23263
- var L = Z.quill.getSelection();
23264
- if (!(L == null || !Z.quill.hasFocus())) {
23265
- var x = Z.quill.getLine(L.index), $ = o(x, 2), ee = $[0], le = $[1], U = Z.quill.getLeaf(L.index), W = o(U, 2), re = W[0], ie = W[1], oe = L.length === 0 ? [re, ie] : Z.quill.getLeaf(L.index + L.length), ce = o(oe, 2), G = ce[0], ne = ce[1], pe = re instanceof b.default.Text ? re.value().slice(0, ie) : "", ge = G instanceof b.default.Text ? G.value().slice(ne) : "", ve = {
23264
+ var L = Q.quill.getSelection();
23265
+ if (!(L == null || !Q.quill.hasFocus())) {
23266
+ var x = Q.quill.getLine(L.index), $ = o(x, 2), ee = $[0], le = $[1], q = Q.quill.getLeaf(L.index), W = o(q, 2), ne = W[0], ie = W[1], oe = L.length === 0 ? [ne, ie] : Q.quill.getLeaf(L.index + L.length), ce = o(oe, 2), G = ce[0], re = ce[1], pe = ne instanceof b.default.Text ? ne.value().slice(0, ie) : "", ge = G instanceof b.default.Text ? G.value().slice(re) : "", ve = {
23266
23267
  collapsed: L.length === 0,
23267
23268
  empty: L.length === 0 && ee.length() <= 1,
23268
- format: Z.quill.getFormat(L),
23269
+ format: Q.quill.getFormat(L),
23269
23270
  offset: le,
23270
23271
  prefix: pe,
23271
23272
  suffix: ge
@@ -23281,7 +23282,7 @@ var Xy = { exports: {} };
23281
23282
  return Te.format[nt] === !0 ? ve.format[nt] != null : Te.format[nt] === !1 ? ve.format[nt] == null : (0, c.default)(Te.format[nt], ve.format[nt]);
23282
23283
  }))
23283
23284
  return !1;
23284
- return Te.prefix != null && !Te.prefix.test(ve.prefix) || Te.suffix != null && !Te.suffix.test(ve.suffix) ? !1 : Te.handler.call(Z, L, ve) !== !0;
23285
+ return Te.prefix != null && !Te.prefix.test(ve.prefix) || Te.suffix != null && !Te.suffix.test(ve.suffix) ? !1 : Te.handler.call(Q, L, ve) !== !0;
23285
23286
  });
23286
23287
  Re && se.preventDefault();
23287
23288
  }
@@ -23291,7 +23292,7 @@ var Xy = { exports: {} };
23291
23292
  }
23292
23293
  }]), J;
23293
23294
  }(P.default);
23294
- q.keys = {
23295
+ U.keys = {
23295
23296
  BACKSPACE: 8,
23296
23297
  TAB: 9,
23297
23298
  ENTER: 13,
@@ -23301,14 +23302,14 @@ var Xy = { exports: {} };
23301
23302
  RIGHT: 39,
23302
23303
  DOWN: 40,
23303
23304
  DELETE: 46
23304
- }, q.DEFAULTS = {
23305
+ }, U.DEFAULTS = {
23305
23306
  bindings: {
23306
- bold: Q("bold"),
23307
- italic: Q("italic"),
23308
- underline: Q("underline"),
23307
+ bold: Z("bold"),
23308
+ italic: Z("italic"),
23309
+ underline: Z("underline"),
23309
23310
  indent: {
23310
23311
  // highlight tab or tab at beginning of list, indent or blockquote
23311
- key: q.keys.TAB,
23312
+ key: U.keys.TAB,
23312
23313
  format: ["blockquote", "indent", "list"],
23313
23314
  handler: function(J, ae) {
23314
23315
  if (ae.collapsed && ae.offset !== 0)
@@ -23317,7 +23318,7 @@ var Xy = { exports: {} };
23317
23318
  }
23318
23319
  },
23319
23320
  outdent: {
23320
- key: q.keys.TAB,
23321
+ key: U.keys.TAB,
23321
23322
  shiftKey: !0,
23322
23323
  format: ["blockquote", "indent", "list"],
23323
23324
  // highlight tab or tab at beginning of list, indent or blockquote
@@ -23328,7 +23329,7 @@ var Xy = { exports: {} };
23328
23329
  }
23329
23330
  },
23330
23331
  "outdent backspace": {
23331
- key: q.keys.BACKSPACE,
23332
+ key: U.keys.BACKSPACE,
23332
23333
  collapsed: !0,
23333
23334
  shiftKey: null,
23334
23335
  metaKey: null,
@@ -23343,7 +23344,7 @@ var Xy = { exports: {} };
23343
23344
  "indent code-block": z(!0),
23344
23345
  "outdent code-block": z(!1),
23345
23346
  "remove tab": {
23346
- key: q.keys.TAB,
23347
+ key: U.keys.TAB,
23347
23348
  shiftKey: !0,
23348
23349
  collapsed: !0,
23349
23350
  prefix: /\t$/,
@@ -23352,7 +23353,7 @@ var Xy = { exports: {} };
23352
23353
  }
23353
23354
  },
23354
23355
  tab: {
23355
- key: q.keys.TAB,
23356
+ key: U.keys.TAB,
23356
23357
  handler: function(J) {
23357
23358
  this.quill.history.cutoff();
23358
23359
  var ae = new g.default().retain(J.index).delete(J.length).insert(" ");
@@ -23360,7 +23361,7 @@ var Xy = { exports: {} };
23360
23361
  }
23361
23362
  },
23362
23363
  "list empty enter": {
23363
- key: q.keys.ENTER,
23364
+ key: U.keys.ENTER,
23364
23365
  collapsed: !0,
23365
23366
  format: ["list"],
23366
23367
  empty: !0,
@@ -23369,22 +23370,22 @@ var Xy = { exports: {} };
23369
23370
  }
23370
23371
  },
23371
23372
  "checklist enter": {
23372
- key: q.keys.ENTER,
23373
+ key: U.keys.ENTER,
23373
23374
  collapsed: !0,
23374
23375
  format: { list: "checked" },
23375
23376
  handler: function(J) {
23376
- var ae = this.quill.getLine(J.index), Z = o(ae, 2), se = Z[0], he = Z[1], B = (0, h.default)({}, se.formats(), { list: "checked" }), L = new g.default().retain(J.index).insert(`
23377
+ var ae = this.quill.getLine(J.index), Q = o(ae, 2), se = Q[0], he = Q[1], B = (0, h.default)({}, se.formats(), { list: "checked" }), L = new g.default().retain(J.index).insert(`
23377
23378
  `, B).retain(se.length() - he - 1).retain(1, { list: "unchecked" });
23378
23379
  this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(J.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23379
23380
  }
23380
23381
  },
23381
23382
  "header enter": {
23382
- key: q.keys.ENTER,
23383
+ key: U.keys.ENTER,
23383
23384
  collapsed: !0,
23384
23385
  format: ["header"],
23385
23386
  suffix: /^$/,
23386
23387
  handler: function(J, ae) {
23387
- var Z = this.quill.getLine(J.index), se = o(Z, 2), he = se[0], B = se[1], L = new g.default().retain(J.index).insert(`
23388
+ var Q = this.quill.getLine(J.index), se = o(Q, 2), he = se[0], B = se[1], L = new g.default().retain(J.index).insert(`
23388
23389
  `, ae.format).retain(he.length() - B - 1).retain(1, { header: null });
23389
23390
  this.quill.updateContents(L, E.default.sources.USER), this.quill.setSelection(J.index + 1, E.default.sources.SILENT), this.quill.scrollIntoView();
23390
23391
  }
@@ -23395,8 +23396,8 @@ var Xy = { exports: {} };
23395
23396
  format: { list: !1 },
23396
23397
  prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
23397
23398
  handler: function(J, ae) {
23398
- var Z = ae.prefix.length, se = this.quill.getLine(J.index), he = o(se, 2), B = he[0], L = he[1];
23399
- if (L > Z)
23399
+ var Q = ae.prefix.length, se = this.quill.getLine(J.index), he = o(se, 2), B = he[0], L = he[1];
23400
+ if (L > Q)
23400
23401
  return !0;
23401
23402
  var x = void 0;
23402
23403
  switch (ae.prefix.trim()) {
@@ -23415,43 +23416,43 @@ var Xy = { exports: {} };
23415
23416
  x = "ordered";
23416
23417
  }
23417
23418
  this.quill.insertText(J.index, " ", E.default.sources.USER), this.quill.history.cutoff();
23418
- var $ = new g.default().retain(J.index - L).delete(Z + 1).retain(B.length() - 2 - L).retain(1, { list: x });
23419
- this.quill.updateContents($, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(J.index - Z, E.default.sources.SILENT);
23419
+ var $ = new g.default().retain(J.index - L).delete(Q + 1).retain(B.length() - 2 - L).retain(1, { list: x });
23420
+ this.quill.updateContents($, E.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(J.index - Q, E.default.sources.SILENT);
23420
23421
  }
23421
23422
  },
23422
23423
  "code exit": {
23423
- key: q.keys.ENTER,
23424
+ key: U.keys.ENTER,
23424
23425
  collapsed: !0,
23425
23426
  format: ["code-block"],
23426
23427
  prefix: /\n\n$/,
23427
23428
  suffix: /^\s+$/,
23428
23429
  handler: function(J) {
23429
- var ae = this.quill.getLine(J.index), Z = o(ae, 2), se = Z[0], he = Z[1], B = new g.default().retain(J.index + se.length() - he - 2).retain(1, { "code-block": null }).delete(1);
23430
+ var ae = this.quill.getLine(J.index), Q = o(ae, 2), se = Q[0], he = Q[1], B = new g.default().retain(J.index + se.length() - he - 2).retain(1, { "code-block": null }).delete(1);
23430
23431
  this.quill.updateContents(B, E.default.sources.USER);
23431
23432
  }
23432
23433
  },
23433
- "embed left": te(q.keys.LEFT, !1),
23434
- "embed left shift": te(q.keys.LEFT, !0),
23435
- "embed right": te(q.keys.RIGHT, !1),
23436
- "embed right shift": te(q.keys.RIGHT, !0)
23434
+ "embed left": te(U.keys.LEFT, !1),
23435
+ "embed left shift": te(U.keys.LEFT, !0),
23436
+ "embed right": te(U.keys.RIGHT, !1),
23437
+ "embed right shift": te(U.keys.RIGHT, !0)
23437
23438
  }
23438
23439
  };
23439
23440
  function te(F, J) {
23440
- var ae, Z = F === q.keys.LEFT ? "prefix" : "suffix";
23441
+ var ae, Q = F === U.keys.LEFT ? "prefix" : "suffix";
23441
23442
  return ae = {
23442
23443
  key: F,
23443
23444
  shiftKey: J,
23444
23445
  altKey: null
23445
- }, w(ae, Z, /^$/), w(ae, "handler", function(he) {
23446
+ }, w(ae, Q, /^$/), w(ae, "handler", function(he) {
23446
23447
  var B = he.index;
23447
- F === q.keys.RIGHT && (B += he.length + 1);
23448
+ F === U.keys.RIGHT && (B += he.length + 1);
23448
23449
  var L = this.quill.getLeaf(B), x = o(L, 1), $ = x[0];
23449
- return $ instanceof b.default.Embed ? (F === q.keys.LEFT ? J ? this.quill.setSelection(he.index - 1, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index - 1, E.default.sources.USER) : J ? this.quill.setSelection(he.index, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index + he.length + 1, E.default.sources.USER), !1) : !0;
23450
+ return $ instanceof b.default.Embed ? (F === U.keys.LEFT ? J ? this.quill.setSelection(he.index - 1, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index - 1, E.default.sources.USER) : J ? this.quill.setSelection(he.index, he.length + 1, E.default.sources.USER) : this.quill.setSelection(he.index + he.length + 1, E.default.sources.USER), !1) : !0;
23450
23451
  }), ae;
23451
23452
  }
23452
23453
  function K(F, J) {
23453
23454
  if (!(F.index === 0 || this.quill.getLength() <= 1)) {
23454
- var ae = this.quill.getLine(F.index), Z = o(ae, 1), se = Z[0], he = {};
23455
+ var ae = this.quill.getLine(F.index), Q = o(ae, 1), se = Q[0], he = {};
23455
23456
  if (J.offset === 0) {
23456
23457
  var B = this.quill.getLine(F.index - 1), L = o(B, 1), x = L[0];
23457
23458
  if (x != null && x.length() > 1) {
@@ -23466,59 +23467,59 @@ var Xy = { exports: {} };
23466
23467
  function H(F, J) {
23467
23468
  var ae = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(J.suffix) ? 2 : 1;
23468
23469
  if (!(F.index >= this.quill.getLength() - ae)) {
23469
- var Z = {}, se = 0, he = this.quill.getLine(F.index), B = o(he, 1), L = B[0];
23470
+ var Q = {}, se = 0, he = this.quill.getLine(F.index), B = o(he, 1), L = B[0];
23470
23471
  if (J.offset >= L.length() - 1) {
23471
23472
  var x = this.quill.getLine(F.index + 1), $ = o(x, 1), ee = $[0];
23472
23473
  if (ee) {
23473
- var le = L.formats(), U = this.quill.getFormat(F.index, 1);
23474
- Z = m.default.attributes.diff(le, U) || {}, se = ee.length();
23474
+ var le = L.formats(), q = this.quill.getFormat(F.index, 1);
23475
+ Q = m.default.attributes.diff(le, q) || {}, se = ee.length();
23475
23476
  }
23476
23477
  }
23477
- this.quill.deleteText(F.index, ae, E.default.sources.USER), Object.keys(Z).length > 0 && this.quill.formatLine(F.index + se - 1, ae, Z, E.default.sources.USER);
23478
+ this.quill.deleteText(F.index, ae, E.default.sources.USER), Object.keys(Q).length > 0 && this.quill.formatLine(F.index + se - 1, ae, Q, E.default.sources.USER);
23478
23479
  }
23479
23480
  }
23480
23481
  function M(F) {
23481
23482
  var J = this.quill.getLines(F), ae = {};
23482
23483
  if (J.length > 1) {
23483
- var Z = J[0].formats(), se = J[J.length - 1].formats();
23484
- ae = m.default.attributes.diff(se, Z) || {};
23484
+ var Q = J[0].formats(), se = J[J.length - 1].formats();
23485
+ ae = m.default.attributes.diff(se, Q) || {};
23485
23486
  }
23486
23487
  this.quill.deleteText(F, E.default.sources.USER), Object.keys(ae).length > 0 && this.quill.formatLine(F.index, 1, ae, E.default.sources.USER), this.quill.setSelection(F.index, E.default.sources.SILENT), this.quill.focus();
23487
23488
  }
23488
23489
  function V(F, J) {
23489
23490
  var ae = this;
23490
23491
  F.length > 0 && this.quill.scroll.deleteAt(F.index, F.length);
23491
- var Z = Object.keys(J.format).reduce(function(se, he) {
23492
+ var Q = Object.keys(J.format).reduce(function(se, he) {
23492
23493
  return b.default.query(he, b.default.Scope.BLOCK) && !Array.isArray(J.format[he]) && (se[he] = J.format[he]), se;
23493
23494
  }, {});
23494
23495
  this.quill.insertText(F.index, `
23495
- `, Z, E.default.sources.USER), this.quill.setSelection(F.index + 1, E.default.sources.SILENT), this.quill.focus(), Object.keys(J.format).forEach(function(se) {
23496
- Z[se] == null && (Array.isArray(J.format[se]) || se !== "link" && ae.quill.format(se, J.format[se], E.default.sources.USER));
23496
+ `, Q, E.default.sources.USER), this.quill.setSelection(F.index + 1, E.default.sources.SILENT), this.quill.focus(), Object.keys(J.format).forEach(function(se) {
23497
+ Q[se] == null && (Array.isArray(J.format[se]) || se !== "link" && ae.quill.format(se, J.format[se], E.default.sources.USER));
23497
23498
  });
23498
23499
  }
23499
23500
  function z(F) {
23500
23501
  return {
23501
- key: q.keys.TAB,
23502
+ key: U.keys.TAB,
23502
23503
  shiftKey: !F,
23503
23504
  format: { "code-block": !0 },
23504
23505
  handler: function(ae) {
23505
- var Z = b.default.query("code-block"), se = ae.index, he = ae.length, B = this.quill.scroll.descendant(Z, se), L = o(B, 2), x = L[0], $ = L[1];
23506
+ var Q = b.default.query("code-block"), se = ae.index, he = ae.length, B = this.quill.scroll.descendant(Q, se), L = o(B, 2), x = L[0], $ = L[1];
23506
23507
  if (x != null) {
23507
- var ee = this.quill.getIndex(x), le = x.newlineIndex($, !0) + 1, U = x.newlineIndex(ee + $ + he), W = x.domNode.textContent.slice(le, U).split(`
23508
+ var ee = this.quill.getIndex(x), le = x.newlineIndex($, !0) + 1, q = x.newlineIndex(ee + $ + he), W = x.domNode.textContent.slice(le, q).split(`
23508
23509
  `);
23509
- $ = 0, W.forEach(function(re, ie) {
23510
- F ? (x.insertAt(le + $, Z.TAB), $ += Z.TAB.length, ie === 0 ? se += Z.TAB.length : he += Z.TAB.length) : re.startsWith(Z.TAB) && (x.deleteAt(le + $, Z.TAB.length), $ -= Z.TAB.length, ie === 0 ? se -= Z.TAB.length : he -= Z.TAB.length), $ += re.length + 1;
23510
+ $ = 0, W.forEach(function(ne, ie) {
23511
+ F ? (x.insertAt(le + $, Q.TAB), $ += Q.TAB.length, ie === 0 ? se += Q.TAB.length : he += Q.TAB.length) : ne.startsWith(Q.TAB) && (x.deleteAt(le + $, Q.TAB.length), $ -= Q.TAB.length, ie === 0 ? se -= Q.TAB.length : he -= Q.TAB.length), $ += ne.length + 1;
23511
23512
  }), this.quill.update(E.default.sources.USER), this.quill.setSelection(se, he, E.default.sources.SILENT);
23512
23513
  }
23513
23514
  }
23514
23515
  };
23515
23516
  }
23516
- function Q(F) {
23517
+ function Z(F) {
23517
23518
  return {
23518
23519
  key: F[0].toUpperCase(),
23519
23520
  shortKey: !0,
23520
- handler: function(ae, Z) {
23521
- this.quill.format(F, !Z.format[F], E.default.sources.USER);
23521
+ handler: function(ae, Q) {
23522
+ this.quill.format(F, !Q.format[F], E.default.sources.USER);
23522
23523
  }
23523
23524
  };
23524
23525
  }
@@ -23526,15 +23527,15 @@ var Xy = { exports: {} };
23526
23527
  if (typeof F == "string" || typeof F == "number")
23527
23528
  return X({ key: F });
23528
23529
  if ((typeof F > "u" ? "undefined" : a(F)) === "object" && (F = (0, u.default)(F, !1)), typeof F.key == "string")
23529
- if (q.keys[F.key.toUpperCase()] != null)
23530
- F.key = q.keys[F.key.toUpperCase()];
23530
+ if (U.keys[F.key.toUpperCase()] != null)
23531
+ F.key = U.keys[F.key.toUpperCase()];
23531
23532
  else if (F.key.length === 1)
23532
23533
  F.key = F.key.toUpperCase().charCodeAt(0);
23533
23534
  else
23534
23535
  return null;
23535
23536
  return F.shortKey && (F[j] = F.shortKey, delete F.shortKey), F;
23536
23537
  }
23537
- r.default = q, r.SHORTKEY = j;
23538
+ r.default = U, r.SHORTKEY = j;
23538
23539
  },
23539
23540
  /* 24 */
23540
23541
  /***/
@@ -24723,21 +24724,21 @@ var Xy = { exports: {} };
24723
24724
  value: !0
24724
24725
  }), r.default = r.BaseTooltip = void 0;
24725
24726
  var a = function() {
24726
- function V(z, Q) {
24727
- for (var X = 0; X < Q.length; X++) {
24728
- var F = Q[X];
24727
+ function V(z, Z) {
24728
+ for (var X = 0; X < Z.length; X++) {
24729
+ var F = Z[X];
24729
24730
  F.enumerable = F.enumerable || !1, F.configurable = !0, "value" in F && (F.writable = !0), Object.defineProperty(z, F.key, F);
24730
24731
  }
24731
24732
  }
24732
- return function(z, Q, X) {
24733
- return Q && V(z.prototype, Q), X && V(z, X), z;
24733
+ return function(z, Z, X) {
24734
+ return Z && V(z.prototype, Z), X && V(z, X), z;
24734
24735
  };
24735
- }(), o = function V(z, Q, X) {
24736
+ }(), o = function V(z, Z, X) {
24736
24737
  z === null && (z = Function.prototype);
24737
- var F = Object.getOwnPropertyDescriptor(z, Q);
24738
+ var F = Object.getOwnPropertyDescriptor(z, Z);
24738
24739
  if (F === void 0) {
24739
24740
  var J = Object.getPrototypeOf(z);
24740
- return J === null ? void 0 : V(J, Q, X);
24741
+ return J === null ? void 0 : V(J, Z, X);
24741
24742
  } else {
24742
24743
  if ("value" in F)
24743
24744
  return F.value;
@@ -24762,18 +24763,18 @@ var Xy = { exports: {} };
24762
24763
  throw new TypeError("Super expression must either be null or a function, not " + typeof z);
24763
24764
  V.prototype = Object.create(z && z.prototype, { constructor: { value: V, enumerable: !1, writable: !0, configurable: !0 } }), z && (Object.setPrototypeOf ? Object.setPrototypeOf(V, z) : V.__proto__ = z);
24764
24765
  }
24765
- var C = [!1, "center", "right", "justify"], I = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], D = [!1, "serif", "monospace"], j = ["1", "2", "3", !1], q = ["small", !1, "large", "huge"], te = function(V) {
24766
+ var C = [!1, "center", "right", "justify"], I = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], D = [!1, "serif", "monospace"], j = ["1", "2", "3", !1], U = ["small", !1, "large", "huge"], te = function(V) {
24766
24767
  O(z, V);
24767
- function z(Q, X) {
24768
+ function z(Z, X) {
24768
24769
  N(this, z);
24769
- var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Q, X)), J = function ae(Z) {
24770
- if (!document.body.contains(Q.root))
24770
+ var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Z, X)), J = function ae(Q) {
24771
+ if (!document.body.contains(Z.root))
24771
24772
  return document.body.removeEventListener("click", ae);
24772
- F.tooltip != null && !F.tooltip.root.contains(Z.target) && document.activeElement !== F.tooltip.textbox && !F.quill.hasFocus() && F.tooltip.hide(), F.pickers != null && F.pickers.forEach(function(se) {
24773
- se.container.contains(Z.target) || se.close();
24773
+ F.tooltip != null && !F.tooltip.root.contains(Q.target) && document.activeElement !== F.tooltip.textbox && !F.quill.hasFocus() && F.tooltip.hide(), F.pickers != null && F.pickers.forEach(function(se) {
24774
+ se.container.contains(Q.target) || se.close();
24774
24775
  });
24775
24776
  };
24776
- return Q.emitter.listenDOM("click", document.body, J), F;
24777
+ return Z.emitter.listenDOM("click", document.body, J), F;
24777
24778
  }
24778
24779
  return a(z, [{
24779
24780
  key: "addModule",
@@ -24786,15 +24787,15 @@ var Xy = { exports: {} };
24786
24787
  value: function(X, F) {
24787
24788
  X.forEach(function(J) {
24788
24789
  var ae = J.getAttribute("class") || "";
24789
- ae.split(/\s+/).forEach(function(Z) {
24790
- if (Z.startsWith("ql-") && (Z = Z.slice(3), F[Z] != null))
24791
- if (Z === "direction")
24792
- J.innerHTML = F[Z][""] + F[Z].rtl;
24793
- else if (typeof F[Z] == "string")
24794
- J.innerHTML = F[Z];
24790
+ ae.split(/\s+/).forEach(function(Q) {
24791
+ if (Q.startsWith("ql-") && (Q = Q.slice(3), F[Q] != null))
24792
+ if (Q === "direction")
24793
+ J.innerHTML = F[Q][""] + F[Q].rtl;
24794
+ else if (typeof F[Q] == "string")
24795
+ J.innerHTML = F[Q];
24795
24796
  else {
24796
24797
  var se = J.value || "";
24797
- se != null && F[Z][se] && (J.innerHTML = F[Z][se]);
24798
+ se != null && F[Q][se] && (J.innerHTML = F[Q][se]);
24798
24799
  }
24799
24800
  });
24800
24801
  });
@@ -24803,14 +24804,14 @@ var Xy = { exports: {} };
24803
24804
  key: "buildPickers",
24804
24805
  value: function(X, F) {
24805
24806
  var J = this;
24806
- this.pickers = X.map(function(Z) {
24807
- if (Z.classList.contains("ql-align"))
24808
- return Z.querySelector("option") == null && M(Z, C), new p.default(Z, F.align);
24809
- if (Z.classList.contains("ql-background") || Z.classList.contains("ql-color")) {
24810
- var se = Z.classList.contains("ql-background") ? "background" : "color";
24811
- return Z.querySelector("option") == null && M(Z, I, se === "background" ? "#ffffff" : "#000000"), new v.default(Z, F[se]);
24807
+ this.pickers = X.map(function(Q) {
24808
+ if (Q.classList.contains("ql-align"))
24809
+ return Q.querySelector("option") == null && M(Q, C), new p.default(Q, F.align);
24810
+ if (Q.classList.contains("ql-background") || Q.classList.contains("ql-color")) {
24811
+ var se = Q.classList.contains("ql-background") ? "background" : "color";
24812
+ return Q.querySelector("option") == null && M(Q, I, se === "background" ? "#ffffff" : "#000000"), new v.default(Q, F[se]);
24812
24813
  } else
24813
- return Z.querySelector("option") == null && (Z.classList.contains("ql-font") ? M(Z, D) : Z.classList.contains("ql-header") ? M(Z, j) : Z.classList.contains("ql-size") && M(Z, q)), new k.default(Z);
24814
+ return Q.querySelector("option") == null && (Q.classList.contains("ql-font") ? M(Q, D) : Q.classList.contains("ql-header") ? M(Q, j) : Q.classList.contains("ql-size") && M(Q, U)), new k.default(Q);
24814
24815
  });
24815
24816
  var ae = function() {
24816
24817
  J.pickers.forEach(function(se) {
@@ -24829,16 +24830,16 @@ var Xy = { exports: {} };
24829
24830
  this.quill.theme.tooltip.edit("formula");
24830
24831
  },
24831
24832
  image: function() {
24832
- var z = this, Q = this.container.querySelector("input.ql-image[type=file]");
24833
- Q == null && (Q = document.createElement("input"), Q.setAttribute("type", "file"), Q.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Q.classList.add("ql-image"), Q.addEventListener("change", function() {
24834
- if (Q.files != null && Q.files[0] != null) {
24833
+ var z = this, Z = this.container.querySelector("input.ql-image[type=file]");
24834
+ Z == null && (Z = document.createElement("input"), Z.setAttribute("type", "file"), Z.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Z.classList.add("ql-image"), Z.addEventListener("change", function() {
24835
+ if (Z.files != null && Z.files[0] != null) {
24835
24836
  var X = new FileReader();
24836
24837
  X.onload = function(F) {
24837
24838
  var J = z.quill.getSelection(!0);
24838
- z.quill.updateContents(new f.default().retain(J.index).delete(J.length).insert({ image: F.target.result }), d.default.sources.USER), z.quill.setSelection(J.index + 1, d.default.sources.SILENT), Q.value = "";
24839
- }, X.readAsDataURL(Q.files[0]);
24839
+ z.quill.updateContents(new f.default().retain(J.index).delete(J.length).insert({ image: F.target.result }), d.default.sources.USER), z.quill.setSelection(J.index + 1, d.default.sources.SILENT), Z.value = "";
24840
+ }, X.readAsDataURL(Z.files[0]);
24840
24841
  }
24841
- }), this.container.appendChild(Q)), Q.click();
24842
+ }), this.container.appendChild(Z)), Z.click();
24842
24843
  },
24843
24844
  video: function() {
24844
24845
  this.quill.theme.tooltip.edit("video");
@@ -24849,9 +24850,9 @@ var Xy = { exports: {} };
24849
24850
  });
24850
24851
  var K = function(V) {
24851
24852
  O(z, V);
24852
- function z(Q, X) {
24853
+ function z(Z, X) {
24853
24854
  N(this, z);
24854
- var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Q, X));
24855
+ var F = w(this, (z.__proto__ || Object.getPrototypeOf(z)).call(this, Z, X));
24855
24856
  return F.textbox = F.root.querySelector('input[type="text"]'), F.listen(), F;
24856
24857
  }
24857
24858
  return a(z, [{
@@ -24911,10 +24912,10 @@ var Xy = { exports: {} };
24911
24912
  return z ? (z[1] || "https") + "://www.youtube.com/embed/" + z[2] + "?showinfo=0" : (z = V.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (z[1] || "https") + "://player.vimeo.com/video/" + z[2] + "/" : V;
24912
24913
  }
24913
24914
  function M(V, z) {
24914
- var Q = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
24915
+ var Z = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
24915
24916
  z.forEach(function(X) {
24916
24917
  var F = document.createElement("option");
24917
- X === Q ? F.setAttribute("selected", "selected") : F.setAttribute("value", X), V.appendChild(F);
24918
+ X === Z ? F.setAttribute("selected", "selected") : F.setAttribute("value", X), V.appendChild(F);
24918
24919
  });
24919
24920
  }
24920
24921
  r.BaseTooltip = K, r.default = te;
@@ -25344,8 +25345,8 @@ var Xy = { exports: {} };
25344
25345
  return [[i, p], [a, E]];
25345
25346
  var N = h(p, E);
25346
25347
  if (N) {
25347
- var w = N[0], O = N[1], C = N[2], I = N[3], D = N[4], j = l(w, C), q = l(O, I);
25348
- return j.concat([[o, D]], q);
25348
+ var w = N[0], O = N[1], C = N[2], I = N[3], D = N[4], j = l(w, C), U = l(O, I);
25349
+ return j.concat([[o, D]], U);
25349
25350
  }
25350
25351
  return u(p, E);
25351
25352
  }
@@ -25353,22 +25354,22 @@ var Xy = { exports: {} };
25353
25354
  for (var k = p.length, T = E.length, S = Math.ceil((k + T) / 2), P = S, N = 2 * S, w = new Array(N), O = new Array(N), C = 0; C < N; C++)
25354
25355
  w[C] = -1, O[C] = -1;
25355
25356
  w[P + 1] = 0, O[P + 1] = 0;
25356
- for (var I = k - T, D = I % 2 != 0, j = 0, q = 0, te = 0, K = 0, H = 0; H < S; H++) {
25357
- for (var M = -H + j; M <= H - q; M += 2) {
25357
+ for (var I = k - T, D = I % 2 != 0, j = 0, U = 0, te = 0, K = 0, H = 0; H < S; H++) {
25358
+ for (var M = -H + j; M <= H - U; M += 2) {
25358
25359
  var V = P + M, z;
25359
25360
  M == -H || M != H && w[V - 1] < w[V + 1] ? z = w[V + 1] : z = w[V - 1] + 1;
25360
- for (var Q = z - M; z < k && Q < T && p.charAt(z) == E.charAt(Q); )
25361
- z++, Q++;
25361
+ for (var Z = z - M; z < k && Z < T && p.charAt(z) == E.charAt(Z); )
25362
+ z++, Z++;
25362
25363
  if (w[V] = z, z > k)
25363
- q += 2;
25364
- else if (Q > T)
25364
+ U += 2;
25365
+ else if (Z > T)
25365
25366
  j += 2;
25366
25367
  else if (D) {
25367
25368
  var X = P + I - M;
25368
25369
  if (X >= 0 && X < N && O[X] != -1) {
25369
25370
  var F = k - O[X];
25370
25371
  if (z >= F)
25371
- return f(p, E, z, Q);
25372
+ return f(p, E, z, Z);
25372
25373
  }
25373
25374
  }
25374
25375
  }
@@ -25384,9 +25385,9 @@ var Xy = { exports: {} };
25384
25385
  else if (!D) {
25385
25386
  var V = P + I - J;
25386
25387
  if (V >= 0 && V < N && w[V] != -1) {
25387
- var z = w[V], Q = P + z - V;
25388
+ var z = w[V], Z = P + z - V;
25388
25389
  if (F = k - F, z >= F)
25389
- return f(p, E, z, Q);
25390
+ return f(p, E, z, Z);
25390
25391
  }
25391
25392
  }
25392
25393
  }
@@ -25415,20 +25416,20 @@ var Xy = { exports: {} };
25415
25416
  var k = p.length > E.length ? p : E, T = p.length > E.length ? E : p;
25416
25417
  if (k.length < 4 || T.length * 2 < k.length)
25417
25418
  return null;
25418
- function S(q, te, K) {
25419
- for (var H = q.substring(K, K + Math.floor(q.length / 4)), M = -1, V = "", z, Q, X, F; (M = te.indexOf(H, M + 1)) != -1; ) {
25419
+ function S(U, te, K) {
25420
+ for (var H = U.substring(K, K + Math.floor(U.length / 4)), M = -1, V = "", z, Z, X, F; (M = te.indexOf(H, M + 1)) != -1; ) {
25420
25421
  var J = c(
25421
- q.substring(K),
25422
+ U.substring(K),
25422
25423
  te.substring(M)
25423
25424
  ), ae = d(
25424
- q.substring(0, K),
25425
+ U.substring(0, K),
25425
25426
  te.substring(0, M)
25426
25427
  );
25427
- V.length < ae + J && (V = te.substring(M - ae, M) + te.substring(M, M + J), z = q.substring(0, K - ae), Q = q.substring(K + J), X = te.substring(0, M - ae), F = te.substring(M + J));
25428
+ V.length < ae + J && (V = te.substring(M - ae, M) + te.substring(M, M + J), z = U.substring(0, K - ae), Z = U.substring(K + J), X = te.substring(0, M - ae), F = te.substring(M + J));
25428
25429
  }
25429
- return V.length * 2 >= q.length ? [
25430
+ return V.length * 2 >= U.length ? [
25430
25431
  z,
25431
- Q,
25432
+ Z,
25432
25433
  X,
25433
25434
  F,
25434
25435
  V
@@ -25683,21 +25684,21 @@ var Xy = { exports: {} };
25683
25684
  Object.defineProperty(r, "__esModule", {
25684
25685
  value: !0
25685
25686
  }), r.matchText = r.matchSpacing = r.matchNewline = r.matchBlot = r.matchAttributor = r.default = void 0;
25686
- var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(U) {
25687
- return typeof U;
25688
- } : function(U) {
25689
- return U && typeof Symbol == "function" && U.constructor === Symbol && U !== Symbol.prototype ? "symbol" : typeof U;
25687
+ var a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(q) {
25688
+ return typeof q;
25689
+ } : function(q) {
25690
+ return q && typeof Symbol == "function" && q.constructor === Symbol && q !== Symbol.prototype ? "symbol" : typeof q;
25690
25691
  }, o = function() {
25691
- function U(W, re) {
25692
+ function q(W, ne) {
25692
25693
  var ie = [], oe = !0, ce = !1, G = void 0;
25693
25694
  try {
25694
- for (var ne = W[Symbol.iterator](), pe; !(oe = (pe = ne.next()).done) && (ie.push(pe.value), !(re && ie.length === re)); oe = !0)
25695
+ for (var re = W[Symbol.iterator](), pe; !(oe = (pe = re.next()).done) && (ie.push(pe.value), !(ne && ie.length === ne)); oe = !0)
25695
25696
  ;
25696
25697
  } catch (ge) {
25697
25698
  ce = !0, G = ge;
25698
25699
  } finally {
25699
25700
  try {
25700
- !oe && ne.return && ne.return();
25701
+ !oe && re.return && re.return();
25701
25702
  } finally {
25702
25703
  if (ce)
25703
25704
  throw G;
@@ -25705,56 +25706,56 @@ var Xy = { exports: {} };
25705
25706
  }
25706
25707
  return ie;
25707
25708
  }
25708
- return function(W, re) {
25709
+ return function(W, ne) {
25709
25710
  if (Array.isArray(W))
25710
25711
  return W;
25711
25712
  if (Symbol.iterator in Object(W))
25712
- return U(W, re);
25713
+ return q(W, ne);
25713
25714
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
25714
25715
  };
25715
25716
  }(), l = function() {
25716
- function U(W, re) {
25717
- for (var ie = 0; ie < re.length; ie++) {
25718
- var oe = re[ie];
25717
+ function q(W, ne) {
25718
+ for (var ie = 0; ie < ne.length; ie++) {
25719
+ var oe = ne[ie];
25719
25720
  oe.enumerable = oe.enumerable || !1, oe.configurable = !0, "value" in oe && (oe.writable = !0), Object.defineProperty(W, oe.key, oe);
25720
25721
  }
25721
25722
  }
25722
- return function(W, re, ie) {
25723
- return re && U(W.prototype, re), ie && U(W, ie), W;
25723
+ return function(W, ne, ie) {
25724
+ return ne && q(W.prototype, ne), ie && q(W, ie), W;
25724
25725
  };
25725
25726
  }(), s = i(3), u = O(s), f = i(2), c = O(f), d = i(0), h = O(d), y = i(5), g = O(y), _ = i(10), m = O(_), v = i(9), b = O(v), p = i(36), E = i(37), k = i(13), T = O(k), S = i(26), P = i(38), N = i(39), w = i(40);
25726
- function O(U) {
25727
- return U && U.__esModule ? U : { default: U };
25727
+ function O(q) {
25728
+ return q && q.__esModule ? q : { default: q };
25728
25729
  }
25729
- function C(U, W, re) {
25730
- return W in U ? Object.defineProperty(U, W, { value: re, enumerable: !0, configurable: !0, writable: !0 }) : U[W] = re, U;
25730
+ function C(q, W, ne) {
25731
+ return W in q ? Object.defineProperty(q, W, { value: ne, enumerable: !0, configurable: !0, writable: !0 }) : q[W] = ne, q;
25731
25732
  }
25732
- function I(U, W) {
25733
- if (!(U instanceof W))
25733
+ function I(q, W) {
25734
+ if (!(q instanceof W))
25734
25735
  throw new TypeError("Cannot call a class as a function");
25735
25736
  }
25736
- function D(U, W) {
25737
- if (!U)
25737
+ function D(q, W) {
25738
+ if (!q)
25738
25739
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
25739
- return W && (typeof W == "object" || typeof W == "function") ? W : U;
25740
+ return W && (typeof W == "object" || typeof W == "function") ? W : q;
25740
25741
  }
25741
- function j(U, W) {
25742
+ function j(q, W) {
25742
25743
  if (typeof W != "function" && W !== null)
25743
25744
  throw new TypeError("Super expression must either be null or a function, not " + typeof W);
25744
- U.prototype = Object.create(W && W.prototype, { constructor: { value: U, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf(U, W) : U.__proto__ = W);
25745
- }
25746
- var q = (0, m.default)("quill:clipboard"), te = "__ql-matcher", K = [[Node.TEXT_NODE, le], [Node.TEXT_NODE, x], ["br", he], [Node.ELEMENT_NODE, x], [Node.ELEMENT_NODE, se], [Node.ELEMENT_NODE, $], [Node.ELEMENT_NODE, Z], [Node.ELEMENT_NODE, ee], ["li", L], ["b", ae.bind(ae, "bold")], ["i", ae.bind(ae, "italic")], ["style", B]], H = [p.AlignAttribute, P.DirectionAttribute].reduce(function(U, W) {
25747
- return U[W.keyName] = W, U;
25748
- }, {}), M = [p.AlignStyle, E.BackgroundStyle, S.ColorStyle, P.DirectionStyle, N.FontStyle, w.SizeStyle].reduce(function(U, W) {
25749
- return U[W.keyName] = W, U;
25750
- }, {}), V = function(U) {
25751
- j(W, U);
25752
- function W(re, ie) {
25745
+ q.prototype = Object.create(W && W.prototype, { constructor: { value: q, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf(q, W) : q.__proto__ = W);
25746
+ }
25747
+ var U = (0, m.default)("quill:clipboard"), te = "__ql-matcher", K = [[Node.TEXT_NODE, le], [Node.TEXT_NODE, x], ["br", he], [Node.ELEMENT_NODE, x], [Node.ELEMENT_NODE, se], [Node.ELEMENT_NODE, $], [Node.ELEMENT_NODE, Q], [Node.ELEMENT_NODE, ee], ["li", L], ["b", ae.bind(ae, "bold")], ["i", ae.bind(ae, "italic")], ["style", B]], H = [p.AlignAttribute, P.DirectionAttribute].reduce(function(q, W) {
25748
+ return q[W.keyName] = W, q;
25749
+ }, {}), M = [p.AlignStyle, E.BackgroundStyle, S.ColorStyle, P.DirectionStyle, N.FontStyle, w.SizeStyle].reduce(function(q, W) {
25750
+ return q[W.keyName] = W, q;
25751
+ }, {}), V = function(q) {
25752
+ j(W, q);
25753
+ function W(ne, ie) {
25753
25754
  I(this, W);
25754
- var oe = D(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this, re, ie));
25755
+ var oe = D(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this, ne, ie));
25755
25756
  return oe.quill.root.addEventListener("paste", oe.onPaste.bind(oe)), oe.container = oe.quill.addContainer("ql-clipboard"), oe.container.setAttribute("contenteditable", !0), oe.container.setAttribute("tabindex", -1), oe.matchers = [], K.concat(oe.options.matchers).forEach(function(ce) {
25756
- var G = o(ce, 2), ne = G[0], pe = G[1];
25757
- !ie.matchVisual && pe === $ || oe.addMatcher(ne, pe);
25757
+ var G = o(ce, 2), re = G[0], pe = G[1];
25758
+ !ie.matchVisual && pe === $ || oe.addMatcher(re, pe);
25758
25759
  }), oe;
25759
25760
  }
25760
25761
  return l(W, [{
@@ -25772,9 +25773,9 @@ var Xy = { exports: {} };
25772
25773
  var ce = this.container.innerText;
25773
25774
  return this.container.innerHTML = "", new c.default().insert(ce, C({}, T.default.blotName, oe[T.default.blotName]));
25774
25775
  }
25775
- var G = this.prepareMatching(), ne = o(G, 2), pe = ne[0], ge = ne[1], ve = J(this.container, pe, ge);
25776
+ var G = this.prepareMatching(), re = o(G, 2), pe = re[0], ge = re[1], ve = J(this.container, pe, ge);
25776
25777
  return X(ve, `
25777
- `) && ve.ops[ve.ops.length - 1].attributes == null && (ve = ve.compose(new c.default().retain(ve.length() - 1).delete(1))), q.log("convert", this.container.innerHTML, ve), this.container.innerHTML = "", ve;
25778
+ `) && ve.ops[ve.ops.length - 1].attributes == null && (ve = ve.compose(new c.default().retain(ve.length() - 1).delete(1))), U.log("convert", this.container.innerHTML, ve), this.container.innerHTML = "", ve;
25778
25779
  }
25779
25780
  }, {
25780
25781
  key: "dangerouslyPasteHTML",
@@ -25792,9 +25793,9 @@ var Xy = { exports: {} };
25792
25793
  value: function(ie) {
25793
25794
  var oe = this;
25794
25795
  if (!(ie.defaultPrevented || !this.quill.isEnabled())) {
25795
- var ce = this.quill.getSelection(), G = new c.default().retain(ce.index), ne = this.quill.scrollingContainer.scrollTop;
25796
+ var ce = this.quill.getSelection(), G = new c.default().retain(ce.index), re = this.quill.scrollingContainer.scrollTop;
25796
25797
  this.container.focus(), this.quill.selection.update(g.default.sources.SILENT), setTimeout(function() {
25797
- G = G.concat(oe.convert()).delete(ce.length), oe.quill.updateContents(G, g.default.sources.USER), oe.quill.setSelection(G.length() - ce.length, g.default.sources.SILENT), oe.quill.scrollingContainer.scrollTop = ne, oe.quill.focus();
25798
+ G = G.concat(oe.convert()).delete(ce.length), oe.quill.updateContents(G, g.default.sources.USER), oe.quill.setSelection(G.length() - ce.length, g.default.sources.SILENT), oe.quill.scrollingContainer.scrollTop = re, oe.quill.focus();
25798
25799
  }, 1);
25799
25800
  }
25800
25801
  }
@@ -25803,7 +25804,7 @@ var Xy = { exports: {} };
25803
25804
  value: function() {
25804
25805
  var ie = this, oe = [], ce = [];
25805
25806
  return this.matchers.forEach(function(G) {
25806
- var ne = o(G, 2), pe = ne[0], ge = ne[1];
25807
+ var re = o(G, 2), pe = re[0], ge = re[1];
25807
25808
  switch (pe) {
25808
25809
  case Node.TEXT_NODE:
25809
25810
  ce.push(ge);
@@ -25825,68 +25826,68 @@ var Xy = { exports: {} };
25825
25826
  matchers: [],
25826
25827
  matchVisual: !0
25827
25828
  };
25828
- function z(U, W, re) {
25829
+ function z(q, W, ne) {
25829
25830
  return (typeof W > "u" ? "undefined" : a(W)) === "object" ? Object.keys(W).reduce(function(ie, oe) {
25830
25831
  return z(ie, oe, W[oe]);
25831
- }, U) : U.reduce(function(ie, oe) {
25832
- return oe.attributes && oe.attributes[W] ? ie.push(oe) : ie.insert(oe.insert, (0, u.default)({}, C({}, W, re), oe.attributes));
25832
+ }, q) : q.reduce(function(ie, oe) {
25833
+ return oe.attributes && oe.attributes[W] ? ie.push(oe) : ie.insert(oe.insert, (0, u.default)({}, C({}, W, ne), oe.attributes));
25833
25834
  }, new c.default());
25834
25835
  }
25835
- function Q(U) {
25836
- if (U.nodeType !== Node.ELEMENT_NODE)
25836
+ function Z(q) {
25837
+ if (q.nodeType !== Node.ELEMENT_NODE)
25837
25838
  return {};
25838
25839
  var W = "__ql-computed-style";
25839
- return U[W] || (U[W] = window.getComputedStyle(U));
25840
+ return q[W] || (q[W] = window.getComputedStyle(q));
25840
25841
  }
25841
- function X(U, W) {
25842
- for (var re = "", ie = U.ops.length - 1; ie >= 0 && re.length < W.length; --ie) {
25843
- var oe = U.ops[ie];
25842
+ function X(q, W) {
25843
+ for (var ne = "", ie = q.ops.length - 1; ie >= 0 && ne.length < W.length; --ie) {
25844
+ var oe = q.ops[ie];
25844
25845
  if (typeof oe.insert != "string")
25845
25846
  break;
25846
- re = oe.insert + re;
25847
+ ne = oe.insert + ne;
25847
25848
  }
25848
- return re.slice(-1 * W.length) === W;
25849
+ return ne.slice(-1 * W.length) === W;
25849
25850
  }
25850
- function F(U) {
25851
- if (U.childNodes.length === 0)
25851
+ function F(q) {
25852
+ if (q.childNodes.length === 0)
25852
25853
  return !1;
25853
- var W = Q(U);
25854
+ var W = Z(q);
25854
25855
  return ["block", "list-item"].indexOf(W.display) > -1;
25855
25856
  }
25856
- function J(U, W, re) {
25857
- return U.nodeType === U.TEXT_NODE ? re.reduce(function(ie, oe) {
25858
- return oe(U, ie);
25859
- }, new c.default()) : U.nodeType === U.ELEMENT_NODE ? [].reduce.call(U.childNodes || [], function(ie, oe) {
25860
- var ce = J(oe, W, re);
25861
- return oe.nodeType === U.ELEMENT_NODE && (ce = W.reduce(function(G, ne) {
25862
- return ne(oe, G);
25863
- }, ce), ce = (oe[te] || []).reduce(function(G, ne) {
25864
- return ne(oe, G);
25857
+ function J(q, W, ne) {
25858
+ return q.nodeType === q.TEXT_NODE ? ne.reduce(function(ie, oe) {
25859
+ return oe(q, ie);
25860
+ }, new c.default()) : q.nodeType === q.ELEMENT_NODE ? [].reduce.call(q.childNodes || [], function(ie, oe) {
25861
+ var ce = J(oe, W, ne);
25862
+ return oe.nodeType === q.ELEMENT_NODE && (ce = W.reduce(function(G, re) {
25863
+ return re(oe, G);
25864
+ }, ce), ce = (oe[te] || []).reduce(function(G, re) {
25865
+ return re(oe, G);
25865
25866
  }, ce)), ie.concat(ce);
25866
25867
  }, new c.default()) : new c.default();
25867
25868
  }
25868
- function ae(U, W, re) {
25869
- return z(re, U, !0);
25869
+ function ae(q, W, ne) {
25870
+ return z(ne, q, !0);
25870
25871
  }
25871
- function Z(U, W) {
25872
- var re = h.default.Attributor.Attribute.keys(U), ie = h.default.Attributor.Class.keys(U), oe = h.default.Attributor.Style.keys(U), ce = {};
25873
- return re.concat(ie).concat(oe).forEach(function(G) {
25874
- var ne = h.default.query(G, h.default.Scope.ATTRIBUTE);
25875
- ne != null && (ce[ne.attrName] = ne.value(U), ce[ne.attrName]) || (ne = H[G], ne != null && (ne.attrName === G || ne.keyName === G) && (ce[ne.attrName] = ne.value(U) || void 0), ne = M[G], ne != null && (ne.attrName === G || ne.keyName === G) && (ne = M[G], ce[ne.attrName] = ne.value(U) || void 0));
25872
+ function Q(q, W) {
25873
+ var ne = h.default.Attributor.Attribute.keys(q), ie = h.default.Attributor.Class.keys(q), oe = h.default.Attributor.Style.keys(q), ce = {};
25874
+ return ne.concat(ie).concat(oe).forEach(function(G) {
25875
+ var re = h.default.query(G, h.default.Scope.ATTRIBUTE);
25876
+ re != null && (ce[re.attrName] = re.value(q), ce[re.attrName]) || (re = H[G], re != null && (re.attrName === G || re.keyName === G) && (ce[re.attrName] = re.value(q) || void 0), re = M[G], re != null && (re.attrName === G || re.keyName === G) && (re = M[G], ce[re.attrName] = re.value(q) || void 0));
25876
25877
  }), Object.keys(ce).length > 0 && (W = z(W, ce)), W;
25877
25878
  }
25878
- function se(U, W) {
25879
- var re = h.default.query(U);
25880
- if (re == null)
25879
+ function se(q, W) {
25880
+ var ne = h.default.query(q);
25881
+ if (ne == null)
25881
25882
  return W;
25882
- if (re.prototype instanceof h.default.Embed) {
25883
- var ie = {}, oe = re.value(U);
25884
- oe != null && (ie[re.blotName] = oe, W = new c.default().insert(ie, re.formats(U)));
25883
+ if (ne.prototype instanceof h.default.Embed) {
25884
+ var ie = {}, oe = ne.value(q);
25885
+ oe != null && (ie[ne.blotName] = oe, W = new c.default().insert(ie, ne.formats(q)));
25885
25886
  } else
25886
- typeof re.formats == "function" && (W = z(W, re.blotName, re.formats(U)));
25887
+ typeof ne.formats == "function" && (W = z(W, ne.blotName, ne.formats(q)));
25887
25888
  return W;
25888
25889
  }
25889
- function he(U, W) {
25890
+ function he(q, W) {
25890
25891
  return X(W, `
25891
25892
  `) || W.insert(`
25892
25893
  `), W;
@@ -25894,49 +25895,49 @@ var Xy = { exports: {} };
25894
25895
  function B() {
25895
25896
  return new c.default();
25896
25897
  }
25897
- function L(U, W) {
25898
- var re = h.default.query(U);
25899
- if (re == null || re.blotName !== "list-item" || !X(W, `
25898
+ function L(q, W) {
25899
+ var ne = h.default.query(q);
25900
+ if (ne == null || ne.blotName !== "list-item" || !X(W, `
25900
25901
  `))
25901
25902
  return W;
25902
- for (var ie = -1, oe = U.parentNode; !oe.classList.contains("ql-clipboard"); )
25903
+ for (var ie = -1, oe = q.parentNode; !oe.classList.contains("ql-clipboard"); )
25903
25904
  (h.default.query(oe) || {}).blotName === "list" && (ie += 1), oe = oe.parentNode;
25904
25905
  return ie <= 0 ? W : W.compose(new c.default().retain(W.length() - 1).retain(1, { indent: ie }));
25905
25906
  }
25906
- function x(U, W) {
25907
+ function x(q, W) {
25907
25908
  return X(W, `
25908
- `) || (F(U) || W.length() > 0 && U.nextSibling && F(U.nextSibling)) && W.insert(`
25909
+ `) || (F(q) || W.length() > 0 && q.nextSibling && F(q.nextSibling)) && W.insert(`
25909
25910
  `), W;
25910
25911
  }
25911
- function $(U, W) {
25912
- if (F(U) && U.nextElementSibling != null && !X(W, `
25912
+ function $(q, W) {
25913
+ if (F(q) && q.nextElementSibling != null && !X(W, `
25913
25914
 
25914
25915
  `)) {
25915
- var re = U.offsetHeight + parseFloat(Q(U).marginTop) + parseFloat(Q(U).marginBottom);
25916
- U.nextElementSibling.offsetTop > U.offsetTop + re * 1.5 && W.insert(`
25916
+ var ne = q.offsetHeight + parseFloat(Z(q).marginTop) + parseFloat(Z(q).marginBottom);
25917
+ q.nextElementSibling.offsetTop > q.offsetTop + ne * 1.5 && W.insert(`
25917
25918
  `);
25918
25919
  }
25919
25920
  return W;
25920
25921
  }
25921
- function ee(U, W) {
25922
- var re = {}, ie = U.style || {};
25923
- return ie.fontStyle && Q(U).fontStyle === "italic" && (re.italic = !0), ie.fontWeight && (Q(U).fontWeight.startsWith("bold") || parseInt(Q(U).fontWeight) >= 700) && (re.bold = !0), Object.keys(re).length > 0 && (W = z(W, re)), parseFloat(ie.textIndent || 0) > 0 && (W = new c.default().insert(" ").concat(W)), W;
25922
+ function ee(q, W) {
25923
+ var ne = {}, ie = q.style || {};
25924
+ return ie.fontStyle && Z(q).fontStyle === "italic" && (ne.italic = !0), ie.fontWeight && (Z(q).fontWeight.startsWith("bold") || parseInt(Z(q).fontWeight) >= 700) && (ne.bold = !0), Object.keys(ne).length > 0 && (W = z(W, ne)), parseFloat(ie.textIndent || 0) > 0 && (W = new c.default().insert(" ").concat(W)), W;
25924
25925
  }
25925
- function le(U, W) {
25926
- var re = U.data;
25927
- if (U.parentNode.tagName === "O:P")
25928
- return W.insert(re.trim());
25929
- if (re.trim().length === 0 && U.parentNode.classList.contains("ql-clipboard"))
25926
+ function le(q, W) {
25927
+ var ne = q.data;
25928
+ if (q.parentNode.tagName === "O:P")
25929
+ return W.insert(ne.trim());
25930
+ if (ne.trim().length === 0 && q.parentNode.classList.contains("ql-clipboard"))
25930
25931
  return W;
25931
- if (!Q(U.parentNode).whiteSpace.startsWith("pre")) {
25932
+ if (!Z(q.parentNode).whiteSpace.startsWith("pre")) {
25932
25933
  var ie = function(ce, G) {
25933
25934
  return G = G.replace(/[^\u00a0]/g, ""), G.length < 1 && ce ? " " : G;
25934
25935
  };
25935
- re = re.replace(/\r\n/g, " ").replace(/\n/g, " "), re = re.replace(/\s\s+/g, ie.bind(ie, !0)), (U.previousSibling == null && F(U.parentNode) || U.previousSibling != null && F(U.previousSibling)) && (re = re.replace(/^\s+/, ie.bind(ie, !1))), (U.nextSibling == null && F(U.parentNode) || U.nextSibling != null && F(U.nextSibling)) && (re = re.replace(/\s+$/, ie.bind(ie, !1)));
25936
+ ne = ne.replace(/\r\n/g, " ").replace(/\n/g, " "), ne = ne.replace(/\s\s+/g, ie.bind(ie, !0)), (q.previousSibling == null && F(q.parentNode) || q.previousSibling != null && F(q.previousSibling)) && (ne = ne.replace(/^\s+/, ie.bind(ie, !1))), (q.nextSibling == null && F(q.parentNode) || q.nextSibling != null && F(q.nextSibling)) && (ne = ne.replace(/\s+$/, ie.bind(ie, !1)));
25936
25937
  }
25937
- return W.insert(re);
25938
+ return W.insert(ne);
25938
25939
  }
25939
- r.default = V, r.matchAttributor = Z, r.matchBlot = se, r.matchNewline = x, r.matchSpacing = $, r.matchText = le;
25940
+ r.default = V, r.matchAttributor = Q, r.matchBlot = se, r.matchNewline = x, r.matchSpacing = $, r.matchText = le;
25940
25941
  },
25941
25942
  /* 56 */
25942
25943
  /***/
@@ -26016,18 +26017,18 @@ var Xy = { exports: {} };
26016
26017
  }), r.addControls = r.default = void 0;
26017
26018
  var a = function() {
26018
26019
  function w(O, C) {
26019
- var I = [], D = !0, j = !1, q = void 0;
26020
+ var I = [], D = !0, j = !1, U = void 0;
26020
26021
  try {
26021
26022
  for (var te = O[Symbol.iterator](), K; !(D = (K = te.next()).done) && (I.push(K.value), !(C && I.length === C)); D = !0)
26022
26023
  ;
26023
26024
  } catch (H) {
26024
- j = !0, q = H;
26025
+ j = !0, U = H;
26025
26026
  } finally {
26026
26027
  try {
26027
26028
  !D && te.return && te.return();
26028
26029
  } finally {
26029
26030
  if (j)
26030
- throw q;
26031
+ throw U;
26031
26032
  }
26032
26033
  }
26033
26034
  return I;
@@ -26081,8 +26082,8 @@ var Xy = { exports: {} };
26081
26082
  } else
26082
26083
  typeof D.options.container == "string" ? D.container = document.querySelector(D.options.container) : D.container = D.options.container;
26083
26084
  if (!(D.container instanceof HTMLElement)) {
26084
- var q;
26085
- return q = k.error("Container required for toolbar", D.options), p(D, q);
26085
+ var U;
26086
+ return U = k.error("Container required for toolbar", D.options), p(D, U);
26086
26087
  }
26087
26088
  return D.container.classList.add("ql-toolbar"), D.controls = [], D.handlers = {}, Object.keys(D.options.handlers).forEach(function(te) {
26088
26089
  D.addHandler(te, D.options.handlers[te]);
@@ -26117,8 +26118,8 @@ var Xy = { exports: {} };
26117
26118
  return;
26118
26119
  }
26119
26120
  }
26120
- var q = I.tagName === "SELECT" ? "change" : "click";
26121
- I.addEventListener(q, function(te) {
26121
+ var U = I.tagName === "SELECT" ? "change" : "click";
26122
+ I.addEventListener(U, function(te) {
26122
26123
  var K = void 0;
26123
26124
  if (I.tagName === "SELECT") {
26124
26125
  if (I.selectedIndex < 0)
@@ -26146,7 +26147,7 @@ var Xy = { exports: {} };
26146
26147
  value: function(I) {
26147
26148
  var D = I == null ? {} : this.quill.getFormat(I);
26148
26149
  this.controls.forEach(function(j) {
26149
- var q = a(j, 2), te = q[0], K = q[1];
26150
+ var U = a(j, 2), te = U[0], K = U[1];
26150
26151
  if (K.tagName === "SELECT") {
26151
26152
  var H = void 0;
26152
26153
  if (I == null)
@@ -26181,8 +26182,8 @@ var Xy = { exports: {} };
26181
26182
  if (typeof D == "string")
26182
26183
  S(I, D);
26183
26184
  else {
26184
- var j = Object.keys(D)[0], q = D[j];
26185
- Array.isArray(q) ? N(I, j, q) : S(I, j, q);
26185
+ var j = Object.keys(D)[0], U = D[j];
26186
+ Array.isArray(U) ? N(I, j, U) : S(I, j, U);
26186
26187
  }
26187
26188
  }), w.appendChild(I);
26188
26189
  });
@@ -26434,13 +26435,13 @@ var Xy = { exports: {} };
26434
26435
  function N(w, O) {
26435
26436
  var C = [], I = !0, D = !1, j = void 0;
26436
26437
  try {
26437
- for (var q = w[Symbol.iterator](), te; !(I = (te = q.next()).done) && (C.push(te.value), !(O && C.length === O)); I = !0)
26438
+ for (var U = w[Symbol.iterator](), te; !(I = (te = U.next()).done) && (C.push(te.value), !(O && C.length === O)); I = !0)
26438
26439
  ;
26439
26440
  } catch (K) {
26440
26441
  D = !0, j = K;
26441
26442
  } finally {
26442
26443
  try {
26443
- !I && q.return && q.return();
26444
+ !I && U.return && U.return();
26444
26445
  } finally {
26445
26446
  if (D)
26446
26447
  throw j;
@@ -26553,7 +26554,7 @@ var Xy = { exports: {} };
26553
26554
  }), this.quill.on(c.default.events.SELECTION_CHANGE, function(I, D, j) {
26554
26555
  if (I != null) {
26555
26556
  if (I.length === 0 && j === c.default.sources.USER) {
26556
- var q = C.quill.scroll.descendant(g.default, I.index), te = a(q, 2), K = te[0], H = te[1];
26557
+ var U = C.quill.scroll.descendant(g.default, I.index), te = a(U, 2), K = te[0], H = te[1];
26557
26558
  if (K != null) {
26558
26559
  C.linkRange = new _.Range(I.index - H, K.length());
26559
26560
  var M = g.default.formats(K.domNode);
@@ -26581,7 +26582,7 @@ var Xy = { exports: {} };
26581
26582
  Object.defineProperty(r, "__esModule", {
26582
26583
  value: !0
26583
26584
  });
26584
- var a = i(29), o = oe(a), l = i(36), s = i(38), u = i(64), f = i(65), c = oe(f), d = i(66), h = oe(d), y = i(67), g = oe(y), _ = i(37), m = i(26), v = i(39), b = i(40), p = i(56), E = oe(p), k = i(68), T = oe(k), S = i(27), P = oe(S), N = i(69), w = oe(N), O = i(70), C = oe(O), I = i(71), D = oe(I), j = i(72), q = oe(j), te = i(73), K = oe(te), H = i(13), M = oe(H), V = i(74), z = oe(V), Q = i(75), X = oe(Q), F = i(57), J = oe(F), ae = i(41), Z = oe(ae), se = i(28), he = oe(se), B = i(59), L = oe(B), x = i(60), $ = oe(x), ee = i(61), le = oe(ee), U = i(108), W = oe(U), re = i(62), ie = oe(re);
26585
+ var a = i(29), o = oe(a), l = i(36), s = i(38), u = i(64), f = i(65), c = oe(f), d = i(66), h = oe(d), y = i(67), g = oe(y), _ = i(37), m = i(26), v = i(39), b = i(40), p = i(56), E = oe(p), k = i(68), T = oe(k), S = i(27), P = oe(S), N = i(69), w = oe(N), O = i(70), C = oe(O), I = i(71), D = oe(I), j = i(72), U = oe(j), te = i(73), K = oe(te), H = i(13), M = oe(H), V = i(74), z = oe(V), Z = i(75), X = oe(Z), F = i(57), J = oe(F), ae = i(41), Q = oe(ae), se = i(28), he = oe(se), B = i(59), L = oe(B), x = i(60), $ = oe(x), ee = i(61), le = oe(ee), q = i(108), W = oe(q), ne = i(62), ie = oe(ne);
26585
26586
  function oe(ce) {
26586
26587
  return ce && ce.__esModule ? ce : { default: ce };
26587
26588
  }
@@ -26618,7 +26619,7 @@ var Xy = { exports: {} };
26618
26619
  "formats/script": w.default,
26619
26620
  "formats/strike": C.default,
26620
26621
  "formats/underline": D.default,
26621
- "formats/image": q.default,
26622
+ "formats/image": U.default,
26622
26623
  "formats/video": K.default,
26623
26624
  "formats/list/item": y.ListItem,
26624
26625
  "modules/formula": z.default,
@@ -26626,7 +26627,7 @@ var Xy = { exports: {} };
26626
26627
  "modules/toolbar": J.default,
26627
26628
  "themes/bubble": W.default,
26628
26629
  "themes/snow": ie.default,
26629
- "ui/icons": Z.default,
26630
+ "ui/icons": Q.default,
26630
26631
  "ui/picker": he.default,
26631
26632
  "ui/icon-picker": $.default,
26632
26633
  "ui/color-picker": L.default,
@@ -27712,7 +27713,7 @@ var Xy = { exports: {} };
27712
27713
  if (j.length === 1)
27713
27714
  w.position(w.quill.getBounds(C));
27714
27715
  else {
27715
- var q = j[j.length - 1], te = w.quill.getIndex(q), K = Math.min(q.length() - 1, C.index + C.length - te), H = w.quill.getBounds(new h.Range(te, K));
27716
+ var U = j[j.length - 1], te = w.quill.getIndex(U), K = Math.min(U.length() - 1, C.index + C.length - te), H = w.quill.getBounds(new h.Range(te, K));
27716
27717
  w.position(H);
27717
27718
  }
27718
27719
  } else
@@ -28024,16 +28025,16 @@ rc.EQUAL = ln;
28024
28025
  var s9 = rc, vu = { exports: {} };
28025
28026
  vu.exports;
28026
28027
  (function(e, t) {
28027
- var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, a = "[object Arguments]", o = "[object Array]", l = "[object Boolean]", s = "[object Date]", u = "[object Error]", f = "[object Function]", c = "[object GeneratorFunction]", d = "[object Map]", h = "[object Number]", y = "[object Object]", g = "[object Promise]", _ = "[object RegExp]", m = "[object Set]", v = "[object String]", b = "[object Symbol]", p = "[object WeakMap]", E = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", P = "[object Int8Array]", N = "[object Int16Array]", w = "[object Int32Array]", O = "[object Uint8Array]", C = "[object Uint8ClampedArray]", I = "[object Uint16Array]", D = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, q = /\w*$/, te = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, H = {};
28028
+ var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, a = "[object Arguments]", o = "[object Array]", l = "[object Boolean]", s = "[object Date]", u = "[object Error]", f = "[object Function]", c = "[object GeneratorFunction]", d = "[object Map]", h = "[object Number]", y = "[object Object]", g = "[object Promise]", _ = "[object RegExp]", m = "[object Set]", v = "[object String]", b = "[object Symbol]", p = "[object WeakMap]", E = "[object ArrayBuffer]", k = "[object DataView]", T = "[object Float32Array]", S = "[object Float64Array]", P = "[object Int8Array]", N = "[object Int16Array]", w = "[object Int32Array]", O = "[object Uint8Array]", C = "[object Uint8ClampedArray]", I = "[object Uint16Array]", D = "[object Uint32Array]", j = /[\\^$.*+?()[\]{}|]/g, U = /\w*$/, te = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, H = {};
28028
28029
  H[a] = H[o] = H[E] = H[k] = H[l] = H[s] = H[T] = H[S] = H[P] = H[N] = H[w] = H[d] = H[h] = H[y] = H[_] = H[m] = H[v] = H[b] = H[O] = H[C] = H[I] = H[D] = !0, H[u] = H[f] = H[p] = !1;
28029
- var M = typeof dt == "object" && dt && dt.Object === Object && dt, V = typeof self == "object" && self && self.Object === Object && self, z = M || V || Function("return this")(), Q = t && !t.nodeType && t, X = Q && !0 && e && !e.nodeType && e, F = X && X.exports === Q;
28030
+ var M = typeof dt == "object" && dt && dt.Object === Object && dt, V = typeof self == "object" && self && self.Object === Object && self, z = M || V || Function("return this")(), Z = t && !t.nodeType && t, X = Z && !0 && e && !e.nodeType && e, F = X && X.exports === Z;
28030
28031
  function J(A, R) {
28031
28032
  return A.set(R[0], R[1]), A;
28032
28033
  }
28033
28034
  function ae(A, R) {
28034
28035
  return A.add(R), A;
28035
28036
  }
28036
- function Z(A, R) {
28037
+ function Q(A, R) {
28037
28038
  for (var Y = -1, ue = A ? A.length : 0; ++Y < ue && R(A[Y], Y, A) !== !1; )
28038
28039
  ;
28039
28040
  return A;
@@ -28083,12 +28084,12 @@ vu.exports;
28083
28084
  Y[++R] = ue;
28084
28085
  }), Y;
28085
28086
  }
28086
- var U = Array.prototype, W = Function.prototype, re = Object.prototype, ie = z["__core-js_shared__"], oe = function() {
28087
+ var q = Array.prototype, W = Function.prototype, ne = Object.prototype, ie = z["__core-js_shared__"], oe = function() {
28087
28088
  var A = /[^.]+$/.exec(ie && ie.keys && ie.keys.IE_PROTO || "");
28088
28089
  return A ? "Symbol(src)_1." + A : "";
28089
- }(), ce = W.toString, G = re.hasOwnProperty, ne = re.toString, pe = RegExp(
28090
+ }(), ce = W.toString, G = ne.hasOwnProperty, re = ne.toString, pe = RegExp(
28090
28091
  "^" + ce.call(G).replace(j, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28091
- ), ge = F ? z.Buffer : void 0, ve = z.Symbol, Re = z.Uint8Array, Te = ee(Object.getPrototypeOf, Object), nt = Object.create, Gn = re.propertyIsEnumerable, wn = U.splice, Yn = Object.getOwnPropertySymbols, st = ge ? ge.isBuffer : void 0, It = ee(Object.keys, Object), ke = Fn(z, "DataView"), Be = Fn(z, "Map"), Ze = Fn(z, "Promise"), De = Fn(z, "Set"), Nt = Fn(z, "WeakMap"), Qt = Fn(Object, "create"), Dn = Wt(ke), en = Wt(Be), Xn = Wt(Ze), Jn = Wt(De), hr = Wt(Nt), Tn = ve ? ve.prototype : void 0, la = Tn ? Tn.valueOf : void 0;
28092
+ ), ge = F ? z.Buffer : void 0, ve = z.Symbol, Re = z.Uint8Array, Te = ee(Object.getPrototypeOf, Object), nt = Object.create, Gn = ne.propertyIsEnumerable, wn = q.splice, Yn = Object.getOwnPropertySymbols, st = ge ? ge.isBuffer : void 0, It = ee(Object.keys, Object), ke = Fn(z, "DataView"), Be = Fn(z, "Map"), Ze = Fn(z, "Promise"), De = Fn(z, "Set"), Nt = Fn(z, "WeakMap"), Qt = Fn(Object, "create"), Dn = Wt(ke), en = Wt(Be), Xn = Wt(Ze), Jn = Wt(De), hr = Wt(Nt), Tn = ve ? ve.prototype : void 0, la = Tn ? Tn.valueOf : void 0;
28092
28093
  function Sn(A) {
28093
28094
  var R = -1, Y = A ? A.length : 0;
28094
28095
  for (this.clear(); ++R < Y; ) {
@@ -28251,7 +28252,7 @@ vu.exports;
28251
28252
  return tn;
28252
28253
  if (Fe.set(A, ze), !mt)
28253
28254
  var Et = Y ? bc(A) : ho(A);
28254
- return Z(Et || A, function(jt, Mt) {
28255
+ return Q(Et || A, function(jt, Mt) {
28255
28256
  Et && (Mt = jt, jt = A[Mt]), xl(ze, Mt, lo(jt, R, Y, ue, Mt, A, Fe));
28256
28257
  }), ze;
28257
28258
  }
@@ -28263,7 +28264,7 @@ vu.exports;
28263
28264
  return co(A) ? ue : se(ue, Y(A));
28264
28265
  }
28265
28266
  function fc(A) {
28266
- return ne.call(A);
28267
+ return re.call(A);
28267
28268
  }
28268
28269
  function dc(A) {
28269
28270
  if (!er(A) || Tc(A))
@@ -28298,7 +28299,7 @@ vu.exports;
28298
28299
  return he(ue, J, new A.constructor());
28299
28300
  }
28300
28301
  function Dl(A) {
28301
- var R = new A.constructor(A.source, q.exec(A));
28302
+ var R = new A.constructor(A.source, U.exec(A));
28302
28303
  return R.lastIndex = A.lastIndex, R;
28303
28304
  }
28304
28305
  function pc(A, R, Y) {
@@ -28342,7 +28343,7 @@ vu.exports;
28342
28343
  }
28343
28344
  var pr = Yn ? ee(Yn, Object) : Ac, mr = fc;
28344
28345
  (ke && mr(new ke(new ArrayBuffer(1))) != k || Be && mr(new Be()) != d || Ze && mr(Ze.resolve()) != g || De && mr(new De()) != m || Nt && mr(new Nt()) != p) && (mr = function(A) {
28345
- var R = ne.call(A), Y = R == y ? A.constructor : void 0, ue = Y ? Wt(Y) : void 0;
28346
+ var R = re.call(A), Y = R == y ? A.constructor : void 0, ue = Y ? Wt(Y) : void 0;
28346
28347
  if (ue)
28347
28348
  switch (ue) {
28348
28349
  case Dn:
@@ -28409,7 +28410,7 @@ vu.exports;
28409
28410
  return !!oe && oe in A;
28410
28411
  }
28411
28412
  function Fl(A) {
28412
- var R = A && A.constructor, Y = typeof R == "function" && R.prototype || re;
28413
+ var R = A && A.constructor, Y = typeof R == "function" && R.prototype || ne;
28413
28414
  return A === Y;
28414
28415
  }
28415
28416
  function Wt(A) {
@@ -28432,7 +28433,7 @@ vu.exports;
28432
28433
  return A === R || A !== A && R !== R;
28433
28434
  }
28434
28435
  function va(A) {
28435
- return Sc(A) && G.call(A, "callee") && (!Gn.call(A, "callee") || ne.call(A) == a);
28436
+ return Sc(A) && G.call(A, "callee") && (!Gn.call(A, "callee") || re.call(A) == a);
28436
28437
  }
28437
28438
  var co = Array.isArray;
28438
28439
  function ga(A) {
@@ -28443,7 +28444,7 @@ vu.exports;
28443
28444
  }
28444
28445
  var jl = st || Nc;
28445
28446
  function fo(A) {
28446
- var R = er(A) ? ne.call(A) : "";
28447
+ var R = er(A) ? re.call(A) : "";
28447
28448
  return R == f || R == c;
28448
28449
  }
28449
28450
  function Bl(A) {
@@ -28470,9 +28471,9 @@ vu.exports;
28470
28471
  var nb = vu.exports, gu = { exports: {} };
28471
28472
  gu.exports;
28472
28473
  (function(e, t) {
28473
- var n = 200, r = "__lodash_hash_undefined__", i = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", f = "[object Boolean]", c = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", _ = "[object Number]", m = "[object Null]", v = "[object Object]", b = "[object Promise]", p = "[object Proxy]", E = "[object RegExp]", k = "[object Set]", T = "[object String]", S = "[object Symbol]", P = "[object Undefined]", N = "[object WeakMap]", w = "[object ArrayBuffer]", O = "[object DataView]", C = "[object Float32Array]", I = "[object Float64Array]", D = "[object Int8Array]", j = "[object Int16Array]", q = "[object Int32Array]", te = "[object Uint8Array]", K = "[object Uint8ClampedArray]", H = "[object Uint16Array]", M = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, z = /^\[object .+?Constructor\]$/, Q = /^(?:0|[1-9]\d*)$/, X = {};
28474
- X[C] = X[I] = X[D] = X[j] = X[q] = X[te] = X[K] = X[H] = X[M] = !0, X[l] = X[s] = X[w] = X[f] = X[O] = X[c] = X[d] = X[h] = X[g] = X[_] = X[v] = X[E] = X[k] = X[T] = X[N] = !1;
28475
- var F = typeof dt == "object" && dt && dt.Object === Object && dt, J = typeof self == "object" && self && self.Object === Object && self, ae = F || J || Function("return this")(), Z = t && !t.nodeType && t, se = Z && !0 && e && !e.nodeType && e, he = se && se.exports === Z, B = he && F.process, L = function() {
28474
+ var n = 200, r = "__lodash_hash_undefined__", i = 1, a = 2, o = 9007199254740991, l = "[object Arguments]", s = "[object Array]", u = "[object AsyncFunction]", f = "[object Boolean]", c = "[object Date]", d = "[object Error]", h = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", _ = "[object Number]", m = "[object Null]", v = "[object Object]", b = "[object Promise]", p = "[object Proxy]", E = "[object RegExp]", k = "[object Set]", T = "[object String]", S = "[object Symbol]", P = "[object Undefined]", N = "[object WeakMap]", w = "[object ArrayBuffer]", O = "[object DataView]", C = "[object Float32Array]", I = "[object Float64Array]", D = "[object Int8Array]", j = "[object Int16Array]", U = "[object Int32Array]", te = "[object Uint8Array]", K = "[object Uint8ClampedArray]", H = "[object Uint16Array]", M = "[object Uint32Array]", V = /[\\^$.*+?()[\]{}|]/g, z = /^\[object .+?Constructor\]$/, Z = /^(?:0|[1-9]\d*)$/, X = {};
28475
+ X[C] = X[I] = X[D] = X[j] = X[U] = X[te] = X[K] = X[H] = X[M] = !0, X[l] = X[s] = X[w] = X[f] = X[O] = X[c] = X[d] = X[h] = X[g] = X[_] = X[v] = X[E] = X[k] = X[T] = X[N] = !1;
28476
+ var F = typeof dt == "object" && dt && dt.Object === Object && dt, J = typeof self == "object" && self && self.Object === Object && self, ae = F || J || Function("return this")(), Q = t && !t.nodeType && t, se = Q && !0 && e && !e.nodeType && e, he = se && se.exports === Q, B = he && F.process, L = function() {
28476
28477
  try {
28477
28478
  return B && B.binding && B.binding("util");
28478
28479
  } catch {
@@ -28496,7 +28497,7 @@ gu.exports;
28496
28497
  return !0;
28497
28498
  return !1;
28498
28499
  }
28499
- function U(A, R) {
28500
+ function q(A, R) {
28500
28501
  for (var Y = -1, ue = Array(A); ++Y < A; )
28501
28502
  ue[Y] = R(Y);
28502
28503
  return ue;
@@ -28506,7 +28507,7 @@ gu.exports;
28506
28507
  return A(R);
28507
28508
  };
28508
28509
  }
28509
- function re(A, R) {
28510
+ function ne(A, R) {
28510
28511
  return A.has(R);
28511
28512
  }
28512
28513
  function ie(A, R) {
@@ -28529,12 +28530,12 @@ gu.exports;
28529
28530
  Y[++R] = ue;
28530
28531
  }), Y;
28531
28532
  }
28532
- var ne = Array.prototype, pe = Function.prototype, ge = Object.prototype, ve = ae["__core-js_shared__"], Re = pe.toString, Te = ge.hasOwnProperty, nt = function() {
28533
+ var re = Array.prototype, pe = Function.prototype, ge = Object.prototype, ve = ae["__core-js_shared__"], Re = pe.toString, Te = ge.hasOwnProperty, nt = function() {
28533
28534
  var A = /[^.]+$/.exec(ve && ve.keys && ve.keys.IE_PROTO || "");
28534
28535
  return A ? "Symbol(src)_1." + A : "";
28535
28536
  }(), Gn = ge.toString, wn = RegExp(
28536
28537
  "^" + Re.call(Te).replace(V, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
28537
- ), Yn = he ? ae.Buffer : void 0, st = ae.Symbol, It = ae.Uint8Array, ke = ge.propertyIsEnumerable, Be = ne.splice, Ze = st ? st.toStringTag : void 0, De = Object.getOwnPropertySymbols, Nt = Yn ? Yn.isBuffer : void 0, Qt = ce(Object.keys, Object), Dn = pr(ae, "DataView"), en = pr(ae, "Map"), Xn = pr(ae, "Promise"), Jn = pr(ae, "Set"), hr = pr(ae, "WeakMap"), Tn = pr(Object, "create"), la = Wt(Dn), Sn = Wt(en), gi = Wt(Xn), yi = Wt(Jn), ro = Wt(hr), bi = st ? st.prototype : void 0, Rr = bi ? bi.valueOf : void 0;
28538
+ ), Yn = he ? ae.Buffer : void 0, st = ae.Symbol, It = ae.Uint8Array, ke = ge.propertyIsEnumerable, Be = re.splice, Ze = st ? st.toStringTag : void 0, De = Object.getOwnPropertySymbols, Nt = Yn ? Yn.isBuffer : void 0, Qt = ce(Object.keys, Object), Dn = pr(ae, "DataView"), en = pr(ae, "Map"), Xn = pr(ae, "Promise"), Jn = pr(ae, "Set"), hr = pr(ae, "WeakMap"), Tn = pr(Object, "create"), la = Wt(Dn), Sn = Wt(en), gi = Wt(Xn), yi = Wt(Jn), ro = Wt(hr), bi = st ? st.prototype : void 0, Rr = bi ? bi.valueOf : void 0;
28538
28539
  function ot(A) {
28539
28540
  var R = -1, Y = A == null ? 0 : A.length;
28540
28541
  for (this.clear(); ++R < Y; ) {
@@ -28665,7 +28666,7 @@ gu.exports;
28665
28666
  }
28666
28667
  Zn.prototype.clear = lo, Zn.prototype.delete = uc, Zn.prototype.get = cc, Zn.prototype.has = fc, Zn.prototype.set = dc;
28667
28668
  function hc(A, R) {
28668
- var Y = va(A), ue = !Y && Vl(A), Ce = !Y && !ue && ga(A), we = !Y && !ue && !Ce && zl(A), Fe = Y || ue || Ce || we, ze = Fe ? U(A.length, String) : [], mt = ze.length;
28669
+ var Y = va(A), ue = !Y && Vl(A), Ce = !Y && !ue && ga(A), we = !Y && !ue && !Ce && zl(A), Fe = Y || ue || Ce || we, ze = Fe ? q(A.length, String) : [], mt = ze.length;
28669
28670
  for (var We in A)
28670
28671
  (R || Te.call(A, We)) && !(Fe && // Safari 9 has enumerable `arguments.length` in strict mode.
28671
28672
  (We == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -28750,7 +28751,7 @@ gu.exports;
28750
28751
  }
28751
28752
  if (Et) {
28752
28753
  if (!le(R, function(vr, Ti) {
28753
- if (!re(Et, Ti) && (jt === vr || Ce(jt, vr, Y, ue, we)))
28754
+ if (!ne(Et, Ti) && (jt === vr || Ce(jt, vr, Y, ue, we)))
28754
28755
  return Et.push(Ti);
28755
28756
  })) {
28756
28757
  tn = !1;
@@ -28873,7 +28874,7 @@ gu.exports;
28873
28874
  return R;
28874
28875
  });
28875
28876
  function Ec(A, R) {
28876
- return R = R ?? o, !!R && (typeof A == "number" || Q.test(A)) && A > -1 && A % 1 == 0 && A < R;
28877
+ return R = R ?? o, !!R && (typeof A == "number" || Z.test(A)) && A > -1 && A % 1 == 0 && A < R;
28877
28878
  }
28878
28879
  function Oc(A) {
28879
28880
  var R = typeof A;