@revolugo/booking-api-client 7.9.2 → 7.10.0-rc.1

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/dist/index.es.js CHANGED
@@ -1,97 +1,97 @@
1
- var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDescriptor, bt = Object.getOwnPropertyNames, vt = Object.getPrototypeOf, Nt = Object.prototype.hasOwnProperty, X = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Pt = (e, t, i, n) => {
1
+ var Dt = Object.create, Ve = Object.defineProperty, bt = Object.getOwnPropertyDescriptor, vt = Object.getOwnPropertyNames, Nt = Object.getPrototypeOf, Pt = Object.prototype.hasOwnProperty, X = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), Et = (e, t, i, n) => {
2
2
  if (t && typeof t == "object" || typeof t == "function")
3
- for (var o = bt(t), s = 0, u = o.length, d; s < u; s++)
4
- d = o[s], !Nt.call(e, d) && d !== i && ze(e, d, {
3
+ for (var o = vt(t), s = 0, u = o.length, d; s < u; s++)
4
+ d = o[s], !Pt.call(e, d) && d !== i && Ve(e, d, {
5
5
  get: ((h) => t[h]).bind(null, d),
6
- enumerable: !(n = Dt(t, d)) || n.enumerable
6
+ enumerable: !(n = bt(t, d)) || n.enumerable
7
7
  });
8
8
  return e;
9
- }, Q = (e, t, i) => (i = e != null ? It(vt(e)) : {}, Pt(t || !e || !e.__esModule ? ze(i, "default", {
9
+ }, Q = (e, t, i) => (i = e != null ? Dt(Nt(e)) : {}, Et(t || !e || !e.__esModule ? Ve(i, "default", {
10
10
  value: e,
11
11
  enumerable: !0
12
12
  }) : i, e)), Je = /* @__PURE__ */ (function(e) {
13
13
  return e.V1 = "v1", e;
14
14
  })({}), ee = /* @__PURE__ */ (function(e) {
15
15
  return e.CiCd = "CI-CD", e.Local = "LOCAL", e.Production = "LIVE", e.Sandbox = "SANDBOX", e.Staging = "STAGING", e;
16
- })({}), Et = {
16
+ })({}), Lt = {
17
17
  [ee.CiCd]: "https://booking-api.staging.revolugo.com",
18
18
  [ee.Local]: "http://127.0.0.1:3001",
19
19
  [ee.Production]: "https://booking-api.revolugo.com",
20
20
  [ee.Sandbox]: "https://booking-api.sandbox.revolugo.com",
21
21
  [ee.Staging]: "https://booking-api.staging.revolugo.com"
22
- }, F = /* @__PURE__ */ (function(e) {
22
+ }, B = /* @__PURE__ */ (function(e) {
23
23
  return e.de_DE = "de-DE", e.en_US = "en-US", e.es_ES = "es-ES", e.fr_FR = "fr-FR", e.it_IT = "it-IT", e.nl_NL = "nl-NL", e.pt_PT = "pt-PT", e;
24
- })({}), z = /* @__PURE__ */ (function(e) {
24
+ })({}), V = /* @__PURE__ */ (function(e) {
25
25
  return e.DE = "de", e.EN = "en", e.ES = "es", e.FR = "fr", e.IT = "it", e.NL = "nl", e.PT = "pt", e;
26
- })({}), Eo = {
27
- [z.DE]: F.de_DE,
28
- [z.EN]: F.en_US,
29
- [z.ES]: F.es_ES,
30
- [z.FR]: F.fr_FR,
31
- [z.IT]: F.it_IT,
32
- [z.NL]: F.nl_NL,
33
- [z.PT]: F.pt_PT
34
- }, Lo = {
35
- [F.de_DE]: z.DE,
36
- [F.en_US]: z.EN,
37
- [F.es_ES]: z.ES,
38
- [F.fr_FR]: z.FR,
39
- [F.it_IT]: z.IT,
40
- [F.nl_NL]: z.NL,
41
- [F.pt_PT]: z.PT
42
- }, Ho = {
43
- [F.de_DE]: {
44
- code: F.de_DE,
26
+ })({}), Go = {
27
+ [V.DE]: B.de_DE,
28
+ [V.EN]: B.en_US,
29
+ [V.ES]: B.es_ES,
30
+ [V.FR]: B.fr_FR,
31
+ [V.IT]: B.it_IT,
32
+ [V.NL]: B.nl_NL,
33
+ [V.PT]: B.pt_PT
34
+ }, $o = {
35
+ [B.de_DE]: V.DE,
36
+ [B.en_US]: V.EN,
37
+ [B.es_ES]: V.ES,
38
+ [B.fr_FR]: V.FR,
39
+ [B.it_IT]: V.IT,
40
+ [B.nl_NL]: V.NL,
41
+ [B.pt_PT]: V.PT
42
+ }, qo = {
43
+ [B.de_DE]: {
44
+ code: B.de_DE,
45
45
  countryCode: "DE",
46
46
  icon: "🇩🇪",
47
- locale: z.DE,
47
+ locale: V.DE,
48
48
  name: "Deutsch"
49
49
  },
50
- [F.en_US]: {
51
- code: F.en_US,
50
+ [B.en_US]: {
51
+ code: B.en_US,
52
52
  countryCode: "US",
53
53
  icon: "🇺🇸",
54
- locale: z.EN,
54
+ locale: V.EN,
55
55
  name: "English"
56
56
  },
57
- [F.es_ES]: {
58
- code: F.es_ES,
57
+ [B.es_ES]: {
58
+ code: B.es_ES,
59
59
  countryCode: "ES",
60
60
  icon: "🇪🇸",
61
- locale: z.ES,
61
+ locale: V.ES,
62
62
  name: "Español"
63
63
  },
64
- [F.fr_FR]: {
65
- code: F.fr_FR,
64
+ [B.fr_FR]: {
65
+ code: B.fr_FR,
66
66
  countryCode: "FR",
67
67
  icon: "🇫🇷",
68
- locale: z.FR,
68
+ locale: V.FR,
69
69
  name: "Français"
70
70
  },
71
- [F.it_IT]: {
72
- code: F.it_IT,
71
+ [B.it_IT]: {
72
+ code: B.it_IT,
73
73
  countryCode: "IT",
74
74
  icon: "🇮🇹",
75
- locale: z.IT,
75
+ locale: V.IT,
76
76
  name: "Italiano"
77
77
  },
78
- [F.nl_NL]: {
79
- code: F.nl_NL,
78
+ [B.nl_NL]: {
79
+ code: B.nl_NL,
80
80
  countryCode: "NL",
81
81
  icon: "🇳🇱",
82
- locale: z.NL,
82
+ locale: V.NL,
83
83
  name: "Nederlands"
84
84
  },
85
- [F.pt_PT]: {
86
- code: F.pt_PT,
85
+ [B.pt_PT]: {
86
+ code: B.pt_PT,
87
87
  countryCode: "PT",
88
88
  icon: "🇵🇹",
89
- locale: z.PT,
89
+ locale: V.PT,
90
90
  name: "Português"
91
91
  }
92
- }, Bo = F.fr_FR, Ve = /* @__PURE__ */ (function(e) {
92
+ }, Ko = B.fr_FR, ze = /* @__PURE__ */ (function(e) {
93
93
  return e.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", e.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", e;
94
- })({}), Lt = /* @__PURE__ */ X(((e, t) => {
94
+ })({}), Ft = /* @__PURE__ */ X(((e, t) => {
95
95
  var i = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof global < "u" && global, n = (function() {
96
96
  function s() {
97
97
  this.fetch = !1, this.DOMException = i.DOMException;
@@ -127,7 +127,7 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
127
127
  "[object Uint32Array]",
128
128
  "[object Float32Array]",
129
129
  "[object Float64Array]"
130
- ], _ = ArrayBuffer.isView || function(a) {
130
+ ], O = ArrayBuffer.isView || function(a) {
131
131
  return a && A.indexOf(Object.prototype.toString.call(a)) > -1;
132
132
  };
133
133
  function g(a) {
@@ -204,26 +204,26 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
204
204
  };
205
205
  });
206
206
  }
207
- function k(a) {
207
+ function T(a) {
208
208
  var c = new FileReader(), f = w(c);
209
209
  return c.readAsArrayBuffer(a), f;
210
210
  }
211
- function T(a) {
212
- var c = new FileReader(), f = w(c), l = /charset=([A-Za-z0-9_-]+)/.exec(a.type), O = l ? l[1] : "utf-8";
213
- return c.readAsText(a, O), f;
211
+ function k(a) {
212
+ var c = new FileReader(), f = w(c), l = /charset=([A-Za-z0-9_-]+)/.exec(a.type), _ = l ? l[1] : "utf-8";
213
+ return c.readAsText(a, _), f;
214
214
  }
215
215
  function P(a) {
216
216
  for (var c = new Uint8Array(a), f = new Array(c.length), l = 0; l < c.length; l++) f[l] = String.fromCharCode(c[l]);
217
217
  return f.join("");
218
218
  }
219
- function v(a) {
219
+ function N(a) {
220
220
  if (a.slice) return a.slice(0);
221
221
  var c = new Uint8Array(a.byteLength);
222
222
  return c.set(new Uint8Array(a)), c.buffer;
223
223
  }
224
- function H() {
224
+ function F() {
225
225
  return this.bodyUsed = !1, this._initBody = function(a) {
226
- this.bodyUsed = this.bodyUsed, this._bodyInit = a, a ? typeof a == "string" ? this._bodyText = a : h.blob && Blob.prototype.isPrototypeOf(a) ? this._bodyBlob = a : h.formData && FormData.prototype.isPrototypeOf(a) ? this._bodyFormData = a : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) ? this._bodyText = a.toString() : h.arrayBuffer && h.blob && S(a) ? (this._bodyArrayBuffer = v(a.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(a) || _(a)) ? this._bodyArrayBuffer = v(a) : this._bodyText = a = Object.prototype.toString.call(a) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof a == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
226
+ this.bodyUsed = this.bodyUsed, this._bodyInit = a, a ? typeof a == "string" ? this._bodyText = a : h.blob && Blob.prototype.isPrototypeOf(a) ? this._bodyBlob = a : h.formData && FormData.prototype.isPrototypeOf(a) ? this._bodyFormData = a : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) ? this._bodyText = a.toString() : h.arrayBuffer && h.blob && S(a) ? (this._bodyArrayBuffer = N(a.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : h.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(a) || O(a)) ? this._bodyArrayBuffer = N(a) : this._bodyText = a = Object.prototype.toString.call(a) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof a == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : h.searchParams && URLSearchParams.prototype.isPrototypeOf(a) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
227
227
  }, h.blob && (this.blob = function() {
228
228
  var a = p(this);
229
229
  if (a) return a;
@@ -236,13 +236,13 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
236
236
  var a = p(this);
237
237
  return a || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength)) : Promise.resolve(this._bodyArrayBuffer));
238
238
  } else {
239
- if (h.blob) return this.blob().then(k);
239
+ if (h.blob) return this.blob().then(T);
240
240
  throw new Error("could not read as ArrayBuffer");
241
241
  }
242
242
  }, this.text = function() {
243
243
  var a = p(this);
244
244
  if (a) return a;
245
- if (this._bodyBlob) return T(this._bodyBlob);
245
+ if (this._bodyBlob) return k(this._bodyBlob);
246
246
  if (this._bodyArrayBuffer) return Promise.resolve(P(this._bodyArrayBuffer));
247
247
  if (this._bodyFormData) throw new Error("could not read FormData body as text");
248
248
  return Promise.resolve(this._bodyText);
@@ -267,11 +267,11 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
267
267
  var c = a.toUpperCase();
268
268
  return x.indexOf(c) > -1 ? c : a;
269
269
  }
270
- function B(a, c) {
271
- if (!(this instanceof B)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
270
+ function H(a, c) {
271
+ if (!(this instanceof H)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
272
272
  c = c || {};
273
273
  var f = c.body;
274
- if (a instanceof B) {
274
+ if (a instanceof H) {
275
275
  if (a.bodyUsed) throw new TypeError("Already read");
276
276
  this.url = a.url, this.credentials = a.credentials, c.headers || (this.headers = new m(a.headers)), this.method = a.method, this.mode = a.mode, this.signal = a.signal, !f && a._bodyInit != null && (f = a._bodyInit, a.bodyUsed = !0);
277
277
  } else this.url = String(a);
@@ -280,45 +280,49 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
280
280
  })(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && f) throw new TypeError("Body not allowed for GET or HEAD requests");
281
281
  if (this._initBody(f), (this.method === "GET" || this.method === "HEAD") && (c.cache === "no-store" || c.cache === "no-cache")) {
282
282
  var l = /([?&])_=[^&]*/;
283
- l.test(this.url) ? this.url = this.url.replace(l, "$1_=" + (/* @__PURE__ */ new Date()).getTime()) : this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
283
+ if (l.test(this.url)) this.url = this.url.replace(l, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
284
+ else {
285
+ var _ = /\?/;
286
+ this.url += (_.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
287
+ }
284
288
  }
285
289
  }
286
- B.prototype.clone = function() {
287
- return new B(this, { body: this._bodyInit });
290
+ H.prototype.clone = function() {
291
+ return new H(this, { body: this._bodyInit });
288
292
  };
289
293
  function L(a) {
290
294
  var c = new FormData();
291
295
  return a.trim().split("&").forEach(function(f) {
292
296
  if (f) {
293
- var l = f.split("="), O = l.shift().replace(/\+/g, " "), y = l.join("=").replace(/\+/g, " ");
294
- c.append(decodeURIComponent(O), decodeURIComponent(y));
297
+ var l = f.split("="), _ = l.shift().replace(/\+/g, " "), y = l.join("=").replace(/\+/g, " ");
298
+ c.append(decodeURIComponent(_), decodeURIComponent(y));
295
299
  }
296
300
  }), c;
297
301
  }
298
- function D(a) {
302
+ function b(a) {
299
303
  var c = new m();
300
304
  return a.replace(/\r?\n[\t ]+/g, " ").split("\r").map(function(f) {
301
305
  return f.indexOf(`
302
306
  `) === 0 ? f.substr(1, f.length) : f;
303
307
  }).forEach(function(f) {
304
- var l = f.split(":"), O = l.shift().trim();
305
- if (O) {
308
+ var l = f.split(":"), _ = l.shift().trim();
309
+ if (_) {
306
310
  var y = l.join(":").trim();
307
311
  try {
308
- c.append(O, y);
309
- } catch (I) {
310
- console.warn("Response " + I.message);
312
+ c.append(_, y);
313
+ } catch (D) {
314
+ console.warn("Response " + D.message);
311
315
  }
312
316
  }
313
317
  }), c;
314
318
  }
315
- H.call(B.prototype);
319
+ F.call(H.prototype);
316
320
  function U(a, c) {
317
321
  if (!(this instanceof U)) throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
318
322
  if (c || (c = {}), this.type = "default", this.status = c.status === void 0 ? 200 : c.status, this.status < 200 || this.status > 599) throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
319
323
  this.ok = this.status >= 200 && this.status < 300, this.statusText = c.statusText === void 0 ? "" : "" + c.statusText, this.headers = new m(c.headers), this.url = c.url || "", this._initBody(a);
320
324
  }
321
- H.call(U.prototype), U.prototype.clone = function() {
325
+ F.call(U.prototype), U.prototype.clone = function() {
322
326
  return new U(this._bodyInit, {
323
327
  status: this.status,
324
328
  statusText: this.statusText,
@@ -350,23 +354,25 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
350
354
  new u.DOMException();
351
355
  } catch {
352
356
  u.DOMException = function(c, f) {
353
- this.message = c, this.name = f, this.stack = Error(c).stack;
357
+ this.message = c, this.name = f;
358
+ var l = Error(c);
359
+ this.stack = l.stack;
354
360
  }, u.DOMException.prototype = Object.create(Error.prototype), u.DOMException.prototype.constructor = u.DOMException;
355
361
  }
356
362
  function R(a, c) {
357
363
  return new Promise(function(f, l) {
358
- var O = new B(a, c);
359
- if (O.signal && O.signal.aborted) return l(new u.DOMException("Aborted", "AbortError"));
364
+ var _ = new H(a, c);
365
+ if (_.signal && _.signal.aborted) return l(new u.DOMException("Aborted", "AbortError"));
360
366
  var y = new XMLHttpRequest();
361
- function I() {
367
+ function D() {
362
368
  y.abort();
363
369
  }
364
370
  y.onload = function() {
365
371
  var E = {
366
372
  statusText: y.statusText,
367
- headers: D(y.getAllResponseHeaders() || "")
373
+ headers: b(y.getAllResponseHeaders() || "")
368
374
  };
369
- O.url.indexOf("file://") === 0 && (y.status < 200 || y.status > 599) ? E.status = 200 : E.status = y.status, E.url = "responseURL" in y ? y.responseURL : E.headers.get("X-Request-URL");
375
+ _.url.indexOf("file://") === 0 && (y.status < 200 || y.status > 599) ? E.status = 200 : E.status = y.status, E.url = "responseURL" in y ? y.responseURL : E.headers.get("X-Request-URL");
370
376
  var Y = "response" in y ? y.response : y.responseText;
371
377
  setTimeout(function() {
372
378
  f(new U(Y, E));
@@ -391,40 +397,40 @@ var It = Object.create, ze = Object.defineProperty, Dt = Object.getOwnPropertyDe
391
397
  return E;
392
398
  }
393
399
  }
394
- if (y.open(O.method, G(O.url), !0), O.credentials === "include" ? y.withCredentials = !0 : O.credentials === "omit" && (y.withCredentials = !1), "responseType" in y && (h.blob ? y.responseType = "blob" : h.arrayBuffer && (y.responseType = "arraybuffer")), c && typeof c.headers == "object" && !(c.headers instanceof m || d.Headers && c.headers instanceof d.Headers)) {
395
- var $ = [];
400
+ if (y.open(_.method, G(_.url), !0), _.credentials === "include" ? y.withCredentials = !0 : _.credentials === "omit" && (y.withCredentials = !1), "responseType" in y && (h.blob ? y.responseType = "blob" : h.arrayBuffer && (y.responseType = "arraybuffer")), c && typeof c.headers == "object" && !(c.headers instanceof m || d.Headers && c.headers instanceof d.Headers)) {
401
+ var q = [];
396
402
  Object.getOwnPropertyNames(c.headers).forEach(function(E) {
397
- $.push(g(E)), y.setRequestHeader(E, M(c.headers[E]));
398
- }), O.headers.forEach(function(E, Y) {
399
- $.indexOf(Y) === -1 && y.setRequestHeader(Y, E);
403
+ q.push(g(E)), y.setRequestHeader(E, M(c.headers[E]));
404
+ }), _.headers.forEach(function(E, Y) {
405
+ q.indexOf(Y) === -1 && y.setRequestHeader(Y, E);
400
406
  });
401
- } else O.headers.forEach(function(E, Y) {
407
+ } else _.headers.forEach(function(E, Y) {
402
408
  y.setRequestHeader(Y, E);
403
409
  });
404
- O.signal && (O.signal.addEventListener("abort", I), y.onreadystatechange = function() {
405
- y.readyState === 4 && O.signal.removeEventListener("abort", I);
406
- }), y.send(typeof O._bodyInit > "u" ? null : O._bodyInit);
410
+ _.signal && (_.signal.addEventListener("abort", D), y.onreadystatechange = function() {
411
+ y.readyState === 4 && _.signal.removeEventListener("abort", D);
412
+ }), y.send(typeof _._bodyInit > "u" ? null : _._bodyInit);
407
413
  });
408
414
  }
409
- return R.polyfill = !0, d.fetch || (d.fetch = R, d.Headers = m, d.Request = B, d.Response = U), u.Headers = m, u.Request = B, u.Response = U, u.fetch = R, u;
415
+ return R.polyfill = !0, d.fetch || (d.fetch = R, d.Headers = m, d.Request = H, d.Response = U), u.Headers = m, u.Request = H, u.Response = U, u.fetch = R, u;
410
416
  })({});
411
417
  })(n), n.fetch.ponyfill = !0, delete n.fetch.polyfill;
412
418
  var o = i.fetch ? i : n;
413
419
  e = o.fetch, e.default = o.fetch, e.fetch = o.fetch, e.Headers = o.Headers, e.Request = o.Request, e.Response = o.Response, t.exports = e;
414
- })), Ht = /* @__PURE__ */ Q(Lt(), 1), Bt = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Ft = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), xt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Jt = /[^\p{L}\d]+/giu, Ue = "$1\0$2", Ge = "";
420
+ })), Ht = /* @__PURE__ */ Q(Ft(), 1), Bt = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), xt = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Jt = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Ut = /[^\p{L}\d]+/giu, Ue = "$1\0$2", Ge = "";
415
421
  function Ze(e) {
416
422
  let t = e.trim();
417
- t = t.replace(Bt, Ue).replace(Ft, Ue), t = t.replace(Jt, "\0");
423
+ t = t.replace(Bt, Ue).replace(xt, Ue), t = t.replace(Ut, "\0");
418
424
  let i = 0, n = t.length;
419
425
  for (; t.charAt(i) === "\0"; ) i++;
420
426
  if (i === n) return [];
421
427
  for (; t.charAt(n - 1) === "\0"; ) n--;
422
428
  return t.slice(i, n).split(/\0/g);
423
429
  }
424
- function Ut(e) {
430
+ function Gt(e) {
425
431
  const t = Ze(e);
426
432
  for (let i = 0; i < t.length; i++) {
427
- const n = t[i], o = xt.exec(n);
433
+ const n = t[i], o = Jt.exec(n);
428
434
  if (o) {
429
435
  const s = o.index + (o[1] ?? o[2]).length;
430
436
  t.splice(i, 1, n.slice(0, s), n.slice(s));
@@ -436,15 +442,15 @@ function We(e, t) {
436
442
  const [i, n, o] = ke(e, t);
437
443
  return i + n.map(Re(t?.locale)).join(t?.delimiter ?? " ") + o;
438
444
  }
439
- function Gt(e, t) {
445
+ function $t(e, t) {
440
446
  const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale), d = t?.mergeAmbiguousCharacters ? Ne(s, u) : Qe(s, u);
441
447
  return i + n.map((h, S) => S === 0 ? s(h) : d(h, S)).join(t?.delimiter ?? "") + o;
442
448
  }
443
- function $t(e, t) {
449
+ function qt(e, t) {
444
450
  const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale), d = t?.mergeAmbiguousCharacters ? Ne(s, u) : Qe(s, u);
445
451
  return i + n.map(d).join(t?.delimiter ?? "") + o;
446
452
  }
447
- function qt(e, t) {
453
+ function Kt(e, t) {
448
454
  const [i, n, o] = ke(e, t), s = Re(t?.locale), u = ve(t?.locale);
449
455
  return i + n.map(Ne(s, u)).join(t?.delimiter ?? " ") + o;
450
456
  }
@@ -454,7 +460,7 @@ function Xe(e, t) {
454
460
  ...t
455
461
  });
456
462
  }
457
- function Kt(e, t) {
463
+ function Yt(e, t) {
458
464
  return We(e, {
459
465
  delimiter: "_",
460
466
  ...t
@@ -476,7 +482,7 @@ function Qe(e, t) {
476
482
  };
477
483
  }
478
484
  function ke(e, t = {}) {
479
- const i = t.split ?? (t.separateNumbers ? Ut : Ze), n = t.prefixCharacters ?? Ge, o = t.suffixCharacters ?? Ge;
485
+ const i = t.split ?? (t.separateNumbers ? Gt : Ze), n = t.prefixCharacters ?? Ge, o = t.suffixCharacters ?? Ge;
480
486
  let s = 0, u = e.length;
481
487
  for (; s < e.length; ) {
482
488
  const d = e.charAt(s);
@@ -494,7 +500,7 @@ function ke(e, t = {}) {
494
500
  e.slice(u)
495
501
  ];
496
502
  }
497
- var Yt = /* @__PURE__ */ X(((e, t) => {
503
+ var Vt = /* @__PURE__ */ X(((e, t) => {
498
504
  (function(i, n, o) {
499
505
  typeof e == "object" ? (t.exports = o(), t.exports.default = o()) : typeof define == "function" && define.amd ? define(o) : n[i] = o();
500
506
  })("slugify", e, function() {
@@ -502,9 +508,9 @@ var Yt = /* @__PURE__ */ X(((e, t) => {
502
508
  function o(s, u) {
503
509
  if (typeof s != "string") throw new Error("slugify: string argument expected");
504
510
  u = typeof u == "string" ? { replacement: u } : u || {};
505
- var d = n[u.locale] || {}, h = u.replacement === void 0 ? "-" : u.replacement, S = u.trim === void 0 ? !0 : u.trim, A = s.normalize().split("").reduce(function(_, g) {
511
+ var d = n[u.locale] || {}, h = u.replacement === void 0 ? "-" : u.replacement, S = u.trim === void 0 ? !0 : u.trim, A = s.normalize().split("").reduce(function(O, g) {
506
512
  var M = d[g];
507
- return M === void 0 && (M = i[g]), M === void 0 && (M = g), M === h && (M = " "), _ + M.replace(u.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
513
+ return M === void 0 && (M = i[g]), M === void 0 && (M = g), M === h && (M = " "), O + M.replace(u.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
508
514
  }, "");
509
515
  return u.strict && (A = A.replace(/[^A-Za-z0-9\s]/g, "")), S && (A = A.trim()), A = A.replace(/\s+/g, h), u.lower && (A = A.toLowerCase()), A;
510
516
  }
@@ -512,41 +518,41 @@ var Yt = /* @__PURE__ */ X(((e, t) => {
512
518
  Object.assign(i, s);
513
519
  }, o;
514
520
  });
515
- })), zt = /* @__PURE__ */ Q(Yt(), 1);
516
- function Vt(e) {
521
+ })), zt = /* @__PURE__ */ Q(Vt(), 1);
522
+ function Zt(e) {
517
523
  return (0, zt.default)(Xe(e), {
518
524
  lower: !0,
519
525
  strict: !0
520
526
  });
521
527
  }
522
- var b = /* @__PURE__ */ (function(e) {
528
+ var I = /* @__PURE__ */ (function(e) {
523
529
  return e.Camel = "camelCase", e.Capital = "capitalCase", e.Param = "paramCase", e.Pascal = "pascalCase", e.Slug = "slugCase", e.Snake = "snakeCase", e;
524
- })({}), Zt = {
525
- [b.Camel]: Gt,
526
- [b.Capital]: qt,
527
- [b.Param]: Xe,
528
- [b.Pascal]: $t,
529
- [b.Slug]: Vt,
530
- [b.Snake]: Kt
530
+ })({}), Wt = {
531
+ [I.Camel]: $t,
532
+ [I.Capital]: Kt,
533
+ [I.Param]: Xe,
534
+ [I.Pascal]: qt,
535
+ [I.Slug]: Zt,
536
+ [I.Snake]: Yt
531
537
  };
532
- function Wt(e, t) {
538
+ function Xt(e, t) {
533
539
  return e.some((i) => typeof i == "string" ? i === t : i.test(t));
534
540
  }
535
- function Xt(e) {
541
+ function Qt(e) {
536
542
  return e === Object(e) && !Array.isArray(e) && typeof e != "function";
537
543
  }
538
- function N(e, t, i = { deep: !0 }) {
539
- return Xt(e) && !(e instanceof Date) ? Object.keys(e).reduce((n, o) => {
540
- const s = i?.exclude && Wt(i.exclude, o) ? o : Zt[t](o);
541
- return n[s] = i.deep ? N(e[o], t, i) : e[o], n;
542
- }, {}) : Array.isArray(e) ? e.map((n) => N(n, t, i)) : e;
544
+ function v(e, t, i = { deep: !0 }) {
545
+ return Qt(e) && !(e instanceof Date) ? Object.keys(e).reduce((n, o) => {
546
+ const s = i?.exclude && Xt(i.exclude, o) ? o : Wt[t](o);
547
+ return n[s] = i.deep ? v(e[o], t, i) : e[o], n;
548
+ }, {}) : Array.isArray(e) ? e.map((n) => v(n, t, i)) : e;
543
549
  }
544
550
  var je = /* @__PURE__ */ X(((e, t) => {
545
551
  (function(i, n) {
546
552
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs = n();
547
553
  })(e, (function() {
548
554
  "use strict";
549
- var i = 1e3, n = 6e4, o = 36e5, s = "millisecond", u = "second", d = "minute", h = "hour", S = "day", A = "week", _ = "month", g = "quarter", M = "year", C = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = {
555
+ var i = 1e3, n = 6e4, o = 36e5, s = "millisecond", u = "second", d = "minute", h = "hour", S = "day", A = "week", O = "month", g = "quarter", M = "year", C = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, T = {
550
556
  name: "en",
551
557
  weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
552
558
  months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
@@ -559,26 +565,26 @@ var je = /* @__PURE__ */ X(((e, t) => {
559
565
  ], c = R % 100;
560
566
  return "[" + R + (a[(c - 20) % 10] || a[c] || a[0]) + "]";
561
567
  }
562
- }, T = function(R, a, c) {
568
+ }, k = function(R, a, c) {
563
569
  var f = String(R);
564
570
  return !f || f.length >= a ? R : "" + Array(a + 1 - f.length).join(c) + R;
565
571
  }, P = {
566
- s: T,
572
+ s: k,
567
573
  z: function(R) {
568
574
  var a = -R.utcOffset(), c = Math.abs(a), f = Math.floor(c / 60), l = c % 60;
569
- return (a <= 0 ? "+" : "-") + T(f, 2, "0") + ":" + T(l, 2, "0");
575
+ return (a <= 0 ? "+" : "-") + k(f, 2, "0") + ":" + k(l, 2, "0");
570
576
  },
571
577
  m: function R(a, c) {
572
578
  if (a.date() < c.date()) return -R(c, a);
573
- var f = 12 * (c.year() - a.year()) + (c.month() - a.month()), l = a.clone().add(f, _), O = c - l < 0, y = a.clone().add(f + (O ? -1 : 1), _);
574
- return +(-(f + (c - l) / (O ? l - y : y - l)) || 0);
579
+ var f = 12 * (c.year() - a.year()) + (c.month() - a.month()), l = a.clone().add(f, O), _ = c - l < 0, y = a.clone().add(f + (_ ? -1 : 1), O);
580
+ return +(-(f + (c - l) / (_ ? l - y : y - l)) || 0);
575
581
  },
576
582
  a: function(R) {
577
583
  return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
578
584
  },
579
585
  p: function(R) {
580
586
  return {
581
- M: _,
587
+ M: O,
582
588
  y: M,
583
589
  w: A,
584
590
  d: S,
@@ -593,29 +599,29 @@ var je = /* @__PURE__ */ X(((e, t) => {
593
599
  u: function(R) {
594
600
  return R === void 0;
595
601
  }
596
- }, v = "en", H = {};
597
- H[v] = k;
602
+ }, N = "en", F = {};
603
+ F[N] = T;
598
604
  var x = "$isDayjsObject", J = function(R) {
599
605
  return R instanceof U || !(!R || !R[x]);
600
- }, B = function R(a, c, f) {
606
+ }, H = function R(a, c, f) {
601
607
  var l;
602
- if (!a) return v;
608
+ if (!a) return N;
603
609
  if (typeof a == "string") {
604
- var O = a.toLowerCase();
605
- H[O] && (l = O), c && (H[O] = c, l = O);
610
+ var _ = a.toLowerCase();
611
+ F[_] && (l = _), c && (F[_] = c, l = _);
606
612
  var y = a.split("-");
607
613
  if (!l && y.length > 1) return R(y[0]);
608
614
  } else {
609
- var I = a.name;
610
- H[I] = a, l = I;
615
+ var D = a.name;
616
+ F[D] = a, l = D;
611
617
  }
612
- return !f && l && (v = l), l || !f && v;
618
+ return !f && l && (N = l), l || !f && N;
613
619
  }, L = function(R, a) {
614
620
  if (J(R)) return R.clone();
615
621
  var c = typeof a == "object" ? a : {};
616
622
  return c.date = R, c.args = arguments, new U(c);
617
- }, D = P;
618
- D.l = B, D.i = J, D.w = function(R, a) {
623
+ }, b = P;
624
+ b.l = H, b.i = J, b.w = function(R, a) {
619
625
  return L(R, {
620
626
  locale: a.$L,
621
627
  utc: a.$u,
@@ -625,20 +631,20 @@ var je = /* @__PURE__ */ X(((e, t) => {
625
631
  };
626
632
  var U = (function() {
627
633
  function R(c) {
628
- this.$L = B(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[x] = !0;
634
+ this.$L = H(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[x] = !0;
629
635
  }
630
636
  var a = R.prototype;
631
637
  return a.parse = function(c) {
632
638
  this.$d = (function(f) {
633
- var l = f.date, O = f.utc;
639
+ var l = f.date, _ = f.utc;
634
640
  if (l === null) return /* @__PURE__ */ new Date(NaN);
635
- if (D.u(l)) return /* @__PURE__ */ new Date();
641
+ if (b.u(l)) return /* @__PURE__ */ new Date();
636
642
  if (l instanceof Date) return new Date(l);
637
643
  if (typeof l == "string" && !/Z$/i.test(l)) {
638
644
  var y = l.match(p);
639
645
  if (y) {
640
- var I = y[2] - 1 || 0, G = (y[7] || "0").substring(0, 3);
641
- return O ? new Date(Date.UTC(y[1], I, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, G)) : new Date(y[1], I, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, G);
646
+ var D = y[2] - 1 || 0, G = (y[7] || "0").substring(0, 3);
647
+ return _ ? new Date(Date.UTC(y[1], D, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, G)) : new Date(y[1], D, y[3] || 1, y[4] || 0, y[5] || 0, y[6] || 0, G);
642
648
  }
643
649
  }
644
650
  return new Date(l);
@@ -647,7 +653,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
647
653
  var c = this.$d;
648
654
  this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
649
655
  }, a.$utils = function() {
650
- return D;
656
+ return b;
651
657
  }, a.isValid = function() {
652
658
  return this.$d.toString() !== m;
653
659
  }, a.isSame = function(c, f) {
@@ -658,17 +664,17 @@ var je = /* @__PURE__ */ X(((e, t) => {
658
664
  }, a.isBefore = function(c, f) {
659
665
  return this.endOf(f) < L(c);
660
666
  }, a.$g = function(c, f, l) {
661
- return D.u(c) ? this[f] : this.set(l, c);
667
+ return b.u(c) ? this[f] : this.set(l, c);
662
668
  }, a.unix = function() {
663
669
  return Math.floor(this.valueOf() / 1e3);
664
670
  }, a.valueOf = function() {
665
671
  return this.$d.getTime();
666
672
  }, a.startOf = function(c, f) {
667
- var l = this, O = !!D.u(f) || f, y = D.p(c), I = function(ne, V) {
668
- var j = D.w(l.$u ? Date.UTC(l.$y, V, ne) : new Date(l.$y, V, ne), l);
669
- return O ? j : j.endOf(S);
670
- }, G = function(ne, V) {
671
- return D.w(l.toDate()[ne].apply(l.toDate("s"), (O ? [
673
+ var l = this, _ = !!b.u(f) || f, y = b.p(c), D = function(ne, z) {
674
+ var j = b.w(l.$u ? Date.UTC(l.$y, z, ne) : new Date(l.$y, z, ne), l);
675
+ return _ ? j : j.endOf(S);
676
+ }, G = function(ne, z) {
677
+ return b.w(l.toDate()[ne].apply(l.toDate("s"), (_ ? [
672
678
  0,
673
679
  0,
674
680
  0,
@@ -678,16 +684,16 @@ var je = /* @__PURE__ */ X(((e, t) => {
678
684
  59,
679
685
  59,
680
686
  999
681
- ]).slice(V)), l);
682
- }, $ = this.$W, E = this.$M, Y = this.$D, se = "set" + (this.$u ? "UTC" : "");
687
+ ]).slice(z)), l);
688
+ }, q = this.$W, E = this.$M, Y = this.$D, se = "set" + (this.$u ? "UTC" : "");
683
689
  switch (y) {
684
690
  case M:
685
- return O ? I(1, 0) : I(31, 11);
686
- case _:
687
- return O ? I(1, E) : I(0, E + 1);
691
+ return _ ? D(1, 0) : D(31, 11);
692
+ case O:
693
+ return _ ? D(1, E) : D(0, E + 1);
688
694
  case A:
689
- var oe = this.$locale().weekStart || 0, fe = ($ < oe ? $ + 7 : $) - oe;
690
- return I(O ? Y - fe : Y + (6 - fe), E);
695
+ var oe = this.$locale().weekStart || 0, fe = (q < oe ? q + 7 : q) - oe;
696
+ return D(_ ? Y - fe : Y + (6 - fe), E);
691
697
  case S:
692
698
  case C:
693
699
  return G(se + "Hours", 0);
@@ -703,61 +709,61 @@ var je = /* @__PURE__ */ X(((e, t) => {
703
709
  }, a.endOf = function(c) {
704
710
  return this.startOf(c, !1);
705
711
  }, a.$set = function(c, f) {
706
- var l, O = D.p(c), y = "set" + (this.$u ? "UTC" : ""), I = (l = {}, l[S] = y + "Date", l[C] = y + "Date", l[_] = y + "Month", l[M] = y + "FullYear", l[h] = y + "Hours", l[d] = y + "Minutes", l[u] = y + "Seconds", l[s] = y + "Milliseconds", l)[O], G = O === S ? this.$D + (f - this.$W) : f;
707
- if (O === _ || O === M) {
708
- var $ = this.clone().set(C, 1);
709
- $.$d[I](G), $.init(), this.$d = $.set(C, Math.min(this.$D, $.daysInMonth())).$d;
710
- } else I && this.$d[I](G);
712
+ var l, _ = b.p(c), y = "set" + (this.$u ? "UTC" : ""), D = (l = {}, l[S] = y + "Date", l[C] = y + "Date", l[O] = y + "Month", l[M] = y + "FullYear", l[h] = y + "Hours", l[d] = y + "Minutes", l[u] = y + "Seconds", l[s] = y + "Milliseconds", l)[_], G = _ === S ? this.$D + (f - this.$W) : f;
713
+ if (_ === O || _ === M) {
714
+ var q = this.clone().set(C, 1);
715
+ q.$d[D](G), q.init(), this.$d = q.set(C, Math.min(this.$D, q.daysInMonth())).$d;
716
+ } else D && this.$d[D](G);
711
717
  return this.init(), this;
712
718
  }, a.set = function(c, f) {
713
719
  return this.clone().$set(c, f);
714
720
  }, a.get = function(c) {
715
- return this[D.p(c)]();
721
+ return this[b.p(c)]();
716
722
  }, a.add = function(c, f) {
717
- var l, O = this;
723
+ var l, _ = this;
718
724
  c = Number(c);
719
- var y = D.p(f), I = function(E) {
720
- var Y = L(O);
721
- return D.w(Y.date(Y.date() + Math.round(E * c)), O);
725
+ var y = b.p(f), D = function(E) {
726
+ var Y = L(_);
727
+ return b.w(Y.date(Y.date() + Math.round(E * c)), _);
722
728
  };
723
- if (y === _) return this.set(_, this.$M + c);
729
+ if (y === O) return this.set(O, this.$M + c);
724
730
  if (y === M) return this.set(M, this.$y + c);
725
- if (y === S) return I(1);
726
- if (y === A) return I(7);
727
- var G = (l = {}, l[d] = n, l[h] = o, l[u] = i, l)[y] || 1, $ = this.$d.getTime() + c * G;
728
- return D.w($, this);
731
+ if (y === S) return D(1);
732
+ if (y === A) return D(7);
733
+ var G = (l = {}, l[d] = n, l[h] = o, l[u] = i, l)[y] || 1, q = this.$d.getTime() + c * G;
734
+ return b.w(q, this);
729
735
  }, a.subtract = function(c, f) {
730
736
  return this.add(-1 * c, f);
731
737
  }, a.format = function(c) {
732
738
  var f = this, l = this.$locale();
733
739
  if (!this.isValid()) return l.invalidDate || m;
734
- var O = c || "YYYY-MM-DDTHH:mm:ssZ", y = D.z(this), I = this.$H, G = this.$m, $ = this.$M, E = l.weekdays, Y = l.months, se = l.meridiem, oe = function(V, j, ae, de) {
735
- return V && (V[j] || V(f, O)) || ae[j].slice(0, de);
736
- }, fe = function(V) {
737
- return D.s(I % 12 || 12, V, "0");
738
- }, ne = se || function(V, j, ae) {
739
- var de = V < 12 ? "AM" : "PM";
740
+ var _ = c || "YYYY-MM-DDTHH:mm:ssZ", y = b.z(this), D = this.$H, G = this.$m, q = this.$M, E = l.weekdays, Y = l.months, se = l.meridiem, oe = function(z, j, ae, de) {
741
+ return z && (z[j] || z(f, _)) || ae[j].slice(0, de);
742
+ }, fe = function(z) {
743
+ return b.s(D % 12 || 12, z, "0");
744
+ }, ne = se || function(z, j, ae) {
745
+ var de = z < 12 ? "AM" : "PM";
740
746
  return ae ? de.toLowerCase() : de;
741
747
  };
742
- return O.replace(w, (function(V, j) {
748
+ return _.replace(w, (function(z, j) {
743
749
  return j || (function(ae) {
744
750
  switch (ae) {
745
751
  case "YY":
746
752
  return String(f.$y).slice(-2);
747
753
  case "YYYY":
748
- return D.s(f.$y, 4, "0");
754
+ return b.s(f.$y, 4, "0");
749
755
  case "M":
750
- return $ + 1;
756
+ return q + 1;
751
757
  case "MM":
752
- return D.s($ + 1, 2, "0");
758
+ return b.s(q + 1, 2, "0");
753
759
  case "MMM":
754
- return oe(l.monthsShort, $, Y, 3);
760
+ return oe(l.monthsShort, q, Y, 3);
755
761
  case "MMMM":
756
- return oe(Y, $);
762
+ return oe(Y, q);
757
763
  case "D":
758
764
  return f.$D;
759
765
  case "DD":
760
- return D.s(f.$D, 2, "0");
766
+ return b.s(f.$D, 2, "0");
761
767
  case "d":
762
768
  return String(f.$W);
763
769
  case "dd":
@@ -767,78 +773,78 @@ var je = /* @__PURE__ */ X(((e, t) => {
767
773
  case "dddd":
768
774
  return E[f.$W];
769
775
  case "H":
770
- return String(I);
776
+ return String(D);
771
777
  case "HH":
772
- return D.s(I, 2, "0");
778
+ return b.s(D, 2, "0");
773
779
  case "h":
774
780
  return fe(1);
775
781
  case "hh":
776
782
  return fe(2);
777
783
  case "a":
778
- return ne(I, G, !0);
784
+ return ne(D, G, !0);
779
785
  case "A":
780
- return ne(I, G, !1);
786
+ return ne(D, G, !1);
781
787
  case "m":
782
788
  return String(G);
783
789
  case "mm":
784
- return D.s(G, 2, "0");
790
+ return b.s(G, 2, "0");
785
791
  case "s":
786
792
  return String(f.$s);
787
793
  case "ss":
788
- return D.s(f.$s, 2, "0");
794
+ return b.s(f.$s, 2, "0");
789
795
  case "SSS":
790
- return D.s(f.$ms, 3, "0");
796
+ return b.s(f.$ms, 3, "0");
791
797
  case "Z":
792
798
  return y;
793
799
  }
794
800
  return null;
795
- })(V) || y.replace(":", "");
801
+ })(z) || y.replace(":", "");
796
802
  }));
797
803
  }, a.utcOffset = function() {
798
804
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
799
805
  }, a.diff = function(c, f, l) {
800
- var O, y = this, I = D.p(f), G = L(c), $ = (G.utcOffset() - this.utcOffset()) * n, E = this - G, Y = function() {
801
- return D.m(y, G);
806
+ var _, y = this, D = b.p(f), G = L(c), q = (G.utcOffset() - this.utcOffset()) * n, E = this - G, Y = function() {
807
+ return b.m(y, G);
802
808
  };
803
- switch (I) {
809
+ switch (D) {
804
810
  case M:
805
- O = Y() / 12;
811
+ _ = Y() / 12;
806
812
  break;
807
- case _:
808
- O = Y();
813
+ case O:
814
+ _ = Y();
809
815
  break;
810
816
  case g:
811
- O = Y() / 3;
817
+ _ = Y() / 3;
812
818
  break;
813
819
  case A:
814
- O = (E - $) / 6048e5;
820
+ _ = (E - q) / 6048e5;
815
821
  break;
816
822
  case S:
817
- O = (E - $) / 864e5;
823
+ _ = (E - q) / 864e5;
818
824
  break;
819
825
  case h:
820
- O = E / o;
826
+ _ = E / o;
821
827
  break;
822
828
  case d:
823
- O = E / n;
829
+ _ = E / n;
824
830
  break;
825
831
  case u:
826
- O = E / i;
832
+ _ = E / i;
827
833
  break;
828
834
  default:
829
- O = E;
835
+ _ = E;
830
836
  }
831
- return l ? O : D.a(O);
837
+ return l ? _ : b.a(_);
832
838
  }, a.daysInMonth = function() {
833
- return this.endOf(_).$D;
839
+ return this.endOf(O).$D;
834
840
  }, a.$locale = function() {
835
- return H[this.$L];
841
+ return F[this.$L];
836
842
  }, a.locale = function(c, f) {
837
843
  if (!c) return this.$L;
838
- var l = this.clone(), O = B(c, f, !0);
839
- return O && (l.$L = O), l;
844
+ var l = this.clone(), _ = H(c, f, !0);
845
+ return _ && (l.$L = _), l;
840
846
  }, a.clone = function() {
841
- return D.w(this.$d, this);
847
+ return b.w(this.$d, this);
842
848
  }, a.toDate = function() {
843
849
  return new Date(this.valueOf());
844
850
  }, a.toJSON = function() {
@@ -855,7 +861,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
855
861
  ["$m", d],
856
862
  ["$H", h],
857
863
  ["$W", S],
858
- ["$M", _],
864
+ ["$M", O],
859
865
  ["$y", M],
860
866
  ["$D", C]
861
867
  ].forEach((function(R) {
@@ -864,11 +870,11 @@ var je = /* @__PURE__ */ X(((e, t) => {
864
870
  };
865
871
  })), L.extend = function(R, a) {
866
872
  return R.$i || (R(a, U, L), R.$i = !0), L;
867
- }, L.locale = B, L.isDayjs = J, L.unix = function(R) {
873
+ }, L.locale = H, L.isDayjs = J, L.unix = function(R) {
868
874
  return L(1e3 * R);
869
- }, L.en = H[v], L.Ls = H, L.p = {}, L;
875
+ }, L.en = F[N], L.Ls = F, L.p = {}, L;
870
876
  }));
871
- })), Qt = /* @__PURE__ */ X(((e, t) => {
877
+ })), jt = /* @__PURE__ */ X(((e, t) => {
872
878
  (function(i, n) {
873
879
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_advancedFormat = n();
874
880
  })(e, (function() {
@@ -878,8 +884,8 @@ var je = /* @__PURE__ */ X(((e, t) => {
878
884
  o.format = function(u) {
879
885
  var d = this, h = this.$locale();
880
886
  if (!this.isValid()) return s.bind(this)(u);
881
- var S = this.$utils(), A = (u || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(_) {
882
- switch (_) {
887
+ var S = this.$utils(), A = (u || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, (function(O) {
888
+ switch (O) {
883
889
  case "Q":
884
890
  return Math.ceil((d.$M + 1) / 3);
885
891
  case "Do":
@@ -892,13 +898,13 @@ var je = /* @__PURE__ */ X(((e, t) => {
892
898
  return h.ordinal(d.week(), "W");
893
899
  case "w":
894
900
  case "ww":
895
- return S.s(d.week(), _ === "w" ? 1 : 2, "0");
901
+ return S.s(d.week(), O === "w" ? 1 : 2, "0");
896
902
  case "W":
897
903
  case "WW":
898
- return S.s(d.isoWeek(), _ === "W" ? 1 : 2, "0");
904
+ return S.s(d.isoWeek(), O === "W" ? 1 : 2, "0");
899
905
  case "k":
900
906
  case "kk":
901
- return S.s(String(d.$H === 0 ? 24 : d.$H), _ === "k" ? 1 : 2, "0");
907
+ return S.s(String(d.$H === 0 ? 24 : d.$H), O === "k" ? 1 : 2, "0");
902
908
  case "X":
903
909
  return Math.floor(d.$d.getTime() / 1e3);
904
910
  case "x":
@@ -908,14 +914,14 @@ var je = /* @__PURE__ */ X(((e, t) => {
908
914
  case "zzz":
909
915
  return "[" + d.offsetName("long") + "]";
910
916
  default:
911
- return _;
917
+ return O;
912
918
  }
913
919
  }));
914
920
  return s.bind(this)(A);
915
921
  };
916
922
  };
917
923
  }));
918
- })), jt = /* @__PURE__ */ X(((e, t) => {
924
+ })), ei = /* @__PURE__ */ X(((e, t) => {
919
925
  (function(i, n) {
920
926
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_customParseFormat = n();
921
927
  })(e, (function() {
@@ -933,24 +939,24 @@ var je = /* @__PURE__ */ X(((e, t) => {
933
939
  return function(w) {
934
940
  this[p] = +w;
935
941
  };
936
- }, _ = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
942
+ }, O = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
937
943
  (this.zone || (this.zone = {})).offset = (function(w) {
938
944
  if (!w || w === "Z") return 0;
939
- var k = w.match(/([+-]|\d\d)/g), T = 60 * k[1] + (+k[2] || 0);
940
- return T === 0 ? 0 : k[0] === "+" ? -T : T;
945
+ var T = w.match(/([+-]|\d\d)/g), k = 60 * T[1] + (+T[2] || 0);
946
+ return k === 0 ? 0 : T[0] === "+" ? -k : k;
941
947
  })(p);
942
948
  }], g = function(p) {
943
949
  var w = h[p];
944
950
  return w && (w.indexOf ? w : w.s.concat(w.f));
945
951
  }, M = function(p, w) {
946
- var k, T = h.meridiem;
947
- if (T) {
948
- for (var P = 1; P <= 24; P += 1) if (p.indexOf(T(P, 0, w)) > -1) {
949
- k = P > 12;
952
+ var T, k = h.meridiem;
953
+ if (k) {
954
+ for (var P = 1; P <= 24; P += 1) if (p.indexOf(k(P, 0, w)) > -1) {
955
+ T = P > 12;
950
956
  break;
951
957
  }
952
- } else k = p === (w ? "pm" : "PM");
953
- return k;
958
+ } else T = p === (w ? "pm" : "PM");
959
+ return T;
954
960
  }, C = {
955
961
  A: [d, function(p) {
956
962
  this.afternoon = M(p, !1);
@@ -981,19 +987,19 @@ var je = /* @__PURE__ */ X(((e, t) => {
981
987
  D: [u, A("day")],
982
988
  DD: [s, A("day")],
983
989
  Do: [d, function(p) {
984
- var w = h.ordinal;
985
- if (this.day = p.match(/\d+/)[0], w) for (var k = 1; k <= 31; k += 1) w(k).replace(/\[|\]/g, "") === p && (this.day = k);
990
+ var w = h.ordinal, T = p.match(/\d+/);
991
+ if (this.day = T[0], w) for (var k = 1; k <= 31; k += 1) w(k).replace(/\[|\]/g, "") === p && (this.day = k);
986
992
  }],
987
993
  w: [u, A("week")],
988
994
  ww: [s, A("week")],
989
995
  M: [u, A("month")],
990
996
  MM: [s, A("month")],
991
997
  MMM: [d, function(p) {
992
- var w = g("months"), k = (g("monthsShort") || w.map((function(T) {
993
- return T.slice(0, 3);
998
+ var w = g("months"), T = (g("monthsShort") || w.map((function(k) {
999
+ return k.slice(0, 3);
994
1000
  }))).indexOf(p) + 1;
995
- if (k < 1) throw new Error();
996
- this.month = k % 12 || k;
1001
+ if (T < 1) throw new Error();
1002
+ this.month = T % 12 || T;
997
1003
  }],
998
1004
  MMMM: [d, function(p) {
999
1005
  var w = g("months").indexOf(p) + 1;
@@ -1005,86 +1011,86 @@ var je = /* @__PURE__ */ X(((e, t) => {
1005
1011
  this.year = S(p);
1006
1012
  }],
1007
1013
  YYYY: [/\d{4}/, A("year")],
1008
- Z: _,
1009
- ZZ: _
1014
+ Z: O,
1015
+ ZZ: O
1010
1016
  };
1011
1017
  function m(p) {
1012
- for (var w = p, k = h && h.formats, T = (p = w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(L, D, U) {
1018
+ for (var w = p, T = h && h.formats, k = (p = w.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(L, b, U) {
1013
1019
  var W = U && U.toUpperCase();
1014
- return D || k[U] || i[U] || k[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(R, a, c) {
1020
+ return b || T[U] || i[U] || T[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(R, a, c) {
1015
1021
  return a || c.slice(1);
1016
1022
  }));
1017
- }))).match(n), P = T.length, v = 0; v < P; v += 1) {
1018
- var H = T[v], x = C[H], J = x && x[0], B = x && x[1];
1019
- T[v] = B ? {
1023
+ }))).match(n), P = k.length, N = 0; N < P; N += 1) {
1024
+ var F = k[N], x = C[F], J = x && x[0], H = x && x[1];
1025
+ k[N] = H ? {
1020
1026
  regex: J,
1021
- parser: B
1022
- } : H.replace(/^\[|\]$/g, "");
1027
+ parser: H
1028
+ } : F.replace(/^\[|\]$/g, "");
1023
1029
  }
1024
1030
  return function(L) {
1025
- for (var D = {}, U = 0, W = 0; U < P; U += 1) {
1026
- var R = T[U];
1031
+ for (var b = {}, U = 0, W = 0; U < P; U += 1) {
1032
+ var R = k[U];
1027
1033
  if (typeof R == "string") W += R.length;
1028
1034
  else {
1029
1035
  var a = R.regex, c = R.parser, f = L.slice(W), l = a.exec(f)[0];
1030
- c.call(D, l), L = L.replace(l, "");
1036
+ c.call(b, l), L = L.replace(l, "");
1031
1037
  }
1032
1038
  }
1033
- return (function(O) {
1034
- var y = O.afternoon;
1039
+ return (function(_) {
1040
+ var y = _.afternoon;
1035
1041
  if (y !== void 0) {
1036
- var I = O.hours;
1037
- y ? I < 12 && (O.hours += 12) : I === 12 && (O.hours = 0), delete O.afternoon;
1042
+ var D = _.hours;
1043
+ y ? D < 12 && (_.hours += 12) : D === 12 && (_.hours = 0), delete _.afternoon;
1038
1044
  }
1039
- })(D), D;
1045
+ })(b), b;
1040
1046
  };
1041
1047
  }
1042
- return function(p, w, k) {
1043
- k.p.customParseFormat = !0, p && p.parseTwoDigitYear && (S = p.parseTwoDigitYear);
1044
- var T = w.prototype, P = T.parse;
1045
- T.parse = function(v) {
1046
- var H = v.date, x = v.utc, J = v.args;
1048
+ return function(p, w, T) {
1049
+ T.p.customParseFormat = !0, p && p.parseTwoDigitYear && (S = p.parseTwoDigitYear);
1050
+ var k = w.prototype, P = k.parse;
1051
+ k.parse = function(N) {
1052
+ var F = N.date, x = N.utc, J = N.args;
1047
1053
  this.$u = x;
1048
- var B = J[1];
1049
- if (typeof B == "string") {
1050
- var L = J[2] === !0, D = J[3] === !0, U = L || D, W = J[2];
1051
- D && (W = J[2]), h = this.$locale(), !L && W && (h = k.Ls[W]), this.$d = (function(f, l, O, y) {
1054
+ var H = J[1];
1055
+ if (typeof H == "string") {
1056
+ var L = J[2] === !0, b = J[3] === !0, U = L || b, W = J[2];
1057
+ b && (W = J[2]), h = this.$locale(), !L && W && (h = T.Ls[W]), this.$d = (function(f, l, _, y) {
1052
1058
  try {
1053
1059
  if (["x", "X"].indexOf(l) > -1) return /* @__PURE__ */ new Date((l === "X" ? 1e3 : 1) * f);
1054
- var I = m(l)(f), G = I.year, $ = I.month, E = I.day, Y = I.hours, se = I.minutes, oe = I.seconds, fe = I.milliseconds, ne = I.zone, V = I.week, j = /* @__PURE__ */ new Date(), ae = E || (G || $ ? 1 : j.getDate()), de = G || j.getFullYear(), Ae = 0;
1055
- G && !$ || (Ae = $ > 0 ? $ - 1 : j.getMonth());
1060
+ var D = m(l)(f), G = D.year, q = D.month, E = D.day, Y = D.hours, se = D.minutes, oe = D.seconds, fe = D.milliseconds, ne = D.zone, z = D.week, j = /* @__PURE__ */ new Date(), ae = E || (G || q ? 1 : j.getDate()), de = G || j.getFullYear(), Ae = 0;
1061
+ G && !q || (Ae = q > 0 ? q - 1 : j.getMonth());
1056
1062
  var Se, Te = Y || 0, Me = se || 0, Ce = oe || 0, Ie = fe || 0;
1057
- return ne ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie + 60 * ne.offset * 1e3)) : O ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie)) : (Se = new Date(de, Ae, ae, Te, Me, Ce, Ie), V && (Se = y(Se).week(V).toDate()), Se);
1063
+ return ne ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie + 60 * ne.offset * 1e3)) : _ ? new Date(Date.UTC(de, Ae, ae, Te, Me, Ce, Ie)) : (Se = new Date(de, Ae, ae, Te, Me, Ce, Ie), z && (Se = y(Se).week(z).toDate()), Se);
1058
1064
  } catch {
1059
1065
  return /* @__PURE__ */ new Date("");
1060
1066
  }
1061
- })(H, B, x, k), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), U && H != this.format(B) && (this.$d = /* @__PURE__ */ new Date("")), h = {};
1062
- } else if (B instanceof Array) for (var R = B.length, a = 1; a <= R; a += 1) {
1063
- J[1] = B[a - 1];
1064
- var c = k.apply(this, J);
1067
+ })(F, H, x, T), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), U && F != this.format(H) && (this.$d = /* @__PURE__ */ new Date("")), h = {};
1068
+ } else if (H instanceof Array) for (var R = H.length, a = 1; a <= R; a += 1) {
1069
+ J[1] = H[a - 1];
1070
+ var c = T.apply(this, J);
1065
1071
  if (c.isValid()) {
1066
1072
  this.$d = c.$d, this.$L = c.$L, this.init();
1067
1073
  break;
1068
1074
  }
1069
1075
  a === R && (this.$d = /* @__PURE__ */ new Date(""));
1070
1076
  }
1071
- else P.call(this, v);
1077
+ else P.call(this, N);
1072
1078
  };
1073
1079
  };
1074
1080
  }));
1075
- })), ei = /* @__PURE__ */ X(((e, t) => {
1081
+ })), ti = /* @__PURE__ */ X(((e, t) => {
1076
1082
  (function(i, n) {
1077
1083
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isBetween = n();
1078
1084
  })(e, (function() {
1079
1085
  "use strict";
1080
1086
  return function(i, n, o) {
1081
1087
  n.prototype.isBetween = function(s, u, d, h) {
1082
- var S = o(s), A = o(u), _ = (h = h || "()")[0] === "(", g = h[1] === ")";
1083
- return (_ ? this.isAfter(S, d) : !this.isBefore(S, d)) && (g ? this.isBefore(A, d) : !this.isAfter(A, d)) || (_ ? this.isBefore(S, d) : !this.isAfter(S, d)) && (g ? this.isAfter(A, d) : !this.isBefore(A, d));
1088
+ var S = o(s), A = o(u), O = (h = h || "()")[0] === "(", g = h[1] === ")";
1089
+ return (O ? this.isAfter(S, d) : !this.isBefore(S, d)) && (g ? this.isBefore(A, d) : !this.isAfter(A, d)) || (O ? this.isBefore(S, d) : !this.isAfter(S, d)) && (g ? this.isAfter(A, d) : !this.isBefore(A, d));
1084
1090
  };
1085
1091
  };
1086
1092
  }));
1087
- })), ti = /* @__PURE__ */ X(((e, t) => {
1093
+ })), ii = /* @__PURE__ */ X(((e, t) => {
1088
1094
  (function(i, n) {
1089
1095
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isSameOrAfter = n();
1090
1096
  })(e, (function() {
@@ -1095,7 +1101,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1095
1101
  };
1096
1102
  };
1097
1103
  }));
1098
- })), ii = /* @__PURE__ */ X(((e, t) => {
1104
+ })), ni = /* @__PURE__ */ X(((e, t) => {
1099
1105
  (function(i, n) {
1100
1106
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_isSameOrBefore = n();
1101
1107
  })(e, (function() {
@@ -1106,54 +1112,54 @@ var je = /* @__PURE__ */ X(((e, t) => {
1106
1112
  };
1107
1113
  };
1108
1114
  }));
1109
- })), ni = /* @__PURE__ */ X(((e, t) => {
1115
+ })), ri = /* @__PURE__ */ X(((e, t) => {
1110
1116
  (function(i, n) {
1111
1117
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_localeData = n();
1112
1118
  })(e, (function() {
1113
1119
  "use strict";
1114
1120
  return function(i, n, o) {
1115
- var s = n.prototype, u = function(_) {
1116
- return _ && (_.indexOf ? _ : _.s);
1117
- }, d = function(_, g, M, C, m) {
1118
- var p = _.name ? _ : _.$locale(), w = u(p[g]), k = u(p[M]), T = w || k.map((function(v) {
1119
- return v.slice(0, C);
1121
+ var s = n.prototype, u = function(O) {
1122
+ return O && (O.indexOf ? O : O.s);
1123
+ }, d = function(O, g, M, C, m) {
1124
+ var p = O.name ? O : O.$locale(), w = u(p[g]), T = u(p[M]), k = w || T.map((function(N) {
1125
+ return N.slice(0, C);
1120
1126
  }));
1121
- if (!m) return T;
1127
+ if (!m) return k;
1122
1128
  var P = p.weekStart;
1123
- return T.map((function(v, H) {
1124
- return T[(H + (P || 0)) % 7];
1129
+ return k.map((function(N, F) {
1130
+ return k[(F + (P || 0)) % 7];
1125
1131
  }));
1126
1132
  }, h = function() {
1127
1133
  return o.Ls[o.locale()];
1128
- }, S = function(_, g) {
1129
- return _.formats[g] || (function(M) {
1134
+ }, S = function(O, g) {
1135
+ return O.formats[g] || (function(M) {
1130
1136
  return M.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(C, m, p) {
1131
1137
  return m || p.slice(1);
1132
1138
  }));
1133
- })(_.formats[g.toUpperCase()]);
1139
+ })(O.formats[g.toUpperCase()]);
1134
1140
  }, A = function() {
1135
- var _ = this;
1141
+ var O = this;
1136
1142
  return {
1137
1143
  months: function(g) {
1138
- return g ? g.format("MMMM") : d(_, "months");
1144
+ return g ? g.format("MMMM") : d(O, "months");
1139
1145
  },
1140
1146
  monthsShort: function(g) {
1141
- return g ? g.format("MMM") : d(_, "monthsShort", "months", 3);
1147
+ return g ? g.format("MMM") : d(O, "monthsShort", "months", 3);
1142
1148
  },
1143
1149
  firstDayOfWeek: function() {
1144
- return _.$locale().weekStart || 0;
1150
+ return O.$locale().weekStart || 0;
1145
1151
  },
1146
1152
  weekdays: function(g) {
1147
- return g ? g.format("dddd") : d(_, "weekdays");
1153
+ return g ? g.format("dddd") : d(O, "weekdays");
1148
1154
  },
1149
1155
  weekdaysMin: function(g) {
1150
- return g ? g.format("dd") : d(_, "weekdaysMin", "weekdays", 2);
1156
+ return g ? g.format("dd") : d(O, "weekdaysMin", "weekdays", 2);
1151
1157
  },
1152
1158
  weekdaysShort: function(g) {
1153
- return g ? g.format("ddd") : d(_, "weekdaysShort", "weekdays", 3);
1159
+ return g ? g.format("ddd") : d(O, "weekdaysShort", "weekdays", 3);
1154
1160
  },
1155
1161
  longDateFormat: function(g) {
1156
- return S(_.$locale(), g);
1162
+ return S(O.$locale(), g);
1157
1163
  },
1158
1164
  meridiem: this.$locale().meridiem,
1159
1165
  ordinal: this.$locale().ordinal
@@ -1162,10 +1168,10 @@ var je = /* @__PURE__ */ X(((e, t) => {
1162
1168
  s.localeData = function() {
1163
1169
  return A.bind(this)();
1164
1170
  }, o.localeData = function() {
1165
- var _ = h();
1171
+ var O = h();
1166
1172
  return {
1167
1173
  firstDayOfWeek: function() {
1168
- return _.weekStart || 0;
1174
+ return O.weekStart || 0;
1169
1175
  },
1170
1176
  weekdays: function() {
1171
1177
  return o.weekdays();
@@ -1183,25 +1189,25 @@ var je = /* @__PURE__ */ X(((e, t) => {
1183
1189
  return o.monthsShort();
1184
1190
  },
1185
1191
  longDateFormat: function(g) {
1186
- return S(_, g);
1192
+ return S(O, g);
1187
1193
  },
1188
- meridiem: _.meridiem,
1189
- ordinal: _.ordinal
1194
+ meridiem: O.meridiem,
1195
+ ordinal: O.ordinal
1190
1196
  };
1191
1197
  }, o.months = function() {
1192
1198
  return d(h(), "months");
1193
1199
  }, o.monthsShort = function() {
1194
1200
  return d(h(), "monthsShort", "months", 3);
1195
- }, o.weekdays = function(_) {
1196
- return d(h(), "weekdays", null, null, _);
1197
- }, o.weekdaysShort = function(_) {
1198
- return d(h(), "weekdaysShort", "weekdays", 3, _);
1199
- }, o.weekdaysMin = function(_) {
1200
- return d(h(), "weekdaysMin", "weekdays", 2, _);
1201
+ }, o.weekdays = function(O) {
1202
+ return d(h(), "weekdays", null, null, O);
1203
+ }, o.weekdaysShort = function(O) {
1204
+ return d(h(), "weekdaysShort", "weekdays", 3, O);
1205
+ }, o.weekdaysMin = function(O) {
1206
+ return d(h(), "weekdaysMin", "weekdays", 2, O);
1201
1207
  };
1202
1208
  };
1203
1209
  }));
1204
- })), ri = /* @__PURE__ */ X(((e, t) => {
1210
+ })), oi = /* @__PURE__ */ X(((e, t) => {
1205
1211
  (function(i, n) {
1206
1212
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_localizedFormat = n();
1207
1213
  })(e, (function() {
@@ -1218,11 +1224,11 @@ var je = /* @__PURE__ */ X(((e, t) => {
1218
1224
  var u = o.prototype, d = u.format;
1219
1225
  s.en.formats = i, u.format = function(h) {
1220
1226
  h === void 0 && (h = "YYYY-MM-DDTHH:mm:ssZ");
1221
- var S = this.$locale().formats, A = (function(_, g) {
1222
- return _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(M, C, m) {
1227
+ var S = this.$locale().formats, A = (function(O, g) {
1228
+ return O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(M, C, m) {
1223
1229
  var p = m && m.toUpperCase();
1224
- return C || g[m] || i[m] || g[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(w, k, T) {
1225
- return k || T.slice(1);
1230
+ return C || g[m] || i[m] || g[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(w, T, k) {
1231
+ return T || k.slice(1);
1226
1232
  }));
1227
1233
  }));
1228
1234
  })(h, S === void 0 ? {} : S);
@@ -1230,7 +1236,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1230
1236
  };
1231
1237
  };
1232
1238
  }));
1233
- })), oi = /* @__PURE__ */ X(((e, t) => {
1239
+ })), ai = /* @__PURE__ */ X(((e, t) => {
1234
1240
  (function(i, n) {
1235
1241
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_minMax = n();
1236
1242
  })(e, (function() {
@@ -1252,7 +1258,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1252
1258
  };
1253
1259
  };
1254
1260
  }));
1255
- })), ai = /* @__PURE__ */ X(((e, t) => {
1261
+ })), ci = /* @__PURE__ */ X(((e, t) => {
1256
1262
  (function(i, n) {
1257
1263
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_relativeTime = n();
1258
1264
  })(e, (function() {
@@ -1274,11 +1280,11 @@ var je = /* @__PURE__ */ X(((e, t) => {
1274
1280
  y: "a year",
1275
1281
  yy: "%d years"
1276
1282
  };
1277
- function d(S, A, _, g) {
1278
- return s.fromToBase(S, A, _, g);
1283
+ function d(S, A, O, g) {
1284
+ return s.fromToBase(S, A, O, g);
1279
1285
  }
1280
- o.en.relativeTime = u, s.fromToBase = function(S, A, _, g, M) {
1281
- for (var C, m, p, w = _.$locale().relativeTime || u, k = i.thresholds || [
1286
+ o.en.relativeTime = u, s.fromToBase = function(S, A, O, g, M) {
1287
+ for (var C, m, p, w = O.$locale().relativeTime || u, T = i.thresholds || [
1282
1288
  {
1283
1289
  l: "s",
1284
1290
  r: 44,
@@ -1328,14 +1334,14 @@ var je = /* @__PURE__ */ X(((e, t) => {
1328
1334
  l: "yy",
1329
1335
  d: "year"
1330
1336
  }
1331
- ], T = k.length, P = 0; P < T; P += 1) {
1332
- var v = k[P];
1333
- v.d && (C = g ? o(S).diff(_, v.d, !0) : _.diff(S, v.d, !0));
1334
- var H = (i.rounding || Math.round)(Math.abs(C));
1335
- if (p = C > 0, H <= v.r || !v.r) {
1336
- H <= 1 && P > 0 && (v = k[P - 1]);
1337
- var x = w[v.l];
1338
- M && (H = M("" + H)), m = typeof x == "string" ? x.replace("%d", H) : x(H, A, v.l, p);
1337
+ ], k = T.length, P = 0; P < k; P += 1) {
1338
+ var N = T[P];
1339
+ N.d && (C = g ? o(S).diff(O, N.d, !0) : O.diff(S, N.d, !0));
1340
+ var F = (i.rounding || Math.round)(Math.abs(C));
1341
+ if (p = C > 0, F <= N.r || !N.r) {
1342
+ F <= 1 && P > 0 && (N = T[P - 1]);
1343
+ var x = w[N.l];
1344
+ M && (F = M("" + F)), m = typeof x == "string" ? x.replace("%d", F) : x(F, A, N.l, p);
1339
1345
  break;
1340
1346
  }
1341
1347
  }
@@ -1357,7 +1363,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1357
1363
  };
1358
1364
  };
1359
1365
  }));
1360
- })), ci = /* @__PURE__ */ X(((e, t) => {
1366
+ })), si = /* @__PURE__ */ X(((e, t) => {
1361
1367
  (function(i, n) {
1362
1368
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_timezone = n();
1363
1369
  })(e, (function() {
@@ -1376,7 +1382,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1376
1382
  var m = new Date(g);
1377
1383
  return (function(p, w) {
1378
1384
  w === void 0 && (w = {});
1379
- var k = w.timeZoneName || "short", T = p + "|" + k, P = n[T];
1385
+ var T = w.timeZoneName || "short", k = p + "|" + T, P = n[k];
1380
1386
  return P || (P = new Intl.DateTimeFormat("en-US", {
1381
1387
  hour12: !1,
1382
1388
  timeZone: p,
@@ -1386,22 +1392,22 @@ var je = /* @__PURE__ */ X(((e, t) => {
1386
1392
  hour: "2-digit",
1387
1393
  minute: "2-digit",
1388
1394
  second: "2-digit",
1389
- timeZoneName: k
1390
- }), n[T] = P), P;
1395
+ timeZoneName: T
1396
+ }), n[k] = P), P;
1391
1397
  })(M, C).formatToParts(m);
1392
1398
  }, S = function(g, M) {
1393
1399
  for (var C = h(g, M), m = [], p = 0; p < C.length; p += 1) {
1394
- var w = C[p], k = w.type, T = w.value, P = i[k];
1395
- P >= 0 && (m[P] = parseInt(T, 10));
1400
+ var w = C[p], T = w.type, k = w.value, P = i[T];
1401
+ P >= 0 && (m[P] = parseInt(k, 10));
1396
1402
  }
1397
- var v = m[3], H = v === 24 ? 0 : v, x = m[0] + "-" + m[1] + "-" + m[2] + " " + H + ":" + m[4] + ":" + m[5] + ":000", J = +g;
1403
+ var N = m[3], F = N === 24 ? 0 : N, x = m[0] + "-" + m[1] + "-" + m[2] + " " + F + ":" + m[4] + ":" + m[5] + ":000", J = +g;
1398
1404
  return (u.utc(x).valueOf() - (J -= J % 1e3)) / 6e4;
1399
1405
  }, A = s.prototype;
1400
1406
  A.tz = function(g, M) {
1401
1407
  g === void 0 && (g = d);
1402
- var C, m = this.utcOffset(), p = this.toDate(), w = p.toLocaleString("en-US", { timeZone: g }), k = Math.round((p - new Date(w)) / 1e3 / 60), T = 15 * -Math.round(p.getTimezoneOffset() / 15) - k;
1403
- if (!Number(T)) C = this.utcOffset(0, M);
1404
- else if (C = u(w, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(T, !0), M) {
1408
+ var C, m = this.utcOffset(), p = this.toDate(), w = p.toLocaleString("en-US", { timeZone: g }), T = Math.round((p - new Date(w)) / 1e3 / 60), k = 15 * -Math.round(p.getTimezoneOffset() / 15) - T;
1409
+ if (!Number(k)) C = this.utcOffset(0, M);
1410
+ else if (C = u(w, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(k, !0), M) {
1405
1411
  var P = C.utcOffset();
1406
1412
  C = C.add(m - P, "minute");
1407
1413
  }
@@ -1412,21 +1418,21 @@ var je = /* @__PURE__ */ X(((e, t) => {
1412
1418
  }));
1413
1419
  return C && C.value;
1414
1420
  };
1415
- var _ = A.startOf;
1421
+ var O = A.startOf;
1416
1422
  A.startOf = function(g, M) {
1417
- if (!this.$x || !this.$x.$timezone) return _.call(this, g, M);
1423
+ if (!this.$x || !this.$x.$timezone) return O.call(this, g, M);
1418
1424
  var C = u(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
1419
- return _.call(C, g, M).tz(this.$x.$timezone, !0);
1425
+ return O.call(C, g, M).tz(this.$x.$timezone, !0);
1420
1426
  }, u.tz = function(g, M, C) {
1421
1427
  var m = C && M, p = C || M || d, w = S(+u(), p);
1422
1428
  if (typeof g != "string") return u(g).tz(p);
1423
- var k = (function(H, x, J) {
1424
- var B = H - 60 * x * 1e3, L = S(B, J);
1425
- if (x === L) return [B, x];
1426
- var D = S(B -= 60 * (L - x) * 1e3, J);
1427
- return L === D ? [B, L] : [H - 60 * Math.min(L, D) * 1e3, Math.max(L, D)];
1428
- })(u.utc(g, m).valueOf(), w, p), T = k[0], P = k[1], v = u(T).utcOffset(P);
1429
- return v.$x.$timezone = p, v;
1429
+ var T = (function(F, x, J) {
1430
+ var H = F - 60 * x * 1e3, L = S(H, J);
1431
+ if (x === L) return [H, x];
1432
+ var b = S(H -= 60 * (L - x) * 1e3, J);
1433
+ return L === b ? [H, L] : [F - 60 * Math.min(L, b) * 1e3, Math.max(L, b)];
1434
+ })(u.utc(g, m).valueOf(), w, p), k = T[0], P = T[1], N = u(k).utcOffset(P);
1435
+ return N.$x.$timezone = p, N;
1430
1436
  }, u.tz.guess = function() {
1431
1437
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
1432
1438
  }, u.tz.setDefault = function(g) {
@@ -1434,7 +1440,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1434
1440
  };
1435
1441
  };
1436
1442
  }));
1437
- })), si = /* @__PURE__ */ X(((e, t) => {
1443
+ })), di = /* @__PURE__ */ X(((e, t) => {
1438
1444
  (function(i, n) {
1439
1445
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_plugin_utc = n();
1440
1446
  })(e, (function() {
@@ -1471,27 +1477,27 @@ var je = /* @__PURE__ */ X(((e, t) => {
1471
1477
  this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
1472
1478
  } else A.call(this);
1473
1479
  };
1474
- var _ = h.utcOffset;
1480
+ var O = h.utcOffset;
1475
1481
  h.utcOffset = function(m, p) {
1476
1482
  var w = this.$utils().u;
1477
- if (w(m)) return this.$u ? 0 : w(this.$offset) ? _.call(this) : this.$offset;
1478
- if (typeof m == "string" && (m = (function(v) {
1479
- v === void 0 && (v = "");
1480
- var H = v.match(n);
1481
- if (!H) return null;
1482
- var x = ("" + H[0]).match(o) || [
1483
+ if (w(m)) return this.$u ? 0 : w(this.$offset) ? O.call(this) : this.$offset;
1484
+ if (typeof m == "string" && (m = (function(N) {
1485
+ N === void 0 && (N = "");
1486
+ var F = N.match(n);
1487
+ if (!F) return null;
1488
+ var x = ("" + F[0]).match(o) || [
1483
1489
  "-",
1484
1490
  0,
1485
1491
  0
1486
- ], J = x[0], B = 60 * +x[1] + +x[2];
1487
- return B === 0 ? 0 : J === "+" ? B : -B;
1492
+ ], J = x[0], H = 60 * +x[1] + +x[2];
1493
+ return H === 0 ? 0 : J === "+" ? H : -H;
1488
1494
  })(m), m === null)) return this;
1489
- var k = Math.abs(m) <= 16 ? 60 * m : m;
1490
- if (k === 0) return this.utc(p);
1491
- var T = this.clone();
1492
- if (p) return T.$offset = k, T.$u = !1, T;
1495
+ var T = Math.abs(m) <= 16 ? 60 * m : m;
1496
+ if (T === 0) return this.utc(p);
1497
+ var k = this.clone();
1498
+ if (p) return k.$offset = T, k.$u = !1, k;
1493
1499
  var P = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
1494
- return (T = this.local().add(k + P, i)).$offset = k, T.$x.$localOffset = P, T;
1500
+ return (k = this.local().add(T + P, i)).$offset = T, k.$x.$localOffset = P, k;
1495
1501
  };
1496
1502
  var g = h.format;
1497
1503
  h.format = function(m) {
@@ -1514,12 +1520,12 @@ var je = /* @__PURE__ */ X(((e, t) => {
1514
1520
  var C = h.diff;
1515
1521
  h.diff = function(m, p, w) {
1516
1522
  if (m && this.$u === m.$u) return C.call(this, m, p, w);
1517
- var k = this.local(), T = d(m).local();
1518
- return C.call(k, T, p, w);
1523
+ var T = this.local(), k = d(m).local();
1524
+ return C.call(T, k, p, w);
1519
1525
  };
1520
1526
  };
1521
1527
  }));
1522
- })), di = /* @__PURE__ */ X(((e, t) => {
1528
+ })), ui = /* @__PURE__ */ X(((e, t) => {
1523
1529
  (function(i, n) {
1524
1530
  typeof e == "object" && typeof t < "u" ? t.exports = n(je()) : typeof define == "function" && define.amd ? define(["dayjs"], n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_locale_fr = n(i.dayjs);
1525
1531
  })(e, (function(i) {
@@ -1565,7 +1571,7 @@ var je = /* @__PURE__ */ X(((e, t) => {
1565
1571
  };
1566
1572
  return o.default.locale(s, null, !0), s;
1567
1573
  }));
1568
- })), ui = /* @__PURE__ */ X(((e, t) => {
1574
+ })), fi = /* @__PURE__ */ X(((e, t) => {
1569
1575
  (function(i, n) {
1570
1576
  typeof e == "object" && typeof t < "u" ? t.exports = n() : typeof define == "function" && define.amd ? define(n) : (i = typeof globalThis < "u" ? globalThis : i || self).dayjs_locale_en = n();
1571
1577
  })(e, (function() {
@@ -1585,18 +1591,18 @@ var je = /* @__PURE__ */ X(((e, t) => {
1585
1591
  }
1586
1592
  };
1587
1593
  }));
1588
- })), te = /* @__PURE__ */ Q(je(), 1), fi = /* @__PURE__ */ Q(Qt(), 1), li = /* @__PURE__ */ Q(jt(), 1), mi = /* @__PURE__ */ Q(ei(), 1), hi = /* @__PURE__ */ Q(ti(), 1), pi = /* @__PURE__ */ Q(ii(), 1), yi = /* @__PURE__ */ Q(ni(), 1), gi = /* @__PURE__ */ Q(ri(), 1), _i = /* @__PURE__ */ Q(oi(), 1), Oi = /* @__PURE__ */ Q(ai(), 1), Ai = /* @__PURE__ */ Q(ci(), 1), Si = /* @__PURE__ */ Q(si(), 1), Fo = di(), xo = ui();
1589
- te.default.extend(fi.default);
1594
+ })), te = /* @__PURE__ */ Q(je(), 1), li = /* @__PURE__ */ Q(jt(), 1), mi = /* @__PURE__ */ Q(ei(), 1), hi = /* @__PURE__ */ Q(ti(), 1), pi = /* @__PURE__ */ Q(ii(), 1), yi = /* @__PURE__ */ Q(ni(), 1), gi = /* @__PURE__ */ Q(ri(), 1), _i = /* @__PURE__ */ Q(oi(), 1), Oi = /* @__PURE__ */ Q(ai(), 1), Ai = /* @__PURE__ */ Q(ci(), 1), Si = /* @__PURE__ */ Q(si(), 1), wi = /* @__PURE__ */ Q(di(), 1), Yo = ui(), Vo = fi();
1590
1595
  te.default.extend(li.default);
1591
1596
  te.default.extend(mi.default);
1592
1597
  te.default.extend(hi.default);
1593
1598
  te.default.extend(pi.default);
1594
- te.default.extend(gi.default);
1595
1599
  te.default.extend(yi.default);
1596
1600
  te.default.extend(_i.default);
1601
+ te.default.extend(gi.default);
1597
1602
  te.default.extend(Oi.default);
1598
1603
  te.default.extend(Ai.default);
1599
1604
  te.default.extend(Si.default);
1605
+ te.default.extend(wi.default);
1600
1606
  function ue(e) {
1601
1607
  if (e === null || typeof e != "object") return !1;
1602
1608
  const t = Object.getPrototypeOf(e);
@@ -1640,32 +1646,32 @@ function $e(e, ...t) {
1640
1646
  }
1641
1647
  var Z = [];
1642
1648
  for (let e = 0; e < 256; ++e) Z.push((e + 256).toString(16).slice(1));
1643
- function wi(e, t = 0) {
1649
+ function Ri(e, t = 0) {
1644
1650
  return (Z[e[t + 0]] + Z[e[t + 1]] + Z[e[t + 2]] + Z[e[t + 3]] + "-" + Z[e[t + 4]] + Z[e[t + 5]] + "-" + Z[e[t + 6]] + Z[e[t + 7]] + "-" + Z[e[t + 8]] + Z[e[t + 9]] + "-" + Z[e[t + 10]] + Z[e[t + 11]] + Z[e[t + 12]] + Z[e[t + 13]] + Z[e[t + 14]] + Z[e[t + 15]]).toLowerCase();
1645
1651
  }
1646
- var Ri = new Uint8Array(16);
1647
- function ki() {
1648
- return crypto.getRandomValues(Ri);
1649
- }
1650
- function Ti(e, t, i) {
1651
- return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Mi(e, t, i);
1652
+ var ki = new Uint8Array(16);
1653
+ function Ti() {
1654
+ return crypto.getRandomValues(ki);
1652
1655
  }
1653
1656
  function Mi(e, t, i) {
1657
+ return !t && !e && crypto.randomUUID ? crypto.randomUUID() : Ci(e, t, i);
1658
+ }
1659
+ function Ci(e, t, i) {
1654
1660
  e = e || {};
1655
- const n = e.random ?? e.rng?.() ?? ki();
1661
+ const n = e.random ?? e.rng?.() ?? Ti();
1656
1662
  if (n.length < 16) throw new Error("Random bytes length must be >= 16");
1657
1663
  if (n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, t) {
1658
1664
  if (i = i || 0, i < 0 || i + 16 > t.length) throw new RangeError(`UUID byte range ${i}:${i + 15} is out of buffer bounds`);
1659
1665
  for (let o = 0; o < 16; ++o) t[i + o] = n[o];
1660
1666
  return t;
1661
1667
  }
1662
- return wi(n);
1668
+ return Ri(n);
1663
1669
  }
1664
- var Ci = 1500, Ii = class pe {
1670
+ var Ii = 1500, Di = class pe {
1665
1671
  static instance = null;
1666
1672
  defaultOptions = {
1667
1673
  callCount: 1,
1668
- interval: Ci,
1674
+ interval: Ii,
1669
1675
  maxCallCount: 20,
1670
1676
  minCallCount: 1
1671
1677
  };
@@ -1719,7 +1725,7 @@ var Ci = 1500, Ii = class pe {
1719
1725
  this.dispatch("data", t), this.dispatch("complete", t), this.removeCurrentPolling(i);
1720
1726
  }
1721
1727
  async onRequest(t, i, n) {
1722
- const o = N(t ?? {}, b.Camel);
1728
+ const o = v(t ?? {}, I.Camel);
1723
1729
  this.isActivePoller(n) && (this.isInProgress(o) && n.callCount && n.maxCallCount && n.callCount < n.maxCallCount || !this.isInProgress(o) && n.callCount && n.minCallCount && n.callCount < n.minCallCount ? (this.isInProgress(o) || (o.meta = o.meta || {}, o.meta.status = "IN_PROGRESS"), n.callCount += 1, this.dispatch("data", o), n.interval && await this.pause(n), this.poll(i, n)) : this.isInProgress(o) ? (o.meta = o.meta || {}, o.meta.status = "COMPLETE", this.onComplete(o, n)) : this.onComplete(o, n));
1724
1730
  }
1725
1731
  pause(t) {
@@ -1731,11 +1737,11 @@ var Ci = 1500, Ii = class pe {
1731
1737
  t.type && this.pollings[t.type] && delete this.pollings[t.type];
1732
1738
  }
1733
1739
  storeCurrentPolling(t) {
1734
- t.type && !t.uuid && (t.uuid = Ti(), this.pollings[t.type] = t.uuid);
1740
+ t.type && !t.uuid && (t.uuid = Mi(), this.pollings[t.type] = t.uuid);
1735
1741
  }
1736
1742
  };
1737
1743
  function tt(e, t, i) {
1738
- const n = Ii.getInstance();
1744
+ const n = Di.getInstance();
1739
1745
  return n.poll(e, t), i && typeof i == "function" ? (n.on("data", (o) => {
1740
1746
  o instanceof Error ? i(o, void 0, n) : i(null, o, n);
1741
1747
  }), n.on("error", (o) => {
@@ -1746,7 +1752,7 @@ function tt(e, t, i) {
1746
1752
  });
1747
1753
  });
1748
1754
  }
1749
- var Di = class {
1755
+ var bi = class {
1750
1756
  constructor() {
1751
1757
  this._map = /* @__PURE__ */ new Map(), this._idmap = /* @__PURE__ */ new Map();
1752
1758
  }
@@ -1780,10 +1786,10 @@ var Di = class {
1780
1786
  return this._map.has(e);
1781
1787
  }
1782
1788
  };
1783
- function bi() {
1784
- return new Di();
1789
+ function vi() {
1790
+ return new bi();
1785
1791
  }
1786
- var Jo = bi(), vi = "http://localhost".replace(/\/+$/, ""), Ni = (e) => typeof Blob < "u" && e instanceof Blob, ie = class {
1792
+ var zo = vi(), Ni = "http://localhost".replace(/\/+$/, ""), Pi = (e) => typeof Blob < "u" && e instanceof Blob, ie = class {
1787
1793
  middleware;
1788
1794
  constructor(e = new it()) {
1789
1795
  this.configuration = e, this.middleware = e.middleware;
@@ -1803,12 +1809,12 @@ var Jo = bi(), vi = "http://localhost".replace(/\/+$/, ""), Ni = (e) => typeof B
1803
1809
  async request(e, t) {
1804
1810
  const { url: i, init: n } = this.createFetchParams(e, t), o = await this.fetchApi(i, n);
1805
1811
  if (o.status >= 200 && o.status < 300) return o;
1806
- throw new Pi(o, "Response returned an error code");
1812
+ throw new Ei(o, "Response returned an error code");
1807
1813
  }
1808
1814
  createFetchParams(e, t) {
1809
1815
  let i = this.configuration.basePath + e.path;
1810
1816
  e.query !== void 0 && Object.keys(e.query).length !== 0 && (i += "?" + this.configuration.queryParamsStringify(e.query));
1811
- const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Ni(e.body) ? e.body : JSON.stringify(e.body), o = Object.assign({}, this.configuration.headers, e.headers);
1817
+ const n = typeof FormData < "u" && e.body instanceof FormData || e.body instanceof URLSearchParams || Pi(e.body) ? e.body : JSON.stringify(e.body), o = Object.assign({}, this.configuration.headers, e.headers);
1812
1818
  Object.keys(o).forEach((u) => o[u] === void 0 ? delete o[u] : {});
1813
1819
  const s = {
1814
1820
  method: e.method,
@@ -1843,17 +1849,17 @@ var Jo = bi(), vi = "http://localhost".replace(/\/+$/, ""), Ni = (e) => typeof B
1843
1849
  const e = this.constructor, t = new e(this.configuration);
1844
1850
  return t.middleware = this.middleware.slice(), t;
1845
1851
  }
1846
- }, Pi = class extends Error {
1852
+ }, Ei = class extends Error {
1847
1853
  name = "ResponseError";
1848
1854
  constructor(e, t) {
1849
1855
  super(t), this.response = e;
1850
1856
  }
1851
- }, K = class extends Error {
1857
+ }, $ = class extends Error {
1852
1858
  name = "RequiredError";
1853
1859
  constructor(e, t) {
1854
1860
  super(t), this.field = e;
1855
1861
  }
1856
- }, Uo = {
1862
+ }, Zo = {
1857
1863
  csv: ",",
1858
1864
  ssv: " ",
1859
1865
  tsv: " ",
@@ -1863,7 +1869,7 @@ var Jo = bi(), vi = "http://localhost".replace(/\/+$/, ""), Ni = (e) => typeof B
1863
1869
  this.configuration = e;
1864
1870
  }
1865
1871
  get basePath() {
1866
- return this.configuration.basePath != null ? this.configuration.basePath : vi;
1872
+ return this.configuration.basePath != null ? this.configuration.basePath : Ni;
1867
1873
  }
1868
1874
  get fetchApi() {
1869
1875
  return this.configuration.fetchApi;
@@ -1909,94 +1915,94 @@ function nt(e, t = "") {
1909
1915
  return o instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ? nt(o, n) : `${encodeURIComponent(n)}=${encodeURIComponent(String(o))}`;
1910
1916
  }).filter((i) => i.length > 0).join("&");
1911
1917
  }
1912
- function Go(e, t) {
1918
+ function Wo(e, t) {
1913
1919
  return Object.keys(e).reduce((i, n) => ({
1914
1920
  ...i,
1915
1921
  [n]: t(e[n])
1916
1922
  }), {});
1917
1923
  }
1918
- function $o(e) {
1924
+ function Xo(e) {
1919
1925
  for (const t of e) if (t.contentType === "multipart/form-data") return !0;
1920
1926
  return !1;
1921
1927
  }
1922
- var q = class {
1928
+ var K = class {
1923
1929
  constructor(e, t = (i) => i) {
1924
1930
  this.raw = e, this.transformer = t;
1925
1931
  }
1926
1932
  async value() {
1927
1933
  return this.transformer(await this.raw.json());
1928
1934
  }
1929
- }, qo = class {
1935
+ }, Qo = class {
1930
1936
  constructor(e) {
1931
1937
  this.raw = e;
1932
1938
  }
1933
1939
  async value() {
1934
1940
  }
1935
- }, Ko = class {
1941
+ }, jo = class {
1936
1942
  constructor(e) {
1937
1943
  this.raw = e;
1938
1944
  }
1939
1945
  async value() {
1940
1946
  return await this.raw.blob();
1941
1947
  }
1942
- }, Ei = class {
1948
+ }, rt = class {
1943
1949
  constructor(e) {
1944
1950
  this.raw = e;
1945
1951
  }
1946
1952
  async value() {
1947
1953
  return await this.raw.text();
1948
1954
  }
1949
- }, Yo = { CreditCard: "CREDIT_CARD" };
1955
+ }, ea = { CreditCard: "CREDIT_CARD" };
1950
1956
  function Li(e) {
1951
1957
  let t = !0;
1952
1958
  return t = t && "name" in e, t;
1953
1959
  }
1954
- function zo(e) {
1955
- return rt(e, !1);
1960
+ function ta(e) {
1961
+ return ot(e, !1);
1956
1962
  }
1957
- function rt(e, t) {
1963
+ function ot(e, t) {
1958
1964
  return e == null ? e : { name: e.name };
1959
1965
  }
1960
- function Hi(e) {
1966
+ function Fi(e) {
1961
1967
  if (e !== void 0)
1962
1968
  return e === null ? null : { name: e.name };
1963
1969
  }
1964
- var Vo = { Coupon: "COUPON" };
1965
- function Bi(e) {
1970
+ var ia = { Coupon: "COUPON" };
1971
+ function Hi(e) {
1966
1972
  let t = !0;
1967
1973
  return t = t && "name" in e, t;
1968
1974
  }
1969
- function Zo(e) {
1970
- return ot(e, !1);
1975
+ function na(e) {
1976
+ return at(e, !1);
1971
1977
  }
1972
- function ot(e, t) {
1978
+ function at(e, t) {
1973
1979
  return e == null ? e : { name: e.name };
1974
1980
  }
1975
- function Fi(e) {
1981
+ function Bi(e) {
1976
1982
  if (e !== void 0)
1977
1983
  return e === null ? null : { name: e.name };
1978
1984
  }
1979
- var Wo = { DepositAccount: "DEPOSIT_ACCOUNT" };
1985
+ var ra = { DepositAccount: "DEPOSIT_ACCOUNT" };
1980
1986
  function xi(e) {
1981
1987
  let t = !0;
1982
1988
  return t = t && "name" in e, t;
1983
1989
  }
1984
- function Xo(e) {
1985
- return at(e, !1);
1990
+ function oa(e) {
1991
+ return ct(e, !1);
1986
1992
  }
1987
- function at(e, t) {
1993
+ function ct(e, t) {
1988
1994
  return e == null ? e : { name: e.name };
1989
1995
  }
1990
1996
  function Ji(e) {
1991
1997
  if (e !== void 0)
1992
1998
  return e === null ? null : { name: e.name };
1993
1999
  }
1994
- var Qo = {
2000
+ var aa = {
1995
2001
  Disabled: "DISABLED",
1996
2002
  Enabled: "ENABLED",
1997
2003
  Forced: "FORCED"
1998
2004
  };
1999
- function jo(e) {
2005
+ function ca(e) {
2000
2006
  let t = !0;
2001
2007
  return t = t && "status" in e, t;
2002
2008
  }
@@ -2010,15 +2016,15 @@ function $i(e) {
2010
2016
  if (e !== void 0)
2011
2017
  return e === null ? null : { status: e.status };
2012
2018
  }
2013
- var ea = { PayLater: "PAY_LATER" };
2019
+ var sa = { PayLater: "PAY_LATER" };
2014
2020
  function qi(e) {
2015
2021
  let t = !0;
2016
2022
  return t = t && "name" in e, t = t && "payload" in e, t;
2017
2023
  }
2018
- function ta(e) {
2019
- return ct(e, !1);
2024
+ function da(e) {
2025
+ return st(e, !1);
2020
2026
  }
2021
- function ct(e, t) {
2027
+ function st(e, t) {
2022
2028
  return e == null ? e : {
2023
2029
  name: e.name,
2024
2030
  payload: Ui(e.payload)
@@ -2032,27 +2038,27 @@ function Ki(e) {
2032
2038
  };
2033
2039
  }
2034
2040
  function Yi(e) {
2035
- return zi(e, !1);
2041
+ return Vi(e, !1);
2036
2042
  }
2037
- function zi(e, t) {
2043
+ function Vi(e, t) {
2038
2044
  return e == null ? e : {
2039
- ...rt(e, !0),
2040
2045
  ...ot(e, !0),
2041
2046
  ...at(e, !0),
2042
- ...ct(e, !0)
2047
+ ...ct(e, !0),
2048
+ ...st(e, !0)
2043
2049
  };
2044
2050
  }
2045
- function ia(e) {
2051
+ function ua(e) {
2046
2052
  if (e !== void 0)
2047
- return e === null ? null : Li(e) ? Hi(e) : Bi(e) ? Fi(e) : xi(e) ? Ji(e) : qi(e) ? Ki(e) : {};
2053
+ return e === null ? null : Li(e) ? Fi(e) : Hi(e) ? Bi(e) : xi(e) ? Ji(e) : qi(e) ? Ki(e) : {};
2048
2054
  }
2049
- function na(e) {
2055
+ function fa(e) {
2050
2056
  return !0;
2051
2057
  }
2052
- function st(e) {
2053
- return Vi(e, !1);
2058
+ function dt(e) {
2059
+ return zi(e, !1);
2054
2060
  }
2055
- function Vi(e, t) {
2061
+ function zi(e, t) {
2056
2062
  return e == null ? e : {
2057
2063
  airConditioning: r(e, "air_conditioning") ? e.air_conditioning : void 0,
2058
2064
  airportTransportation: r(e, "airport_transportation") ? e.airport_transportation : void 0,
@@ -2100,7 +2106,7 @@ function Vi(e, t) {
2100
2106
  whirpool: r(e, "whirpool") ? e.whirpool : void 0
2101
2107
  };
2102
2108
  }
2103
- function dt(e) {
2109
+ function ut(e) {
2104
2110
  if (e !== void 0)
2105
2111
  return e === null ? null : {
2106
2112
  air_conditioning: e.airConditioning,
@@ -2149,11 +2155,11 @@ function dt(e) {
2149
2155
  whirpool: e.whirpool
2150
2156
  };
2151
2157
  }
2152
- function ra(e) {
2158
+ function la(e) {
2153
2159
  let t = !0;
2154
2160
  return t = t && "count" in e, t = t && "name" in e, t = t && "occupancy" in e, t;
2155
2161
  }
2156
- function oa(e) {
2162
+ function ma(e) {
2157
2163
  return Zi(e, !1);
2158
2164
  }
2159
2165
  function Zi(e, t) {
@@ -2163,7 +2169,7 @@ function Zi(e, t) {
2163
2169
  occupancy: e.occupancy
2164
2170
  };
2165
2171
  }
2166
- function aa(e) {
2172
+ function ha(e) {
2167
2173
  if (e !== void 0)
2168
2174
  return e === null ? null : {
2169
2175
  count: e.count,
@@ -2171,7 +2177,7 @@ function aa(e) {
2171
2177
  occupancy: e.occupancy
2172
2178
  };
2173
2179
  }
2174
- function ca(e) {
2180
+ function pa(e) {
2175
2181
  let t = !0;
2176
2182
  return t = t && "dateFrom" in e, t = t && "dateTo" in e, t = t && "penaltyPercentage" in e, t;
2177
2183
  }
@@ -2193,7 +2199,7 @@ function Le(e) {
2193
2199
  penalty_percentage: e.penaltyPercentage
2194
2200
  };
2195
2201
  }
2196
- var sa = {
2202
+ var ya = {
2197
2203
  Ad: "AD",
2198
2204
  Ae: "AE",
2199
2205
  Af: "AF",
@@ -2444,10 +2450,10 @@ function De(e) {
2444
2450
  function Xi(e, t) {
2445
2451
  return e;
2446
2452
  }
2447
- function da(e) {
2453
+ function ga(e) {
2448
2454
  return e;
2449
2455
  }
2450
- function ua(e) {
2456
+ function _a(e) {
2451
2457
  let t = !0;
2452
2458
  return t = t && "address" in e, t = t && "city" in e, t = t && "country" in e, t = t && "name" in e, t = t && "zipCode" in e, t;
2453
2459
  }
@@ -2477,7 +2483,7 @@ function en(e) {
2477
2483
  zip_code: e.zipCode
2478
2484
  };
2479
2485
  }
2480
- var fa = {
2486
+ var Oa = {
2481
2487
  DeDe: "de-DE",
2482
2488
  EnUs: "en-US",
2483
2489
  EsEs: "es-ES",
@@ -2486,16 +2492,16 @@ var fa = {
2486
2492
  NlNl: "nl-NL",
2487
2493
  PtPt: "pt-PT"
2488
2494
  };
2489
- function He(e) {
2495
+ function Fe(e) {
2490
2496
  return tn(e, !1);
2491
2497
  }
2492
2498
  function tn(e, t) {
2493
2499
  return e;
2494
2500
  }
2495
- function la(e) {
2501
+ function Aa(e) {
2496
2502
  return e;
2497
2503
  }
2498
- var ma = {
2504
+ var Sa = {
2499
2505
  Dr: "dr",
2500
2506
  Mr: "mr",
2501
2507
  Mrs: "mrs",
@@ -2503,11 +2509,11 @@ var ma = {
2503
2509
  NotSpecified: "notSpecified",
2504
2510
  Prof: "prof"
2505
2511
  };
2506
- function ha(e) {
2512
+ function wa(e) {
2507
2513
  let t = !0;
2508
2514
  return t = t && "email" in e, t = t && "firstName" in e, t = t && "lastName" in e, t = t && "nationality" in e, t = t && "phone" in e, t;
2509
2515
  }
2510
- function ut(e) {
2516
+ function ft(e) {
2511
2517
  return nn(e, !1);
2512
2518
  }
2513
2519
  function nn(e, t) {
@@ -2517,7 +2523,7 @@ function nn(e, t) {
2517
2523
  country: r(e, "country") ? De(e.country) : void 0,
2518
2524
  email: e.email,
2519
2525
  firstName: e.first_name,
2520
- lang: r(e, "lang") ? He(e.lang) : void 0,
2526
+ lang: r(e, "lang") ? Fe(e.lang) : void 0,
2521
2527
  lastName: e.last_name,
2522
2528
  nationality: De(e.nationality),
2523
2529
  organization: r(e, "organization") ? Qi(e.organization) : void 0,
@@ -2528,7 +2534,7 @@ function nn(e, t) {
2528
2534
  zipCode: r(e, "zip_code") ? e.zip_code : void 0
2529
2535
  };
2530
2536
  }
2531
- function ft(e) {
2537
+ function lt(e) {
2532
2538
  if (e !== void 0)
2533
2539
  return e === null ? null : {
2534
2540
  address: e.address,
@@ -2547,7 +2553,7 @@ function ft(e) {
2547
2553
  zip_code: e.zipCode
2548
2554
  };
2549
2555
  }
2550
- var pa = {
2556
+ var Ra = {
2551
2557
  Aed: "AED",
2552
2558
  Afn: "AFN",
2553
2559
  All: "ALL",
@@ -2693,10 +2699,10 @@ function ce(e) {
2693
2699
  function rn(e, t) {
2694
2700
  return e;
2695
2701
  }
2696
- function ya(e) {
2702
+ function ka(e) {
2697
2703
  return e;
2698
2704
  }
2699
- function ga(e) {
2705
+ function Ta(e) {
2700
2706
  return !0;
2701
2707
  }
2702
2708
  function on(e) {
@@ -2715,7 +2721,7 @@ function cn(e) {
2715
2721
  slug: e.slug
2716
2722
  };
2717
2723
  }
2718
- function _a(e) {
2724
+ function Ma(e) {
2719
2725
  let t = !0;
2720
2726
  return t = t && "isHeroImage" in e, t = t && "l" in e, t = t && "m" in e, t = t && "s" in e, t = t && "xl" in e, t = t && "xs" in e, t;
2721
2727
  }
@@ -2745,7 +2751,7 @@ function ye(e) {
2745
2751
  xs: e.xs
2746
2752
  };
2747
2753
  }
2748
- function Oa(e) {
2754
+ function Ca(e) {
2749
2755
  let t = !0;
2750
2756
  return t = t && "beds" in e, t = t && "bedsPretty" in e, t = t && "count" in e, t = t && "description" in e, t = t && "id" in e, t = t && "occupancy" in e, t;
2751
2757
  }
@@ -2791,7 +2797,7 @@ function fn(e) {
2791
2797
  thumb_images: e.thumbImages
2792
2798
  };
2793
2799
  }
2794
- var Aa = {
2800
+ var Ia = {
2795
2801
  Ad: "AD",
2796
2802
  Ae: "AE",
2797
2803
  Af: "AF",
@@ -3042,14 +3048,14 @@ function ge(e) {
3042
3048
  function ln(e, t) {
3043
3049
  return e;
3044
3050
  }
3045
- function Sa(e) {
3051
+ function Da(e) {
3046
3052
  return e;
3047
3053
  }
3048
- function wa(e) {
3054
+ function ba(e) {
3049
3055
  let t = !0;
3050
3056
  return t = t && "name" in e, t;
3051
3057
  }
3052
- function Be(e) {
3058
+ function He(e) {
3053
3059
  return mn(e, !1);
3054
3060
  }
3055
3061
  function mn(e, t) {
@@ -3061,7 +3067,7 @@ function mn(e, t) {
3061
3067
  name: e.name
3062
3068
  };
3063
3069
  }
3064
- function Fe(e) {
3070
+ function Be(e) {
3065
3071
  if (e !== void 0)
3066
3072
  return e === null ? null : {
3067
3073
  bg: e.bg,
@@ -3071,18 +3077,18 @@ function Fe(e) {
3071
3077
  name: e.name
3072
3078
  };
3073
3079
  }
3074
- var Ra = {
3080
+ var va = {
3075
3081
  Night: "PER_NIGHT",
3076
3082
  Stay: "PER_STAY"
3077
- }, ka = {
3083
+ }, Na = {
3078
3084
  Adult: "PER_ADULT",
3079
3085
  Booking: "PER_BOOKING"
3080
3086
  };
3081
- function Ta(e) {
3087
+ function Pa(e) {
3082
3088
  let t = !0;
3083
3089
  return t = t && "taxFrequency" in e, t = t && "taxMode" in e, t;
3084
3090
  }
3085
- function lt(e) {
3091
+ function mt(e) {
3086
3092
  return hn(e, !1);
3087
3093
  }
3088
3094
  function hn(e, t) {
@@ -3095,7 +3101,7 @@ function hn(e, t) {
3095
3101
  taxMode: e.tax_mode
3096
3102
  };
3097
3103
  }
3098
- function mt(e) {
3104
+ function ht(e) {
3099
3105
  if (e !== void 0)
3100
3106
  return e === null ? null : {
3101
3107
  amount: e.amount,
@@ -3106,24 +3112,24 @@ function mt(e) {
3106
3112
  tax_mode: e.taxMode
3107
3113
  };
3108
3114
  }
3109
- var Ma = {
3115
+ var Ea = {
3110
3116
  Included: "INCLUDED",
3111
3117
  NotIncluded: "NOT_INCLUDED",
3112
3118
  Optional: "OPTIONAL"
3113
- }, Ca = {
3119
+ }, La = {
3114
3120
  BestMatch: "BEST_MATCH",
3115
3121
  Cheapest: "CHEAPEST",
3116
3122
  MatchingRoomCount: "MATCHING_ROOM_COUNT",
3117
3123
  Regular: "REGULAR"
3118
- }, Ia = {
3124
+ }, Fa = {
3119
3125
  Included: "included",
3120
3126
  NotIncluded: "not_included",
3121
3127
  Unknown: "unknown"
3122
- }, Da = {
3128
+ }, Ha = {
3123
3129
  HotelRoom: "HOTEL_ROOM",
3124
3130
  Package: "PACKAGE"
3125
3131
  };
3126
- function ba(e) {
3132
+ function Ba(e) {
3127
3133
  let t = !0;
3128
3134
  return t = t && "breakfastOption" in e, t = t && "cancellationPolicies" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRooms" in e, t = t && "price" in e, t = t && "sourceMarket" in e, t = t && "stayTaxesInfo" in e, t = t && "taxIncludedPrice" in e, t;
3129
3135
  }
@@ -3146,9 +3152,9 @@ function pn(e, t) {
3146
3152
  price: e.price,
3147
3153
  sourceMarket: ge(e.source_market),
3148
3154
  stayTaxesInfo: e.stay_taxes_info,
3149
- tags: r(e, "tags") ? e.tags.map(Be) : void 0,
3155
+ tags: r(e, "tags") ? e.tags.map(He) : void 0,
3150
3156
  taxIncludedPrice: e.tax_included_price,
3151
- taxes: r(e, "taxes") ? e.taxes.map(lt) : void 0,
3157
+ taxes: r(e, "taxes") ? e.taxes.map(mt) : void 0,
3152
3158
  type: r(e, "type") ? e.type : void 0
3153
3159
  };
3154
3160
  }
@@ -3169,13 +3175,13 @@ function he(e) {
3169
3175
  price: e.price,
3170
3176
  source_market: e.sourceMarket,
3171
3177
  stay_taxes_info: e.stayTaxesInfo,
3172
- tags: e.tags === void 0 ? void 0 : e.tags.map(Fe),
3178
+ tags: e.tags === void 0 ? void 0 : e.tags.map(Be),
3173
3179
  tax_included_price: e.taxIncludedPrice,
3174
- taxes: e.taxes === void 0 ? void 0 : e.taxes.map(mt),
3180
+ taxes: e.taxes === void 0 ? void 0 : e.taxes.map(ht),
3175
3181
  type: e.type
3176
3182
  };
3177
3183
  }
3178
- function va(e) {
3184
+ function xa(e) {
3179
3185
  let t = !0;
3180
3186
  return t = t && "beds" in e, t = t && "bedsPretty" in e, t = t && "count" in e, t = t && "description" in e, t = t && "id" in e, t = t && "occupancy" in e, t;
3181
3187
  }
@@ -3221,7 +3227,7 @@ function _n(e) {
3221
3227
  thumb_images: e.thumbImages
3222
3228
  };
3223
3229
  }
3224
- function Na(e) {
3230
+ function Ja(e) {
3225
3231
  let t = !0;
3226
3232
  return t = t && "fullname" in e, t = t && "id" in e, t;
3227
3233
  }
@@ -3241,11 +3247,11 @@ function An(e) {
3241
3247
  id: e.id
3242
3248
  };
3243
3249
  }
3244
- function Pa(e) {
3250
+ function Ua(e) {
3245
3251
  let t = !0;
3246
3252
  return t = t && "hotelRoomId" in e, t = t && "hotelRoomingListGuests" in e, t = t && "id" in e, t;
3247
3253
  }
3248
- function ht(e) {
3254
+ function pt(e) {
3249
3255
  return Sn(e, !1);
3250
3256
  }
3251
3257
  function Sn(e, t) {
@@ -3267,11 +3273,11 @@ function wn(e) {
3267
3273
  limit_date: e.limitDate === void 0 ? void 0 : e.limitDate === null ? null : e.limitDate.toISOString()
3268
3274
  };
3269
3275
  }
3270
- var Ea = {
3276
+ var Ga = {
3271
3277
  CreditNote: "credit_note",
3272
3278
  Invoice: "invoice"
3273
3279
  };
3274
- function La(e) {
3280
+ function $a(e) {
3275
3281
  let t = !0;
3276
3282
  return t = t && "type" in e, t = t && "url" in e, t;
3277
3283
  }
@@ -3291,7 +3297,7 @@ function Tn(e) {
3291
3297
  url: e.url
3292
3298
  };
3293
3299
  }
3294
- function Ha(e) {
3300
+ function qa(e) {
3295
3301
  let t = !0;
3296
3302
  return t = t && "amount" in e, t = t && "token" in e, t;
3297
3303
  }
@@ -3313,15 +3319,15 @@ function In(e) {
3313
3319
  token: e.token
3314
3320
  };
3315
3321
  }
3316
- var Ba = { CreditCard: "CREDIT_CARD" };
3322
+ var Ka = { CreditCard: "CREDIT_CARD" };
3317
3323
  function Dn(e) {
3318
3324
  let t = !0;
3319
3325
  return t = t && "name" in e, t = t && "payload" in e, t;
3320
3326
  }
3321
- function Fa(e) {
3322
- return pt(e, !1);
3327
+ function Ya(e) {
3328
+ return yt(e, !1);
3323
3329
  }
3324
- function pt(e, t) {
3330
+ function yt(e, t) {
3325
3331
  return e == null ? e : {
3326
3332
  name: e.name,
3327
3333
  payload: Mn(e.payload)
@@ -3334,7 +3340,7 @@ function bn(e) {
3334
3340
  payload: In(e.payload)
3335
3341
  };
3336
3342
  }
3337
- function xa(e) {
3343
+ function Va(e) {
3338
3344
  let t = !0;
3339
3345
  return t = t && "amount" in e, t = t && "couponId" in e, t;
3340
3346
  }
@@ -3356,15 +3362,15 @@ function Pn(e) {
3356
3362
  token: e.token
3357
3363
  };
3358
3364
  }
3359
- var Ja = { Coupon: "COUPON" };
3365
+ var za = { Coupon: "COUPON" };
3360
3366
  function En(e) {
3361
3367
  let t = !0;
3362
3368
  return t = t && "name" in e, t = t && "payload" in e, t;
3363
3369
  }
3364
- function Ua(e) {
3365
- return yt(e, !1);
3370
+ function Za(e) {
3371
+ return gt(e, !1);
3366
3372
  }
3367
- function yt(e, t) {
3373
+ function gt(e, t) {
3368
3374
  return e == null ? e : {
3369
3375
  name: e.name,
3370
3376
  payload: vn(e.payload)
@@ -3377,21 +3383,21 @@ function Ln(e) {
3377
3383
  payload: Pn(e.payload)
3378
3384
  };
3379
3385
  }
3380
- function Ga(e) {
3386
+ function Wa(e) {
3381
3387
  let t = !0;
3382
3388
  return t = t && "amount" in e, t;
3383
3389
  }
3384
- function Hn(e) {
3385
- return Bn(e, !1);
3390
+ function Fn(e) {
3391
+ return Hn(e, !1);
3386
3392
  }
3387
- function Bn(e, t) {
3393
+ function Hn(e, t) {
3388
3394
  return e == null ? e : {
3389
3395
  amount: e.amount,
3390
3396
  couponId: r(e, "coupon_id") ? e.coupon_id : void 0,
3391
3397
  token: r(e, "token") ? e.token : void 0
3392
3398
  };
3393
3399
  }
3394
- function Fn(e) {
3400
+ function Bn(e) {
3395
3401
  if (e !== void 0)
3396
3402
  return e === null ? null : {
3397
3403
  amount: e.amount,
@@ -3399,33 +3405,33 @@ function Fn(e) {
3399
3405
  token: e.token
3400
3406
  };
3401
3407
  }
3402
- var $a = { DepositAccount: "DEPOSIT_ACCOUNT" };
3408
+ var Xa = { DepositAccount: "DEPOSIT_ACCOUNT" };
3403
3409
  function xn(e) {
3404
3410
  let t = !0;
3405
3411
  return t = t && "name" in e, t = t && "payload" in e, t;
3406
3412
  }
3407
- function qa(e) {
3408
- return gt(e, !1);
3413
+ function Qa(e) {
3414
+ return _t(e, !1);
3409
3415
  }
3410
- function gt(e, t) {
3416
+ function _t(e, t) {
3411
3417
  return e == null ? e : {
3412
3418
  name: e.name,
3413
- payload: Hn(e.payload)
3419
+ payload: Fn(e.payload)
3414
3420
  };
3415
3421
  }
3416
3422
  function Jn(e) {
3417
3423
  if (e !== void 0)
3418
3424
  return e === null ? null : {
3419
3425
  name: e.name,
3420
- payload: Fn(e.payload)
3426
+ payload: Bn(e.payload)
3421
3427
  };
3422
3428
  }
3423
- var Ka = {
3429
+ var ja = {
3424
3430
  Disabled: "DISABLED",
3425
3431
  Enabled: "ENABLED",
3426
3432
  Forced: "FORCED"
3427
3433
  };
3428
- function Ya(e) {
3434
+ function ec(e) {
3429
3435
  let t = !0;
3430
3436
  return t = t && "amount" in e, t = t && "status" in e, t;
3431
3437
  }
@@ -3449,15 +3455,15 @@ function $n(e) {
3449
3455
  token: e.token
3450
3456
  };
3451
3457
  }
3452
- var za = { PayLater: "PAY_LATER" };
3458
+ var tc = { PayLater: "PAY_LATER" };
3453
3459
  function qn(e) {
3454
3460
  let t = !0;
3455
3461
  return t = t && "name" in e, t = t && "payload" in e, t;
3456
3462
  }
3457
- function Va(e) {
3458
- return _t(e, !1);
3463
+ function ic(e) {
3464
+ return Ot(e, !1);
3459
3465
  }
3460
- function _t(e, t) {
3466
+ function Ot(e, t) {
3461
3467
  return e == null ? e : {
3462
3468
  name: e.name,
3463
3469
  payload: Un(e.payload)
@@ -3471,25 +3477,25 @@ function Kn(e) {
3471
3477
  };
3472
3478
  }
3473
3479
  function Yn(e) {
3474
- return zn(e, !1);
3480
+ return Vn(e, !1);
3475
3481
  }
3476
- function zn(e, t) {
3482
+ function Vn(e, t) {
3477
3483
  return e == null ? e : {
3478
- ...pt(e, !0),
3479
3484
  ...yt(e, !0),
3480
3485
  ...gt(e, !0),
3481
- ..._t(e, !0)
3486
+ ..._t(e, !0),
3487
+ ...Ot(e, !0)
3482
3488
  };
3483
3489
  }
3484
- function Vn(e) {
3490
+ function zn(e) {
3485
3491
  if (e !== void 0)
3486
3492
  return e === null ? null : Dn(e) ? bn(e) : En(e) ? Ln(e) : xn(e) ? Jn(e) : qn(e) ? Kn(e) : {};
3487
3493
  }
3488
- var Za = {
3494
+ var nc = {
3489
3495
  Disabled: "DISABLED",
3490
3496
  Enabled: "ENABLED",
3491
3497
  Forced: "FORCED"
3492
- }, Wa = {
3498
+ }, rc = {
3493
3499
  Cx: "bkg-cx",
3494
3500
  Cf: "bkg-cf",
3495
3501
  Created: "bkg-created",
@@ -3499,7 +3505,7 @@ var Za = {
3499
3505
  Pp: "bkg-pp",
3500
3506
  Qr: "bkg-qr"
3501
3507
  };
3502
- function Xa(e) {
3508
+ function oc(e) {
3503
3509
  let t = !0;
3504
3510
  return t = t && "adultCount" in e, t = t && "cancellationPolicies" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "contactPerson" in e, t = t && "createdAt" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t = t && "lastStatusUpdatedAt" in e, t = t && "reference" in e, t = t && "sourceMarket" in e, t = t && "status" in e, t = t && "taxAmount" in e, t = t && "taxIncludedPrice" in e, t = t && "terms" in e, t;
3505
3511
  }
@@ -3518,7 +3524,7 @@ function Zn(e, t) {
3518
3524
  checkOutDate: e.check_out_date,
3519
3525
  children: r(e, "children") ? e.children : void 0,
3520
3526
  confirmedAt: r(e, "confirmed_at") ? e.confirmed_at : void 0,
3521
- contactPerson: ut(e.contact_person),
3527
+ contactPerson: ft(e.contact_person),
3522
3528
  createdAt: e.created_at,
3523
3529
  currency: ce(e.currency),
3524
3530
  customerReference: r(e, "customer_reference") ? e.customer_reference : void 0,
@@ -3527,7 +3533,7 @@ function Zn(e, t) {
3527
3533
  hotelConfirmationId: r(e, "hotel_confirmation_id") ? e.hotel_confirmation_id : void 0,
3528
3534
  hotelId: e.hotel_id,
3529
3535
  hotelRoomOffer: me(e.hotel_room_offer),
3530
- hotelRoomingLists: r(e, "hotel_rooming_lists") ? e.hotel_rooming_lists.map(ht) : void 0,
3536
+ hotelRoomingLists: r(e, "hotel_rooming_lists") ? e.hotel_rooming_lists.map(pt) : void 0,
3531
3537
  id: r(e, "id") ? e.id : void 0,
3532
3538
  invoices: r(e, "invoices") ? e.invoices === null ? null : e.invoices.map(Rn) : void 0,
3533
3539
  lastStatusUpdatedAt: e.last_status_updated_at,
@@ -3540,7 +3546,7 @@ function Zn(e, t) {
3540
3546
  status: e.status,
3541
3547
  taxAmount: e.tax_amount,
3542
3548
  taxIncludedPrice: e.tax_included_price,
3543
- taxes: r(e, "taxes") ? e.taxes === null ? null : e.taxes.map(lt) : void 0,
3549
+ taxes: r(e, "taxes") ? e.taxes === null ? null : e.taxes.map(mt) : void 0,
3544
3550
  terms: e.terms,
3545
3551
  token: r(e, "token") ? e.token : void 0
3546
3552
  };
@@ -3558,7 +3564,7 @@ function Wn(e) {
3558
3564
  check_out_date: e.checkOutDate,
3559
3565
  children: e.children,
3560
3566
  confirmed_at: e.confirmedAt,
3561
- contact_person: ft(e.contactPerson),
3567
+ contact_person: lt(e.contactPerson),
3562
3568
  created_at: e.createdAt,
3563
3569
  currency: e.currency,
3564
3570
  customer_reference: e.customerReference,
@@ -3573,19 +3579,19 @@ function Wn(e) {
3573
3579
  last_status_updated_at: e.lastStatusUpdatedAt,
3574
3580
  metadata: e.metadata,
3575
3581
  pay_later: e.payLater,
3576
- payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(Vn),
3582
+ payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(zn),
3577
3583
  penalty_percentage: e.penaltyPercentage,
3578
3584
  reference: e.reference,
3579
3585
  source_market: e.sourceMarket,
3580
3586
  status: e.status,
3581
3587
  tax_amount: e.taxAmount,
3582
3588
  tax_included_price: e.taxIncludedPrice,
3583
- taxes: e.taxes === void 0 ? void 0 : e.taxes === null ? null : e.taxes.map(mt),
3589
+ taxes: e.taxes === void 0 ? void 0 : e.taxes === null ? null : e.taxes.map(ht),
3584
3590
  terms: e.terms,
3585
3591
  token: e.token
3586
3592
  };
3587
3593
  }
3588
- function Qa(e) {
3594
+ function ac(e) {
3589
3595
  let t = !0;
3590
3596
  return t = t && "fullname" in e, t;
3591
3597
  }
@@ -3599,7 +3605,7 @@ function jn(e) {
3599
3605
  if (e !== void 0)
3600
3606
  return e === null ? null : { fullname: e.fullname };
3601
3607
  }
3602
- function ja(e) {
3608
+ function cc(e) {
3603
3609
  let t = !0;
3604
3610
  return t = t && "guests" in e, t = t && "hotelRoomId" in e, t;
3605
3611
  }
@@ -3619,81 +3625,122 @@ function ir(e) {
3619
3625
  hotel_room_id: e.hotelRoomId
3620
3626
  };
3621
3627
  }
3622
- function ec(e) {
3623
- return !0;
3628
+ var sc = { Insurance: "insurance" };
3629
+ function dc(e) {
3630
+ let t = !0;
3631
+ return t = t && "type" in e, t;
3624
3632
  }
3625
3633
  function nr(e) {
3626
3634
  return rr(e, !1);
3627
3635
  }
3628
3636
  function rr(e, t) {
3629
- return e == null ? e : { couponId: r(e, "coupon_id") ? e.coupon_id : void 0 };
3637
+ return e == null ? e : { type: e.type };
3630
3638
  }
3631
3639
  function or(e) {
3640
+ if (e !== void 0)
3641
+ return e === null ? null : { type: e.type };
3642
+ }
3643
+ function uc(e) {
3644
+ return !0;
3645
+ }
3646
+ function ar(e) {
3647
+ return cr(e, !1);
3648
+ }
3649
+ function cr(e, t) {
3650
+ return e == null ? e : { couponId: r(e, "coupon_id") ? e.coupon_id : void 0 };
3651
+ }
3652
+ function sr(e) {
3632
3653
  if (e !== void 0)
3633
3654
  return e === null ? null : { coupon_id: e.couponId };
3634
3655
  }
3635
- var tc = {
3656
+ var fc = {
3636
3657
  Coupon: "COUPON",
3637
3658
  CreditCard: "CREDIT_CARD",
3638
3659
  DepositAccount: "DEPOSIT_ACCOUNT"
3639
3660
  };
3640
- function ic(e) {
3661
+ function lc(e) {
3641
3662
  let t = !0;
3642
3663
  return t = t && "name" in e, t;
3643
3664
  }
3644
- function Ot(e) {
3645
- return ar(e, !1);
3665
+ function At(e) {
3666
+ return dr(e, !1);
3646
3667
  }
3647
- function ar(e, t) {
3668
+ function dr(e, t) {
3648
3669
  return e == null ? e : {
3649
3670
  name: e.name,
3650
- payload: r(e, "payload") ? nr(e.payload) : void 0
3671
+ payload: r(e, "payload") ? ar(e.payload) : void 0
3651
3672
  };
3652
3673
  }
3653
- function At(e) {
3674
+ function St(e) {
3654
3675
  if (e !== void 0)
3655
3676
  return e === null ? null : {
3656
3677
  name: e.name,
3657
- payload: or(e.payload)
3678
+ payload: sr(e.payload)
3658
3679
  };
3659
3680
  }
3660
- function nc(e) {
3681
+ function mc(e) {
3661
3682
  let t = !0;
3662
3683
  return t = t && "bookingPolicyId" in e, t = t && "contactPerson" in e, t;
3663
3684
  }
3664
- function rc(e) {
3665
- return cr(e, !1);
3685
+ function hc(e) {
3686
+ return ur(e, !1);
3666
3687
  }
3667
- function cr(e, t) {
3688
+ function ur(e, t) {
3668
3689
  return e == null ? e : {
3690
+ addons: r(e, "addons") ? e.addons.map(nr) : void 0,
3669
3691
  bookingPolicyId: e.booking_policy_id,
3670
- contactPerson: ut(e.contact_person),
3692
+ contactPerson: ft(e.contact_person),
3671
3693
  guestsList: r(e, "guests_list") ? e.guests_list.map(er) : void 0,
3672
3694
  metadata: r(e, "metadata") ? e.metadata : void 0,
3673
- paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(Ot) : void 0,
3695
+ paymentMethods: r(e, "payment_methods") ? e.payment_methods.map(At) : void 0,
3674
3696
  trackingId: r(e, "tracking_id") ? e.tracking_id : void 0
3675
3697
  };
3676
3698
  }
3677
- function sr(e) {
3699
+ function fr(e) {
3678
3700
  if (e !== void 0)
3679
3701
  return e === null ? null : {
3702
+ addons: e.addons === void 0 ? void 0 : e.addons.map(or),
3680
3703
  booking_policy_id: e.bookingPolicyId,
3681
- contact_person: ft(e.contactPerson),
3704
+ contact_person: lt(e.contactPerson),
3682
3705
  guests_list: e.guestsList === void 0 ? void 0 : e.guestsList.map(ir),
3683
3706
  metadata: e.metadata,
3684
- payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(At),
3707
+ payment_methods: e.paymentMethods === void 0 ? void 0 : e.paymentMethods.map(St),
3685
3708
  tracking_id: e.trackingId
3686
3709
  };
3687
3710
  }
3688
- function oc(e) {
3711
+ var pc = { Insurance: "insurance" };
3712
+ function yc(e) {
3713
+ let t = !0;
3714
+ return t = t && "price" in e, t = t && "taxIncludedPrice" in e, t = t && "type" in e, t;
3715
+ }
3716
+ function lr(e) {
3717
+ return mr(e, !1);
3718
+ }
3719
+ function mr(e, t) {
3720
+ return e == null ? e : {
3721
+ price: e.price,
3722
+ taxIncludedPrice: e.tax_included_price,
3723
+ type: e.type
3724
+ };
3725
+ }
3726
+ function hr(e) {
3727
+ if (e !== void 0)
3728
+ return e === null ? null : {
3729
+ price: e.price,
3730
+ tax_included_price: e.taxIncludedPrice,
3731
+ type: e.type
3732
+ };
3733
+ }
3734
+ function gc(e) {
3689
3735
  let t = !0;
3690
3736
  return t = t && "adultCount" in e, t = t && "cancellationPolicies" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "expiresAt" in e, t = t && "hasRoomingLists" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t = t && "id" in e, t = t && "isCancellationPoliciesUpdated" in e, t = t && "isPriceIncreased" in e, t;
3691
3737
  }
3692
3738
  function qe(e) {
3693
- return dr(e, !1);
3739
+ return pr(e, !1);
3694
3740
  }
3695
- function dr(e, t) {
3741
+ function pr(e, t) {
3696
3742
  return e == null ? e : {
3743
+ addons: r(e, "addons") ? e.addons.map(lr) : void 0,
3697
3744
  adultCount: e.adult_count,
3698
3745
  cancellationPolicies: e.cancellation_policies.map(Ee),
3699
3746
  checkInDate: e.check_in_date,
@@ -3709,9 +3756,10 @@ function dr(e, t) {
3709
3756
  isPriceIncreased: e.is_price_increased
3710
3757
  };
3711
3758
  }
3712
- function ac(e) {
3759
+ function _c(e) {
3713
3760
  if (e !== void 0)
3714
3761
  return e === null ? null : {
3762
+ addons: e.addons === void 0 ? void 0 : e.addons.map(hr),
3715
3763
  adult_count: e.adultCount,
3716
3764
  cancellation_policies: e.cancellationPolicies.map(Le),
3717
3765
  check_in_date: e.checkInDate,
@@ -3727,22 +3775,22 @@ function ac(e) {
3727
3775
  is_price_increased: e.isPriceIncreased
3728
3776
  };
3729
3777
  }
3730
- function cc(e) {
3778
+ function Oc(e) {
3731
3779
  let t = !0;
3732
3780
  return t = t && "hotelRoomOfferId" in e, t;
3733
3781
  }
3734
- function sc(e) {
3735
- return ur(e, !1);
3782
+ function Ac(e) {
3783
+ return yr(e, !1);
3736
3784
  }
3737
- function ur(e, t) {
3785
+ function yr(e, t) {
3738
3786
  return e == null ? e : {
3739
3787
  addBreakfast: r(e, "add_breakfast") ? e.add_breakfast : void 0,
3740
3788
  breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
3741
3789
  hotelRoomOfferId: e.hotel_room_offer_id,
3742
- lang: r(e, "lang") ? He(e.lang) : void 0
3790
+ lang: r(e, "lang") ? Fe(e.lang) : void 0
3743
3791
  };
3744
3792
  }
3745
- function fr(e) {
3793
+ function gr(e) {
3746
3794
  if (e !== void 0)
3747
3795
  return e === null ? null : {
3748
3796
  add_breakfast: e.addBreakfast,
@@ -3751,13 +3799,13 @@ function fr(e) {
3751
3799
  lang: e.lang
3752
3800
  };
3753
3801
  }
3754
- function dc(e) {
3802
+ function Sc(e) {
3755
3803
  return !0;
3756
3804
  }
3757
- function lr(e) {
3758
- return mr(e, !1);
3805
+ function _r(e) {
3806
+ return Or(e, !1);
3759
3807
  }
3760
- function mr(e, t) {
3808
+ function Or(e, t) {
3761
3809
  return e == null ? e : {
3762
3810
  endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
3763
3811
  limit: r(e, "limit") ? e.limit : void 0,
@@ -3765,7 +3813,7 @@ function mr(e, t) {
3765
3813
  totalCount: r(e, "total_count") ? e.total_count : void 0
3766
3814
  };
3767
3815
  }
3768
- function hr(e) {
3816
+ function Ar(e) {
3769
3817
  if (e !== void 0)
3770
3818
  return e === null ? null : {
3771
3819
  ending_before: e.endingBefore,
@@ -3774,27 +3822,27 @@ function hr(e) {
3774
3822
  total_count: e.totalCount
3775
3823
  };
3776
3824
  }
3777
- function uc(e) {
3825
+ function wc(e) {
3778
3826
  let t = !0;
3779
3827
  return t = t && "data" in e, t = t && "meta" in e, t;
3780
3828
  }
3781
- function pr(e) {
3782
- return yr(e, !1);
3829
+ function Sr(e) {
3830
+ return wr(e, !1);
3783
3831
  }
3784
- function yr(e, t) {
3832
+ function wr(e, t) {
3785
3833
  return e == null ? e : {
3786
3834
  data: e.data.map(re),
3787
- meta: lr(e.meta)
3835
+ meta: _r(e.meta)
3788
3836
  };
3789
3837
  }
3790
- function fc(e) {
3838
+ function Rc(e) {
3791
3839
  if (e !== void 0)
3792
3840
  return e === null ? null : {
3793
3841
  data: e.data.map(Wn),
3794
- meta: hr(e.meta)
3842
+ meta: Ar(e.meta)
3795
3843
  };
3796
3844
  }
3797
- var lc = {
3845
+ var kc = {
3798
3846
  ApiError: "api_error",
3799
3847
  BadGateway: "bad_gateway",
3800
3848
  InternalServerError: "internal_server_error",
@@ -3805,14 +3853,14 @@ var lc = {
3805
3853
  Unauthorized: "unauthorized",
3806
3854
  ValidationError: "validation_error"
3807
3855
  };
3808
- function mc(e) {
3856
+ function Tc(e) {
3809
3857
  let t = !0;
3810
3858
  return t = t && "statusCode" in e, t;
3811
3859
  }
3812
- function hc(e) {
3813
- return gr(e, !1);
3860
+ function Mc(e) {
3861
+ return Rr(e, !1);
3814
3862
  }
3815
- function gr(e, t) {
3863
+ function Rr(e, t) {
3816
3864
  return e == null ? e : {
3817
3865
  documentationUrl: r(e, "documentation_url") ? e.documentation_url : void 0,
3818
3866
  error: r(e, "error") ? e.error : void 0,
@@ -3821,7 +3869,7 @@ function gr(e, t) {
3821
3869
  type: r(e, "type") ? e.type : void 0
3822
3870
  };
3823
3871
  }
3824
- function pc(e) {
3872
+ function Cc(e) {
3825
3873
  if (e !== void 0)
3826
3874
  return e === null ? null : {
3827
3875
  documentation_url: e.documentationUrl,
@@ -3831,13 +3879,13 @@ function pc(e) {
3831
3879
  type: e.type
3832
3880
  };
3833
3881
  }
3834
- function yc(e) {
3882
+ function Ic(e) {
3835
3883
  return !0;
3836
3884
  }
3837
3885
  function _e(e) {
3838
- return _r(e, !1);
3886
+ return kr(e, !1);
3839
3887
  }
3840
- function _r(e, t) {
3888
+ function kr(e, t) {
3841
3889
  return e == null ? e : {
3842
3890
  dateEnd: r(e, "date_end") ? e.date_end : void 0,
3843
3891
  dateStart: r(e, "date_start") ? e.date_start : void 0,
@@ -3858,13 +3906,13 @@ function Oe(e) {
3858
3906
  slug: e.slug
3859
3907
  };
3860
3908
  }
3861
- function gc(e) {
3909
+ function Dc(e) {
3862
3910
  return !0;
3863
3911
  }
3864
- function St(e) {
3865
- return Or(e, !1);
3912
+ function wt(e) {
3913
+ return Tr(e, !1);
3866
3914
  }
3867
- function Or(e, t) {
3915
+ function Tr(e, t) {
3868
3916
  return e == null ? e : {
3869
3917
  count: r(e, "count") ? e.count : void 0,
3870
3918
  highres: r(e, "highres") ? e.highres : void 0,
@@ -3874,7 +3922,7 @@ function Or(e, t) {
3874
3922
  thumb: r(e, "thumb") ? e.thumb : void 0
3875
3923
  };
3876
3924
  }
3877
- function wt(e) {
3925
+ function Rt(e) {
3878
3926
  if (e !== void 0)
3879
3927
  return e === null ? null : {
3880
3928
  count: e.count,
@@ -3885,40 +3933,40 @@ function wt(e) {
3885
3933
  thumb: e.thumb
3886
3934
  };
3887
3935
  }
3888
- function _c(e) {
3936
+ function bc(e) {
3889
3937
  let t = !0;
3890
3938
  return t = t && "rating" in e, t;
3891
3939
  }
3892
- function Rt(e) {
3893
- return Ar(e, !1);
3940
+ function kt(e) {
3941
+ return Mr(e, !1);
3894
3942
  }
3895
- function Ar(e, t) {
3943
+ function Mr(e, t) {
3896
3944
  return e == null ? e : {
3897
3945
  category: r(e, "category") ? e.category : void 0,
3898
3946
  rating: e.rating
3899
3947
  };
3900
3948
  }
3901
- function kt(e) {
3949
+ function Tt(e) {
3902
3950
  if (e !== void 0)
3903
3951
  return e === null ? null : {
3904
3952
  category: e.category,
3905
3953
  rating: e.rating
3906
3954
  };
3907
3955
  }
3908
- function Oc(e) {
3956
+ function vc(e) {
3909
3957
  return !0;
3910
3958
  }
3911
- function Sr(e) {
3912
- return wr(e, !1);
3959
+ function Cr(e) {
3960
+ return Ir(e, !1);
3913
3961
  }
3914
- function wr(e, t) {
3962
+ function Ir(e, t) {
3915
3963
  return e == null ? e : {
3916
3964
  driving: r(e, "driving") ? e.driving : void 0,
3917
3965
  transit: r(e, "transit") ? e.transit : void 0,
3918
3966
  walking: r(e, "walking") ? e.walking : void 0
3919
3967
  };
3920
3968
  }
3921
- function Rr(e) {
3969
+ function Dr(e) {
3922
3970
  if (e !== void 0)
3923
3971
  return e === null ? null : {
3924
3972
  driving: e.driving,
@@ -3926,40 +3974,40 @@ function Rr(e) {
3926
3974
  walking: e.walking
3927
3975
  };
3928
3976
  }
3929
- function Ac(e) {
3977
+ function Nc(e) {
3930
3978
  let t = !0;
3931
3979
  return t = t && "name" in e, t;
3932
3980
  }
3933
- function Tt(e) {
3934
- return kr(e, !1);
3981
+ function Mt(e) {
3982
+ return br(e, !1);
3935
3983
  }
3936
- function kr(e, t) {
3984
+ function br(e, t) {
3937
3985
  return e == null ? e : {
3938
3986
  description: r(e, "description") ? e.description : void 0,
3939
3987
  name: e.name,
3940
- travelTimes: r(e, "travel_times") ? Sr(e.travel_times) : void 0
3988
+ travelTimes: r(e, "travel_times") ? Cr(e.travel_times) : void 0
3941
3989
  };
3942
3990
  }
3943
- function Mt(e) {
3991
+ function Ct(e) {
3944
3992
  if (e !== void 0)
3945
3993
  return e === null ? null : {
3946
3994
  description: e.description,
3947
3995
  name: e.name,
3948
- travel_times: Rr(e.travelTimes)
3996
+ travel_times: Dr(e.travelTimes)
3949
3997
  };
3950
3998
  }
3951
- function Sc(e) {
3999
+ function Pc(e) {
3952
4000
  let t = !0;
3953
4001
  return t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "name" in e, t = t && "timezone" in e, t;
3954
4002
  }
3955
- function Tr(e) {
3956
- return Mr(e, !1);
4003
+ function vr(e) {
4004
+ return Nr(e, !1);
3957
4005
  }
3958
- function Mr(e, t) {
4006
+ function Nr(e, t) {
3959
4007
  return e == null ? e : {
3960
4008
  address: r(e, "address") ? e.address : void 0,
3961
4009
  address2: r(e, "address2") ? e.address2 : void 0,
3962
- amenities: r(e, "amenities") ? st(e.amenities) : void 0,
4010
+ amenities: r(e, "amenities") ? dt(e.amenities) : void 0,
3963
4011
  checkInTime: r(e, "check_in_time") ? e.check_in_time : void 0,
3964
4012
  checkOutTime: r(e, "check_out_time") ? e.check_out_time : void 0,
3965
4013
  city: r(e, "city") ? e.city : void 0,
@@ -3971,9 +4019,9 @@ function Mr(e, t) {
3971
4019
  email: r(e, "email") ? e.email : void 0,
3972
4020
  fax: r(e, "fax") ? e.fax : void 0,
3973
4021
  hotelImages: r(e, "hotel_images") ? e.hotel_images === null ? null : e.hotel_images.map(le) : void 0,
3974
- hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(Rt) : void 0,
4022
+ hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(kt) : void 0,
3975
4023
  id: e.id,
3976
- images: r(e, "images") ? St(e.images) : void 0,
4024
+ images: r(e, "images") ? wt(e.images) : void 0,
3977
4025
  latitude: e.latitude,
3978
4026
  longitude: e.longitude,
3979
4027
  name: e.name,
@@ -3985,16 +4033,16 @@ function Mr(e, t) {
3985
4033
  state: r(e, "state") ? e.state : void 0,
3986
4034
  taId: r(e, "ta_id") ? e.ta_id : void 0,
3987
4035
  timezone: e.timezone,
3988
- venues: r(e, "venues") ? e.venues.map(Tt) : void 0,
4036
+ venues: r(e, "venues") ? e.venues.map(Mt) : void 0,
3989
4037
  website: r(e, "website") ? e.website : void 0
3990
4038
  };
3991
4039
  }
3992
- function wc(e) {
4040
+ function Ec(e) {
3993
4041
  if (e !== void 0)
3994
4042
  return e === null ? null : {
3995
4043
  address: e.address,
3996
4044
  address2: e.address2,
3997
- amenities: dt(e.amenities),
4045
+ amenities: ut(e.amenities),
3998
4046
  check_in_time: e.checkInTime,
3999
4047
  check_out_time: e.checkOutTime,
4000
4048
  city: e.city,
@@ -4006,9 +4054,9 @@ function wc(e) {
4006
4054
  email: e.email,
4007
4055
  fax: e.fax,
4008
4056
  hotel_images: e.hotelImages === void 0 ? void 0 : e.hotelImages === null ? null : e.hotelImages.map(ye),
4009
- hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(kt),
4057
+ hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(Tt),
4010
4058
  id: e.id,
4011
- images: wt(e.images),
4059
+ images: Rt(e.images),
4012
4060
  latitude: e.latitude,
4013
4061
  longitude: e.longitude,
4014
4062
  name: e.name,
@@ -4020,22 +4068,22 @@ function wc(e) {
4020
4068
  state: e.state,
4021
4069
  ta_id: e.taId,
4022
4070
  timezone: e.timezone,
4023
- venues: e.venues === void 0 ? void 0 : e.venues.map(Mt),
4071
+ venues: e.venues === void 0 ? void 0 : e.venues.map(Ct),
4024
4072
  website: e.website
4025
4073
  };
4026
4074
  }
4027
- function Rc(e) {
4075
+ function Lc(e) {
4028
4076
  let t = !0;
4029
4077
  return t = t && "hotelImages" in e, t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "name" in e, t = t && "timezone" in e, t = t && "hotelRoomOffers" in e, t;
4030
4078
  }
4031
- function Cr(e) {
4032
- return Ir(e, !1);
4079
+ function Pr(e) {
4080
+ return Er(e, !1);
4033
4081
  }
4034
- function Ir(e, t) {
4082
+ function Er(e, t) {
4035
4083
  return e == null ? e : {
4036
4084
  address: r(e, "address") ? e.address : void 0,
4037
4085
  address2: r(e, "address2") ? e.address2 : void 0,
4038
- amenities: r(e, "amenities") ? st(e.amenities) : void 0,
4086
+ amenities: r(e, "amenities") ? dt(e.amenities) : void 0,
4039
4087
  checkInTime: r(e, "check_in_time") ? e.check_in_time : void 0,
4040
4088
  checkOutTime: r(e, "check_out_time") ? e.check_out_time : void 0,
4041
4089
  city: r(e, "city") ? e.city : void 0,
@@ -4047,9 +4095,9 @@ function Ir(e, t) {
4047
4095
  email: r(e, "email") ? e.email : void 0,
4048
4096
  fax: r(e, "fax") ? e.fax : void 0,
4049
4097
  hotelImages: e.hotel_images.map(le),
4050
- hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(Rt) : void 0,
4098
+ hotelReviewRatings: r(e, "hotel_review_ratings") ? e.hotel_review_ratings === null ? null : e.hotel_review_ratings.map(kt) : void 0,
4051
4099
  id: e.id,
4052
- images: r(e, "images") ? St(e.images) : void 0,
4100
+ images: r(e, "images") ? wt(e.images) : void 0,
4053
4101
  latitude: e.latitude,
4054
4102
  longitude: e.longitude,
4055
4103
  name: e.name,
@@ -4061,18 +4109,18 @@ function Ir(e, t) {
4061
4109
  state: r(e, "state") ? e.state : void 0,
4062
4110
  taId: r(e, "ta_id") ? e.ta_id : void 0,
4063
4111
  timezone: e.timezone,
4064
- venues: r(e, "venues") ? e.venues.map(Tt) : void 0,
4112
+ venues: r(e, "venues") ? e.venues.map(Mt) : void 0,
4065
4113
  website: r(e, "website") ? e.website : void 0,
4066
4114
  hotelRoomOffers: e.hotel_room_offers.map(me),
4067
- tags: r(e, "tags") ? e.tags.map(Be) : void 0
4115
+ tags: r(e, "tags") ? e.tags.map(He) : void 0
4068
4116
  };
4069
4117
  }
4070
- function Dr(e) {
4118
+ function Lr(e) {
4071
4119
  if (e !== void 0)
4072
4120
  return e === null ? null : {
4073
4121
  address: e.address,
4074
4122
  address2: e.address2,
4075
- amenities: dt(e.amenities),
4123
+ amenities: ut(e.amenities),
4076
4124
  check_in_time: e.checkInTime,
4077
4125
  check_out_time: e.checkOutTime,
4078
4126
  city: e.city,
@@ -4084,9 +4132,9 @@ function Dr(e) {
4084
4132
  email: e.email,
4085
4133
  fax: e.fax,
4086
4134
  hotel_images: e.hotelImages.map(ye),
4087
- hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(kt),
4135
+ hotel_review_ratings: e.hotelReviewRatings === void 0 ? void 0 : e.hotelReviewRatings === null ? null : e.hotelReviewRatings.map(Tt),
4088
4136
  id: e.id,
4089
- images: wt(e.images),
4137
+ images: Rt(e.images),
4090
4138
  latitude: e.latitude,
4091
4139
  longitude: e.longitude,
4092
4140
  name: e.name,
@@ -4098,42 +4146,42 @@ function Dr(e) {
4098
4146
  state: e.state,
4099
4147
  ta_id: e.taId,
4100
4148
  timezone: e.timezone,
4101
- venues: e.venues === void 0 ? void 0 : e.venues.map(Mt),
4149
+ venues: e.venues === void 0 ? void 0 : e.venues.map(Ct),
4102
4150
  website: e.website,
4103
4151
  hotel_room_offers: e.hotelRoomOffers.map(he),
4104
- tags: e.tags === void 0 ? void 0 : e.tags.map(Fe)
4152
+ tags: e.tags === void 0 ? void 0 : e.tags.map(Be)
4105
4153
  };
4106
4154
  }
4107
- function kc(e) {
4155
+ function Fc(e) {
4108
4156
  let t = !0;
4109
4157
  return t = t && "hotelImages" in e, t = t && "hotelRoomOffers" in e, t;
4110
4158
  }
4111
- function Tc(e) {
4112
- return br(e, !1);
4159
+ function Hc(e) {
4160
+ return Fr(e, !1);
4113
4161
  }
4114
- function br(e, t) {
4162
+ function Fr(e, t) {
4115
4163
  return e == null ? e : {
4116
4164
  hotelImages: e.hotel_images.map(le),
4117
4165
  hotelRoomOffers: e.hotel_room_offers.map(me),
4118
- tags: r(e, "tags") ? e.tags.map(Be) : void 0
4166
+ tags: r(e, "tags") ? e.tags.map(He) : void 0
4119
4167
  };
4120
4168
  }
4121
- function Mc(e) {
4169
+ function Bc(e) {
4122
4170
  if (e !== void 0)
4123
4171
  return e === null ? null : {
4124
4172
  hotel_images: e.hotelImages.map(ye),
4125
4173
  hotel_room_offers: e.hotelRoomOffers.map(he),
4126
- tags: e.tags === void 0 ? void 0 : e.tags.map(Fe)
4174
+ tags: e.tags === void 0 ? void 0 : e.tags.map(Be)
4127
4175
  };
4128
4176
  }
4129
- function Cc(e) {
4177
+ function xc(e) {
4130
4178
  let t = !0;
4131
4179
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "createdAt" in e, t = t && "id" in e, t = t && "latitude" in e, t = t && "longitude" in e, t = t && "roomCount" in e, t = t && "sourceMarket" in e, t;
4132
4180
  }
4133
4181
  function Ke(e) {
4134
- return vr(e, !1);
4182
+ return Hr(e, !1);
4135
4183
  }
4136
- function vr(e, t) {
4184
+ function Hr(e, t) {
4137
4185
  return e == null ? e : {
4138
4186
  address: r(e, "address") ? e.address : void 0,
4139
4187
  adultCount: e.adult_count,
@@ -4149,7 +4197,7 @@ function vr(e, t) {
4149
4197
  sourceMarket: ge(e.source_market)
4150
4198
  };
4151
4199
  }
4152
- function Ic(e) {
4200
+ function Jc(e) {
4153
4201
  if (e !== void 0)
4154
4202
  return e === null ? null : {
4155
4203
  address: e.address,
@@ -4166,14 +4214,14 @@ function Ic(e) {
4166
4214
  source_market: e.sourceMarket
4167
4215
  };
4168
4216
  }
4169
- function Dc(e) {
4217
+ function Uc(e) {
4170
4218
  let t = !0;
4171
4219
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "roomCount" in e, t;
4172
4220
  }
4173
- function bc(e) {
4174
- return Nr(e, !1);
4221
+ function Gc(e) {
4222
+ return Br(e, !1);
4175
4223
  }
4176
- function Nr(e, t) {
4224
+ function Br(e, t) {
4177
4225
  return e == null ? e : {
4178
4226
  address: r(e, "address") ? e.address : void 0,
4179
4227
  adultCount: e.adult_count,
@@ -4186,7 +4234,7 @@ function Nr(e, t) {
4186
4234
  roomCount: e.room_count
4187
4235
  };
4188
4236
  }
4189
- function Pr(e) {
4237
+ function xr(e) {
4190
4238
  if (e !== void 0)
4191
4239
  return e === null ? null : {
4192
4240
  address: e.address,
@@ -4200,27 +4248,27 @@ function Pr(e) {
4200
4248
  room_count: e.roomCount
4201
4249
  };
4202
4250
  }
4203
- var vc = {
4251
+ var $c = {
4204
4252
  Complete: "COMPLETE",
4205
4253
  InProgress: "IN_PROGRESS"
4206
4254
  };
4207
4255
  function xe(e) {
4208
- return Er(e, !1);
4256
+ return Jr(e, !1);
4209
4257
  }
4210
- function Er(e, t) {
4258
+ function Jr(e, t) {
4211
4259
  return e;
4212
4260
  }
4213
- function Nc(e) {
4261
+ function qc(e) {
4214
4262
  return e;
4215
4263
  }
4216
- function Pc(e) {
4264
+ function Kc(e) {
4217
4265
  let t = !0;
4218
4266
  return t = t && "totalCount" in e, t = t && "status" in e, t;
4219
4267
  }
4220
- function Lr(e) {
4221
- return Hr(e, !1);
4268
+ function Ur(e) {
4269
+ return Gr(e, !1);
4222
4270
  }
4223
- function Hr(e, t) {
4271
+ function Gr(e, t) {
4224
4272
  return e == null ? e : {
4225
4273
  endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
4226
4274
  limit: r(e, "limit") ? e.limit : void 0,
@@ -4229,7 +4277,7 @@ function Hr(e, t) {
4229
4277
  status: xe(e.status)
4230
4278
  };
4231
4279
  }
4232
- function Br(e) {
4280
+ function $r(e) {
4233
4281
  if (e !== void 0)
4234
4282
  return e === null ? null : {
4235
4283
  ending_before: e.endingBefore,
@@ -4239,27 +4287,27 @@ function Br(e) {
4239
4287
  status: e.status
4240
4288
  };
4241
4289
  }
4242
- function Ec(e) {
4290
+ function Yc(e) {
4243
4291
  let t = !0;
4244
4292
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelOffers" in e, t;
4245
4293
  }
4246
- function Fr(e) {
4247
- return xr(e, !1);
4294
+ function qr(e) {
4295
+ return Kr(e, !1);
4248
4296
  }
4249
- function xr(e, t) {
4297
+ function Kr(e, t) {
4250
4298
  return e == null ? e : {
4251
4299
  adultCount: e.adult_count,
4252
4300
  checkInDate: e.check_in_date,
4253
4301
  checkOutDate: e.check_out_date,
4254
4302
  children: r(e, "children") ? e.children : void 0,
4255
4303
  currency: ce(e.currency),
4256
- hotelOffers: e.hotel_offers.map(Cr),
4304
+ hotelOffers: e.hotel_offers.map(Pr),
4257
4305
  priceHistogram: r(e, "price_histogram") ? e.price_histogram : void 0,
4258
4306
  priceMax: r(e, "price_max") ? e.price_max : void 0,
4259
4307
  priceMin: r(e, "price_min") ? e.price_min : void 0
4260
4308
  };
4261
4309
  }
4262
- function Jr(e) {
4310
+ function Yr(e) {
4263
4311
  if (e !== void 0)
4264
4312
  return e === null ? null : {
4265
4313
  adult_count: e.adultCount,
@@ -4267,56 +4315,56 @@ function Jr(e) {
4267
4315
  check_out_date: e.checkOutDate,
4268
4316
  children: e.children,
4269
4317
  currency: e.currency,
4270
- hotel_offers: e.hotelOffers.map(Dr),
4318
+ hotel_offers: e.hotelOffers.map(Lr),
4271
4319
  price_histogram: e.priceHistogram,
4272
4320
  price_max: e.priceMax,
4273
4321
  price_min: e.priceMin
4274
4322
  };
4275
4323
  }
4276
- function Lc(e) {
4324
+ function Vc(e) {
4277
4325
  let t = !0;
4278
4326
  return t = t && "data" in e, t = t && "meta" in e, t;
4279
4327
  }
4280
- function Ur(e) {
4281
- return Gr(e, !1);
4328
+ function Vr(e) {
4329
+ return zr(e, !1);
4282
4330
  }
4283
- function Gr(e, t) {
4331
+ function zr(e, t) {
4284
4332
  return e == null ? e : {
4285
- data: Fr(e.data),
4333
+ data: qr(e.data),
4286
4334
  event: r(e, "event") ? e.event : void 0,
4287
- meta: Lr(e.meta)
4335
+ meta: Ur(e.meta)
4288
4336
  };
4289
4337
  }
4290
- function Hc(e) {
4338
+ function zc(e) {
4291
4339
  if (e !== void 0)
4292
4340
  return e === null ? null : {
4293
- data: Jr(e.data),
4341
+ data: Yr(e.data),
4294
4342
  event: e.event,
4295
- meta: Br(e.meta)
4343
+ meta: $r(e.meta)
4296
4344
  };
4297
4345
  }
4298
- function Bc(e) {
4346
+ function Zc(e) {
4299
4347
  let t = !0;
4300
4348
  return t = t && "totalCount" in e, t;
4301
4349
  }
4302
- function Fc(e) {
4303
- return $r(e, !1);
4350
+ function Wc(e) {
4351
+ return Zr(e, !1);
4304
4352
  }
4305
- function $r(e, t) {
4353
+ function Zr(e, t) {
4306
4354
  return e == null ? e : { totalCount: e.total_count };
4307
4355
  }
4308
- function xc(e) {
4356
+ function Xc(e) {
4309
4357
  if (e !== void 0)
4310
4358
  return e === null ? null : { total_count: e.totalCount };
4311
4359
  }
4312
- function Jc(e) {
4360
+ function Qc(e) {
4313
4361
  let t = !0;
4314
4362
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffer" in e, t;
4315
4363
  }
4316
- function qr(e) {
4317
- return Kr(e, !1);
4364
+ function Wr(e) {
4365
+ return Xr(e, !1);
4318
4366
  }
4319
- function Kr(e, t) {
4367
+ function Xr(e, t) {
4320
4368
  return e == null ? e : {
4321
4369
  adultCount: e.adult_count,
4322
4370
  checkInDate: e.check_in_date,
@@ -4327,7 +4375,7 @@ function Kr(e, t) {
4327
4375
  hotelRoomOffer: me(e.hotel_room_offer)
4328
4376
  };
4329
4377
  }
4330
- function Uc(e) {
4378
+ function jc(e) {
4331
4379
  if (e !== void 0)
4332
4380
  return e === null ? null : {
4333
4381
  adult_count: e.adultCount,
@@ -4339,14 +4387,14 @@ function Uc(e) {
4339
4387
  hotel_room_offer: he(e.hotelRoomOffer)
4340
4388
  };
4341
4389
  }
4342
- function Gc(e) {
4390
+ function es(e) {
4343
4391
  let t = !0;
4344
4392
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t = t && "createdAt" in e, t = t && "id" in e, t = t && "sourceMarket" in e, t;
4345
4393
  }
4346
4394
  function Ye(e) {
4347
- return Yr(e, !1);
4395
+ return Qr(e, !1);
4348
4396
  }
4349
- function Yr(e, t) {
4397
+ function Qr(e, t) {
4350
4398
  return e == null ? e : {
4351
4399
  adultCount: e.adult_count,
4352
4400
  checkInDate: e.check_in_date,
@@ -4360,7 +4408,7 @@ function Yr(e, t) {
4360
4408
  sourceMarket: ge(e.source_market)
4361
4409
  };
4362
4410
  }
4363
- function $c(e) {
4411
+ function ts(e) {
4364
4412
  if (e !== void 0)
4365
4413
  return e === null ? null : {
4366
4414
  adult_count: e.adultCount,
@@ -4375,14 +4423,14 @@ function $c(e) {
4375
4423
  source_market: e.sourceMarket
4376
4424
  };
4377
4425
  }
4378
- function qc(e) {
4426
+ function is(e) {
4379
4427
  let t = !0;
4380
4428
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t;
4381
4429
  }
4382
- function Kc(e) {
4383
- return zr(e, !1);
4430
+ function ns(e) {
4431
+ return jr(e, !1);
4384
4432
  }
4385
- function zr(e, t) {
4433
+ function jr(e, t) {
4386
4434
  return e == null ? e : {
4387
4435
  adultCount: e.adult_count,
4388
4436
  checkInDate: e.check_in_date,
@@ -4393,7 +4441,7 @@ function zr(e, t) {
4393
4441
  roomCount: e.room_count
4394
4442
  };
4395
4443
  }
4396
- function Yc(e) {
4444
+ function rs(e) {
4397
4445
  if (e !== void 0)
4398
4446
  return e === null ? null : {
4399
4447
  adult_count: e.adultCount,
@@ -4405,21 +4453,21 @@ function Yc(e) {
4405
4453
  room_count: e.roomCount
4406
4454
  };
4407
4455
  }
4408
- function zc(e) {
4456
+ function os(e) {
4409
4457
  let t = !0;
4410
4458
  return t = t && "createdAt" in e, t = t && "id" in e, t = t && "sourceMarket" in e, t;
4411
4459
  }
4412
- function Vc(e) {
4413
- return Vr(e, !1);
4460
+ function as(e) {
4461
+ return eo(e, !1);
4414
4462
  }
4415
- function Vr(e, t) {
4463
+ function eo(e, t) {
4416
4464
  return e == null ? e : {
4417
4465
  createdAt: e.created_at,
4418
4466
  id: e.id,
4419
4467
  sourceMarket: ge(e.source_market)
4420
4468
  };
4421
4469
  }
4422
- function Zc(e) {
4470
+ function cs(e) {
4423
4471
  if (e !== void 0)
4424
4472
  return e === null ? null : {
4425
4473
  created_at: e.createdAt,
@@ -4427,14 +4475,14 @@ function Zc(e) {
4427
4475
  source_market: e.sourceMarket
4428
4476
  };
4429
4477
  }
4430
- function Wc(e) {
4478
+ function ss(e) {
4431
4479
  let t = !0;
4432
4480
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "hotelId" in e, t = t && "roomCount" in e, t;
4433
4481
  }
4434
- function Xc(e) {
4435
- return Zr(e, !1);
4482
+ function ds(e) {
4483
+ return to(e, !1);
4436
4484
  }
4437
- function Zr(e, t) {
4485
+ function to(e, t) {
4438
4486
  return e == null ? e : {
4439
4487
  adultCount: e.adult_count,
4440
4488
  checkInDate: e.check_in_date,
@@ -4445,7 +4493,7 @@ function Zr(e, t) {
4445
4493
  roomCount: e.room_count
4446
4494
  };
4447
4495
  }
4448
- function Wr(e) {
4496
+ function io(e) {
4449
4497
  if (e !== void 0)
4450
4498
  return e === null ? null : {
4451
4499
  adult_count: e.adultCount,
@@ -4457,14 +4505,14 @@ function Wr(e) {
4457
4505
  room_count: e.roomCount
4458
4506
  };
4459
4507
  }
4460
- function Qc(e) {
4508
+ function us(e) {
4461
4509
  let t = !0;
4462
4510
  return t = t && "adultCount" in e, t = t && "checkInDate" in e, t = t && "checkOutDate" in e, t = t && "currency" in e, t = t && "hotelId" in e, t = t && "hotelRoomOffers" in e, t = t && "hotelTimezone" in e, t;
4463
4511
  }
4464
- function Xr(e) {
4465
- return Qr(e, !1);
4512
+ function no(e) {
4513
+ return ro(e, !1);
4466
4514
  }
4467
- function Qr(e, t) {
4515
+ function ro(e, t) {
4468
4516
  return e == null ? e : {
4469
4517
  adultCount: e.adult_count,
4470
4518
  checkInDate: e.check_in_date,
@@ -4476,7 +4524,7 @@ function Qr(e, t) {
4476
4524
  hotelTimezone: e.hotel_timezone
4477
4525
  };
4478
4526
  }
4479
- function jr(e) {
4527
+ function oo(e) {
4480
4528
  if (e !== void 0)
4481
4529
  return e === null ? null : {
4482
4530
  adult_count: e.adultCount,
@@ -4489,14 +4537,14 @@ function jr(e) {
4489
4537
  hotel_timezone: e.hotelTimezone
4490
4538
  };
4491
4539
  }
4492
- function jc(e) {
4540
+ function fs(e) {
4493
4541
  let t = !0;
4494
4542
  return t = t && "status" in e, t;
4495
4543
  }
4496
- function eo(e) {
4497
- return to(e, !1);
4544
+ function ao(e) {
4545
+ return co(e, !1);
4498
4546
  }
4499
- function to(e, t) {
4547
+ function co(e, t) {
4500
4548
  return e == null ? e : {
4501
4549
  endingBefore: r(e, "ending_before") ? e.ending_before : void 0,
4502
4550
  limit: r(e, "limit") ? e.limit : void 0,
@@ -4505,7 +4553,7 @@ function to(e, t) {
4505
4553
  status: xe(e.status)
4506
4554
  };
4507
4555
  }
4508
- function io(e) {
4556
+ function so(e) {
4509
4557
  if (e !== void 0)
4510
4558
  return e === null ? null : {
4511
4559
  ending_before: e.endingBefore,
@@ -4515,43 +4563,43 @@ function io(e) {
4515
4563
  status: e.status
4516
4564
  };
4517
4565
  }
4518
- function es(e) {
4566
+ function ls(e) {
4519
4567
  let t = !0;
4520
4568
  return t = t && "data" in e, t = t && "meta" in e, t;
4521
4569
  }
4522
- function no(e) {
4523
- return ro(e, !1);
4570
+ function uo(e) {
4571
+ return fo(e, !1);
4524
4572
  }
4525
- function ro(e, t) {
4573
+ function fo(e, t) {
4526
4574
  return e == null ? e : {
4527
- data: Xr(e.data),
4575
+ data: no(e.data),
4528
4576
  event: r(e, "event") ? e.event : void 0,
4529
- meta: eo(e.meta)
4577
+ meta: ao(e.meta)
4530
4578
  };
4531
4579
  }
4532
- function ts(e) {
4580
+ function ms(e) {
4533
4581
  if (e !== void 0)
4534
4582
  return e === null ? null : {
4535
- data: jr(e.data),
4583
+ data: oo(e.data),
4536
4584
  event: e.event,
4537
- meta: io(e.meta)
4585
+ meta: so(e.meta)
4538
4586
  };
4539
4587
  }
4540
- function is(e) {
4588
+ function hs(e) {
4541
4589
  let t = !0;
4542
4590
  return t = t && "count" in e, t = t && "hotelRoomOfferId" in e, t;
4543
4591
  }
4544
- function oo(e) {
4545
- return ao(e, !1);
4592
+ function lo(e) {
4593
+ return mo(e, !1);
4546
4594
  }
4547
- function ao(e, t) {
4595
+ function mo(e, t) {
4548
4596
  return e == null ? e : {
4549
4597
  breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
4550
4598
  count: e.count,
4551
4599
  hotelRoomOfferId: e.hotel_room_offer_id
4552
4600
  };
4553
4601
  }
4554
- function co(e) {
4602
+ function ho(e) {
4555
4603
  if (e !== void 0)
4556
4604
  return e === null ? null : {
4557
4605
  breakfast_count: e.breakfastCount,
@@ -4559,121 +4607,152 @@ function co(e) {
4559
4607
  hotel_room_offer_id: e.hotelRoomOfferId
4560
4608
  };
4561
4609
  }
4562
- function ns(e) {
4610
+ function ps(e) {
4563
4611
  let t = !0;
4564
4612
  return t = t && "currency" in e, t = t && "hotelRoomOffers" in e, t;
4565
4613
  }
4566
- function rs(e) {
4567
- return so(e, !1);
4614
+ function ys(e) {
4615
+ return po(e, !1);
4568
4616
  }
4569
- function so(e, t) {
4617
+ function po(e, t) {
4570
4618
  return e == null ? e : {
4571
4619
  addBreakfast: r(e, "add_breakfast") ? e.add_breakfast : void 0,
4572
4620
  breakfastCount: r(e, "breakfast_count") ? e.breakfast_count : void 0,
4573
4621
  currency: ce(e.currency),
4574
- hotelRoomOffers: e.hotel_room_offers.map(oo),
4575
- lang: r(e, "lang") ? He(e.lang) : void 0
4622
+ hotelRoomOffers: e.hotel_room_offers.map(lo),
4623
+ lang: r(e, "lang") ? Fe(e.lang) : void 0
4576
4624
  };
4577
4625
  }
4578
- function uo(e) {
4626
+ function yo(e) {
4579
4627
  if (e !== void 0)
4580
4628
  return e === null ? null : {
4581
4629
  add_breakfast: e.addBreakfast,
4582
4630
  breakfast_count: e.breakfastCount,
4583
4631
  currency: e.currency,
4584
- hotel_room_offers: e.hotelRoomOffers.map(co),
4632
+ hotel_room_offers: e.hotelRoomOffers.map(ho),
4585
4633
  lang: e.lang
4586
4634
  };
4587
4635
  }
4588
- function os(e) {
4636
+ function gs(e) {
4589
4637
  let t = !0;
4590
4638
  return t = t && "fullname" in e, t = t && "hotelRoomingListId" in e, t;
4591
4639
  }
4592
- function as(e) {
4593
- return fo(e, !1);
4640
+ function _s(e) {
4641
+ return go(e, !1);
4594
4642
  }
4595
- function fo(e, t) {
4643
+ function go(e, t) {
4596
4644
  return e == null ? e : {
4597
4645
  fullname: e.fullname,
4598
4646
  hotelRoomingListId: e.hotel_rooming_list_id
4599
4647
  };
4600
4648
  }
4601
- function lo(e) {
4649
+ function _o(e) {
4602
4650
  if (e !== void 0)
4603
4651
  return e === null ? null : {
4604
4652
  fullname: e.fullname,
4605
4653
  hotel_rooming_list_id: e.hotelRoomingListId
4606
4654
  };
4607
4655
  }
4608
- function cs(e) {
4656
+ function Os(e) {
4609
4657
  let t = !0;
4610
4658
  return t = t && "fullname" in e, t;
4611
4659
  }
4612
- function ss(e) {
4613
- return mo(e, !1);
4660
+ function As(e) {
4661
+ return Oo(e, !1);
4614
4662
  }
4615
- function mo(e, t) {
4663
+ function Oo(e, t) {
4616
4664
  return e == null ? e : { fullname: e.fullname };
4617
4665
  }
4618
- function ho(e) {
4666
+ function Ao(e) {
4619
4667
  if (e !== void 0)
4620
4668
  return e === null ? null : { fullname: e.fullname };
4621
4669
  }
4622
- function ds(e) {
4670
+ function Ss(e) {
4623
4671
  let t = !0;
4624
4672
  return t = t && "status" in e, t;
4625
4673
  }
4626
- function us(e) {
4627
- return po(e, !1);
4674
+ function ws(e) {
4675
+ return So(e, !1);
4628
4676
  }
4629
- function po(e, t) {
4677
+ function So(e, t) {
4630
4678
  return e == null ? e : { status: xe(e.status) };
4631
4679
  }
4632
- function fs(e) {
4680
+ function Rs(e) {
4633
4681
  if (e !== void 0)
4634
4682
  return e === null ? null : { status: e.status };
4635
4683
  }
4636
- function ls(e) {
4684
+ function ks(e) {
4637
4685
  let t = !0;
4638
4686
  return t = t && "paymentMethods" in e, t;
4639
4687
  }
4640
- function ms(e) {
4641
- return yo(e, !1);
4688
+ function Ts(e) {
4689
+ return wo(e, !1);
4690
+ }
4691
+ function wo(e, t) {
4692
+ return e == null ? e : { paymentMethods: e.payment_methods.map(At) };
4693
+ }
4694
+ function Ro(e) {
4695
+ if (e !== void 0)
4696
+ return e === null ? null : { payment_methods: e.paymentMethods.map(St) };
4697
+ }
4698
+ var Ms = {
4699
+ AddOrRemoveNights: "add_or_remove_nights",
4700
+ AddOrRemovePerson: "add_or_remove_person",
4701
+ ChangeDates: "change_dates",
4702
+ ChangeGuestName: "change_guest_name",
4703
+ EarlyCheckIn: "early_check_in",
4704
+ EarlyCheckInLateCheckOut: "early_check_in_late_check_out",
4705
+ LateCheckOut: "late_check_out",
4706
+ Other: "other",
4707
+ SpecialRequest: "special_request"
4708
+ };
4709
+ function Cs(e) {
4710
+ let t = !0;
4711
+ return t = t && "message" in e, t = t && "requestType" in e, t;
4712
+ }
4713
+ function Is(e) {
4714
+ return ko(e, !1);
4642
4715
  }
4643
- function yo(e, t) {
4644
- return e == null ? e : { paymentMethods: e.payment_methods.map(Ot) };
4716
+ function ko(e, t) {
4717
+ return e == null ? e : {
4718
+ message: e.message,
4719
+ requestType: e.requestType
4720
+ };
4645
4721
  }
4646
- function go(e) {
4722
+ function To(e) {
4647
4723
  if (e !== void 0)
4648
- return e === null ? null : { payment_methods: e.paymentMethods.map(At) };
4724
+ return e === null ? null : {
4725
+ message: e.message,
4726
+ requestType: e.requestType
4727
+ };
4649
4728
  }
4650
- var _o = class extends ie {
4729
+ var Mo = class extends ie {
4651
4730
  async retrieveRaw(e, t) {
4652
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
4731
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
4653
4732
  const i = {}, n = {};
4654
4733
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4655
4734
  const o = await this.request({
4656
4735
  path: "/v1/booking_policies/{id}".replace("{id}", encodeURIComponent(String(e.id))),
4657
4736
  method: "GET",
4658
4737
  headers: n,
4659
- query: N(i, b.Snake)
4738
+ query: v(i, I.Snake)
4660
4739
  }, t);
4661
- return await new q(o, (s) => qe(s)).value();
4740
+ return await new K(o, (s) => qe(s)).value();
4662
4741
  }
4663
4742
  async retrieve(e, t) {
4664
4743
  return this.retrieveRaw(e, t);
4665
4744
  }
4666
4745
  async paymentMethodsRaw(e, t) {
4667
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
4746
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
4668
4747
  const i = {}, n = {};
4669
4748
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4670
4749
  const o = await this.request({
4671
4750
  path: "/v1/booking_policies/{id}/payment_methods".replace("{id}", encodeURIComponent(String(e.id))),
4672
4751
  method: "GET",
4673
4752
  headers: n,
4674
- query: N(i, b.Snake)
4753
+ query: v(i, I.Snake)
4675
4754
  }, t);
4676
- return new q(o, (s) => s.map(Yi)).value();
4755
+ return new K(o, (s) => s.map(Yi)).value();
4677
4756
  }
4678
4757
  async paymentMethods(e, t) {
4679
4758
  return this.paymentMethodsRaw(e, t);
@@ -4685,24 +4764,24 @@ var _o = class extends ie {
4685
4764
  path: "/v1/booking_policies",
4686
4765
  method: "POST",
4687
4766
  headers: n,
4688
- query: N(i, b.Snake),
4689
- body: N(fr(e.bookingPoliciesCreateApi), b.Snake)
4767
+ query: v(i, I.Snake),
4768
+ body: v(gr(e.bookingPoliciesCreateApi), I.Snake)
4690
4769
  }, t);
4691
- return await new q(o, (s) => qe(s)).value();
4770
+ return await new K(o, (s) => qe(s)).value();
4692
4771
  }
4693
4772
  async create(e = {}, t) {
4694
4773
  return this.createRaw(e, t);
4695
4774
  }
4696
- }, Oo = class extends ie {
4775
+ }, Co = class extends ie {
4697
4776
  async deleteRaw(e, t) {
4698
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
4777
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
4699
4778
  const i = await this.request({
4700
4779
  path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(e.token))),
4701
4780
  method: "DELETE",
4702
4781
  headers: {},
4703
- query: N({}, b.Snake)
4782
+ query: v({}, I.Snake)
4704
4783
  }, t);
4705
- return await new q(i, (n) => re(n)).value();
4784
+ return await new K(i, (n) => re(n)).value();
4706
4785
  }
4707
4786
  async delete(e, t) {
4708
4787
  return this.deleteRaw(e, t);
@@ -4716,37 +4795,37 @@ var _o = class extends ie {
4716
4795
  path: "/v1/bookings",
4717
4796
  method: "GET",
4718
4797
  headers: n,
4719
- query: N(i, b.Snake)
4798
+ query: v(i, I.Snake)
4720
4799
  }, t);
4721
- return await new q(o, (s) => pr(s)).value();
4800
+ return await new K(o, (s) => Sr(s)).value();
4722
4801
  }
4723
4802
  async list(e = {}, t) {
4724
4803
  return this.listRaw(e, t);
4725
4804
  }
4726
4805
  async retrieveRaw(e, t) {
4727
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
4806
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
4728
4807
  const i = {}, n = {};
4729
4808
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4730
4809
  const o = await this.request({
4731
4810
  path: "/v1/bookings/{id}".replace("{id}", encodeURIComponent(String(e.id))),
4732
4811
  method: "GET",
4733
4812
  headers: n,
4734
- query: N(i, b.Snake)
4813
+ query: v(i, I.Snake)
4735
4814
  }, t);
4736
- return await new q(o, (s) => re(s)).value();
4815
+ return await new K(o, (s) => re(s)).value();
4737
4816
  }
4738
4817
  async retrieve(e, t) {
4739
4818
  return this.retrieveRaw(e, t);
4740
4819
  }
4741
4820
  async retrievePublicRaw(e, t) {
4742
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
4821
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
4743
4822
  const i = await this.request({
4744
4823
  path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(e.token))),
4745
4824
  method: "GET",
4746
4825
  headers: {},
4747
- query: N({}, b.Snake)
4826
+ query: v({}, I.Snake)
4748
4827
  }, t);
4749
- return await new q(i, (n) => re(n)).value();
4828
+ return await new K(i, (n) => re(n)).value();
4750
4829
  }
4751
4830
  async retrievePublic(e, t) {
4752
4831
  return this.retrievePublicRaw(e, t);
@@ -4758,101 +4837,117 @@ var _o = class extends ie {
4758
4837
  path: "/v1/bookings",
4759
4838
  method: "POST",
4760
4839
  headers: n,
4761
- query: N(i, b.Snake),
4762
- body: N(sr(e.bookingCreateApi), b.Snake)
4840
+ query: v(i, I.Snake),
4841
+ body: v(fr(e.bookingCreateApi), I.Snake)
4763
4842
  }, t);
4764
- return await new q(o, (s) => re(s)).value();
4843
+ return await new K(o, (s) => re(s)).value();
4765
4844
  }
4766
4845
  async create(e = {}, t) {
4767
4846
  return this.createRaw(e, t);
4768
4847
  }
4769
4848
  async couponChargeRaw(e, t) {
4770
- if (e.couponId === null || e.couponId === void 0) throw new K("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
4771
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
4849
+ if (e.couponId === null || e.couponId === void 0) throw new $("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
4850
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
4772
4851
  const i = {}, n = {};
4773
4852
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4774
4853
  const o = await this.request({
4775
4854
  path: "/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}", encodeURIComponent(String(e.couponId))).replace("{id}", encodeURIComponent(String(e.id))),
4776
4855
  method: "POST",
4777
4856
  headers: n,
4778
- query: N(i, b.Snake)
4857
+ query: v(i, I.Snake)
4779
4858
  }, t);
4780
- return await new q(o, (s) => re(s)).value();
4859
+ return await new K(o, (s) => re(s)).value();
4781
4860
  }
4782
4861
  async couponCharge(e, t) {
4783
4862
  return this.couponChargeRaw(e, t);
4784
4863
  }
4785
4864
  async paylaterRaw(e, t) {
4786
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
4865
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
4787
4866
  const i = {}, n = {};
4788
4867
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4789
4868
  const o = await this.request({
4790
4869
  path: "/v1/bookings/{id}/pay-later".replace("{id}", encodeURIComponent(String(e.id))),
4791
4870
  method: "POST",
4792
4871
  headers: n,
4793
- query: N(i, b.Snake)
4872
+ query: v(i, I.Snake)
4794
4873
  }, t);
4795
- return await new q(o, (s) => re(s)).value();
4874
+ return await new K(o, (s) => re(s)).value();
4796
4875
  }
4797
4876
  async paylater(e, t) {
4798
4877
  return this.paylaterRaw(e, t);
4799
4878
  }
4800
4879
  async confirmpaylaterRaw(e, t) {
4801
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
4880
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
4802
4881
  const i = {}, n = {};
4803
4882
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4804
4883
  const o = await this.request({
4805
4884
  path: "/v1/bookings/{id}/pay-later/confirm".replace("{id}", encodeURIComponent(String(e.id))),
4806
4885
  method: "POST",
4807
4886
  headers: n,
4808
- query: N(i, b.Snake)
4887
+ query: v(i, I.Snake)
4809
4888
  }, t);
4810
- return await new q(o, (s) => re(s)).value();
4889
+ return await new K(o, (s) => re(s)).value();
4811
4890
  }
4812
4891
  async confirmpaylater(e, t) {
4813
4892
  return this.confirmpaylaterRaw(e, t);
4814
4893
  }
4815
4894
  async confirmRaw(e, t) {
4816
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
4895
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
4817
4896
  const i = {}, n = {};
4818
4897
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4819
4898
  const o = await this.request({
4820
4899
  path: "/v1/bookings/{id}/confirm".replace("{id}", encodeURIComponent(String(e.id))),
4821
4900
  method: "POST",
4822
4901
  headers: n,
4823
- query: N(i, b.Snake)
4902
+ query: v(i, I.Snake)
4824
4903
  }, t);
4825
- return await new q(o, (s) => re(s)).value();
4904
+ return await new K(o, (s) => re(s)).value();
4826
4905
  }
4827
4906
  async confirm(e, t) {
4828
4907
  return this.confirmRaw(e, t);
4829
4908
  }
4909
+ async submitRequestRaw(e, t) {
4910
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling postV1BookingsTokenRequest.");
4911
+ const i = {}, n = {};
4912
+ n["Content-Type"] = "application/json";
4913
+ const o = await this.request({
4914
+ path: "/v1/bookings/{token}/request".replace("{token}", encodeURIComponent(String(e.token))),
4915
+ method: "POST",
4916
+ headers: n,
4917
+ query: v(i, I.Snake),
4918
+ body: v(To(e.requestPayload), I.Snake)
4919
+ }, t);
4920
+ return new rt(o);
4921
+ }
4922
+ async submitRequest(e, t) {
4923
+ return this.submitRequestRaw(e, t);
4924
+ }
4830
4925
  async updatePaymentMethodsRaw(e, t) {
4831
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
4926
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
4832
4927
  const i = {}, n = {};
4833
4928
  n["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4834
4929
  const o = await this.request({
4835
4930
  path: "/v1/bookings/{id}/payment_methods".replace("{id}", encodeURIComponent(String(e.id))),
4836
4931
  method: "PUT",
4837
4932
  headers: n,
4838
- query: N(i, b.Snake),
4839
- body: N(go(e.paymentMethodUpdatePayloadApi), b.Snake)
4933
+ query: v(i, I.Snake),
4934
+ body: v(Ro(e.paymentMethodUpdatePayloadApi), I.Snake)
4840
4935
  }, t);
4841
- return await new q(o, (s) => re(s)).value();
4936
+ return await new K(o, (s) => re(s)).value();
4842
4937
  }
4843
4938
  async updatePaymentMethods(e, t) {
4844
4939
  return this.updatePaymentMethodsRaw(e, t);
4845
4940
  }
4846
- }, hs = {
4941
+ }, Ds = {
4847
4942
  CheckInDate: "check_in_date",
4848
4943
  CreatedAt: "created_at",
4849
4944
  LastStatusUpdatedAt: "last_status_updated_at"
4850
- }, ps = {
4945
+ }, bs = {
4851
4946
  Asc: "asc",
4852
4947
  Desc: "desc"
4853
- }, Ao = class extends ie {
4948
+ }, Io = class extends ie {
4854
4949
  async retrieveRaw(e, t) {
4855
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
4950
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
4856
4951
  const i = {};
4857
4952
  e.lang !== void 0 && (i.lang = e.lang);
4858
4953
  const n = {};
@@ -4861,25 +4956,25 @@ var _o = class extends ie {
4861
4956
  path: "/v1/hotels/{id}/images".replace("{id}", encodeURIComponent(String(e.id))),
4862
4957
  method: "GET",
4863
4958
  headers: n,
4864
- query: N(i, b.Snake)
4959
+ query: v(i, I.Snake)
4865
4960
  }, t);
4866
- return new q(o, (s) => s.map(le)).value();
4961
+ return new K(o, (s) => s.map(le)).value();
4867
4962
  }
4868
4963
  async retrieve(e, t) {
4869
4964
  return this.retrieveRaw(e, t);
4870
4965
  }
4871
- }, So = class extends ie {
4966
+ }, Do = class extends ie {
4872
4967
  async retrieveRaw(e, t) {
4873
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
4968
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
4874
4969
  const i = {}, n = {};
4875
4970
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
4876
4971
  const o = await this.request({
4877
4972
  path: "/v1/hotel_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
4878
4973
  method: "GET",
4879
4974
  headers: n,
4880
- query: N(i, b.Snake)
4975
+ query: v(i, I.Snake)
4881
4976
  }, t);
4882
- return await new q(o, (s) => Ke(s)).value();
4977
+ return await new K(o, (s) => Ke(s)).value();
4883
4978
  }
4884
4979
  async retrieve(e, t) {
4885
4980
  return this.retrieveRaw(e, t);
@@ -4891,18 +4986,18 @@ var _o = class extends ie {
4891
4986
  path: "/v1/hotel_offer_requests",
4892
4987
  method: "POST",
4893
4988
  headers: n,
4894
- query: N(i, b.Snake),
4895
- body: N(Pr(e.hotelOfferRequestCreateApi), b.Snake)
4989
+ query: v(i, I.Snake),
4990
+ body: v(xr(e.hotelOfferRequestCreateApi), I.Snake)
4896
4991
  }, t);
4897
- return await new q(o, (s) => Ke(s)).value();
4992
+ return await new K(o, (s) => Ke(s)).value();
4898
4993
  }
4899
4994
  async create(e = {}, t) {
4900
4995
  return this.createRaw(e, t);
4901
4996
  }
4902
- }, wo = class extends ie {
4997
+ }, bo = class extends ie {
4903
4998
  async listRaw(e, t) {
4904
- if (e.currency === null || e.currency === void 0) throw new K("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
4905
- if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0) throw new K("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
4999
+ if (e.currency === null || e.currency === void 0) throw new $("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
5000
+ if (e.hotelOfferRequestId === null || e.hotelOfferRequestId === void 0) throw new $("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
4906
5001
  const i = {};
4907
5002
  e.currency !== void 0 && (i.currency = e.currency), e.endingBefore !== void 0 && (i.ending_before = e.endingBefore), e.filterByPrice !== void 0 && (i.filter_by_price = e.filterByPrice), e.filterByReviewRating !== void 0 && (i.filter_by_review_rating = e.filterByReviewRating), e.filterByStar !== void 0 && (i.filter_by_star = e.filterByStar), e.hotelOfferRequestId !== void 0 && (i.hotel_offer_request_id = e.hotelOfferRequestId), e.hotelRoomOffersLimit !== void 0 && (i.hotel_room_offers_limit = e.hotelRoomOffersLimit), e.includeHotelContentDetails !== void 0 && (i.include_hotel_content_details = e.includeHotelContentDetails), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit), e.onlyRecommendedHotelOffers !== void 0 && (i.only_recommended_hotel_offers = e.onlyRecommendedHotelOffers), e.priceHistogramStepCount !== void 0 && (i.price_histogram_step_count = e.priceHistogramStepCount), e.sortBy !== void 0 && (i.sort_by = e.sortBy), e.sortByOrder !== void 0 && (i.sort_by_order = e.sortByOrder), e.startingAfter !== void 0 && (i.starting_after = e.startingAfter);
4908
5003
  const n = {};
@@ -4911,93 +5006,93 @@ var _o = class extends ie {
4911
5006
  path: "/v1/hotel_offers",
4912
5007
  method: "GET",
4913
5008
  headers: n,
4914
- query: N(i, b.Snake)
5009
+ query: v(i, I.Snake)
4915
5010
  }, t);
4916
- return await new q(o, (s) => Ur(s)).value();
5011
+ return await new K(o, (s) => Vr(s)).value();
4917
5012
  }
4918
5013
  async list(e, t, i) {
4919
5014
  return await tt(() => this.listRaw(e, i), {
4920
- type: Ve.HOTEL_SEARCH_POLLING,
5015
+ type: ze.HOTEL_SEARCH_POLLING,
4921
5016
  minCallCount: i?.minCallCount,
4922
5017
  maxCallCount: i?.maxCallCount
4923
5018
  }, t);
4924
5019
  }
4925
- }, ys = {
5020
+ }, vs = {
4926
5021
  Distance: "distance",
4927
5022
  Price: "price",
4928
5023
  Rating: "rating",
4929
5024
  ReviewRating: "review_rating",
4930
5025
  TopPicks: "top_picks"
4931
- }, gs = {
5026
+ }, Ns = {
4932
5027
  Asc: "asc",
4933
5028
  Desc: "desc"
4934
- }, Ro = class extends ie {
5029
+ }, vo = class extends ie {
4935
5030
  async deleteRaw(e, t) {
4936
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
4937
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
5031
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
5032
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
4938
5033
  const i = await this.request({
4939
5034
  path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
4940
5035
  method: "DELETE",
4941
5036
  headers: {},
4942
- query: N({}, b.Snake)
5037
+ query: v({}, I.Snake)
4943
5038
  }, t);
4944
- return new Ei(i);
5039
+ return new rt(i);
4945
5040
  }
4946
5041
  async delete(e, t) {
4947
5042
  return this.deleteRaw(e, t);
4948
5043
  }
4949
5044
  async updateRaw(e, t) {
4950
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
4951
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
5045
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
5046
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
4952
5047
  const i = {}, n = {};
4953
5048
  n["Content-Type"] = "application/json";
4954
5049
  const o = await this.request({
4955
5050
  path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(e.id))).replace("{token}", encodeURIComponent(String(e.token))),
4956
5051
  method: "PATCH",
4957
5052
  headers: n,
4958
- query: N(i, b.Snake),
4959
- body: N(ho(e.hotelRoomingListGuestsUpdateApi), b.Snake)
5053
+ query: v(i, I.Snake),
5054
+ body: v(Ao(e.hotelRoomingListGuestsUpdateApi), I.Snake)
4960
5055
  }, t);
4961
- return await new q(o, (s) => be(s)).value();
5056
+ return await new K(o, (s) => be(s)).value();
4962
5057
  }
4963
5058
  async update(e, t) {
4964
5059
  return this.updateRaw(e, t);
4965
5060
  }
4966
5061
  async createRaw(e, t) {
4967
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
5062
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
4968
5063
  const i = {}, n = {};
4969
5064
  n["Content-Type"] = "application/json";
4970
5065
  const o = await this.request({
4971
5066
  path: "/v1/hotel_rooming_list_guests/{token}".replace("{token}", encodeURIComponent(String(e.token))),
4972
5067
  method: "POST",
4973
5068
  headers: n,
4974
- query: N(i, b.Snake),
4975
- body: N(lo(e.hotelRoomingListGuestsCreateApi), b.Snake)
5069
+ query: v(i, I.Snake),
5070
+ body: v(_o(e.hotelRoomingListGuestsCreateApi), I.Snake)
4976
5071
  }, t);
4977
- return await new q(o, (s) => be(s)).value();
5072
+ return await new K(o, (s) => be(s)).value();
4978
5073
  }
4979
5074
  async create(e, t) {
4980
5075
  return this.createRaw(e, t);
4981
5076
  }
4982
- }, ko = class extends ie {
5077
+ }, No = class extends ie {
4983
5078
  async listRaw(e, t) {
4984
- if (e.token === null || e.token === void 0) throw new K("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
5079
+ if (e.token === null || e.token === void 0) throw new $("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
4985
5080
  const i = {};
4986
5081
  e.lang !== void 0 && (i.lang = e.lang);
4987
5082
  const n = await this.request({
4988
5083
  path: "/v1/hotel_rooming_lists/{token}".replace("{token}", encodeURIComponent(String(e.token))),
4989
5084
  method: "GET",
4990
5085
  headers: {},
4991
- query: N(i, b.Snake)
5086
+ query: v(i, I.Snake)
4992
5087
  }, t);
4993
- return new q(n, (o) => o.map(ht)).value();
5088
+ return new K(n, (o) => o.map(pt)).value();
4994
5089
  }
4995
5090
  async list(e, t) {
4996
5091
  return this.listRaw(e, t);
4997
5092
  }
4998
- }, To = class extends ie {
5093
+ }, Po = class extends ie {
4999
5094
  async retrieveRaw(e, t) {
5000
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
5095
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
5001
5096
  const i = {};
5002
5097
  e.lang !== void 0 && (i.lang = e.lang);
5003
5098
  const n = {};
@@ -5006,25 +5101,25 @@ var _o = class extends ie {
5006
5101
  path: "/v1/hotel_room_offers/{id}/images".replace("{id}", encodeURIComponent(String(e.id))),
5007
5102
  method: "GET",
5008
5103
  headers: n,
5009
- query: N(i, b.Snake)
5104
+ query: v(i, I.Snake)
5010
5105
  }, t);
5011
- return await new q(o, (s) => N(s, b.Camel)).value();
5106
+ return await new K(o, (s) => v(s, I.Camel)).value();
5012
5107
  }
5013
5108
  async retrieve(e, t) {
5014
5109
  return this.retrieveRaw(e, t);
5015
5110
  }
5016
- }, Mo = class extends ie {
5111
+ }, Eo = class extends ie {
5017
5112
  async retrieveRaw(e, t) {
5018
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
5113
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
5019
5114
  const i = {}, n = {};
5020
5115
  this.configuration && this.configuration.apiKey && (n["x-api-key"] = this.configuration.apiKey("x-api-key"));
5021
5116
  const o = await this.request({
5022
5117
  path: "/v1/hotel_room_offer_requests/{id}".replace("{id}", encodeURIComponent(String(e.id))),
5023
5118
  method: "GET",
5024
5119
  headers: n,
5025
- query: N(i, b.Snake)
5120
+ query: v(i, I.Snake)
5026
5121
  }, t);
5027
- return await new q(o, (s) => Ye(s)).value();
5122
+ return await new K(o, (s) => Ye(s)).value();
5028
5123
  }
5029
5124
  async retrieve(e, t) {
5030
5125
  return this.retrieveRaw(e, t);
@@ -5036,18 +5131,18 @@ var _o = class extends ie {
5036
5131
  path: "/v1/hotel_room_offer_requests",
5037
5132
  method: "POST",
5038
5133
  headers: n,
5039
- query: N(i, b.Snake),
5040
- body: N(Wr(e.hotelRoomOfferRequestCreateApi), b.Snake)
5134
+ query: v(i, I.Snake),
5135
+ body: v(io(e.hotelRoomOfferRequestCreateApi), I.Snake)
5041
5136
  }, t);
5042
- return await new q(o, (s) => Ye(s)).value();
5137
+ return await new K(o, (s) => Ye(s)).value();
5043
5138
  }
5044
5139
  async create(e = {}, t) {
5045
5140
  return this.createRaw(e, t);
5046
5141
  }
5047
- }, Co = class extends ie {
5142
+ }, Lo = class extends ie {
5048
5143
  async listRaw(e, t) {
5049
- if (e.currency === null || e.currency === void 0) throw new K("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
5050
- if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0) throw new K("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
5144
+ if (e.currency === null || e.currency === void 0) throw new $("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
5145
+ if (e.hotelRoomOfferRequestId === null || e.hotelRoomOfferRequestId === void 0) throw new $("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
5051
5146
  const i = {};
5052
5147
  e.currency !== void 0 && (i.currency = e.currency), e.hotelRoomOfferRequestId !== void 0 && (i.hotel_room_offer_request_id = e.hotelRoomOfferRequestId), e.lang !== void 0 && (i.lang = e.lang), e.limit !== void 0 && (i.limit = e.limit);
5053
5148
  const n = {};
@@ -5056,13 +5151,13 @@ var _o = class extends ie {
5056
5151
  path: "/v1/hotel_room_offers",
5057
5152
  method: "GET",
5058
5153
  headers: n,
5059
- query: N(i, b.Snake)
5154
+ query: v(i, I.Snake)
5060
5155
  }, t);
5061
- return await new q(o, (s) => no(s)).value();
5156
+ return await new K(o, (s) => uo(s)).value();
5062
5157
  }
5063
5158
  async list(e, t, i) {
5064
5159
  return await tt(() => this.listRaw(e, i), {
5065
- type: Ve.HOTEL_ROOM_OFFERS,
5160
+ type: ze.HOTEL_ROOM_OFFERS,
5066
5161
  minCallCount: i?.minCallCount,
5067
5162
  maxCallCount: i?.maxCallCount
5068
5163
  }, t);
@@ -5074,17 +5169,17 @@ var _o = class extends ie {
5074
5169
  path: "/v1/hotel_room_offers",
5075
5170
  method: "POST",
5076
5171
  headers: n,
5077
- query: N(i, b.Snake),
5078
- body: N(uo(e.hotelRoomOffersCreateApi), b.Snake)
5172
+ query: v(i, I.Snake),
5173
+ body: v(yo(e.hotelRoomOffersCreateApi), I.Snake)
5079
5174
  }, t);
5080
- return await new q(o, (s) => qr(s)).value();
5175
+ return await new K(o, (s) => Wr(s)).value();
5081
5176
  }
5082
5177
  async create(e = {}, t) {
5083
5178
  return this.createRaw(e, t);
5084
5179
  }
5085
- }, Io = class extends ie {
5180
+ }, Fo = class extends ie {
5086
5181
  async retrieveRaw(e, t) {
5087
- if (e.id === null || e.id === void 0) throw new K("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
5182
+ if (e.id === null || e.id === void 0) throw new $("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
5088
5183
  const i = {};
5089
5184
  e.event !== void 0 && (i.event = e.event), e.lang !== void 0 && (i.lang = e.lang);
5090
5185
  const n = {};
@@ -5093,27 +5188,27 @@ var _o = class extends ie {
5093
5188
  path: "/v1/hotels/{id}".replace("{id}", encodeURIComponent(String(e.id))),
5094
5189
  method: "GET",
5095
5190
  headers: n,
5096
- query: N(i, b.Snake)
5191
+ query: v(i, I.Snake)
5097
5192
  }, t);
5098
- return await new q(o, (s) => Tr(s)).value();
5193
+ return await new K(o, (s) => vr(s)).value();
5099
5194
  }
5100
5195
  async retrieve(e, t) {
5101
5196
  return this.retrieveRaw(e, t);
5102
5197
  }
5103
- }, Do = (e) => ({
5104
- bookingPolicies: new _o(e),
5105
- bookings: new Oo(e),
5106
- hotelImages: new Ao(e),
5107
- hotelOfferRequests: new So(e),
5108
- hotelOffers: new wo(e),
5109
- hotelRoomingListGuests: new Ro(e),
5110
- hotelRoomingLists: new ko(e),
5111
- hotelRoomOfferImages: new To(e),
5112
- hotelRoomOfferRequests: new Mo(e),
5113
- hotelRoomOffers: new Co(e),
5114
- hotels: new Io(e)
5198
+ }, Ho = (e) => ({
5199
+ bookingPolicies: new Mo(e),
5200
+ bookings: new Co(e),
5201
+ hotelImages: new Io(e),
5202
+ hotelOfferRequests: new Do(e),
5203
+ hotelOffers: new bo(e),
5204
+ hotelRoomingListGuests: new vo(e),
5205
+ hotelRoomingLists: new No(e),
5206
+ hotelRoomOfferImages: new Po(e),
5207
+ hotelRoomOfferRequests: new Eo(e),
5208
+ hotelRoomOffers: new Lo(e),
5209
+ hotels: new Fo(e)
5115
5210
  });
5116
- function bo(e) {
5211
+ function Bo(e) {
5117
5212
  switch (e) {
5118
5213
  case ee.CiCd:
5119
5214
  return "AUTH_TOKEN_CICD";
@@ -5130,27 +5225,27 @@ function bo(e) {
5130
5225
  return "AUTH_TOKEN";
5131
5226
  }
5132
5227
  }
5133
- function Ct(e) {
5134
- return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(bo(e))));
5228
+ function It(e) {
5229
+ return !!(typeof document < "u" && document?.cookie && document.cookie.split(";").find((t) => t.includes(Bo(e))));
5135
5230
  }
5136
- var vo = class {
5231
+ var xo = class {
5137
5232
  constructor(e) {
5138
5233
  this.config = e;
5139
5234
  }
5140
5235
  async pre(e) {
5141
- return e.init.mode = "cors", Ct(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
5236
+ return e.init.mode = "cors", It(this.config.apiEnvironment) && (e.init.credentials = "include"), e;
5142
5237
  }
5143
- }, No = class {
5238
+ }, Jo = class {
5144
5239
  constructor(e) {
5145
5240
  this.config = e;
5146
5241
  }
5147
5242
  async pre(e) {
5148
- return Ct(this.config.apiEnvironment) && (e.init.headers = {
5243
+ return It(this.config.apiEnvironment) && (e.init.headers = {
5149
5244
  ...e.init.headers,
5150
5245
  "x-auth-type": "user"
5151
5246
  }), e;
5152
5247
  }
5153
- }, _s = class {
5248
+ }, Ps = class {
5154
5249
  apiVersionsToClient;
5155
5250
  constructor(e) {
5156
5251
  if (this.config = e, !e.apiVersion || !Object.values(Je).includes(e.apiVersion)) throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Je))}`);
@@ -5160,13 +5255,15 @@ var vo = class {
5160
5255
  ...this.config.optionalHeaders
5161
5256
  });
5162
5257
  const i = this.config.apiEnvironment;
5163
- let n = this.config.apiBaseUrl ?? Et[i];
5164
- i === ee.Local && (n = "http://127.0.0.1:3001"), this.apiVersionsToClient = { v1: Do(new it({
5258
+ let n = this.config.apiBaseUrl ?? Lt[i];
5259
+ i === ee.Local && (n = "http://127.0.0.1:3001");
5260
+ const o = new it({
5165
5261
  basePath: n,
5166
5262
  fetchApi: Ht.default,
5167
5263
  headers: t,
5168
- middleware: [new vo(this.config), new No(this.config)]
5169
- })) };
5264
+ middleware: [new xo(this.config), new Jo(this.config)]
5265
+ });
5266
+ this.apiVersionsToClient = { v1: Ho(o) };
5170
5267
  }
5171
5268
  get bookingPolicies() {
5172
5269
  return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies;
@@ -5204,177 +5301,177 @@ var vo = class {
5204
5301
  };
5205
5302
  export {
5206
5303
  Yi as AllowedPaymentMethodApiFromJSON,
5207
- zi as AllowedPaymentMethodApiFromJSONTyped,
5208
- Zo as AllowedPaymentMethodApiOneOf1FromJSON,
5209
- ot as AllowedPaymentMethodApiOneOf1FromJSONTyped,
5210
- Vo as AllowedPaymentMethodApiOneOf1NameEnum,
5211
- Fi as AllowedPaymentMethodApiOneOf1ToJSON,
5212
- Xo as AllowedPaymentMethodApiOneOf2FromJSON,
5213
- at as AllowedPaymentMethodApiOneOf2FromJSONTyped,
5214
- Wo as AllowedPaymentMethodApiOneOf2NameEnum,
5304
+ Vi as AllowedPaymentMethodApiFromJSONTyped,
5305
+ na as AllowedPaymentMethodApiOneOf1FromJSON,
5306
+ at as AllowedPaymentMethodApiOneOf1FromJSONTyped,
5307
+ ia as AllowedPaymentMethodApiOneOf1NameEnum,
5308
+ Bi as AllowedPaymentMethodApiOneOf1ToJSON,
5309
+ oa as AllowedPaymentMethodApiOneOf2FromJSON,
5310
+ ct as AllowedPaymentMethodApiOneOf2FromJSONTyped,
5311
+ ra as AllowedPaymentMethodApiOneOf2NameEnum,
5215
5312
  Ji as AllowedPaymentMethodApiOneOf2ToJSON,
5216
- ta as AllowedPaymentMethodApiOneOf3FromJSON,
5217
- ct as AllowedPaymentMethodApiOneOf3FromJSONTyped,
5218
- ea as AllowedPaymentMethodApiOneOf3NameEnum,
5313
+ da as AllowedPaymentMethodApiOneOf3FromJSON,
5314
+ st as AllowedPaymentMethodApiOneOf3FromJSONTyped,
5315
+ sa as AllowedPaymentMethodApiOneOf3NameEnum,
5219
5316
  Ui as AllowedPaymentMethodApiOneOf3PayloadFromJSON,
5220
5317
  Gi as AllowedPaymentMethodApiOneOf3PayloadFromJSONTyped,
5221
- Qo as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
5318
+ aa as AllowedPaymentMethodApiOneOf3PayloadStatusEnum,
5222
5319
  $i as AllowedPaymentMethodApiOneOf3PayloadToJSON,
5223
5320
  Ki as AllowedPaymentMethodApiOneOf3ToJSON,
5224
- zo as AllowedPaymentMethodApiOneOfFromJSON,
5225
- rt as AllowedPaymentMethodApiOneOfFromJSONTyped,
5226
- Yo as AllowedPaymentMethodApiOneOfNameEnum,
5227
- Hi as AllowedPaymentMethodApiOneOfToJSON,
5228
- ia as AllowedPaymentMethodApiToJSON,
5229
- st as AmenitiesApiFromJSON,
5230
- Vi as AmenitiesApiFromJSONTyped,
5231
- dt as AmenitiesApiToJSON,
5232
- _s as ApiClient,
5233
- vi as BASE_PATH,
5321
+ ta as AllowedPaymentMethodApiOneOfFromJSON,
5322
+ ot as AllowedPaymentMethodApiOneOfFromJSONTyped,
5323
+ ea as AllowedPaymentMethodApiOneOfNameEnum,
5324
+ Fi as AllowedPaymentMethodApiOneOfToJSON,
5325
+ ua as AllowedPaymentMethodApiToJSON,
5326
+ dt as AmenitiesApiFromJSON,
5327
+ zi as AmenitiesApiFromJSONTyped,
5328
+ ut as AmenitiesApiToJSON,
5329
+ Ps as ApiClient,
5330
+ Ni as BASE_PATH,
5234
5331
  ie as BaseAPI,
5235
- oa as BedApiFromJSON,
5332
+ ma as BedApiFromJSON,
5236
5333
  Zi as BedApiFromJSONTyped,
5237
- aa as BedApiToJSON,
5238
- Ko as BlobApiResponse,
5334
+ ha as BedApiToJSON,
5335
+ jo as BlobApiResponse,
5239
5336
  re as BookingApiFromJSON,
5240
5337
  Zn as BookingApiFromJSONTyped,
5241
- Za as BookingApiPayLaterEnum,
5242
- Wa as BookingApiStatusEnum,
5338
+ nc as BookingApiPayLaterEnum,
5339
+ rc as BookingApiStatusEnum,
5243
5340
  Wn as BookingApiToJSON,
5244
- rc as BookingCreateApiFromJSON,
5245
- cr as BookingCreateApiFromJSONTyped,
5341
+ hc as BookingCreateApiFromJSON,
5342
+ ur as BookingCreateApiFromJSONTyped,
5246
5343
  er as BookingCreateApiGuestsListInnerFromJSON,
5247
5344
  tr as BookingCreateApiGuestsListInnerFromJSONTyped,
5248
5345
  Xn as BookingCreateApiGuestsListInnerGuestsInnerFromJSON,
5249
5346
  Qn as BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped,
5250
5347
  jn as BookingCreateApiGuestsListInnerGuestsInnerToJSON,
5251
5348
  ir as BookingCreateApiGuestsListInnerToJSON,
5252
- sr as BookingCreateApiToJSON,
5253
- _o as BookingPolicies,
5349
+ fr as BookingCreateApiToJSON,
5350
+ Mo as BookingPolicies,
5254
5351
  qe as BookingPoliciesApiFromJSON,
5255
- dr as BookingPoliciesApiFromJSONTyped,
5256
- ac as BookingPoliciesApiToJSON,
5257
- sc as BookingPoliciesCreateApiFromJSON,
5258
- ur as BookingPoliciesCreateApiFromJSONTyped,
5259
- fr as BookingPoliciesCreateApiToJSON,
5260
- Oo as Bookings,
5261
- pr as BookingsApiResponseFromJSON,
5262
- yr as BookingsApiResponseFromJSONTyped,
5263
- fc as BookingsApiResponseToJSON,
5264
- hs as BookingsSortByEnum,
5265
- ps as BookingsSortByOrderEnum,
5266
- Uo as COLLECTION_FORMATS,
5352
+ pr as BookingPoliciesApiFromJSONTyped,
5353
+ _c as BookingPoliciesApiToJSON,
5354
+ Ac as BookingPoliciesCreateApiFromJSON,
5355
+ yr as BookingPoliciesCreateApiFromJSONTyped,
5356
+ gr as BookingPoliciesCreateApiToJSON,
5357
+ Co as Bookings,
5358
+ Sr as BookingsApiResponseFromJSON,
5359
+ wr as BookingsApiResponseFromJSONTyped,
5360
+ Rc as BookingsApiResponseToJSON,
5361
+ Ds as BookingsSortByEnum,
5362
+ bs as BookingsSortByOrderEnum,
5363
+ Zo as COLLECTION_FORMATS,
5267
5364
  Ee as CancellationPolicyApiFromJSON,
5268
5365
  Wi as CancellationPolicyApiFromJSONTyped,
5269
5366
  Le as CancellationPolicyApiToJSON,
5270
5367
  it as Configuration,
5271
- ut as ContactPersonApiFromJSON,
5368
+ ft as ContactPersonApiFromJSON,
5272
5369
  nn as ContactPersonApiFromJSONTyped,
5273
- ma as ContactPersonApiSalutationEnum,
5274
- ft as ContactPersonApiToJSON,
5370
+ Sa as ContactPersonApiSalutationEnum,
5371
+ lt as ContactPersonApiToJSON,
5275
5372
  Qi as ContactPersonOrganizationApiFromJSON,
5276
5373
  ji as ContactPersonOrganizationApiFromJSONTyped,
5277
5374
  en as ContactPersonOrganizationApiToJSON,
5278
- sa as CountryIso2Code,
5375
+ ya as CountryIso2Code,
5279
5376
  De as CountryIso2CodeFromJSON,
5280
5377
  Xi as CountryIso2CodeFromJSONTyped,
5281
- da as CountryIso2CodeToJSON,
5282
- pa as CurrencyClient,
5378
+ ga as CountryIso2CodeToJSON,
5379
+ Ra as CurrencyClient,
5283
5380
  ce as CurrencyClientFromJSON,
5284
5381
  rn as CurrencyClientFromJSONTyped,
5285
- ya as CurrencyClientToJSON,
5286
- hc as ErrorApiResponseFromJSON,
5287
- gr as ErrorApiResponseFromJSONTyped,
5288
- pc as ErrorApiResponseToJSON,
5289
- lc as ErrorApiResponseTypeEnum,
5382
+ ka as CurrencyClientToJSON,
5383
+ Mc as ErrorApiResponseFromJSON,
5384
+ Rr as ErrorApiResponseFromJSONTyped,
5385
+ Cc as ErrorApiResponseToJSON,
5386
+ kc as ErrorApiResponseTypeEnum,
5290
5387
  on as EventApiFromJSON,
5291
5388
  an as EventApiFromJSONTyped,
5292
5389
  cn as EventApiToJSON,
5293
5390
  _e as EventMetadataApiFromJSON,
5294
- _r as EventMetadataApiFromJSONTyped,
5391
+ kr as EventMetadataApiFromJSONTyped,
5295
5392
  Oe as EventMetadataApiToJSON,
5296
- Tr as HotelApiFromJSON,
5297
- Mr as HotelApiFromJSONTyped,
5298
- St as HotelApiImagesFromJSON,
5299
- Or as HotelApiImagesFromJSONTyped,
5300
- wt as HotelApiImagesToJSON,
5301
- wc as HotelApiToJSON,
5393
+ vr as HotelApiFromJSON,
5394
+ Nr as HotelApiFromJSONTyped,
5395
+ wt as HotelApiImagesFromJSON,
5396
+ Tr as HotelApiImagesFromJSONTyped,
5397
+ Rt as HotelApiImagesToJSON,
5398
+ Ec as HotelApiToJSON,
5302
5399
  le as HotelImageApiFromJSON,
5303
5400
  sn as HotelImageApiFromJSONTyped,
5304
5401
  ye as HotelImageApiToJSON,
5305
- Ao as HotelImages,
5306
- Tc as HotelOfferApiAllOfFromJSON,
5307
- br as HotelOfferApiAllOfFromJSONTyped,
5308
- Mc as HotelOfferApiAllOfToJSON,
5309
- Cr as HotelOfferApiFromJSON,
5310
- Ir as HotelOfferApiFromJSONTyped,
5311
- Dr as HotelOfferApiToJSON,
5402
+ Io as HotelImages,
5403
+ Hc as HotelOfferApiAllOfFromJSON,
5404
+ Fr as HotelOfferApiAllOfFromJSONTyped,
5405
+ Bc as HotelOfferApiAllOfToJSON,
5406
+ Pr as HotelOfferApiFromJSON,
5407
+ Er as HotelOfferApiFromJSONTyped,
5408
+ Lr as HotelOfferApiToJSON,
5312
5409
  Ke as HotelOfferRequestApiResponseFromJSON,
5313
- vr as HotelOfferRequestApiResponseFromJSONTyped,
5314
- Ic as HotelOfferRequestApiResponseToJSON,
5315
- bc as HotelOfferRequestCreateApiFromJSON,
5316
- Nr as HotelOfferRequestCreateApiFromJSONTyped,
5317
- Pr as HotelOfferRequestCreateApiToJSON,
5318
- So as HotelOfferRequests,
5319
- wo as HotelOffers,
5320
- Ur as HotelOffersApiResponseFromJSON,
5321
- Gr as HotelOffersApiResponseFromJSONTyped,
5322
- Fc as HotelOffersApiResponseMetaAllOfFromJSON,
5323
- $r as HotelOffersApiResponseMetaAllOfFromJSONTyped,
5324
- xc as HotelOffersApiResponseMetaAllOfToJSON,
5325
- Lr as HotelOffersApiResponseMetaFromJSON,
5326
- Hr as HotelOffersApiResponseMetaFromJSONTyped,
5327
- Br as HotelOffersApiResponseMetaToJSON,
5328
- Hc as HotelOffersApiResponseToJSON,
5329
- Fr as HotelOffersDataApiResponseFromJSON,
5330
- xr as HotelOffersDataApiResponseFromJSONTyped,
5331
- Jr as HotelOffersDataApiResponseToJSON,
5332
- ys as HotelOffersSortByEnum,
5333
- gs as HotelOffersSortByOrderEnum,
5334
- Rt as HotelReviewRatingApiFromJSON,
5335
- Ar as HotelReviewRatingApiFromJSONTyped,
5336
- kt as HotelReviewRatingApiToJSON,
5410
+ Hr as HotelOfferRequestApiResponseFromJSONTyped,
5411
+ Jc as HotelOfferRequestApiResponseToJSON,
5412
+ Gc as HotelOfferRequestCreateApiFromJSON,
5413
+ Br as HotelOfferRequestCreateApiFromJSONTyped,
5414
+ xr as HotelOfferRequestCreateApiToJSON,
5415
+ Do as HotelOfferRequests,
5416
+ bo as HotelOffers,
5417
+ Vr as HotelOffersApiResponseFromJSON,
5418
+ zr as HotelOffersApiResponseFromJSONTyped,
5419
+ Wc as HotelOffersApiResponseMetaAllOfFromJSON,
5420
+ Zr as HotelOffersApiResponseMetaAllOfFromJSONTyped,
5421
+ Xc as HotelOffersApiResponseMetaAllOfToJSON,
5422
+ Ur as HotelOffersApiResponseMetaFromJSON,
5423
+ Gr as HotelOffersApiResponseMetaFromJSONTyped,
5424
+ $r as HotelOffersApiResponseMetaToJSON,
5425
+ zc as HotelOffersApiResponseToJSON,
5426
+ qr as HotelOffersDataApiResponseFromJSON,
5427
+ Kr as HotelOffersDataApiResponseFromJSONTyped,
5428
+ Yr as HotelOffersDataApiResponseToJSON,
5429
+ vs as HotelOffersSortByEnum,
5430
+ Ns as HotelOffersSortByOrderEnum,
5431
+ kt as HotelReviewRatingApiFromJSON,
5432
+ Mr as HotelReviewRatingApiFromJSONTyped,
5433
+ Tt as HotelReviewRatingApiToJSON,
5337
5434
  dn as HotelRoomApiFromJSON,
5338
5435
  un as HotelRoomApiFromJSONTyped,
5339
5436
  fn as HotelRoomApiToJSON,
5340
- Ma as HotelRoomOfferApiBreakfastOptionEnum,
5437
+ Ea as HotelRoomOfferApiBreakfastOptionEnum,
5341
5438
  me as HotelRoomOfferApiFromJSON,
5342
5439
  pn as HotelRoomOfferApiFromJSONTyped,
5343
- Ca as HotelRoomOfferApiPackageTypeEnum,
5344
- qr as HotelRoomOfferApiResponseFromJSON,
5345
- Kr as HotelRoomOfferApiResponseFromJSONTyped,
5346
- Uc as HotelRoomOfferApiResponseToJSON,
5347
- Ia as HotelRoomOfferApiStayTaxesInfoEnum,
5440
+ La as HotelRoomOfferApiPackageTypeEnum,
5441
+ Wr as HotelRoomOfferApiResponseFromJSON,
5442
+ Xr as HotelRoomOfferApiResponseFromJSONTyped,
5443
+ jc as HotelRoomOfferApiResponseToJSON,
5444
+ Fa as HotelRoomOfferApiStayTaxesInfoEnum,
5348
5445
  he as HotelRoomOfferApiToJSON,
5349
- Da as HotelRoomOfferApiTypeEnum,
5350
- To as HotelRoomOfferImages,
5351
- Vc as HotelRoomOfferRequestApiResponseAllOf1FromJSON,
5352
- Vr as HotelRoomOfferRequestApiResponseAllOf1FromJSONTyped,
5353
- Zc as HotelRoomOfferRequestApiResponseAllOf1ToJSON,
5354
- Kc as HotelRoomOfferRequestApiResponseAllOfFromJSON,
5355
- zr as HotelRoomOfferRequestApiResponseAllOfFromJSONTyped,
5356
- Yc as HotelRoomOfferRequestApiResponseAllOfToJSON,
5446
+ Ha as HotelRoomOfferApiTypeEnum,
5447
+ Po as HotelRoomOfferImages,
5448
+ as as HotelRoomOfferRequestApiResponseAllOf1FromJSON,
5449
+ eo as HotelRoomOfferRequestApiResponseAllOf1FromJSONTyped,
5450
+ cs as HotelRoomOfferRequestApiResponseAllOf1ToJSON,
5451
+ ns as HotelRoomOfferRequestApiResponseAllOfFromJSON,
5452
+ jr as HotelRoomOfferRequestApiResponseAllOfFromJSONTyped,
5453
+ rs as HotelRoomOfferRequestApiResponseAllOfToJSON,
5357
5454
  Ye as HotelRoomOfferRequestApiResponseFromJSON,
5358
- Yr as HotelRoomOfferRequestApiResponseFromJSONTyped,
5359
- $c as HotelRoomOfferRequestApiResponseToJSON,
5360
- Xc as HotelRoomOfferRequestCreateApiFromJSON,
5361
- Zr as HotelRoomOfferRequestCreateApiFromJSONTyped,
5362
- Wr as HotelRoomOfferRequestCreateApiToJSON,
5363
- Mo as HotelRoomOfferRequests,
5364
- Co as HotelRoomOffers,
5365
- no as HotelRoomOffersApiResponseFromJSON,
5366
- ro as HotelRoomOffersApiResponseFromJSONTyped,
5367
- ts as HotelRoomOffersApiResponseToJSON,
5368
- rs as HotelRoomOffersCreateApiFromJSON,
5369
- so as HotelRoomOffersCreateApiFromJSONTyped,
5370
- uo as HotelRoomOffersCreateApiToJSON,
5371
- Xr as HotelRoomOffersDataApiResponseFromJSON,
5372
- Qr as HotelRoomOffersDataApiResponseFromJSONTyped,
5373
- jr as HotelRoomOffersDataApiResponseToJSON,
5374
- oo as HotelRoomOffersDataCreateApiFromJSON,
5375
- ao as HotelRoomOffersDataCreateApiFromJSONTyped,
5376
- co as HotelRoomOffersDataCreateApiToJSON,
5377
- ht as HotelRoomingListApiFromJSON,
5455
+ Qr as HotelRoomOfferRequestApiResponseFromJSONTyped,
5456
+ ts as HotelRoomOfferRequestApiResponseToJSON,
5457
+ ds as HotelRoomOfferRequestCreateApiFromJSON,
5458
+ to as HotelRoomOfferRequestCreateApiFromJSONTyped,
5459
+ io as HotelRoomOfferRequestCreateApiToJSON,
5460
+ Eo as HotelRoomOfferRequests,
5461
+ Lo as HotelRoomOffers,
5462
+ uo as HotelRoomOffersApiResponseFromJSON,
5463
+ fo as HotelRoomOffersApiResponseFromJSONTyped,
5464
+ ms as HotelRoomOffersApiResponseToJSON,
5465
+ ys as HotelRoomOffersCreateApiFromJSON,
5466
+ po as HotelRoomOffersCreateApiFromJSONTyped,
5467
+ yo as HotelRoomOffersCreateApiToJSON,
5468
+ no as HotelRoomOffersDataApiResponseFromJSON,
5469
+ ro as HotelRoomOffersDataApiResponseFromJSONTyped,
5470
+ oo as HotelRoomOffersDataApiResponseToJSON,
5471
+ lo as HotelRoomOffersDataCreateApiFromJSON,
5472
+ mo as HotelRoomOffersDataCreateApiFromJSONTyped,
5473
+ ho as HotelRoomOffersDataCreateApiToJSON,
5474
+ pt as HotelRoomingListApiFromJSON,
5378
5475
  Sn as HotelRoomingListApiFromJSONTyped,
5379
5476
  yn as HotelRoomingListApiHotelRoomFromJSON,
5380
5477
  gn as HotelRoomingListApiHotelRoomFromJSONTyped,
@@ -5383,171 +5480,186 @@ export {
5383
5480
  be as HotelRoomingListGuestApiFromJSON,
5384
5481
  On as HotelRoomingListGuestApiFromJSONTyped,
5385
5482
  An as HotelRoomingListGuestApiToJSON,
5386
- Ro as HotelRoomingListGuests,
5387
- as as HotelRoomingListGuestsCreateApiFromJSON,
5388
- fo as HotelRoomingListGuestsCreateApiFromJSONTyped,
5389
- lo as HotelRoomingListGuestsCreateApiToJSON,
5390
- ss as HotelRoomingListGuestsUpdateApiFromJSON,
5391
- mo as HotelRoomingListGuestsUpdateApiFromJSONTyped,
5392
- ho as HotelRoomingListGuestsUpdateApiToJSON,
5393
- ko as HotelRoomingLists,
5394
- Io as Hotels,
5483
+ vo as HotelRoomingListGuests,
5484
+ _s as HotelRoomingListGuestsCreateApiFromJSON,
5485
+ go as HotelRoomingListGuestsCreateApiFromJSONTyped,
5486
+ _o as HotelRoomingListGuestsCreateApiToJSON,
5487
+ As as HotelRoomingListGuestsUpdateApiFromJSON,
5488
+ Oo as HotelRoomingListGuestsUpdateApiFromJSONTyped,
5489
+ Ao as HotelRoomingListGuestsUpdateApiToJSON,
5490
+ No as HotelRoomingLists,
5491
+ Fo as Hotels,
5395
5492
  Rn as InvoiceApiFromJSON,
5396
5493
  kn as InvoiceApiFromJSONTyped,
5397
5494
  Tn as InvoiceApiToJSON,
5398
- Ea as InvoiceApiTypeEnum,
5399
- q as JSONApiResponse,
5400
- fa as Locale,
5401
- He as LocaleFromJSON,
5495
+ Ga as InvoiceApiTypeEnum,
5496
+ K as JSONApiResponse,
5497
+ Oa as Locale,
5498
+ Fe as LocaleFromJSON,
5402
5499
  tn as LocaleFromJSONTyped,
5403
- la as LocaleToJSON,
5404
- us as MetaPollingResponseApiAllOfFromJSON,
5405
- po as MetaPollingResponseApiAllOfFromJSONTyped,
5406
- fs as MetaPollingResponseApiAllOfToJSON,
5407
- eo as MetaPollingResponseApiFromJSON,
5408
- to as MetaPollingResponseApiFromJSONTyped,
5409
- io as MetaPollingResponseApiToJSON,
5410
- lr as MetaResponseApiFromJSON,
5411
- mr as MetaResponseApiFromJSONTyped,
5412
- hr as MetaResponseApiToJSON,
5500
+ Aa as LocaleToJSON,
5501
+ ws as MetaPollingResponseApiAllOfFromJSON,
5502
+ So as MetaPollingResponseApiAllOfFromJSONTyped,
5503
+ Rs as MetaPollingResponseApiAllOfToJSON,
5504
+ ao as MetaPollingResponseApiFromJSON,
5505
+ co as MetaPollingResponseApiFromJSONTyped,
5506
+ so as MetaPollingResponseApiToJSON,
5507
+ _r as MetaResponseApiFromJSON,
5508
+ Or as MetaResponseApiFromJSONTyped,
5509
+ Ar as MetaResponseApiToJSON,
5510
+ lr as OrderAddonFromJSON,
5511
+ mr as OrderAddonFromJSONTyped,
5512
+ nr as OrderAddonSelectionFromJSON,
5513
+ rr as OrderAddonSelectionFromJSONTyped,
5514
+ or as OrderAddonSelectionToJSON,
5515
+ sc as OrderAddonSelectionTypeEnum,
5516
+ hr as OrderAddonToJSON,
5517
+ pc as OrderAddonTypeEnum,
5413
5518
  Yn as PaymentMethodApiFromJSON,
5414
- zn as PaymentMethodApiFromJSONTyped,
5415
- Ua as PaymentMethodApiOneOf1FromJSON,
5416
- yt as PaymentMethodApiOneOf1FromJSONTyped,
5417
- Ja as PaymentMethodApiOneOf1NameEnum,
5519
+ Vn as PaymentMethodApiFromJSONTyped,
5520
+ Za as PaymentMethodApiOneOf1FromJSON,
5521
+ gt as PaymentMethodApiOneOf1FromJSONTyped,
5522
+ za as PaymentMethodApiOneOf1NameEnum,
5418
5523
  vn as PaymentMethodApiOneOf1PayloadFromJSON,
5419
5524
  Nn as PaymentMethodApiOneOf1PayloadFromJSONTyped,
5420
5525
  Pn as PaymentMethodApiOneOf1PayloadToJSON,
5421
5526
  Ln as PaymentMethodApiOneOf1ToJSON,
5422
- qa as PaymentMethodApiOneOf2FromJSON,
5423
- gt as PaymentMethodApiOneOf2FromJSONTyped,
5424
- $a as PaymentMethodApiOneOf2NameEnum,
5425
- Hn as PaymentMethodApiOneOf2PayloadFromJSON,
5426
- Bn as PaymentMethodApiOneOf2PayloadFromJSONTyped,
5427
- Fn as PaymentMethodApiOneOf2PayloadToJSON,
5527
+ Qa as PaymentMethodApiOneOf2FromJSON,
5528
+ _t as PaymentMethodApiOneOf2FromJSONTyped,
5529
+ Xa as PaymentMethodApiOneOf2NameEnum,
5530
+ Fn as PaymentMethodApiOneOf2PayloadFromJSON,
5531
+ Hn as PaymentMethodApiOneOf2PayloadFromJSONTyped,
5532
+ Bn as PaymentMethodApiOneOf2PayloadToJSON,
5428
5533
  Jn as PaymentMethodApiOneOf2ToJSON,
5429
- Va as PaymentMethodApiOneOf3FromJSON,
5430
- _t as PaymentMethodApiOneOf3FromJSONTyped,
5431
- za as PaymentMethodApiOneOf3NameEnum,
5534
+ ic as PaymentMethodApiOneOf3FromJSON,
5535
+ Ot as PaymentMethodApiOneOf3FromJSONTyped,
5536
+ tc as PaymentMethodApiOneOf3NameEnum,
5432
5537
  Un as PaymentMethodApiOneOf3PayloadFromJSON,
5433
5538
  Gn as PaymentMethodApiOneOf3PayloadFromJSONTyped,
5434
- Ka as PaymentMethodApiOneOf3PayloadStatusEnum,
5539
+ ja as PaymentMethodApiOneOf3PayloadStatusEnum,
5435
5540
  $n as PaymentMethodApiOneOf3PayloadToJSON,
5436
5541
  Kn as PaymentMethodApiOneOf3ToJSON,
5437
- Fa as PaymentMethodApiOneOfFromJSON,
5438
- pt as PaymentMethodApiOneOfFromJSONTyped,
5439
- Ba as PaymentMethodApiOneOfNameEnum,
5542
+ Ya as PaymentMethodApiOneOfFromJSON,
5543
+ yt as PaymentMethodApiOneOfFromJSONTyped,
5544
+ Ka as PaymentMethodApiOneOfNameEnum,
5440
5545
  Mn as PaymentMethodApiOneOfPayloadFromJSON,
5441
5546
  Cn as PaymentMethodApiOneOfPayloadFromJSONTyped,
5442
5547
  In as PaymentMethodApiOneOfPayloadToJSON,
5443
5548
  bn as PaymentMethodApiOneOfToJSON,
5444
- Vn as PaymentMethodApiToJSON,
5445
- Ot as PaymentMethodRequestApiFromJSON,
5446
- ar as PaymentMethodRequestApiFromJSONTyped,
5447
- tc as PaymentMethodRequestApiNameEnum,
5448
- At as PaymentMethodRequestApiToJSON,
5449
- nr as PaymentMethodRequestPayloadApiFromJSON,
5450
- rr as PaymentMethodRequestPayloadApiFromJSONTyped,
5451
- or as PaymentMethodRequestPayloadApiToJSON,
5452
- ms as PaymentMethodUpdatePayloadApiFromJSON,
5453
- yo as PaymentMethodUpdatePayloadApiFromJSONTyped,
5454
- go as PaymentMethodUpdatePayloadApiToJSON,
5455
- vc as PollerStatus,
5549
+ zn as PaymentMethodApiToJSON,
5550
+ At as PaymentMethodRequestApiFromJSON,
5551
+ dr as PaymentMethodRequestApiFromJSONTyped,
5552
+ fc as PaymentMethodRequestApiNameEnum,
5553
+ St as PaymentMethodRequestApiToJSON,
5554
+ ar as PaymentMethodRequestPayloadApiFromJSON,
5555
+ cr as PaymentMethodRequestPayloadApiFromJSONTyped,
5556
+ sr as PaymentMethodRequestPayloadApiToJSON,
5557
+ Ts as PaymentMethodUpdatePayloadApiFromJSON,
5558
+ wo as PaymentMethodUpdatePayloadApiFromJSONTyped,
5559
+ Ro as PaymentMethodUpdatePayloadApiToJSON,
5560
+ $c as PollerStatus,
5456
5561
  xe as PollerStatusFromJSON,
5457
- Er as PollerStatusFromJSONTyped,
5458
- Nc as PollerStatusToJSON,
5459
- K as RequiredError,
5460
- Pi as ResponseError,
5461
- Aa as SourceMarket,
5562
+ Jr as PollerStatusFromJSONTyped,
5563
+ qc as PollerStatusToJSON,
5564
+ Is as RequestPayloadFromJSON,
5565
+ ko as RequestPayloadFromJSONTyped,
5566
+ Ms as RequestPayloadRequestTypeEnum,
5567
+ To as RequestPayloadToJSON,
5568
+ $ as RequiredError,
5569
+ Ei as ResponseError,
5570
+ Ia as SourceMarket,
5462
5571
  ge as SourceMarketFromJSON,
5463
5572
  ln as SourceMarketFromJSONTyped,
5464
- Sa as SourceMarketToJSON,
5465
- Be as TagApiFromJSON,
5573
+ Da as SourceMarketToJSON,
5574
+ He as TagApiFromJSON,
5466
5575
  mn as TagApiFromJSONTyped,
5467
- Fe as TagApiToJSON,
5468
- lt as TaxApiFromJSON,
5576
+ Be as TagApiToJSON,
5577
+ mt as TaxApiFromJSON,
5469
5578
  hn as TaxApiFromJSONTyped,
5470
- Ra as TaxApiTaxFrequencyEnum,
5471
- ka as TaxApiTaxModeEnum,
5472
- mt as TaxApiToJSON,
5473
- Ei as TextApiResponse,
5474
- Tt as TravelTimesApiFromJSON,
5475
- kr as TravelTimesApiFromJSONTyped,
5476
- Mt as TravelTimesApiToJSON,
5477
- Sr as TravelTimesApiTravelTimesFromJSON,
5478
- wr as TravelTimesApiTravelTimesFromJSONTyped,
5479
- Rr as TravelTimesApiTravelTimesToJSON,
5480
- qo as VoidApiResponse,
5481
- $o as canConsumeForm,
5579
+ va as TaxApiTaxFrequencyEnum,
5580
+ Na as TaxApiTaxModeEnum,
5581
+ ht as TaxApiToJSON,
5582
+ rt as TextApiResponse,
5583
+ Mt as TravelTimesApiFromJSON,
5584
+ br as TravelTimesApiFromJSONTyped,
5585
+ Ct as TravelTimesApiToJSON,
5586
+ Cr as TravelTimesApiTravelTimesFromJSON,
5587
+ Ir as TravelTimesApiTravelTimesFromJSONTyped,
5588
+ Dr as TravelTimesApiTravelTimesToJSON,
5589
+ Qo as VoidApiResponse,
5590
+ Xo as canConsumeForm,
5482
5591
  r as exists,
5483
5592
  Li as instanceOfAllowedPaymentMethodApiOneOf,
5484
- Bi as instanceOfAllowedPaymentMethodApiOneOf1,
5593
+ Hi as instanceOfAllowedPaymentMethodApiOneOf1,
5485
5594
  xi as instanceOfAllowedPaymentMethodApiOneOf2,
5486
5595
  qi as instanceOfAllowedPaymentMethodApiOneOf3,
5487
- jo as instanceOfAllowedPaymentMethodApiOneOf3Payload,
5488
- na as instanceOfAmenitiesApi,
5489
- ra as instanceOfBedApi,
5490
- Xa as instanceOfBookingApi,
5491
- nc as instanceOfBookingCreateApi,
5492
- ja as instanceOfBookingCreateApiGuestsListInner,
5493
- Qa as instanceOfBookingCreateApiGuestsListInnerGuestsInner,
5494
- oc as instanceOfBookingPoliciesApi,
5495
- cc as instanceOfBookingPoliciesCreateApi,
5496
- uc as instanceOfBookingsApiResponse,
5497
- ca as instanceOfCancellationPolicyApi,
5498
- ha as instanceOfContactPersonApi,
5499
- ua as instanceOfContactPersonOrganizationApi,
5500
- mc as instanceOfErrorApiResponse,
5501
- ga as instanceOfEventApi,
5502
- yc as instanceOfEventMetadataApi,
5503
- Sc as instanceOfHotelApi,
5504
- gc as instanceOfHotelApiImages,
5505
- _a as instanceOfHotelImageApi,
5506
- Rc as instanceOfHotelOfferApi,
5507
- kc as instanceOfHotelOfferApiAllOf,
5508
- Cc as instanceOfHotelOfferRequestApiResponse,
5509
- Dc as instanceOfHotelOfferRequestCreateApi,
5510
- Lc as instanceOfHotelOffersApiResponse,
5511
- Pc as instanceOfHotelOffersApiResponseMeta,
5512
- Bc as instanceOfHotelOffersApiResponseMetaAllOf,
5513
- Ec as instanceOfHotelOffersDataApiResponse,
5514
- _c as instanceOfHotelReviewRatingApi,
5515
- Oa as instanceOfHotelRoomApi,
5516
- ba as instanceOfHotelRoomOfferApi,
5517
- Jc as instanceOfHotelRoomOfferApiResponse,
5518
- Gc as instanceOfHotelRoomOfferRequestApiResponse,
5519
- qc as instanceOfHotelRoomOfferRequestApiResponseAllOf,
5520
- zc as instanceOfHotelRoomOfferRequestApiResponseAllOf1,
5521
- Wc as instanceOfHotelRoomOfferRequestCreateApi,
5522
- es as instanceOfHotelRoomOffersApiResponse,
5523
- ns as instanceOfHotelRoomOffersCreateApi,
5524
- Qc as instanceOfHotelRoomOffersDataApiResponse,
5525
- is as instanceOfHotelRoomOffersDataCreateApi,
5526
- Pa as instanceOfHotelRoomingListApi,
5527
- va as instanceOfHotelRoomingListApiHotelRoom,
5528
- Na as instanceOfHotelRoomingListGuestApi,
5529
- os as instanceOfHotelRoomingListGuestsCreateApi,
5530
- cs as instanceOfHotelRoomingListGuestsUpdateApi,
5531
- La as instanceOfInvoiceApi,
5532
- jc as instanceOfMetaPollingResponseApi,
5533
- ds as instanceOfMetaPollingResponseApiAllOf,
5534
- dc as instanceOfMetaResponseApi,
5596
+ ca as instanceOfAllowedPaymentMethodApiOneOf3Payload,
5597
+ fa as instanceOfAmenitiesApi,
5598
+ la as instanceOfBedApi,
5599
+ oc as instanceOfBookingApi,
5600
+ mc as instanceOfBookingCreateApi,
5601
+ cc as instanceOfBookingCreateApiGuestsListInner,
5602
+ ac as instanceOfBookingCreateApiGuestsListInnerGuestsInner,
5603
+ gc as instanceOfBookingPoliciesApi,
5604
+ Oc as instanceOfBookingPoliciesCreateApi,
5605
+ wc as instanceOfBookingsApiResponse,
5606
+ pa as instanceOfCancellationPolicyApi,
5607
+ wa as instanceOfContactPersonApi,
5608
+ _a as instanceOfContactPersonOrganizationApi,
5609
+ Tc as instanceOfErrorApiResponse,
5610
+ Ta as instanceOfEventApi,
5611
+ Ic as instanceOfEventMetadataApi,
5612
+ Pc as instanceOfHotelApi,
5613
+ Dc as instanceOfHotelApiImages,
5614
+ Ma as instanceOfHotelImageApi,
5615
+ Lc as instanceOfHotelOfferApi,
5616
+ Fc as instanceOfHotelOfferApiAllOf,
5617
+ xc as instanceOfHotelOfferRequestApiResponse,
5618
+ Uc as instanceOfHotelOfferRequestCreateApi,
5619
+ Vc as instanceOfHotelOffersApiResponse,
5620
+ Kc as instanceOfHotelOffersApiResponseMeta,
5621
+ Zc as instanceOfHotelOffersApiResponseMetaAllOf,
5622
+ Yc as instanceOfHotelOffersDataApiResponse,
5623
+ bc as instanceOfHotelReviewRatingApi,
5624
+ Ca as instanceOfHotelRoomApi,
5625
+ Ba as instanceOfHotelRoomOfferApi,
5626
+ Qc as instanceOfHotelRoomOfferApiResponse,
5627
+ es as instanceOfHotelRoomOfferRequestApiResponse,
5628
+ is as instanceOfHotelRoomOfferRequestApiResponseAllOf,
5629
+ os as instanceOfHotelRoomOfferRequestApiResponseAllOf1,
5630
+ ss as instanceOfHotelRoomOfferRequestCreateApi,
5631
+ ls as instanceOfHotelRoomOffersApiResponse,
5632
+ ps as instanceOfHotelRoomOffersCreateApi,
5633
+ us as instanceOfHotelRoomOffersDataApiResponse,
5634
+ hs as instanceOfHotelRoomOffersDataCreateApi,
5635
+ Ua as instanceOfHotelRoomingListApi,
5636
+ xa as instanceOfHotelRoomingListApiHotelRoom,
5637
+ Ja as instanceOfHotelRoomingListGuestApi,
5638
+ gs as instanceOfHotelRoomingListGuestsCreateApi,
5639
+ Os as instanceOfHotelRoomingListGuestsUpdateApi,
5640
+ $a as instanceOfInvoiceApi,
5641
+ fs as instanceOfMetaPollingResponseApi,
5642
+ Ss as instanceOfMetaPollingResponseApiAllOf,
5643
+ Sc as instanceOfMetaResponseApi,
5644
+ yc as instanceOfOrderAddon,
5645
+ dc as instanceOfOrderAddonSelection,
5535
5646
  Dn as instanceOfPaymentMethodApiOneOf,
5536
5647
  En as instanceOfPaymentMethodApiOneOf1,
5537
- xa as instanceOfPaymentMethodApiOneOf1Payload,
5648
+ Va as instanceOfPaymentMethodApiOneOf1Payload,
5538
5649
  xn as instanceOfPaymentMethodApiOneOf2,
5539
- Ga as instanceOfPaymentMethodApiOneOf2Payload,
5650
+ Wa as instanceOfPaymentMethodApiOneOf2Payload,
5540
5651
  qn as instanceOfPaymentMethodApiOneOf3,
5541
- Ya as instanceOfPaymentMethodApiOneOf3Payload,
5542
- Ha as instanceOfPaymentMethodApiOneOfPayload,
5543
- ic as instanceOfPaymentMethodRequestApi,
5544
- ec as instanceOfPaymentMethodRequestPayloadApi,
5545
- ls as instanceOfPaymentMethodUpdatePayloadApi,
5546
- wa as instanceOfTagApi,
5547
- Ta as instanceOfTaxApi,
5548
- Ac as instanceOfTravelTimesApi,
5549
- Oc as instanceOfTravelTimesApiTravelTimes,
5550
- Go as mapValues,
5652
+ ec as instanceOfPaymentMethodApiOneOf3Payload,
5653
+ qa as instanceOfPaymentMethodApiOneOfPayload,
5654
+ lc as instanceOfPaymentMethodRequestApi,
5655
+ uc as instanceOfPaymentMethodRequestPayloadApi,
5656
+ ks as instanceOfPaymentMethodUpdatePayloadApi,
5657
+ Cs as instanceOfRequestPayload,
5658
+ ba as instanceOfTagApi,
5659
+ Pa as instanceOfTaxApi,
5660
+ Nc as instanceOfTravelTimesApi,
5661
+ vc as instanceOfTravelTimesApiTravelTimes,
5662
+ Wo as mapValues,
5551
5663
  nt as querystring,
5552
- Do as v1ApiClient
5664
+ Ho as v1ApiClient
5553
5665
  };