@revolugo/elements 7.2.2-alpha.13 → 7.2.2-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/css/{revolugo.cancellationpoliciesbadge.DDwUPwrW.css → revolugo.hotelroomoffersbookingflow.DCaDvGwh.css} +1 -1
  2. package/dist/{revolugo.banktransferdetails.BufuNy_u.min.js → revolugo.banktransferdetails.CYjUVuJz.min.js} +6 -6
  3. package/dist/{revolugo.bookingdetailssidebar.mT9qqpDQ.min.js → revolugo.bookingdetailssidebar.C0obMdgU.min.js} +6 -6
  4. package/dist/{revolugo.bookingmanager.DtTB4zq0.min.js → revolugo.bookingmanager.DvvlKx2e.min.js} +6 -6
  5. package/dist/{revolugo.cancellationpoliciesbadge.BnCrhU3h.min.js → revolugo.cancellationpoliciesbadge.D7LVuRDH.min.js} +6 -6
  6. package/dist/{revolugo.cancellationpolicieslist.BMTomV3v.min.js → revolugo.cancellationpolicieslist.BR_G1ARD.min.js} +6 -6
  7. package/dist/{revolugo.creditcardstripeform.B2QMzjLe.min.js → revolugo.creditcardstripeform.4dDrqg1K.min.js} +4 -4
  8. package/dist/{revolugo.creditcardstripeform.CusizRTh.min.js → revolugo.creditcardstripeform.BrUae68V.min.js} +4 -4
  9. package/dist/{revolugo.currencypickerbtn.ihiZhWbA.min.js → revolugo.currencypickerbtn.DUP7wy1c.min.js} +6 -6
  10. package/dist/{revolugo.dialog-attach.B4u09anR.min.js → revolugo.dialog-attach.DDEKmOP6.min.js} +2 -2
  11. package/dist/{revolugo.fastbookingflow.DLugBTVT.min.js → revolugo.fastbookingflow.Fz446Ggh.min.js} +6 -6
  12. package/dist/{revolugo.fullbookingflow.BTRZdXX3.min.js → revolugo.fullbookingflow.BGZnndHv.min.js} +6 -6
  13. package/dist/{revolugo.hoteldescriptionview.Cv26xCI8.min.js → revolugo.hoteldescriptionview.MdPLpFH5.min.js} +6 -6
  14. package/dist/{revolugo.hotelofferlist.kvYfXxDo.min.js → revolugo.hotelofferlist.BhvMD6WZ.min.js} +6 -6
  15. package/dist/{revolugo.hoteloffersearchmenu.DjpPYxx8.min.js → revolugo.hoteloffersearchmenu.ekgdcy3U.min.js} +53 -53
  16. package/dist/{revolugo.hoteloffersmap.BSVjMUA1.min.js → revolugo.hoteloffersmap.D9-btypr.min.js} +6 -6
  17. package/dist/{revolugo.hoteloffersview.IJXSML_9.min.js → revolugo.hoteloffersview.BJtd_13A.min.js} +6 -6
  18. package/dist/{revolugo.hotelroomofferlist.DcxGABeb.min.js → revolugo.hotelroomofferlist.CDBZbRc1.min.js} +6 -6
  19. package/dist/{revolugo.cancellationpoliciesbadge.props.k52BB4cB.min.js → revolugo.hotelroomoffersbookingflow.BafyrX1p.min.js} +4410 -4409
  20. package/dist/{revolugo.hotelroomoffersbookingflow.C3aUPF73.min.js → revolugo.hotelroomoffersbookingflow.BuBdAmst.min.js} +6 -6
  21. package/dist/{revolugo.hotelroomoffersearchmenu.CY19SRfA.min.js → revolugo.hotelroomoffersearchmenu.C2XH2Blv.min.js} +6 -6
  22. package/dist/{revolugo.hotelroomoffersview.CX3lPp5A.min.js → revolugo.hotelroomoffersview.Czv4osjh.min.js} +6 -6
  23. package/dist/{revolugo.index.CcHt-iBC.min.js → revolugo.index.BsKUrss3.min.js} +2 -2
  24. package/dist/{revolugo.index.wc.BrFAdCty.min.js → revolugo.index.wc.CD7nBgdW.min.js} +2258 -2259
  25. package/dist/{revolugo.langpickerbtn.DV0z29Tv.min.js → revolugo.langpickerbtn.Cv2IsoFI.min.js} +6 -6
  26. package/dist/revolugo.min.js +1 -1
  27. package/dist/{revolugo.prebookform.BCeSN9hn.min.js → revolugo.prebookform.BpswJrYa.min.js} +6 -6
  28. package/dist/{revolugo.preferencesmenu.Cy9m1HBJ.min.js → revolugo.preferencesmenu.CtMkHmG2.min.js} +33 -33
  29. package/dist/{revolugo.preferencesmenu.DJcApiOB.min.js → revolugo.preferencesmenu.e8AJWdGs.min.js} +4 -4
  30. package/dist/{revolugo.roominglisteditor.Cd3qTH0Y.min.js → revolugo.roominglisteditor.CPinmLz-.min.js} +6 -6
  31. package/dist/{revolugo.storybooktoolbar.CPFVK8hr.min.js → revolugo.storybooktoolbar.B9yuFKVe.min.js} +5 -5
  32. package/dist/{revolugo.termsandconditions.DLzN_T2a.min.js → revolugo.termsandconditions.C13lc2oN.min.js} +6 -6
  33. package/dist/{revolugo.vtoolbar.DItwh40K.min.js → revolugo.vtoolbar.D-_VuSqL.min.js} +3 -3
  34. package/dist/{revolugo.webcomponentwrapper.6U8fjD7_.min.js → revolugo.webcomponentwrapper.BGBOlwBN.min.js} +27 -27
  35. package/package.json +3 -3
@@ -8251,2264 +8251,2263 @@ function BO() {
8251
8251
  eO();
8252
8252
  }
8253
8253
  BO();
