@timum/booking 1.10.0 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/booking.js CHANGED
@@ -12132,12 +12132,12 @@ Ny.exports;
12132
12132
  return c;
12133
12133
  }
12134
12134
  function MQ() {
12135
- var c = this.__wrapped__.value(), p = this.__dir__, x = st(c), E = p < 0, O = x ? c.length : 0, F = qX(0, O, this.__views__), W = F.start, Y = F.end, Z = Y - W, se = E ? Y : W - 1, ae = this.__iteratees__, fe = ae.length, Ee = 0, Ie = mr(Z, this.__takeCount__);
12136
- if (!x || !E && O == Z && Ie == Z)
12135
+ var c = this.__wrapped__.value(), p = this.__dir__, x = st(c), E = p < 0, O = x ? c.length : 0, F = qX(0, O, this.__views__), W = F.start, Y = F.end, Z = Y - W, se = E ? Y : W - 1, ae = this.__iteratees__, fe = ae.length, Ee = 0, Ne = mr(Z, this.__takeCount__);
12136
+ if (!x || !E && O == Z && Ne == Z)
12137
12137
  return vk(c, this.__actions__);
12138
12138
  var et = [];
12139
12139
  e:
12140
- for (; Z-- && Ee < Ie; ) {
12140
+ for (; Z-- && Ee < Ne; ) {
12141
12141
  se += p;
12142
12142
  for (var ut = -1, tt = c[se]; ++ut < fe; ) {
12143
12143
  var pt = ae[ut], gt = pt.iteratee, di = pt.type, Rr = gt(tt);
@@ -12367,9 +12367,9 @@ Ny.exports;
12367
12367
  }
12368
12368
  }
12369
12369
  F || (F = new uo());
12370
- var Ie = F.get(c);
12371
- if (Ie)
12372
- return Ie;
12370
+ var Ne = F.get(c);
12371
+ if (Ne)
12372
+ return Ne;
12373
12373
  F.set(c, W), hE(c) ? c.forEach(function(tt) {
12374
12374
  W.add(Li(tt, p, x, tt, c, F));
12375
12375
  }) : fE(c) && c.forEach(function(tt, pt) {
@@ -12503,14 +12503,14 @@ Ny.exports;
12503
12503
  var fe = -1, Ee = Y[0];
12504
12504
  e:
12505
12505
  for (; ++fe < O && se.length < Z; ) {
12506
- var Ie = ae[fe], et = p ? p(Ie) : Ie;
12507
- if (Ie = x || Ie !== 0 ? Ie : 0, !(Ee ? bp(Ee, et) : E(se, et, x))) {
12506
+ var Ne = ae[fe], et = p ? p(Ne) : Ne;
12507
+ if (Ne = x || Ne !== 0 ? Ne : 0, !(Ee ? bp(Ee, et) : E(se, et, x))) {
12508
12508
  for (W = F; --W; ) {
12509
12509
  var ut = Y[W];
12510
12510
  if (!(ut ? bp(ut, et) : E(c[W], et, x)))
12511
12511
  continue e;
12512
12512
  }
12513
- Ee && Ee.push(et), se.push(Ie);
12513
+ Ee && Ee.push(et), se.push(Ne);
12514
12514
  }
12515
12515
  }
12516
12516
  return se;
@@ -12549,9 +12549,9 @@ Ny.exports;
12549
12549
  if (Ee && !ae)
12550
12550
  return F || (F = new uo()), W || Kc(c) ? Nk(c, p, x, E, O, F) : HX(c, p, Z, x, E, O, F);
12551
12551
  if (!(x & g)) {
12552
- var Ie = ae && Mt.call(c, "__wrapped__"), et = fe && Mt.call(p, "__wrapped__");
12553
- if (Ie || et) {
12554
- var ut = Ie ? c.value() : c, tt = et ? p.value() : p;
12552
+ var Ne = ae && Mt.call(c, "__wrapped__"), et = fe && Mt.call(p, "__wrapped__");
12553
+ if (Ne || et) {
12554
+ var ut = Ne ? c.value() : c, tt = et ? p.value() : p;
12555
12555
  return F || (F = new uo()), O(ut, tt, x, E, F);
12556
12556
  }
12557
12557
  }
@@ -12658,8 +12658,8 @@ Ny.exports;
12658
12658
  }
12659
12659
  var ae = F ? F(Y, Z, x + "", c, p, W) : n, fe = ae === n;
12660
12660
  if (fe) {
12661
- var Ee = st(Z), Ie = !Ee && La(Z), et = !Ee && !Ie && Kc(Z);
12662
- ae = Z, Ee || Ie || et ? st(Y) ? ae = Y : Cn(Y) ? ae = Hr(Y) : Ie ? (fe = !1, ae = xk(Z, !0)) : et ? (fe = !1, ae = wk(Z, !0)) : ae = [] : Dp(Z) || iu(Z) ? (ae = Y, iu(Y) ? ae = vE(Y) : (!un(Y) || ks(Y)) && (ae = jk(Z))) : fe = !1;
12661
+ var Ee = st(Z), Ne = !Ee && La(Z), et = !Ee && !Ne && Kc(Z);
12662
+ ae = Z, Ee || Ne || et ? st(Y) ? ae = Y : Cn(Y) ? ae = Hr(Y) : Ne ? (fe = !1, ae = xk(Z, !0)) : et ? (fe = !1, ae = wk(Z, !0)) : ae = [] : Dp(Z) || iu(Z) ? (ae = Y, iu(Y) ? ae = vE(Y) : (!un(Y) || ks(Y)) && (ae = jk(Z))) : fe = !1;
12663
12663
  }
12664
12664
  fe && (W.set(Z, ae), O(ae, Z, E, F, W), W.delete(Z)), xx(c, x, ae);
12665
12665
  }
@@ -12806,11 +12806,11 @@ Ny.exports;
12806
12806
  return 0;
12807
12807
  p = x(p);
12808
12808
  for (var W = p !== p, Y = p === null, Z = ci(p), se = p === n; O < F; ) {
12809
- var ae = Ag((O + F) / 2), fe = x(c[ae]), Ee = fe !== n, Ie = fe === null, et = fe === fe, ut = ci(fe);
12809
+ var ae = Ag((O + F) / 2), fe = x(c[ae]), Ee = fe !== n, Ne = fe === null, et = fe === fe, ut = ci(fe);
12810
12810
  if (W)
12811
12811
  var tt = E || et;
12812
12812
  else
12813
- se ? tt = et && (E || Ee) : Y ? tt = et && Ee && (E || !Ie) : Z ? tt = et && Ee && !Ie && (E || !ut) : Ie || ut ? tt = !1 : tt = E ? fe <= p : fe < p;
12813
+ se ? tt = et && (E || Ee) : Y ? tt = et && Ee && (E || !Ne) : Z ? tt = et && Ee && !Ne && (E || !ut) : Ne || ut ? tt = !1 : tt = E ? fe <= p : fe < p;
12814
12814
  tt ? O = ae + 1 : F = ae;
12815
12815
  }
12816
12816
  return mr(F, xe);
@@ -12971,10 +12971,10 @@ Ny.exports;
12971
12971
  function $k(c, p, x, E) {
12972
12972
  for (var O = -1, F = c.length, W = -1, Y = x.length, Z = -1, se = p.length, ae = Fn(F - Y, 0), fe = te(ae + se), Ee = !E; ++O < ae; )
12973
12973
  fe[O] = c[O];
12974
- for (var Ie = O; ++Z < se; )
12975
- fe[Ie + Z] = p[Z];
12974
+ for (var Ne = O; ++Z < se; )
12975
+ fe[Ne + Z] = p[Z];
12976
12976
  for (; ++W < Y; )
12977
- (Ee || O < F) && (fe[Ie + x[W]] = c[O++]);
12977
+ (Ee || O < F) && (fe[Ne + x[W]] = c[O++]);
12978
12978
  return fe;
12979
12979
  }
12980
12980
  function Hr(c, p) {
@@ -13143,13 +13143,13 @@ Ny.exports;
13143
13143
  });
13144
13144
  }
13145
13145
  function jg(c, p, x, E, O, F, W, Y, Z, se) {
13146
- var ae = p & R, fe = p & w, Ee = p & y, Ie = p & (S | C), et = p & M, ut = Ee ? n : _p(c);
13146
+ var ae = p & R, fe = p & w, Ee = p & y, Ne = p & (S | C), et = p & M, ut = Ee ? n : _p(c);
13147
13147
  function tt() {
13148
13148
  for (var pt = arguments.length, gt = te(pt), di = pt; di--; )
13149
13149
  gt[di] = arguments[di];
13150
- if (Ie)
13150
+ if (Ne)
13151
13151
  var Rr = Gc(tt), fi = QZ(gt, Rr);
13152
- if (E && (gt = Ck(gt, E, O, Ie)), F && (gt = $k(gt, F, W, Ie)), pt -= fi, Ie && pt < se) {
13152
+ if (E && (gt = Ck(gt, E, O, Ne)), F && (gt = $k(gt, F, W, Ne)), pt -= fi, Ne && pt < se) {
13153
13153
  var $n = Oa(gt, Rr);
13154
13154
  return Pk(
13155
13155
  c,
@@ -13227,13 +13227,13 @@ Ny.exports;
13227
13227
  };
13228
13228
  }
13229
13229
  function Pk(c, p, x, E, O, F, W, Y, Z, se) {
13230
- var ae = p & S, fe = ae ? W : n, Ee = ae ? n : W, Ie = ae ? F : n, et = ae ? n : F;
13230
+ var ae = p & S, fe = ae ? W : n, Ee = ae ? n : W, Ne = ae ? F : n, et = ae ? n : F;
13231
13231
  p |= ae ? T : k, p &= ~(ae ? k : T), p & b || (p &= ~(w | y));
13232
13232
  var ut = [
13233
13233
  c,
13234
13234
  p,
13235
13235
  O,
13236
- Ie,
13236
+ Ne,
13237
13237
  fe,
13238
13238
  et,
13239
13239
  Ee,
@@ -13271,7 +13271,7 @@ Ny.exports;
13271
13271
  var ae = E, fe = O;
13272
13272
  E = O = n;
13273
13273
  }
13274
- var Ee = Z ? n : Ux(c), Ie = [
13274
+ var Ee = Z ? n : Ux(c), Ne = [
13275
13275
  c,
13276
13276
  p,
13277
13277
  x,
@@ -13283,12 +13283,12 @@ Ny.exports;
13283
13283
  W,
13284
13284
  Y
13285
13285
  ];
13286
- if (Ee && nJ(Ie, Ee), c = Ie[0], p = Ie[1], x = Ie[2], E = Ie[3], O = Ie[4], Y = Ie[9] = Ie[9] === n ? Z ? 0 : c.length : Fn(Ie[9] - se, 0), !Y && p & (S | C) && (p &= ~(S | C)), !p || p == w)
13286
+ if (Ee && nJ(Ne, Ee), c = Ne[0], p = Ne[1], x = Ne[2], E = Ne[3], O = Ne[4], Y = Ne[9] = Ne[9] === n ? Z ? 0 : c.length : Fn(Ne[9] - se, 0), !Y && p & (S | C) && (p &= ~(S | C)), !p || p == w)
13287
13287
  var et = FX(c, p, x);
13288
13288
  else
13289
- p == S || p == C ? et = jX(c, p, Y) : (p == T || p == (w | T)) && !O.length ? et = zX(c, p, x, E) : et = jg.apply(n, Ie);
13289
+ p == S || p == C ? et = jX(c, p, Y) : (p == T || p == (w | T)) && !O.length ? et = zX(c, p, x, E) : et = jg.apply(n, Ne);
13290
13290
  var ut = Ee ? pk : Vk;
13291
- return Wk(ut(et, Ie), c, p);
13291
+ return Wk(ut(et, Ne), c, p);
13292
13292
  }
13293
13293
  function Mk(c, p, x, E) {
13294
13294
  return c === n || co(c, Uc[x]) && !Mt.call(E, x) ? p : c;
@@ -13306,7 +13306,7 @@ Ny.exports;
13306
13306
  var se = F.get(c), ae = F.get(p);
13307
13307
  if (se && ae)
13308
13308
  return se == p && ae == c;
13309
- var fe = -1, Ee = !0, Ie = x & v ? new Jl() : n;
13309
+ var fe = -1, Ee = !0, Ne = x & v ? new Jl() : n;
13310
13310
  for (F.set(c, p), F.set(p, c); ++fe < Y; ) {
13311
13311
  var et = c[fe], ut = p[fe];
13312
13312
  if (E)
@@ -13317,10 +13317,10 @@ Ny.exports;
13317
13317
  Ee = !1;
13318
13318
  break;
13319
13319
  }
13320
- if (Ie) {
13320
+ if (Ne) {
13321
13321
  if (!ux(p, function(pt, gt) {
13322
- if (!bp(Ie, gt) && (et === pt || O(et, pt, x, E, F)))
13323
- return Ie.push(gt);
13322
+ if (!bp(Ne, gt) && (et === pt || O(et, pt, x, E, F)))
13323
+ return Ne.push(gt);
13324
13324
  })) {
13325
13325
  Ee = !1;
13326
13326
  break;
@@ -13376,9 +13376,9 @@ Ny.exports;
13376
13376
  if (!(W ? Ee in p : Mt.call(p, Ee)))
13377
13377
  return !1;
13378
13378
  }
13379
- var Ie = F.get(c), et = F.get(p);
13380
- if (Ie && et)
13381
- return Ie == p && et == c;
13379
+ var Ne = F.get(c), et = F.get(p);
13380
+ if (Ne && et)
13381
+ return Ne == p && et == c;
13382
13382
  var ut = !0;
13383
13383
  F.set(c, p), F.set(p, c);
13384
13384
  for (var tt = W; ++fe < Z; ) {
@@ -14205,12 +14205,12 @@ Ny.exports;
14205
14205
  if (typeof c != "function")
14206
14206
  throw new Ii(s);
14207
14207
  p = zi(p) || 0, un(x) && (ae = !!x.leading, fe = "maxWait" in x, F = fe ? Fn(zi(x.maxWait) || 0, p) : F, Ee = "trailing" in x ? !!x.trailing : Ee);
14208
- function Ie($n) {
14208
+ function Ne($n) {
14209
14209
  var fo = E, As = O;
14210
14210
  return E = O = n, se = $n, W = c.apply(As, fo), W;
14211
14211
  }
14212
14212
  function et($n) {
14213
- return se = $n, Y = Pp(pt, p), ae ? Ie($n) : W;
14213
+ return se = $n, Y = Pp(pt, p), ae ? Ne($n) : W;
14214
14214
  }
14215
14215
  function ut($n) {
14216
14216
  var fo = $n - Z, As = $n - se, AE = p - fo;
@@ -14227,7 +14227,7 @@ Ny.exports;
14227
14227
  Y = Pp(pt, ut($n));
14228
14228
  }
14229
14229
  function gt($n) {
14230
- return Y = n, Ee && E ? Ie($n) : (E = O = n, W);
14230
+ return Y = n, Ee && E ? Ne($n) : (E = O = n, W);
14231
14231
  }
14232
14232
  function di() {
14233
14233
  Y !== n && bk(Y), se = 0, E = Z = O = Y = n;
@@ -14241,7 +14241,7 @@ Ny.exports;
14241
14241
  if (Y === n)
14242
14242
  return et(Z);
14243
14243
  if (fe)
14244
- return bk(Y), Y = Pp(pt, p), Ie(Z);
14244
+ return bk(Y), Y = Pp(pt, p), Ne(Z);
14245
14245
  }
14246
14246
  return Y === n && (Y = Pp(pt, p)), W;
14247
14247
  }
@@ -14787,7 +14787,7 @@ Ny.exports;
14787
14787
  var O = Jg({}, p.imports, E.imports, Mk), F = qn(O), W = hx(O, F), Y, Z, se = 0, ae = p.interpolate || Dc, fe = "__p += '", Ee = gx(
14788
14788
  (p.escape || Dc).source + "|" + ae.source + "|" + (ae === pp ? ng : Dc).source + "|" + (p.evaluate || Dc).source + "|$",
14789
14789
  "g"
14790
- ), Ie = "//# sourceURL=" + (Mt.call(p, "sourceURL") ? (p.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++MZ + "]") + `
14790
+ ), Ne = "//# sourceURL=" + (Mt.call(p, "sourceURL") ? (p.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++MZ + "]") + `
14791
14791
  `;
14792
14792
  c.replace(Ee, function(tt, pt, gt, di, Rr, fi) {
14793
14793
  return gt || (gt = di), fe += c.slice(se, fi).replace(Q3, eQ), pt && (Y = !0, fe += `' +
@@ -14815,7 +14815,7 @@ function print() { __p += __j.call(arguments, '') }
14815
14815
  `) + fe + `return __p
14816
14816
  }`;
14817
14817
  var ut = kE(function() {
14818
- return $t(F, Ie + "return " + fe).apply(n, W);
14818
+ return $t(F, Ne + "return " + fe).apply(n, W);
14819
14819
  });
14820
14820
  if (ut.source = fe, Jx(ut))
14821
14821
  throw ut;
@@ -15117,7 +15117,7 @@ function print() { __p += __j.call(arguments, '') }
15117
15117
  return E && Ee ? gt[0] : gt;
15118
15118
  };
15119
15119
  ae && x && typeof se == "function" && se.length != 1 && (Z = ae = !1);
15120
- var Ee = this.__chain__, Ie = !!this.__actions__.length, et = F && !Ee, ut = Z && !Ie;
15120
+ var Ee = this.__chain__, Ne = !!this.__actions__.length, et = F && !Ee, ut = Z && !Ne;
15121
15121
  if (!F && ae) {
15122
15122
  W = ut ? W : new mt(this);
15123
15123
  var tt = c.apply(W, Y);
@@ -22881,7 +22881,7 @@ function tge(e, t, n) {
22881
22881
  function nge(e) {
22882
22882
  const t = [];
22883
22883
  for (let n = 1; n <= 12; n++) {
22884
- const r = Ne.utc(2016, n, 1);
22884
+ const r = Ie.utc(2016, n, 1);
22885
22885
  t.push(e(r));
22886
22886
  }
22887
22887
  return t;
@@ -22889,7 +22889,7 @@ function nge(e) {
22889
22889
  function rge(e) {
22890
22890
  const t = [];
22891
22891
  for (let n = 1; n <= 7; n++) {
22892
- const r = Ne.utc(2016, 11, 13 + n);
22892
+ const r = Ie.utc(2016, 11, 13 + n);
22893
22893
  t.push(e(r));
22894
22894
  }
22895
22895
  return t;
@@ -22926,7 +22926,7 @@ class sge {
22926
22926
  let i;
22927
22927
  if (t.zone.isUniversal) {
22928
22928
  const s = -1 * (t.offset / 60), a = s >= 0 ? `Etc/GMT+${s}` : `Etc/GMT${s}`;
22929
- t.offset !== 0 && va.create(a).valid ? (i = a, this.dt = t) : (i = "UTC", r.timeZoneName ? this.dt = t : this.dt = t.offset === 0 ? t : Ne.fromMillis(t.ts + t.offset * 60 * 1e3));
22929
+ t.offset !== 0 && va.create(a).valid ? (i = a, this.dt = t) : (i = "UTC", r.timeZoneName ? this.dt = t : this.dt = t.offset === 0 ? t : Ie.fromMillis(t.ts + t.offset * 60 * 1e3));
22930
22930
  } else
22931
22931
  t.zone.type === "system" ? this.dt = t : (this.dt = t, i = t.zone.name);
22932
22932
  const o = { ...this.opts };
@@ -23015,7 +23015,7 @@ class fn {
23015
23015
  () => {
23016
23016
  if (!this.meridiemCache) {
23017
23017
  const n = { hour: "numeric", hourCycle: "h12" };
23018
- this.meridiemCache = [Ne.utc(2016, 11, 13, 9), Ne.utc(2016, 11, 13, 19)].map(
23018
+ this.meridiemCache = [Ie.utc(2016, 11, 13, 9), Ie.utc(2016, 11, 13, 19)].map(
23019
23019
  (r) => this.extract(r, n, "dayperiod")
23020
23020
  );
23021
23021
  }
@@ -23026,7 +23026,7 @@ class fn {
23026
23026
  eras(t, n = !0) {
23027
23027
  return M1(this, t, n, _U, () => {
23028
23028
  const r = { era: t };
23029
- return this.eraCache[t] || (this.eraCache[t] = [Ne.utc(-40, 1, 1), Ne.utc(2017, 1, 1)].map(
23029
+ return this.eraCache[t] || (this.eraCache[t] = [Ie.utc(-40, 1, 1), Ie.utc(2017, 1, 1)].map(
23030
23030
  (i) => this.extract(i, r, "era")
23031
23031
  )), this.eraCache[t];
23032
23032
  });
@@ -23980,13 +23980,13 @@ class bn {
23980
23980
  if (r && i) {
23981
23981
  let o, s;
23982
23982
  try {
23983
- o = Ne.fromISO(r, n), s = o.isValid;
23983
+ o = Ie.fromISO(r, n), s = o.isValid;
23984
23984
  } catch {
23985
23985
  s = !1;
23986
23986
  }
23987
23987
  let a, l;
23988
23988
  try {
23989
- a = Ne.fromISO(i, n), l = a.isValid;
23989
+ a = Ie.fromISO(i, n), l = a.isValid;
23990
23990
  } catch {
23991
23991
  l = !1;
23992
23992
  }
@@ -24338,7 +24338,7 @@ class I1 {
24338
24338
  * @return {boolean}
24339
24339
  */
24340
24340
  static hasDST(t = kn.defaultZone) {
24341
- const n = Ne.now().setZone(t).set({ month: 12 });
24341
+ const n = Ie.now().setZone(t).set({ month: 12 });
24342
24342
  return !t.isUniversal && n.offset !== n.set({ month: 6 }).offset;
24343
24343
  }
24344
24344
  /**
@@ -24813,7 +24813,7 @@ function d1e(e) {
24813
24813
  }
24814
24814
  let pw = null;
24815
24815
  function f1e() {
24816
- return pw || (pw = Ne.fromMillis(1555555555555)), pw;
24816
+ return pw || (pw = Ie.fromMillis(1555555555555)), pw;
24817
24817
  }
24818
24818
  function p1e(e, t) {
24819
24819
  if (e.literal)
@@ -24916,7 +24916,7 @@ function Qp(e, t) {
24916
24916
  loc: e.loc,
24917
24917
  invalid: e.invalid
24918
24918
  };
24919
- return new Ne({ ...n, ...t, old: n });
24919
+ return new Ie({ ...n, ...t, old: n });
24920
24920
  }
24921
24921
  function GU(e, t, n) {
24922
24922
  let r = e - t * 60 * 1e3;
@@ -24966,14 +24966,14 @@ function G_(e, t) {
24966
24966
  function Xp(e, t, n, r, i, o) {
24967
24967
  const { setZone: s, zone: a } = n;
24968
24968
  if (e && Object.keys(e).length !== 0) {
24969
- const l = t || a, u = Ne.fromObject(e, {
24969
+ const l = t || a, u = Ie.fromObject(e, {
24970
24970
  ...n,
24971
24971
  zone: l,
24972
24972
  specificOffset: o
24973
24973
  });
24974
24974
  return s ? u : u.setZone(a);
24975
24975
  } else
24976
- return Ne.invalid(
24976
+ return Ie.invalid(
24977
24977
  new To("unparsable", `the input "${i}" can't be parsed as ${r}`)
24978
24978
  );
24979
24979
  }
@@ -25062,11 +25062,11 @@ function Q_(e, t) {
25062
25062
  yt(e[u]) && (e[u] = KU[u]);
25063
25063
  const a = qU(e) || YU(e);
25064
25064
  if (a)
25065
- return Ne.invalid(a);
25065
+ return Ie.invalid(a);
25066
25066
  const l = n.offset(i);
25067
25067
  [o, s] = Pv(e, l, n);
25068
25068
  }
25069
- return new Ne({ ts: o, zone: n, loc: r, o: s });
25069
+ return new Ie({ ts: o, zone: n, loc: r, o: s });
25070
25070
  }
25071
25071
  function X_(e, t, n) {
25072
25072
  const r = yt(n.round) ? !0 : n.round, i = (s, a) => (s = M$(s, r || n.calendary ? 0 : 2, !0), t.loc.clone(n).relFormatter(n).format(s, a)), o = (s) => n.calendary ? t.hasSame(e, s) ? 0 : t.startOf(s).diff(e.startOf(s), s).get(s) : t.diff(e, s).get(s);
@@ -25083,7 +25083,7 @@ function J_(e) {
25083
25083
  let t = {}, n;
25084
25084
  return e.length > 0 && typeof e[e.length - 1] == "object" ? (t = e[e.length - 1], n = Array.from(e).slice(0, e.length - 1)) : n = Array.from(e), [t, n];
25085
25085
  }
25086
- class Ne {
25086
+ class Ie {
25087
25087
  /**
25088
25088
  * @access private
25089
25089
  */
@@ -25110,7 +25110,7 @@ class Ne {
25110
25110
  * @return {DateTime}
25111
25111
  */
25112
25112
  static now() {
25113
- return new Ne({});
25113
+ return new Ie({});
25114
25114
  }
25115
25115
  /**
25116
25116
  * Create a local DateTime
@@ -25175,13 +25175,13 @@ class Ne {
25175
25175
  static fromJSDate(t, n = {}) {
25176
25176
  const r = Rme(t) ? t.valueOf() : NaN;
25177
25177
  if (Number.isNaN(r))
25178
- return Ne.invalid("invalid input");
25178
+ return Ie.invalid("invalid input");
25179
25179
  const i = il(n.zone, kn.defaultZone);
25180
- return i.isValid ? new Ne({
25180
+ return i.isValid ? new Ie({
25181
25181
  ts: r,
25182
25182
  zone: i,
25183
25183
  loc: fn.fromObject(n)
25184
- }) : Ne.invalid(N1(i));
25184
+ }) : Ie.invalid(N1(i));
25185
25185
  }
25186
25186
  /**
25187
25187
  * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
@@ -25195,7 +25195,7 @@ class Ne {
25195
25195
  */
25196
25196
  static fromMillis(t, n = {}) {
25197
25197
  if (Ku(t))
25198
- return t < -q_ || t > q_ ? Ne.invalid("Timestamp out of range") : new Ne({
25198
+ return t < -q_ || t > q_ ? Ie.invalid("Timestamp out of range") : new Ie({
25199
25199
  ts: t,
25200
25200
  zone: il(n.zone, kn.defaultZone),
25201
25201
  loc: fn.fromObject(n)
@@ -25216,7 +25216,7 @@ class Ne {
25216
25216
  */
25217
25217
  static fromSeconds(t, n = {}) {
25218
25218
  if (Ku(t))
25219
- return new Ne({
25219
+ return new Ie({
25220
25220
  ts: t * 1e3,
25221
25221
  zone: il(n.zone, kn.defaultZone),
25222
25222
  loc: fn.fromObject(n)
@@ -25255,7 +25255,7 @@ class Ne {
25255
25255
  t = t || {};
25256
25256
  const r = il(n.zone, kn.defaultZone);
25257
25257
  if (!r.isValid)
25258
- return Ne.invalid(N1(r));
25258
+ return Ie.invalid(N1(r));
25259
25259
  const i = kn.now(), o = yt(n.specificOffset) ? r.offset(i) : n.specificOffset, s = Gy(t, Z_), a = !yt(s.ordinal), l = !yt(s.year), u = !yt(s.month) || !yt(s.day), d = l || u, f = s.weekYear || s.weekNumber, m = fn.fromObject(n);
25260
25260
  if ((d || a) && f)
25261
25261
  throw new Ch(
@@ -25273,14 +25273,14 @@ class Ne {
25273
25273
  }
25274
25274
  const b = h ? g1e(s) : a ? v1e(s) : qU(s), S = b || YU(s);
25275
25275
  if (S)
25276
- return Ne.invalid(S);
25277
- const C = h ? V_(s) : a ? W_(s) : s, [T, k] = Pv(C, o, r), R = new Ne({
25276
+ return Ie.invalid(S);
25277
+ const C = h ? V_(s) : a ? W_(s) : s, [T, k] = Pv(C, o, r), R = new Ie({
25278
25278
  ts: T,
25279
25279
  zone: r,
25280
25280
  o: k,
25281
25281
  loc: m
25282
25282
  });
25283
- return s.weekday && d && t.weekday !== R.weekday ? Ne.invalid(
25283
+ return s.weekday && d && t.weekday !== R.weekday ? Ie.invalid(
25284
25284
  "mismatched weekday",
25285
25285
  `you can't specify both a weekday of ${s.weekday} and a date of ${R.toISO()}`
25286
25286
  ) : R;
@@ -25363,13 +25363,13 @@ class Ne {
25363
25363
  numberingSystem: o,
25364
25364
  defaultToEN: !0
25365
25365
  }), [a, l, u, d] = m1e(s, t, n);
25366
- return d ? Ne.invalid(d) : Xp(a, l, r, `format ${n}`, t, u);
25366
+ return d ? Ie.invalid(d) : Xp(a, l, r, `format ${n}`, t, u);
25367
25367
  }
25368
25368
  /**
25369
25369
  * @deprecated use fromFormat instead
25370
25370
  */
25371
25371
  static fromString(t, n, r = {}) {
25372
- return Ne.fromFormat(t, n, r);
25372
+ return Ie.fromFormat(t, n, r);
25373
25373
  }
25374
25374
  /**
25375
25375
  * Create a DateTime from a SQL date, time, or datetime
@@ -25407,7 +25407,7 @@ class Ne {
25407
25407
  const r = t instanceof To ? t : new To(t, n);
25408
25408
  if (kn.throwOnInvalid)
25409
25409
  throw new Cme(r);
25410
- return new Ne({ invalid: r });
25410
+ return new Ie({ invalid: r });
25411
25411
  }
25412
25412
  /**
25413
25413
  * Check if an object is an instance of DateTime. Works across context boundaries
@@ -25761,7 +25761,7 @@ class Ne {
25761
25761
  }
25762
25762
  return Qp(this, { ts: i, zone: t });
25763
25763
  } else
25764
- return Ne.invalid(N1(t));
25764
+ return Ie.invalid(N1(t));
25765
25765
  }
25766
25766
  /**
25767
25767
  * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
@@ -26179,7 +26179,7 @@ class Ne {
26179
26179
  * @return {Duration}
26180
26180
  */
26181
26181
  diffNow(t = "milliseconds", n = {}) {
26182
- return this.diff(Ne.now(), t, n);
26182
+ return this.diff(Ie.now(), t, n);
26183
26183
  }
26184
26184
  /**
26185
26185
  * Return an Interval spanning between this DateTime and another DateTime
@@ -26235,7 +26235,7 @@ class Ne {
26235
26235
  toRelative(t = {}) {
26236
26236
  if (!this.isValid)
26237
26237
  return null;
26238
- const n = t.base || Ne.fromObject({}, { zone: this.zone }), r = t.padding ? this < n ? -t.padding : t.padding : 0;
26238
+ const n = t.base || Ie.fromObject({}, { zone: this.zone }), r = t.padding ? this < n ? -t.padding : t.padding : 0;
26239
26239
  let i = ["years", "months", "days", "hours", "minutes", "seconds"], o = t.unit;
26240
26240
  return Array.isArray(t.unit) && (i = t.unit, o = void 0), X_(n, this.plus(r), {
26241
26241
  ...t,
@@ -26258,7 +26258,7 @@ class Ne {
26258
26258
  * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
26259
26259
  */
26260
26260
  toRelativeCalendar(t = {}) {
26261
- return this.isValid ? X_(t.base || Ne.fromObject({}, { zone: this.zone }), this, {
26261
+ return this.isValid ? X_(t.base || Ie.fromObject({}, { zone: this.zone }), this, {
26262
26262
  ...t,
26263
26263
  numeric: "auto",
26264
26264
  units: ["years", "months", "days"],
@@ -26271,7 +26271,7 @@ class Ne {
26271
26271
  * @return {DateTime} the min DateTime, or undefined if called with no argument
26272
26272
  */
26273
26273
  static min(...t) {
26274
- if (!t.every(Ne.isDateTime))
26274
+ if (!t.every(Ie.isDateTime))
26275
26275
  throw new Zi("min requires all arguments be DateTimes");
26276
26276
  return __(t, (n) => n.valueOf(), Math.min);
26277
26277
  }
@@ -26281,7 +26281,7 @@ class Ne {
26281
26281
  * @return {DateTime} the max DateTime, or undefined if called with no argument
26282
26282
  */
26283
26283
  static max(...t) {
26284
- if (!t.every(Ne.isDateTime))
26284
+ if (!t.every(Ie.isDateTime))
26285
26285
  throw new Zi("max requires all arguments be DateTimes");
26286
26286
  return __(t, (n) => n.valueOf(), Math.max);
26287
26287
  }
@@ -26305,7 +26305,7 @@ class Ne {
26305
26305
  * @deprecated use fromFormatExplain instead
26306
26306
  */
26307
26307
  static fromStringExplain(t, n, r = {}) {
26308
- return Ne.fromFormatExplain(t, n, r);
26308
+ return Ie.fromFormatExplain(t, n, r);
26309
26309
  }
26310
26310
  // FORMAT PRESETS
26311
26311
  /**
@@ -26464,12 +26464,12 @@ class Ne {
26464
26464
  }
26465
26465
  }
26466
26466
  function Jp(e) {
26467
- if (Ne.isDateTime(e))
26467
+ if (Ie.isDateTime(e))
26468
26468
  return e;
26469
26469
  if (e && e.valueOf && Ku(e.valueOf()))
26470
- return Ne.fromJSDate(e);
26470
+ return Ie.fromJSDate(e);
26471
26471
  if (e && typeof e == "object")
26472
- return Ne.fromObject(e);
26472
+ return Ie.fromObject(e);
26473
26473
  throw new Zi(
26474
26474
  `Unknown datetime argument: ${e}, of type ${typeof e}`
26475
26475
  );
@@ -34833,12 +34833,12 @@ function cd({
34833
34833
  (be, Dt) => {
34834
34834
  var hr, Ur;
34835
34835
  const vt = JSON.parse(JSON.stringify(be));
34836
- return vt.isCancelable = M && vt.appointment_uuid === M, vt.appointmentUuid = vt.appointment_uuid, vt.uuid = vt.timeslot_uuid, vt.start = Ne.fromISO(vt.start), (hr = vt.kind) != null && hr.toLowerCase().includes("bookable") && // only adjust for availabilities; appointments are fixed
34836
+ return vt.isCancelable = M && vt.appointment_uuid === M, vt.appointmentUuid = vt.appointment_uuid, vt.uuid = vt.timeslot_uuid, vt.start = Ie.fromISO(vt.start), (hr = vt.kind) != null && hr.toLowerCase().includes("bookable") && // only adjust for availabilities; appointments are fixed
34837
34837
  (Dt != null && Dt.minDuration) ? vt.end = vt.start.plus({
34838
34838
  minutes: Dt.minDuration
34839
34839
  }) : (Ur = vt.kind) != null && Ur.toLowerCase().includes("bookable") && (Dt != null && Dt.maxDuration) ? vt.end = vt.start.plus({
34840
34840
  minutes: Dt.maxDuration
34841
- }) : vt.end = Ne.fromISO(vt.end), vt;
34841
+ }) : vt.end = Ie.fromISO(vt.end), vt;
34842
34842
  },
34843
34843
  [M]
34844
34844
  ), [
@@ -45172,9 +45172,9 @@ function I3({
45172
45172
  return /* @__PURE__ */ $.jsxs(he, { container: !0, direction: "column", alignContent: "space-around", mt: 2, children: [
45173
45173
  /* @__PURE__ */ $.jsxs(he, { item: !0, children: [
45174
45174
  /* @__PURE__ */ $.jsx(Me, { variant: "body1", fontWeight: 600, display: "inline", children: `${e == null ? void 0 : e.toLocaleString(
45175
- Ne.TIME_SIMPLE
45176
- )} - ${t == null ? void 0 : t.toLocaleString(Ne.TIME_SIMPLE)}` }),
45177
- /* @__PURE__ */ $.jsx(Me, { variant: "body1", display: "inline", children: ` | ${e == null ? void 0 : e.toLocaleString(Ne.DATE_HUGE)}` })
45175
+ Ie.TIME_SIMPLE
45176
+ )} - ${t == null ? void 0 : t.toLocaleString(Ie.TIME_SIMPLE)}` }),
45177
+ /* @__PURE__ */ $.jsx(Me, { variant: "body1", display: "inline", children: ` | ${e == null ? void 0 : e.toLocaleString(Ie.DATE_HUGE)}` })
45178
45178
  ] }),
45179
45179
  r && /* @__PURE__ */ $.jsx(he, { children: /* @__PURE__ */ $.jsxs(
45180
45180
  Me,
@@ -52482,10 +52482,10 @@ function oG(e) {
52482
52482
  (n == null ? void 0 : n.start) && (n == null ? void 0 : n.end) && /* @__PURE__ */ $.jsxs(Dr, { children: [
52483
52483
  /* @__PURE__ */ $.jsx(Hs, { children: /* @__PURE__ */ $.jsx(BY, {}) }),
52484
52484
  /* @__PURE__ */ $.jsx(Mr, { children: /* @__PURE__ */ $.jsx(Me, { variant: "body1", color: "text.secondary", children: `${n == null ? void 0 : n.start.toLocaleString(
52485
- Ne.TIME_SIMPLE
52485
+ Ie.TIME_SIMPLE
52486
52486
  )} - ${n == null ? void 0 : n.end.toLocaleString(
52487
- Ne.TIME_SIMPLE
52488
- )} | ${n == null ? void 0 : n.start.toLocaleString(Ne.DATE_HUGE)}` }) })
52487
+ Ie.TIME_SIMPLE
52488
+ )} | ${n == null ? void 0 : n.start.toLocaleString(Ie.DATE_HUGE)}` }) })
52489
52489
  ] }),
52490
52490
  s && /* @__PURE__ */ $.jsxs(Dr, { children: [
52491
52491
  /* @__PURE__ */ $.jsx(Hs, { children: /* @__PURE__ */ $.jsx(Rf, {}) }),
@@ -53058,7 +53058,7 @@ function P7({
53058
53058
  for (const o of i)
53059
53059
  o.isCancelable ? o.renderAsCancelable = !0 : o.capacity_left > 0 || o.kind === "models.Bookable" ? o.renderAsBookable = !0 : o.renderAsBlocker = !0;
53060
53060
  return r = r.sort((i, o) => {
53061
- const s = Ne.fromFormat(i[0], "yyyy-MM-dd"), a = Ne.fromFormat(o[0], "yyyy-MM-dd");
53061
+ const s = Ie.fromFormat(i[0], "yyyy-MM-dd"), a = Ie.fromFormat(o[0], "yyyy-MM-dd");
53062
53062
  return s < a ? -1 : s === a ? 0 : 1;
53063
53063
  }), r;
53064
53064
  }
@@ -53184,7 +53184,7 @@ const uG = re.forwardRef(
53184
53184
  variant: "body2",
53185
53185
  color: "text.secondary",
53186
53186
  px: { xs: 0, sm: 0, md: 0 },
53187
- children: `${(o = e == null ? void 0 : e.start) == null ? void 0 : o.toLocaleString(Ne.TIME_SIMPLE)} - ${t || " "}`
53187
+ children: `${(o = e == null ? void 0 : e.start) == null ? void 0 : o.toLocaleString(Ie.TIME_SIMPLE)} - ${t || " "}`
53188
53188
  }
53189
53189
  )
53190
53190
  }
@@ -53241,7 +53241,7 @@ function Vze({ timeslot: e, openBookingPage: t, viewport: n }) {
53241
53241
  variant: "body2",
53242
53242
  color: "secondary.main",
53243
53243
  px: { xs: 2, sm: 2, md: 3 },
53244
- children: `${(i = e == null ? void 0 : e.start) == null ? void 0 : i.toLocaleString(Ne.TIME_SIMPLE)} - ${r(
53244
+ children: `${(i = e == null ? void 0 : e.start) == null ? void 0 : i.toLocaleString(Ie.TIME_SIMPLE)} - ${r(
53245
53245
  "cancellation.cancellable_appointment_highlight"
53246
53246
  )}`
53247
53247
  }
@@ -53267,8 +53267,8 @@ function Wze({ date: e }) {
53267
53267
  alignItems: "center",
53268
53268
  sx: { height: "48px" },
53269
53269
  children: [
53270
- /* @__PURE__ */ $.jsx(he, { item: !0, children: /* @__PURE__ */ $.jsx(Me, { variant: "body2", color: "primary", children: Ne.fromISO(e).toLocaleString(Ne.DATE_FULL) }) }),
53271
- /* @__PURE__ */ $.jsx(he, { item: !0, children: /* @__PURE__ */ $.jsx(Me, { variant: "body2", color: "text.secondary", children: Ne.fromISO(e).weekdayLong }) })
53270
+ /* @__PURE__ */ $.jsx(he, { item: !0, children: /* @__PURE__ */ $.jsx(Me, { variant: "body2", color: "primary", children: Ie.fromISO(e).toLocaleString(Ie.DATE_FULL) }) }),
53271
+ /* @__PURE__ */ $.jsx(he, { item: !0, children: /* @__PURE__ */ $.jsx(Me, { variant: "body2", color: "text.secondary", children: Ie.fromISO(e).weekdayLong }) })
53272
53272
  ]
53273
53273
  }
53274
53274
  )
@@ -65710,7 +65710,19 @@ function EN(e) {
65710
65710
  selectedProduct: i
65711
65711
  }), { bookable: S } = lG(b), C = kKe(b, t);
65712
65712
  _.useEffect(() => {
65713
- !w !== i && S && (m.current.getApi().gotoDate(Ne.fromISO(S == null ? void 0 : S.start).toISODate()), y(i));
65713
+ if (!w !== i && S) {
65714
+ const k = m.current.getApi();
65715
+ k.gotoDate(Ie.fromISO(S == null ? void 0 : S.start).toISODate());
65716
+ let R = Ie.fromISO(S == null ? void 0 : S.start).minus({
65717
+ hours: 5
65718
+ }), A = Ie.fromObject({
65719
+ hour: 8,
65720
+ minute: 0,
65721
+ second: 0,
65722
+ millisecond: 0
65723
+ });
65724
+ R > A && k.scrollToTime(R.toFormat("HH:mm")), y(i);
65725
+ }
65714
65726
  }, [C, S, S == null ? void 0 : S.start, w, i]);
65715
65727
  const T = _.useCallback(() => a && v && s && Object.keys(s).length > 1, [v, a, s]);
65716
65728
  return /* @__PURE__ */ $.jsxs(pfe, { ref: h, sx: { flexGrow: 1 }, children: [
@@ -65745,7 +65757,7 @@ function EN(e) {
65745
65757
  events: C,
65746
65758
  eventClick: (k) => {
65747
65759
  const R = { ...k.event.extendedProps };
65748
- R.start = Ne.fromISO(k.event.startStr), R.end = Ne.fromISO(k.event.endStr), u(R);
65760
+ R.start = Ie.fromISO(k.event.startStr), R.end = Ie.fromISO(k.event.endStr), u(R);
65749
65761
  },
65750
65762
  windowResize: () => {
65751
65763
  var k, R, A, M;
@@ -65832,7 +65844,7 @@ function MKe({
65832
65844
  function IKe({ key: e, date: t, timeslots: n, width: r, openBookingPage: i }) {
65833
65845
  const { t: o } = On();
65834
65846
  return n ? /* @__PURE__ */ $.jsxs(he, { container: !0, item: !0, xs: "auto", alignContent: "flex-start", children: [
65835
- /* @__PURE__ */ $.jsx(he, { item: !0, xs: 12, height: "25px", children: /* @__PURE__ */ $.jsx(Me, { sx: { textAlign: "center" }, children: Ne.fromISO(t).toUTC().toLocaleString({
65847
+ /* @__PURE__ */ $.jsx(he, { item: !0, xs: 12, height: "25px", children: /* @__PURE__ */ $.jsx(Me, { sx: { textAlign: "center" }, children: Ie.fromISO(t).toUTC().toLocaleString({
65836
65848
  day: "2-digit",
65837
65849
  month: "2-digit"
65838
65850
  }) }) }),
@@ -67678,6 +67690,8 @@ const ql = 14, cu = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
67678
67690
  initialView: "timeGridWeek",
67679
67691
  useCustomTimumCss: !0,
67680
67692
  displayEventEnd: !1,
67693
+ scrollTimeReset: !1,
67694
+ scrollTime: "09:00:00",
67681
67695
  views: {
67682
67696
  timeGridWeek: {
67683
67697
  slotMinTime: "08:00:00",