gotrip-fx-transaction-form 1.0.219-dev → 1.0.220-dev

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 (2) hide show
  1. package/index.js +203 -205
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -37509,13 +37509,13 @@ function hke() {
37509
37509
  if (Lr || (Lr = new V()), da(an))
37510
37510
  Ni(fe, Pe, En, Ke, xi, Vt, Lr);
37511
37511
  else {
37512
- var nr = Vt ? Vt(Ct(fe, En), an, En + "", fe, Pe, Lr) : void 0;
37512
+ var nr = Vt ? Vt(At(fe, En), an, En + "", fe, Pe, Lr) : void 0;
37513
37513
  nr === void 0 && (nr = an), ut(fe, En, nr);
37514
37514
  }
37515
37515
  }, Ru);
37516
37516
  }
37517
37517
  function Ni(fe, Pe, Ke, Vt, Lr, an, En) {
37518
- var nr = Ct(fe, Ke), mn = Ct(Pe, Ke), Aa = En.get(mn);
37518
+ var nr = At(fe, Ke), mn = At(Pe, Ke), Aa = En.get(mn);
37519
37519
  if (Aa) {
37520
37520
  ut(fe, Ke, Aa);
37521
37521
  return;
@@ -37646,7 +37646,7 @@ function hke() {
37646
37646
  return nr[Pe] = Ke(En), Je(fe, this, nr);
37647
37647
  };
37648
37648
  }
37649
- function Ct(fe, Pe) {
37649
+ function At(fe, Pe) {
37650
37650
  if (!(Pe === "constructor" && typeof fe[Pe] == "function") && Pe != "__proto__")
37651
37651
  return fe[Pe];
37652
37652
  }
@@ -49904,7 +49904,7 @@ Arguments: ` + Array.prototype.slice.call(M).join("") + `
49904
49904
  function Xe() {
49905
49905
  return this._week.doy;
49906
49906
  }
49907
- function Ct(S) {
49907
+ function At(S) {
49908
49908
  var _ = this.localeData().week(this);
49909
49909
  return S == null ? _ : this.add((S - _) * 7, "d");
49910
49910
  }
@@ -51251,7 +51251,7 @@ Arguments: ` + Array.prototype.slice.call(M).join("") + `
51251
51251
  var bt = E.prototype;
51252
51252
  bt.add = xf, bt.calendar = oE, bt.clone = sE, bt.diff = Nx, bt.endOf = dE, bt.format = Zg, bt.from = cE, bt.fromNow = lE, bt.to = uE, bt.toNow = Qg, bt.get = ht, bt.invalidAt = fE, bt.isAfter = Xg, bt.isBefore = wl, bt.isBetween = qg, bt.isSame = Px, bt.isSameOrAfter = Jg, bt.isSameOrBefore = Ox, bt.isValid = rm, bt.lang = em, bt.locale = Qh, bt.localeData = Lx, bt.max = GT, bt.min = _x, bt.parsingFlags = wf, bt.set = Ut, bt.startOf = Bx, bt.subtract = Kg, bt.toArray = Cf, bt.toObject = rp, bt.toDate = Dy, bt.toISOString = Zh, bt.inspect = Nu, typeof Symbol < "u" && Symbol.for != null && (bt[Symbol.for("nodejs.util.inspect.custom")] = function() {
51253
51253
  return "Moment<" + this.format() + ">";
51254
- }), bt.toJSON = np, bt.toString = Dx, bt.unix = tp, bt.valueOf = Ny, bt.creationData = hE, bt.eraName = nm, bt.eraNarrow = ap, bt.eraAbbr = Vx, bt.eraYear = ne, bt.year = Oe, bt.isLeapYear = et, bt.weekYear = SE, bt.isoWeekYear = xE, bt.quarter = bt.quarters = TE, bt.month = uf, bt.daysInMonth = df, bt.week = bt.weeks = Ct, bt.isoWeek = bt.isoWeeks = jt, bt.weeksInYear = Hc, bt.weeksInWeekYear = wE, bt.isoWeeksInYear = AE, bt.isoWeeksInISOWeekYear = CE, bt.date = $x, bt.day = bt.days = ff, bt.weekday = Ru, bt.isoWeekday = hf, bt.dayOfYear = Wc, bt.hour = bt.hours = nr, bt.minute = bt.minutes = EE, bt.second = bt.seconds = kE, bt.millisecond = bt.milliseconds = Hx, bt.utcOffset = QT, bt.utc = tE, bt.local = rE, bt.parseZone = nE, bt.hasAlignedHourOffset = Sf, bt.isDST = Fe, bt.isLocal = je, bt.isUtcOffset = Ht, bt.isUtc = Cr, bt.isUTC = Cr, bt.zoneAbbr = Du, bt.zoneName = RE, bt.dates = F(
51254
+ }), bt.toJSON = np, bt.toString = Dx, bt.unix = tp, bt.valueOf = Ny, bt.creationData = hE, bt.eraName = nm, bt.eraNarrow = ap, bt.eraAbbr = Vx, bt.eraYear = ne, bt.year = Oe, bt.isLeapYear = et, bt.weekYear = SE, bt.isoWeekYear = xE, bt.quarter = bt.quarters = TE, bt.month = uf, bt.daysInMonth = df, bt.week = bt.weeks = At, bt.isoWeek = bt.isoWeeks = jt, bt.weeksInYear = Hc, bt.weeksInWeekYear = wE, bt.isoWeeksInYear = AE, bt.isoWeeksInISOWeekYear = CE, bt.date = $x, bt.day = bt.days = ff, bt.weekday = Ru, bt.isoWeekday = hf, bt.dayOfYear = Wc, bt.hour = bt.hours = nr, bt.minute = bt.minutes = EE, bt.second = bt.seconds = kE, bt.millisecond = bt.milliseconds = Hx, bt.utcOffset = QT, bt.utc = tE, bt.local = rE, bt.parseZone = nE, bt.hasAlignedHourOffset = Sf, bt.isDST = Fe, bt.isLocal = je, bt.isUtcOffset = Ht, bt.isUtc = Cr, bt.isUTC = Cr, bt.zoneAbbr = Du, bt.zoneName = RE, bt.dates = F(
51255
51255
  "dates accessor is deprecated. Use date instead.",
51256
51256
  $x
51257
51257
  ), bt.months = F(
@@ -51878,7 +51878,7 @@ function L5(e, t) {
51878
51878
  }
51879
51879
  return r;
51880
51880
  }
51881
- function At(e) {
51881
+ function xt(e) {
51882
51882
  for (var t = 1; t < arguments.length; t++) {
51883
51883
  var r = arguments[t] != null ? arguments[t] : {};
51884
51884
  t % 2 ? L5(Object(r), !0).forEach(function(n) {
@@ -52211,20 +52211,20 @@ function rx(e) {
52211
52211
  }
52212
52212
  });
52213
52213
  }
52214
- const xJ = At({}, pJ);
52215
- xJ[fo] = At(At(At(At({}, {
52214
+ const xJ = xt({}, pJ);
52215
+ xJ[fo] = xt(xt(xt(xt({}, {
52216
52216
  "fa-duotone": "duotone"
52217
52217
  }), pJ[fo]), V5.kit), V5["kit-duotone"]);
52218
- const F3e = rx(xJ), GP = At({}, v3e);
52219
- GP[fo] = At(At(At(At({}, {
52218
+ const F3e = rx(xJ), GP = xt({}, v3e);
52219
+ GP[fo] = xt(xt(xt(xt({}, {
52220
52220
  duotone: "fad"
52221
52221
  }), GP[fo]), U5.kit), U5["kit-duotone"]);
52222
- const H5 = rx(GP), YP = At({}, $P);
52223
- YP[fo] = At(At({}, YP[fo]), C3e.kit);
52224
- const VL = rx(YP), KP = At({}, E3e);
52225
- KP[fo] = At(At({}, KP[fo]), x3e.kit);
52222
+ const H5 = rx(GP), YP = xt({}, $P);
52223
+ YP[fo] = xt(xt({}, YP[fo]), C3e.kit);
52224
+ const VL = rx(YP), KP = xt({}, E3e);
52225
+ KP[fo] = xt(xt({}, KP[fo]), x3e.kit);
52226
52226
  rx(KP);
52227
- const B3e = u3e, AJ = "fa-layers-text", V3e = d3e, U3e = At({}, g3e);
52227
+ const B3e = u3e, AJ = "fa-layers-text", V3e = d3e, U3e = xt({}, g3e);
52228
52228
  rx(U3e);
52229
52229
  const $3e = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], a2 = f3e, H3e = [...S3e, ...O3e], gb = Th.FontAwesomeConfig || {};
52230
52230
  function W3e(e) {
@@ -52256,7 +52256,7 @@ const CJ = {
52256
52256
  showMissingIcons: !0
52257
52257
  };
52258
52258
  gb.familyPrefix && (gb.cssPrefix = gb.familyPrefix);
52259
- const z0 = At(At({}, CJ), gb);
52259
+ const z0 = xt(xt({}, CJ), gb);
52260
52260
  z0.autoReplaceSvg || (z0.observeMutations = !1);
52261
52261
  const Jt = {};
52262
52262
  Object.keys(CJ).forEach((e) => {
@@ -53020,7 +53020,7 @@ function XP(e, t) {
53020
53020
  const {
53021
53021
  skipHooks: n = !1
53022
53022
  } = r, a = G5(t);
53023
- typeof ou.hooks.addPack == "function" && !n ? ou.hooks.addPack(e, G5(t)) : ou.styles[e] = At(At({}, ou.styles[e] || {}), a), e === "fas" && XP("fa", t);
53023
+ typeof ou.hooks.addPack == "function" && !n ? ou.hooks.addPack(e, G5(t)) : ou.styles[e] = xt(xt({}, ou.styles[e] || {}), a), e === "fas" && XP("fa", t);
53024
53024
  }
53025
53025
  const {
53026
53026
  styles: tS,
@@ -53140,12 +53140,12 @@ function fT(e) {
53140
53140
  skipLookups: r = !1
53141
53141
  } = t;
53142
53142
  let n = null;
53143
- const a = HP.concat(_3e), i = Y5(e.filter((d) => a.includes(d))), o = Y5(e.filter((d) => !HP.includes(d))), s = i.filter((d) => (n = d, !gJ.includes(d))), [c = null] = s, l = cBe(i), u = At(At({}, lBe(o)), {}, {
53143
+ const a = HP.concat(_3e), i = Y5(e.filter((d) => a.includes(d))), o = Y5(e.filter((d) => !HP.includes(d))), s = i.filter((d) => (n = d, !gJ.includes(d))), [c = null] = s, l = cBe(i), u = xt(xt({}, lBe(o)), {}, {
53144
53144
  prefix: dT(c, {
53145
53145
  family: l
53146
53146
  })
53147
53147
  });
53148
- return At(At(At({}, u), hBe({
53148
+ return xt(xt(xt({}, u), hBe({
53149
53149
  values: e,
53150
53150
  family: l,
53151
53151
  styles: tS,
@@ -53195,7 +53195,7 @@ class pBe {
53195
53195
  r[n] = arguments[n];
53196
53196
  const a = r.reduce(this._pullDefinitions, {});
53197
53197
  Object.keys(a).forEach((i) => {
53198
- this.definitions[i] = At(At({}, this.definitions[i] || {}), a[i]), XP(i, a[i]);
53198
+ this.definitions[i] = xt(xt({}, this.definitions[i] || {}), a[i]), XP(i, a[i]);
53199
53199
  const o = VL[fo][i];
53200
53200
  o && XP(o, a[i]), DJ();
53201
53201
  });
@@ -53369,7 +53369,7 @@ function xBe(e) {
53369
53369
  x: s / c / 2,
53370
53370
  y: 0.5
53371
53371
  };
53372
- a.style = uT(At(At({}, i), {}, {
53372
+ a.style = uT(xt(xt({}, i), {}, {
53373
53373
  "transform-origin": "".concat(l.x + o.x / 16, "em ").concat(l.y + o.y / 16, "em")
53374
53374
  }));
53375
53375
  }
@@ -53395,7 +53395,7 @@ function ABe(e) {
53395
53395
  },
53396
53396
  children: [{
53397
53397
  tag: "symbol",
53398
- attributes: At(At({}, a), {}, {
53398
+ attributes: xt(xt({}, a), {}, {
53399
53399
  id: o
53400
53400
  }),
53401
53401
  children: n
@@ -53423,7 +53423,7 @@ function zL(e) {
53423
53423
  } = r.found ? r : t, m = A3e.includes(n), v = [Jt.replacementClass, a ? "".concat(Jt.cssPrefix, "-").concat(a) : ""].filter((T) => u.classes.indexOf(T) === -1).filter((T) => T !== "" || !!T).concat(u.classes).join(" ");
53424
53424
  let b = {
53425
53425
  children: [],
53426
- attributes: At(At({}, u.attributes), {}, {
53426
+ attributes: xt(xt({}, u.attributes), {}, {
53427
53427
  "data-prefix": n,
53428
53428
  "data-icon": a,
53429
53429
  class: v,
@@ -53442,7 +53442,7 @@ function zL(e) {
53442
53442
  },
53443
53443
  children: [s]
53444
53444
  }), delete b.attributes.title);
53445
- const C = At(At({}, b), {}, {
53445
+ const C = xt(xt({}, b), {}, {
53446
53446
  prefix: n,
53447
53447
  iconName: a,
53448
53448
  main: t,
@@ -53450,7 +53450,7 @@ function zL(e) {
53450
53450
  maskId: c,
53451
53451
  transform: i,
53452
53452
  symbol: o,
53453
- styles: At(At({}, x), u.styles)
53453
+ styles: xt(xt({}, x), u.styles)
53454
53454
  }), {
53455
53455
  children: A,
53456
53456
  attributes: k
@@ -53472,13 +53472,13 @@ function j5(e) {
53472
53472
  title: i,
53473
53473
  extra: o,
53474
53474
  watchable: s = !1
53475
- } = e, c = At(At(At({}, o.attributes), i ? {
53475
+ } = e, c = xt(xt(xt({}, o.attributes), i ? {
53476
53476
  title: i
53477
53477
  } : {}), {}, {
53478
53478
  class: o.classes.join(" ")
53479
53479
  });
53480
53480
  s && (c[fg] = "");
53481
- const l = At({}, o.styles);
53481
+ const l = xt({}, o.styles);
53482
53482
  $L(a) && (l.transform = q3e({
53483
53483
  transform: a,
53484
53484
  startCentered: !0,
@@ -53505,7 +53505,7 @@ function CBe(e) {
53505
53505
  content: t,
53506
53506
  title: r,
53507
53507
  extra: n
53508
- } = e, a = At(At(At({}, n.attributes), r ? {
53508
+ } = e, a = xt(xt(xt({}, n.attributes), r ? {
53509
53509
  title: r
53510
53510
  } : {}), {}, {
53511
53511
  class: n.classes.join(" ")
@@ -53582,7 +53582,7 @@ function QP(e, t) {
53582
53582
  const i = s2[t][e];
53583
53583
  return n(ZP(i));
53584
53584
  }
53585
- _Be(e, t), n(At(At({}, wBe), {}, {
53585
+ _Be(e, t), n(xt(xt({}, wBe), {}, {
53586
53586
  icon: Jt.showMissingIcons && e ? kh("missingIconAbstract") || {} : {}
53587
53587
  }));
53588
53588
  });
@@ -53771,7 +53771,7 @@ function Q5(e) {
53771
53771
  rest: a
53772
53772
  } = LBe(e), i = MBe(e), o = qP("parseNodeAttributes", {}, e);
53773
53773
  let s = t.styleParser ? DBe(e) : [];
53774
- return At({
53774
+ return xt({
53775
53775
  iconName: r,
53776
53776
  title: e.getAttribute("title"),
53777
53777
  titleId: e.getAttribute("data-fa-title-id"),
@@ -53852,7 +53852,7 @@ function $Be(e) {
53852
53852
  let {
53853
53853
  mask: a
53854
53854
  } = r;
53855
- return a && (a = (a || {}).icon ? a : JP(a || {})), e(n, At(At({}, r), {}, {
53855
+ return a && (a = (a || {}).icon ? a : JP(a || {})), e(n, xt(xt({}, r), {}, {
53856
53856
  mask: a
53857
53857
  }));
53858
53858
  };
@@ -53876,7 +53876,7 @@ const HBe = function(e) {
53876
53876
  iconName: h,
53877
53877
  icon: g
53878
53878
  } = e;
53879
- return hT(At({
53879
+ return hT(xt({
53880
53880
  type: "icon"
53881
53881
  }, e), () => (hg("beforeDOMElementCreation", {
53882
53882
  iconDefinition: e,
@@ -53893,7 +53893,7 @@ const HBe = function(e) {
53893
53893
  },
53894
53894
  prefix: d,
53895
53895
  iconName: h,
53896
- transform: At(At({}, iu), r),
53896
+ transform: xt(xt({}, iu), r),
53897
53897
  symbol: n,
53898
53898
  title: o,
53899
53899
  maskId: i,
@@ -54065,7 +54065,7 @@ var WBe = {
54065
54065
  params: t
54066
54066
  }), j5({
54067
54067
  content: e,
54068
- transform: At(At({}, iu), r),
54068
+ transform: xt(xt({}, iu), r),
54069
54069
  title: n,
54070
54070
  extra: {
54071
54071
  attributes: i,
@@ -54100,7 +54100,7 @@ var WBe = {
54100
54100
  };
54101
54101
  }
54102
54102
  };
54103
- const KBe = new RegExp('"', "ug"), t6 = [1105920, 1112319], r6 = At(At(At(At({}, {
54103
+ const KBe = new RegExp('"', "ug"), t6 = [1105920, 1112319], r6 = xt(xt(xt(xt({}, {
54104
54104
  FontAwesome: {
54105
54105
  normal: "fas",
54106
54106
  400: "fas"
@@ -54146,7 +54146,7 @@ function n6(e, t) {
54146
54146
  extra: k
54147
54147
  } = A;
54148
54148
  k.attributes[zP] = t, QP(x, g).then((T) => {
54149
- const I = zL(At(At({}, A), {}, {
54149
+ const I = zL(xt(xt({}, A), {}, {
54150
54150
  icons: {
54151
54151
  main: T,
54152
54152
  mask: MJ()
@@ -54310,14 +54310,14 @@ var tVe = {
54310
54310
  };
54311
54311
  return {
54312
54312
  tag: "g",
54313
- attributes: At({}, h.outer),
54313
+ attributes: xt({}, h.outer),
54314
54314
  children: [{
54315
54315
  tag: "g",
54316
- attributes: At({}, h.inner),
54316
+ attributes: xt({}, h.inner),
54317
54317
  children: [{
54318
54318
  tag: r.icon.tag,
54319
54319
  children: r.icon.children,
54320
- attributes: At(At({}, r.icon.attributes), h.path)
54320
+ attributes: xt(xt({}, r.icon.attributes), h.path)
54321
54321
  }]
54322
54322
  }]
54323
54323
  };
@@ -54368,25 +54368,25 @@ var nVe = {
54368
54368
  iconWidth: c
54369
54369
  }), g = {
54370
54370
  tag: "rect",
54371
- attributes: At(At({}, c2), {}, {
54371
+ attributes: xt(xt({}, c2), {}, {
54372
54372
  fill: "white"
54373
54373
  })
54374
54374
  }, m = l.children ? {
54375
54375
  children: l.children.map(s6)
54376
54376
  } : {}, v = {
54377
54377
  tag: "g",
54378
- attributes: At({}, h.inner),
54379
- children: [s6(At({
54378
+ attributes: xt({}, h.inner),
54379
+ children: [s6(xt({
54380
54380
  tag: l.tag,
54381
- attributes: At(At({}, l.attributes), h.path)
54381
+ attributes: xt(xt({}, l.attributes), h.path)
54382
54382
  }, m))]
54383
54383
  }, b = {
54384
54384
  tag: "g",
54385
- attributes: At({}, h.outer),
54385
+ attributes: xt({}, h.outer),
54386
54386
  children: [v]
54387
54387
  }, x = "mask-".concat(o || eS()), C = "clip-".concat(o || eS()), A = {
54388
54388
  tag: "mask",
54389
- attributes: At(At({}, c2), {}, {
54389
+ attributes: xt(xt({}, c2), {}, {
54390
54390
  id: x,
54391
54391
  maskUnits: "userSpaceOnUse",
54392
54392
  maskContentUnits: "userSpaceOnUse"
@@ -54404,7 +54404,7 @@ var nVe = {
54404
54404
  };
54405
54405
  return r.push(k, {
54406
54406
  tag: "rect",
54407
- attributes: At({
54407
+ attributes: xt({
54408
54408
  fill: "currentColor",
54409
54409
  "clip-path": "url(#".concat(C, ")"),
54410
54410
  mask: "url(#".concat(x, ")")
@@ -54428,15 +54428,15 @@ var nVe = {
54428
54428
  };
54429
54429
  r.push({
54430
54430
  tag: "path",
54431
- attributes: At(At({}, n), {}, {
54431
+ attributes: xt(xt({}, n), {}, {
54432
54432
  d: "M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"
54433
54433
  })
54434
54434
  });
54435
- const i = At(At({}, a), {}, {
54435
+ const i = xt(xt({}, a), {}, {
54436
54436
  attributeName: "opacity"
54437
54437
  }), o = {
54438
54438
  tag: "circle",
54439
- attributes: At(At({}, n), {}, {
54439
+ attributes: xt(xt({}, n), {}, {
54440
54440
  cx: "256",
54441
54441
  cy: "364",
54442
54442
  r: "28"
@@ -54445,36 +54445,36 @@ var nVe = {
54445
54445
  };
54446
54446
  return t || o.children.push({
54447
54447
  tag: "animate",
54448
- attributes: At(At({}, a), {}, {
54448
+ attributes: xt(xt({}, a), {}, {
54449
54449
  attributeName: "r",
54450
54450
  values: "28;14;28;28;14;28;"
54451
54451
  })
54452
54452
  }, {
54453
54453
  tag: "animate",
54454
- attributes: At(At({}, i), {}, {
54454
+ attributes: xt(xt({}, i), {}, {
54455
54455
  values: "1;0;1;1;0;1;"
54456
54456
  })
54457
54457
  }), r.push(o), r.push({
54458
54458
  tag: "path",
54459
- attributes: At(At({}, n), {}, {
54459
+ attributes: xt(xt({}, n), {}, {
54460
54460
  opacity: "1",
54461
54461
  d: "M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"
54462
54462
  }),
54463
54463
  children: t ? [] : [{
54464
54464
  tag: "animate",
54465
- attributes: At(At({}, i), {}, {
54465
+ attributes: xt(xt({}, i), {}, {
54466
54466
  values: "1;0;0;0;0;1;"
54467
54467
  })
54468
54468
  }]
54469
54469
  }), t || r.push({
54470
54470
  tag: "path",
54471
- attributes: At(At({}, n), {}, {
54471
+ attributes: xt(xt({}, n), {}, {
54472
54472
  opacity: "0",
54473
54473
  d: "M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"
54474
54474
  }),
54475
54475
  children: [{
54476
54476
  tag: "animate",
54477
- attributes: At(At({}, i), {}, {
54477
+ attributes: xt(xt({}, i), {}, {
54478
54478
  values: "0;0;1;1;0;0;"
54479
54479
  })
54480
54480
  }]
@@ -60085,9 +60085,9 @@ function c$e() {
60085
60085
  ["partial", T],
60086
60086
  ["partialRight", I],
60087
60087
  ["rearg", R]
60088
- ], z = "[object Arguments]", Ce = "[object Array]", Be = "[object AsyncFunction]", pe = "[object Boolean]", ve = "[object Date]", de = "[object DOMException]", ze = "[object Error]", Z = "[object Function]", Je = "[object GeneratorFunction]", Ue = "[object Map]", at = "[object Number]", Ge = "[object Null]", Ae = "[object Object]", ie = "[object Promise]", me = "[object Proxy]", _e = "[object RegExp]", Te = "[object Set]", Re = "[object String]", Me = "[object Symbol]", tt = "[object Undefined]", lt = "[object WeakMap]", yt = "[object WeakSet]", Rt = "[object ArrayBuffer]", Dt = "[object DataView]", Kt = "[object Float32Array]", gt = "[object Float64Array]", Lt = "[object Int8Array]", Gt = "[object Int16Array]", Pt = "[object Int32Array]", dr = "[object Uint8Array]", er = "[object Uint8ClampedArray]", Ir = "[object Uint16Array]", Vr = "[object Uint32Array]", en = /\b__p \+= '';/g, jn = /\b(__p \+=) '' \+/g, We = /(__e\(.*?\)|\b__t\)) \+\n'';/g, mt = /&(?:amp|lt|gt|quot|#39);/g, Rr = /[&<>"']/g, It = RegExp(mt.source), Nr = RegExp(Rr.source), vt = /<%-([\s\S]+?)%>/g, lr = /<%([\s\S]+?)%>/g, dn = /<%=([\s\S]+?)%>/g, Ot = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, kt = /^\w*$/, Bt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, tn = /[\\^$.*+?()[\]{}|]/g, zt = RegExp(tn.source), Gr = /^\s+/, $n = /\s/, An = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, W = /\{\n\/\* \[wrapped with (.+)\] \*/, ee = /,? & /, J = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Q = /[()=,{}\[\]\/\s]/, se = /\\(\\)?/g, V = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, le = /\w*$/, Ie = /^[-+]0x[0-9a-f]+$/i, be = /^0b[01]+$/i, Ne = /^\[object .+?Constructor\]$/, Oe = /^0o[0-7]+$/i, et = /^(?:0|[1-9]\d*)$/, ut = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ot = /($^)/, st = /['\n\r\u2028\u2029\\]/g, ht = "\\ud800-\\udfff", Ut = "\\u0300-\\u036f", Tr = "\\ufe20-\\ufe2f", $t = "\\u20d0-\\u20ff", Sr = Ut + Tr + $t, qa = "\\u2700-\\u27bf", Oi = "a-z\\xdf-\\xf6\\xf8-\\xff", xi = "\\xac\\xb1\\xd7\\xf7", Ni = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ss = "\\u2000-\\u206f", La = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", bl = "A-Z\\xc0-\\xd6\\xd8-\\xde", lf = "\\ufe0e\\ufe0f", _u = xi + Ni + Ss + La, ji = "['’]", uf = "[" + ht + "]", df = "[" + _u + "]", Sl = "[" + Sr + "]", Mc = "\\d+", xl = "[" + qa + "]", Tu = "[" + Oi + "]", xs = "[^" + ht + _u + Mc + qa + Oi + bl + "]", Ko = "\\ud83c[\\udffb-\\udfff]", Eu = "(?:" + Sl + "|" + Ko + ")", As = "[^" + ht + "]", Ai = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fc = "[\\ud800-\\udbff][\\udc00-\\udfff]", Cs = "[" + bl + "]", ku = "\\u200d", Xe = "(?:" + Tu + "|" + xs + ")", Ct = "(?:" + Cs + "|" + xs + ")", jt = "(?:" + ji + "(?:d|ll|m|re|s|t|ve))?", Zt = "(?:" + ji + "(?:D|LL|M|RE|S|T|VE))?", ir = Eu + "?", mr = "[" + lf + "]?", Yt = "(?:" + ku + "(?:" + [As, Ai, Fc].join("|") + ")" + mr + ir + ")*", aa = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ma = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hn = mr + ir + Yt, ua = "(?:" + [xl, Ai, Fc].join("|") + ")" + Hn, rr = "(?:" + [As + Sl + "?", Sl, Ai, Fc, uf].join("|") + ")", Qs = RegExp(ji, "g"), da = RegExp(Sl, "g"), yo = RegExp(Ko + "(?=" + Ko + ")|" + rr + Hn, "g"), Iu = RegExp([
60088
+ ], z = "[object Arguments]", Ce = "[object Array]", Be = "[object AsyncFunction]", pe = "[object Boolean]", ve = "[object Date]", de = "[object DOMException]", ze = "[object Error]", Z = "[object Function]", Je = "[object GeneratorFunction]", Ue = "[object Map]", at = "[object Number]", Ge = "[object Null]", Ae = "[object Object]", ie = "[object Promise]", me = "[object Proxy]", _e = "[object RegExp]", Te = "[object Set]", Re = "[object String]", Me = "[object Symbol]", tt = "[object Undefined]", lt = "[object WeakMap]", yt = "[object WeakSet]", Rt = "[object ArrayBuffer]", Dt = "[object DataView]", Kt = "[object Float32Array]", gt = "[object Float64Array]", Lt = "[object Int8Array]", Gt = "[object Int16Array]", Pt = "[object Int32Array]", dr = "[object Uint8Array]", er = "[object Uint8ClampedArray]", Ir = "[object Uint16Array]", Vr = "[object Uint32Array]", en = /\b__p \+= '';/g, jn = /\b(__p \+=) '' \+/g, We = /(__e\(.*?\)|\b__t\)) \+\n'';/g, mt = /&(?:amp|lt|gt|quot|#39);/g, Rr = /[&<>"']/g, It = RegExp(mt.source), Nr = RegExp(Rr.source), vt = /<%-([\s\S]+?)%>/g, lr = /<%([\s\S]+?)%>/g, dn = /<%=([\s\S]+?)%>/g, Ot = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, kt = /^\w*$/, Bt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, tn = /[\\^$.*+?()[\]{}|]/g, zt = RegExp(tn.source), Gr = /^\s+/, $n = /\s/, An = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, W = /\{\n\/\* \[wrapped with (.+)\] \*/, ee = /,? & /, J = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Q = /[()=,{}\[\]\/\s]/, se = /\\(\\)?/g, V = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, le = /\w*$/, Ie = /^[-+]0x[0-9a-f]+$/i, be = /^0b[01]+$/i, Ne = /^\[object .+?Constructor\]$/, Oe = /^0o[0-7]+$/i, et = /^(?:0|[1-9]\d*)$/, ut = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, ot = /($^)/, st = /['\n\r\u2028\u2029\\]/g, ht = "\\ud800-\\udfff", Ut = "\\u0300-\\u036f", Tr = "\\ufe20-\\ufe2f", $t = "\\u20d0-\\u20ff", Sr = Ut + Tr + $t, qa = "\\u2700-\\u27bf", Oi = "a-z\\xdf-\\xf6\\xf8-\\xff", xi = "\\xac\\xb1\\xd7\\xf7", Ni = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ss = "\\u2000-\\u206f", La = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", bl = "A-Z\\xc0-\\xd6\\xd8-\\xde", lf = "\\ufe0e\\ufe0f", _u = xi + Ni + Ss + La, ji = "['’]", uf = "[" + ht + "]", df = "[" + _u + "]", Sl = "[" + Sr + "]", Mc = "\\d+", xl = "[" + qa + "]", Tu = "[" + Oi + "]", xs = "[^" + ht + _u + Mc + qa + Oi + bl + "]", Ko = "\\ud83c[\\udffb-\\udfff]", Eu = "(?:" + Sl + "|" + Ko + ")", As = "[^" + ht + "]", Ai = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fc = "[\\ud800-\\udbff][\\udc00-\\udfff]", Cs = "[" + bl + "]", ku = "\\u200d", Xe = "(?:" + Tu + "|" + xs + ")", At = "(?:" + Cs + "|" + xs + ")", jt = "(?:" + ji + "(?:d|ll|m|re|s|t|ve))?", Zt = "(?:" + ji + "(?:D|LL|M|RE|S|T|VE))?", ir = Eu + "?", mr = "[" + lf + "]?", Yt = "(?:" + ku + "(?:" + [As, Ai, Fc].join("|") + ")" + mr + ir + ")*", aa = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ma = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hn = mr + ir + Yt, ua = "(?:" + [xl, Ai, Fc].join("|") + ")" + Hn, rr = "(?:" + [As + Sl + "?", Sl, Ai, Fc, uf].join("|") + ")", Qs = RegExp(ji, "g"), da = RegExp(Sl, "g"), yo = RegExp(Ko + "(?=" + Ko + ")|" + rr + Hn, "g"), Iu = RegExp([
60089
60089
  Cs + "?" + Tu + "+" + jt + "(?=" + [df, Cs, "$"].join("|") + ")",
60090
- Ct + "+" + Zt + "(?=" + [df, Cs + Xe, "$"].join("|") + ")",
60090
+ At + "+" + Zt + "(?=" + [df, Cs + Xe, "$"].join("|") + ")",
60091
60091
  Cs + "?" + Xe + "+" + jt,
60092
60092
  Cs + "+" + Zt,
60093
60093
  Ma,
@@ -106393,28 +106393,28 @@ const Jqe = () => {
106393
106393
  hasCommissionData: me
106394
106394
  } = See(), _e = _t(), [Te, Re] = Ve(!1), [Me, tt] = Ve({}), [lt, yt] = Ve(!1), Rt = Qee(), { isExtractingTicket: Dt, readBase64Str: Kt, readImageFile: gt } = Jqe(), [Lt, Gt] = Ve([]), [Pt, dr] = Ve(null), [er, Ir] = Ve(null), [Vr, en] = Ve(!1), jn = (Xe) => {
106395
106395
  var jt;
106396
- const Ct = (jt = Xe.target.files) == null ? void 0 : jt[0];
106397
- if (Ct) {
106396
+ const At = (jt = Xe.target.files) == null ? void 0 : jt[0];
106397
+ if (At) {
106398
106398
  const Zt = new FileReader();
106399
106399
  Zt.onload = (ir) => {
106400
106400
  var Yt;
106401
106401
  const mr = (Yt = ir.target) == null ? void 0 : Yt.result;
106402
106402
  Y(mr), bl(mr);
106403
- }, Zt.readAsDataURL(Ct);
106403
+ }, Zt.readAsDataURL(At);
106404
106404
  }
106405
106405
  };
106406
106406
  wt(() => {
106407
- const Ct = new URLSearchParams(window.location.search).get("ref_code");
106408
- Ct && Je(Ct);
106407
+ const At = new URLSearchParams(window.location.search).get("ref_code");
106408
+ At && Je(At);
106409
106409
  }, []);
106410
106410
  const [We, mt] = Ve(), Rr = QL(We == null ? void 0 : We.shortName), It = Rr == null ? void 0 : Rr.travelling, Nr = pe ? pe.toUpperCase() : "", vt = nt(() => Nr && (It != null && It.max_amount) ? It.max_amount[Nr] : void 0, [Nr, It]), lr = nt(() => vt === null ? null : typeof vt == "number" ? vt : Iw, [vt]), dn = nt(() => lr === null ? null : typeof lr == "number" ? lr : Iw, [lr]), Ot = (We == null ? void 0 : We.shortName) === is.TCB ? BZ : null, kt = ((Tu = It == null ? void 0 : It.messages) == null ? void 0 : Tu.selecting_bank_message) ?? Ot, Bt = ((xs = It == null ? void 0 : It.messages) == null ? void 0 : xs.invalid_time_range) ?? FZ, tn = ((Ko = It == null ? void 0 : It.messages) == null ? void 0 : Ko.singular_form_notes) ?? ((We == null ? void 0 : We.shortName) === is.TCB ? u$e : []), zt = ((Eu = It == null ? void 0 : It.messages) == null ? void 0 : Eu.currency_notes) ?? d$e, Gr = ((As = It == null ? void 0 : It.agent) == null ? void 0 : As.enable) !== !1, $n = nt(() => {
106411
106411
  if (!(We != null && We.settings))
106412
106412
  return Fs({ items: [] });
106413
106413
  const Xe = We.settings.availableCurrencies || [];
106414
106414
  return Fs({
106415
- items: b.filter((Ct) => Xe.includes(Ct)).map((Ct) => ({
106416
- label: Ct,
106417
- value: Ct
106415
+ items: b.filter((At) => Xe.includes(At)).map((At) => ({
106416
+ label: At,
106417
+ value: At
106418
106418
  }))
106419
106419
  });
106420
106420
  }, [b, We]), An = nt(
@@ -106428,7 +106428,7 @@ const Jqe = () => {
106428
106428
  c.length > 0 && mt(c.find((Xe) => Xe.shortName === i) ?? null);
106429
106429
  }, [c, i]), wt(() => {
106430
106430
  (async () => {
106431
- var Ct, jt, Zt, ir;
106431
+ var At, jt, Zt, ir;
106432
106432
  if (console.log("Selected bank:", We == null ? void 0 : We.shortName), (We == null ? void 0 : We.shortName) !== is.ABBANK) {
106433
106433
  console.log("Not ABBANK, clearing departments"), Gt([]), dr(null), Ir(null);
106434
106434
  return;
@@ -106439,7 +106439,7 @@ const Jqe = () => {
106439
106439
  const mr = await Zr.get(nn.department.abbankList);
106440
106440
  console.log("ABBANK departments response:", mr.data), Gt(mr.data || []);
106441
106441
  } catch (mr) {
106442
- console.error("Error fetching ABBANK departments:", mr), console.error("Error details:", (Ct = mr == null ? void 0 : mr.response) == null ? void 0 : Ct.data), console.error("Error status:", (jt = mr == null ? void 0 : mr.response) == null ? void 0 : jt.status), G({
106442
+ console.error("Error fetching ABBANK departments:", mr), console.error("Error details:", (At = mr == null ? void 0 : mr.response) == null ? void 0 : At.data), console.error("Error status:", (jt = mr == null ? void 0 : mr.response) == null ? void 0 : jt.status), G({
106443
106443
  isOpen: !0,
106444
106444
  message: "Không thể tải danh sách phòng giao dịch. Vui lòng thử lại. " + (((ir = (Zt = mr == null ? void 0 : mr.response) == null ? void 0 : Zt.data) == null ? void 0 : ir.message) || "")
106445
106445
  });
@@ -106511,7 +106511,7 @@ const Jqe = () => {
106511
106511
  [V, le, Oe]
106512
106512
  ), ut = nt(() => C[`${pe}-${We == null ? void 0 : We.shortName}`] || "0", [pe, We, C]), ot = nt(() => Lt.filter((Xe) => !Xe.parentId), [Lt]), st = nt(() => ot.length === 1 ? Lt.filter((Xe) => Xe.parentId === ot[0].id) : Pt ? Lt.filter((Xe) => Xe.parentId === Pt) : [], [Lt, Pt, ot]), ht = ot.length > 1, Ut = er, Tr = nt(() => {
106513
106513
  if (!Ut) return null;
106514
- const Xe = Lt.find((Ct) => Ct.id === Ut);
106514
+ const Xe = Lt.find((At) => At.id === Ut);
106515
106515
  return (Xe == null ? void 0 : Xe.name) || null;
106516
106516
  }, [Ut, Lt]);
106517
106517
  wt(() => {
@@ -106520,8 +106520,8 @@ const Jqe = () => {
106520
106520
  const $t = (Xe) => {
106521
106521
  mt(Xe), ve(""), Oe();
106522
106522
  }, Sr = async (Xe) => {
106523
- const Ct = Bo(Xe.departureDate, "YYYYMMDDTHHmm").format("YYYYMMDDHHmmss");
106524
- j({ data: Xe, departureDate: Ct, timingValidation: null }), R();
106523
+ const At = Bo(Xe.departureDate, "YYYYMMDDTHHmm").format("YYYYMMDDHHmmss");
106524
+ j({ data: Xe, departureDate: At, timingValidation: null }), R();
106525
106525
  }, qa = async () => {
106526
106526
  if (L) {
106527
106527
  O(), H(!0);
@@ -106554,7 +106554,7 @@ const Jqe = () => {
106554
106554
  j(null);
106555
106555
  }
106556
106556
  }
106557
- }, Oi = async (Xe, Ct, jt) => {
106557
+ }, Oi = async (Xe, At, jt) => {
106558
106558
  var Zt;
106559
106559
  try {
106560
106560
  const ir = (Zt = zd.find((rr) => rr.alpha2 === Xe.countryCodeDes)) == null ? void 0 : Zt.name, mr = Xe.customers || [], Yt = mr.map(async (rr, Qs) => {
@@ -106583,7 +106583,7 @@ const Jqe = () => {
106583
106583
  currencyCode: (Vt = Xe.currencyCode) == null ? void 0 : Vt.trim(),
106584
106584
  bankCode: (Lr = We == null ? void 0 : We.shortName) == null ? void 0 : Lr.trim(),
106585
106585
  ticketCodeStatus: "CONFIRMED",
106586
- departureDate: Ct,
106586
+ departureDate: At,
106587
106587
  agentName: Xe.useAgent ? (an = Xe.agentName) == null ? void 0 : an.trim() : void 0,
106588
106588
  agentPhone: Xe.useAgent ? (En = Xe.agentMobileNo) == null ? void 0 : En.trim() : void 0,
106589
106589
  agentIdentityNumber: Xe.useAgent ? (nr = Xe.agentIdNo) == null ? void 0 : nr.trim() : void 0,
@@ -106746,8 +106746,8 @@ const Jqe = () => {
106746
106746
  return;
106747
106747
  }
106748
106748
  T();
106749
- } catch (Ct) {
106750
- console.error((Xe = Ct.response) == null ? void 0 : Xe.data), G({
106749
+ } catch (At) {
106750
+ console.error((Xe = At.response) == null ? void 0 : Xe.data), G({
106751
106751
  isOpen: !0,
106752
106752
  message: "Lấy thông tin chuyến bay không thành công. Tuy nhiên điều này không cần thiết để đặt mua ngoại tệ."
106753
106753
  });
@@ -106779,18 +106779,18 @@ const Jqe = () => {
106779
106779
  }, bl = async (Xe) => {
106780
106780
  if (typeof Xe == "string") {
106781
106781
  console.log("Processing ticket as base64 string (webcam/camera capture)");
106782
- const Ct = await Kt(Xe);
106783
- _u(Ct);
106782
+ const At = await Kt(Xe);
106783
+ _u(At);
106784
106784
  } else {
106785
106785
  console.log("Processing ticket as File object (file upload)");
106786
- const Ct = await gt(Xe);
106787
- if (console.log("Ticket upload response:", Ct), Ct && Ct.gcsUrl) {
106786
+ const At = await gt(Xe);
106787
+ if (console.log("Ticket upload response:", At), At && At.gcsUrl) {
106788
106788
  const jt = {
106789
- url: Ct.gcsUrl,
106790
- type: Ct.mimeType || "image/jpeg",
106791
- originalName: Ct.originalName || `ticket_${Date.now()}.jpg`,
106792
- uploadedAt: Ct.uploadedAt || (/* @__PURE__ */ new Date()).toISOString(),
106793
- fileSize: Ct.fileSize || 0,
106789
+ url: At.gcsUrl,
106790
+ type: At.mimeType || "image/jpeg",
106791
+ originalName: At.originalName || `ticket_${Date.now()}.jpg`,
106792
+ uploadedAt: At.uploadedAt || (/* @__PURE__ */ new Date()).toISOString(),
106793
+ fileSize: At.fileSize || 0,
106794
106794
  category: "ticket"
106795
106795
  };
106796
106796
  console.log("Saving ticket file URL:", jt), K((Zt) => {
@@ -106798,8 +106798,8 @@ const Jqe = () => {
106798
106798
  return console.log("Updated ticketFileUrls:", ir), ir;
106799
106799
  });
106800
106800
  } else
106801
- console.error("No gcsUrl in response - file was not uploaded!", Ct);
106802
- Ct && _u(Ct);
106801
+ console.error("No gcsUrl in response - file was not uploaded!", At);
106802
+ At && _u(At);
106803
106803
  }
106804
106804
  }, lf = (Xe) => {
106805
106805
  g([]), v([
@@ -106826,21 +106826,21 @@ const Jqe = () => {
106826
106826
  ],
106827
106827
  { shouldValidate: !0, shouldDirty: !0 }
106828
106828
  ), V("reservationNumber", ""), V("airlineCode", ""), V("airlineName", ""), V("departureDate", ""), V("countryCodeDes", ""), V("countryNameDes", ""), K([]), B && B.startsWith("blob:") && URL.revokeObjectURL(B);
106829
- const Ct = Xe[0];
106830
- if (Ct.type === "application/pdf") {
106831
- const Zt = URL.createObjectURL(Ct);
106832
- Y(Zt), bl(Ct);
106829
+ const At = Xe[0];
106830
+ if (At.type === "application/pdf") {
106831
+ const Zt = URL.createObjectURL(At);
106832
+ Y(Zt), bl(At);
106833
106833
  } else {
106834
106834
  const Zt = new FileReader();
106835
106835
  Zt.onload = (ir) => {
106836
106836
  var mr;
106837
106837
  Y((mr = ir.target) == null ? void 0 : mr.result);
106838
- }, Zt.readAsDataURL(Ct), bl(Ct);
106838
+ }, Zt.readAsDataURL(At), bl(At);
106839
106839
  }
106840
106840
  }, _u = (Xe) => {
106841
- const { reservationNumber: Ct, departureDate: jt, airlineName: Zt, customers: ir, airportCode: mr } = Xe;
106841
+ const { reservationNumber: At, departureDate: jt, airlineName: Zt, customers: ir, airportCode: mr } = Xe;
106842
106842
  let Yt = !1;
106843
- V("reservationNumber", Ct), jt && jt.length === 13 && V("departureDate", jt), Yt = Ct && jt;
106843
+ V("reservationNumber", At), jt && jt.length === 13 && V("departureDate", jt), Yt = At && jt;
106844
106844
  const aa = qqe.get(mr), Ma = zd.find((ua) => ua.name === aa);
106845
106845
  Ma ? (V("countryCodeDes", Ma.alpha2), V("countryNameDes", Ma.nameVi), Yt = Yt && !0) : Yt = !1;
106846
106846
  const Hn = vT.find(
@@ -106883,22 +106883,22 @@ const Jqe = () => {
106883
106883
  };
106884
106884
  wt(() => {
106885
106885
  const Xe = {};
106886
- u.forEach((Ct) => {
106887
- Xe[`${Ct.currencyCode}-${Ct.bankShortName}`] = Ct.exchangeRate;
106886
+ u.forEach((At) => {
106887
+ Xe[`${At.currencyCode}-${At.bankShortName}`] = At.exchangeRate;
106888
106888
  }), A(Xe);
106889
106889
  }, [u]), wt(() => {
106890
106890
  We && Zr.get(nn.currency.list(We.shortName)).then((Xe) => {
106891
106891
  var jt;
106892
- const Ct = ((jt = Xe.data) == null ? void 0 : jt[We.shortName]) || [];
106893
- x(Ct.map((Zt) => Zt.currencyCode)), d(Ct);
106892
+ const At = ((jt = Xe.data) == null ? void 0 : jt[We.shortName]) || [];
106893
+ x(At.map((Zt) => Zt.currencyCode)), d(At);
106894
106894
  });
106895
106895
  }, [We]), wt(() => () => {
106896
106896
  B && B.startsWith("blob:") && URL.revokeObjectURL(B);
106897
106897
  }, [B]);
106898
- const ji = (Xe, Ct, jt) => {
106898
+ const ji = (Xe, At, jt) => {
106899
106899
  v((Zt) => {
106900
106900
  const ir = Zt.map(
106901
- (Yt) => Yt.id === Xe ? { ...Yt, [Ct]: jt } : Yt
106901
+ (Yt) => Yt.id === Xe ? { ...Yt, [At]: jt } : Yt
106902
106902
  ), mr = ir.map((Yt) => ({
106903
106903
  name: Yt.name,
106904
106904
  ticketCode: Yt.ticketCode,
@@ -106920,9 +106920,9 @@ const Jqe = () => {
106920
106920
  mobileNo: "",
106921
106921
  idCardFileUrls: [],
106922
106922
  passportFileUrls: []
106923
- }, Ct = [...m, Xe];
106924
- v(Ct);
106925
- const jt = Ct.map((Zt) => ({
106923
+ }, At = [...m, Xe];
106924
+ v(At);
106925
+ const jt = At.map((Zt) => ({
106926
106926
  name: Zt.name,
106927
106927
  ticketCode: Zt.ticketCode,
106928
106928
  passportNo: Zt.passportNo,
@@ -106934,9 +106934,9 @@ const Jqe = () => {
106934
106934
  h.length > 0 && T();
106935
106935
  }, Sl = (Xe) => {
106936
106936
  if (m.length > 1) {
106937
- const Ct = m.filter((Zt) => Zt.id !== Xe);
106938
- v(Ct);
106939
- const jt = Ct.map((Zt) => ({
106937
+ const At = m.filter((Zt) => Zt.id !== Xe);
106938
+ v(At);
106939
+ const jt = At.map((Zt) => ({
106940
106940
  name: Zt.name,
106941
106941
  ticketCode: Zt.ticketCode,
106942
106942
  passportNo: Zt.passportNo,
@@ -106945,11 +106945,11 @@ const Jqe = () => {
106945
106945
  }));
106946
106946
  V("customers", jt);
106947
106947
  }
106948
- }, Mc = async (Xe, Ct, jt) => {
106948
+ }, Mc = async (Xe, At, jt) => {
106949
106949
  var mr, Yt, aa, Ma;
106950
106950
  const Zt = (mr = Xe.target.files) == null ? void 0 : mr[0];
106951
106951
  if (!Zt) return;
106952
- const ir = `${Ct}_${jt}`;
106952
+ const ir = `${At}_${jt}`;
106953
106953
  try {
106954
106954
  tt((rr) => ({ ...rr, [ir]: !0 }));
106955
106955
  const Hn = new FormData();
@@ -106967,11 +106967,11 @@ const Jqe = () => {
106967
106967
  fileSize: rr.fileSize || 0,
106968
106968
  category: jt
106969
106969
  };
106970
- jt === "idCard" ? (rr.id_number && ji(Ct, "idNo", rr.id_number), rr.name && ji(Ct, "name", rr.name), ji(Ct, "idCardFileUrls", [
106971
- ...((aa = m.find((da) => da.id === Ct)) == null ? void 0 : aa.idCardFileUrls) || [],
106970
+ jt === "idCard" ? (rr.id_number && ji(At, "idNo", rr.id_number), rr.name && ji(At, "name", rr.name), ji(At, "idCardFileUrls", [
106971
+ ...((aa = m.find((da) => da.id === At)) == null ? void 0 : aa.idCardFileUrls) || [],
106972
106972
  Qs
106973
- ])) : (rr.passport_id && ji(Ct, "passportNo", rr.passport_id), rr.name && ji(Ct, "name", rr.name), ji(Ct, "passportFileUrls", [
106974
- ...((Ma = m.find((da) => da.id === Ct)) == null ? void 0 : Ma.passportFileUrls) || [],
106973
+ ])) : (rr.passport_id && ji(At, "passportNo", rr.passport_id), rr.name && ji(At, "name", rr.name), ji(At, "passportFileUrls", [
106974
+ ...((Ma = m.find((da) => da.id === At)) == null ? void 0 : Ma.passportFileUrls) || [],
106975
106975
  Qs
106976
106976
  ])), te({
106977
106977
  isOpen: !0,
@@ -106992,12 +106992,12 @@ const Jqe = () => {
106992
106992
  }
106993
106993
  }, xl = async (Xe) => {
106994
106994
  var jt, Zt;
106995
- const Ct = (jt = Xe.target.files) == null ? void 0 : jt[0];
106996
- if (Ct)
106995
+ const At = (jt = Xe.target.files) == null ? void 0 : jt[0];
106996
+ if (At)
106997
106997
  try {
106998
106998
  yt(!0);
106999
106999
  const ir = new FormData();
107000
- ir.append("files", Ct), ir.append("documentType", "citizen-identity-card");
107000
+ ir.append("files", At), ir.append("documentType", "citizen-identity-card");
107001
107001
  const mr = await Zr.post(nn.image.uploadIdentityDocuments, ir);
107002
107002
  if ((Zt = mr.data) != null && Zt.data && mr.data.data.length > 0) {
107003
107003
  const Yt = mr.data.data[0];
@@ -107106,8 +107106,8 @@ const Jqe = () => {
107106
107106
  }),
107107
107107
  value: Pt ? [Pt.toString()] : [],
107108
107108
  onValueChange: (Xe) => {
107109
- const Ct = Xe.value[0] ? Number(Xe.value[0]) : null;
107110
- dr(Ct), Ir(null);
107109
+ const At = Xe.value[0] ? Number(Xe.value[0]) : null;
107110
+ dr(At), Ir(null);
107111
107111
  },
107112
107112
  children: [
107113
107113
  /* @__PURE__ */ P(Sd, { children: [
@@ -107142,8 +107142,8 @@ const Jqe = () => {
107142
107142
  }),
107143
107143
  value: Ut ? [Ut.toString()] : [],
107144
107144
  onValueChange: (Xe) => {
107145
- const Ct = Xe.value[0] ? Number(Xe.value[0]) : null;
107146
- Ir(Ct);
107145
+ const At = Xe.value[0] ? Number(Xe.value[0]) : null;
107146
+ Ir(At);
107147
107147
  },
107148
107148
  disabled: ht && !Pt,
107149
107149
  children: [
@@ -107234,7 +107234,7 @@ const Jqe = () => {
107234
107234
  ] }) })
107235
107235
  ] })
107236
107236
  ] }),
107237
- zt.length > 0 && /* @__PURE__ */ p(Jn, { children: zt.map((Xe, Ct) => /* @__PURE__ */ p(
107237
+ zt.length > 0 && /* @__PURE__ */ p(Jn, { children: zt.map((Xe, At) => /* @__PURE__ */ p(
107238
107238
  X,
107239
107239
  {
107240
107240
  fontSize: "14px",
@@ -107242,7 +107242,7 @@ const Jqe = () => {
107242
107242
  fontStyle: "italic",
107243
107243
  dangerouslySetInnerHTML: { __html: Xe }
107244
107244
  },
107245
- `currency-note-${Ct}`
107245
+ `currency-note-${At}`
107246
107246
  )) }),
107247
107247
  me && de > 0 && /* @__PURE__ */ P($e, { flexDir: "column", gap: 2, mt: 4, children: [
107248
107248
  /* @__PURE__ */ p(X, { fontWeight: "bold", children: "Hoa hồng ước tính" }),
@@ -107320,8 +107320,8 @@ const Jqe = () => {
107320
107320
  imageSrc: B || "",
107321
107321
  selectedCustomers: m,
107322
107322
  removeCustomer: Sl,
107323
- updateCustomerInfo: (Xe, Ct, jt) => {
107324
- ji(Xe, Ct, jt);
107323
+ updateCustomerInfo: (Xe, At, jt) => {
107324
+ ji(Xe, At, jt);
107325
107325
  },
107326
107326
  handleIdentityDocumentUpload: Mc,
107327
107327
  uploadingDocuments: Me,
@@ -107333,7 +107333,7 @@ const Jqe = () => {
107333
107333
  ),
107334
107334
  B && tn.length > 0 && /* @__PURE__ */ P($e, { mt: 5, flexDir: "column", gap: 2, children: [
107335
107335
  /* @__PURE__ */ p(X, { color: "red.600", children: "Lưu ý:" }),
107336
- /* @__PURE__ */ p(GY, { pl: 10, as: "ol", children: tn.map((Xe, Ct) => /* @__PURE__ */ p(xp, { children: /* @__PURE__ */ p(X, { as: "span", dangerouslySetInnerHTML: { __html: Xe } }) }, `${Xe}-${Ct}`)) })
107336
+ /* @__PURE__ */ p(GY, { pl: 10, as: "ol", children: tn.map((Xe, At) => /* @__PURE__ */ p(xp, { children: /* @__PURE__ */ p(X, { as: "span", dangerouslySetInnerHTML: { __html: Xe } }) }, `${Xe}-${At}`)) })
107337
107337
  ] }),
107338
107338
  /* @__PURE__ */ p($e, { hidden: !B, mt: 5, alignItems: "center", gap: 2, children: /* @__PURE__ */ P(
107339
107339
  wr,
@@ -107524,7 +107524,7 @@ const Jqe = () => {
107524
107524
  ] })
107525
107525
  ] });
107526
107526
  };
107527
- var Ww = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.ANNUAL = "annual", e))(Ww || {}), xt = /* @__PURE__ */ ((e) => (e.SELF = "self", e.SPOUSE = "spouse", e.CHILD = "child", e.PARENT = "parent", e.OTHER = "other", e.HUSBAND = "husband", e.WIFE = "wife", e.SPOUSES_PARENT = "spouses_parent", e.SIBLING = "sibling", e.GROUP_MEMBER = "group_member", e.GROUP = "group", e.FATHER = "father", e.MOTHER = "mother", e.RELATIVE = "relative", e))(xt || {}), Wa = /* @__PURE__ */ ((e) => (e.PASSPORT = "passport", e.ID_CARD = "id_card", e))(Wa || {}), Pd = /* @__PURE__ */ ((e) => (e.TMIV = "TMIV", e.MSIG = "MSIG", e.PVI = "PVI", e))(Pd || {}), Gn = /* @__PURE__ */ ((e) => (e.INDIVIDUAL = "individual", e.FAMILY = "family", e.GROUP = "group", e))(Gn || {}), zw = /* @__PURE__ */ ((e) => (e.COMPREHENSIVE = "comprehensive", e.SINGLE = "single", e))(zw || {}), ao = /* @__PURE__ */ ((e) => (e.MALE = "male", e.FEMALE = "female", e.OTHER = "other", e))(ao || {}), IC = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.CANCELLED = "cancelled", e.EXPIRED = "expired", e.PENDING = "pending", e.FAILED = "failed", e))(IC || {}), ag = /* @__PURE__ */ ((e) => (e.WORLDWIDE = "worldwide", e.ASIA = "asia", e.ASEAN = "asean", e))(ag || {}), jr = /* @__PURE__ */ ((e) => (e.ADULT = "adult", e.TEENAGER = "teenager", e.CHILDREN = "children", e))(jr || {}), hi = /* @__PURE__ */ ((e) => (e.VALID = "valid", e.NEEDS_CHECK = "needs_check", e.NOT_ENTERED = "not_entered", e))(hi || {});
107527
+ var Ww = /* @__PURE__ */ ((e) => (e.SINGLE = "single", e.ANNUAL = "annual", e))(Ww || {}), Ct = /* @__PURE__ */ ((e) => (e.SELF = "self", e.SPOUSE = "spouse", e.CHILD = "child", e.PARENT = "parent", e.OTHER = "other", e.HUSBAND = "husband", e.WIFE = "wife", e.SPOUSES_PARENT = "spouses_parent", e.SIBLING = "sibling", e.GROUP_MEMBER = "group_member", e.GROUP = "group", e.FATHER = "father", e.MOTHER = "mother", e.RELATIVE = "relative", e))(Ct || {}), Wa = /* @__PURE__ */ ((e) => (e.PASSPORT = "passport", e.ID_CARD = "id_card", e))(Wa || {}), Pd = /* @__PURE__ */ ((e) => (e.TMIV = "TMIV", e.MSIG = "MSIG", e.PVI = "PVI", e))(Pd || {}), Gn = /* @__PURE__ */ ((e) => (e.INDIVIDUAL = "individual", e.FAMILY = "family", e.GROUP = "group", e))(Gn || {}), zw = /* @__PURE__ */ ((e) => (e.COMPREHENSIVE = "comprehensive", e.SINGLE = "single", e))(zw || {}), ao = /* @__PURE__ */ ((e) => (e.MALE = "male", e.FEMALE = "female", e.OTHER = "other", e))(ao || {}), IC = /* @__PURE__ */ ((e) => (e.ACTIVE = "active", e.CANCELLED = "cancelled", e.EXPIRED = "expired", e.PENDING = "pending", e.FAILED = "failed", e))(IC || {}), ag = /* @__PURE__ */ ((e) => (e.WORLDWIDE = "worldwide", e.ASIA = "asia", e.ASEAN = "asean", e))(ag || {}), jr = /* @__PURE__ */ ((e) => (e.ADULT = "adult", e.TEENAGER = "teenager", e.CHILDREN = "children", e))(jr || {}), hi = /* @__PURE__ */ ((e) => (e.VALID = "valid", e.NEEDS_CHECK = "needs_check", e.NOT_ENTERED = "not_entered", e))(hi || {});
107528
107528
  function sJe(e) {
107529
107529
  return e.name === "Vietnam" || e.name === "Việt Nam" || e.nameVi === "Việt Nam";
107530
107530
  }
@@ -107634,20 +107634,20 @@ const ete = ms(void 0), cJe = () => {
107634
107634
  [ao.FEMALE]: "Nữ",
107635
107635
  [ao.OTHER]: "Khác"
107636
107636
  }, Se = {
107637
- [xt.SELF]: "Chính chủ",
107638
- [xt.SPOUSE]: "Vợ / Chồng",
107639
- [xt.CHILD]: "Con",
107640
- [xt.PARENT]: "Cha mẹ",
107641
- [xt.OTHER]: "Khác",
107642
- [xt.HUSBAND]: "Chồng",
107643
- [xt.WIFE]: "Vợ",
107644
- [xt.SPOUSES_PARENT]: "Cha/mẹ vợ/chồng",
107645
- [xt.SIBLING]: "Anh/Chị/Em ruột",
107646
- [xt.GROUP_MEMBER]: "Thành viên nhóm",
107647
- [xt.FATHER]: "Bố",
107648
- [xt.MOTHER]: "Mẹ",
107649
- [xt.RELATIVE]: "Người thân",
107650
- [xt.GROUP]: "Nhóm"
107637
+ [Ct.SELF]: "Chính chủ",
107638
+ [Ct.SPOUSE]: "Vợ / Chồng",
107639
+ [Ct.CHILD]: "Con",
107640
+ [Ct.PARENT]: "Cha mẹ",
107641
+ [Ct.OTHER]: "Khác",
107642
+ [Ct.HUSBAND]: "Chồng",
107643
+ [Ct.WIFE]: "Vợ",
107644
+ [Ct.SPOUSES_PARENT]: "Cha/mẹ vợ/chồng",
107645
+ [Ct.SIBLING]: "Anh/Chị/Em ruột",
107646
+ [Ct.GROUP_MEMBER]: "Thành viên nhóm",
107647
+ [Ct.FATHER]: "Bố",
107648
+ [Ct.MOTHER]: "Mẹ",
107649
+ [Ct.RELATIVE]: "Người thân",
107650
+ [Ct.GROUP]: "Nhóm"
107651
107651
  };
107652
107652
  return {
107653
107653
  providers: e,
@@ -112201,8 +112201,7 @@ const jM = ({
112201
112201
  ),
112202
112202
  r && i && /* @__PURE__ */ P(X, { fontSize: "xs", color: "gray.600", textAlign: "left", children: [
112203
112203
  "* Gia đình tối đa là 2 người lớn.",
112204
- " ",
112205
- /* @__PURE__ */ p(X, { as: "span", color: "blue.700", cursor: "pointer", textDecoration: "underline", children: "Chi tiết" })
112204
+ " "
112206
112205
  ] })
112207
112206
  ] }),
112208
112207
  /* @__PURE__ */ P(vr, { gap: 4, children: [
@@ -117664,70 +117663,70 @@ const hrt = ({
117664
117663
  )
117665
117664
  ] }) });
117666
117665
  }, prt = {
117667
- [xt.SELF]: "Chính chủ",
117668
- [xt.SPOUSE]: "Vợ / Chồng",
117669
- [xt.CHILD]: "Con",
117670
- [xt.PARENT]: "Cha mẹ",
117671
- [xt.OTHER]: "Khác",
117672
- [xt.HUSBAND]: "Chồng",
117673
- [xt.WIFE]: "Vợ",
117674
- [xt.SPOUSES_PARENT]: "Cha/mẹ vợ/chồng",
117675
- [xt.SIBLING]: "Anh/Chị/Em ruột",
117676
- [xt.GROUP_MEMBER]: "Thành viên nhóm",
117677
- [xt.FATHER]: "Bố",
117678
- [xt.MOTHER]: "Mẹ",
117679
- [xt.RELATIVE]: "Người thân",
117680
- [xt.GROUP]: "Nhóm"
117666
+ [Ct.SELF]: "Chính chủ",
117667
+ [Ct.SPOUSE]: "Vợ / Chồng",
117668
+ [Ct.CHILD]: "Con",
117669
+ [Ct.PARENT]: "Cha mẹ",
117670
+ [Ct.OTHER]: "Khác",
117671
+ [Ct.HUSBAND]: "Chồng",
117672
+ [Ct.WIFE]: "Vợ",
117673
+ [Ct.SPOUSES_PARENT]: "Cha/mẹ vợ/chồng",
117674
+ [Ct.SIBLING]: "Anh/Chị/Em ruột",
117675
+ [Ct.GROUP_MEMBER]: "Thành viên nhóm",
117676
+ [Ct.FATHER]: "Bố",
117677
+ [Ct.MOTHER]: "Mẹ",
117678
+ [Ct.RELATIVE]: "Người thân",
117679
+ [Ct.GROUP]: "Nhóm"
117681
117680
  }, grt = {
117682
117681
  TMIV: [
117683
- { label: "Thành viên nhóm", value: xt.GROUP_MEMBER },
117684
- { label: "Bản thân", value: xt.SELF },
117685
- { label: "Chồng", value: xt.HUSBAND },
117686
- { label: "Vợ", value: xt.WIFE },
117687
- { label: "Con", value: xt.CHILD },
117688
- { label: "Bố", value: xt.FATHER },
117689
- { label: "Mẹ", value: xt.MOTHER },
117690
- { label: "Người thân", value: xt.RELATIVE }
117682
+ { label: "Thành viên nhóm", value: Ct.GROUP_MEMBER },
117683
+ { label: "Bản thân", value: Ct.SELF },
117684
+ { label: "Chồng", value: Ct.HUSBAND },
117685
+ { label: "Vợ", value: Ct.WIFE },
117686
+ { label: "Con", value: Ct.CHILD },
117687
+ { label: "Bố", value: Ct.FATHER },
117688
+ { label: "Mẹ", value: Ct.MOTHER },
117689
+ { label: "Người thân", value: Ct.RELATIVE }
117691
117690
  ],
117692
117691
  MSIG: [
117693
- { label: "Bản thân", value: xt.SELF },
117694
- { label: "Vợ/Chồng", value: xt.SPOUSE },
117695
- { label: "Con", value: xt.CHILD },
117696
- { label: "Cha/Mẹ", value: xt.PARENT },
117697
- { label: "Cha/Mẹ vợ/chồng", value: xt.SPOUSES_PARENT },
117698
- { label: "Anh/Chị/Em ruột", value: xt.SIBLING },
117699
- { label: "Thành viên nhóm", value: xt.GROUP_MEMBER },
117700
- { label: "Nhóm", value: xt.GROUP }
117692
+ { label: "Bản thân", value: Ct.SELF },
117693
+ { label: "Vợ/Chồng", value: Ct.SPOUSE },
117694
+ { label: "Con", value: Ct.CHILD },
117695
+ { label: "Cha/Mẹ", value: Ct.PARENT },
117696
+ { label: "Cha/Mẹ vợ/chồng", value: Ct.SPOUSES_PARENT },
117697
+ { label: "Anh/Chị/Em ruột", value: Ct.SIBLING },
117698
+ { label: "Thành viên nhóm", value: Ct.GROUP_MEMBER },
117699
+ { label: "Nhóm", value: Ct.GROUP }
117701
117700
  ],
117702
117701
  PVI: [
117703
- { label: "Bản thân", value: xt.SELF },
117704
- { label: "Vợ/Chồng", value: xt.SPOUSE },
117705
- { label: "Con", value: xt.CHILD },
117706
- { label: "Cha/Mẹ", value: xt.PARENT },
117707
- { label: "Thành viên nhóm", value: xt.GROUP_MEMBER },
117708
- { label: "Khác", value: xt.OTHER }
117702
+ { label: "Bản thân", value: Ct.SELF },
117703
+ { label: "Vợ/Chồng", value: Ct.SPOUSE },
117704
+ { label: "Con", value: Ct.CHILD },
117705
+ { label: "Cha/Mẹ", value: Ct.PARENT },
117706
+ { label: "Thành viên nhóm", value: Ct.GROUP_MEMBER },
117707
+ { label: "Khác", value: Ct.OTHER }
117709
117708
  ]
117710
117709
  }, Ps = (e) => prt[e] || "—", mrt = (e) => {
117711
117710
  const t = [
117712
- { value: xt.SELF, label: Ps(xt.SELF) },
117713
- { value: xt.SPOUSE, label: Ps(xt.SPOUSE) },
117714
- { value: xt.CHILD, label: Ps(xt.CHILD) },
117715
- { value: xt.PARENT, label: Ps(xt.PARENT) },
117716
- { value: xt.HUSBAND, label: Ps(xt.HUSBAND) },
117717
- { value: xt.WIFE, label: Ps(xt.WIFE) },
117711
+ { value: Ct.SELF, label: Ps(Ct.SELF) },
117712
+ { value: Ct.SPOUSE, label: Ps(Ct.SPOUSE) },
117713
+ { value: Ct.CHILD, label: Ps(Ct.CHILD) },
117714
+ { value: Ct.PARENT, label: Ps(Ct.PARENT) },
117715
+ { value: Ct.HUSBAND, label: Ps(Ct.HUSBAND) },
117716
+ { value: Ct.WIFE, label: Ps(Ct.WIFE) },
117718
117717
  {
117719
- value: xt.SPOUSES_PARENT,
117720
- label: Ps(xt.SPOUSES_PARENT)
117718
+ value: Ct.SPOUSES_PARENT,
117719
+ label: Ps(Ct.SPOUSES_PARENT)
117721
117720
  },
117722
- { value: xt.SIBLING, label: Ps(xt.SIBLING) },
117721
+ { value: Ct.SIBLING, label: Ps(Ct.SIBLING) },
117723
117722
  {
117724
- value: xt.GROUP_MEMBER,
117725
- label: Ps(xt.GROUP_MEMBER)
117723
+ value: Ct.GROUP_MEMBER,
117724
+ label: Ps(Ct.GROUP_MEMBER)
117726
117725
  },
117727
- { value: xt.FATHER, label: Ps(xt.FATHER) },
117728
- { value: xt.MOTHER, label: Ps(xt.MOTHER) },
117729
- { value: xt.RELATIVE, label: Ps(xt.RELATIVE) },
117730
- { value: xt.OTHER, label: Ps(xt.OTHER) }
117726
+ { value: Ct.FATHER, label: Ps(Ct.FATHER) },
117727
+ { value: Ct.MOTHER, label: Ps(Ct.MOTHER) },
117728
+ { value: Ct.RELATIVE, label: Ps(Ct.RELATIVE) },
117729
+ { value: Ct.OTHER, label: Ps(Ct.OTHER) }
117731
117730
  ], r = e == null ? void 0 : e.toUpperCase(), n = r ? grt[r] : void 0;
117732
117731
  return n && n.length > 0 ? n : t;
117733
117732
  }, yrt = ({
@@ -117869,7 +117868,7 @@ const hrt = ({
117869
117868
  }), v(z);
117870
117869
  }
117871
117870
  }, [e, O]);
117872
- const H = A("people"), L = nt(() => H.some((oe) => oe.relationship === xt.SELF), [H]), j = nt(
117871
+ const H = A("people"), L = nt(() => H.some((oe) => oe.relationship === Ct.SELF), [H]), j = nt(
117873
117872
  () => i.map((oe) => ({
117874
117873
  value: String(oe.id),
117875
117874
  label: oe.name
@@ -117888,7 +117887,7 @@ const hrt = ({
117888
117887
  return /* @__PURE__ */ p(Bm, { colorScheme: "gray", fontSize: "xs", children: "Chưa nhập" });
117889
117888
  }
117890
117889
  }, B = (oe) => {
117891
- const z = oe === jr.CHILDREN || oe === jr.TEENAGER ? xt.CHILD : void 0, Ce = {
117890
+ const z = oe === jr.CHILDREN || oe === jr.TEENAGER ? Ct.CHILD : void 0, Ce = {
117892
117891
  fullName: "",
117893
117892
  dateOfBirth: "",
117894
117893
  gender: ao.MALE,
@@ -118209,11 +118208,10 @@ const hrt = ({
118209
118208
  },
118210
118209
  disabled: Z,
118211
118210
  allowedOptions: ve === jr.CHILDREN || ve === jr.TEENAGER ? [
118212
- xt.CHILD,
118213
- xt.RELATIVE,
118214
- xt.GROUP_MEMBER
118211
+ Ct.CHILD,
118212
+ Ct.RELATIVE
118215
118213
  ] : void 0,
118216
- disabledOptions: L && ((at = H[z]) == null ? void 0 : at.relationship) !== xt.SELF ? [xt.SELF] : []
118214
+ disabledOptions: L && ((at = H[z]) == null ? void 0 : at.relationship) !== Ct.SELF ? [Ct.SELF] : []
118217
118215
  }
118218
118216
  )
118219
118217
  ] }),
@@ -118734,7 +118732,7 @@ const hrt = ({
118734
118732
  /* @__PURE__ */ p(ko, { children: /* @__PURE__ */ p(
118735
118733
  Bm,
118736
118734
  {
118737
- colorScheme: Ue.relationship === xt.SELF ? "blue" : "gray",
118735
+ colorScheme: Ue.relationship === Ct.SELF ? "blue" : "gray",
118738
118736
  children: l(Ue.relationship)
118739
118737
  }
118740
118738
  ) })
@@ -119452,7 +119450,7 @@ const hrt = ({
119452
119450
  gender: se && be ? A.gender : void 0,
119453
119451
  idType: Wa.ID_CARD,
119454
119452
  idNumber: se && be ? A.idNumber : "",
119455
- relationship: be ? xt.SELF : null,
119453
+ relationship: be ? Ct.SELF : null,
119456
119454
  nationality: se && be ? A.nationality : V,
119457
119455
  status: hi.NOT_ENTERED,
119458
119456
  personType: jr.ADULT
@@ -119467,7 +119465,7 @@ const hrt = ({
119467
119465
  gender: void 0,
119468
119466
  idType: Wa.ID_CARD,
119469
119467
  idNumber: "",
119470
- relationship: xt.CHILD,
119468
+ relationship: Ct.CHILD,
119471
119469
  nationality: V,
119472
119470
  status: hi.NOT_ENTERED,
119473
119471
  personType: jr.TEENAGER
@@ -119480,7 +119478,7 @@ const hrt = ({
119480
119478
  gender: void 0,
119481
119479
  idType: Wa.ID_CARD,
119482
119480
  idNumber: "",
119483
- relationship: xt.CHILD,
119481
+ relationship: Ct.CHILD,
119484
119482
  nationality: V,
119485
119483
  status: hi.NOT_ENTERED,
119486
119484
  personType: jr.CHILDREN
@@ -119515,7 +119513,7 @@ const hrt = ({
119515
119513
  gender: be && et ? A.gender : void 0,
119516
119514
  idType: Wa.ID_CARD,
119517
119515
  idNumber: be && et ? A.idNumber : "",
119518
- relationship: et ? xt.SELF : null,
119516
+ relationship: et ? Ct.SELF : null,
119519
119517
  nationality: be && et ? A.nationality : Ne,
119520
119518
  status: hi.NOT_ENTERED,
119521
119519
  personType: jr.ADULT
@@ -119529,7 +119527,7 @@ const hrt = ({
119529
119527
  gender: void 0,
119530
119528
  idType: Wa.ID_CARD,
119531
119529
  idNumber: "",
119532
- relationship: xt.CHILD,
119530
+ relationship: Ct.CHILD,
119533
119531
  nationality: Ne,
119534
119532
  status: hi.NOT_ENTERED,
119535
119533
  personType: jr.TEENAGER
@@ -119542,7 +119540,7 @@ const hrt = ({
119542
119540
  gender: void 0,
119543
119541
  idType: Wa.ID_CARD,
119544
119542
  idNumber: "",
119545
- relationship: xt.CHILD,
119543
+ relationship: Ct.CHILD,
119546
119544
  nationality: Ne,
119547
119545
  status: hi.NOT_ENTERED,
119548
119546
  personType: jr.CHILDREN
@@ -119562,7 +119560,7 @@ const hrt = ({
119562
119560
  (ee) => {
119563
119561
  if (k(ee), ee.isInsuredPerson && T.length > 0) {
119564
119562
  const J = T[0];
119565
- J.relationship === xt.SELF && I([
119563
+ J.relationship === Ct.SELF && I([
119566
119564
  {
119567
119565
  ...J,
119568
119566
  fullName: ee.fullName,
@@ -119624,7 +119622,7 @@ const hrt = ({
119624
119622
  }
119625
119623
  try {
119626
119624
  const V = T.map((ot) => {
119627
- const st = ot.relationship === xt.SELF, ht = A.isInsuredPerson || st;
119625
+ const st = ot.relationship === Ct.SELF, ht = A.isInsuredPerson || st;
119628
119626
  return {
119629
119627
  relationToPrimary: ot.relationship,
119630
119628
  isPrimary: st,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.219-dev",
3
+ "version": "1.0.220-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",