8254
- var xs = /* @__PURE__ */ ((e) => (e.Price = "price", e.Rating = "rating", e.ReviewRating = "review_rating", e.SortBy = "sort_by", e))(xs || {});
8255
- const HO = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), VO = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), jO = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), KO = /[^\p{L}\d]+/giu, vm = "$1\0$2", Em = "";
8256
- function fv(e) {
8257
- let t = e.trim();
8258
- t = t.replace(HO, vm).replace(VO, vm), t = t.replace(KO, "\0");
8259
- let n = 0, r = t.length;
8260
- for (; t.charAt(n) === "\0"; )
8261
- n++;
8262
- if (n === r)
8263
- return [];
8264
- for (; t.charAt(r - 1) === "\0"; )
8265
- r--;
8266
- return t.slice(n, r).split(/\0/g);
8267
- }
8268
- function GO(e) {
8269
- const t = fv(e);
8270
- for (let n = 0; n < t.length; n++) {
8271
- const r = t[n], o = jO.exec(r);
8272
- if (o) {
8273
- const s = o.index + (o[1] ?? o[2]).length;
8274
- t.splice(n, 1, r.slice(0, s), r.slice(s));
8275
- }
8276
- }
8277
- return t;
8278
- }
8279
- function dv(e, t) {
8280
- const [n, r, o] = ru(e, t);
8281
- return n + r.map(nu(t?.locale)).join(t?.delimiter ?? " ") + o;
8282
- }
8283
- function WO(e, t) {
8284
- const [n, r, o] = ru(e, t), s = nu(t?.locale), i = hd(t?.locale), a = t?.mergeAmbiguousCharacters ? gd(s, i) : mv(s, i);
8285
- return n + r.map((c, u) => u === 0 ? s(c) : a(c, u)).join(t?.delimiter ?? "") + o;
8286
- }
8287
- function YO(e, t) {
8288
- const [n, r, o] = ru(e, t), s = nu(t?.locale), i = hd(t?.locale), a = t?.mergeAmbiguousCharacters ? gd(s, i) : mv(s, i);
8289
- return n + r.map(a).join(t?.delimiter ?? "") + o;
8290
- }
8291
- function zO(e, t) {
8292
- const [n, r, o] = ru(e, t), s = nu(t?.locale), i = hd(t?.locale);
8293
- return n + r.map(gd(s, i)).join(t?.delimiter ?? " ") + o;
8294
- }
8295
- function pv(e, t) {
8296
- return dv(e, { delimiter: "-", ...t });
8297
- }
8298
- function qO(e, t) {
8299
- return dv(e, { delimiter: "_", ...t });
8300
- }
8301
- function nu(e) {
8302
- return e === !1 ? (t) => t.toLowerCase() : (t) => t.toLocaleLowerCase(e);
8303
- }
8304
- function hd(e) {
8305
- return e === !1 ? (t) => t.toUpperCase() : (t) => t.toLocaleUpperCase(e);
8306
- }
8307
- function gd(e, t) {
8308
- return (n) => `${t(n[0])}${e(n.slice(1))}`;
8309
- }
8310
- function mv(e, t) {
8311
- return (n, r) => {
8312
- const o = n[0];
8313
- return (r > 0 && o >= "0" && o <= "9" ? "_" + o : t(o)) + e(n.slice(1));
8314
- };
8315
- }
8316
- function ru(e, t = {}) {
8317
- const n = t.split ?? (t.separateNumbers ? GO : fv), r = t.prefixCharacters ?? Em, o = t.suffixCharacters ?? Em;
8318
- let s = 0, i = e.length;
8319
- for (; s < e.length; ) {
8320
- const a = e.charAt(s);
8321
- if (!r.includes(a))
8322
- break;
8323
- s++;
8324
- }
8325
- for (; i > s; ) {
8326
- const a = i - 1, c = e.charAt(a);
8327
- if (!o.includes(c))
8328
- break;
8329
- i = a;
8330
- }
8331
- return [
8332
- e.slice(0, s),
8333
- n(e.slice(s, i)),
8334
- e.slice(i)
8335
- ];
8336
- }
8337
- var Ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8338
- function zt(e) {
8339
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8340
- }
8341
- var Nl = { exports: {} }, ZO = Nl.exports, Sm;
8342
- function JO() {
8343
- return Sm || (Sm = 1, (function(e, t) {
8344
- (function(n, r, o) {
8345
- e.exports = o(), e.exports.default = o();
8346
- })("slugify", ZO, function() {
8347
- var n = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), r = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
8348
- function o(s, i) {
8349
- if (typeof s != "string")
8350
- throw new Error("slugify: string argument expected");
8351
- i = typeof i == "string" ? { replacement: i } : i || {};
8352
- var a = r[i.locale] || {}, c = i.replacement === void 0 ? "-" : i.replacement, u = i.trim === void 0 ? !0 : i.trim, f = s.normalize().split("").reduce(function(l, d) {
8353
- var p = a[d];
8354
- return p === void 0 && (p = n[d]), p === void 0 && (p = d), p === c && (p = " "), l + p.replace(i.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
8355
- }, "");
8356
- return i.strict && (f = f.replace(/[^A-Za-z0-9\s]/g, "")), u && (f = f.trim()), f = f.replace(/\s+/g, c), i.lower && (f = f.toLowerCase()), f;
8357
- }
8358
- return o.extend = function(s) {
8359
- Object.assign(n, s);
8360
- }, o;
8361
- });
8362
- })(Nl)), Nl.exports;
8363
- }
8364
- var XO = JO();
8365
- const QO = /* @__PURE__ */ zt(XO);
8366
- function eD(e) {
8367
- return QO(pv(e), {
8368
- lower: !0,
8369
- strict: !0
8370
- });
8371
- }
8372
- var le = /* @__PURE__ */ ((e) => (e.Camel = "camelCase", e.Capital = "capitalCase", e.Param = "paramCase", e.Pascal = "pascalCase", e.Slug = "slugCase", e.Snake = "snakeCase", e))(le || {});
8373
- const tD = {
8374
- camelCase: WO,
8375
- capitalCase: zO,
8376
- paramCase: pv,
8377
- pascalCase: YO,
8378
- slugCase: eD,
8379
- snakeCase: qO
8380
- };
8381
- function nD(e, t) {
8382
- return e.some(
8383
- (n) => typeof n == "string" ? n === t : n.test(t)
8384
- );
8385
- }
8386
- function rD(e) {
8387
- return e === Object(e) && !Array.isArray(e) && typeof e != "function";
8388
- }
8389
- function ce(e, t, n = { deep: !0 }) {
8390
- return rD(e) && !(e instanceof Date) ? Object.keys(e).reduce((r, o) => {
8391
- const s = n?.exclude && nD(n.exclude, o) ? o : tD[t](o);
8392
- return r[s] = n.deep ? ce(e[o], t, n) : e[o], r;
8393
- }, {}) : Array.isArray(e) ? e.map((r) => ce(r, t, n)) : e;
8394
- }
8395
- var Ll = /* @__PURE__ */ ((e) => (e.V1 = "v1", e))(Ll || {}), Zr = /* @__PURE__ */ ((e) => (e.CiCd = "CI-CD", e.Local = "LOCAL", e.Production = "LIVE", e.Sandbox = "SANDBOX", e.Staging = "STAGING", e))(Zr || {});
8396
- const oD = {
8254
+ var xs = /* @__PURE__ */ ((e) => (e.Price = "price", e.Rating = "rating", e.ReviewRating = "review_rating", e.SortBy = "sort_by", e))(xs || {}), Nl = /* @__PURE__ */ ((e) => (e.V1 = "v1", e))(Nl || {}), Zr = /* @__PURE__ */ ((e) => (e.CiCd = "CI-CD", e.Local = "LOCAL", e.Production = "LIVE", e.Sandbox = "SANDBOX", e.Staging = "STAGING", e))(Zr || {});
8255
+ const HO = {
8397
8256
  LIVE: "https://booking-api.revolugo.com",
8398
8257
  SANDBOX: "https://booking-api.sandbox.revolugo.com",
8399
8258
  STAGING: "https://booking-api.staging.revolugo.com",
8400
8259
  "CI-CD": "https://booking-api.staging.revolugo.com",
8401
8260
  LOCAL: "http://127.0.0.1:3001"
8402
8261
  };
8403
- var _d = /* @__PURE__ */ ((e) => (e.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", e.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", e))(_d || {}), Ml = { exports: {} }, sD = Ml.exports, Tm;
8404
- function hv() {
8405
- return Tm || (Tm = 1, (function(e, t) {
8406
- (function(n, r) {
8407
- e.exports = r();
8408
- })(sD, (function() {
8409
- var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", a = "minute", c = "hour", u = "day", f = "week", l = "month", d = "quarter", p = "year", h = "date", m = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|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, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(V) {
8410
- var E = ["th", "st", "nd", "rd"], S = V % 100;
8411
- return "[" + V + (E[(S - 20) % 10] || E[S] || E[0]) + "]";
8412
- } }, O = function(V, E, S) {
8413
- var I = String(V);
8414
- return !I || I.length >= E ? V : "" + Array(E + 1 - I.length).join(S) + V;
8415
- }, k = { s: O, z: function(V) {
8416
- var E = -V.utcOffset(), S = Math.abs(E), I = Math.floor(S / 60), D = S % 60;
8417
- return (E <= 0 ? "+" : "-") + O(I, 2, "0") + ":" + O(D, 2, "0");
8418
- }, m: function V(E, S) {
8419
- if (E.date() < S.date()) return -V(S, E);
8420
- var I = 12 * (S.year() - E.year()) + (S.month() - E.month()), D = E.clone().add(I, l), F = S - D < 0, $ = E.clone().add(I + (F ? -1 : 1), l);
8421
- return +(-(I + (S - D) / (F ? D - $ : $ - D)) || 0);
8422
- }, a: function(V) {
8423
- return V < 0 ? Math.ceil(V) || 0 : Math.floor(V);
8424
- }, p: function(V) {
8425
- return { M: l, y: p, w: f, d: u, D: h, h: c, m: a, s: i, ms: s, Q: d }[V] || String(V || "").toLowerCase().replace(/s$/, "");
8426
- }, u: function(V) {
8427
- return V === void 0;
8428
- } }, R = "en", L = {};
8429
- L[R] = b;
8430
- var A = "$isDayjsObject", W = function(V) {
8431
- return V instanceof H || !(!V || !V[A]);
8432
- }, U = function V(E, S, I) {
8433
- var D;
8434
- if (!E) return R;
8435
- if (typeof E == "string") {
8436
- var F = E.toLowerCase();
8437
- L[F] && (D = F), S && (L[F] = S, D = F);
8438
- var $ = E.split("-");
8439
- if (!D && $.length > 1) return V($[0]);
8440
- } else {
8441
- var X = E.name;
8442
- L[X] = E, D = X;
8262
+ var hd = /* @__PURE__ */ ((e) => (e.HOTEL_ROOM_OFFERS = "HOTEL_ROOM_OFFERS", e.HOTEL_SEARCH_POLLING = "HOTEL_SEARCH_POLLING", e))(hd || {}), Ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8263
+ function zt(e) {
8264
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
8265
+ }
8266
+ var Mu = { exports: {} }, vm;
8267
+ function VO() {
8268
+ return vm || (vm = 1, (function(e, t) {
8269
+ var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof Ki < "u" && Ki, r = (function() {
8270
+ function s() {
8271
+ this.fetch = !1, this.DOMException = n.DOMException;
8272
+ }
8273
+ return s.prototype = n, new s();
8274
+ })();
8275
+ (function(s) {
8276
+ (function(i) {
8277
+ var a = typeof s < "u" && s || typeof self < "u" && self || // eslint-disable-next-line no-undef
8278
+ typeof Ki < "u" && Ki || {}, c = {
8279
+ searchParams: "URLSearchParams" in a,
8280
+ iterable: "Symbol" in a && "iterator" in Symbol,
8281
+ blob: "FileReader" in a && "Blob" in a && (function() {
8282
+ try {
8283
+ return new Blob(), !0;
8284
+ } catch {
8285
+ return !1;
8286
+ }
8287
+ })(),
8288
+ formData: "FormData" in a,
8289
+ arrayBuffer: "ArrayBuffer" in a
8290
+ };
8291
+ function u(E) {
8292
+ return E && DataView.prototype.isPrototypeOf(E);
8443
8293
  }
8444
- return !I && D && (R = D), D || !I && R;
8445
- }, x = function(V, E) {
8446
- if (W(V)) return V.clone();
8447
- var S = typeof E == "object" ? E : {};
8448
- return S.date = V, S.args = arguments, new H(S);
8449
- }, C = k;
8450
- C.l = U, C.i = W, C.w = function(V, E) {
8451
- return x(V, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
8452
- };
8453
- var H = (function() {
8454
- function V(S) {
8455
- this.$L = U(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[A] = !0;
8294
+ if (c.arrayBuffer)
8295
+ var f = [
8296
+ "[object Int8Array]",
8297
+ "[object Uint8Array]",
8298
+ "[object Uint8ClampedArray]",
8299
+ "[object Int16Array]",
8300
+ "[object Uint16Array]",
8301
+ "[object Int32Array]",
8302
+ "[object Uint32Array]",
8303
+ "[object Float32Array]",
8304
+ "[object Float64Array]"
8305
+ ], l = ArrayBuffer.isView || function(E) {
8306
+ return E && f.indexOf(Object.prototype.toString.call(E)) > -1;
8307
+ };
8308
+ function d(E) {
8309
+ if (typeof E != "string" && (E = String(E)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(E) || E === "")
8310
+ throw new TypeError('Invalid character in header field name: "' + E + '"');
8311
+ return E.toLowerCase();
8456
8312
  }
8457
- var E = V.prototype;
8458
- return E.parse = function(S) {
8459
- this.$d = (function(I) {
8460
- var D = I.date, F = I.utc;
8461
- if (D === null) return /* @__PURE__ */ new Date(NaN);
8462
- if (C.u(D)) return /* @__PURE__ */ new Date();
8463
- if (D instanceof Date) return new Date(D);
8464
- if (typeof D == "string" && !/Z$/i.test(D)) {
8465
- var $ = D.match(_);
8466
- if ($) {
8467
- var X = $[2] - 1 || 0, Q = ($[7] || "0").substring(0, 3);
8468
- return F ? new Date(Date.UTC($[1], X, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, Q)) : new Date($[1], X, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, Q);
8469
- }
8313
+ function p(E) {
8314
+ return typeof E != "string" && (E = String(E)), E;
8315
+ }
8316
+ function h(E) {
8317
+ var S = {
8318
+ next: function() {
8319
+ var I = E.shift();
8320
+ return { done: I === void 0, value: I };
8470
8321
  }
8471
- return new Date(D);
8472
- })(S), this.init();
8473
- }, E.init = function() {
8474
- var S = this.$d;
8475
- this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds();
8476
- }, E.$utils = function() {
8477
- return C;
8478
- }, E.isValid = function() {
8479
- return this.$d.toString() !== m;
8480
- }, E.isSame = function(S, I) {
8481
- var D = x(S);
8482
- return this.startOf(I) <= D && D <= this.endOf(I);
8483
- }, E.isAfter = function(S, I) {
8484
- return x(S) < this.startOf(I);
8485
- }, E.isBefore = function(S, I) {
8486
- return this.endOf(I) < x(S);
8487
- }, E.$g = function(S, I, D) {
8488
- return C.u(S) ? this[I] : this.set(D, S);
8489
- }, E.unix = function() {
8490
- return Math.floor(this.valueOf() / 1e3);
8491
- }, E.valueOf = function() {
8492
- return this.$d.getTime();
8493
- }, E.startOf = function(S, I) {
8494
- var D = this, F = !!C.u(I) || I, $ = C.p(S), X = function(je, be) {
8495
- var Fe = C.w(D.$u ? Date.UTC(D.$y, be, je) : new Date(D.$y, be, je), D);
8496
- return F ? Fe : Fe.endOf(u);
8497
- }, Q = function(je, be) {
8498
- return C.w(D.toDate()[je].apply(D.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(be)), D);
8499
- }, ne = this.$W, re = this.$M, me = this.$D, Xe = "set" + (this.$u ? "UTC" : "");
8500
- switch ($) {
8501
- case p:
8502
- return F ? X(1, 0) : X(31, 11);
8503
- case l:
8504
- return F ? X(1, re) : X(0, re + 1);
8505
- case f:
8506
- var ke = this.$locale().weekStart || 0, Ge = (ne < ke ? ne + 7 : ne) - ke;
8507
- return X(F ? me - Ge : me + (6 - Ge), re);
8508
- case u:
8509
- case h:
8510
- return Q(Xe + "Hours", 0);
8511
- case c:
8512
- return Q(Xe + "Minutes", 1);
8513
- case a:
8514
- return Q(Xe + "Seconds", 2);
8515
- case i:
8516
- return Q(Xe + "Milliseconds", 3);
8517
- default:
8518
- return this.clone();
8519
- }
8520
- }, E.endOf = function(S) {
8521
- return this.startOf(S, !1);
8522
- }, E.$set = function(S, I) {
8523
- var D, F = C.p(S), $ = "set" + (this.$u ? "UTC" : ""), X = (D = {}, D[u] = $ + "Date", D[h] = $ + "Date", D[l] = $ + "Month", D[p] = $ + "FullYear", D[c] = $ + "Hours", D[a] = $ + "Minutes", D[i] = $ + "Seconds", D[s] = $ + "Milliseconds", D)[F], Q = F === u ? this.$D + (I - this.$W) : I;
8524
- if (F === l || F === p) {
8525
- var ne = this.clone().set(h, 1);
8526
- ne.$d[X](Q), ne.init(), this.$d = ne.set(h, Math.min(this.$D, ne.daysInMonth())).$d;
8527
- } else X && this.$d[X](Q);
8528
- return this.init(), this;
8529
- }, E.set = function(S, I) {
8530
- return this.clone().$set(S, I);
8531
- }, E.get = function(S) {
8532
- return this[C.p(S)]();
8533
- }, E.add = function(S, I) {
8534
- var D, F = this;
8535
- S = Number(S);
8536
- var $ = C.p(I), X = function(re) {
8537
- var me = x(F);
8538
- return C.w(me.date(me.date() + Math.round(re * S)), F);
8539
- };
8540
- if ($ === l) return this.set(l, this.$M + S);
8541
- if ($ === p) return this.set(p, this.$y + S);
8542
- if ($ === u) return X(1);
8543
- if ($ === f) return X(7);
8544
- var Q = (D = {}, D[a] = r, D[c] = o, D[i] = n, D)[$] || 1, ne = this.$d.getTime() + S * Q;
8545
- return C.w(ne, this);
8546
- }, E.subtract = function(S, I) {
8547
- return this.add(-1 * S, I);
8548
- }, E.format = function(S) {
8549
- var I = this, D = this.$locale();
8550
- if (!this.isValid()) return D.invalidDate || m;
8551
- var F = S || "YYYY-MM-DDTHH:mm:ssZ", $ = C.z(this), X = this.$H, Q = this.$m, ne = this.$M, re = D.weekdays, me = D.months, Xe = D.meridiem, ke = function(be, Fe, _t, T) {
8552
- return be && (be[Fe] || be(I, F)) || _t[Fe].slice(0, T);
8553
- }, Ge = function(be) {
8554
- return C.s(X % 12 || 12, be, "0");
8555
- }, je = Xe || function(be, Fe, _t) {
8556
- var T = be < 12 ? "AM" : "PM";
8557
- return _t ? T.toLowerCase() : T;
8558
- };
8559
- return F.replace(g, (function(be, Fe) {
8560
- return Fe || (function(_t) {
8561
- switch (_t) {
8562
- case "YY":
8563
- return String(I.$y).slice(-2);
8564
- case "YYYY":
8565
- return C.s(I.$y, 4, "0");
8566
- case "M":
8567
- return ne + 1;
8568
- case "MM":
8569
- return C.s(ne + 1, 2, "0");
8570
- case "MMM":
8571
- return ke(D.monthsShort, ne, me, 3);
8572
- case "MMMM":
8573
- return ke(me, ne);
8574
- case "D":
8575
- return I.$D;
8576
- case "DD":
8577
- return C.s(I.$D, 2, "0");
8578
- case "d":
8579
- return String(I.$W);
8580
- case "dd":
8581
- return ke(D.weekdaysMin, I.$W, re, 2);
8582
- case "ddd":
8583
- return ke(D.weekdaysShort, I.$W, re, 3);
8584
- case "dddd":
8585
- return re[I.$W];
8586
- case "H":
8587
- return String(X);
8588
- case "HH":
8589
- return C.s(X, 2, "0");
8590
- case "h":
8591
- return Ge(1);
8592
- case "hh":
8593
- return Ge(2);
8594
- case "a":
8595
- return je(X, Q, !0);
8596
- case "A":
8597
- return je(X, Q, !1);
8598
- case "m":
8599
- return String(Q);
8600
- case "mm":
8601
- return C.s(Q, 2, "0");
8602
- case "s":
8603
- return String(I.$s);
8604
- case "ss":
8605
- return C.s(I.$s, 2, "0");
8606
- case "SSS":
8607
- return C.s(I.$ms, 3, "0");
8608
- case "Z":
8609
- return $;
8610
- }
8611
- return null;
8612
- })(be) || $.replace(":", "");
8613
- }));
8614
- }, E.utcOffset = function() {
8615
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
8616
- }, E.diff = function(S, I, D) {
8617
- var F, $ = this, X = C.p(I), Q = x(S), ne = (Q.utcOffset() - this.utcOffset()) * r, re = this - Q, me = function() {
8618
- return C.m($, Q);
8619
8322
  };
8620
- switch (X) {
8621
- case p:
8622
- F = me() / 12;
8623
- break;
8624
- case l:
8625
- F = me();
8626
- break;
8627
- case d:
8628
- F = me() / 3;
8629
- break;
8630
- case f:
8631
- F = (re - ne) / 6048e5;
8632
- break;
8633
- case u:
8634
- F = (re - ne) / 864e5;
8635
- break;
8636
- case c:
8637
- F = re / o;
8638
- break;
8639
- case a:
8640
- F = re / r;
8641
- break;
8642
- case i:
8643
- F = re / n;
8644
- break;
8645
- default:
8646
- F = re;
8323
+ return c.iterable && (S[Symbol.iterator] = function() {
8324
+ return S;
8325
+ }), S;
8326
+ }
8327
+ function m(E) {
8328
+ this.map = {}, E instanceof m ? E.forEach(function(S, I) {
8329
+ this.append(I, S);
8330
+ }, this) : Array.isArray(E) ? E.forEach(function(S) {
8331
+ if (S.length != 2)
8332
+ throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + S.length);
8333
+ this.append(S[0], S[1]);
8334
+ }, this) : E && Object.getOwnPropertyNames(E).forEach(function(S) {
8335
+ this.append(S, E[S]);
8336
+ }, this);
8337
+ }
8338
+ m.prototype.append = function(E, S) {
8339
+ E = d(E), S = p(S);
8340
+ var I = this.map[E];
8341
+ this.map[E] = I ? I + ", " + S : S;
8342
+ }, m.prototype.delete = function(E) {
8343
+ delete this.map[d(E)];
8344
+ }, m.prototype.get = function(E) {
8345
+ return E = d(E), this.has(E) ? this.map[E] : null;
8346
+ }, m.prototype.has = function(E) {
8347
+ return this.map.hasOwnProperty(d(E));
8348
+ }, m.prototype.set = function(E, S) {
8349
+ this.map[d(E)] = p(S);
8350
+ }, m.prototype.forEach = function(E, S) {
8351
+ for (var I in this.map)
8352
+ this.map.hasOwnProperty(I) && E.call(S, this.map[I], I, this);
8353
+ }, m.prototype.keys = function() {
8354
+ var E = [];
8355
+ return this.forEach(function(S, I) {
8356
+ E.push(I);
8357
+ }), h(E);
8358
+ }, m.prototype.values = function() {
8359
+ var E = [];
8360
+ return this.forEach(function(S) {
8361
+ E.push(S);
8362
+ }), h(E);
8363
+ }, m.prototype.entries = function() {
8364
+ var E = [];
8365
+ return this.forEach(function(S, I) {
8366
+ E.push([I, S]);
8367
+ }), h(E);
8368
+ }, c.iterable && (m.prototype[Symbol.iterator] = m.prototype.entries);
8369
+ function _(E) {
8370
+ if (!E._noBody) {
8371
+ if (E.bodyUsed)
8372
+ return Promise.reject(new TypeError("Already read"));
8373
+ E.bodyUsed = !0;
8647
8374
  }
8648
- return D ? F : C.a(F);
8649
- }, E.daysInMonth = function() {
8650
- return this.endOf(l).$D;
8651
- }, E.$locale = function() {
8652
- return L[this.$L];
8653
- }, E.locale = function(S, I) {
8654
- if (!S) return this.$L;
8655
- var D = this.clone(), F = U(S, I, !0);
8656
- return F && (D.$L = F), D;
8657
- }, E.clone = function() {
8658
- return C.w(this.$d, this);
8659
- }, E.toDate = function() {
8660
- return new Date(this.valueOf());
8661
- }, E.toJSON = function() {
8662
- return this.isValid() ? this.toISOString() : null;
8663
- }, E.toISOString = function() {
8664
- return this.$d.toISOString();
8665
- }, E.toString = function() {
8666
- return this.$d.toUTCString();
8667
- }, V;
8668
- })(), se = H.prototype;
8669
- return x.prototype = se, [["$ms", s], ["$s", i], ["$m", a], ["$H", c], ["$W", u], ["$M", l], ["$y", p], ["$D", h]].forEach((function(V) {
8670
- se[V[1]] = function(E) {
8671
- return this.$g(E, V[0], V[1]);
8672
- };
8673
- })), x.extend = function(V, E) {
8674
- return V.$i || (V(E, H, x), V.$i = !0), x;
8675
- }, x.locale = U, x.isDayjs = W, x.unix = function(V) {
8676
- return x(1e3 * V);
8677
- }, x.en = L[R], x.Ls = L, x.p = {}, x;
8678
- }));
8679
- })(Ml)), Ml.exports;
8680
- }
8681
- var iD = hv();
8682
- const jn = /* @__PURE__ */ zt(iD);
8683
- var xl = { exports: {} }, aD = xl.exports, wm;
8684
- function cD() {
8685
- return wm || (wm = 1, (function(e, t) {
8686
- (function(n, r) {
8687
- e.exports = r();
8688
- })(aD, (function() {
8689
- return function(n, r) {
8690
- var o = r.prototype, s = o.format;
8691
- o.format = function(i) {
8692
- var a = this, c = this.$locale();
8693
- if (!this.isValid()) return s.bind(this)(i);
8694
- var u = this.$utils(), f = (i || "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(l) {
8695
- switch (l) {
8696
- case "Q":
8697
- return Math.ceil((a.$M + 1) / 3);
8698
- case "Do":
8699
- return c.ordinal(a.$D);
8700
- case "gggg":
8701
- return a.weekYear();
8702
- case "GGGG":
8703
- return a.isoWeekYear();
8704
- case "wo":
8705
- return c.ordinal(a.week(), "W");
8706
- case "w":
8707
- case "ww":
8708
- return u.s(a.week(), l === "w" ? 1 : 2, "0");
8709
- case "W":
8710
- case "WW":
8711
- return u.s(a.isoWeek(), l === "W" ? 1 : 2, "0");
8712
- case "k":
8713
- case "kk":
8714
- return u.s(String(a.$H === 0 ? 24 : a.$H), l === "k" ? 1 : 2, "0");
8715
- case "X":
8716
- return Math.floor(a.$d.getTime() / 1e3);
8717
- case "x":
8718
- return a.$d.getTime();
8719
- case "z":
8720
- return "[" + a.offsetName() + "]";
8721
- case "zzz":
8722
- return "[" + a.offsetName("long") + "]";
8723
- default:
8724
- return l;
8375
+ }
8376
+ function g(E) {
8377
+ return new Promise(function(S, I) {
8378
+ E.onload = function() {
8379
+ S(E.result);
8380
+ }, E.onerror = function() {
8381
+ I(E.error);
8382
+ };
8383
+ });
8384
+ }
8385
+ function b(E) {
8386
+ var S = new FileReader(), I = g(S);
8387
+ return S.readAsArrayBuffer(E), I;
8388
+ }
8389
+ function O(E) {
8390
+ var S = new FileReader(), I = g(S), D = /charset=([A-Za-z0-9_-]+)/.exec(E.type), F = D ? D[1] : "utf-8";
8391
+ return S.readAsText(E, F), I;
8392
+ }
8393
+ function k(E) {
8394
+ for (var S = new Uint8Array(E), I = new Array(S.length), D = 0; D < S.length; D++)
8395
+ I[D] = String.fromCharCode(S[D]);
8396
+ return I.join("");
8397
+ }
8398
+ function R(E) {
8399
+ if (E.slice)
8400
+ return E.slice(0);
8401
+ var S = new Uint8Array(E.byteLength);
8402
+ return S.set(new Uint8Array(E)), S.buffer;
8403
+ }
8404
+ function L() {
8405
+ return this.bodyUsed = !1, this._initBody = function(E) {
8406
+ this.bodyUsed = this.bodyUsed, this._bodyInit = E, E ? typeof E == "string" ? this._bodyText = E : c.blob && Blob.prototype.isPrototypeOf(E) ? this._bodyBlob = E : c.formData && FormData.prototype.isPrototypeOf(E) ? this._bodyFormData = E : c.searchParams && URLSearchParams.prototype.isPrototypeOf(E) ? this._bodyText = E.toString() : c.arrayBuffer && c.blob && u(E) ? (this._bodyArrayBuffer = R(E.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : c.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(E) || l(E)) ? this._bodyArrayBuffer = R(E) : this._bodyText = E = Object.prototype.toString.call(E) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof E == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : c.searchParams && URLSearchParams.prototype.isPrototypeOf(E) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
8407
+ }, c.blob && (this.blob = function() {
8408
+ var E = _(this);
8409
+ if (E)
8410
+ return E;
8411
+ if (this._bodyBlob)
8412
+ return Promise.resolve(this._bodyBlob);
8413
+ if (this._bodyArrayBuffer)
8414
+ return Promise.resolve(new Blob([this._bodyArrayBuffer]));
8415
+ if (this._bodyFormData)
8416
+ throw new Error("could not read FormData body as blob");
8417
+ return Promise.resolve(new Blob([this._bodyText]));
8418
+ }), this.arrayBuffer = function() {
8419
+ if (this._bodyArrayBuffer) {
8420
+ var E = _(this);
8421
+ return E || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
8422
+ this._bodyArrayBuffer.buffer.slice(
8423
+ this._bodyArrayBuffer.byteOffset,
8424
+ this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
8425
+ )
8426
+ ) : Promise.resolve(this._bodyArrayBuffer));
8427
+ } else {
8428
+ if (c.blob)
8429
+ return this.blob().then(b);
8430
+ throw new Error("could not read as ArrayBuffer");
8725
8431
  }
8726
- }));
8727
- return s.bind(this)(f);
8432
+ }, this.text = function() {
8433
+ var E = _(this);
8434
+ if (E)
8435
+ return E;
8436
+ if (this._bodyBlob)
8437
+ return O(this._bodyBlob);
8438
+ if (this._bodyArrayBuffer)
8439
+ return Promise.resolve(k(this._bodyArrayBuffer));
8440
+ if (this._bodyFormData)
8441
+ throw new Error("could not read FormData body as text");
8442
+ return Promise.resolve(this._bodyText);
8443
+ }, c.formData && (this.formData = function() {
8444
+ return this.text().then(x);
8445
+ }), this.json = function() {
8446
+ return this.text().then(JSON.parse);
8447
+ }, this;
8448
+ }
8449
+ var A = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
8450
+ function W(E) {
8451
+ var S = E.toUpperCase();
8452
+ return A.indexOf(S) > -1 ? S : E;
8453
+ }
8454
+ function U(E, S) {
8455
+ if (!(this instanceof U))
8456
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
8457
+ S = S || {};
8458
+ var I = S.body;
8459
+ if (E instanceof U) {
8460
+ if (E.bodyUsed)
8461
+ throw new TypeError("Already read");
8462
+ this.url = E.url, this.credentials = E.credentials, S.headers || (this.headers = new m(E.headers)), this.method = E.method, this.mode = E.mode, this.signal = E.signal, !I && E._bodyInit != null && (I = E._bodyInit, E.bodyUsed = !0);
8463
+ } else
8464
+ this.url = String(E);
8465
+ if (this.credentials = S.credentials || this.credentials || "same-origin", (S.headers || !this.headers) && (this.headers = new m(S.headers)), this.method = W(S.method || this.method || "GET"), this.mode = S.mode || this.mode || null, this.signal = S.signal || this.signal || (function() {
8466
+ if ("AbortController" in a) {
8467
+ var $ = new AbortController();
8468
+ return $.signal;
8469
+ }
8470
+ })(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && I)
8471
+ throw new TypeError("Body not allowed for GET or HEAD requests");
8472
+ if (this._initBody(I), (this.method === "GET" || this.method === "HEAD") && (S.cache === "no-store" || S.cache === "no-cache")) {
8473
+ var D = /([?&])_=[^&]*/;
8474
+ if (D.test(this.url))
8475
+ this.url = this.url.replace(D, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
8476
+ else {
8477
+ var F = /\?/;
8478
+ this.url += (F.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
8479
+ }
8480
+ }
8481
+ }
8482
+ U.prototype.clone = function() {
8483
+ return new U(this, { body: this._bodyInit });
8728
8484
  };
8729
- };
8730
- }));
8731
- })(xl)), xl.exports;
8732
- }
8733
- var uD = cD();
8734
- const lD = /* @__PURE__ */ zt(uD);
8735
- var $l = { exports: {} }, fD = $l.exports, Om;
8736
- function dD() {
8737
- return Om || (Om = 1, (function(e, t) {
8738
- (function(n, r) {
8739
- e.exports = r();
8740
- })(fD, (function() {
8741
- return function(n, r, o) {
8742
- r.prototype.isBetween = function(s, i, a, c) {
8743
- var u = o(s), f = o(i), l = (c = c || "()")[0] === "(", d = c[1] === ")";
8744
- return (l ? this.isAfter(u, a) : !this.isBefore(u, a)) && (d ? this.isBefore(f, a) : !this.isAfter(f, a)) || (l ? this.isBefore(u, a) : !this.isAfter(u, a)) && (d ? this.isAfter(f, a) : !this.isBefore(f, a));
8485
+ function x(E) {
8486
+ var S = new FormData();
8487
+ return E.trim().split("&").forEach(function(I) {
8488
+ if (I) {
8489
+ var D = I.split("="), F = D.shift().replace(/\+/g, " "), $ = D.join("=").replace(/\+/g, " ");
8490
+ S.append(decodeURIComponent(F), decodeURIComponent($));
8491
+ }
8492
+ }), S;
8493
+ }
8494
+ function C(E) {
8495
+ var S = new m(), I = E.replace(/\r?\n[\t ]+/g, " ");
8496
+ return I.split("\r").map(function(D) {
8497
+ return D.indexOf(`
8498
+ `) === 0 ? D.substr(1, D.length) : D;
8499
+ }).forEach(function(D) {
8500
+ var F = D.split(":"), $ = F.shift().trim();
8501
+ if ($) {
8502
+ var X = F.join(":").trim();
8503
+ try {
8504
+ S.append($, X);
8505
+ } catch (Q) {
8506
+ console.warn("Response " + Q.message);
8507
+ }
8508
+ }
8509
+ }), S;
8510
+ }
8511
+ L.call(U.prototype);
8512
+ function H(E, S) {
8513
+ if (!(this instanceof H))
8514
+ throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
8515
+ if (S || (S = {}), this.type = "default", this.status = S.status === void 0 ? 200 : S.status, this.status < 200 || this.status > 599)
8516
+ throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
8517
+ this.ok = this.status >= 200 && this.status < 300, this.statusText = S.statusText === void 0 ? "" : "" + S.statusText, this.headers = new m(S.headers), this.url = S.url || "", this._initBody(E);
8518
+ }
8519
+ L.call(H.prototype), H.prototype.clone = function() {
8520
+ return new H(this._bodyInit, {
8521
+ status: this.status,
8522
+ statusText: this.statusText,
8523
+ headers: new m(this.headers),
8524
+ url: this.url
8525
+ });
8526
+ }, H.error = function() {
8527
+ var E = new H(null, { status: 200, statusText: "" });
8528
+ return E.ok = !1, E.status = 0, E.type = "error", E;
8745
8529
  };
8746
- };
8747
- }));
8748
- })($l)), $l.exports;
8530
+ var se = [301, 302, 303, 307, 308];
8531
+ H.redirect = function(E, S) {
8532
+ if (se.indexOf(S) === -1)
8533
+ throw new RangeError("Invalid status code");
8534
+ return new H(null, { status: S, headers: { location: E } });
8535
+ }, i.DOMException = a.DOMException;
8536
+ try {
8537
+ new i.DOMException();
8538
+ } catch {
8539
+ i.DOMException = function(E, S) {
8540
+ this.message = E, this.name = S;
8541
+ var I = Error(E);
8542
+ this.stack = I.stack;
8543
+ }, i.DOMException.prototype = Object.create(Error.prototype), i.DOMException.prototype.constructor = i.DOMException;
8544
+ }
8545
+ function V(E, S) {
8546
+ return new Promise(function(I, D) {
8547
+ var F = new U(E, S);
8548
+ if (F.signal && F.signal.aborted)
8549
+ return D(new i.DOMException("Aborted", "AbortError"));
8550
+ var $ = new XMLHttpRequest();
8551
+ function X() {
8552
+ $.abort();
8553
+ }
8554
+ $.onload = function() {
8555
+ var re = {
8556
+ statusText: $.statusText,
8557
+ headers: C($.getAllResponseHeaders() || "")
8558
+ };
8559
+ F.url.indexOf("file://") === 0 && ($.status < 200 || $.status > 599) ? re.status = 200 : re.status = $.status, re.url = "responseURL" in $ ? $.responseURL : re.headers.get("X-Request-URL");
8560
+ var me = "response" in $ ? $.response : $.responseText;
8561
+ setTimeout(function() {
8562
+ I(new H(me, re));
8563
+ }, 0);
8564
+ }, $.onerror = function() {
8565
+ setTimeout(function() {
8566
+ D(new TypeError("Network request failed"));
8567
+ }, 0);
8568
+ }, $.ontimeout = function() {
8569
+ setTimeout(function() {
8570
+ D(new TypeError("Network request timed out"));
8571
+ }, 0);
8572
+ }, $.onabort = function() {
8573
+ setTimeout(function() {
8574
+ D(new i.DOMException("Aborted", "AbortError"));
8575
+ }, 0);
8576
+ };
8577
+ function Q(re) {
8578
+ try {
8579
+ return re === "" && a.location.href ? a.location.href : re;
8580
+ } catch {
8581
+ return re;
8582
+ }
8583
+ }
8584
+ if ($.open(F.method, Q(F.url), !0), F.credentials === "include" ? $.withCredentials = !0 : F.credentials === "omit" && ($.withCredentials = !1), "responseType" in $ && (c.blob ? $.responseType = "blob" : c.arrayBuffer && ($.responseType = "arraybuffer")), S && typeof S.headers == "object" && !(S.headers instanceof m || a.Headers && S.headers instanceof a.Headers)) {
8585
+ var ne = [];
8586
+ Object.getOwnPropertyNames(S.headers).forEach(function(re) {
8587
+ ne.push(d(re)), $.setRequestHeader(re, p(S.headers[re]));
8588
+ }), F.headers.forEach(function(re, me) {
8589
+ ne.indexOf(me) === -1 && $.setRequestHeader(me, re);
8590
+ });
8591
+ } else
8592
+ F.headers.forEach(function(re, me) {
8593
+ $.setRequestHeader(me, re);
8594
+ });
8595
+ F.signal && (F.signal.addEventListener("abort", X), $.onreadystatechange = function() {
8596
+ $.readyState === 4 && F.signal.removeEventListener("abort", X);
8597
+ }), $.send(typeof F._bodyInit > "u" ? null : F._bodyInit);
8598
+ });
8599
+ }
8600
+ return V.polyfill = !0, a.fetch || (a.fetch = V, a.Headers = m, a.Request = U, a.Response = H), i.Headers = m, i.Request = U, i.Response = H, i.fetch = V, i;
8601
+ })({});
8602
+ })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
8603
+ var o = n.fetch ? n : r;
8604
+ t = o.fetch, t.default = o.fetch, t.fetch = o.fetch, t.Headers = o.Headers, t.Request = o.Request, t.Response = o.Response, e.exports = t;
8605
+ })(Mu, Mu.exports)), Mu.exports;
8749
8606
  }
8750
- var pD = dD();
8751
- const mD = /* @__PURE__ */ zt(pD);
8752
- var Fl = { exports: {} }, hD = Fl.exports, Dm;
8753
- function gD() {
8754
- return Dm || (Dm = 1, (function(e, t) {
8755
- (function(n, r) {
8756
- e.exports = r();
8757
- })(hD, (function() {
8758
- return function(n, r) {
8759
- r.prototype.isSameOrAfter = function(o, s) {
8760
- return this.isSame(o, s) || this.isAfter(o, s);
8761
- };
8762
- };
8763
- }));
8764
- })(Fl)), Fl.exports;
8607
+ var jO = VO();
8608
+ const KO = /* @__PURE__ */ zt(jO), GO = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), WO = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), YO = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), zO = /[^\p{L}\d]+/giu, Em = "$1\0$2", Sm = "";
8609
+ function fv(e) {
8610
+ let t = e.trim();
8611
+ t = t.replace(GO, Em).replace(WO, Em), t = t.replace(zO, "\0");
8612
+ let n = 0, r = t.length;
8613
+ for (; t.charAt(n) === "\0"; )
8614
+ n++;
8615
+ if (n === r)
8616
+ return [];
8617
+ for (; t.charAt(r - 1) === "\0"; )
8618
+ r--;
8619
+ return t.slice(n, r).split(/\0/g);
8765
8620
  }
8766
- var _D = gD();
8767
- const yD = /* @__PURE__ */ zt(_D);
8768
- var Ul = { exports: {} }, bD = Ul.exports, Am;
8769
- function vD() {
8770
- return Am || (Am = 1, (function(e, t) {
8771
- (function(n, r) {
8772
- e.exports = r();
8773
- })(bD, (function() {
8774
- return function(n, r) {
8775
- r.prototype.isSameOrBefore = function(o, s) {
8776
- return this.isSame(o, s) || this.isBefore(o, s);
8777
- };
8778
- };
8779
- }));
8780
- })(Ul)), Ul.exports;
8621
+ function qO(e) {
8622
+ const t = fv(e);
8623
+ for (let n = 0; n < t.length; n++) {
8624
+ const r = t[n], o = YO.exec(r);
8625
+ if (o) {
8626
+ const s = o.index + (o[1] ?? o[2]).length;
8627
+ t.splice(n, 1, r.slice(0, s), r.slice(s));
8628
+ }
8629
+ }
8630
+ return t;
8781
8631
  }
8782
- var ED = vD();
8783
- const SD = /* @__PURE__ */ zt(ED);
8784
- var Bl = { exports: {} }, TD = Bl.exports, Im;
8785
- function wD() {
8786
- return Im || (Im = 1, (function(e, t) {
8787
- (function(n, r) {
8788
- e.exports = r();
8789
- })(TD, (function() {
8790
- return function(n, r, o) {
8791
- var s = r.prototype, i = function(l) {
8792
- return l && (l.indexOf ? l : l.s);
8793
- }, a = function(l, d, p, h, m) {
8794
- var _ = l.name ? l : l.$locale(), g = i(_[d]), b = i(_[p]), O = g || b.map((function(R) {
8795
- return R.slice(0, h);
8796
- }));
8797
- if (!m) return O;
8798
- var k = _.weekStart;
8799
- return O.map((function(R, L) {
8800
- return O[(L + (k || 0)) % 7];
8801
- }));
8802
- }, c = function() {
8803
- return o.Ls[o.locale()];
8804
- }, u = function(l, d) {
8805
- return l.formats[d] || (function(p) {
8806
- return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(h, m, _) {
8807
- return m || _.slice(1);
8808
- }));
8809
- })(l.formats[d.toUpperCase()]);
8810
- }, f = function() {
8811
- var l = this;
8812
- return { months: function(d) {
8813
- return d ? d.format("MMMM") : a(l, "months");
8814
- }, monthsShort: function(d) {
8815
- return d ? d.format("MMM") : a(l, "monthsShort", "months", 3);
8816
- }, firstDayOfWeek: function() {
8817
- return l.$locale().weekStart || 0;
8818
- }, weekdays: function(d) {
8819
- return d ? d.format("dddd") : a(l, "weekdays");
8820
- }, weekdaysMin: function(d) {
8821
- return d ? d.format("dd") : a(l, "weekdaysMin", "weekdays", 2);
8822
- }, weekdaysShort: function(d) {
8823
- return d ? d.format("ddd") : a(l, "weekdaysShort", "weekdays", 3);
8824
- }, longDateFormat: function(d) {
8825
- return u(l.$locale(), d);
8826
- }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
8827
- };
8828
- s.localeData = function() {
8829
- return f.bind(this)();
8830
- }, o.localeData = function() {
8831
- var l = c();
8832
- return { firstDayOfWeek: function() {
8833
- return l.weekStart || 0;
8834
- }, weekdays: function() {
8835
- return o.weekdays();
8836
- }, weekdaysShort: function() {
8837
- return o.weekdaysShort();
8838
- }, weekdaysMin: function() {
8839
- return o.weekdaysMin();
8840
- }, months: function() {
8841
- return o.months();
8842
- }, monthsShort: function() {
8843
- return o.monthsShort();
8844
- }, longDateFormat: function(d) {
8845
- return u(l, d);
8846
- }, meridiem: l.meridiem, ordinal: l.ordinal };
8847
- }, o.months = function() {
8848
- return a(c(), "months");
8849
- }, o.monthsShort = function() {
8850
- return a(c(), "monthsShort", "months", 3);
8851
- }, o.weekdays = function(l) {
8852
- return a(c(), "weekdays", null, null, l);
8853
- }, o.weekdaysShort = function(l) {
8854
- return a(c(), "weekdaysShort", "weekdays", 3, l);
8855
- }, o.weekdaysMin = function(l) {
8856
- return a(c(), "weekdaysMin", "weekdays", 2, l);
8857
- };
8858
- };
8859
- }));
8860
- })(Bl)), Bl.exports;
8632
+ function dv(e, t) {
8633
+ const [n, r, o] = ru(e, t);
8634
+ return n + r.map(nu(t?.locale)).join(t?.delimiter ?? " ") + o;
8861
8635
  }
8862
- var OD = wD();
8863
- const DD = /* @__PURE__ */ zt(OD);
8864
- var Hl = { exports: {} }, AD = Hl.exports, Rm;
8865
- function ID() {
8866
- return Rm || (Rm = 1, (function(e, t) {
8867
- (function(n, r) {
8868
- e.exports = r();
8869
- })(AD, (function() {
8870
- var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
8871
- return function(r, o, s) {
8872
- var i = o.prototype, a = i.format;
8873
- s.en.formats = n, i.format = function(c) {
8874
- c === void 0 && (c = "YYYY-MM-DDTHH:mm:ssZ");
8875
- var u = this.$locale().formats, f = (function(l, d) {
8876
- return l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(p, h, m) {
8877
- var _ = m && m.toUpperCase();
8878
- return h || d[m] || n[m] || d[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(g, b, O) {
8879
- return b || O.slice(1);
8880
- }));
8881
- }));
8882
- })(c, u === void 0 ? {} : u);
8883
- return a.call(this, f);
8884
- };
8885
- };
8886
- }));
8887
- })(Hl)), Hl.exports;
8636
+ function ZO(e, t) {
8637
+ const [n, r, o] = ru(e, t), s = nu(t?.locale), i = gd(t?.locale), a = t?.mergeAmbiguousCharacters ? _d(s, i) : mv(s, i);
8638
+ return n + r.map((c, u) => u === 0 ? s(c) : a(c, u)).join(t?.delimiter ?? "") + o;
8888
8639
  }
8889
- var RD = ID();
8890
- const kD = /* @__PURE__ */ zt(RD);
8891
- var Vl = { exports: {} }, PD = Vl.exports, km;
8892
- function CD() {
8893
- return km || (km = 1, (function(e, t) {
8894
- (function(n, r) {
8895
- e.exports = r();
8896
- })(PD, (function() {
8897
- return function(n, r, o) {
8898
- var s = function(i, a) {
8899
- if (!a || !a.length || a.length === 1 && !a[0] || a.length === 1 && Array.isArray(a[0]) && !a[0].length) return null;
8900
- var c;
8901
- a.length === 1 && a[0].length > 0 && (a = a[0]), c = (a = a.filter((function(f) {
8902
- return f;
8903
- })))[0];
8904
- for (var u = 1; u < a.length; u += 1) a[u].isValid() && !a[u][i](c) || (c = a[u]);
8905
- return c;
8906
- };
8907
- o.max = function() {
8908
- var i = [].slice.call(arguments, 0);
8909
- return s("isAfter", i);
8910
- }, o.min = function() {
8911
- var i = [].slice.call(arguments, 0);
8912
- return s("isBefore", i);
8913
- };
8914
- };
8915
- }));
8916
- })(Vl)), Vl.exports;
8640
+ function JO(e, t) {
8641
+ const [n, r, o] = ru(e, t), s = nu(t?.locale), i = gd(t?.locale), a = t?.mergeAmbiguousCharacters ? _d(s, i) : mv(s, i);
8642
+ return n + r.map(a).join(t?.delimiter ?? "") + o;
8917
8643
  }
8918
- var ND = CD();
8919
- const LD = /* @__PURE__ */ zt(ND);
8920
- var jl = { exports: {} }, MD = jl.exports, Pm;
8921
- function xD() {
8922
- return Pm || (Pm = 1, (function(e, t) {
8923
- (function(n, r) {
8924
- e.exports = r();
8925
- })(MD, (function() {
8926
- return function(n, r, o) {
8927
- n = n || {};
8928
- var s = r.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
8929
- function a(u, f, l, d) {
8930
- return s.fromToBase(u, f, l, d);
8931
- }
8932
- o.en.relativeTime = i, s.fromToBase = function(u, f, l, d, p) {
8933
- for (var h, m, _, g = l.$locale().relativeTime || i, b = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], O = b.length, k = 0; k < O; k += 1) {
8934
- var R = b[k];
8935
- R.d && (h = d ? o(u).diff(l, R.d, !0) : l.diff(u, R.d, !0));
8936
- var L = (n.rounding || Math.round)(Math.abs(h));
8937
- if (_ = h > 0, L <= R.r || !R.r) {
8938
- L <= 1 && k > 0 && (R = b[k - 1]);
8939
- var A = g[R.l];
8940
- p && (L = p("" + L)), m = typeof A == "string" ? A.replace("%d", L) : A(L, f, R.l, _);
8941
- break;
8942
- }
8943
- }
8944
- if (f) return m;
8945
- var W = _ ? g.future : g.past;
8946
- return typeof W == "function" ? W(m) : W.replace("%s", m);
8947
- }, s.to = function(u, f) {
8948
- return a(u, f, this, !0);
8949
- }, s.from = function(u, f) {
8950
- return a(u, f, this);
8951
- };
8952
- var c = function(u) {
8953
- return u.$u ? o.utc() : o();
8954
- };
8955
- s.toNow = function(u) {
8956
- return this.to(c(this), u);
8957
- }, s.fromNow = function(u) {
8958
- return this.from(c(this), u);
8959
- };
8960
- };
8961
- }));
8962
- })(jl)), jl.exports;
8644
+ function XO(e, t) {
8645
+ const [n, r, o] = ru(e, t), s = nu(t?.locale), i = gd(t?.locale);
8646
+ return n + r.map(_d(s, i)).join(t?.delimiter ?? " ") + o;
8963
8647
  }
8964
- var $D = xD();
8965
- const FD = /* @__PURE__ */ zt($D);
8966
- var Kl = { exports: {} }, UD = Kl.exports, Cm;
8967
- function BD() {
8968
- return Cm || (Cm = 1, (function(e, t) {
8969
- (function(n, r) {
8970
- e.exports = r();
8971
- })(UD, (function() {
8972
- var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
8973
- return function(o, s, i) {
8974
- var a, c = function(d, p, h) {
8975
- h === void 0 && (h = {});
8976
- var m = new Date(d), _ = (function(g, b) {
8977
- b === void 0 && (b = {});
8978
- var O = b.timeZoneName || "short", k = g + "|" + O, R = r[k];
8979
- return R || (R = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: g, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: O }), r[k] = R), R;
8980
- })(p, h);
8981
- return _.formatToParts(m);
8982
- }, u = function(d, p) {
8983
- for (var h = c(d, p), m = [], _ = 0; _ < h.length; _ += 1) {
8984
- var g = h[_], b = g.type, O = g.value, k = n[b];
8985
- k >= 0 && (m[k] = parseInt(O, 10));
8986
- }
8987
- var R = m[3], L = R === 24 ? 0 : R, A = m[0] + "-" + m[1] + "-" + m[2] + " " + L + ":" + m[4] + ":" + m[5] + ":000", W = +d;
8988
- return (i.utc(A).valueOf() - (W -= W % 1e3)) / 6e4;
8989
- }, f = s.prototype;
8990
- f.tz = function(d, p) {
8991
- d === void 0 && (d = a);
8992
- var h, m = this.utcOffset(), _ = this.toDate(), g = _.toLocaleString("en-US", { timeZone: d }), b = Math.round((_ - new Date(g)) / 1e3 / 60), O = 15 * -Math.round(_.getTimezoneOffset() / 15) - b;
8993
- if (!Number(O)) h = this.utcOffset(0, p);
8994
- else if (h = i(g, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(O, !0), p) {
8995
- var k = h.utcOffset();
8996
- h = h.add(m - k, "minute");
8997
- }
8998
- return h.$x.$timezone = d, h;
8999
- }, f.offsetName = function(d) {
9000
- var p = this.$x.$timezone || i.tz.guess(), h = c(this.valueOf(), p, { timeZoneName: d }).find((function(m) {
9001
- return m.type.toLowerCase() === "timezonename";
9002
- }));
9003
- return h && h.value;
9004
- };
9005
- var l = f.startOf;
9006
- f.startOf = function(d, p) {
9007
- if (!this.$x || !this.$x.$timezone) return l.call(this, d, p);
9008
- var h = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
9009
- return l.call(h, d, p).tz(this.$x.$timezone, !0);
9010
- }, i.tz = function(d, p, h) {
9011
- var m = h && p, _ = h || p || a, g = u(+i(), _);
9012
- if (typeof d != "string") return i(d).tz(_);
9013
- var b = (function(L, A, W) {
9014
- var U = L - 60 * A * 1e3, x = u(U, W);
9015
- if (A === x) return [U, A];
9016
- var C = u(U -= 60 * (x - A) * 1e3, W);
9017
- return x === C ? [U, x] : [L - 60 * Math.min(x, C) * 1e3, Math.max(x, C)];
9018
- })(i.utc(d, m).valueOf(), g, _), O = b[0], k = b[1], R = i(O).utcOffset(k);
9019
- return R.$x.$timezone = _, R;
9020
- }, i.tz.guess = function() {
9021
- return Intl.DateTimeFormat().resolvedOptions().timeZone;
9022
- }, i.tz.setDefault = function(d) {
9023
- a = d;
9024
- };
9025
- };
9026
- }));
9027
- })(Kl)), Kl.exports;
8648
+ function pv(e, t) {
8649
+ return dv(e, { delimiter: "-", ...t });
9028
8650
  }
9029
- var HD = BD();
9030
- const VD = /* @__PURE__ */ zt(HD);
9031
- var Gl = { exports: {} }, jD = Gl.exports, Nm;
9032
- function KD() {
9033
- return Nm || (Nm = 1, (function(e, t) {
9034
- (function(n, r) {
9035
- e.exports = r();
9036
- })(jD, (function() {
9037
- var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
9038
- return function(s, i, a) {
9039
- var c = i.prototype;
9040
- a.utc = function(m) {
9041
- var _ = { date: m, utc: !0, args: arguments };
9042
- return new i(_);
9043
- }, c.utc = function(m) {
9044
- var _ = a(this.toDate(), { locale: this.$L, utc: !0 });
9045
- return m ? _.add(this.utcOffset(), n) : _;
9046
- }, c.local = function() {
9047
- return a(this.toDate(), { locale: this.$L, utc: !1 });
9048
- };
9049
- var u = c.parse;
9050
- c.parse = function(m) {
9051
- m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset), u.call(this, m);
9052
- };
9053
- var f = c.init;
9054
- c.init = function() {
9055
- if (this.$u) {
9056
- var m = this.$d;
9057
- 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();
9058
- } else f.call(this);
9059
- };
9060
- var l = c.utcOffset;
9061
- c.utcOffset = function(m, _) {
9062
- var g = this.$utils().u;
9063
- if (g(m)) return this.$u ? 0 : g(this.$offset) ? l.call(this) : this.$offset;
9064
- if (typeof m == "string" && (m = (function(R) {
9065
- R === void 0 && (R = "");
9066
- var L = R.match(r);
9067
- if (!L) return null;
9068
- var A = ("" + L[0]).match(o) || ["-", 0, 0], W = A[0], U = 60 * +A[1] + +A[2];
9069
- return U === 0 ? 0 : W === "+" ? U : -U;
9070
- })(m), m === null)) return this;
9071
- var b = Math.abs(m) <= 16 ? 60 * m : m;
9072
- if (b === 0) return this.utc(_);
9073
- var O = this.clone();
9074
- if (_) return O.$offset = b, O.$u = !1, O;
9075
- var k = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
9076
- return (O = this.local().add(b + k, n)).$offset = b, O.$x.$localOffset = k, O;
9077
- };
9078
- var d = c.format;
9079
- c.format = function(m) {
9080
- var _ = m || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
9081
- return d.call(this, _);
9082
- }, c.valueOf = function() {
9083
- var m = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
9084
- return this.$d.valueOf() - 6e4 * m;
9085
- }, c.isUTC = function() {
9086
- return !!this.$u;
9087
- }, c.toISOString = function() {
9088
- return this.toDate().toISOString();
9089
- }, c.toString = function() {
9090
- return this.toDate().toUTCString();
9091
- };
9092
- var p = c.toDate;
9093
- c.toDate = function(m) {
9094
- return m === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
9095
- };
9096
- var h = c.diff;
9097
- c.diff = function(m, _, g) {
9098
- if (m && this.$u === m.$u) return h.call(this, m, _, g);
9099
- var b = this.local(), O = a(m).local();
9100
- return h.call(b, O, _, g);
9101
- };
9102
- };
9103
- }));
9104
- })(Gl)), Gl.exports;
8651
+ function QO(e, t) {
8652
+ return dv(e, { delimiter: "_", ...t });
9105
8653
  }
9106
- var GD = KD();
9107
- const WD = /* @__PURE__ */ zt(GD);
9108
- var Wl = { exports: {} }, YD = Wl.exports, Lm;
9109
- function zD() {
9110
- return Lm || (Lm = 1, (function(e, t) {
9111
- (function(n, r) {
9112
- e.exports = r(hv());
9113
- })(YD, (function(n) {
9114
- function r(i) {
9115
- return i && typeof i == "object" && "default" in i ? i : { default: i };
9116
- }
9117
- var o = r(n), s = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(i) {
9118
- return "" + i + (i === 1 ? "er" : "");
9119
- } };
9120
- return o.default.locale(s, null, !0), s;
9121
- }));
9122
- })(Wl)), Wl.exports;
8654
+ function nu(e) {
8655
+ return e === !1 ? (t) => t.toLowerCase() : (t) => t.toLocaleLowerCase(e);
9123
8656
  }
9124
- zD();
9125
- var Yl = { exports: {} }, qD = Yl.exports, Mm;
9126
- function ZD() {
9127
- return Mm || (Mm = 1, (function(e, t) {
9128
- (function(n, r) {
9129
- e.exports = r();
9130
- })(qD, (function() {
9131
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
9132
- var r = ["th", "st", "nd", "rd"], o = n % 100;
9133
- return "[" + n + (r[(o - 20) % 10] || r[o] || r[0]) + "]";
9134
- } };
9135
- }));
9136
- })(Yl)), Yl.exports;
8657
+ function gd(e) {
8658
+ return e === !1 ? (t) => t.toUpperCase() : (t) => t.toLocaleUpperCase(e);
9137
8659
  }
9138
- ZD();
9139
- jn.extend(lD);
9140
- jn.extend(mD);
9141
- jn.extend(yD);
9142
- jn.extend(SD);
9143
- jn.extend(kD);
9144
- jn.extend(DD);
9145
- jn.extend(LD);
9146
- jn.extend(FD);
9147
- jn.extend(VD);
9148
- jn.extend(WD);
9149
- function vr(e) {
9150
- if (e === null || typeof e != "object")
9151
- return !1;
9152
- const t = Object.getPrototypeOf(e);
9153
- return t === Object.prototype || t === null;
8660
+ function _d(e, t) {
8661
+ return (n) => `${t(n[0])}${e(n.slice(1))}`;
9154
8662
  }
9155
- function mc(e, t = /* @__PURE__ */ new WeakSet()) {
9156
- if (e == null || typeof e != "object" || t.has(e))
9157
- return e;
9158
- if (t.add(e), Array.isArray(e))
9159
- return e.map((n) => mc(n, t));
9160
- if (vr(e)) {
9161
- const n = {};
9162
- for (const r in e)
9163
- Object.hasOwn(e, r) && (n[r] = mc(e[r], t));
9164
- return n;
9165
- }
9166
- return e;
8663
+ function mv(e, t) {
8664
+ return (n, r) => {
8665
+ const o = n[0];
8666
+ return (r > 0 && o >= "0" && o <= "9" ? "_" + o : t(o)) + e(n.slice(1));
8667
+ };
9167
8668
  }
9168
- function yd(e, t, n = /* @__PURE__ */ new WeakSet()) {
9169
- if (!(!vr(t) || !vr(e)) && !(t === e || n.has(t))) {
9170
- n.add(t);
9171
- for (const r in t)
9172
- if (Object.hasOwn(t, r)) {
9173
- const o = t[r], s = e[r];
9174
- vr(o) && vr(s) ? yd(s, o, n) : Array.isArray(o) && Array.isArray(s) ? e[r] = gv(s, o, n) : e[r] = mc(o, n);
9175
- }
8669
+ function ru(e, t = {}) {
8670
+ const n = t.split ?? (t.separateNumbers ? qO : fv), r = t.prefixCharacters ?? Sm, o = t.suffixCharacters ?? Sm;
8671
+ let s = 0, i = e.length;
8672
+ for (; s < e.length; ) {
8673
+ const a = e.charAt(s);
8674
+ if (!r.includes(a))
8675
+ break;
8676
+ s++;
9176
8677
  }
9177
- }
9178
- function gv(e, t, n) {
9179
- const r = e.slice();
9180
- for (let o = 0; o < t.length; o++) {
9181
- const s = t[o], i = r[o];
9182
- if (vr(s) && vr(i)) {
9183
- const a = { ...i };
9184
- yd(a, s, n), r[o] = a;
9185
- } else Array.isArray(s) && Array.isArray(i) ? r[o] = gv(i, s, n) : r[o] = mc(s, n);
8678
+ for (; i > s; ) {
8679
+ const a = i - 1, c = e.charAt(a);
8680
+ if (!o.includes(c))
8681
+ break;
8682
+ i = a;
9186
8683
  }
9187
- return r;
8684
+ return [
8685
+ e.slice(0, s),
8686
+ n(e.slice(s, i)),
8687
+ e.slice(i)
8688
+ ];
9188
8689
  }
9189
- function xm(e, ...t) {
9190
- if (!vr(e))
9191
- throw new TypeError("Target must be a plain object");
9192
- const n = /* @__PURE__ */ new WeakSet();
9193
- for (const r of t)
9194
- r != null && yd(e, r, n);
9195
- return e;
8690
+ var Ll = { exports: {} }, eD = Ll.exports, Tm;
8691
+ function tD() {
8692
+ return Tm || (Tm = 1, (function(e, t) {
8693
+ (function(n, r, o) {
8694
+ e.exports = o(), e.exports.default = o();
8695
+ })("slugify", eD, function() {
8696
+ var n = JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`), r = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
8697
+ function o(s, i) {
8698
+ if (typeof s != "string")
8699
+ throw new Error("slugify: string argument expected");
8700
+ i = typeof i == "string" ? { replacement: i } : i || {};
8701
+ var a = r[i.locale] || {}, c = i.replacement === void 0 ? "-" : i.replacement, u = i.trim === void 0 ? !0 : i.trim, f = s.normalize().split("").reduce(function(l, d) {
8702
+ var p = a[d];
8703
+ return p === void 0 && (p = n[d]), p === void 0 && (p = d), p === c && (p = " "), l + p.replace(i.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
8704
+ }, "");
8705
+ return i.strict && (f = f.replace(/[^A-Za-z0-9\s]/g, "")), u && (f = f.trim()), f = f.replace(/\s+/g, c), i.lower && (f = f.toLowerCase()), f;
8706
+ }
8707
+ return o.extend = function(s) {
8708
+ Object.assign(n, s);
8709
+ }, o;
8710
+ });
8711
+ })(Ll)), Ll.exports;
9196
8712
  }
9197
- const pt = [];
9198
- for (let e = 0; e < 256; ++e)
9199
- pt.push((e + 256).toString(16).slice(1));
9200
- function JD(e, t = 0) {
9201
- return (pt[e[t + 0]] + pt[e[t + 1]] + pt[e[t + 2]] + pt[e[t + 3]] + "-" + pt[e[t + 4]] + pt[e[t + 5]] + "-" + pt[e[t + 6]] + pt[e[t + 7]] + "-" + pt[e[t + 8]] + pt[e[t + 9]] + "-" + pt[e[t + 10]] + pt[e[t + 11]] + pt[e[t + 12]] + pt[e[t + 13]] + pt[e[t + 14]] + pt[e[t + 15]]).toLowerCase();
8713
+ var nD = tD();
8714
+ const rD = /* @__PURE__ */ zt(nD);
8715
+ function oD(e) {
8716
+ return rD(pv(e), {
8717
+ lower: !0,
8718
+ strict: !0
8719
+ });
9202
8720
  }
9203
- let Mu;
9204
- const XD = new Uint8Array(16);
9205
- function QD() {
9206
- if (!Mu) {
9207
- if (typeof crypto > "u" || !crypto.getRandomValues)
9208
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
9209
- Mu = crypto.getRandomValues.bind(crypto);
9210
- }
9211
- return Mu(XD);
8721
+ var le = /* @__PURE__ */ ((e) => (e.Camel = "camelCase", e.Capital = "capitalCase", e.Param = "paramCase", e.Pascal = "pascalCase", e.Slug = "slugCase", e.Snake = "snakeCase", e))(le || {});
8722
+ const sD = {
8723
+ camelCase: ZO,
8724
+ capitalCase: XO,
8725
+ paramCase: pv,
8726
+ pascalCase: JO,
8727
+ slugCase: oD,
8728
+ snakeCase: QO
8729
+ };
8730
+ function iD(e, t) {
8731
+ return e.some(
8732
+ (n) => typeof n == "string" ? n === t : n.test(t)
8733
+ );
9212
8734
  }
9213
- const eA = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), $m = { randomUUID: eA };
9214
- function tA(e, t, n) {
9215
- e = e || {};
9216
- const r = e.random ?? e.rng?.() ?? QD();
9217
- if (r.length < 16)
9218
- throw new Error("Random bytes length must be >= 16");
9219
- return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, JD(r);
8735
+ function aD(e) {
8736
+ return e === Object(e) && !Array.isArray(e) && typeof e != "function";
9220
8737
  }
9221
- function nA(e, t, n) {
9222
- return $m.randomUUID && !e ? $m.randomUUID() : tA(e);
8738
+ function ce(e, t, n = { deep: !0 }) {
8739
+ return aD(e) && !(e instanceof Date) ? Object.keys(e).reduce((r, o) => {
8740
+ const s = n?.exclude && iD(n.exclude, o) ? o : sD[t](o);
8741
+ return r[s] = n.deep ? ce(e[o], t, n) : e[o], r;
8742
+ }, {}) : Array.isArray(e) ? e.map((r) => ce(r, t, n)) : e;
9223
8743
  }
9224
- const rA = 1500;
9225
- class Bo {
9226
- static instance = null;
9227
- defaultOptions = {
9228
- callCount: 1,
9229
- interval: rA,
9230
- maxCallCount: 20,
9231
- minCallCount: 1
9232
- };
9233
- events = {
9234
- complete: () => {
9235
- },
9236
- data: () => {
9237
- },
9238
- error: () => {
9239
- }
9240
- };
9241
- pollings = {};
9242
- static getInstance() {
9243
- return Bo.instance || (Bo.instance = new Bo()), Bo.instance;
9244
- }
9245
- on(t, n) {
9246
- this.events[t] = n;
9247
- }
9248
- poll(t, n) {
9249
- const r = this.buildPollerOptions(n);
9250
- return this.storeCurrentPolling(r), this.isActivePoller(r) && t().then((o) => this.onRequest(o, t, r)).catch((o) => {
9251
- this.dispatch("error", o);
9252
- }), this;
9253
- }
9254
- stop(t) {
9255
- t && this.pollings[t] && delete this.pollings[t];
9256
- }
9257
- buildPollerOptions(t) {
9258
- const n = Object.entries(t).reduce((r, [o, s]) => {
9259
- if (s !== void 0) {
9260
- const i = o;
9261
- r[i] = s;
9262
- }
9263
- return r;
9264
- }, {});
9265
- return {
9266
- ...this.defaultOptions,
9267
- ...n
9268
- };
9269
- }
9270
- dispatch(t, n) {
9271
- this.events[t](n);
9272
- }
9273
- isActivePoller(t) {
9274
- return t.type ? !!this.pollings[t.type] && this.pollings[t.type] === t.uuid : !0;
9275
- }
9276
- isInProgress(t) {
9277
- return (t?.meta?.status ?? "") !== "COMPLETE";
9278
- }
9279
- onComplete(t, n) {
9280
- this.dispatch("data", t), this.dispatch("complete", t), this.removeCurrentPolling(n);
9281
- }
9282
- async onRequest(t, n, r) {
9283
- const o = ce(t ?? {}, le.Camel);
9284
- this.isActivePoller(r) && (this.isInProgress(o) && r.callCount && r.maxCallCount && r.callCount < r.maxCallCount || !this.isInProgress(o) && r.callCount && r.minCallCount && r.callCount < r.minCallCount ? (this.isInProgress(o) || (o.meta = o.meta || {}, o.meta.status = "IN_PROGRESS"), r.callCount += 1, this.dispatch("data", o), r.interval && await this.pause(r), this.poll(n, r)) : this.isInProgress(o) ? (o.meta = o.meta || {}, o.meta.status = "COMPLETE", this.onComplete(o, r)) : this.onComplete(o, r));
9285
- }
9286
- pause(t) {
9287
- return new Promise((n) => {
9288
- setTimeout(n, t.interval);
9289
- });
9290
- }
9291
- removeCurrentPolling(t) {
9292
- t.type && this.pollings[t.type] && delete this.pollings[t.type];
9293
- }
9294
- storeCurrentPolling(t) {
9295
- t.type && !t.uuid && (t.uuid = nA(), this.pollings[t.type] = t.uuid);
9296
- }
9297
- }
9298
- function _v(e, t, n) {
9299
- const r = Bo.getInstance();
9300
- return r.poll(e, t), n && typeof n == "function" ? (r.on("data", (o) => {
9301
- o instanceof Error ? n(o, void 0, r) : n(null, o, r);
9302
- }), r.on("error", (o) => {
9303
- o instanceof Error ? n(o) : n(null, o);
9304
- }), r) : new Promise((o, s) => {
9305
- r.on("error", s), r.on("complete", (i) => {
9306
- i instanceof Error ? s(i) : o(i);
9307
- });
9308
- });
9309
- }
9310
- const oA = "http://localhost".replace(/\/+$/, ""), sA = (e) => typeof Blob < "u" && e instanceof Blob;
9311
- class An {
9312
- constructor(t = new yv()) {
9313
- this.configuration = t, this.middleware = t.middleware;
9314
- }
9315
- middleware;
9316
- withMiddleware(...t) {
9317
- const n = this.clone();
9318
- return n.middleware = n.middleware.concat(...t), n;
9319
- }
9320
- withPreMiddleware(...t) {
9321
- const n = t.map((r) => ({ pre: r }));
9322
- return this.withMiddleware(...n);
9323
- }
9324
- withPostMiddleware(...t) {
9325
- const n = t.map((r) => ({ post: r }));
9326
- return this.withMiddleware(...n);
9327
- }
9328
- async request(t, n) {
9329
- const { url: r, init: o } = this.createFetchParams(t, n), s = await this.fetchApi(r, o);
9330
- if (s.status >= 200 && s.status < 300)
9331
- return s;
9332
- throw new iA(s, "Response returned an error code");
9333
- }
9334
- createFetchParams(t, n) {
9335
- let r = this.configuration.basePath + t.path;
9336
- t.query !== void 0 && Object.keys(t.query).length !== 0 && (r += "?" + this.configuration.queryParamsStringify(t.query));
9337
- const o = typeof FormData < "u" && t.body instanceof FormData || t.body instanceof URLSearchParams || sA(t.body) ? t.body : JSON.stringify(t.body), s = Object.assign({}, this.configuration.headers, t.headers);
9338
- Object.keys(s).forEach((a) => s[a] === void 0 ? delete s[a] : {});
9339
- const i = {
9340
- method: t.method,
9341
- body: o,
9342
- credentials: this.configuration.credentials,
9343
- ...xm({}, n, {
9344
- headers: xm({}, s, n?.headers)
9345
- })
9346
- };
9347
- return { url: r, init: i };
9348
- }
9349
- fetchApi = async (t, n) => {
9350
- let r = { url: t, init: n };
9351
- for (const s of this.middleware)
9352
- s.pre && (r = await s.pre({
9353
- fetch: this.fetchApi,
9354
- ...r
9355
- }) || r);
9356
- let o = await (this.configuration.fetchApi || fetch)(r.url, r.init);
9357
- for (const s of this.middleware)
9358
- s.post && (o = await s.post({
9359
- fetch: this.fetchApi,
9360
- url: r.url,
9361
- init: r.init,
9362
- response: o.clone()
9363
- }) || o);
9364
- return o;
9365
- };
9366
- /**
9367
- * Create a shallow clone of `this` by constructing a new instance
9368
- * and then shallow cloning data members.
9369
- */
9370
- clone() {
9371
- const t = this.constructor, n = new t(this.configuration);
9372
- return n.middleware = this.middleware.slice(), n;
9373
- }
9374
- }
9375
- class iA extends Error {
9376
- constructor(t, n) {
9377
- super(n), this.response = t;
9378
- }
9379
- name = "ResponseError";
9380
- }
9381
- class He extends Error {
9382
- constructor(t, n) {
9383
- super(n), this.field = t;
9384
- }
9385
- name = "RequiredError";
9386
- }
9387
- class yv {
9388
- constructor(t = {}) {
9389
- this.configuration = t;
9390
- }
9391
- get basePath() {
9392
- return this.configuration.basePath != null ? this.configuration.basePath : oA;
9393
- }
9394
- get fetchApi() {
9395
- return this.configuration.fetchApi;
9396
- }
9397
- get middleware() {
9398
- return this.configuration.middleware || [];
9399
- }
9400
- get queryParamsStringify() {
9401
- return this.configuration.queryParamsStringify || bv;
9402
- }
9403
- get username() {
9404
- return this.configuration.username;
9405
- }
9406
- get password() {
9407
- return this.configuration.password;
9408
- }
9409
- get apiKey() {
9410
- const t = this.configuration.apiKey;
9411
- if (t)
9412
- return typeof t == "function" ? t : () => t;
9413
- }
9414
- get accessToken() {
9415
- const t = this.configuration.accessToken;
9416
- if (t)
9417
- return typeof t == "function" ? t : async () => t;
9418
- }
9419
- get headers() {
9420
- return this.configuration.headers;
9421
- }
9422
- get credentials() {
9423
- return this.configuration.credentials;
9424
- }
9425
- }
9426
- function bv(e, t = "") {
9427
- return Object.keys(e).map((n) => {
9428
- const r = t + (t.length ? `[${n}]` : n), o = e[n];
9429
- if (o instanceof Array) {
9430
- const s = o.map((i) => encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);
9431
- return `${encodeURIComponent(r)}=${s}`;
9432
- }
9433
- return o instanceof Date ? `${encodeURIComponent(r)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ? bv(o, r) : `${encodeURIComponent(r)}=${encodeURIComponent(String(o))}`;
9434
- }).filter((n) => n.length > 0).join("&");
9435
- }
9436
- class Be {
9437
- constructor(t, n = (r) => r) {
9438
- this.raw = t, this.transformer = n;
9439
- }
9440
- async value() {
9441
- return this.transformer(await this.raw.json());
9442
- }
9443
- }
9444
- class aA {
9445
- constructor(t) {
9446
- this.raw = t;
9447
- }
9448
- async value() {
9449
- return await this.raw.text();
9450
- }
9451
- }
9452
- const t4 = {
9453
- Enabled: "ENABLED",
9454
- Forced: "FORCED"
9455
- }, n4 = {
9456
- Coupon: "COUPON",
9457
- CreditCard: "CREDIT_CARD",
9458
- DepositAccount: "DEPOSIT_ACCOUNT"
9459
- };
9460
- class cA extends An {
9461
- /**
9462
- * Get Booking Policy
9463
- */
9464
- async retrieveRaw(t, n) {
9465
- if (t.id === null || t.id === void 0)
9466
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
9467
- const r = {}, o = {};
9468
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9469
- const s = await this.request({
9470
- path: "/v1/booking_policies/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9471
- method: "GET",
9472
- headers: o,
9473
- query: ce(r, le.Snake)
9474
- }, n);
9475
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9476
- }
9477
- /**
9478
- * Get Booking Policy
9479
- */
9480
- async retrieve(t, n) {
9481
- return this.retrieveRaw(t, n);
9482
- }
9483
- /**
9484
- * Retrieve payment methods for a booking policy
9485
- * Payment Methods for a Booking policy
9486
- */
9487
- async paymentMethodsRaw(t, n) {
9488
- if (t.id === null || t.id === void 0)
9489
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
9490
- const r = {}, o = {};
9491
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9492
- const s = await this.request({
9493
- path: "/v1/booking_policies/{id}/payment_methods".replace("{id}", encodeURIComponent(String(t.id))),
9494
- method: "GET",
9495
- headers: o,
9496
- query: ce(r, le.Snake)
9497
- }, n);
9498
- return new Be(s, (i) => ce(i, le.Camel)).value();
9499
- }
9500
- /**
9501
- * Retrieve payment methods for a booking policy
9502
- * Payment Methods for a Booking policy
9503
- */
9504
- async paymentMethods(t, n) {
9505
- return this.paymentMethodsRaw(t, n);
9506
- }
9507
- /**
9508
- * In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
9509
- * Create Booking Policies
9510
- */
9511
- async createRaw(t, n) {
9512
- const r = {}, o = {};
9513
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9514
- const s = await this.request({
9515
- path: "/v1/booking_policies",
9516
- method: "POST",
9517
- headers: o,
9518
- query: ce(r, le.Snake),
9519
- body: ce(t.bookingPoliciesCreateApi, le.Snake)
9520
- }, n);
9521
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9522
- }
9523
- /**
9524
- * In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
9525
- * Create Booking Policies
9526
- */
9527
- async create(t = {}, n) {
9528
- return this.createRaw(t, n);
9529
- }
9530
- }
9531
- class uA extends An {
9532
- /**
9533
- * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
9534
- * Cancel a Booking
9535
- */
9536
- async deleteRaw(t, n) {
9537
- if (t.token === null || t.token === void 0)
9538
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
9539
- const r = {}, o = {}, s = await this.request({
9540
- path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(t.token))),
9541
- method: "DELETE",
9542
- headers: o,
9543
- query: ce(r, le.Snake)
9544
- }, n);
9545
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9546
- }
9547
- /**
9548
- * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
9549
- * Cancel a Booking
9550
- */
9551
- async delete(t, n) {
9552
- return this.deleteRaw(t, n);
9553
- }
9554
- /**
9555
- * Returns a list of detailed bookings made on behalf of a specific API Key credential.
9556
- * List Bookings
9557
- */
9558
- async listRaw(t, n) {
9559
- const r = {};
9560
- t.endingBefore !== void 0 && (r.ending_before = t.endingBefore), t.filterByCheckInDate !== void 0 && (r.filter_by_check_in_date = t.filterByCheckInDate), t.filterByLastStatusUpdatedAt !== void 0 && (r.filter_by_last_status_updated_at = t.filterByLastStatusUpdatedAt), t.filterByMetadata !== void 0 && (r.filter_by_metadata = t.filterByMetadata), t.filterByStatus !== void 0 && (r.filter_by_status = t.filterByStatus), t.limit !== void 0 && (r.limit = t.limit), t.sortBy !== void 0 && (r.sort_by = t.sortBy), t.sortByOrder !== void 0 && (r.sort_by_order = t.sortByOrder), t.startingAfter !== void 0 && (r.starting_after = t.startingAfter);
9561
- const o = {};
9562
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9563
- const s = await this.request({
9564
- path: "/v1/bookings",
9565
- method: "GET",
9566
- headers: o,
9567
- query: ce(r, le.Snake)
9568
- }, n);
9569
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9570
- }
9571
- /**
9572
- * Returns a list of detailed bookings made on behalf of a specific API Key credential.
9573
- * List Bookings
9574
- */
9575
- async list(t = {}, n) {
9576
- return this.listRaw(t, n);
9577
- }
9578
- /**
9579
- * Retrieve the status and information of a booking.
9580
- * Retrieve a Booking
9581
- */
9582
- async retrieveRaw(t, n) {
9583
- if (t.id === null || t.id === void 0)
9584
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
9585
- const r = {}, o = {};
9586
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9587
- const s = await this.request({
9588
- path: "/v1/bookings/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9589
- method: "GET",
9590
- headers: o,
9591
- query: ce(r, le.Snake)
9592
- }, n);
9593
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9594
- }
9595
- /**
9596
- * Retrieve the status and information of a booking.
9597
- * Retrieve a Booking
9598
- */
9599
- async retrieve(t, n) {
9600
- return this.retrieveRaw(t, n);
9601
- }
9602
- /**
9603
- * Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
9604
- * Retrieve a Booking (PUBLIC)
9605
- */
9606
- async retrievePublicRaw(t, n) {
9607
- if (t.token === null || t.token === void 0)
9608
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
9609
- const r = {}, o = {}, s = await this.request({
9610
- path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(t.token))),
9611
- method: "GET",
9612
- headers: o,
9613
- query: ce(r, le.Snake)
9614
- }, n);
9615
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9616
- }
9617
- /**
9618
- * Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
9619
- * Retrieve a Booking (PUBLIC)
9620
- */
9621
- async retrievePublic(t, n) {
9622
- return this.retrievePublicRaw(t, n);
9623
- }
9624
- /**
9625
- * Creates an unconfirmed booking
9626
- * Create an unconfirmed Booking
9627
- */
9628
- async createRaw(t, n) {
9629
- const r = {}, o = {};
9630
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9631
- const s = await this.request({
9632
- path: "/v1/bookings",
9633
- method: "POST",
9634
- headers: o,
9635
- query: ce(r, le.Snake),
9636
- body: ce(t.bookingCreateApi, le.Snake)
9637
- }, n);
9638
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9639
- }
9640
- /**
9641
- * Creates an unconfirmed booking
9642
- * Create an unconfirmed Booking
9643
- */
9644
- async create(t = {}, n) {
9645
- return this.createRaw(t, n);
9646
- }
9647
- /**
9648
- * Confirm booking from Coupon payment method
9649
- * Confirm booking from Coupon payment method
9650
- */
9651
- async couponChargeRaw(t, n) {
9652
- if (t.couponId === null || t.couponId === void 0)
9653
- throw new He("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
9654
- if (t.id === null || t.id === void 0)
9655
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
9656
- const r = {}, o = {};
9657
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9658
- const s = await this.request({
9659
- path: "/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}", encodeURIComponent(String(t.couponId))).replace("{id}", encodeURIComponent(String(t.id))),
9660
- method: "POST",
9661
- headers: o,
9662
- query: ce(r, le.Snake)
9663
- }, n);
9664
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9665
- }
9666
- /**
9667
- * Confirm booking from Coupon payment method
9668
- * Confirm booking from Coupon payment method
9669
- */
9670
- async couponCharge(t, n) {
9671
- return this.couponChargeRaw(t, n);
9672
- }
9673
- /**
9674
- * Pay later and retrieve the status and information of a booking.
9675
- * Pay later a Booking
9676
- */
9677
- async paylaterRaw(t, n) {
9678
- if (t.id === null || t.id === void 0)
9679
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
9680
- const r = {}, o = {};
9681
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9682
- const s = await this.request({
9683
- path: "/v1/bookings/{id}/pay-later".replace("{id}", encodeURIComponent(String(t.id))),
9684
- method: "POST",
9685
- headers: o,
9686
- query: ce(r, le.Snake)
9687
- }, n);
9688
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9689
- }
9690
- /**
9691
- * Pay later and retrieve the status and information of a booking.
9692
- * Pay later a Booking
9693
- */
9694
- async paylater(t, n) {
9695
- return this.paylaterRaw(t, n);
9696
- }
9697
- /**
9698
- * Confirm later paid and retrieve the status and information of a booking.
9699
- * Confirm a later paid Booking
9700
- */
9701
- async confirmpaylaterRaw(t, n) {
9702
- if (t.id === null || t.id === void 0)
9703
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
9704
- const r = {}, o = {};
9705
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9706
- const s = await this.request({
9707
- path: "/v1/bookings/{id}/pay-later/confirm".replace("{id}", encodeURIComponent(String(t.id))),
9708
- method: "POST",
9709
- headers: o,
9710
- query: ce(r, le.Snake)
9711
- }, n);
9712
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9713
- }
9714
- /**
9715
- * Confirm later paid and retrieve the status and information of a booking.
9716
- * Confirm a later paid Booking
9717
- */
9718
- async confirmpaylater(t, n) {
9719
- return this.confirmpaylaterRaw(t, n);
9720
- }
9721
- /**
9722
- * Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
9723
- * Confirm an ongoing Booking
9724
- */
9725
- async confirmRaw(t, n) {
9726
- if (t.id === null || t.id === void 0)
9727
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
9728
- const r = {}, o = {};
9729
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9730
- const s = await this.request({
9731
- path: "/v1/bookings/{id}/confirm".replace("{id}", encodeURIComponent(String(t.id))),
9732
- method: "POST",
9733
- headers: o,
9734
- query: ce(r, le.Snake)
9735
- }, n);
9736
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9737
- }
9738
- /**
9739
- * Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
9740
- * Confirm an ongoing Booking
9741
- */
9742
- async confirm(t, n) {
9743
- return this.confirmRaw(t, n);
9744
- }
9745
- /**
9746
- * Updates an ongoing Booking payment methods
9747
- * Updates an ongoing Booking payment methods
9748
- */
9749
- async updatePaymentMethodsRaw(t, n) {
9750
- if (t.id === null || t.id === void 0)
9751
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
9752
- const r = {}, o = {};
9753
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9754
- const s = await this.request({
9755
- path: "/v1/bookings/{id}/payment_methods".replace("{id}", encodeURIComponent(String(t.id))),
9756
- method: "PUT",
9757
- headers: o,
9758
- query: ce(r, le.Snake),
9759
- body: ce(t.paymentMethodUpdatePayloadApi, le.Snake)
9760
- }, n);
9761
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9762
- }
9763
- /**
9764
- * Updates an ongoing Booking payment methods
9765
- * Updates an ongoing Booking payment methods
9766
- */
9767
- async updatePaymentMethods(t, n) {
9768
- return this.updatePaymentMethodsRaw(t, n);
9769
- }
9770
- }
9771
- class lA extends An {
9772
- /**
9773
- * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
9774
- * Retrieve Images of an Hotel
9775
- */
9776
- async retrieveRaw(t, n) {
9777
- if (t.id === null || t.id === void 0)
9778
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
9779
- const r = {};
9780
- t.lang !== void 0 && (r.lang = t.lang);
9781
- const o = {};
9782
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9783
- const s = await this.request({
9784
- path: "/v1/hotels/{id}/images".replace("{id}", encodeURIComponent(String(t.id))),
9785
- method: "GET",
9786
- headers: o,
9787
- query: ce(r, le.Snake)
9788
- }, n);
9789
- return new Be(s, (i) => ce(i, le.Camel)).value();
9790
- }
9791
- /**
9792
- * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
9793
- * Retrieve Images of an Hotel
9794
- */
9795
- async retrieve(t, n) {
9796
- return this.retrieveRaw(t, n);
9797
- }
9798
- }
9799
- class fA extends An {
9800
- /**
9801
- * Returns a single Hotel Offer Request by id
9802
- * Retrieve a Single Hotel Offer Request
9803
- */
9804
- async retrieveRaw(t, n) {
9805
- if (t.id === null || t.id === void 0)
9806
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
9807
- const r = {}, o = {};
9808
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9809
- const s = await this.request({
9810
- path: "/v1/hotel_offer_requests/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9811
- method: "GET",
9812
- headers: o,
9813
- query: ce(r, le.Snake)
9814
- }, n);
9815
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9816
- }
9817
- /**
9818
- * Returns a single Hotel Offer Request by id
9819
- * Retrieve a Single Hotel Offer Request
9820
- */
9821
- async retrieve(t, n) {
9822
- return this.retrieveRaw(t, n);
9823
- }
9824
- /**
9825
- * Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
9826
- * Create an Hotel Offer Request
9827
- */
9828
- async createRaw(t, n) {
9829
- const r = {}, o = {};
9830
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9831
- const s = await this.request({
9832
- path: "/v1/hotel_offer_requests",
9833
- method: "POST",
9834
- headers: o,
9835
- query: ce(r, le.Snake),
9836
- body: ce(t.hotelOfferRequestCreateApi, le.Snake)
9837
- }, n);
9838
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9839
- }
9840
- /**
9841
- * Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
9842
- * Create an Hotel Offer Request
9843
- */
9844
- async create(t = {}, n) {
9845
- return this.createRaw(t, n);
9846
- }
9847
- }
9848
- class dA extends An {
9849
- /**
9850
- * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
9851
- * ⚛️ Retrieve Hotel Offers
9852
- */
9853
- async listRaw(t, n) {
9854
- if (t.currency === null || t.currency === void 0)
9855
- throw new He("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
9856
- if (t.hotelOfferRequestId === null || t.hotelOfferRequestId === void 0)
9857
- throw new He("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
9858
- const r = {};
9859
- t.currency !== void 0 && (r.currency = t.currency), t.endingBefore !== void 0 && (r.ending_before = t.endingBefore), t.filterByPrice !== void 0 && (r.filter_by_price = t.filterByPrice), t.filterByReviewRating !== void 0 && (r.filter_by_review_rating = t.filterByReviewRating), t.filterByStar !== void 0 && (r.filter_by_star = t.filterByStar), t.hotelOfferRequestId !== void 0 && (r.hotel_offer_request_id = t.hotelOfferRequestId), t.hotelRoomOffersLimit !== void 0 && (r.hotel_room_offers_limit = t.hotelRoomOffersLimit), t.includeHotelContentDetails !== void 0 && (r.include_hotel_content_details = t.includeHotelContentDetails), t.lang !== void 0 && (r.lang = t.lang), t.limit !== void 0 && (r.limit = t.limit), t.onlyRecommendedHotelOffers !== void 0 && (r.only_recommended_hotel_offers = t.onlyRecommendedHotelOffers), t.priceHistogramStepCount !== void 0 && (r.price_histogram_step_count = t.priceHistogramStepCount), t.sortBy !== void 0 && (r.sort_by = t.sortBy), t.sortByOrder !== void 0 && (r.sort_by_order = t.sortByOrder), t.startingAfter !== void 0 && (r.starting_after = t.startingAfter);
9860
- const o = {};
9861
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9862
- const s = await this.request({
9863
- path: "/v1/hotel_offers",
9864
- method: "GET",
9865
- headers: o,
9866
- query: ce(r, le.Snake)
9867
- }, n);
9868
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9869
- }
9870
- /**
9871
- * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
9872
- * ⚛️ Retrieve Hotel Offers
9873
- */
9874
- async list(t, n, r) {
9875
- return await _v(
9876
- () => this.listRaw(t, r),
9877
- { type: _d.HOTEL_SEARCH_POLLING, minCallCount: r?.minCallCount, maxCallCount: r?.maxCallCount },
9878
- n
9879
- );
9880
- }
9881
- }
9882
- const pA = {
9883
- Distance: "distance",
9884
- Price: "price",
9885
- Rating: "rating",
9886
- ReviewRating: "review_rating",
9887
- TopPicks: "top_picks"
9888
- }, r4 = {
9889
- Asc: "asc",
9890
- Desc: "desc"
9891
- };
9892
- class mA extends An {
9893
- /**
9894
- * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
9895
- * Retrieve Images of an Hotel Room Offer
9896
- */
9897
- async retrieveRaw(t, n) {
9898
- if (t.id === null || t.id === void 0)
9899
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
9900
- const r = {};
9901
- t.lang !== void 0 && (r.lang = t.lang);
9902
- const o = {};
9903
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9904
- const s = await this.request({
9905
- path: "/v1/hotel_room_offers/{id}/images".replace("{id}", encodeURIComponent(String(t.id))),
9906
- method: "GET",
9907
- headers: o,
9908
- query: ce(r, le.Snake)
9909
- }, n);
9910
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9911
- }
9912
- /**
9913
- * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
9914
- * Retrieve Images of an Hotel Room Offer
9915
- */
9916
- async retrieve(t, n) {
9917
- return this.retrieveRaw(t, n);
9918
- }
9919
- }
9920
- class hA extends An {
9921
- /**
9922
- * Returns a single Hotel Room Offer Request by id
9923
- * Retrieve a Single Hotel Room Offer Request
9924
- */
9925
- async retrieveRaw(t, n) {
9926
- if (t.id === null || t.id === void 0)
9927
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
9928
- const r = {}, o = {};
9929
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9930
- const s = await this.request({
9931
- path: "/v1/hotel_room_offer_requests/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9932
- method: "GET",
9933
- headers: o,
9934
- query: ce(r, le.Snake)
9935
- }, n);
9936
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9937
- }
9938
- /**
9939
- * Returns a single Hotel Room Offer Request by id
9940
- * Retrieve a Single Hotel Room Offer Request
9941
- */
9942
- async retrieve(t, n) {
9943
- return this.retrieveRaw(t, n);
9944
- }
9945
- /**
9946
- * To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
9947
- * Create an Hotel Room Offer Request
9948
- */
9949
- async createRaw(t, n) {
9950
- const r = {}, o = {};
9951
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9952
- const s = await this.request({
9953
- path: "/v1/hotel_room_offer_requests",
9954
- method: "POST",
9955
- headers: o,
9956
- query: ce(r, le.Snake),
9957
- body: ce(t.hotelRoomOfferRequestCreateApi, le.Snake)
9958
- }, n);
9959
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9960
- }
9961
- /**
9962
- * To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
9963
- * Create an Hotel Room Offer Request
9964
- */
9965
- async create(t = {}, n) {
9966
- return this.createRaw(t, n);
9967
- }
8744
+ var Ml = { exports: {} }, cD = Ml.exports, wm;
8745
+ function hv() {
8746
+ return wm || (wm = 1, (function(e, t) {
8747
+ (function(n, r) {
8748
+ e.exports = r();
8749
+ })(cD, (function() {
8750
+ var n = 1e3, r = 6e4, o = 36e5, s = "millisecond", i = "second", a = "minute", c = "hour", u = "day", f = "week", l = "month", d = "quarter", p = "year", h = "date", m = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|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, b = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(V) {
8751
+ var E = ["th", "st", "nd", "rd"], S = V % 100;
8752
+ return "[" + V + (E[(S - 20) % 10] || E[S] || E[0]) + "]";
8753
+ } }, O = function(V, E, S) {
8754
+ var I = String(V);
8755
+ return !I || I.length >= E ? V : "" + Array(E + 1 - I.length).join(S) + V;
8756
+ }, k = { s: O, z: function(V) {
8757
+ var E = -V.utcOffset(), S = Math.abs(E), I = Math.floor(S / 60), D = S % 60;
8758
+ return (E <= 0 ? "+" : "-") + O(I, 2, "0") + ":" + O(D, 2, "0");
8759
+ }, m: function V(E, S) {
8760
+ if (E.date() < S.date()) return -V(S, E);
8761
+ var I = 12 * (S.year() - E.year()) + (S.month() - E.month()), D = E.clone().add(I, l), F = S - D < 0, $ = E.clone().add(I + (F ? -1 : 1), l);
8762
+ return +(-(I + (S - D) / (F ? D - $ : $ - D)) || 0);
8763
+ }, a: function(V) {
8764
+ return V < 0 ? Math.ceil(V) || 0 : Math.floor(V);
8765
+ }, p: function(V) {
8766
+ return { M: l, y: p, w: f, d: u, D: h, h: c, m: a, s: i, ms: s, Q: d }[V] || String(V || "").toLowerCase().replace(/s$/, "");
8767
+ }, u: function(V) {
8768
+ return V === void 0;
8769
+ } }, R = "en", L = {};
8770
+ L[R] = b;
8771
+ var A = "$isDayjsObject", W = function(V) {
8772
+ return V instanceof H || !(!V || !V[A]);
8773
+ }, U = function V(E, S, I) {
8774
+ var D;
8775
+ if (!E) return R;
8776
+ if (typeof E == "string") {
8777
+ var F = E.toLowerCase();
8778
+ L[F] && (D = F), S && (L[F] = S, D = F);
8779
+ var $ = E.split("-");
8780
+ if (!D && $.length > 1) return V($[0]);
8781
+ } else {
8782
+ var X = E.name;
8783
+ L[X] = E, D = X;
8784
+ }
8785
+ return !I && D && (R = D), D || !I && R;
8786
+ }, x = function(V, E) {
8787
+ if (W(V)) return V.clone();
8788
+ var S = typeof E == "object" ? E : {};
8789
+ return S.date = V, S.args = arguments, new H(S);
8790
+ }, C = k;
8791
+ C.l = U, C.i = W, C.w = function(V, E) {
8792
+ return x(V, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
8793
+ };
8794
+ var H = (function() {
8795
+ function V(S) {
8796
+ this.$L = U(S.locale, null, !0), this.parse(S), this.$x = this.$x || S.x || {}, this[A] = !0;
8797
+ }
8798
+ var E = V.prototype;
8799
+ return E.parse = function(S) {
8800
+ this.$d = (function(I) {
8801
+ var D = I.date, F = I.utc;
8802
+ if (D === null) return /* @__PURE__ */ new Date(NaN);
8803
+ if (C.u(D)) return /* @__PURE__ */ new Date();
8804
+ if (D instanceof Date) return new Date(D);
8805
+ if (typeof D == "string" && !/Z$/i.test(D)) {
8806
+ var $ = D.match(_);
8807
+ if ($) {
8808
+ var X = $[2] - 1 || 0, Q = ($[7] || "0").substring(0, 3);
8809
+ return F ? new Date(Date.UTC($[1], X, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, Q)) : new Date($[1], X, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, Q);
8810
+ }
8811
+ }
8812
+ return new Date(D);
8813
+ })(S), this.init();
8814
+ }, E.init = function() {
8815
+ var S = this.$d;
8816
+ this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds();
8817
+ }, E.$utils = function() {
8818
+ return C;
8819
+ }, E.isValid = function() {
8820
+ return this.$d.toString() !== m;
8821
+ }, E.isSame = function(S, I) {
8822
+ var D = x(S);
8823
+ return this.startOf(I) <= D && D <= this.endOf(I);
8824
+ }, E.isAfter = function(S, I) {
8825
+ return x(S) < this.startOf(I);
8826
+ }, E.isBefore = function(S, I) {
8827
+ return this.endOf(I) < x(S);
8828
+ }, E.$g = function(S, I, D) {
8829
+ return C.u(S) ? this[I] : this.set(D, S);
8830
+ }, E.unix = function() {
8831
+ return Math.floor(this.valueOf() / 1e3);
8832
+ }, E.valueOf = function() {
8833
+ return this.$d.getTime();
8834
+ }, E.startOf = function(S, I) {
8835
+ var D = this, F = !!C.u(I) || I, $ = C.p(S), X = function(je, be) {
8836
+ var Fe = C.w(D.$u ? Date.UTC(D.$y, be, je) : new Date(D.$y, be, je), D);
8837
+ return F ? Fe : Fe.endOf(u);
8838
+ }, Q = function(je, be) {
8839
+ return C.w(D.toDate()[je].apply(D.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(be)), D);
8840
+ }, ne = this.$W, re = this.$M, me = this.$D, Xe = "set" + (this.$u ? "UTC" : "");
8841
+ switch ($) {
8842
+ case p:
8843
+ return F ? X(1, 0) : X(31, 11);
8844
+ case l:
8845
+ return F ? X(1, re) : X(0, re + 1);
8846
+ case f:
8847
+ var ke = this.$locale().weekStart || 0, Ge = (ne < ke ? ne + 7 : ne) - ke;
8848
+ return X(F ? me - Ge : me + (6 - Ge), re);
8849
+ case u:
8850
+ case h:
8851
+ return Q(Xe + "Hours", 0);
8852
+ case c:
8853
+ return Q(Xe + "Minutes", 1);
8854
+ case a:
8855
+ return Q(Xe + "Seconds", 2);
8856
+ case i:
8857
+ return Q(Xe + "Milliseconds", 3);
8858
+ default:
8859
+ return this.clone();
8860
+ }
8861
+ }, E.endOf = function(S) {
8862
+ return this.startOf(S, !1);
8863
+ }, E.$set = function(S, I) {
8864
+ var D, F = C.p(S), $ = "set" + (this.$u ? "UTC" : ""), X = (D = {}, D[u] = $ + "Date", D[h] = $ + "Date", D[l] = $ + "Month", D[p] = $ + "FullYear", D[c] = $ + "Hours", D[a] = $ + "Minutes", D[i] = $ + "Seconds", D[s] = $ + "Milliseconds", D)[F], Q = F === u ? this.$D + (I - this.$W) : I;
8865
+ if (F === l || F === p) {
8866
+ var ne = this.clone().set(h, 1);
8867
+ ne.$d[X](Q), ne.init(), this.$d = ne.set(h, Math.min(this.$D, ne.daysInMonth())).$d;
8868
+ } else X && this.$d[X](Q);
8869
+ return this.init(), this;
8870
+ }, E.set = function(S, I) {
8871
+ return this.clone().$set(S, I);
8872
+ }, E.get = function(S) {
8873
+ return this[C.p(S)]();
8874
+ }, E.add = function(S, I) {
8875
+ var D, F = this;
8876
+ S = Number(S);
8877
+ var $ = C.p(I), X = function(re) {
8878
+ var me = x(F);
8879
+ return C.w(me.date(me.date() + Math.round(re * S)), F);
8880
+ };
8881
+ if ($ === l) return this.set(l, this.$M + S);
8882
+ if ($ === p) return this.set(p, this.$y + S);
8883
+ if ($ === u) return X(1);
8884
+ if ($ === f) return X(7);
8885
+ var Q = (D = {}, D[a] = r, D[c] = o, D[i] = n, D)[$] || 1, ne = this.$d.getTime() + S * Q;
8886
+ return C.w(ne, this);
8887
+ }, E.subtract = function(S, I) {
8888
+ return this.add(-1 * S, I);
8889
+ }, E.format = function(S) {
8890
+ var I = this, D = this.$locale();
8891
+ if (!this.isValid()) return D.invalidDate || m;
8892
+ var F = S || "YYYY-MM-DDTHH:mm:ssZ", $ = C.z(this), X = this.$H, Q = this.$m, ne = this.$M, re = D.weekdays, me = D.months, Xe = D.meridiem, ke = function(be, Fe, _t, T) {
8893
+ return be && (be[Fe] || be(I, F)) || _t[Fe].slice(0, T);
8894
+ }, Ge = function(be) {
8895
+ return C.s(X % 12 || 12, be, "0");
8896
+ }, je = Xe || function(be, Fe, _t) {
8897
+ var T = be < 12 ? "AM" : "PM";
8898
+ return _t ? T.toLowerCase() : T;
8899
+ };
8900
+ return F.replace(g, (function(be, Fe) {
8901
+ return Fe || (function(_t) {
8902
+ switch (_t) {
8903
+ case "YY":
8904
+ return String(I.$y).slice(-2);
8905
+ case "YYYY":
8906
+ return C.s(I.$y, 4, "0");
8907
+ case "M":
8908
+ return ne + 1;
8909
+ case "MM":
8910
+ return C.s(ne + 1, 2, "0");
8911
+ case "MMM":
8912
+ return ke(D.monthsShort, ne, me, 3);
8913
+ case "MMMM":
8914
+ return ke(me, ne);
8915
+ case "D":
8916
+ return I.$D;
8917
+ case "DD":
8918
+ return C.s(I.$D, 2, "0");
8919
+ case "d":
8920
+ return String(I.$W);
8921
+ case "dd":
8922
+ return ke(D.weekdaysMin, I.$W, re, 2);
8923
+ case "ddd":
8924
+ return ke(D.weekdaysShort, I.$W, re, 3);
8925
+ case "dddd":
8926
+ return re[I.$W];
8927
+ case "H":
8928
+ return String(X);
8929
+ case "HH":
8930
+ return C.s(X, 2, "0");
8931
+ case "h":
8932
+ return Ge(1);
8933
+ case "hh":
8934
+ return Ge(2);
8935
+ case "a":
8936
+ return je(X, Q, !0);
8937
+ case "A":
8938
+ return je(X, Q, !1);
8939
+ case "m":
8940
+ return String(Q);
8941
+ case "mm":
8942
+ return C.s(Q, 2, "0");
8943
+ case "s":
8944
+ return String(I.$s);
8945
+ case "ss":
8946
+ return C.s(I.$s, 2, "0");
8947
+ case "SSS":
8948
+ return C.s(I.$ms, 3, "0");
8949
+ case "Z":
8950
+ return $;
8951
+ }
8952
+ return null;
8953
+ })(be) || $.replace(":", "");
8954
+ }));
8955
+ }, E.utcOffset = function() {
8956
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
8957
+ }, E.diff = function(S, I, D) {
8958
+ var F, $ = this, X = C.p(I), Q = x(S), ne = (Q.utcOffset() - this.utcOffset()) * r, re = this - Q, me = function() {
8959
+ return C.m($, Q);
8960
+ };
8961
+ switch (X) {
8962
+ case p:
8963
+ F = me() / 12;
8964
+ break;
8965
+ case l:
8966
+ F = me();
8967
+ break;
8968
+ case d:
8969
+ F = me() / 3;
8970
+ break;
8971
+ case f:
8972
+ F = (re - ne) / 6048e5;
8973
+ break;
8974
+ case u:
8975
+ F = (re - ne) / 864e5;
8976
+ break;
8977
+ case c:
8978
+ F = re / o;
8979
+ break;
8980
+ case a:
8981
+ F = re / r;
8982
+ break;
8983
+ case i:
8984
+ F = re / n;
8985
+ break;
8986
+ default:
8987
+ F = re;
8988
+ }
8989
+ return D ? F : C.a(F);
8990
+ }, E.daysInMonth = function() {
8991
+ return this.endOf(l).$D;
8992
+ }, E.$locale = function() {
8993
+ return L[this.$L];
8994
+ }, E.locale = function(S, I) {
8995
+ if (!S) return this.$L;
8996
+ var D = this.clone(), F = U(S, I, !0);
8997
+ return F && (D.$L = F), D;
8998
+ }, E.clone = function() {
8999
+ return C.w(this.$d, this);
9000
+ }, E.toDate = function() {
9001
+ return new Date(this.valueOf());
9002
+ }, E.toJSON = function() {
9003
+ return this.isValid() ? this.toISOString() : null;
9004
+ }, E.toISOString = function() {
9005
+ return this.$d.toISOString();
9006
+ }, E.toString = function() {
9007
+ return this.$d.toUTCString();
9008
+ }, V;
9009
+ })(), se = H.prototype;
9010
+ return x.prototype = se, [["$ms", s], ["$s", i], ["$m", a], ["$H", c], ["$W", u], ["$M", l], ["$y", p], ["$D", h]].forEach((function(V) {
9011
+ se[V[1]] = function(E) {
9012
+ return this.$g(E, V[0], V[1]);
9013
+ };
9014
+ })), x.extend = function(V, E) {
9015
+ return V.$i || (V(E, H, x), V.$i = !0), x;
9016
+ }, x.locale = U, x.isDayjs = W, x.unix = function(V) {
9017
+ return x(1e3 * V);
9018
+ }, x.en = L[R], x.Ls = L, x.p = {}, x;
9019
+ }));
9020
+ })(Ml)), Ml.exports;
9968
9021
  }
9969
- class gA extends An {
9970
- /**
9971
- * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
9972
- * ⚛️ Retrieve Hotel Room Offers
9973
- */
9974
- async listRaw(t, n) {
9975
- if (t.currency === null || t.currency === void 0)
9976
- throw new He("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
9977
- if (t.hotelRoomOfferRequestId === null || t.hotelRoomOfferRequestId === void 0)
9978
- throw new He("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
9979
- const r = {};
9980
- t.currency !== void 0 && (r.currency = t.currency), t.hotelRoomOfferRequestId !== void 0 && (r.hotel_room_offer_request_id = t.hotelRoomOfferRequestId), t.lang !== void 0 && (r.lang = t.lang), t.limit !== void 0 && (r.limit = t.limit);
9981
- const o = {};
9982
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9983
- const s = await this.request({
9984
- path: "/v1/hotel_room_offers",
9985
- method: "GET",
9986
- headers: o,
9987
- query: ce(r, le.Snake)
9988
- }, n);
9989
- return await new Be(s, (i) => ce(i, le.Camel)).value();
9990
- }
9991
- /**
9992
- * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
9993
- * ⚛️ Retrieve Hotel Room Offers
9994
- */
9995
- async list(t, n, r) {
9996
- return await _v(
9997
- () => this.listRaw(t, r),
9998
- { type: _d.HOTEL_ROOM_OFFERS, minCallCount: r?.minCallCount, maxCallCount: r?.maxCallCount },
9999
- n
10000
- );
10001
- }
10002
- /**
10003
- * This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
10004
- * Create Hotel Room Offer
10005
- */
10006
- async createRaw(t, n) {
10007
- const r = {}, o = {};
10008
- o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10009
- const s = await this.request({
10010
- path: "/v1/hotel_room_offers",
10011
- method: "POST",
10012
- headers: o,
10013
- query: ce(r, le.Snake),
10014
- body: ce(t.hotelRoomOffersCreateApi, le.Snake)
10015
- }, n);
10016
- return await new Be(s, (i) => ce(i, le.Camel)).value();
10017
- }
10018
- /**
10019
- * This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
10020
- * Create Hotel Room Offer
10021
- */
10022
- async create(t = {}, n) {
10023
- return this.createRaw(t, n);
10024
- }
9022
+ var uD = hv();
9023
+ const jn = /* @__PURE__ */ zt(uD);
9024
+ var xl = { exports: {} }, lD = xl.exports, Om;
9025
+ function fD() {
9026
+ return Om || (Om = 1, (function(e, t) {
9027
+ (function(n, r) {
9028
+ e.exports = r();
9029
+ })(lD, (function() {
9030
+ return function(n, r) {
9031
+ var o = r.prototype, s = o.format;
9032
+ o.format = function(i) {
9033
+ var a = this, c = this.$locale();
9034
+ if (!this.isValid()) return s.bind(this)(i);
9035
+ var u = this.$utils(), f = (i || "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(l) {
9036
+ switch (l) {
9037
+ case "Q":
9038
+ return Math.ceil((a.$M + 1) / 3);
9039
+ case "Do":
9040
+ return c.ordinal(a.$D);
9041
+ case "gggg":
9042
+ return a.weekYear();
9043
+ case "GGGG":
9044
+ return a.isoWeekYear();
9045
+ case "wo":
9046
+ return c.ordinal(a.week(), "W");
9047
+ case "w":
9048
+ case "ww":
9049
+ return u.s(a.week(), l === "w" ? 1 : 2, "0");
9050
+ case "W":
9051
+ case "WW":
9052
+ return u.s(a.isoWeek(), l === "W" ? 1 : 2, "0");
9053
+ case "k":
9054
+ case "kk":
9055
+ return u.s(String(a.$H === 0 ? 24 : a.$H), l === "k" ? 1 : 2, "0");
9056
+ case "X":
9057
+ return Math.floor(a.$d.getTime() / 1e3);
9058
+ case "x":
9059
+ return a.$d.getTime();
9060
+ case "z":
9061
+ return "[" + a.offsetName() + "]";
9062
+ case "zzz":
9063
+ return "[" + a.offsetName("long") + "]";
9064
+ default:
9065
+ return l;
9066
+ }
9067
+ }));
9068
+ return s.bind(this)(f);
9069
+ };
9070
+ };
9071
+ }));
9072
+ })(xl)), xl.exports;
10025
9073
  }
10026
- class _A extends An {
10027
- /**
10028
- * Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10029
- * Delete Hotel Room List Guest
10030
- */
10031
- async deleteRaw(t, n) {
10032
- if (t.id === null || t.id === void 0)
10033
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
10034
- if (t.token === null || t.token === void 0)
10035
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
10036
- const r = {}, o = {}, s = await this.request({
10037
- path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(t.id))).replace("{token}", encodeURIComponent(String(t.token))),
10038
- method: "DELETE",
10039
- headers: o,
10040
- query: ce(r, le.Snake)
10041
- }, n);
10042
- return new aA(s);
10043
- }
10044
- /**
10045
- * Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10046
- * Delete Hotel Room List Guest
10047
- */
10048
- async delete(t, n) {
10049
- return this.deleteRaw(t, n);
10050
- }
10051
- /**
10052
- * Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10053
- * Update Hotel Room List Guest
10054
- */
10055
- async updateRaw(t, n) {
10056
- if (t.id === null || t.id === void 0)
10057
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
10058
- if (t.token === null || t.token === void 0)
10059
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
10060
- const r = {}, o = {};
10061
- o["Content-Type"] = "application/json";
10062
- const s = await this.request({
10063
- path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(t.id))).replace("{token}", encodeURIComponent(String(t.token))),
10064
- method: "PATCH",
10065
- headers: o,
10066
- query: ce(r, le.Snake),
10067
- body: ce(t.hotelRoomingListGuestsUpdateApi, le.Snake)
10068
- }, n);
10069
- return await new Be(s, (i) => ce(i, le.Camel)).value();
10070
- }
10071
- /**
10072
- * Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10073
- * Update Hotel Room List Guest
10074
- */
10075
- async update(t, n) {
10076
- return this.updateRaw(t, n);
10077
- }
10078
- /**
10079
- * Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
10080
- * Create Hotel Rooming List Guest
10081
- */
10082
- async createRaw(t, n) {
10083
- if (t.token === null || t.token === void 0)
10084
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
10085
- const r = {}, o = {};
10086
- o["Content-Type"] = "application/json";
10087
- const s = await this.request({
10088
- path: "/v1/hotel_rooming_list_guests/{token}".replace("{token}", encodeURIComponent(String(t.token))),
10089
- method: "POST",
10090
- headers: o,
10091
- query: ce(r, le.Snake),
10092
- body: ce(t.hotelRoomingListGuestsCreateApi, le.Snake)
10093
- }, n);
10094
- return await new Be(s, (i) => ce(i, le.Camel)).value();
10095
- }
10096
- /**
10097
- * Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
10098
- * Create Hotel Rooming List Guest
10099
- */
10100
- async create(t, n) {
10101
- return this.createRaw(t, n);
10102
- }
9074
+ var dD = fD();
9075
+ const pD = /* @__PURE__ */ zt(dD);
9076
+ var $l = { exports: {} }, mD = $l.exports, Dm;
9077
+ function hD() {
9078
+ return Dm || (Dm = 1, (function(e, t) {
9079
+ (function(n, r) {
9080
+ e.exports = r();
9081
+ })(mD, (function() {
9082
+ return function(n, r, o) {
9083
+ r.prototype.isBetween = function(s, i, a, c) {
9084
+ var u = o(s), f = o(i), l = (c = c || "()")[0] === "(", d = c[1] === ")";
9085
+ return (l ? this.isAfter(u, a) : !this.isBefore(u, a)) && (d ? this.isBefore(f, a) : !this.isAfter(f, a)) || (l ? this.isBefore(u, a) : !this.isAfter(u, a)) && (d ? this.isAfter(f, a) : !this.isBefore(f, a));
9086
+ };
9087
+ };
9088
+ }));
9089
+ })($l)), $l.exports;
10103
9090
  }
10104
- class yA extends An {
10105
- /**
10106
- * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
10107
- * Get Hotel Rooming Lists for a booking
10108
- */
10109
- async listRaw(t, n) {
10110
- if (t.token === null || t.token === void 0)
10111
- throw new He("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
10112
- const r = {};
10113
- t.lang !== void 0 && (r.lang = t.lang);
10114
- const o = {}, s = await this.request({
10115
- path: "/v1/hotel_rooming_lists/{token}".replace("{token}", encodeURIComponent(String(t.token))),
10116
- method: "GET",
10117
- headers: o,
10118
- query: ce(r, le.Snake)
10119
- }, n);
10120
- return new Be(s, (i) => ce(i, le.Camel)).value();
10121
- }
10122
- /**
10123
- * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
10124
- * Get Hotel Rooming Lists for a booking
10125
- */
10126
- async list(t, n) {
10127
- return this.listRaw(t, n);
10128
- }
9091
+ var gD = hD();
9092
+ const _D = /* @__PURE__ */ zt(gD);
9093
+ var Fl = { exports: {} }, yD = Fl.exports, Am;
9094
+ function bD() {
9095
+ return Am || (Am = 1, (function(e, t) {
9096
+ (function(n, r) {
9097
+ e.exports = r();
9098
+ })(yD, (function() {
9099
+ return function(n, r) {
9100
+ r.prototype.isSameOrAfter = function(o, s) {
9101
+ return this.isSame(o, s) || this.isAfter(o, s);
9102
+ };
9103
+ };
9104
+ }));
9105
+ })(Fl)), Fl.exports;
10129
9106
  }
10130
- class bA extends An {
10131
- /**
10132
- * Returns a single Hotel by id with their content localize into the requested **lang**.
10133
- * Retrieve a Hotel
10134
- */
10135
- async retrieveRaw(t, n) {
10136
- if (t.id === null || t.id === void 0)
10137
- throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
10138
- const r = {};
10139
- t.event !== void 0 && (r.event = t.event), t.lang !== void 0 && (r.lang = t.lang);
10140
- const o = {};
10141
- this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10142
- const s = await this.request({
10143
- path: "/v1/hotels/{id}".replace("{id}", encodeURIComponent(String(t.id))),
10144
- method: "GET",
10145
- headers: o,
10146
- query: ce(r, le.Snake)
10147
- }, n);
10148
- return await new Be(s, (i) => ce(i, le.Camel)).value();
10149
- }
10150
- /**
10151
- * Returns a single Hotel by id with their content localize into the requested **lang**.
10152
- * Retrieve a Hotel
10153
- */
10154
- async retrieve(t, n) {
10155
- return this.retrieveRaw(t, n);
10156
- }
9107
+ var vD = bD();
9108
+ const ED = /* @__PURE__ */ zt(vD);
9109
+ var Ul = { exports: {} }, SD = Ul.exports, Im;
9110
+ function TD() {
9111
+ return Im || (Im = 1, (function(e, t) {
9112
+ (function(n, r) {
9113
+ e.exports = r();
9114
+ })(SD, (function() {
9115
+ return function(n, r) {
9116
+ r.prototype.isSameOrBefore = function(o, s) {
9117
+ return this.isSame(o, s) || this.isBefore(o, s);
9118
+ };
9119
+ };
9120
+ }));
9121
+ })(Ul)), Ul.exports;
9122
+ }
9123
+ var wD = TD();
9124
+ const OD = /* @__PURE__ */ zt(wD);
9125
+ var Bl = { exports: {} }, DD = Bl.exports, Rm;
9126
+ function AD() {
9127
+ return Rm || (Rm = 1, (function(e, t) {
9128
+ (function(n, r) {
9129
+ e.exports = r();
9130
+ })(DD, (function() {
9131
+ return function(n, r, o) {
9132
+ var s = r.prototype, i = function(l) {
9133
+ return l && (l.indexOf ? l : l.s);
9134
+ }, a = function(l, d, p, h, m) {
9135
+ var _ = l.name ? l : l.$locale(), g = i(_[d]), b = i(_[p]), O = g || b.map((function(R) {
9136
+ return R.slice(0, h);
9137
+ }));
9138
+ if (!m) return O;
9139
+ var k = _.weekStart;
9140
+ return O.map((function(R, L) {
9141
+ return O[(L + (k || 0)) % 7];
9142
+ }));
9143
+ }, c = function() {
9144
+ return o.Ls[o.locale()];
9145
+ }, u = function(l, d) {
9146
+ return l.formats[d] || (function(p) {
9147
+ return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(h, m, _) {
9148
+ return m || _.slice(1);
9149
+ }));
9150
+ })(l.formats[d.toUpperCase()]);
9151
+ }, f = function() {
9152
+ var l = this;
9153
+ return { months: function(d) {
9154
+ return d ? d.format("MMMM") : a(l, "months");
9155
+ }, monthsShort: function(d) {
9156
+ return d ? d.format("MMM") : a(l, "monthsShort", "months", 3);
9157
+ }, firstDayOfWeek: function() {
9158
+ return l.$locale().weekStart || 0;
9159
+ }, weekdays: function(d) {
9160
+ return d ? d.format("dddd") : a(l, "weekdays");
9161
+ }, weekdaysMin: function(d) {
9162
+ return d ? d.format("dd") : a(l, "weekdaysMin", "weekdays", 2);
9163
+ }, weekdaysShort: function(d) {
9164
+ return d ? d.format("ddd") : a(l, "weekdaysShort", "weekdays", 3);
9165
+ }, longDateFormat: function(d) {
9166
+ return u(l.$locale(), d);
9167
+ }, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
9168
+ };
9169
+ s.localeData = function() {
9170
+ return f.bind(this)();
9171
+ }, o.localeData = function() {
9172
+ var l = c();
9173
+ return { firstDayOfWeek: function() {
9174
+ return l.weekStart || 0;
9175
+ }, weekdays: function() {
9176
+ return o.weekdays();
9177
+ }, weekdaysShort: function() {
9178
+ return o.weekdaysShort();
9179
+ }, weekdaysMin: function() {
9180
+ return o.weekdaysMin();
9181
+ }, months: function() {
9182
+ return o.months();
9183
+ }, monthsShort: function() {
9184
+ return o.monthsShort();
9185
+ }, longDateFormat: function(d) {
9186
+ return u(l, d);
9187
+ }, meridiem: l.meridiem, ordinal: l.ordinal };
9188
+ }, o.months = function() {
9189
+ return a(c(), "months");
9190
+ }, o.monthsShort = function() {
9191
+ return a(c(), "monthsShort", "months", 3);
9192
+ }, o.weekdays = function(l) {
9193
+ return a(c(), "weekdays", null, null, l);
9194
+ }, o.weekdaysShort = function(l) {
9195
+ return a(c(), "weekdaysShort", "weekdays", 3, l);
9196
+ }, o.weekdaysMin = function(l) {
9197
+ return a(c(), "weekdaysMin", "weekdays", 2, l);
9198
+ };
9199
+ };
9200
+ }));
9201
+ })(Bl)), Bl.exports;
9202
+ }
9203
+ var ID = AD();
9204
+ const RD = /* @__PURE__ */ zt(ID);
9205
+ var Hl = { exports: {} }, kD = Hl.exports, km;
9206
+ function PD() {
9207
+ return km || (km = 1, (function(e, t) {
9208
+ (function(n, r) {
9209
+ e.exports = r();
9210
+ })(kD, (function() {
9211
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
9212
+ return function(r, o, s) {
9213
+ var i = o.prototype, a = i.format;
9214
+ s.en.formats = n, i.format = function(c) {
9215
+ c === void 0 && (c = "YYYY-MM-DDTHH:mm:ssZ");
9216
+ var u = this.$locale().formats, f = (function(l, d) {
9217
+ return l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(p, h, m) {
9218
+ var _ = m && m.toUpperCase();
9219
+ return h || d[m] || n[m] || d[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(g, b, O) {
9220
+ return b || O.slice(1);
9221
+ }));
9222
+ }));
9223
+ })(c, u === void 0 ? {} : u);
9224
+ return a.call(this, f);
9225
+ };
9226
+ };
9227
+ }));
9228
+ })(Hl)), Hl.exports;
10157
9229
  }
10158
- var xu = { exports: {} }, Fm;
10159
- function vA() {
10160
- return Fm || (Fm = 1, (function(e, t) {
10161
- var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof Ki < "u" && Ki, r = (function() {
10162
- function s() {
10163
- this.fetch = !1, this.DOMException = n.DOMException;
10164
- }
10165
- return s.prototype = n, new s();
10166
- })();
10167
- (function(s) {
10168
- (function(i) {
10169
- var a = typeof s < "u" && s || typeof self < "u" && self || // eslint-disable-next-line no-undef
10170
- typeof Ki < "u" && Ki || {}, c = {
10171
- searchParams: "URLSearchParams" in a,
10172
- iterable: "Symbol" in a && "iterator" in Symbol,
10173
- blob: "FileReader" in a && "Blob" in a && (function() {
10174
- try {
10175
- return new Blob(), !0;
10176
- } catch {
10177
- return !1;
10178
- }
10179
- })(),
10180
- formData: "FormData" in a,
10181
- arrayBuffer: "ArrayBuffer" in a
9230
+ var CD = PD();
9231
+ const ND = /* @__PURE__ */ zt(CD);
9232
+ var Vl = { exports: {} }, LD = Vl.exports, Pm;
9233
+ function MD() {
9234
+ return Pm || (Pm = 1, (function(e, t) {
9235
+ (function(n, r) {
9236
+ e.exports = r();
9237
+ })(LD, (function() {
9238
+ return function(n, r, o) {
9239
+ var s = function(i, a) {
9240
+ if (!a || !a.length || a.length === 1 && !a[0] || a.length === 1 && Array.isArray(a[0]) && !a[0].length) return null;
9241
+ var c;
9242
+ a.length === 1 && a[0].length > 0 && (a = a[0]), c = (a = a.filter((function(f) {
9243
+ return f;
9244
+ })))[0];
9245
+ for (var u = 1; u < a.length; u += 1) a[u].isValid() && !a[u][i](c) || (c = a[u]);
9246
+ return c;
10182
9247
  };
10183
- function u(E) {
10184
- return E && DataView.prototype.isPrototypeOf(E);
10185
- }
10186
- if (c.arrayBuffer)
10187
- var f = [
10188
- "[object Int8Array]",
10189
- "[object Uint8Array]",
10190
- "[object Uint8ClampedArray]",
10191
- "[object Int16Array]",
10192
- "[object Uint16Array]",
10193
- "[object Int32Array]",
10194
- "[object Uint32Array]",
10195
- "[object Float32Array]",
10196
- "[object Float64Array]"
10197
- ], l = ArrayBuffer.isView || function(E) {
10198
- return E && f.indexOf(Object.prototype.toString.call(E)) > -1;
10199
- };
10200
- function d(E) {
10201
- if (typeof E != "string" && (E = String(E)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(E) || E === "")
10202
- throw new TypeError('Invalid character in header field name: "' + E + '"');
10203
- return E.toLowerCase();
10204
- }
10205
- function p(E) {
10206
- return typeof E != "string" && (E = String(E)), E;
10207
- }
10208
- function h(E) {
10209
- var S = {
10210
- next: function() {
10211
- var I = E.shift();
10212
- return { done: I === void 0, value: I };
10213
- }
10214
- };
10215
- return c.iterable && (S[Symbol.iterator] = function() {
10216
- return S;
10217
- }), S;
10218
- }
10219
- function m(E) {
10220
- this.map = {}, E instanceof m ? E.forEach(function(S, I) {
10221
- this.append(I, S);
10222
- }, this) : Array.isArray(E) ? E.forEach(function(S) {
10223
- if (S.length != 2)
10224
- throw new TypeError("Headers constructor: expected name/value pair to be length 2, found" + S.length);
10225
- this.append(S[0], S[1]);
10226
- }, this) : E && Object.getOwnPropertyNames(E).forEach(function(S) {
10227
- this.append(S, E[S]);
10228
- }, this);
10229
- }
10230
- m.prototype.append = function(E, S) {
10231
- E = d(E), S = p(S);
10232
- var I = this.map[E];
10233
- this.map[E] = I ? I + ", " + S : S;
10234
- }, m.prototype.delete = function(E) {
10235
- delete this.map[d(E)];
10236
- }, m.prototype.get = function(E) {
10237
- return E = d(E), this.has(E) ? this.map[E] : null;
10238
- }, m.prototype.has = function(E) {
10239
- return this.map.hasOwnProperty(d(E));
10240
- }, m.prototype.set = function(E, S) {
10241
- this.map[d(E)] = p(S);
10242
- }, m.prototype.forEach = function(E, S) {
10243
- for (var I in this.map)
10244
- this.map.hasOwnProperty(I) && E.call(S, this.map[I], I, this);
10245
- }, m.prototype.keys = function() {
10246
- var E = [];
10247
- return this.forEach(function(S, I) {
10248
- E.push(I);
10249
- }), h(E);
10250
- }, m.prototype.values = function() {
10251
- var E = [];
10252
- return this.forEach(function(S) {
10253
- E.push(S);
10254
- }), h(E);
10255
- }, m.prototype.entries = function() {
10256
- var E = [];
10257
- return this.forEach(function(S, I) {
10258
- E.push([I, S]);
10259
- }), h(E);
10260
- }, c.iterable && (m.prototype[Symbol.iterator] = m.prototype.entries);
10261
- function _(E) {
10262
- if (!E._noBody) {
10263
- if (E.bodyUsed)
10264
- return Promise.reject(new TypeError("Already read"));
10265
- E.bodyUsed = !0;
10266
- }
10267
- }
10268
- function g(E) {
10269
- return new Promise(function(S, I) {
10270
- E.onload = function() {
10271
- S(E.result);
10272
- }, E.onerror = function() {
10273
- I(E.error);
10274
- };
10275
- });
10276
- }
10277
- function b(E) {
10278
- var S = new FileReader(), I = g(S);
10279
- return S.readAsArrayBuffer(E), I;
10280
- }
10281
- function O(E) {
10282
- var S = new FileReader(), I = g(S), D = /charset=([A-Za-z0-9_-]+)/.exec(E.type), F = D ? D[1] : "utf-8";
10283
- return S.readAsText(E, F), I;
10284
- }
10285
- function k(E) {
10286
- for (var S = new Uint8Array(E), I = new Array(S.length), D = 0; D < S.length; D++)
10287
- I[D] = String.fromCharCode(S[D]);
10288
- return I.join("");
10289
- }
10290
- function R(E) {
10291
- if (E.slice)
10292
- return E.slice(0);
10293
- var S = new Uint8Array(E.byteLength);
10294
- return S.set(new Uint8Array(E)), S.buffer;
10295
- }
10296
- function L() {
10297
- return this.bodyUsed = !1, this._initBody = function(E) {
10298
- this.bodyUsed = this.bodyUsed, this._bodyInit = E, E ? typeof E == "string" ? this._bodyText = E : c.blob && Blob.prototype.isPrototypeOf(E) ? this._bodyBlob = E : c.formData && FormData.prototype.isPrototypeOf(E) ? this._bodyFormData = E : c.searchParams && URLSearchParams.prototype.isPrototypeOf(E) ? this._bodyText = E.toString() : c.arrayBuffer && c.blob && u(E) ? (this._bodyArrayBuffer = R(E.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : c.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(E) || l(E)) ? this._bodyArrayBuffer = R(E) : this._bodyText = E = Object.prototype.toString.call(E) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof E == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : c.searchParams && URLSearchParams.prototype.isPrototypeOf(E) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
10299
- }, c.blob && (this.blob = function() {
10300
- var E = _(this);
10301
- if (E)
10302
- return E;
10303
- if (this._bodyBlob)
10304
- return Promise.resolve(this._bodyBlob);
10305
- if (this._bodyArrayBuffer)
10306
- return Promise.resolve(new Blob([this._bodyArrayBuffer]));
10307
- if (this._bodyFormData)
10308
- throw new Error("could not read FormData body as blob");
10309
- return Promise.resolve(new Blob([this._bodyText]));
10310
- }), this.arrayBuffer = function() {
10311
- if (this._bodyArrayBuffer) {
10312
- var E = _(this);
10313
- return E || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
10314
- this._bodyArrayBuffer.buffer.slice(
10315
- this._bodyArrayBuffer.byteOffset,
10316
- this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
10317
- )
10318
- ) : Promise.resolve(this._bodyArrayBuffer));
10319
- } else {
10320
- if (c.blob)
10321
- return this.blob().then(b);
10322
- throw new Error("could not read as ArrayBuffer");
10323
- }
10324
- }, this.text = function() {
10325
- var E = _(this);
10326
- if (E)
10327
- return E;
10328
- if (this._bodyBlob)
10329
- return O(this._bodyBlob);
10330
- if (this._bodyArrayBuffer)
10331
- return Promise.resolve(k(this._bodyArrayBuffer));
10332
- if (this._bodyFormData)
10333
- throw new Error("could not read FormData body as text");
10334
- return Promise.resolve(this._bodyText);
10335
- }, c.formData && (this.formData = function() {
10336
- return this.text().then(x);
10337
- }), this.json = function() {
10338
- return this.text().then(JSON.parse);
10339
- }, this;
10340
- }
10341
- var A = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
10342
- function W(E) {
10343
- var S = E.toUpperCase();
10344
- return A.indexOf(S) > -1 ? S : E;
9248
+ o.max = function() {
9249
+ var i = [].slice.call(arguments, 0);
9250
+ return s("isAfter", i);
9251
+ }, o.min = function() {
9252
+ var i = [].slice.call(arguments, 0);
9253
+ return s("isBefore", i);
9254
+ };
9255
+ };
9256
+ }));
9257
+ })(Vl)), Vl.exports;
9258
+ }
9259
+ var xD = MD();
9260
+ const $D = /* @__PURE__ */ zt(xD);
9261
+ var jl = { exports: {} }, FD = jl.exports, Cm;
9262
+ function UD() {
9263
+ return Cm || (Cm = 1, (function(e, t) {
9264
+ (function(n, r) {
9265
+ e.exports = r();
9266
+ })(FD, (function() {
9267
+ return function(n, r, o) {
9268
+ n = n || {};
9269
+ var s = r.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
9270
+ function a(u, f, l, d) {
9271
+ return s.fromToBase(u, f, l, d);
10345
9272
  }
10346
- function U(E, S) {
10347
- if (!(this instanceof U))
10348
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
10349
- S = S || {};
10350
- var I = S.body;
10351
- if (E instanceof U) {
10352
- if (E.bodyUsed)
10353
- throw new TypeError("Already read");
10354
- this.url = E.url, this.credentials = E.credentials, S.headers || (this.headers = new m(E.headers)), this.method = E.method, this.mode = E.mode, this.signal = E.signal, !I && E._bodyInit != null && (I = E._bodyInit, E.bodyUsed = !0);
10355
- } else
10356
- this.url = String(E);
10357
- if (this.credentials = S.credentials || this.credentials || "same-origin", (S.headers || !this.headers) && (this.headers = new m(S.headers)), this.method = W(S.method || this.method || "GET"), this.mode = S.mode || this.mode || null, this.signal = S.signal || this.signal || (function() {
10358
- if ("AbortController" in a) {
10359
- var $ = new AbortController();
10360
- return $.signal;
10361
- }
10362
- })(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && I)
10363
- throw new TypeError("Body not allowed for GET or HEAD requests");
10364
- if (this._initBody(I), (this.method === "GET" || this.method === "HEAD") && (S.cache === "no-store" || S.cache === "no-cache")) {
10365
- var D = /([?&])_=[^&]*/;
10366
- if (D.test(this.url))
10367
- this.url = this.url.replace(D, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
10368
- else {
10369
- var F = /\?/;
10370
- this.url += (F.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
9273
+ o.en.relativeTime = i, s.fromToBase = function(u, f, l, d, p) {
9274
+ for (var h, m, _, g = l.$locale().relativeTime || i, b = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], O = b.length, k = 0; k < O; k += 1) {
9275
+ var R = b[k];
9276
+ R.d && (h = d ? o(u).diff(l, R.d, !0) : l.diff(u, R.d, !0));
9277
+ var L = (n.rounding || Math.round)(Math.abs(h));
9278
+ if (_ = h > 0, L <= R.r || !R.r) {
9279
+ L <= 1 && k > 0 && (R = b[k - 1]);
9280
+ var A = g[R.l];
9281
+ p && (L = p("" + L)), m = typeof A == "string" ? A.replace("%d", L) : A(L, f, R.l, _);
9282
+ break;
10371
9283
  }
10372
9284
  }
10373
- }
10374
- U.prototype.clone = function() {
10375
- return new U(this, { body: this._bodyInit });
9285
+ if (f) return m;
9286
+ var W = _ ? g.future : g.past;
9287
+ return typeof W == "function" ? W(m) : W.replace("%s", m);
9288
+ }, s.to = function(u, f) {
9289
+ return a(u, f, this, !0);
9290
+ }, s.from = function(u, f) {
9291
+ return a(u, f, this);
10376
9292
  };
10377
- function x(E) {
10378
- var S = new FormData();
10379
- return E.trim().split("&").forEach(function(I) {
10380
- if (I) {
10381
- var D = I.split("="), F = D.shift().replace(/\+/g, " "), $ = D.join("=").replace(/\+/g, " ");
10382
- S.append(decodeURIComponent(F), decodeURIComponent($));
10383
- }
10384
- }), S;
10385
- }
10386
- function C(E) {
10387
- var S = new m(), I = E.replace(/\r?\n[\t ]+/g, " ");
10388
- return I.split("\r").map(function(D) {
10389
- return D.indexOf(`
10390
- `) === 0 ? D.substr(1, D.length) : D;
10391
- }).forEach(function(D) {
10392
- var F = D.split(":"), $ = F.shift().trim();
10393
- if ($) {
10394
- var X = F.join(":").trim();
10395
- try {
10396
- S.append($, X);
10397
- } catch (Q) {
10398
- console.warn("Response " + Q.message);
10399
- }
10400
- }
10401
- }), S;
10402
- }
10403
- L.call(U.prototype);
10404
- function H(E, S) {
10405
- if (!(this instanceof H))
10406
- throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
10407
- if (S || (S = {}), this.type = "default", this.status = S.status === void 0 ? 200 : S.status, this.status < 200 || this.status > 599)
10408
- throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");
10409
- this.ok = this.status >= 200 && this.status < 300, this.statusText = S.statusText === void 0 ? "" : "" + S.statusText, this.headers = new m(S.headers), this.url = S.url || "", this._initBody(E);
10410
- }
10411
- L.call(H.prototype), H.prototype.clone = function() {
10412
- return new H(this._bodyInit, {
10413
- status: this.status,
10414
- statusText: this.statusText,
10415
- headers: new m(this.headers),
10416
- url: this.url
10417
- });
10418
- }, H.error = function() {
10419
- var E = new H(null, { status: 200, statusText: "" });
10420
- return E.ok = !1, E.status = 0, E.type = "error", E;
9293
+ var c = function(u) {
9294
+ return u.$u ? o.utc() : o();
10421
9295
  };
10422
- var se = [301, 302, 303, 307, 308];
10423
- H.redirect = function(E, S) {
10424
- if (se.indexOf(S) === -1)
10425
- throw new RangeError("Invalid status code");
10426
- return new H(null, { status: S, headers: { location: E } });
10427
- }, i.DOMException = a.DOMException;
10428
- try {
10429
- new i.DOMException();
10430
- } catch {
10431
- i.DOMException = function(E, S) {
10432
- this.message = E, this.name = S;
10433
- var I = Error(E);
10434
- this.stack = I.stack;
10435
- }, i.DOMException.prototype = Object.create(Error.prototype), i.DOMException.prototype.constructor = i.DOMException;
10436
- }
10437
- function V(E, S) {
10438
- return new Promise(function(I, D) {
10439
- var F = new U(E, S);
10440
- if (F.signal && F.signal.aborted)
10441
- return D(new i.DOMException("Aborted", "AbortError"));
10442
- var $ = new XMLHttpRequest();
10443
- function X() {
10444
- $.abort();
10445
- }
10446
- $.onload = function() {
10447
- var re = {
10448
- statusText: $.statusText,
10449
- headers: C($.getAllResponseHeaders() || "")
10450
- };
10451
- F.url.indexOf("file://") === 0 && ($.status < 200 || $.status > 599) ? re.status = 200 : re.status = $.status, re.url = "responseURL" in $ ? $.responseURL : re.headers.get("X-Request-URL");
10452
- var me = "response" in $ ? $.response : $.responseText;
10453
- setTimeout(function() {
10454
- I(new H(me, re));
10455
- }, 0);
10456
- }, $.onerror = function() {
10457
- setTimeout(function() {
10458
- D(new TypeError("Network request failed"));
10459
- }, 0);
10460
- }, $.ontimeout = function() {
10461
- setTimeout(function() {
10462
- D(new TypeError("Network request timed out"));
10463
- }, 0);
10464
- }, $.onabort = function() {
10465
- setTimeout(function() {
10466
- D(new i.DOMException("Aborted", "AbortError"));
10467
- }, 0);
10468
- };
10469
- function Q(re) {
10470
- try {
10471
- return re === "" && a.location.href ? a.location.href : re;
10472
- } catch {
10473
- return re;
10474
- }
10475
- }
10476
- if ($.open(F.method, Q(F.url), !0), F.credentials === "include" ? $.withCredentials = !0 : F.credentials === "omit" && ($.withCredentials = !1), "responseType" in $ && (c.blob ? $.responseType = "blob" : c.arrayBuffer && ($.responseType = "arraybuffer")), S && typeof S.headers == "object" && !(S.headers instanceof m || a.Headers && S.headers instanceof a.Headers)) {
10477
- var ne = [];
10478
- Object.getOwnPropertyNames(S.headers).forEach(function(re) {
10479
- ne.push(d(re)), $.setRequestHeader(re, p(S.headers[re]));
10480
- }), F.headers.forEach(function(re, me) {
10481
- ne.indexOf(me) === -1 && $.setRequestHeader(me, re);
10482
- });
10483
- } else
10484
- F.headers.forEach(function(re, me) {
10485
- $.setRequestHeader(me, re);
10486
- });
10487
- F.signal && (F.signal.addEventListener("abort", X), $.onreadystatechange = function() {
10488
- $.readyState === 4 && F.signal.removeEventListener("abort", X);
10489
- }), $.send(typeof F._bodyInit > "u" ? null : F._bodyInit);
10490
- });
10491
- }
10492
- return V.polyfill = !0, a.fetch || (a.fetch = V, a.Headers = m, a.Request = U, a.Response = H), i.Headers = m, i.Request = U, i.Response = H, i.fetch = V, i;
10493
- })({});
10494
- })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
10495
- var o = n.fetch ? n : r;
10496
- t = o.fetch, t.default = o.fetch, t.fetch = o.fetch, t.Headers = o.Headers, t.Request = o.Request, t.Response = o.Response, e.exports = t;
10497
- })(xu, xu.exports)), xu.exports;
10498
- }
10499
- var EA = vA();
10500
- const SA = /* @__PURE__ */ zt(EA), TA = (e) => ({
10501
- bookingPolicies: new cA(e),
10502
- bookings: new uA(e),
10503
- hotelImages: new lA(e),
10504
- hotelOfferRequests: new fA(e),
10505
- hotelOffers: new dA(e),
10506
- hotelRoomOfferImages: new mA(e),
10507
- hotelRoomOfferRequests: new hA(e),
10508
- hotelRoomOffers: new gA(e),
9296
+ s.toNow = function(u) {
9297
+ return this.to(c(this), u);
9298
+ }, s.fromNow = function(u) {
9299
+ return this.from(c(this), u);
9300
+ };
9301
+ };
9302
+ }));
9303
+ })(jl)), jl.exports;
9304
+ }
9305
+ var BD = UD();
9306
+ const HD = /* @__PURE__ */ zt(BD);
9307
+ var Kl = { exports: {} }, VD = Kl.exports, Nm;
9308
+ function jD() {
9309
+ return Nm || (Nm = 1, (function(e, t) {
9310
+ (function(n, r) {
9311
+ e.exports = r();
9312
+ })(VD, (function() {
9313
+ var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
9314
+ return function(o, s, i) {
9315
+ var a, c = function(d, p, h) {
9316
+ h === void 0 && (h = {});
9317
+ var m = new Date(d), _ = (function(g, b) {
9318
+ b === void 0 && (b = {});
9319
+ var O = b.timeZoneName || "short", k = g + "|" + O, R = r[k];
9320
+ return R || (R = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: g, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: O }), r[k] = R), R;
9321
+ })(p, h);
9322
+ return _.formatToParts(m);
9323
+ }, u = function(d, p) {
9324
+ for (var h = c(d, p), m = [], _ = 0; _ < h.length; _ += 1) {
9325
+ var g = h[_], b = g.type, O = g.value, k = n[b];
9326
+ k >= 0 && (m[k] = parseInt(O, 10));
9327
+ }
9328
+ var R = m[3], L = R === 24 ? 0 : R, A = m[0] + "-" + m[1] + "-" + m[2] + " " + L + ":" + m[4] + ":" + m[5] + ":000", W = +d;
9329
+ return (i.utc(A).valueOf() - (W -= W % 1e3)) / 6e4;
9330
+ }, f = s.prototype;
9331
+ f.tz = function(d, p) {
9332
+ d === void 0 && (d = a);
9333
+ var h, m = this.utcOffset(), _ = this.toDate(), g = _.toLocaleString("en-US", { timeZone: d }), b = Math.round((_ - new Date(g)) / 1e3 / 60), O = 15 * -Math.round(_.getTimezoneOffset() / 15) - b;
9334
+ if (!Number(O)) h = this.utcOffset(0, p);
9335
+ else if (h = i(g, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(O, !0), p) {
9336
+ var k = h.utcOffset();
9337
+ h = h.add(m - k, "minute");
9338
+ }
9339
+ return h.$x.$timezone = d, h;
9340
+ }, f.offsetName = function(d) {
9341
+ var p = this.$x.$timezone || i.tz.guess(), h = c(this.valueOf(), p, { timeZoneName: d }).find((function(m) {
9342
+ return m.type.toLowerCase() === "timezonename";
9343
+ }));
9344
+ return h && h.value;
9345
+ };
9346
+ var l = f.startOf;
9347
+ f.startOf = function(d, p) {
9348
+ if (!this.$x || !this.$x.$timezone) return l.call(this, d, p);
9349
+ var h = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
9350
+ return l.call(h, d, p).tz(this.$x.$timezone, !0);
9351
+ }, i.tz = function(d, p, h) {
9352
+ var m = h && p, _ = h || p || a, g = u(+i(), _);
9353
+ if (typeof d != "string") return i(d).tz(_);
9354
+ var b = (function(L, A, W) {
9355
+ var U = L - 60 * A * 1e3, x = u(U, W);
9356
+ if (A === x) return [U, A];
9357
+ var C = u(U -= 60 * (x - A) * 1e3, W);
9358
+ return x === C ? [U, x] : [L - 60 * Math.min(x, C) * 1e3, Math.max(x, C)];
9359
+ })(i.utc(d, m).valueOf(), g, _), O = b[0], k = b[1], R = i(O).utcOffset(k);
9360
+ return R.$x.$timezone = _, R;
9361
+ }, i.tz.guess = function() {
9362
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
9363
+ }, i.tz.setDefault = function(d) {
9364
+ a = d;
9365
+ };
9366
+ };
9367
+ }));
9368
+ })(Kl)), Kl.exports;
9369
+ }
9370
+ var KD = jD();
9371
+ const GD = /* @__PURE__ */ zt(KD);
9372
+ var Gl = { exports: {} }, WD = Gl.exports, Lm;
9373
+ function YD() {
9374
+ return Lm || (Lm = 1, (function(e, t) {
9375
+ (function(n, r) {
9376
+ e.exports = r();
9377
+ })(WD, (function() {
9378
+ var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
9379
+ return function(s, i, a) {
9380
+ var c = i.prototype;
9381
+ a.utc = function(m) {
9382
+ var _ = { date: m, utc: !0, args: arguments };
9383
+ return new i(_);
9384
+ }, c.utc = function(m) {
9385
+ var _ = a(this.toDate(), { locale: this.$L, utc: !0 });
9386
+ return m ? _.add(this.utcOffset(), n) : _;
9387
+ }, c.local = function() {
9388
+ return a(this.toDate(), { locale: this.$L, utc: !1 });
9389
+ };
9390
+ var u = c.parse;
9391
+ c.parse = function(m) {
9392
+ m.utc && (this.$u = !0), this.$utils().u(m.$offset) || (this.$offset = m.$offset), u.call(this, m);
9393
+ };
9394
+ var f = c.init;
9395
+ c.init = function() {
9396
+ if (this.$u) {
9397
+ var m = this.$d;
9398
+ 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();
9399
+ } else f.call(this);
9400
+ };
9401
+ var l = c.utcOffset;
9402
+ c.utcOffset = function(m, _) {
9403
+ var g = this.$utils().u;
9404
+ if (g(m)) return this.$u ? 0 : g(this.$offset) ? l.call(this) : this.$offset;
9405
+ if (typeof m == "string" && (m = (function(R) {
9406
+ R === void 0 && (R = "");
9407
+ var L = R.match(r);
9408
+ if (!L) return null;
9409
+ var A = ("" + L[0]).match(o) || ["-", 0, 0], W = A[0], U = 60 * +A[1] + +A[2];
9410
+ return U === 0 ? 0 : W === "+" ? U : -U;
9411
+ })(m), m === null)) return this;
9412
+ var b = Math.abs(m) <= 16 ? 60 * m : m;
9413
+ if (b === 0) return this.utc(_);
9414
+ var O = this.clone();
9415
+ if (_) return O.$offset = b, O.$u = !1, O;
9416
+ var k = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
9417
+ return (O = this.local().add(b + k, n)).$offset = b, O.$x.$localOffset = k, O;
9418
+ };
9419
+ var d = c.format;
9420
+ c.format = function(m) {
9421
+ var _ = m || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
9422
+ return d.call(this, _);
9423
+ }, c.valueOf = function() {
9424
+ var m = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
9425
+ return this.$d.valueOf() - 6e4 * m;
9426
+ }, c.isUTC = function() {
9427
+ return !!this.$u;
9428
+ }, c.toISOString = function() {
9429
+ return this.toDate().toISOString();
9430
+ }, c.toString = function() {
9431
+ return this.toDate().toUTCString();
9432
+ };
9433
+ var p = c.toDate;
9434
+ c.toDate = function(m) {
9435
+ return m === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
9436
+ };
9437
+ var h = c.diff;
9438
+ c.diff = function(m, _, g) {
9439
+ if (m && this.$u === m.$u) return h.call(this, m, _, g);
9440
+ var b = this.local(), O = a(m).local();
9441
+ return h.call(b, O, _, g);
9442
+ };
9443
+ };
9444
+ }));
9445
+ })(Gl)), Gl.exports;
9446
+ }
9447
+ var zD = YD();
9448
+ const qD = /* @__PURE__ */ zt(zD);
9449
+ var Wl = { exports: {} }, ZD = Wl.exports, Mm;
9450
+ function JD() {
9451
+ return Mm || (Mm = 1, (function(e, t) {
9452
+ (function(n, r) {
9453
+ e.exports = r(hv());
9454
+ })(ZD, (function(n) {
9455
+ function r(i) {
9456
+ return i && typeof i == "object" && "default" in i ? i : { default: i };
9457
+ }
9458
+ var o = r(n), s = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(i) {
9459
+ return "" + i + (i === 1 ? "er" : "");
9460
+ } };
9461
+ return o.default.locale(s, null, !0), s;
9462
+ }));
9463
+ })(Wl)), Wl.exports;
9464
+ }
9465
+ JD();
9466
+ var Yl = { exports: {} }, XD = Yl.exports, xm;
9467
+ function QD() {
9468
+ return xm || (xm = 1, (function(e, t) {
9469
+ (function(n, r) {
9470
+ e.exports = r();
9471
+ })(XD, (function() {
9472
+ return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(n) {
9473
+ var r = ["th", "st", "nd", "rd"], o = n % 100;
9474
+ return "[" + n + (r[(o - 20) % 10] || r[o] || r[0]) + "]";
9475
+ } };
9476
+ }));
9477
+ })(Yl)), Yl.exports;
9478
+ }
9479
+ QD();
9480
+ jn.extend(pD);
9481
+ jn.extend(_D);
9482
+ jn.extend(ED);
9483
+ jn.extend(OD);
9484
+ jn.extend(ND);
9485
+ jn.extend(RD);
9486
+ jn.extend($D);
9487
+ jn.extend(HD);
9488
+ jn.extend(GD);
9489
+ jn.extend(qD);
9490
+ function vr(e) {
9491
+ if (e === null || typeof e != "object")
9492
+ return !1;
9493
+ const t = Object.getPrototypeOf(e);
9494
+ return t === Object.prototype || t === null;
9495
+ }
9496
+ function mc(e, t = /* @__PURE__ */ new WeakSet()) {
9497
+ if (e == null || typeof e != "object" || t.has(e))
9498
+ return e;
9499
+ if (t.add(e), Array.isArray(e))
9500
+ return e.map((n) => mc(n, t));
9501
+ if (vr(e)) {
9502
+ const n = {};
9503
+ for (const r in e)
9504
+ Object.hasOwn(e, r) && (n[r] = mc(e[r], t));
9505
+ return n;
9506
+ }
9507
+ return e;
9508
+ }
9509
+ function yd(e, t, n = /* @__PURE__ */ new WeakSet()) {
9510
+ if (!(!vr(t) || !vr(e)) && !(t === e || n.has(t))) {
9511
+ n.add(t);
9512
+ for (const r in t)
9513
+ if (Object.hasOwn(t, r)) {
9514
+ const o = t[r], s = e[r];
9515
+ vr(o) && vr(s) ? yd(s, o, n) : Array.isArray(o) && Array.isArray(s) ? e[r] = gv(s, o, n) : e[r] = mc(o, n);
9516
+ }
9517
+ }
9518
+ }
9519
+ function gv(e, t, n) {
9520
+ const r = e.slice();
9521
+ for (let o = 0; o < t.length; o++) {
9522
+ const s = t[o], i = r[o];
9523
+ if (vr(s) && vr(i)) {
9524
+ const a = { ...i };
9525
+ yd(a, s, n), r[o] = a;
9526
+ } else Array.isArray(s) && Array.isArray(i) ? r[o] = gv(i, s, n) : r[o] = mc(s, n);
9527
+ }
9528
+ return r;
9529
+ }
9530
+ function $m(e, ...t) {
9531
+ if (!vr(e))
9532
+ throw new TypeError("Target must be a plain object");
9533
+ const n = /* @__PURE__ */ new WeakSet();
9534
+ for (const r of t)
9535
+ r != null && yd(e, r, n);
9536
+ return e;
9537
+ }
9538
+ const pt = [];
9539
+ for (let e = 0; e < 256; ++e)
9540
+ pt.push((e + 256).toString(16).slice(1));
9541
+ function eA(e, t = 0) {
9542
+ return (pt[e[t + 0]] + pt[e[t + 1]] + pt[e[t + 2]] + pt[e[t + 3]] + "-" + pt[e[t + 4]] + pt[e[t + 5]] + "-" + pt[e[t + 6]] + pt[e[t + 7]] + "-" + pt[e[t + 8]] + pt[e[t + 9]] + "-" + pt[e[t + 10]] + pt[e[t + 11]] + pt[e[t + 12]] + pt[e[t + 13]] + pt[e[t + 14]] + pt[e[t + 15]]).toLowerCase();
9543
+ }
9544
+ let xu;
9545
+ const tA = new Uint8Array(16);
9546
+ function nA() {
9547
+ if (!xu) {
9548
+ if (typeof crypto > "u" || !crypto.getRandomValues)
9549
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
9550
+ xu = crypto.getRandomValues.bind(crypto);
9551
+ }
9552
+ return xu(tA);
9553
+ }
9554
+ const rA = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Fm = { randomUUID: rA };
9555
+ function oA(e, t, n) {
9556
+ e = e || {};
9557
+ const r = e.random ?? e.rng?.() ?? nA();
9558
+ if (r.length < 16)
9559
+ throw new Error("Random bytes length must be >= 16");
9560
+ return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, eA(r);
9561
+ }
9562
+ function sA(e, t, n) {
9563
+ return Fm.randomUUID && !e ? Fm.randomUUID() : oA(e);
9564
+ }
9565
+ const iA = 1500;
9566
+ class Bo {
9567
+ static instance = null;
9568
+ defaultOptions = {
9569
+ callCount: 1,
9570
+ interval: iA,
9571
+ maxCallCount: 20,
9572
+ minCallCount: 1
9573
+ };
9574
+ events = {
9575
+ complete: () => {
9576
+ },
9577
+ data: () => {
9578
+ },
9579
+ error: () => {
9580
+ }
9581
+ };
9582
+ pollings = {};
9583
+ static getInstance() {
9584
+ return Bo.instance || (Bo.instance = new Bo()), Bo.instance;
9585
+ }
9586
+ on(t, n) {
9587
+ this.events[t] = n;
9588
+ }
9589
+ poll(t, n) {
9590
+ const r = this.buildPollerOptions(n);
9591
+ return this.storeCurrentPolling(r), this.isActivePoller(r) && t().then((o) => this.onRequest(o, t, r)).catch((o) => {
9592
+ this.dispatch("error", o);
9593
+ }), this;
9594
+ }
9595
+ stop(t) {
9596
+ t && this.pollings[t] && delete this.pollings[t];
9597
+ }
9598
+ buildPollerOptions(t) {
9599
+ const n = Object.entries(t).reduce((r, [o, s]) => {
9600
+ if (s !== void 0) {
9601
+ const i = o;
9602
+ r[i] = s;
9603
+ }
9604
+ return r;
9605
+ }, {});
9606
+ return {
9607
+ ...this.defaultOptions,
9608
+ ...n
9609
+ };
9610
+ }
9611
+ dispatch(t, n) {
9612
+ this.events[t](n);
9613
+ }
9614
+ isActivePoller(t) {
9615
+ return t.type ? !!this.pollings[t.type] && this.pollings[t.type] === t.uuid : !0;
9616
+ }
9617
+ isInProgress(t) {
9618
+ return (t?.meta?.status ?? "") !== "COMPLETE";
9619
+ }
9620
+ onComplete(t, n) {
9621
+ this.dispatch("data", t), this.dispatch("complete", t), this.removeCurrentPolling(n);
9622
+ }
9623
+ async onRequest(t, n, r) {
9624
+ const o = ce(t ?? {}, le.Camel);
9625
+ this.isActivePoller(r) && (this.isInProgress(o) && r.callCount && r.maxCallCount && r.callCount < r.maxCallCount || !this.isInProgress(o) && r.callCount && r.minCallCount && r.callCount < r.minCallCount ? (this.isInProgress(o) || (o.meta = o.meta || {}, o.meta.status = "IN_PROGRESS"), r.callCount += 1, this.dispatch("data", o), r.interval && await this.pause(r), this.poll(n, r)) : this.isInProgress(o) ? (o.meta = o.meta || {}, o.meta.status = "COMPLETE", this.onComplete(o, r)) : this.onComplete(o, r));
9626
+ }
9627
+ pause(t) {
9628
+ return new Promise((n) => {
9629
+ setTimeout(n, t.interval);
9630
+ });
9631
+ }
9632
+ removeCurrentPolling(t) {
9633
+ t.type && this.pollings[t.type] && delete this.pollings[t.type];
9634
+ }
9635
+ storeCurrentPolling(t) {
9636
+ t.type && !t.uuid && (t.uuid = sA(), this.pollings[t.type] = t.uuid);
9637
+ }
9638
+ }
9639
+ function _v(e, t, n) {
9640
+ const r = Bo.getInstance();
9641
+ return r.poll(e, t), n && typeof n == "function" ? (r.on("data", (o) => {
9642
+ o instanceof Error ? n(o, void 0, r) : n(null, o, r);
9643
+ }), r.on("error", (o) => {
9644
+ o instanceof Error ? n(o) : n(null, o);
9645
+ }), r) : new Promise((o, s) => {
9646
+ r.on("error", s), r.on("complete", (i) => {
9647
+ i instanceof Error ? s(i) : o(i);
9648
+ });
9649
+ });
9650
+ }
9651
+ const aA = "http://localhost".replace(/\/+$/, ""), cA = (e) => typeof Blob < "u" && e instanceof Blob;
9652
+ class An {
9653
+ constructor(t = new yv()) {
9654
+ this.configuration = t, this.middleware = t.middleware;
9655
+ }
9656
+ middleware;
9657
+ withMiddleware(...t) {
9658
+ const n = this.clone();
9659
+ return n.middleware = n.middleware.concat(...t), n;
9660
+ }
9661
+ withPreMiddleware(...t) {
9662
+ const n = t.map((r) => ({ pre: r }));
9663
+ return this.withMiddleware(...n);
9664
+ }
9665
+ withPostMiddleware(...t) {
9666
+ const n = t.map((r) => ({ post: r }));
9667
+ return this.withMiddleware(...n);
9668
+ }
9669
+ async request(t, n) {
9670
+ const { url: r, init: o } = this.createFetchParams(t, n), s = await this.fetchApi(r, o);
9671
+ if (s.status >= 200 && s.status < 300)
9672
+ return s;
9673
+ throw new uA(s, "Response returned an error code");
9674
+ }
9675
+ createFetchParams(t, n) {
9676
+ let r = this.configuration.basePath + t.path;
9677
+ t.query !== void 0 && Object.keys(t.query).length !== 0 && (r += "?" + this.configuration.queryParamsStringify(t.query));
9678
+ const o = typeof FormData < "u" && t.body instanceof FormData || t.body instanceof URLSearchParams || cA(t.body) ? t.body : JSON.stringify(t.body), s = Object.assign({}, this.configuration.headers, t.headers);
9679
+ Object.keys(s).forEach((a) => s[a] === void 0 ? delete s[a] : {});
9680
+ const i = {
9681
+ method: t.method,
9682
+ body: o,
9683
+ credentials: this.configuration.credentials,
9684
+ ...$m({}, n, {
9685
+ headers: $m({}, s, n?.headers)
9686
+ })
9687
+ };
9688
+ return { url: r, init: i };
9689
+ }
9690
+ fetchApi = async (t, n) => {
9691
+ let r = { url: t, init: n };
9692
+ for (const s of this.middleware)
9693
+ s.pre && (r = await s.pre({
9694
+ fetch: this.fetchApi,
9695
+ ...r
9696
+ }) || r);
9697
+ let o = await (this.configuration.fetchApi || fetch)(r.url, r.init);
9698
+ for (const s of this.middleware)
9699
+ s.post && (o = await s.post({
9700
+ fetch: this.fetchApi,
9701
+ url: r.url,
9702
+ init: r.init,
9703
+ response: o.clone()
9704
+ }) || o);
9705
+ return o;
9706
+ };
9707
+ /**
9708
+ * Create a shallow clone of `this` by constructing a new instance
9709
+ * and then shallow cloning data members.
9710
+ */
9711
+ clone() {
9712
+ const t = this.constructor, n = new t(this.configuration);
9713
+ return n.middleware = this.middleware.slice(), n;
9714
+ }
9715
+ }
9716
+ class uA extends Error {
9717
+ constructor(t, n) {
9718
+ super(n), this.response = t;
9719
+ }
9720
+ name = "ResponseError";
9721
+ }
9722
+ class He extends Error {
9723
+ constructor(t, n) {
9724
+ super(n), this.field = t;
9725
+ }
9726
+ name = "RequiredError";
9727
+ }
9728
+ class yv {
9729
+ constructor(t = {}) {
9730
+ this.configuration = t;
9731
+ }
9732
+ get basePath() {
9733
+ return this.configuration.basePath != null ? this.configuration.basePath : aA;
9734
+ }
9735
+ get fetchApi() {
9736
+ return this.configuration.fetchApi;
9737
+ }
9738
+ get middleware() {
9739
+ return this.configuration.middleware || [];
9740
+ }
9741
+ get queryParamsStringify() {
9742
+ return this.configuration.queryParamsStringify || bv;
9743
+ }
9744
+ get username() {
9745
+ return this.configuration.username;
9746
+ }
9747
+ get password() {
9748
+ return this.configuration.password;
9749
+ }
9750
+ get apiKey() {
9751
+ const t = this.configuration.apiKey;
9752
+ if (t)
9753
+ return typeof t == "function" ? t : () => t;
9754
+ }
9755
+ get accessToken() {
9756
+ const t = this.configuration.accessToken;
9757
+ if (t)
9758
+ return typeof t == "function" ? t : async () => t;
9759
+ }
9760
+ get headers() {
9761
+ return this.configuration.headers;
9762
+ }
9763
+ get credentials() {
9764
+ return this.configuration.credentials;
9765
+ }
9766
+ }
9767
+ function bv(e, t = "") {
9768
+ return Object.keys(e).map((n) => {
9769
+ const r = t + (t.length ? `[${n}]` : n), o = e[n];
9770
+ if (o instanceof Array) {
9771
+ const s = o.map((i) => encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);
9772
+ return `${encodeURIComponent(r)}=${s}`;
9773
+ }
9774
+ return o instanceof Date ? `${encodeURIComponent(r)}=${encodeURIComponent(o.toISOString())}` : o instanceof Object ? bv(o, r) : `${encodeURIComponent(r)}=${encodeURIComponent(String(o))}`;
9775
+ }).filter((n) => n.length > 0).join("&");
9776
+ }
9777
+ class Be {
9778
+ constructor(t, n = (r) => r) {
9779
+ this.raw = t, this.transformer = n;
9780
+ }
9781
+ async value() {
9782
+ return this.transformer(await this.raw.json());
9783
+ }
9784
+ }
9785
+ class lA {
9786
+ constructor(t) {
9787
+ this.raw = t;
9788
+ }
9789
+ async value() {
9790
+ return await this.raw.text();
9791
+ }
9792
+ }
9793
+ const t4 = {
9794
+ Enabled: "ENABLED",
9795
+ Forced: "FORCED"
9796
+ }, n4 = {
9797
+ Coupon: "COUPON",
9798
+ CreditCard: "CREDIT_CARD",
9799
+ DepositAccount: "DEPOSIT_ACCOUNT"
9800
+ };
9801
+ class fA extends An {
9802
+ /**
9803
+ * Get Booking Policy
9804
+ */
9805
+ async retrieveRaw(t, n) {
9806
+ if (t.id === null || t.id === void 0)
9807
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");
9808
+ const r = {}, o = {};
9809
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9810
+ const s = await this.request({
9811
+ path: "/v1/booking_policies/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9812
+ method: "GET",
9813
+ headers: o,
9814
+ query: ce(r, le.Snake)
9815
+ }, n);
9816
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9817
+ }
9818
+ /**
9819
+ * Get Booking Policy
9820
+ */
9821
+ async retrieve(t, n) {
9822
+ return this.retrieveRaw(t, n);
9823
+ }
9824
+ /**
9825
+ * Retrieve payment methods for a booking policy
9826
+ * Payment Methods for a Booking policy
9827
+ */
9828
+ async paymentMethodsRaw(t, n) {
9829
+ if (t.id === null || t.id === void 0)
9830
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");
9831
+ const r = {}, o = {};
9832
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9833
+ const s = await this.request({
9834
+ path: "/v1/booking_policies/{id}/payment_methods".replace("{id}", encodeURIComponent(String(t.id))),
9835
+ method: "GET",
9836
+ headers: o,
9837
+ query: ce(r, le.Snake)
9838
+ }, n);
9839
+ return new Be(s, (i) => ce(i, le.Camel)).value();
9840
+ }
9841
+ /**
9842
+ * Retrieve payment methods for a booking policy
9843
+ * Payment Methods for a Booking policy
9844
+ */
9845
+ async paymentMethods(t, n) {
9846
+ return this.paymentMethodsRaw(t, n);
9847
+ }
9848
+ /**
9849
+ * In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
9850
+ * Create Booking Policies
9851
+ */
9852
+ async createRaw(t, n) {
9853
+ const r = {}, o = {};
9854
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9855
+ const s = await this.request({
9856
+ path: "/v1/booking_policies",
9857
+ method: "POST",
9858
+ headers: o,
9859
+ query: ce(r, le.Snake),
9860
+ body: ce(t.bookingPoliciesCreateApi, le.Snake)
9861
+ }, n);
9862
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9863
+ }
9864
+ /**
9865
+ * In order to be able to create and confirm a booking against a specific **Hotel Room Offer** package, you need to make a booking policy call. Retrieving a booking policy returns additional information about the booking being made and includes details like cancellation policies. This API call is equivalent to an availability check and it is important not to let long periods between retrieval of this policy and the booking confirmation call itself as this will often reduce the likelihood of the **Hotel Room Offer** being successfully booked. The **booking_policy_id** returned is meant to be used to carry out a pre-book call via **[Pre Book endpoint](/v1/documentation#operation/postV1Bookings)** on the next **Booking Flow** step. ⚠️ This call may take from 1 second up to 15 seconds to return as we may request various suppliers to fulfill this request.
9866
+ * Create Booking Policies
9867
+ */
9868
+ async create(t = {}, n) {
9869
+ return this.createRaw(t, n);
9870
+ }
9871
+ }
9872
+ class dA extends An {
9873
+ /**
9874
+ * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
9875
+ * Cancel a Booking
9876
+ */
9877
+ async deleteRaw(t, n) {
9878
+ if (t.token === null || t.token === void 0)
9879
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");
9880
+ const r = {}, o = {}, s = await this.request({
9881
+ path: "/v1/bookings/{token}".replace("{token}", encodeURIComponent(String(t.token))),
9882
+ method: "DELETE",
9883
+ headers: o,
9884
+ query: ce(r, le.Snake)
9885
+ }, n);
9886
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9887
+ }
9888
+ /**
9889
+ * Cancel a confirmed Booking. A booking can only be cancelled if it\'s in one of the following status: **bkg-cf**, **bkg-pc**.
9890
+ * Cancel a Booking
9891
+ */
9892
+ async delete(t, n) {
9893
+ return this.deleteRaw(t, n);
9894
+ }
9895
+ /**
9896
+ * Returns a list of detailed bookings made on behalf of a specific API Key credential.
9897
+ * List Bookings
9898
+ */
9899
+ async listRaw(t, n) {
9900
+ const r = {};
9901
+ t.endingBefore !== void 0 && (r.ending_before = t.endingBefore), t.filterByCheckInDate !== void 0 && (r.filter_by_check_in_date = t.filterByCheckInDate), t.filterByLastStatusUpdatedAt !== void 0 && (r.filter_by_last_status_updated_at = t.filterByLastStatusUpdatedAt), t.filterByMetadata !== void 0 && (r.filter_by_metadata = t.filterByMetadata), t.filterByStatus !== void 0 && (r.filter_by_status = t.filterByStatus), t.limit !== void 0 && (r.limit = t.limit), t.sortBy !== void 0 && (r.sort_by = t.sortBy), t.sortByOrder !== void 0 && (r.sort_by_order = t.sortByOrder), t.startingAfter !== void 0 && (r.starting_after = t.startingAfter);
9902
+ const o = {};
9903
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9904
+ const s = await this.request({
9905
+ path: "/v1/bookings",
9906
+ method: "GET",
9907
+ headers: o,
9908
+ query: ce(r, le.Snake)
9909
+ }, n);
9910
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9911
+ }
9912
+ /**
9913
+ * Returns a list of detailed bookings made on behalf of a specific API Key credential.
9914
+ * List Bookings
9915
+ */
9916
+ async list(t = {}, n) {
9917
+ return this.listRaw(t, n);
9918
+ }
9919
+ /**
9920
+ * Retrieve the status and information of a booking.
9921
+ * Retrieve a Booking
9922
+ */
9923
+ async retrieveRaw(t, n) {
9924
+ if (t.id === null || t.id === void 0)
9925
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");
9926
+ const r = {}, o = {};
9927
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9928
+ const s = await this.request({
9929
+ path: "/v1/bookings/{id}".replace("{id}", encodeURIComponent(String(t.id))),
9930
+ method: "GET",
9931
+ headers: o,
9932
+ query: ce(r, le.Snake)
9933
+ }, n);
9934
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9935
+ }
9936
+ /**
9937
+ * Retrieve the status and information of a booking.
9938
+ * Retrieve a Booking
9939
+ */
9940
+ async retrieve(t, n) {
9941
+ return this.retrieveRaw(t, n);
9942
+ }
9943
+ /**
9944
+ * Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
9945
+ * Retrieve a Booking (PUBLIC)
9946
+ */
9947
+ async retrievePublicRaw(t, n) {
9948
+ if (t.token === null || t.token === void 0)
9949
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");
9950
+ const r = {}, o = {}, s = await this.request({
9951
+ path: "/v1/bookings/{token}/public".replace("{token}", encodeURIComponent(String(t.token))),
9952
+ method: "GET",
9953
+ headers: o,
9954
+ query: ce(r, le.Snake)
9955
+ }, n);
9956
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9957
+ }
9958
+ /**
9959
+ * Retrieve the status and information of a booking based on a valid token. This endpoint is public and does not require a secret API key.
9960
+ * Retrieve a Booking (PUBLIC)
9961
+ */
9962
+ async retrievePublic(t, n) {
9963
+ return this.retrievePublicRaw(t, n);
9964
+ }
9965
+ /**
9966
+ * Creates an unconfirmed booking
9967
+ * Create an unconfirmed Booking
9968
+ */
9969
+ async createRaw(t, n) {
9970
+ const r = {}, o = {};
9971
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9972
+ const s = await this.request({
9973
+ path: "/v1/bookings",
9974
+ method: "POST",
9975
+ headers: o,
9976
+ query: ce(r, le.Snake),
9977
+ body: ce(t.bookingCreateApi, le.Snake)
9978
+ }, n);
9979
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
9980
+ }
9981
+ /**
9982
+ * Creates an unconfirmed booking
9983
+ * Create an unconfirmed Booking
9984
+ */
9985
+ async create(t = {}, n) {
9986
+ return this.createRaw(t, n);
9987
+ }
9988
+ /**
9989
+ * Confirm booking from Coupon payment method
9990
+ * Confirm booking from Coupon payment method
9991
+ */
9992
+ async couponChargeRaw(t, n) {
9993
+ if (t.couponId === null || t.couponId === void 0)
9994
+ throw new He("couponId", "Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
9995
+ if (t.id === null || t.id === void 0)
9996
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");
9997
+ const r = {}, o = {};
9998
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
9999
+ const s = await this.request({
10000
+ path: "/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}", encodeURIComponent(String(t.couponId))).replace("{id}", encodeURIComponent(String(t.id))),
10001
+ method: "POST",
10002
+ headers: o,
10003
+ query: ce(r, le.Snake)
10004
+ }, n);
10005
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10006
+ }
10007
+ /**
10008
+ * Confirm booking from Coupon payment method
10009
+ * Confirm booking from Coupon payment method
10010
+ */
10011
+ async couponCharge(t, n) {
10012
+ return this.couponChargeRaw(t, n);
10013
+ }
10014
+ /**
10015
+ * Pay later and retrieve the status and information of a booking.
10016
+ * Pay later a Booking
10017
+ */
10018
+ async paylaterRaw(t, n) {
10019
+ if (t.id === null || t.id === void 0)
10020
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");
10021
+ const r = {}, o = {};
10022
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10023
+ const s = await this.request({
10024
+ path: "/v1/bookings/{id}/pay-later".replace("{id}", encodeURIComponent(String(t.id))),
10025
+ method: "POST",
10026
+ headers: o,
10027
+ query: ce(r, le.Snake)
10028
+ }, n);
10029
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10030
+ }
10031
+ /**
10032
+ * Pay later and retrieve the status and information of a booking.
10033
+ * Pay later a Booking
10034
+ */
10035
+ async paylater(t, n) {
10036
+ return this.paylaterRaw(t, n);
10037
+ }
10038
+ /**
10039
+ * Confirm later paid and retrieve the status and information of a booking.
10040
+ * Confirm a later paid Booking
10041
+ */
10042
+ async confirmpaylaterRaw(t, n) {
10043
+ if (t.id === null || t.id === void 0)
10044
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");
10045
+ const r = {}, o = {};
10046
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10047
+ const s = await this.request({
10048
+ path: "/v1/bookings/{id}/pay-later/confirm".replace("{id}", encodeURIComponent(String(t.id))),
10049
+ method: "POST",
10050
+ headers: o,
10051
+ query: ce(r, le.Snake)
10052
+ }, n);
10053
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10054
+ }
10055
+ /**
10056
+ * Confirm later paid and retrieve the status and information of a booking.
10057
+ * Confirm a later paid Booking
10058
+ */
10059
+ async confirmpaylater(t, n) {
10060
+ return this.confirmpaylaterRaw(t, n);
10061
+ }
10062
+ /**
10063
+ * Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
10064
+ * Confirm an ongoing Booking
10065
+ */
10066
+ async confirmRaw(t, n) {
10067
+ if (t.id === null || t.id === void 0)
10068
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");
10069
+ const r = {}, o = {};
10070
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10071
+ const s = await this.request({
10072
+ path: "/v1/bookings/{id}/confirm".replace("{id}", encodeURIComponent(String(t.id))),
10073
+ method: "POST",
10074
+ headers: o,
10075
+ query: ce(r, le.Snake)
10076
+ }, n);
10077
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10078
+ }
10079
+ /**
10080
+ * Trigger the actual booking confirmation process. 💡 This endpoint is only available for Bookings in the **bkg-created** status. ⚠️ The booking confirmation is an asynchronous process. The booking won\'t transition immediatly to **bkg-cf** status. Rather, the endpoint will return a booking in **bkg-ip** and you\'ll be required to check booking status calling **[Get Booking endpoint](/v1/documentation#operation/getV1BookingsId)**, ideally with a polling mechanism, and perform further action(s), whether you need to let your customer know about their booking or you just need to update some data on your system, when booking status transitions to **bkg-cf** (confirmed) or **bkg-af** (fail). ⚠️ Once you have called this endpoint, we immediatly send your confirmation request to our supplier(s) and they may confirm it immediatly, so you\'ll be liable for up to the total booking tax included price amount if you need to cancel it at a later time (refer to the booking\'s cancellation policies to get the actual current penalty percentage applied in case of cancellation).
10081
+ * Confirm an ongoing Booking
10082
+ */
10083
+ async confirm(t, n) {
10084
+ return this.confirmRaw(t, n);
10085
+ }
10086
+ /**
10087
+ * Updates an ongoing Booking payment methods
10088
+ * Updates an ongoing Booking payment methods
10089
+ */
10090
+ async updatePaymentMethodsRaw(t, n) {
10091
+ if (t.id === null || t.id === void 0)
10092
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");
10093
+ const r = {}, o = {};
10094
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10095
+ const s = await this.request({
10096
+ path: "/v1/bookings/{id}/payment_methods".replace("{id}", encodeURIComponent(String(t.id))),
10097
+ method: "PUT",
10098
+ headers: o,
10099
+ query: ce(r, le.Snake),
10100
+ body: ce(t.paymentMethodUpdatePayloadApi, le.Snake)
10101
+ }, n);
10102
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10103
+ }
10104
+ /**
10105
+ * Updates an ongoing Booking payment methods
10106
+ * Updates an ongoing Booking payment methods
10107
+ */
10108
+ async updatePaymentMethods(t, n) {
10109
+ return this.updatePaymentMethodsRaw(t, n);
10110
+ }
10111
+ }
10112
+ class pA extends An {
10113
+ /**
10114
+ * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
10115
+ * Retrieve Images of an Hotel
10116
+ */
10117
+ async retrieveRaw(t, n) {
10118
+ if (t.id === null || t.id === void 0)
10119
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");
10120
+ const r = {};
10121
+ t.lang !== void 0 && (r.lang = t.lang);
10122
+ const o = {};
10123
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10124
+ const s = await this.request({
10125
+ path: "/v1/hotels/{id}/images".replace("{id}", encodeURIComponent(String(t.id))),
10126
+ method: "GET",
10127
+ headers: o,
10128
+ query: ce(r, le.Snake)
10129
+ }, n);
10130
+ return new Be(s, (i) => ce(i, le.Camel)).value();
10131
+ }
10132
+ /**
10133
+ * Returns a list of images for an Hotel Id with their content localize into the requested **lang**.
10134
+ * Retrieve Images of an Hotel
10135
+ */
10136
+ async retrieve(t, n) {
10137
+ return this.retrieveRaw(t, n);
10138
+ }
10139
+ }
10140
+ class mA extends An {
10141
+ /**
10142
+ * Returns a single Hotel Offer Request by id
10143
+ * Retrieve a Single Hotel Offer Request
10144
+ */
10145
+ async retrieveRaw(t, n) {
10146
+ if (t.id === null || t.id === void 0)
10147
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");
10148
+ const r = {}, o = {};
10149
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10150
+ const s = await this.request({
10151
+ path: "/v1/hotel_offer_requests/{id}".replace("{id}", encodeURIComponent(String(t.id))),
10152
+ method: "GET",
10153
+ headers: o,
10154
+ query: ce(r, le.Snake)
10155
+ }, n);
10156
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10157
+ }
10158
+ /**
10159
+ * Returns a single Hotel Offer Request by id
10160
+ * Retrieve a Single Hotel Offer Request
10161
+ */
10162
+ async retrieve(t, n) {
10163
+ return this.retrieveRaw(t, n);
10164
+ }
10165
+ /**
10166
+ * Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
10167
+ * Create an Hotel Offer Request
10168
+ */
10169
+ async createRaw(t, n) {
10170
+ const r = {}, o = {};
10171
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10172
+ const s = await this.request({
10173
+ path: "/v1/hotel_offer_requests",
10174
+ method: "POST",
10175
+ headers: o,
10176
+ query: ce(r, le.Snake),
10177
+ body: ce(t.hotelOfferRequestCreateApi, le.Snake)
10178
+ }, n);
10179
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10180
+ }
10181
+ /**
10182
+ * Create an **Hotel Offer Request**. An **Hotel Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and obviously the location around which they need their accommodation to be (latitude/longitude pair).
10183
+ * Create an Hotel Offer Request
10184
+ */
10185
+ async create(t = {}, n) {
10186
+ return this.createRaw(t, n);
10187
+ }
10188
+ }
10189
+ class hA extends An {
10190
+ /**
10191
+ * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
10192
+ * ⚛️ Retrieve Hotel Offers
10193
+ */
10194
+ async listRaw(t, n) {
10195
+ if (t.currency === null || t.currency === void 0)
10196
+ throw new He("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");
10197
+ if (t.hotelOfferRequestId === null || t.hotelOfferRequestId === void 0)
10198
+ throw new He("hotelOfferRequestId", "Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");
10199
+ const r = {};
10200
+ t.currency !== void 0 && (r.currency = t.currency), t.endingBefore !== void 0 && (r.ending_before = t.endingBefore), t.filterByPrice !== void 0 && (r.filter_by_price = t.filterByPrice), t.filterByReviewRating !== void 0 && (r.filter_by_review_rating = t.filterByReviewRating), t.filterByStar !== void 0 && (r.filter_by_star = t.filterByStar), t.hotelOfferRequestId !== void 0 && (r.hotel_offer_request_id = t.hotelOfferRequestId), t.hotelRoomOffersLimit !== void 0 && (r.hotel_room_offers_limit = t.hotelRoomOffersLimit), t.includeHotelContentDetails !== void 0 && (r.include_hotel_content_details = t.includeHotelContentDetails), t.lang !== void 0 && (r.lang = t.lang), t.limit !== void 0 && (r.limit = t.limit), t.onlyRecommendedHotelOffers !== void 0 && (r.only_recommended_hotel_offers = t.onlyRecommendedHotelOffers), t.priceHistogramStepCount !== void 0 && (r.price_histogram_step_count = t.priceHistogramStepCount), t.sortBy !== void 0 && (r.sort_by = t.sortBy), t.sortByOrder !== void 0 && (r.sort_by_order = t.sortByOrder), t.startingAfter !== void 0 && (r.starting_after = t.startingAfter);
10201
+ const o = {};
10202
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10203
+ const s = await this.request({
10204
+ path: "/v1/hotel_offers",
10205
+ method: "GET",
10206
+ headers: o,
10207
+ query: ce(r, le.Snake)
10208
+ }, n);
10209
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10210
+ }
10211
+ /**
10212
+ * You\'ll then make a call to the **Hotel Offers** endpoint to retrieve a list of **Hotel Offers** associated with your **Hotel Offer Request**. We\'ll send your search to a pool of hotels matching the search parameters you provided previously. The **Hotel Offers** endpoint will return hotels with available rates as **Hotel Room Offers** objects for each hotel in the list. For a detailed overview of the **Hotel Room Offer** object, see **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. ⚠️ **IMPORTANT**: The **Hotel Room Offers** included in each **Hotel Offer** returned by the **[Retrieve Hotel Offers](/v1/documentation#operation/getV1Hotel_offers)** endpoint might be **<span style=\"color:red\">cached data</span>**. In that case, the returned prices/availability may be slightly different from actual live inventory. In order to retrieve accurate and live **Hotel Room Offers** for a specific hotel you need to make a call to the **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** endpoint. We do not recommend to systematically call **[Retrieve Hotel Room Offers](/v1/documentation#operation/getV1Hotel_room_offers)** for each hotel offer retrieved as it may trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Offers** around a location, then, once your customer shows interest in a specific **Hotel Offer**, you check **Hotel Room Offers** on that specific hotel. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
10213
+ * ⚛️ Retrieve Hotel Offers
10214
+ */
10215
+ async list(t, n, r) {
10216
+ return await _v(
10217
+ () => this.listRaw(t, r),
10218
+ { type: hd.HOTEL_SEARCH_POLLING, minCallCount: r?.minCallCount, maxCallCount: r?.maxCallCount },
10219
+ n
10220
+ );
10221
+ }
10222
+ }
10223
+ const gA = {
10224
+ Distance: "distance",
10225
+ Price: "price",
10226
+ Rating: "rating",
10227
+ ReviewRating: "review_rating",
10228
+ TopPicks: "top_picks"
10229
+ }, r4 = {
10230
+ Asc: "asc",
10231
+ Desc: "desc"
10232
+ };
10233
+ class _A extends An {
10234
+ /**
10235
+ * Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10236
+ * Delete Hotel Room List Guest
10237
+ */
10238
+ async deleteRaw(t, n) {
10239
+ if (t.id === null || t.id === void 0)
10240
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
10241
+ if (t.token === null || t.token === void 0)
10242
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");
10243
+ const r = {}, o = {}, s = await this.request({
10244
+ path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(t.id))).replace("{token}", encodeURIComponent(String(t.token))),
10245
+ method: "DELETE",
10246
+ headers: o,
10247
+ query: ce(r, le.Snake)
10248
+ }, n);
10249
+ return new lA(s);
10250
+ }
10251
+ /**
10252
+ * Delete a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10253
+ * Delete Hotel Room List Guest
10254
+ */
10255
+ async delete(t, n) {
10256
+ return this.deleteRaw(t, n);
10257
+ }
10258
+ /**
10259
+ * Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10260
+ * Update Hotel Room List Guest
10261
+ */
10262
+ async updateRaw(t, n) {
10263
+ if (t.id === null || t.id === void 0)
10264
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
10265
+ if (t.token === null || t.token === void 0)
10266
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");
10267
+ const r = {}, o = {};
10268
+ o["Content-Type"] = "application/json";
10269
+ const s = await this.request({
10270
+ path: "/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}", encodeURIComponent(String(t.id))).replace("{token}", encodeURIComponent(String(t.token))),
10271
+ method: "PATCH",
10272
+ headers: o,
10273
+ query: ce(r, le.Snake),
10274
+ body: ce(t.hotelRoomingListGuestsUpdateApi, le.Snake)
10275
+ }, n);
10276
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10277
+ }
10278
+ /**
10279
+ * Update a hotel rooming list guest from a booking based on a valid token. This endpoint is public and does not require a secret API key.
10280
+ * Update Hotel Room List Guest
10281
+ */
10282
+ async update(t, n) {
10283
+ return this.updateRaw(t, n);
10284
+ }
10285
+ /**
10286
+ * Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
10287
+ * Create Hotel Rooming List Guest
10288
+ */
10289
+ async createRaw(t, n) {
10290
+ if (t.token === null || t.token === void 0)
10291
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");
10292
+ const r = {}, o = {};
10293
+ o["Content-Type"] = "application/json";
10294
+ const s = await this.request({
10295
+ path: "/v1/hotel_rooming_list_guests/{token}".replace("{token}", encodeURIComponent(String(t.token))),
10296
+ method: "POST",
10297
+ headers: o,
10298
+ query: ce(r, le.Snake),
10299
+ body: ce(t.hotelRoomingListGuestsCreateApi, le.Snake)
10300
+ }, n);
10301
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10302
+ }
10303
+ /**
10304
+ * Create a new hotel rooming list guest to a booking based on a valid token. This endpoint is public and does not require a secret API key.
10305
+ * Create Hotel Rooming List Guest
10306
+ */
10307
+ async create(t, n) {
10308
+ return this.createRaw(t, n);
10309
+ }
10310
+ }
10311
+ class yA extends An {
10312
+ /**
10313
+ * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
10314
+ * Get Hotel Rooming Lists for a booking
10315
+ */
10316
+ async listRaw(t, n) {
10317
+ if (t.token === null || t.token === void 0)
10318
+ throw new He("token", "Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");
10319
+ const r = {};
10320
+ t.lang !== void 0 && (r.lang = t.lang);
10321
+ const o = {}, s = await this.request({
10322
+ path: "/v1/hotel_rooming_lists/{token}".replace("{token}", encodeURIComponent(String(t.token))),
10323
+ method: "GET",
10324
+ headers: o,
10325
+ query: ce(r, le.Snake)
10326
+ }, n);
10327
+ return new Be(s, (i) => ce(i, le.Camel)).value();
10328
+ }
10329
+ /**
10330
+ * Get Hotel Rooming Lists of a booking. This endpoint is public and does not require a secret API key.
10331
+ * Get Hotel Rooming Lists for a booking
10332
+ */
10333
+ async list(t, n) {
10334
+ return this.listRaw(t, n);
10335
+ }
10336
+ }
10337
+ class bA extends An {
10338
+ /**
10339
+ * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
10340
+ * Retrieve Images of an Hotel Room Offer
10341
+ */
10342
+ async retrieveRaw(t, n) {
10343
+ if (t.id === null || t.id === void 0)
10344
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");
10345
+ const r = {};
10346
+ t.lang !== void 0 && (r.lang = t.lang);
10347
+ const o = {};
10348
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10349
+ const s = await this.request({
10350
+ path: "/v1/hotel_room_offers/{id}/images".replace("{id}", encodeURIComponent(String(t.id))),
10351
+ method: "GET",
10352
+ headers: o,
10353
+ query: ce(r, le.Snake)
10354
+ }, n);
10355
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10356
+ }
10357
+ /**
10358
+ * Returns a list of images for an Hotel Room OfferId with their content localize into the requested **lang**.
10359
+ * Retrieve Images of an Hotel Room Offer
10360
+ */
10361
+ async retrieve(t, n) {
10362
+ return this.retrieveRaw(t, n);
10363
+ }
10364
+ }
10365
+ class vA extends An {
10366
+ /**
10367
+ * Returns a single Hotel Room Offer Request by id
10368
+ * Retrieve a Single Hotel Room Offer Request
10369
+ */
10370
+ async retrieveRaw(t, n) {
10371
+ if (t.id === null || t.id === void 0)
10372
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");
10373
+ const r = {}, o = {};
10374
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10375
+ const s = await this.request({
10376
+ path: "/v1/hotel_room_offer_requests/{id}".replace("{id}", encodeURIComponent(String(t.id))),
10377
+ method: "GET",
10378
+ headers: o,
10379
+ query: ce(r, le.Snake)
10380
+ }, n);
10381
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10382
+ }
10383
+ /**
10384
+ * Returns a single Hotel Room Offer Request by id
10385
+ * Retrieve a Single Hotel Room Offer Request
10386
+ */
10387
+ async retrieve(t, n) {
10388
+ return this.retrieveRaw(t, n);
10389
+ }
10390
+ /**
10391
+ * To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
10392
+ * Create an Hotel Room Offer Request
10393
+ */
10394
+ async createRaw(t, n) {
10395
+ const r = {}, o = {};
10396
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10397
+ const s = await this.request({
10398
+ path: "/v1/hotel_room_offer_requests",
10399
+ method: "POST",
10400
+ headers: o,
10401
+ query: ce(r, le.Snake),
10402
+ body: ce(t.hotelRoomOfferRequestCreateApi, le.Snake)
10403
+ }, n);
10404
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10405
+ }
10406
+ /**
10407
+ * To check available rates, or **Hotel Room Offers**, at a specific hotel, you first need to create an **Hotel Room Offer Request**. An **Hotel Room Offer Request** describes the guests (adult and child count), the ideal room count, when they want to check in and check out and the id of the hotel you want to check available rates at.
10408
+ * Create an Hotel Room Offer Request
10409
+ */
10410
+ async create(t = {}, n) {
10411
+ return this.createRaw(t, n);
10412
+ }
10413
+ }
10414
+ class EA extends An {
10415
+ /**
10416
+ * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
10417
+ * ⚛️ Retrieve Hotel Room Offers
10418
+ */
10419
+ async listRaw(t, n) {
10420
+ if (t.currency === null || t.currency === void 0)
10421
+ throw new He("currency", "Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");
10422
+ if (t.hotelRoomOfferRequestId === null || t.hotelRoomOfferRequestId === void 0)
10423
+ throw new He("hotelRoomOfferRequestId", "Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");
10424
+ const r = {};
10425
+ t.currency !== void 0 && (r.currency = t.currency), t.hotelRoomOfferRequestId !== void 0 && (r.hotel_room_offer_request_id = t.hotelRoomOfferRequestId), t.lang !== void 0 && (r.lang = t.lang), t.limit !== void 0 && (r.limit = t.limit);
10426
+ const o = {};
10427
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10428
+ const s = await this.request({
10429
+ path: "/v1/hotel_room_offers",
10430
+ method: "GET",
10431
+ headers: o,
10432
+ query: ce(r, le.Snake)
10433
+ }, n);
10434
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10435
+ }
10436
+ /**
10437
+ * You\'ll make a call to the **Hotel Room Offers** endpoint in order to get a list of **Hotel Room Offers** resulting from your **Hotel Room Offer Request** parameters. We\'ll send your rate check request to the specific hotel matching the hotel ID you provided previously and the **Hotel Room Offers** endpoint will return the available rates at this specific hotel. An **Hotel Room Offer** describes hotel rooms: prices, remaining count available (when applicable), details about the room itself (e.g., beds, etc) and other information you\'ll find below. ⚠️ **Cancellation Policies** attached to each **Hotel Room Offer** returned by this endpoint will most likely be **<span style=\"color:red\">cached data</span>** and should not be considered as accurate, although in most case they will reflect the actual/live ones. In order to retrieve accurate and live **Cancellation Policies** for a specific **Hotel Room Offer** you need to make a call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)**. However, we do not recommend to systematically call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** for each **Hotel Room Offer** retrieved as it will most likely trigger rate limiting on your API calls. Rather we recommend to do this as an explicit two-step process: first you check **Hotel Room Offers**, then, once your customer shows interest in a specific **Hotel Room Offer**, you make the call to the **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** on behalf of your customer. This endpoint requires ⚛️ **[Polling](/v1/documentation#tag/Polling)**.
10438
+ * ⚛️ Retrieve Hotel Room Offers
10439
+ */
10440
+ async list(t, n, r) {
10441
+ return await _v(
10442
+ () => this.listRaw(t, r),
10443
+ { type: hd.HOTEL_ROOM_OFFERS, minCallCount: r?.minCallCount, maxCallCount: r?.maxCallCount },
10444
+ n
10445
+ );
10446
+ }
10447
+ /**
10448
+ * This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
10449
+ * Create Hotel Room Offer
10450
+ */
10451
+ async createRaw(t, n) {
10452
+ const r = {}, o = {};
10453
+ o["Content-Type"] = "application/json", this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10454
+ const s = await this.request({
10455
+ path: "/v1/hotel_room_offers",
10456
+ method: "POST",
10457
+ headers: o,
10458
+ query: ce(r, le.Snake),
10459
+ body: ce(t.hotelRoomOffersCreateApi, le.Snake)
10460
+ }, n);
10461
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10462
+ }
10463
+ /**
10464
+ * This enpoint creates a new **Hotel Room Offer** based on previously fetched **Hotel Room Offer(s)** and may be used for the following purposes: - Check a specific **Hotel Room Offer** live availability - Create a new **Hotel Room Offer** with **type = \"PACKAGE\"** based on multiple **Hotel Room Offers** where **type = \"HOTEL_ROOM\"** and be able to call **[Create Booking Policies endpoint](/v1/documentation#operation/postV1Booking_policies)** with it - Update an existing **Hotel Room Offer** with **type = \"PACKAGE\"** in order to include extra option(s) like breakfast in the returned price. We strongly recommend to make use of this endpoint if you want to offer some kind of Shopping Cart experience to your customer when **[Retrieve HotelRoom Offers endpoint](/v1/documentation#operation/getV1Hotel_room_offers)** returns multiple **Hotel Room Offers** with **type = \"HOTEL_ROOM\"**.
10465
+ * Create Hotel Room Offer
10466
+ */
10467
+ async create(t = {}, n) {
10468
+ return this.createRaw(t, n);
10469
+ }
10470
+ }
10471
+ class SA extends An {
10472
+ /**
10473
+ * Returns a single Hotel by id with their content localize into the requested **lang**.
10474
+ * Retrieve a Hotel
10475
+ */
10476
+ async retrieveRaw(t, n) {
10477
+ if (t.id === null || t.id === void 0)
10478
+ throw new He("id", "Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");
10479
+ const r = {};
10480
+ t.event !== void 0 && (r.event = t.event), t.lang !== void 0 && (r.lang = t.lang);
10481
+ const o = {};
10482
+ this.configuration && this.configuration.apiKey && (o["x-api-key"] = this.configuration.apiKey("x-api-key"));
10483
+ const s = await this.request({
10484
+ path: "/v1/hotels/{id}".replace("{id}", encodeURIComponent(String(t.id))),
10485
+ method: "GET",
10486
+ headers: o,
10487
+ query: ce(r, le.Snake)
10488
+ }, n);
10489
+ return await new Be(s, (i) => ce(i, le.Camel)).value();
10490
+ }
10491
+ /**
10492
+ * Returns a single Hotel by id with their content localize into the requested **lang**.
10493
+ * Retrieve a Hotel
10494
+ */
10495
+ async retrieve(t, n) {
10496
+ return this.retrieveRaw(t, n);
10497
+ }
10498
+ }
10499
+ const TA = (e) => ({
10500
+ bookingPolicies: new fA(e),
10501
+ bookings: new dA(e),
10502
+ hotelImages: new pA(e),
10503
+ hotelOfferRequests: new mA(e),
10504
+ hotelOffers: new hA(e),
10505
+ hotelRoomOfferImages: new bA(e),
10506
+ hotelRoomOfferRequests: new vA(e),
10507
+ hotelRoomOffers: new EA(e),
10509
10508
  hotelRoomingListGuests: new _A(e),
10510
10509
  hotelRoomingLists: new yA(e),
10511
- hotels: new bA(e)
10510
+ hotels: new SA(e)
10512
10511
  });
10513
10512
  function wA(e) {
10514
10513
  switch (e) {
@@ -10554,10 +10553,10 @@ class DA {
10554
10553
  }
10555
10554
  class AA {
10556
10555
  constructor(t) {
10557
- if (this.config = t, !t.apiVersion || !Object.values(Ll).includes(t.apiVersion))
10556
+ if (this.config = t, !t.apiVersion || !Object.values(Nl).includes(t.apiVersion))
10558
10557
  throw new Error(
10559
10558
  `Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(
10560
- Object.values(Ll)
10559
+ Object.values(Nl)
10561
10560
  )}`
10562
10561
  );
10563
10562
  let n = {
@@ -10568,11 +10567,11 @@ class AA {
10568
10567
  ...this.config.optionalHeaders
10569
10568
  });
10570
10569
  const r = this.config.apiEnvironment;
10571
- let o = this.config.apiBaseUrl ?? oD[r];
10570
+ let o = this.config.apiBaseUrl ?? HO[r];
10572
10571
  r === Zr.Local && (o = "http://127.0.0.1:3001");
10573
10572
  const s = new yv({
10574
10573
  basePath: o,
10575
- fetchApi: SA,
10574
+ fetchApi: KO,
10576
10575
  headers: n,
10577
10576
  middleware: [
10578
10577
  new OA(this.config),
@@ -10621,7 +10620,7 @@ class AA {
10621
10620
  Array.from({ length: 40 }).map(
10622
10621
  () => Math.floor(Math.random() * 11)
10623
10622
  );
10624
- const o4 = 10, IA = "", RA = void 0, kA = [0, 0], PA = pA.TopPicks, CA = "asc", s4 = {
10623
+ const o4 = 10, IA = "", RA = void 0, kA = [0, 0], PA = gA.TopPicks, CA = "asc", s4 = {
10625
10624
  [xs.Rating]: IA,
10626
10625
  [xs.ReviewRating]: RA,
10627
10626
  [xs.Price]: kA,
@@ -30075,7 +30074,7 @@ const wV = {
30075
30074
  theme: DV
30076
30075
  }), hT = HC();
30077
30076
  hT.use(wH(GN));
30078
- const IV = [r0, AV, hT, xA, TH], RV = /* @__PURE__ */ Object.assign({ "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./revolugo.banktransferdetails.BufuNy_u.min.js"), "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./revolugo.bookingdetailssidebar.mT9qqpDQ.min.js"), "./components/web-components/BookingManager/BookingManager.vue": () => import("./revolugo.bookingmanager.DtTB4zq0.min.js"), "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./revolugo.cancellationpoliciesbadge.BnCrhU3h.min.js"), "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./revolugo.cancellationpolicieslist.BMTomV3v.min.js"), "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue": () => import("./revolugo.creditcardstripeform.CusizRTh.min.js"), "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./revolugo.currencypickerbtn.ihiZhWbA.min.js"), "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./revolugo.fastbookingflow.DLugBTVT.min.js"), "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./revolugo.fullbookingflow.BTRZdXX3.min.js"), "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./revolugo.hoteldescriptionview.Cv26xCI8.min.js"), "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./revolugo.hotelofferlist.kvYfXxDo.min.js"), "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./revolugo.hoteloffersmap.BSVjMUA1.min.js"), "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./revolugo.hoteloffersearchmenu.DjpPYxx8.min.js"), "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./revolugo.hoteloffersview.IJXSML_9.min.js"), "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./revolugo.hotelroomofferlist.DcxGABeb.min.js"), "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./revolugo.hotelroomoffersearchmenu.CY19SRfA.min.js"), "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./revolugo.hotelroomoffersbookingflow.C3aUPF73.min.js"), "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./revolugo.hotelroomoffersview.CX3lPp5A.min.js"), "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./revolugo.langpickerbtn.DV0z29Tv.min.js"), "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./revolugo.prebookform.BCeSN9hn.min.js"), "./components/web-components/PreferencesMenu/PreferencesMenu.vue": () => import("./revolugo.preferencesmenu.DJcApiOB.min.js"), "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./revolugo.roominglisteditor.Cd3qTH0Y.min.js"), "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./revolugo.storybooktoolbar.CPFVK8hr.min.js"), "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./revolugo.termsandconditions.DLzN_T2a.min.js") });
30077
+ const IV = [r0, AV, hT, xA, TH], RV = /* @__PURE__ */ Object.assign({ "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./revolugo.banktransferdetails.CYjUVuJz.min.js"), "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./revolugo.bookingdetailssidebar.C0obMdgU.min.js"), "./components/web-components/BookingManager/BookingManager.vue": () => import("./revolugo.bookingmanager.DvvlKx2e.min.js"), "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./revolugo.cancellationpoliciesbadge.D7LVuRDH.min.js"), "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./revolugo.cancellationpolicieslist.BR_G1ARD.min.js"), "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue": () => import("./revolugo.creditcardstripeform.BrUae68V.min.js"), "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./revolugo.currencypickerbtn.DUP7wy1c.min.js"), "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./revolugo.fastbookingflow.Fz446Ggh.min.js"), "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./revolugo.fullbookingflow.BGZnndHv.min.js"), "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./revolugo.hoteldescriptionview.MdPLpFH5.min.js"), "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./revolugo.hotelofferlist.BhvMD6WZ.min.js"), "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./revolugo.hoteloffersmap.D9-btypr.min.js"), "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./revolugo.hoteloffersearchmenu.ekgdcy3U.min.js"), "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./revolugo.hoteloffersview.BJtd_13A.min.js"), "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./revolugo.hotelroomofferlist.CDBZbRc1.min.js"), "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./revolugo.hotelroomoffersearchmenu.C2XH2Blv.min.js"), "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./revolugo.hotelroomoffersbookingflow.BuBdAmst.min.js"), "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./revolugo.hotelroomoffersview.Czv4osjh.min.js"), "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./revolugo.langpickerbtn.Cv2IsoFI.min.js"), "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./revolugo.prebookform.BpswJrYa.min.js"), "./components/web-components/PreferencesMenu/PreferencesMenu.vue": () => import("./revolugo.preferencesmenu.e8AJWdGs.min.js"), "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./revolugo.roominglisteditor.CPinmLz-.min.js"), "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./revolugo.storybooktoolbar.B9yuFKVe.min.js"), "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./revolugo.termsandconditions.C13lc2oN.min.js") });
30079
30078
  for (const [e] of Object.entries(RV)) {
30080
30079
  const t = e.replace(/^.\/components\/web-components\/.*\//u, "").replace(/\.vue$/u, "");
30081
30080
  window.customElements.define(
@@ -30096,76 +30095,76 @@ function kV(e) {
30096
30095
  switch (e) {
30097
30096
  case "./components/web-components/BankTransferDetails/BankTransferDetails":
30098
30097
  case "./components/web-components/BankTransferDetails/BankTransferDetails.vue":
30099
- return import("./revolugo.banktransferdetails.BufuNy_u.min.js");
30098
+ return import("./revolugo.banktransferdetails.CYjUVuJz.min.js");
30100
30099
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar":
30101
30100
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue":
30102
- return import("./revolugo.bookingdetailssidebar.mT9qqpDQ.min.js");
30101
+ return import("./revolugo.bookingdetailssidebar.C0obMdgU.min.js");
30103
30102
  case "./components/web-components/BookingManager/BookingManager":
30104
30103
  case "./components/web-components/BookingManager/BookingManager.vue":
30105
- return import("./revolugo.bookingmanager.DtTB4zq0.min.js");
30104
+ return import("./revolugo.bookingmanager.DvvlKx2e.min.js");
30106
30105
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge":
30107
30106
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue":
30108
- return import("./revolugo.cancellationpoliciesbadge.BnCrhU3h.min.js");
30107
+ return import("./revolugo.cancellationpoliciesbadge.D7LVuRDH.min.js");
30109
30108
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList":
30110
30109
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue":
30111
- return import("./revolugo.cancellationpolicieslist.BMTomV3v.min.js");
30110
+ return import("./revolugo.cancellationpolicieslist.BR_G1ARD.min.js");
30112
30111
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm":
30113
30112
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue":
30114
- return import("./revolugo.creditcardstripeform.CusizRTh.min.js");
30113
+ return import("./revolugo.creditcardstripeform.BrUae68V.min.js");
30115
30114
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn":
30116
30115
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue":
30117
- return import("./revolugo.currencypickerbtn.ihiZhWbA.min.js");
30116
+ return import("./revolugo.currencypickerbtn.DUP7wy1c.min.js");
30118
30117
  case "./components/web-components/FastBookingFlow/FastBookingFlow":
30119
30118
  case "./components/web-components/FastBookingFlow/FastBookingFlow.vue":
30120
- return import("./revolugo.fastbookingflow.DLugBTVT.min.js");
30119
+ return import("./revolugo.fastbookingflow.Fz446Ggh.min.js");
30121
30120
  case "./components/web-components/FullBookingFlow/FullBookingFlow":
30122
30121
  case "./components/web-components/FullBookingFlow/FullBookingFlow.vue":
30123
- return import("./revolugo.fullbookingflow.BTRZdXX3.min.js");
30122
+ return import("./revolugo.fullbookingflow.BGZnndHv.min.js");
30124
30123
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView":
30125
30124
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue":
30126
- return import("./revolugo.hoteldescriptionview.Cv26xCI8.min.js");
30125
+ return import("./revolugo.hoteldescriptionview.MdPLpFH5.min.js");
30127
30126
  case "./components/web-components/HotelOfferList/HotelOfferList":
30128
30127
  case "./components/web-components/HotelOfferList/HotelOfferList.vue":
30129
- return import("./revolugo.hotelofferlist.kvYfXxDo.min.js");
30128
+ return import("./revolugo.hotelofferlist.BhvMD6WZ.min.js");
30130
30129
  case "./components/web-components/HotelOfferMap/HotelOffersMap":
30131
30130
  case "./components/web-components/HotelOfferMap/HotelOffersMap.vue":
30132
- return import("./revolugo.hoteloffersmap.BSVjMUA1.min.js");
30131
+ return import("./revolugo.hoteloffersmap.D9-btypr.min.js");
30133
30132
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu":
30134
30133
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue":
30135
- return import("./revolugo.hoteloffersearchmenu.DjpPYxx8.min.js");
30134
+ return import("./revolugo.hoteloffersearchmenu.ekgdcy3U.min.js");
30136
30135
  case "./components/web-components/HotelOffersView/HotelOffersView":
30137
30136
  case "./components/web-components/HotelOffersView/HotelOffersView.vue":
30138
- return import("./revolugo.hoteloffersview.IJXSML_9.min.js");
30137
+ return import("./revolugo.hoteloffersview.BJtd_13A.min.js");
30139
30138
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList":
30140
30139
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue":
30141
- return import("./revolugo.hotelroomofferlist.DcxGABeb.min.js");
30140
+ return import("./revolugo.hotelroomofferlist.CDBZbRc1.min.js");
30142
30141
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu":
30143
30142
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue":
30144
- return import("./revolugo.hotelroomoffersearchmenu.CY19SRfA.min.js");
30143
+ return import("./revolugo.hotelroomoffersearchmenu.C2XH2Blv.min.js");
30145
30144
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow":
30146
30145
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue":
30147
- return import("./revolugo.hotelroomoffersbookingflow.C3aUPF73.min.js");
30146
+ return import("./revolugo.hotelroomoffersbookingflow.BuBdAmst.min.js");
30148
30147
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView":
30149
30148
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue":
30150
- return import("./revolugo.hotelroomoffersview.CX3lPp5A.min.js");
30149
+ return import("./revolugo.hotelroomoffersview.Czv4osjh.min.js");
30151
30150
  case "./components/web-components/LangPickerBtn/LangPickerBtn":
30152
30151
  case "./components/web-components/LangPickerBtn/LangPickerBtn.vue":
30153
- return import("./revolugo.langpickerbtn.DV0z29Tv.min.js");
30152
+ return import("./revolugo.langpickerbtn.Cv2IsoFI.min.js");
30154
30153
  case "./components/web-components/PrebookForm/PrebookForm":
30155
30154
  case "./components/web-components/PrebookForm/PrebookForm.vue":
30156
- return import("./revolugo.prebookform.BCeSN9hn.min.js");
30155
+ return import("./revolugo.prebookform.BpswJrYa.min.js");
30157
30156
  case "./components/web-components/PreferencesMenu/PreferencesMenu":
30158
30157
  case "./components/web-components/PreferencesMenu/PreferencesMenu.vue":
30159
- return import("./revolugo.preferencesmenu.DJcApiOB.min.js");
30158
+ return import("./revolugo.preferencesmenu.e8AJWdGs.min.js");
30160
30159
  case "./components/web-components/RoomingListEditor/RoomingListEditor":
30161
30160
  case "./components/web-components/RoomingListEditor/RoomingListEditor.vue":
30162
- return import("./revolugo.roominglisteditor.Cd3qTH0Y.min.js");
30161
+ return import("./revolugo.roominglisteditor.CPinmLz-.min.js");
30163
30162
  case "./components/web-components/StorybookToolbar/StorybookToolbar":
30164
30163
  case "./components/web-components/StorybookToolbar/StorybookToolbar.vue":
30165
- return import("./revolugo.storybooktoolbar.CPFVK8hr.min.js");
30164
+ return import("./revolugo.storybooktoolbar.B9yuFKVe.min.js");
30166
30165
  case "./components/web-components/TermsAndConditions/TermsAndConditions":
30167
30166
  case "./components/web-components/TermsAndConditions/TermsAndConditions.vue":
30168
- return import("./revolugo.termsandconditions.DLzN_T2a.min.js");
30167
+ return import("./revolugo.termsandconditions.C13lc2oN.min.js");
30169
30168
  default:
30170
30169
  return new Promise(function(t, n) {
30171
30170
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -30216,21 +30215,21 @@ export {
30216
30215
  Bc as a7,
30217
30216
  N4 as a8,
30218
30217
  O2 as a9,
30219
- T4 as aA,
30220
- b4 as aB,
30221
- y4 as aC,
30222
- oL as aD,
30223
- n4 as aE,
30224
- MV as aF,
30225
- l4 as aG,
30226
- sL as aH,
30227
- t4 as aI,
30228
- d4 as aJ,
30229
- g4 as aK,
30230
- h4 as aL,
30231
- hc as aM,
30232
- jd as aN,
30233
- WN as aO,
30218
+ l4 as aA,
30219
+ sL as aB,
30220
+ t4 as aC,
30221
+ w4 as aD,
30222
+ S4 as aE,
30223
+ T4 as aF,
30224
+ b4 as aG,
30225
+ y4 as aH,
30226
+ oL as aI,
30227
+ WN as aJ,
30228
+ d4 as aK,
30229
+ g4 as aL,
30230
+ h4 as aM,
30231
+ hc as aN,
30232
+ jd as aO,
30234
30233
  Ef as aP,
30235
30234
  un as aQ,
30236
30235
  br as aR,
@@ -30267,8 +30266,8 @@ export {
30267
30266
  Kd as av,
30268
30267
  E4 as aw,
30269
30268
  Dr as ax,
30270
- w4 as ay,
30271
- S4 as az,
30269
+ n4 as ay,
30270
+ MV as az,
30272
30271
  Lt as b,
30273
30272
  Zw as b$,
30274
30273
  bT as b0,
@@ -30311,7 +30310,7 @@ export {
30311
30310
  v4 as ba,
30312
30311
  s4 as bb,
30313
30312
  RA as bc,
30314
- pA as bd,
30313
+ gA as bd,
30315
30314
  o4 as be,
30316
30315
  zo as bf,
30317
30316
  xs as bg,
@@ -30383,4 +30382,4 @@ export {
30383
30382
  zb as y,
30384
30383
  q0 as z
30385
30384
  };
30386
- //# sourceMappingURL=revolugo.index.wc.BrFAdCty.min.js.map
30385
+ //# sourceMappingURL=revolugo.index.wc.CD7nBgdW.min.js.map