@revolugo/booking-api-client 6.12.2 → 6.13.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/index.es.js +1409 -3211
- package/dist/index.umd.js +2 -2
- package/dist/types/v1/models/index.d.ts +64 -2
- package/package.json +10 -10
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(b,oe){typeof exports=="object"&&typeof module<"u"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(b=typeof globalThis<"u"?globalThis:b||self,oe(b["@revolugo/booking-api-client"]={}))})(this,(function(b){"use strict";const oe=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),wi=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Mi=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Ni=/[^\p{L}\d]+/giu,Ue="$1\0$2",_e="";function Fe(i){let e=i.trim();e=e.replace(oe,Ue).replace(wi,Ue),e=e.replace(Ni,"\0");let n=0,t=e.length;for(;e.charAt(n)==="\0";)n++;if(n===t)return[];for(;e.charAt(t-1)==="\0";)t--;return e.slice(n,t).split(/\0/g)}function Ti(i){const e=Fe(i);for(let n=0;n<e.length;n++){const t=e[n],o=Mi.exec(t);if(o){const l=o.index+(o[1]??o[2]).length;e.splice(n,1,t.slice(0,l),t.slice(l))}}return e}function ze(i,e){const[n,t,o]=ue(i,e);return n+t.map(le(e?.locale)).join(e?.delimiter??" ")+o}function Ei(i,e){const[n,t,o]=ue(i,e),l=le(e?.locale),u=Ee(e?.locale),c=e?.mergeAmbiguousCharacters?Be(l,u):$e(l,u);return n+t.map((h,R)=>R===0?l(h):c(h,R)).join(e?.delimiter??"")+o}function Bi(i,e){const[n,t,o]=ue(i,e),l=le(e?.locale),u=Ee(e?.locale),c=e?.mergeAmbiguousCharacters?Be(l,u):$e(l,u);return n+t.map(c).join(e?.delimiter??"")+o}function Oi(i,e){const[n,t,o]=ue(i,e),l=le(e?.locale),u=Ee(e?.locale);return n+t.map(Be(l,u)).join(e?.delimiter??" ")+o}function He(i,e){return ze(i,{delimiter:"-",...e})}function Li(i,e){return ze(i,{delimiter:"_",...e})}function le(i){return i===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i)}function Ee(i){return i===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(i)}function Be(i,e){return n=>`${e(n[0])}${i(n.slice(1))}`}function $e(i,e){return(n,t)=>{const o=n[0];return(t>0&&o>="0"&&o<="9"?"_"+o:e(o))+i(n.slice(1))}}function ue(i,e={}){const n=e.split??(e.separateNumbers?Ti:Fe),t=e.prefixCharacters??_e,o=e.suffixCharacters??_e;let l=0,u=i.length;for(;l<i.length;){const c=i.charAt(l);if(!t.includes(c))break;l++}for(;u>l;){const c=u-1,h=i.charAt(c);if(!o.includes(h))break;u=c}return[i.slice(0,l),n(i.slice(l,u)),i.slice(u)]}var ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function q(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var de={exports:{}},Ci=de.exports,xe;function ki(){return xe||(xe=1,(function(i,e){(function(n,t,o){i.exports=o(),i.exports.default=o()})("slugify",Ci,function(){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"}`),t=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"}}');function o(l,u){if(typeof l!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var c=t[u.locale]||{},h=u.replacement===void 0?"-":u.replacement,R=u.trim===void 0?!0:u.trim,A=l.normalize().split("").reduce(function(p,y){var w=c[y];return w===void 0&&(w=n[y]),w===void 0&&(w=y),w===h&&(w=" "),p+w.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(A=A.replace(/[^A-Za-z0-9\s]/g,"")),R&&(A=A.trim()),A=A.replace(/\s+/g,h),u.lower&&(A=A.toLowerCase()),A}return o.extend=function(l){Object.assign(n,l)},o})})(de)),de.exports}var Ii=ki();const Ki=q(Ii);function Gi(i){return Ki(He(i),{lower:!0,strict:!0})}var v=(i=>(i.Camel="camelCase",i.Capital="capitalCase",i.Param="paramCase",i.Pascal="pascalCase",i.Slug="slugCase",i.Snake="snakeCase",i))(v||{});const Ui={camelCase:Ei,capitalCase:Oi,paramCase:He,pascalCase:Bi,slugCase:Gi,snakeCase:Li};function _i(i,e){return i.some(n=>typeof n=="string"?n===e:n.test(e))}function Fi(i){return i===Object(i)&&!Array.isArray(i)&&typeof i!="function"}function S(i,e,n={deep:!0}){return Fi(i)?Object.keys(i).reduce((t,o)=>{const l=n?.exclude&&_i(n.exclude,o)?o:Ui[e](o);return t[l]=n.deep?S(i[o],e,n):i[o],t},{}):Array.isArray(i)?i.map(t=>S(t,e,n)):i}var a=(i=>(i.AED="AED",i.AFN="AFN",i.ALL="ALL",i.AMD="AMD",i.ANG="ANG",i.AOA="AOA",i.ARS="ARS",i.AUD="AUD",i.AWG="AWG",i.AZN="AZN",i.BAM="BAM",i.BBD="BBD",i.BDT="BDT",i.BGN="BGN",i.BHD="BHD",i.BIF="BIF",i.BMD="BMD",i.BND="BND",i.BOB="BOB",i.BRL="BRL",i.BSD="BSD",i.BTN="BTN",i.BWP="BWP",i.BYN="BYN",i.BYR="BYR",i.BZD="BZD",i.CAD="CAD",i.CDF="CDF",i.CHF="CHF",i.CLF="CLF",i.CLP="CLP",i.CNY="CNY",i.COP="COP",i.CRC="CRC",i.CUC="CUC",i.CUP="CUP",i.CVE="CVE",i.CZK="CZK",i.DJF="DJF",i.DKK="DKK",i.DOP="DOP",i.DZD="DZD",i.EEK="EEK",i.EGP="EGP",i.ERN="ERN",i.ETB="ETB",i.EUR="EUR",i.FJD="FJD",i.FKP="FKP",i.GBP="GBP",i.GEL="GEL",i.GHS="GHS",i.GIP="GIP",i.GMD="GMD",i.GNF="GNF",i.GTQ="GTQ",i.GYD="GYD",i.HKD="HKD",i.HNL="HNL",i.HRK="HRK",i.HTG="HTG",i.HUF="HUF",i.IDR="IDR",i.ILS="ILS",i.INR="INR",i.IQD="IQD",i.IRR="IRR",i.ISK="ISK",i.JMD="JMD",i.JOD="JOD",i.JPY="JPY",i.KES="KES",i.KGS="KGS",i.KHR="KHR",i.KMF="KMF",i.KPW="KPW",i.KRW="KRW",i.KWD="KWD",i.KYD="KYD",i.KZT="KZT",i.LAK="LAK",i.LBP="LBP",i.LKR="LKR",i.LRD="LRD",i.LSL="LSL",i.LTL="LTL",i.LVL="LVL",i.LYD="LYD",i.MAD="MAD",i.MDL="MDL",i.MGA="MGA",i.MKD="MKD",i.MMK="MMK",i.MNT="MNT",i.MOP="MOP",i.MRO="MRO",i.MRU="MRU",i.MUR="MUR",i.MVR="MVR",i.MWK="MWK",i.MXN="MXN",i.MYR="MYR",i.MZN="MZN",i.NAD="NAD",i.NGN="NGN",i.NIO="NIO",i.NOK="NOK",i.NPR="NPR",i.NZD="NZD",i.OMR="OMR",i.PAB="PAB",i.PEN="PEN",i.PGK="PGK",i.PHP="PHP",i.PKR="PKR",i.PLN="PLN",i.PYG="PYG",i.QAR="QAR",i.RON="RON",i.RSD="RSD",i.RUB="RUB",i.RWF="RWF",i.SAR="SAR",i.SBD="SBD",i.SCR="SCR",i.SDG="SDG",i.SEK="SEK",i.SGD="SGD",i.SHP="SHP",i.SLL="SLL",i.SOS="SOS",i.SRD="SRD",i.SSP="SSP",i.STD="STD",i.SYP="SYP",i.SZL="SZL",i.THB="THB",i.TJS="TJS",i.TMT="TMT",i.TND="TND",i.TOP="TOP",i.TRY="TRY",i.TTD="TTD",i.TWD="TWD",i.TZS="TZS",i.UAH="UAH",i.UGX="UGX",i.USD="USD",i.UYU="UYU",i.UZS="UZS",i.VEF="VEF",i.VES="VES",i.VND="VND",i.VUV="VUV",i.WST="WST",i.XAF="XAF",i.XCD="XCD",i.XOF="XOF",i.XPF="XPF",i.YER="YER",i.ZAR="ZAR",i.ZMK="ZMK",i.ZMW="ZMW",i.ZWL="ZWL",i))(a||{});function zi(i,e){const n={};for(const t of e)Object.hasOwn(i,t)&&(n[t]=i[t]);return n}const Oe={AED:{code:a.AED,decimalDigits:2,name:"United Arab Emirates Dirham",namePlural:"UAE dirhams",rounding:0,symbol:"AED",symbolNative:"د.إ.",zeroDecimal:!1},AFN:{code:a.AFN,decimalDigits:0,name:"Afghan Afghani",namePlural:"Afghan Afghanis",rounding:0,symbol:"Af",symbolNative:"؋",zeroDecimal:!1},ALL:{code:a.ALL,decimalDigits:0,name:"Albanian Lek",namePlural:"Albanian lekë",rounding:0,symbol:"ALL",symbolNative:"Lek",zeroDecimal:!1},AMD:{code:a.AMD,decimalDigits:0,name:"Armenian Dram",namePlural:"Armenian drams",rounding:0,symbol:"AMD",symbolNative:"դր.",zeroDecimal:!1},ANG:{code:a.ANG,decimalDigits:2,name:"Netherlands Antillean Guilder",namePlural:"Netherlands Antillean guilders",rounding:0,symbol:"ANG",symbolNative:"NAf.",zeroDecimal:!1},AOA:{code:a.AOA,decimalDigits:2,name:"Angolan Kwanza",namePlural:"Angolan kwanzas",rounding:0,symbol:"AOA",symbolNative:"Kz",zeroDecimal:!1},ARS:{code:a.ARS,decimalDigits:2,name:"Argentine Peso",namePlural:"Argentine pesos",rounding:0,symbol:"AR$",symbolNative:"$",zeroDecimal:!1},AUD:{code:a.AUD,decimalDigits:2,name:"Australian Dollar",namePlural:"Australian dollars",rounding:0,symbol:"AU$",symbolNative:"$",zeroDecimal:!1},AWG:{code:a.AWG,decimalDigits:2,name:"Aruban Florin",namePlural:"Aruban florin",rounding:0,symbol:"AWG",symbolNative:"Afl.",zeroDecimal:!1},AZN:{code:a.AZN,decimalDigits:2,name:"Azerbaijani Manat",namePlural:"Azerbaijani manats",rounding:0,symbol:"man.",symbolNative:"ман.",zeroDecimal:!1},BAM:{code:a.BAM,decimalDigits:2,name:"Bosnia-Herzegovina Convertible Mark",namePlural:"Bosnia-Herzegovina convertible marks",rounding:0,symbol:"KM",symbolNative:"KM",zeroDecimal:!1},BBD:{code:a.BBD,decimalDigits:2,name:"Barbadian Dollar",namePlural:"Barbadian dollars",rounding:0,symbol:"BBD",symbolNative:"$",zeroDecimal:!1},BDT:{code:a.BDT,decimalDigits:2,name:"Bangladeshi Taka",namePlural:"Bangladeshi takas",rounding:0,symbol:"Tk",symbolNative:"৳",zeroDecimal:!1},BGN:{code:a.BGN,decimalDigits:2,name:"Bulgarian Lev",namePlural:"Bulgarian leva",rounding:0,symbol:"BGN",symbolNative:"лв.",zeroDecimal:!1},BHD:{code:a.BHD,decimalDigits:3,name:"Bahraini Dinar",namePlural:"Bahraini dinars",rounding:0,symbol:"BD",symbolNative:"د.ب.",zeroDecimal:!1},BIF:{code:a.BIF,decimalDigits:0,name:"Burundian Franc",namePlural:"Burundian francs",rounding:0,symbol:"FBu",symbolNative:"FBu",zeroDecimal:!0},BMD:{code:a.BMD,decimalDigits:2,name:"Bermudan Dollar",namePlural:"Bermudan dollars",rounding:0,symbol:"BMD",symbolNative:"$",zeroDecimal:!1},BND:{code:a.BND,decimalDigits:2,name:"Brunei Dollar",namePlural:"Brunei dollars",rounding:0,symbol:"BN$",symbolNative:"$",zeroDecimal:!1},BOB:{code:a.BOB,decimalDigits:2,name:"Bolivian Boliviano",namePlural:"Bolivian bolivianos",rounding:0,symbol:"Bs",symbolNative:"Bs",zeroDecimal:!1},BRL:{code:a.BRL,decimalDigits:2,name:"Brazilian Real",namePlural:"Brazilian reals",rounding:0,symbol:"R$",symbolNative:"R$",zeroDecimal:!1},BSD:{code:a.BSD,decimalDigits:2,name:"Bahamian Dollar",namePlural:"Bahamian dollars",rounding:0,symbol:"BSD",symbolNative:"$",zeroDecimal:!1},BTN:{code:a.BTN,decimalDigits:2,name:"Bhutanese Ngultrum",namePlural:"Bhutanese ngultrums",rounding:0,symbol:"BTN",symbolNative:"Nu.",zeroDecimal:!1},BWP:{code:a.BWP,decimalDigits:2,name:"Botswanan Pula",namePlural:"Botswanan pulas",rounding:0,symbol:"BWP",symbolNative:"P",zeroDecimal:!1},BYN:{code:a.BYN,decimalDigits:2,name:"Belarusian Ruble",namePlural:"Belarusian rubles",rounding:0,symbol:"Br",symbolNative:"руб.",zeroDecimal:!1},BYR:{code:a.BYR,decimalDigits:0,deprecated:!0,name:"Belarusian Ruble",namePlural:"Belarusian rubles",rounding:0,symbol:"BYR",symbolNative:"BYR",zeroDecimal:!1},BZD:{code:a.BZD,decimalDigits:2,name:"Belize Dollar",namePlural:"Belize dollars",rounding:0,symbol:"BZ$",symbolNative:"$",zeroDecimal:!1},CAD:{code:a.CAD,decimalDigits:2,name:"Canadian Dollar",namePlural:"Canadian dollars",rounding:0,symbol:"CA$",symbolNative:"$",zeroDecimal:!1},CDF:{code:a.CDF,decimalDigits:2,name:"Congolese Franc",namePlural:"Congolese francs",rounding:0,symbol:"CDF",symbolNative:"FrCD",zeroDecimal:!1},CHF:{code:a.CHF,decimalDigits:2,name:"Swiss Franc",namePlural:"Swiss francs",rounding:.05,symbol:"CHF",symbolNative:"CHF",zeroDecimal:!1},CLF:{code:a.CLF,decimalDigits:4,deprecated:!0,name:"Chilean Unit of Account (UF)",namePlural:"Chilean units of account (UF)",rounding:0,symbol:"CLF",symbolNative:"CLF",zeroDecimal:!1},CLP:{code:a.CLP,decimalDigits:0,name:"Chilean Peso",namePlural:"Chilean pesos",rounding:0,symbol:"CL$",symbolNative:"$",zeroDecimal:!0},CNY:{code:a.CNY,decimalDigits:2,name:"Chinese Yuan",namePlural:"Chinese yuan",rounding:0,symbol:"CN¥",symbolNative:"CN¥",zeroDecimal:!1},COP:{code:a.COP,decimalDigits:0,name:"Colombian Peso",namePlural:"Colombian pesos",rounding:0,symbol:"CO$",symbolNative:"$",zeroDecimal:!1},CRC:{code:a.CRC,decimalDigits:0,name:"Costa Rican Colón",namePlural:"Costa Rican colóns",rounding:0,symbol:"₡",symbolNative:"₡",zeroDecimal:!1},CUC:{code:a.CUC,decimalDigits:2,name:"Cuban Convertible Peso",namePlural:"Cuban convertible pesos",rounding:0,symbol:"CUC",symbolNative:"CUC",zeroDecimal:!1},CUP:{code:a.CUP,decimalDigits:2,name:"Cuban Peso",namePlural:"Cuban pesos",rounding:0,symbol:"CUP",symbolNative:"$",zeroDecimal:!1},CVE:{code:a.CVE,decimalDigits:2,name:"Cape Verdean Escudo",namePlural:"Cape Verdean escudos",rounding:0,symbol:"CV$",symbolNative:"CV$",zeroDecimal:!1},CZK:{code:a.CZK,decimalDigits:2,name:"Czech Republic Koruna",namePlural:"Czech Republic korunas",rounding:0,symbol:"Kč",symbolNative:"Kč",zeroDecimal:!1},DJF:{code:a.DJF,decimalDigits:0,name:"Djiboutian Franc",namePlural:"Djiboutian francs",rounding:0,symbol:"Fdj",symbolNative:"Fdj",zeroDecimal:!0},DKK:{code:a.DKK,decimalDigits:2,name:"Danish Krone",namePlural:"Danish kroner",rounding:0,symbol:"Dkr",symbolNative:"kr",zeroDecimal:!1},DOP:{code:a.DOP,decimalDigits:2,name:"Dominican Peso",namePlural:"Dominican pesos",rounding:0,symbol:"RD$",symbolNative:"RD$",zeroDecimal:!1},DZD:{code:a.DZD,decimalDigits:2,name:"Algerian Dinar",namePlural:"Algerian dinars",rounding:0,symbol:"DA",symbolNative:"د.ج.",zeroDecimal:!1},EEK:{code:a.EEK,decimalDigits:2,deprecated:!0,name:"Estonian Kroon",namePlural:"Estonian kroons",rounding:0,symbol:"Ekr",symbolNative:"kr",zeroDecimal:!1},EGP:{code:a.EGP,decimalDigits:2,name:"Egyptian Pound",namePlural:"Egyptian pounds",rounding:0,symbol:"EGP",symbolNative:"ج.م.",zeroDecimal:!1},ERN:{code:a.ERN,decimalDigits:2,name:"Eritrean Nakfa",namePlural:"Eritrean nakfas",rounding:0,symbol:"Nfk",symbolNative:"Nfk",zeroDecimal:!1},ETB:{code:a.ETB,decimalDigits:2,name:"Ethiopian Birr",namePlural:"Ethiopian birrs",rounding:0,symbol:"Br",symbolNative:"Br",zeroDecimal:!1},EUR:{code:a.EUR,decimalDigits:2,name:"Euro",namePlural:"euros",rounding:0,symbol:"€",symbolNative:"€",zeroDecimal:!1},FJD:{code:a.FJD,decimalDigits:2,name:"Fijian Dollar",namePlural:"Fijian dollars",rounding:0,symbol:"FJD",symbolNative:"$",zeroDecimal:!1},FKP:{code:a.FKP,decimalDigits:2,name:"Falkland Islands Pound",namePlural:"Falkland Islands pounds",rounding:0,symbol:"FKP",symbolNative:"£",zeroDecimal:!1},GBP:{code:a.GBP,decimalDigits:2,name:"British Pound Sterling",namePlural:"British pounds sterling",rounding:0,symbol:"£",symbolNative:"£",zeroDecimal:!1},GEL:{code:a.GEL,decimalDigits:2,name:"Georgian Lari",namePlural:"Georgian laris",rounding:0,symbol:"GEL",symbolNative:"GEL",zeroDecimal:!1},GHS:{code:a.GHS,decimalDigits:2,name:"Ghanaian Cedi",namePlural:"Ghanaian cedis",rounding:0,symbol:"GH₵",symbolNative:"GH₵",zeroDecimal:!1},GIP:{code:a.GIP,decimalDigits:2,name:"Gibraltar Pound",namePlural:"Gibraltar pounds",rounding:0,symbol:"GIP",symbolNative:"£",zeroDecimal:!1},GMD:{code:a.GMD,decimalDigits:2,name:"Gambian Dalasi",namePlural:"Gambian dalasis",rounding:0,symbol:"GMD",symbolNative:"D",zeroDecimal:!1},GNF:{code:a.GNF,decimalDigits:0,name:"Guinean Franc",namePlural:"Guinean francs",rounding:0,symbol:"FG",symbolNative:"FG",zeroDecimal:!0},GTQ:{code:a.GTQ,decimalDigits:2,name:"Guatemalan Quetzal",namePlural:"Guatemalan quetzals",rounding:0,symbol:"GTQ",symbolNative:"Q",zeroDecimal:!1},GYD:{code:a.GYD,decimalDigits:0,name:"Guyanaese Dollar",namePlural:"Guyanaese dollars",rounding:0,symbol:"GYD",symbolNative:"$",zeroDecimal:!1},HKD:{code:a.HKD,decimalDigits:2,name:"Hong Kong Dollar",namePlural:"Hong Kong dollars",rounding:0,symbol:"HK$",symbolNative:"$",zeroDecimal:!1},HNL:{code:a.HNL,decimalDigits:2,name:"Honduran Lempira",namePlural:"Honduran lempiras",rounding:0,symbol:"HNL",symbolNative:"L",zeroDecimal:!1},HRK:{code:a.HRK,decimalDigits:2,deprecated:!0,name:"Croatian Kuna",namePlural:"Croatian kunas",rounding:0,symbol:"kn",symbolNative:"kn",zeroDecimal:!1},HTG:{code:a.HTG,decimalDigits:2,name:"Haitian Gourde",namePlural:"Haitian gourdes",rounding:0,symbol:"HTG",symbolNative:"G",zeroDecimal:!1},HUF:{code:a.HUF,decimalDigits:0,name:"Hungarian Forint",namePlural:"Hungarian forints",rounding:0,symbol:"Ft",symbolNative:"Ft",zeroDecimal:!1},IDR:{code:a.IDR,decimalDigits:0,name:"Indonesian Rupiah",namePlural:"Indonesian rupiahs",rounding:0,symbol:"Rp",symbolNative:"Rp",zeroDecimal:!1},ILS:{code:a.ILS,decimalDigits:2,name:"Israeli New Sheqel",namePlural:"Israeli new sheqels",rounding:0,symbol:"₪",symbolNative:"₪",zeroDecimal:!1},INR:{code:a.INR,decimalDigits:2,name:"Indian Rupee",namePlural:"Indian rupees",rounding:0,symbol:"Rs",symbolNative:"টকা",zeroDecimal:!1},IQD:{code:a.IQD,decimalDigits:0,name:"Iraqi Dinar",namePlural:"Iraqi dinars",rounding:0,symbol:"IQD",symbolNative:"د.ع.",zeroDecimal:!1},IRR:{code:a.IRR,decimalDigits:0,name:"Iranian Rial",namePlural:"Iranian rials",rounding:0,symbol:"IRR",symbolNative:"﷼",zeroDecimal:!0},ISK:{code:a.ISK,decimalDigits:0,name:"Icelandic Króna",namePlural:"Icelandic krónur",rounding:0,symbol:"Ikr",symbolNative:"kr",zeroDecimal:!1},JMD:{code:a.JMD,decimalDigits:2,name:"Jamaican Dollar",namePlural:"Jamaican dollars",rounding:0,symbol:"J$",symbolNative:"$",zeroDecimal:!1},JOD:{code:a.JOD,decimalDigits:3,name:"Jordanian Dinar",namePlural:"Jordanian dinars",rounding:0,symbol:"JD",symbolNative:"د.أ.",zeroDecimal:!1},JPY:{code:a.JPY,decimalDigits:0,name:"Japanese Yen",namePlural:"Japanese yen",rounding:0,symbol:"¥",symbolNative:"¥",zeroDecimal:!0},KES:{code:a.KES,decimalDigits:2,name:"Kenyan Shilling",namePlural:"Kenyan shillings",rounding:0,symbol:"Ksh",symbolNative:"Ksh",zeroDecimal:!1},KGS:{code:a.KGS,decimalDigits:2,name:"Kyrgystani Som",namePlural:"Kyrgystani soms",rounding:0,symbol:"KGS",symbolNative:"сом",zeroDecimal:!1},KHR:{code:a.KHR,decimalDigits:2,name:"Cambodian Riel",namePlural:"Cambodian riels",rounding:0,symbol:"KHR",symbolNative:"៛",zeroDecimal:!1},KMF:{code:a.KMF,decimalDigits:0,name:"Comorian Franc",namePlural:"Comorian francs",rounding:0,symbol:"CF",symbolNative:"FC",zeroDecimal:!0},KPW:{code:a.KPW,decimalDigits:0,name:"North Korean Won",namePlural:"North Korean won",rounding:0,symbol:"KPW",symbolNative:"KPW",zeroDecimal:!1},KRW:{code:a.KRW,decimalDigits:0,name:"South Korean Won",namePlural:"South Korean won",rounding:0,symbol:"₩",symbolNative:"₩",zeroDecimal:!0},KWD:{code:a.KWD,decimalDigits:3,name:"Kuwaiti Dinar",namePlural:"Kuwaiti dinars",rounding:0,symbol:"KD",symbolNative:"د.ك.",zeroDecimal:!1},KYD:{code:a.KYD,decimalDigits:2,name:"Cayman Islands Dollar",namePlural:"Cayman Islands dollars",rounding:0,symbol:"KYD",symbolNative:"$",zeroDecimal:!1},KZT:{code:a.KZT,decimalDigits:2,name:"Kazakhstani Tenge",namePlural:"Kazakhstani tenges",rounding:0,symbol:"KZT",symbolNative:"тңг.",zeroDecimal:!1},LAK:{code:a.LAK,decimalDigits:0,name:"Laotian Kip",namePlural:"Laotian kips",rounding:0,symbol:"LAK",symbolNative:"₭",zeroDecimal:!1},LBP:{code:a.LBP,decimalDigits:0,name:"Lebanese Pound",namePlural:"Lebanese pounds",rounding:0,symbol:"LB£",symbolNative:"ل.ل.",zeroDecimal:!1},LKR:{code:a.LKR,decimalDigits:2,name:"Sri Lankan Rupee",namePlural:"Sri Lankan rupees",rounding:0,symbol:"SLRs",symbolNative:"SL Re",zeroDecimal:!1},LRD:{code:a.LRD,decimalDigits:2,name:"Liberian Dollar",namePlural:"Liberian dollars",rounding:0,symbol:"LRD",symbolNative:"$",zeroDecimal:!1},LSL:{code:a.LSL,decimalDigits:2,name:"Lesotho Loti",namePlural:"Lesotho lotis",rounding:0,symbol:"LSL",symbolNative:"LSL",zeroDecimal:!1},LTL:{code:a.LTL,decimalDigits:2,deprecated:!0,name:"Lithuanian Litas",namePlural:"Lithuanian litai",rounding:0,symbol:"Lt",symbolNative:"Lt",zeroDecimal:!1},LVL:{code:a.LVL,decimalDigits:2,deprecated:!0,name:"Latvian Lats",namePlural:"Latvian lati",rounding:0,symbol:"Ls",symbolNative:"Ls",zeroDecimal:!1},LYD:{code:a.LYD,decimalDigits:3,name:"Libyan Dinar",namePlural:"Libyan dinars",rounding:0,symbol:"LD",symbolNative:"د.ل.",zeroDecimal:!1},MAD:{code:a.MAD,decimalDigits:2,name:"Moroccan Dirham",namePlural:"Moroccan dirhams",rounding:0,symbol:"MAD",symbolNative:"د.م.",zeroDecimal:!1},MDL:{code:a.MDL,decimalDigits:2,name:"Moldovan Leu",namePlural:"Moldovan lei",rounding:0,symbol:"MDL",symbolNative:"MDL",zeroDecimal:!1},MGA:{code:a.MGA,decimalDigits:0,name:"Malagasy Ariary",namePlural:"Malagasy Ariaries",rounding:0,symbol:"MGA",symbolNative:"MGA",zeroDecimal:!0},MKD:{code:a.MKD,decimalDigits:2,name:"Macedonian Denar",namePlural:"Macedonian denari",rounding:0,symbol:"MKD",symbolNative:"MKD",zeroDecimal:!1},MMK:{code:a.MMK,decimalDigits:0,name:"Myanma Kyat",namePlural:"Myanma kyats",rounding:0,symbol:"MMK",symbolNative:"K",zeroDecimal:!1},MNT:{code:a.MNT,decimalDigits:0,name:"Mongolian Tugrik",namePlural:"Mongolian tugriks",rounding:0,symbol:"MNT",symbolNative:"₮",zeroDecimal:!1},MOP:{code:a.MOP,decimalDigits:2,name:"Macanese Pataca",namePlural:"Macanese patacas",rounding:0,symbol:"MOP$",symbolNative:"MOP$",zeroDecimal:!1},MRO:{code:a.MRO,decimalDigits:0,deprecated:!0,name:"Mauritanian Ouguiya",namePlural:"Mauritanian ouguiyas",rounding:0,symbol:"MRO",symbolNative:"أ.م.",zeroDecimal:!1},MRU:{code:a.MRU,decimalDigits:0,name:"Mauritanian Ouguiya",namePlural:"Mauritanian ouguiyas",rounding:0,symbol:"MRU",symbolNative:"أ.م.",zeroDecimal:!1},MUR:{code:a.MUR,decimalDigits:0,name:"Mauritian Rupee",namePlural:"Mauritian rupees",rounding:0,symbol:"MURs",symbolNative:"MURs",zeroDecimal:!1},MVR:{code:a.MVR,decimalDigits:0,name:"Maldivian rufiyaa",namePlural:"Maldivian rufiyaa",rounding:0,symbol:"MVR",symbolNative:"Rf",zeroDecimal:!1},MWK:{code:a.MWK,decimalDigits:2,name:"Malawian Kwacha",namePlural:"Malawian kwachas",rounding:0,symbol:"MWK",symbolNative:"MK",zeroDecimal:!1},MXN:{code:a.MXN,decimalDigits:2,name:"Mexican Peso",namePlural:"Mexican pesos",rounding:0,symbol:"MX$",symbolNative:"$",zeroDecimal:!1},MYR:{code:a.MYR,decimalDigits:2,name:"Malaysian Ringgit",namePlural:"Malaysian ringgits",rounding:0,symbol:"RM",symbolNative:"RM",zeroDecimal:!1},MZN:{code:a.MZN,decimalDigits:2,name:"Mozambican Metical",namePlural:"Mozambican meticals",rounding:0,symbol:"MTn",symbolNative:"MTn",zeroDecimal:!1},NAD:{code:a.NAD,decimalDigits:2,name:"Namibian Dollar",namePlural:"Namibian dollars",rounding:0,symbol:"N$",symbolNative:"N$",zeroDecimal:!1},NGN:{code:a.NGN,decimalDigits:2,name:"Nigerian Naira",namePlural:"Nigerian nairas",rounding:0,symbol:"₦",symbolNative:"₦",zeroDecimal:!1},NIO:{code:a.NIO,decimalDigits:2,name:"Nicaraguan Córdoba",namePlural:"Nicaraguan córdobas",rounding:0,symbol:"C$",symbolNative:"C$",zeroDecimal:!1},NOK:{code:a.NOK,decimalDigits:2,name:"Norwegian Krone",namePlural:"Norwegian kroner",rounding:0,symbol:"Nkr",symbolNative:"kr",zeroDecimal:!1},NPR:{code:a.NPR,decimalDigits:2,name:"Nepalese Rupee",namePlural:"Nepalese rupees",rounding:0,symbol:"NPRs",symbolNative:"नेरू",zeroDecimal:!1},NZD:{code:a.NZD,decimalDigits:2,name:"New Zealand Dollar",namePlural:"New Zealand dollars",rounding:0,symbol:"NZ$",symbolNative:"$",zeroDecimal:!1},OMR:{code:a.OMR,decimalDigits:3,name:"Omani Rial",namePlural:"Omani rials",rounding:0,symbol:"OMR",symbolNative:"ر.ع.",zeroDecimal:!1},PAB:{code:a.PAB,decimalDigits:2,name:"Panamanian Balboa",namePlural:"Panamanian balboas",rounding:0,symbol:"B/.",symbolNative:"B/.",zeroDecimal:!1},PEN:{code:a.PEN,decimalDigits:2,name:"Peruvian Nuevo Sol",namePlural:"Peruvian nuevos soles",rounding:0,symbol:"S/.",symbolNative:"S/.",zeroDecimal:!1},PGK:{code:a.PGK,decimalDigits:2,name:"Papua New Guinean Kina",namePlural:"Papua New Guinean kina",rounding:0,symbol:"PGK",symbolNative:"K",zeroDecimal:!1},PHP:{code:a.PHP,decimalDigits:2,name:"Philippine Peso",namePlural:"Philippine pesos",rounding:0,symbol:"₱",symbolNative:"₱",zeroDecimal:!1},PKR:{code:a.PKR,decimalDigits:0,name:"Pakistani Rupee",namePlural:"Pakistani rupees",rounding:0,symbol:"PKRs",symbolNative:"₨",zeroDecimal:!1},PLN:{code:a.PLN,decimalDigits:2,name:"Polish Zloty",namePlural:"Polish zlotys",rounding:0,symbol:"zł",symbolNative:"zł",zeroDecimal:!1},PYG:{code:a.PYG,decimalDigits:0,name:"Paraguayan Guarani",namePlural:"Paraguayan guaranis",rounding:0,symbol:"₲",symbolNative:"₲",zeroDecimal:!0},QAR:{code:a.QAR,decimalDigits:2,name:"Qatari Rial",namePlural:"Qatari rials",rounding:0,symbol:"QR",symbolNative:"ر.ق.",zeroDecimal:!1},RON:{code:a.RON,decimalDigits:2,name:"Romanian Leu",namePlural:"Romanian lei",rounding:0,symbol:"RON",symbolNative:"RON",zeroDecimal:!1},RSD:{code:a.RSD,decimalDigits:0,name:"Serbian Dinar",namePlural:"Serbian dinars",rounding:0,symbol:"din.",symbolNative:"дин.",zeroDecimal:!1},RUB:{code:a.RUB,decimalDigits:2,name:"Russian Ruble",namePlural:"Russian rubles",rounding:0,symbol:"RUB",symbolNative:"₽.",zeroDecimal:!1},RWF:{code:a.RWF,decimalDigits:0,name:"Rwandan Franc",namePlural:"Rwandan francs",rounding:0,symbol:"RWF",symbolNative:"FR",zeroDecimal:!0},SAR:{code:a.SAR,decimalDigits:2,name:"Saudi Riyal",namePlural:"Saudi riyals",rounding:0,symbol:"SR",symbolNative:"ر.س.",zeroDecimal:!1},SBD:{code:a.SBD,decimalDigits:2,name:"Solomon Islands Dollar",namePlural:"Solomon Islands dollars",rounding:0,symbol:"SBD",symbolNative:"$",zeroDecimal:!1},SCR:{code:a.SCR,decimalDigits:2,name:"Seychellois Rupee",namePlural:"Seychellois rupees",rounding:0,symbol:"SCR",symbolNative:"SR",zeroDecimal:!1},SDG:{code:a.SDG,decimalDigits:2,name:"Sudanese Pound",namePlural:"Sudanese pounds",rounding:0,symbol:"SDG",symbolNative:"SDG",zeroDecimal:!1},SEK:{code:a.SEK,decimalDigits:2,name:"Swedish Krona",namePlural:"Swedish kronor",rounding:0,symbol:"Skr",symbolNative:"kr",zeroDecimal:!1},SGD:{code:a.SGD,decimalDigits:2,name:"Singapore Dollar",namePlural:"Singapore dollars",rounding:0,symbol:"S$",symbolNative:"$",zeroDecimal:!1},SHP:{code:a.SHP,decimalDigits:2,name:"St. Helena Pound",namePlural:"St. Helena pounds",rounding:0,symbol:"SHP",symbolNative:"£",zeroDecimal:!1},SLL:{code:a.SLL,decimalDigits:0,name:"Sierra Leonean Leone",namePlural:"Sierra Leonean leones",rounding:0,symbol:"SLL",symbolNative:"Le",zeroDecimal:!1},SOS:{code:a.SOS,decimalDigits:0,name:"Somali Shilling",namePlural:"Somali shillings",rounding:0,symbol:"Ssh",symbolNative:"Ssh",zeroDecimal:!1},SRD:{code:a.SRD,decimalDigits:2,name:"Surinamese Dollar",namePlural:"Surinamese dollars",rounding:0,symbol:"SRD",symbolNative:"$",zeroDecimal:!1},SSP:{code:a.SSP,decimalDigits:2,deprecated:!0,name:"South Sudanese Pound",namePlural:"South Sudanese pounds",rounding:0,symbol:"SSP",symbolNative:"SSP",zeroDecimal:!1},STD:{code:a.STD,decimalDigits:2,name:"Dobra",namePlural:"Dobras",rounding:0,symbol:"Db",symbolNative:"Db",zeroDecimal:!1},SYP:{code:a.SYP,decimalDigits:0,name:"Syrian Pound",namePlural:"Syrian pounds",rounding:0,symbol:"SY£",symbolNative:"ل.س.",zeroDecimal:!1},SZL:{code:a.SZL,decimalDigits:2,name:"Swazi Lilangeni",namePlural:"Swazi emalangeni",rounding:0,symbol:"SZL",symbolNative:"E",zeroDecimal:!1},THB:{code:a.THB,decimalDigits:2,name:"Thai Baht",namePlural:"Thai baht",rounding:0,symbol:"฿",symbolNative:"฿",zeroDecimal:!1},TJS:{code:a.TJS,decimalDigits:2,name:"Tajikistani Somoni",namePlural:"Tajikistani somonis",rounding:0,symbol:"TJS",symbolNative:"сом.",zeroDecimal:!1},TMT:{code:a.TMT,decimalDigits:2,name:"Turkmenistan Manat",namePlural:"Turkmenistan manats",rounding:0,symbol:"TMT",symbolNative:"TMT",zeroDecimal:!1},TND:{code:a.TND,decimalDigits:3,name:"Tunisian Dinar",namePlural:"Tunisian dinars",rounding:0,symbol:"DT",symbolNative:"د.ت.",zeroDecimal:!1},TOP:{code:a.TOP,decimalDigits:2,name:"Tongan Paʻanga",namePlural:"Tongan paʻanga",rounding:0,symbol:"T$",symbolNative:"T$",zeroDecimal:!1},TRY:{code:a.TRY,decimalDigits:2,name:"Turkish Lira",namePlural:"Turkish Lira",rounding:0,symbol:"TL",symbolNative:"TL",zeroDecimal:!1},TTD:{code:a.TTD,decimalDigits:2,name:"Trinidad and Tobago Dollar",namePlural:"Trinidad and Tobago dollars",rounding:0,symbol:"TT$",symbolNative:"$",zeroDecimal:!1},TWD:{code:a.TWD,decimalDigits:2,name:"New Taiwan Dollar",namePlural:"New Taiwan dollars",rounding:0,symbol:"NT$",symbolNative:"NT$",zeroDecimal:!1},TZS:{code:a.TZS,decimalDigits:0,name:"Tanzanian Shilling",namePlural:"Tanzanian shillings",rounding:0,symbol:"TSh",symbolNative:"TSh",zeroDecimal:!1},UAH:{code:a.UAH,decimalDigits:2,name:"Ukrainian Hryvnia",namePlural:"Ukrainian hryvnias",rounding:0,symbol:"₴",symbolNative:"₴",zeroDecimal:!1},UGX:{code:a.UGX,decimalDigits:0,name:"Ugandan Shilling",namePlural:"Ugandan shillings",rounding:0,symbol:"USh",symbolNative:"USh",zeroDecimal:!0},USD:{code:a.USD,decimalDigits:2,name:"US Dollar",namePlural:"US dollars",rounding:0,symbol:"$",symbolNative:"$",zeroDecimal:!1},UYU:{code:a.UYU,decimalDigits:2,name:"Uruguayan Peso",namePlural:"Uruguayan pesos",rounding:0,symbol:"$U",symbolNative:"$",zeroDecimal:!1},UZS:{code:a.UZS,decimalDigits:0,name:"Uzbekistan Som",namePlural:"Uzbekistan som",rounding:0,symbol:"UZS",symbolNative:"UZS",zeroDecimal:!1},VEF:{code:a.VEF,decimalDigits:2,deprecated:!0,name:"Venezuelan Bolívar",namePlural:"Venezuelan bolívars",rounding:0,symbol:"Bs.F.",symbolNative:"Bs.F.",zeroDecimal:!1},VES:{code:a.VES,decimalDigits:2,name:"Venezuelan Bolívar",namePlural:"Venezuelan bolívars",rounding:0,symbol:"Bs.F.",symbolNative:"Bs.F.",zeroDecimal:!1},VND:{code:a.VND,decimalDigits:0,name:"Vietnamese Dong",namePlural:"Vietnamese dong",rounding:0,symbol:"₫",symbolNative:"₫",zeroDecimal:!0},VUV:{code:a.VUV,decimalDigits:0,name:"Vanuatu Vatu",namePlural:"Vanuatu vatus",rounding:0,symbol:"VUV",symbolNative:"VT",zeroDecimal:!0},WST:{code:a.WST,decimalDigits:2,name:"Samoan Tala",namePlural:"Samoan tala",rounding:0,symbol:"WST",symbolNative:"WS$",zeroDecimal:!1},XAF:{code:a.XAF,decimalDigits:0,name:"CFA Franc BEAC",namePlural:"CFA francs BEAC",rounding:0,symbol:"FCFA",symbolNative:"FCFA",zeroDecimal:!0},XCD:{code:a.XCD,decimalDigits:2,name:"East Caribbean Dollar",namePlural:"East Caribbean dollars",rounding:0,symbol:"EC$",symbolNative:"$",zeroDecimal:!1},XOF:{code:a.XOF,decimalDigits:0,name:"CFA Franc BCEAO",namePlural:"CFA francs BCEAO",rounding:0,symbol:"CFA",symbolNative:"CFA",zeroDecimal:!0},XPF:{code:a.XPF,decimalDigits:0,name:"CFP Franc",namePlural:"CFP francs",rounding:0,symbol:"CFPF",symbolNative:"FCFP",zeroDecimal:!0},YER:{code:a.YER,decimalDigits:0,name:"Yemeni Rial",namePlural:"Yemeni rials",rounding:0,symbol:"YR",symbolNative:"ر.ي.",zeroDecimal:!1},ZAR:{code:a.ZAR,decimalDigits:2,name:"South African Rand",namePlural:"South African rand",rounding:0,symbol:"R",symbolNative:"R",zeroDecimal:!1},ZMK:{code:a.ZMK,decimalDigits:0,name:"Zambian Kwacha",namePlural:"Zambian kwachas",rounding:0,symbol:"ZK",symbolNative:"ZK",zeroDecimal:!0},ZMW:{code:a.ZMW,decimalDigits:2,name:"Zambian Kwacha",namePlural:"Zambian kwachas",rounding:0,symbol:"ZMW",symbolNative:"K",zeroDecimal:!1},ZWL:{code:a.ZWL,decimalDigits:0,name:"Zimbabwean Dollar",namePlural:"Zimbabwean Dollar",rounding:0,symbol:"ZWL$",symbolNative:"ZWL$",zeroDecimal:!0}},Hi=[a.AED,a.AFN,a.ALL,a.AMD,a.ANG,a.AOA,a.ARS,a.AUD,a.AWG,a.AZN,a.BAM,a.BBD,a.BDT,a.BHD,a.BGN,a.BIF,a.BMD,a.BND,a.BOB,a.BRL,a.BSD,a.BWP,a.BZD,a.CAD,a.CDF,a.CHF,a.CLP,a.CNY,a.COP,a.CRC,a.CVE,a.CZK,a.DJF,a.DKK,a.DOP,a.DZD,a.EGP,a.ETB,a.EUR,a.FJD,a.FKP,a.GBP,a.GEL,a.GIP,a.GMD,a.GNF,a.GTQ,a.GYD,a.HKD,a.HNL,a.HTG,a.HUF,a.IDR,a.ILS,a.INR,a.ISK,a.JMD,a.JOD,a.JPY,a.KES,a.KGS,a.KHR,a.KMF,a.KRW,a.KWD,a.KYD,a.KZT,a.LAK,a.LBP,a.LKR,a.LRD,a.LSL,a.MAD,a.MDL,a.MGA,a.MKD,a.MMK,a.MNT,a.MOP,a.MRU,a.MUR,a.MVR,a.MWK,a.MXN,a.MYR,a.MZN,a.NAD,a.NGN,a.NIO,a.NOK,a.NPR,a.NZD,a.OMR,a.PAB,a.PEN,a.PGK,a.PHP,a.PKR,a.PLN,a.PYG,a.QAR,a.RON,a.RSD,a.RUB,a.RWF,a.SAR,a.SBD,a.SCR,a.SEK,a.SGD,a.SHP,a.SLL,a.SOS,a.SRD,a.STD,a.SZL,a.THB,a.TJS,a.TND,a.TOP,a.TRY,a.TTD,a.TWD,a.TZS,a.UAH,a.USD,a.UYU,a.UZS,a.VND,a.VUV,a.WST,a.XAF,a.XCD,a.XOF,a.XPF,a.YER,a.ZAR,a.ZMW];Object.values(Oe).filter(i=>!i.deprecated).map(i=>i.code);const $i=zi(Oe,Hi);Object.values(Oe).filter(i=>i.zeroDecimal&&i.code in $i).map(i=>i.code);var Le=(i=>(i.V1="v1",i))(Le||{}),ee=(i=>(i.Production="LIVE",i.Sandbox="SANDBOX",i.Staging="STAGING",i.CiCd="CI-CD",i.Local="LOCAL",i))(ee||{});const xi={LIVE:"https://booking-api.revolugo.com",SANDBOX:"https://booking-api.sandbox.revolugo.com",STAGING:"https://booking-api.staging.revolugo.com","CI-CD":"https://booking-api.staging.revolugo.com",LOCAL:"http://127.0.0.1:3001"};var Ce=(i=>(i.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",i.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",i))(Ce||{}),me={exports:{}},Yi=me.exports,Ye;function Ve(){return Ye||(Ye=1,(function(i,e){(function(n,t){i.exports=t()})(Yi,(function(){var n=1e3,t=6e4,o=36e5,l="millisecond",u="second",c="minute",h="hour",R="day",A="week",p="month",y="quarter",w="year",M="date",f="Invalid Date",N=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|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,C={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(P){var r=["th","st","nd","rd"],s=P%100;return"["+P+(r[(s-20)%10]||r[s]||r[0])+"]"}},O=function(P,r,s){var m=String(P);return!m||m.length>=r?P:""+Array(r+1-m.length).join(s)+P},F={s:O,z:function(P){var r=-P.utcOffset(),s=Math.abs(r),m=Math.floor(s/60),d=s%60;return(r<=0?"+":"-")+O(m,2,"0")+":"+O(d,2,"0")},m:function P(r,s){if(r.date()<s.date())return-P(s,r);var m=12*(s.year()-r.year())+(s.month()-r.month()),d=r.clone().add(m,p),D=s-d<0,g=r.clone().add(m+(D?-1:1),p);return+(-(m+(s-d)/(D?d-g:g-d))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:p,y:w,w:A,d:R,D:M,h,m:c,s:u,ms:l,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},T="en",I={};I[T]=C;var x="$isDayjsObject",V=function(P){return P instanceof Z||!(!P||!P[x])},z=function P(r,s,m){var d;if(!r)return T;if(typeof r=="string"){var D=r.toLowerCase();I[D]&&(d=D),s&&(I[D]=s,d=D);var g=r.split("-");if(!d&&g.length>1)return P(g[0])}else{var L=r.name;I[L]=r,d=L}return!m&&d&&(T=d),d||!m&&T},K=function(P,r){if(V(P))return P.clone();var s=typeof r=="object"?r:{};return s.date=P,s.args=arguments,new Z(s)},E=F;E.l=z,E.i=V,E.w=function(P,r){return K(P,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=(function(){function P(s){this.$L=z(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[x]=!0}var r=P.prototype;return r.parse=function(s){this.$d=(function(m){var d=m.date,D=m.utc;if(d===null)return new Date(NaN);if(E.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var g=d.match(N);if(g){var L=g[2]-1||0,G=(g[7]||"0").substring(0,3);return D?new Date(Date.UTC(g[1],L,g[3]||1,g[4]||0,g[5]||0,g[6]||0,G)):new Date(g[1],L,g[3]||1,g[4]||0,g[5]||0,g[6]||0,G)}}return new Date(d)})(s),this.init()},r.init=function(){var s=this.$d;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()},r.$utils=function(){return E},r.isValid=function(){return this.$d.toString()!==f},r.isSame=function(s,m){var d=K(s);return this.startOf(m)<=d&&d<=this.endOf(m)},r.isAfter=function(s,m){return K(s)<this.startOf(m)},r.isBefore=function(s,m){return this.endOf(m)<K(s)},r.$g=function(s,m,d){return E.u(s)?this[m]:this.set(d,s)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(s,m){var d=this,D=!!E.u(m)||m,g=E.p(s),L=function(ae,W){var Q=E.w(d.$u?Date.UTC(d.$y,W,ae):new Date(d.$y,W,ae),d);return D?Q:Q.endOf(R)},G=function(ae,W){return E.w(d.toDate()[ae].apply(d.toDate("s"),(D?[0,0,0,0]:[23,59,59,999]).slice(W)),d)},H=this.$W,B=this.$M,$=this.$D,ne="set"+(this.$u?"UTC":"");switch(g){case w:return D?L(1,0):L(31,11);case p:return D?L(1,B):L(0,B+1);case A:var ie=this.$locale().weekStart||0,re=(H<ie?H+7:H)-ie;return L(D?$-re:$+(6-re),B);case R:case M:return G(ne+"Hours",0);case h:return G(ne+"Minutes",1);case c:return G(ne+"Seconds",2);case u:return G(ne+"Milliseconds",3);default:return this.clone()}},r.endOf=function(s){return this.startOf(s,!1)},r.$set=function(s,m){var d,D=E.p(s),g="set"+(this.$u?"UTC":""),L=(d={},d[R]=g+"Date",d[M]=g+"Date",d[p]=g+"Month",d[w]=g+"FullYear",d[h]=g+"Hours",d[c]=g+"Minutes",d[u]=g+"Seconds",d[l]=g+"Milliseconds",d)[D],G=D===R?this.$D+(m-this.$W):m;if(D===p||D===w){var H=this.clone().set(M,1);H.$d[L](G),H.init(),this.$d=H.set(M,Math.min(this.$D,H.daysInMonth())).$d}else L&&this.$d[L](G);return this.init(),this},r.set=function(s,m){return this.clone().$set(s,m)},r.get=function(s){return this[E.p(s)]()},r.add=function(s,m){var d,D=this;s=Number(s);var g=E.p(m),L=function(B){var $=K(D);return E.w($.date($.date()+Math.round(B*s)),D)};if(g===p)return this.set(p,this.$M+s);if(g===w)return this.set(w,this.$y+s);if(g===R)return L(1);if(g===A)return L(7);var G=(d={},d[c]=t,d[h]=o,d[u]=n,d)[g]||1,H=this.$d.getTime()+s*G;return E.w(H,this)},r.subtract=function(s,m){return this.add(-1*s,m)},r.format=function(s){var m=this,d=this.$locale();if(!this.isValid())return d.invalidDate||f;var D=s||"YYYY-MM-DDTHH:mm:ssZ",g=E.z(this),L=this.$H,G=this.$m,H=this.$M,B=d.weekdays,$=d.months,ne=d.meridiem,ie=function(W,Q,se,Te){return W&&(W[Q]||W(m,D))||se[Q].slice(0,Te)},re=function(W){return E.s(L%12||12,W,"0")},ae=ne||function(W,Q,se){var Te=W<12?"AM":"PM";return se?Te.toLowerCase():Te};return D.replace(k,(function(W,Q){return Q||(function(se){switch(se){case"YY":return String(m.$y).slice(-2);case"YYYY":return E.s(m.$y,4,"0");case"M":return H+1;case"MM":return E.s(H+1,2,"0");case"MMM":return ie(d.monthsShort,H,$,3);case"MMMM":return ie($,H);case"D":return m.$D;case"DD":return E.s(m.$D,2,"0");case"d":return String(m.$W);case"dd":return ie(d.weekdaysMin,m.$W,B,2);case"ddd":return ie(d.weekdaysShort,m.$W,B,3);case"dddd":return B[m.$W];case"H":return String(L);case"HH":return E.s(L,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return ae(L,G,!0);case"A":return ae(L,G,!1);case"m":return String(G);case"mm":return E.s(G,2,"0");case"s":return String(m.$s);case"ss":return E.s(m.$s,2,"0");case"SSS":return E.s(m.$ms,3,"0");case"Z":return g}return null})(W)||g.replace(":","")}))},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(s,m,d){var D,g=this,L=E.p(m),G=K(s),H=(G.utcOffset()-this.utcOffset())*t,B=this-G,$=function(){return E.m(g,G)};switch(L){case w:D=$()/12;break;case p:D=$();break;case y:D=$()/3;break;case A:D=(B-H)/6048e5;break;case R:D=(B-H)/864e5;break;case h:D=B/o;break;case c:D=B/t;break;case u:D=B/n;break;default:D=B}return d?D:E.a(D)},r.daysInMonth=function(){return this.endOf(p).$D},r.$locale=function(){return I[this.$L]},r.locale=function(s,m){if(!s)return this.$L;var d=this.clone(),D=z(s,m,!0);return D&&(d.$L=D),d},r.clone=function(){return E.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},P})(),Ne=Z.prototype;return K.prototype=Ne,[["$ms",l],["$s",u],["$m",c],["$H",h],["$W",R],["$M",p],["$y",w],["$D",M]].forEach((function(P){Ne[P[1]]=function(r){return this.$g(r,P[0],P[1])}})),K.extend=function(P,r){return P.$i||(P(r,Z,K),P.$i=!0),K},K.locale=z,K.isDayjs=V,K.unix=function(P){return K(1e3*P)},K.en=I[T],K.Ls=I,K.p={},K}))})(me)),me.exports}var Vi=Ve();const J=q(Vi);var fe={exports:{}},Zi=fe.exports,Ze;function Wi(){return Ze||(Ze=1,(function(i,e){(function(n,t){i.exports=t()})(Zi,(function(){return function(n,t){var o=t.prototype,l=o.format;o.format=function(u){var c=this,h=this.$locale();if(!this.isValid())return l.bind(this)(u);var R=this.$utils(),A=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(p){switch(p){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return h.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return h.ordinal(c.week(),"W");case"w":case"ww":return R.s(c.week(),p==="w"?1:2,"0");case"W":case"WW":return R.s(c.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return R.s(String(c.$H===0?24:c.$H),p==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return p}}));return l.bind(this)(A)}}}))})(fe)),fe.exports}var qi=Wi();const ji=q(qi);var he={exports:{}},Ji=he.exports,We;function Xi(){return We||(We=1,(function(i,e){(function(n,t){i.exports=t()})(Ji,(function(){return function(n,t,o){t.prototype.isBetween=function(l,u,c,h){var R=o(l),A=o(u),p=(h=h||"()")[0]==="(",y=h[1]===")";return(p?this.isAfter(R,c):!this.isBefore(R,c))&&(y?this.isBefore(A,c):!this.isAfter(A,c))||(p?this.isBefore(R,c):!this.isAfter(R,c))&&(y?this.isAfter(A,c):!this.isBefore(A,c))}}}))})(he)),he.exports}var Qi=Xi();const ea=q(Qi);var ge={exports:{}},ia=ge.exports,qe;function aa(){return qe||(qe=1,(function(i,e){(function(n,t){i.exports=t()})(ia,(function(){return function(n,t){t.prototype.isSameOrAfter=function(o,l){return this.isSame(o,l)||this.isAfter(o,l)}}}))})(ge)),ge.exports}var ta=aa();const na=q(ta);var ye={exports:{}},oa=ye.exports,je;function ra(){return je||(je=1,(function(i,e){(function(n,t){i.exports=t()})(oa,(function(){return function(n,t){t.prototype.isSameOrBefore=function(o,l){return this.isSame(o,l)||this.isBefore(o,l)}}}))})(ye)),ye.exports}var sa=ra();const la=q(sa);var pe={exports:{}},ua=pe.exports,Je;function ca(){return Je||(Je=1,(function(i,e){(function(n,t){i.exports=t()})(ua,(function(){return function(n,t,o){var l=t.prototype,u=function(p){return p&&(p.indexOf?p:p.s)},c=function(p,y,w,M,f){var N=p.name?p:p.$locale(),k=u(N[y]),C=u(N[w]),O=k||C.map((function(T){return T.slice(0,M)}));if(!f)return O;var F=N.weekStart;return O.map((function(T,I){return O[(I+(F||0))%7]}))},h=function(){return o.Ls[o.locale()]},R=function(p,y){return p.formats[y]||(function(w){return w.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(M,f,N){return f||N.slice(1)}))})(p.formats[y.toUpperCase()])},A=function(){var p=this;return{months:function(y){return y?y.format("MMMM"):c(p,"months")},monthsShort:function(y){return y?y.format("MMM"):c(p,"monthsShort","months",3)},firstDayOfWeek:function(){return p.$locale().weekStart||0},weekdays:function(y){return y?y.format("dddd"):c(p,"weekdays")},weekdaysMin:function(y){return y?y.format("dd"):c(p,"weekdaysMin","weekdays",2)},weekdaysShort:function(y){return y?y.format("ddd"):c(p,"weekdaysShort","weekdays",3)},longDateFormat:function(y){return R(p.$locale(),y)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};l.localeData=function(){return A.bind(this)()},o.localeData=function(){var p=h();return{firstDayOfWeek:function(){return p.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(y){return R(p,y)},meridiem:p.meridiem,ordinal:p.ordinal}},o.months=function(){return c(h(),"months")},o.monthsShort=function(){return c(h(),"monthsShort","months",3)},o.weekdays=function(p){return c(h(),"weekdays",null,null,p)},o.weekdaysShort=function(p){return c(h(),"weekdaysShort","weekdays",3,p)},o.weekdaysMin=function(p){return c(h(),"weekdaysMin","weekdays",2,p)}}}))})(pe)),pe.exports}var da=ca();const ma=q(da);var De={exports:{}},fa=De.exports,Xe;function ha(){return Xe||(Xe=1,(function(i,e){(function(n,t){i.exports=t()})(fa,(function(){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"};return function(t,o,l){var u=o.prototype,c=u.format;l.en.formats=n,u.format=function(h){h===void 0&&(h="YYYY-MM-DDTHH:mm:ssZ");var R=this.$locale().formats,A=(function(p,y){return p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(w,M,f){var N=f&&f.toUpperCase();return M||y[f]||n[f]||y[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(k,C,O){return C||O.slice(1)}))}))})(h,R===void 0?{}:R);return c.call(this,A)}}}))})(De)),De.exports}var ga=ha();const ya=q(ga);var be={exports:{}},pa=be.exports,Qe;function Da(){return Qe||(Qe=1,(function(i,e){(function(n,t){i.exports=t()})(pa,(function(){return function(n,t,o){var l=function(u,c){if(!c||!c.length||c.length===1&&!c[0]||c.length===1&&Array.isArray(c[0])&&!c[0].length)return null;var h;c.length===1&&c[0].length>0&&(c=c[0]),h=(c=c.filter((function(A){return A})))[0];for(var R=1;R<c.length;R+=1)c[R].isValid()&&!c[R][u](h)||(h=c[R]);return h};o.max=function(){var u=[].slice.call(arguments,0);return l("isAfter",u)},o.min=function(){var u=[].slice.call(arguments,0);return l("isBefore",u)}}}))})(be)),be.exports}var ba=Da();const Sa=q(ba);var Se={exports:{}},va=Se.exports,ei;function Ra(){return ei||(ei=1,(function(i,e){(function(n,t){i.exports=t()})(va,(function(){return function(n,t,o){n=n||{};var l=t.prototype,u={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"};function c(R,A,p,y){return l.fromToBase(R,A,p,y)}o.en.relativeTime=u,l.fromToBase=function(R,A,p,y,w){for(var M,f,N,k=p.$locale().relativeTime||u,C=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=C.length,F=0;F<O;F+=1){var T=C[F];T.d&&(M=y?o(R).diff(p,T.d,!0):p.diff(R,T.d,!0));var I=(n.rounding||Math.round)(Math.abs(M));if(N=M>0,I<=T.r||!T.r){I<=1&&F>0&&(T=C[F-1]);var x=k[T.l];w&&(I=w(""+I)),f=typeof x=="string"?x.replace("%d",I):x(I,A,T.l,N);break}}if(A)return f;var V=N?k.future:k.past;return typeof V=="function"?V(f):V.replace("%s",f)},l.to=function(R,A){return c(R,A,this,!0)},l.from=function(R,A){return c(R,A,this)};var h=function(R){return R.$u?o.utc():o()};l.toNow=function(R){return this.to(h(this),R)},l.fromNow=function(R){return this.from(h(this),R)}}}))})(Se)),Se.exports}var Pa=Ra();const Aa=q(Pa);var ve={exports:{}},wa=ve.exports,ii;function Ma(){return ii||(ii=1,(function(i,e){(function(n,t){i.exports=t()})(wa,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(o,l,u){var c,h=function(y,w,M){M===void 0&&(M={});var f=new Date(y),N=(function(k,C){C===void 0&&(C={});var O=C.timeZoneName||"short",F=k+"|"+O,T=t[F];return T||(T=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:O}),t[F]=T),T})(w,M);return N.formatToParts(f)},R=function(y,w){for(var M=h(y,w),f=[],N=0;N<M.length;N+=1){var k=M[N],C=k.type,O=k.value,F=n[C];F>=0&&(f[F]=parseInt(O,10))}var T=f[3],I=T===24?0:T,x=f[0]+"-"+f[1]+"-"+f[2]+" "+I+":"+f[4]+":"+f[5]+":000",V=+y;return(u.utc(x).valueOf()-(V-=V%1e3))/6e4},A=l.prototype;A.tz=function(y,w){y===void 0&&(y=c);var M,f=this.utcOffset(),N=this.toDate(),k=N.toLocaleString("en-US",{timeZone:y}),C=Math.round((N-new Date(k))/1e3/60),O=15*-Math.round(N.getTimezoneOffset()/15)-C;if(!Number(O))M=this.utcOffset(0,w);else if(M=u(k,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(O,!0),w){var F=M.utcOffset();M=M.add(f-F,"minute")}return M.$x.$timezone=y,M},A.offsetName=function(y){var w=this.$x.$timezone||u.tz.guess(),M=h(this.valueOf(),w,{timeZoneName:y}).find((function(f){return f.type.toLowerCase()==="timezonename"}));return M&&M.value};var p=A.startOf;A.startOf=function(y,w){if(!this.$x||!this.$x.$timezone)return p.call(this,y,w);var M=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return p.call(M,y,w).tz(this.$x.$timezone,!0)},u.tz=function(y,w,M){var f=M&&w,N=M||w||c,k=R(+u(),N);if(typeof y!="string")return u(y).tz(N);var C=(function(I,x,V){var z=I-60*x*1e3,K=R(z,V);if(x===K)return[z,x];var E=R(z-=60*(K-x)*1e3,V);return K===E?[z,K]:[I-60*Math.min(K,E)*1e3,Math.max(K,E)]})(u.utc(y,f).valueOf(),k,N),O=C[0],F=C[1],T=u(O).utcOffset(F);return T.$x.$timezone=N,T},u.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},u.tz.setDefault=function(y){c=y}}}))})(ve)),ve.exports}var Na=Ma();const Ta=q(Na);var Re={exports:{}},Ea=Re.exports,ai;function Ba(){return ai||(ai=1,(function(i,e){(function(n,t){i.exports=t()})(Ea,(function(){var n="minute",t=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(l,u,c){var h=u.prototype;c.utc=function(f){var N={date:f,utc:!0,args:arguments};return new u(N)},h.utc=function(f){var N=c(this.toDate(),{locale:this.$L,utc:!0});return f?N.add(this.utcOffset(),n):N},h.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var R=h.parse;h.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),R.call(this,f)};var A=h.init;h.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else A.call(this)};var p=h.utcOffset;h.utcOffset=function(f,N){var k=this.$utils().u;if(k(f))return this.$u?0:k(this.$offset)?p.call(this):this.$offset;if(typeof f=="string"&&(f=(function(T){T===void 0&&(T="");var I=T.match(t);if(!I)return null;var x=(""+I[0]).match(o)||["-",0,0],V=x[0],z=60*+x[1]+ +x[2];return z===0?0:V==="+"?z:-z})(f),f===null))return this;var C=Math.abs(f)<=16?60*f:f;if(C===0)return this.utc(N);var O=this.clone();if(N)return O.$offset=C,O.$u=!1,O;var F=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(O=this.local().add(C+F,n)).$offset=C,O.$x.$localOffset=F,O};var y=h.format;h.format=function(f){var N=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,N)},h.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var w=h.toDate;h.toDate=function(f){return f==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():w.call(this)};var M=h.diff;h.diff=function(f,N,k){if(f&&this.$u===f.$u)return M.call(this,f,N,k);var C=this.local(),O=c(f).local();return M.call(C,O,N,k)}}}))})(Re)),Re.exports}var Oa=Ba();const La=q(Oa);var Pe={exports:{}},Ca=Pe.exports,ti;function ka(){return ti||(ti=1,(function(i,e){(function(n,t){i.exports=t(Ve())})(Ca,(function(n){function t(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var o=t(n),l={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(u){return""+u+(u===1?"er":"")}};return o.default.locale(l,null,!0),l}))})(Pe)),Pe.exports}ka();var Ae={exports:{}},Ia=Ae.exports,ni;function Ka(){return ni||(ni=1,(function(i,e){(function(n,t){i.exports=t()})(Ia,(function(){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){var t=["th","st","nd","rd"],o=n%100;return"["+n+(t[(o-20)%10]||t[o]||t[0])+"]"}}}))})(Ae)),Ae.exports}Ka(),J.extend(ji),J.extend(ea),J.extend(na),J.extend(la),J.extend(ya),J.extend(ma),J.extend(Sa),J.extend(Aa),J.extend(Ta),J.extend(La);function X(i){if(i===null||typeof i!="object")return!1;const e=Object.getPrototypeOf(i);return e===Object.prototype||e===null}function we(i,e=new WeakSet){if(i==null||typeof i!="object"||e.has(i))return i;if(e.add(i),Array.isArray(i))return i.map(n=>we(n,e));if(X(i)){const n={};for(const t in i)Object.hasOwn(i,t)&&(n[t]=we(i[t],e));return n}return i}function ke(i,e,n=new WeakSet){if(!(!X(e)||!X(i))&&!(e===i||n.has(e))){n.add(e);for(const t in e)if(Object.hasOwn(e,t)){const o=e[t],l=i[t];X(o)&&X(l)?ke(l,o,n):Array.isArray(o)&&Array.isArray(l)?i[t]=oi(l,o,n):i[t]=we(o,n)}}}function oi(i,e,n){const t=i.slice();for(let o=0;o<e.length;o++){const l=e[o],u=t[o];if(X(l)&&X(u)){const c={...u};ke(c,l,n),t[o]=c}else Array.isArray(l)&&Array.isArray(u)?t[o]=oi(u,l,n):t[o]=we(l,n)}return t}function ri(i,...e){if(!X(i))throw new TypeError("Target must be a plain object");const n=new WeakSet;for(const t of e)t!=null&&ke(i,t,n);return i}const Y=[];for(let i=0;i<256;++i)Y.push((i+256).toString(16).slice(1));function Ga(i,e=0){return(Y[i[e+0]]+Y[i[e+1]]+Y[i[e+2]]+Y[i[e+3]]+"-"+Y[i[e+4]]+Y[i[e+5]]+"-"+Y[i[e+6]]+Y[i[e+7]]+"-"+Y[i[e+8]]+Y[i[e+9]]+"-"+Y[i[e+10]]+Y[i[e+11]]+Y[i[e+12]]+Y[i[e+13]]+Y[i[e+14]]+Y[i[e+15]]).toLowerCase()}let Ie;const Ua=new Uint8Array(16);function _a(){if(!Ie){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ie=crypto.getRandomValues.bind(crypto)}return Ie(Ua)}const si={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function Fa(i,e,n){i=i||{};const t=i.random??i.rng?.()??_a();if(t.length<16)throw new Error("Random bytes length must be >= 16");return t[6]=t[6]&15|64,t[8]=t[8]&63|128,Ga(t)}function za(i,e,n){return si.randomUUID&&!i?si.randomUUID():Fa(i)}const Ha=1500;class te{static instance=null;defaultOptions={callCount:1,interval:Ha,maxCallCount:20,minCallCount:1};pollings={};events={complete:()=>{},data:()=>{},error:()=>{}};static getInstance(){return te.instance||(te.instance=new te),te.instance}poll(e,n){const t=this.buildPollerOptions(n);return this.storeCurrentPolling(t),this.isActivePoller(t)&&e().then(o=>this.onRequest(o,e,t)).catch(o=>{this.dispatch("error",o)}),this}on(e,n){this.events[e]=n}stop(e){e&&this.pollings[e]&&delete this.pollings[e]}dispatch(e,n){this.events[e](n)}async onRequest(e,n,t){const o=S(e??{},v.Camel);this.isActivePoller(t)&&(this.isInProgress(o)&&t.callCount&&t.maxCallCount&&t.callCount<t.maxCallCount||!this.isInProgress(o)&&t.callCount&&t.minCallCount&&t.callCount<t.minCallCount?(this.isInProgress(o)||(o.meta=o.meta||{},o.meta.status="IN_PROGRESS"),t.callCount+=1,this.dispatch("data",o),t.interval&&await this.pause(t),this.poll(n,t)):this.isInProgress(o)?(o.meta=o.meta||{},o.meta.status="COMPLETE",this.onComplete(o,t)):this.onComplete(o,t))}onComplete(e,n){this.dispatch("data",e),this.dispatch("complete",e),this.removeCurrentPolling(n)}isInProgress(e){return(e?.meta?.status??"")!=="COMPLETE"}buildPollerOptions(e){const n=Object.entries(e).reduce((t,[o,l])=>{if(l!==void 0){const u=o;t[u]=l}return t},{});return{...this.defaultOptions,...n}}storeCurrentPolling(e){e.type&&!e.uuid&&(e.uuid=za(),this.pollings[e.type]=e.uuid)}isActivePoller(e){return e.type?!!this.pollings[e.type]&&this.pollings[e.type]===e.uuid:!0}pause(e){return new Promise(n=>{setTimeout(n,e.interval)})}removeCurrentPolling(e){e.type&&this.pollings[e.type]&&delete this.pollings[e.type]}}function li(i,e,n){const t=te.getInstance();return t.poll(i,e),n&&typeof n=="function"?(t.on("data",o=>{o instanceof Error?n(o,void 0,t):n(null,o,t)}),t.on("error",o=>{o instanceof Error?n(o):n(null,o)}),t):new Promise((o,l)=>{t.on("error",l),t.on("complete",u=>{u instanceof Error?l(u):o(u)})})}const ui="http://localhost".replace(/\/+$/,""),$a=i=>typeof Blob<"u"&&i instanceof Blob;class j{constructor(e=new Ke){this.configuration=e,this.middleware=e.middleware}middleware;withMiddleware(...e){const n=this.clone();return n.middleware=n.middleware.concat(...e),n}withPreMiddleware(...e){const n=e.map(t=>({pre:t}));return this.withMiddleware(...n)}withPostMiddleware(...e){const n=e.map(t=>({post:t}));return this.withMiddleware(...n)}async request(e,n){const{url:t,init:o}=this.createFetchParams(e,n),l=await this.fetchApi(t,o);if(l.status>=200&&l.status<300)return l;throw new ci(l,"Response returned an error code")}createFetchParams(e,n){let t=this.configuration.basePath+e.path;e.query!==void 0&&Object.keys(e.query).length!==0&&(t+="?"+this.configuration.queryParamsStringify(e.query));const o=typeof FormData<"u"&&e.body instanceof FormData||e.body instanceof URLSearchParams||$a(e.body)?e.body:JSON.stringify(e.body),l=Object.assign({},this.configuration.headers,e.headers);Object.keys(l).forEach(c=>l[c]===void 0?delete l[c]:{});const u={method:e.method,body:o,credentials:this.configuration.credentials,...ri({},n,{headers:ri({},l,n?.headers)})};return{url:t,init:u}}fetchApi=async(e,n)=>{let t={url:e,init:n};for(const l of this.middleware)l.pre&&(t=await l.pre({fetch:this.fetchApi,...t})||t);let o=await(this.configuration.fetchApi||fetch)(t.url,t.init);for(const l of this.middleware)l.post&&(o=await l.post({fetch:this.fetchApi,url:t.url,init:t.init,response:o.clone()})||o);return o};clone(){const e=this.constructor,n=new e(this.configuration);return n.middleware=this.middleware.slice(),n}}class ci extends Error{constructor(e,n){super(n),this.response=e}name="ResponseError"}class U extends Error{constructor(e,n){super(n),this.field=e}name="RequiredError"}const xa={csv:",",ssv:" ",tsv:" ",pipes:"|"};class Ke{constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:ui}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Ge}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const e=this.configuration.apiKey;if(e)return typeof e=="function"?e:()=>e}get accessToken(){const e=this.configuration.accessToken;if(e)return typeof e=="function"?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}function Ya(i,e){const n=i[e];return n!=null}function Ge(i,e=""){return Object.keys(i).map(n=>{const t=e+(e.length?`[${n}]`:n),o=i[n];if(o instanceof Array){const l=o.map(u=>encodeURIComponent(String(u))).join(`&${encodeURIComponent(t)}=`);return`${encodeURIComponent(t)}=${l}`}return o instanceof Date?`${encodeURIComponent(t)}=${encodeURIComponent(o.toISOString())}`:o instanceof Object?Ge(o,t):`${encodeURIComponent(t)}=${encodeURIComponent(String(o))}`}).filter(n=>n.length>0).join("&")}function Va(i,e){return Object.keys(i).reduce((n,t)=>({...n,[t]:e(i[t])}),{})}function Za(i){for(const e of i)if(e.contentType==="multipart/form-data")return!0;return!1}class _{constructor(e,n=t=>t){this.raw=e,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class Wa{constructor(e){this.raw=e}async value(){}}class qa{constructor(e){this.raw=e}async value(){return await this.raw.blob()}}class di{constructor(e){this.raw=e}async value(){return await this.raw.text()}}const ja={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},Ja={Cx:"bkg-cx",Cf:"bkg-cf",Created:"bkg-created",Af:"bkg-af",Ip:"bkg-ip",Pc:"bkg-pc",Pp:"bkg-pp",Qr:"bkg-qr"},Xa={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},Qa={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},et={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"},it={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},at={Aed:"AED",Afn:"AFN",All:"ALL",Amd:"AMD",Ang:"ANG",Aoa:"AOA",Ars:"ARS",Aud:"AUD",Awg:"AWG",Azn:"AZN",Bam:"BAM",Bbd:"BBD",Bdt:"BDT",Bhd:"BHD",Bgn:"BGN",Bif:"BIF",Bmd:"BMD",Bnd:"BND",Bob:"BOB",Brl:"BRL",Bsd:"BSD",Bwp:"BWP",Bzd:"BZD",Cad:"CAD",Cdf:"CDF",Chf:"CHF",Clp:"CLP",Cny:"CNY",Cop:"COP",Crc:"CRC",Cve:"CVE",Czk:"CZK",Djf:"DJF",Dkk:"DKK",Dop:"DOP",Dzd:"DZD",Egp:"EGP",Etb:"ETB",Eur:"EUR",Fjd:"FJD",Fkp:"FKP",Gbp:"GBP",Gel:"GEL",Gip:"GIP",Gmd:"GMD",Gnf:"GNF",Gtq:"GTQ",Gyd:"GYD",Hkd:"HKD",Hnl:"HNL",Htg:"HTG",Huf:"HUF",Idr:"IDR",Ils:"ILS",Inr:"INR",Isk:"ISK",Jmd:"JMD",Jod:"JOD",Jpy:"JPY",Kes:"KES",Kgs:"KGS",Khr:"KHR",Kmf:"KMF",Krw:"KRW",Kwd:"KWD",Kyd:"KYD",Kzt:"KZT",Lak:"LAK",Lbp:"LBP",Lkr:"LKR",Lrd:"LRD",Lsl:"LSL",Mad:"MAD",Mdl:"MDL",Mga:"MGA",Mkd:"MKD",Mmk:"MMK",Mnt:"MNT",Mop:"MOP",Mru:"MRU",Mur:"MUR",Mvr:"MVR",Mwk:"MWK",Mxn:"MXN",Myr:"MYR",Mzn:"MZN",Nad:"NAD",Ngn:"NGN",Nio:"NIO",Nok:"NOK",Npr:"NPR",Nzd:"NZD",Omr:"OMR",Pab:"PAB",Pen:"PEN",Pgk:"PGK",Php:"PHP",Pkr:"PKR",Pln:"PLN",Pyg:"PYG",Qar:"QAR",Ron:"RON",Rsd:"RSD",Rub:"RUB",Rwf:"RWF",Sar:"SAR",Sbd:"SBD",Scr:"SCR",Sek:"SEK",Sgd:"SGD",Shp:"SHP",Sll:"SLL",Sos:"SOS",Srd:"SRD",Std:"STD",Szl:"SZL",Thb:"THB",Tjs:"TJS",Tnd:"TND",Top:"TOP",Try:"TRY",Ttd:"TTD",Twd:"TWD",Tzs:"TZS",Uah:"UAH",Usd:"USD",Uyu:"UYU",Uzs:"UZS",Vnd:"VND",Vuv:"VUV",Wst:"WST",Xaf:"XAF",Xcd:"XCD",Xof:"XOF",Xpf:"XPF",Yer:"YER",Zar:"ZAR",Zmw:"ZMW"},tt={ApiError:"api_error",BadGateway:"bad_gateway",InternalServerError:"internal_server_error",InvalidRequestError:"invalid_request_error",RateLimitError:"rate_limit_error",ResourceGone:"resource_gone",ResourceNotFound:"resource_not_found",Unauthorized:"unauthorized",ValidationError:"validation_error"},nt={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"},ot={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},rt={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"},st={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},lt={CreditNote:"credit_note",Invoice:"invoice"},ut={CreditCard:"CREDIT_CARD"},ct={Coupon:"COUPON"},dt={DepositAccount:"DEPOSIT_ACCOUNT"},mt={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"},ft={Complete:"COMPLETE",InProgress:"IN_PROGRESS"},ht={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},gt={Night:"PER_NIGHT",Stay:"PER_STAY"},yt={Adult:"PER_ADULT",Booking:"PER_BOOKING"};class mi extends j{async createRaw(e,n){const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/booking_policies",method:"POST",headers:o,query:S(t,v.Snake),body:S(e.bookingPoliciesCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class fi extends j{async deleteRaw(e,n){if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");const t={},o={},l=await this.request({path:"/v1/bookings/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async delete(e,n){return this.deleteRaw(e,n)}async listRaw(e,n){const t={};e.endingBefore!==void 0&&(t.ending_before=e.endingBefore),e.filterByCheckInDate!==void 0&&(t.filter_by_check_in_date=e.filterByCheckInDate),e.filterByLastStatusUpdatedAt!==void 0&&(t.filter_by_last_status_updated_at=e.filterByLastStatusUpdatedAt),e.filterByStatus!==void 0&&(t.filter_by_status=e.filterByStatus),e.limit!==void 0&&(t.limit=e.limit),e.sortBy!==void 0&&(t.sort_by=e.sortBy),e.sortByOrder!==void 0&&(t.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(t.starting_after=e.startingAfter);const o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings",method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async list(e={},n){return this.listRaw(e,n)}async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async retrievePublicRaw(e,n){if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");const t={},o={},l=await this.request({path:"/v1/bookings/{token}/public".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async retrievePublic(e,n){return this.retrievePublicRaw(e,n)}async createRaw(e,n){const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings",method:"POST",headers:o,query:S(t,v.Snake),body:S(e.bookingCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}async couponChargeRaw(e,n){if(e.couponId===null||e.couponId===void 0)throw new U("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}",encodeURIComponent(String(e.couponId))).replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async couponCharge(e,n){return this.couponChargeRaw(e,n)}async paylaterRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}/pay-later".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async paylater(e,n){return this.paylaterRaw(e,n)}async confirmpaylaterRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}/pay-later/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async confirmpaylater(e,n){return this.confirmpaylaterRaw(e,n)}async confirmRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async confirm(e,n){return this.confirmRaw(e,n)}async updatePaymentMethodsRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/bookings/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:o,query:S(t,v.Snake),body:S(e.paymentMethodUpdatePayloadApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async updatePaymentMethods(e,n){return this.updatePaymentMethodsRaw(e,n)}}const pt={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},Dt={Asc:"asc",Desc:"desc"};class hi extends j{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");const t={};e.lang!==void 0&&(t.lang=e.lang);const o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotels/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:o,query:S(t,v.Snake)},n);return new _(l,u=>S(u,v.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}}const bt={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class gi extends j{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async createRaw(e,n){const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_offer_requests",method:"POST",headers:o,query:S(t,v.Snake),body:S(e.hotelOfferRequestCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class yi extends j{async listRaw(e,n){if(e.currency===null||e.currency===void 0)throw new U("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new U("hotelOfferRequestId","Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");const t={};e.currency!==void 0&&(t.currency=e.currency),e.endingBefore!==void 0&&(t.ending_before=e.endingBefore),e.filterByPrice!==void 0&&(t.filter_by_price=e.filterByPrice),e.filterByReviewRating!==void 0&&(t.filter_by_review_rating=e.filterByReviewRating),e.filterByStar!==void 0&&(t.filter_by_star=e.filterByStar),e.hotelOfferRequestId!==void 0&&(t.hotel_offer_request_id=e.hotelOfferRequestId),e.hotelRoomOffersLimit!==void 0&&(t.hotel_room_offers_limit=e.hotelRoomOffersLimit),e.includeHotelContentDetails!==void 0&&(t.include_hotel_content_details=e.includeHotelContentDetails),e.lang!==void 0&&(t.lang=e.lang),e.limit!==void 0&&(t.limit=e.limit),e.onlyRecommendedHotelOffers!==void 0&&(t.only_recommended_hotel_offers=e.onlyRecommendedHotelOffers),e.priceHistogramStepCount!==void 0&&(t.price_histogram_step_count=e.priceHistogramStepCount),e.sortBy!==void 0&&(t.sort_by=e.sortBy),e.sortByOrder!==void 0&&(t.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(t.starting_after=e.startingAfter);const o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_offers",method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async list(e,n,t){return await li(()=>this.listRaw(e,t),{type:Ce.HOTEL_SEARCH_POLLING,minCallCount:t?.minCallCount,maxCallCount:t?.maxCallCount},n)}}const St={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},vt={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},Rt={Asc:"asc",Desc:"desc"};class pi extends j{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");const t={},o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_room_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async createRaw(e,n){const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_room_offer_requests",method:"POST",headers:o,query:S(t,v.Snake),body:S(e.hotelRoomOfferRequestCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class Di extends j{async listRaw(e,n){if(e.currency===null||e.currency===void 0)throw new U("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new U("hotelRoomOfferRequestId","Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");const t={};e.currency!==void 0&&(t.currency=e.currency),e.hotelRoomOfferRequestId!==void 0&&(t.hotel_room_offer_request_id=e.hotelRoomOfferRequestId),e.lang!==void 0&&(t.lang=e.lang),e.limit!==void 0&&(t.limit=e.limit);const o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_room_offers",method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async list(e,n,t){return await li(()=>this.listRaw(e,t),{type:Ce.HOTEL_ROOM_OFFERS,minCallCount:t?.minCallCount,maxCallCount:t?.maxCallCount},n)}async createRaw(e,n){const t={},o={};o["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotel_room_offers",method:"POST",headers:o,query:S(t,v.Snake),body:S(e.hotelRoomOffersCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}const Pt={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class bi extends j{async deleteRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");const t={},o={},l=await this.request({path:"/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}",encodeURIComponent(String(e.id))).replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:o,query:S(t,v.Snake)},n);return new di(l)}async delete(e,n){return this.deleteRaw(e,n)}async updateRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");const t={},o={};o["Content-Type"]="application/json";const l=await this.request({path:"/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}",encodeURIComponent(String(e.id))).replace("{token}",encodeURIComponent(String(e.token))),method:"PATCH",headers:o,query:S(t,v.Snake),body:S(e.hotelRoomingListGuestsUpdateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async update(e,n){return this.updateRaw(e,n)}async createRaw(e,n){if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");const t={},o={};o["Content-Type"]="application/json";const l=await this.request({path:"/v1/hotel_rooming_list_guests/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:o,query:S(t,v.Snake),body:S(e.hotelRoomingListGuestsCreateApi,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async create(e,n){return this.createRaw(e,n)}}class Si extends j{async listRaw(e,n){if(e.token===null||e.token===void 0)throw new U("token","Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");const t={};e.lang!==void 0&&(t.lang=e.lang);const o={},l=await this.request({path:"/v1/hotel_rooming_lists/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:o,query:S(t,v.Snake)},n);return new _(l,u=>S(u,v.Camel)).value()}async list(e,n){return this.listRaw(e,n)}}const At={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class vi extends j{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new U("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");const t={};e.event!==void 0&&(t.event=e.event),e.lang!==void 0&&(t.lang=e.lang);const o={};this.configuration&&this.configuration.apiKey&&(o["x-api-key"]=this.configuration.apiKey("x-api-key"));const l=await this.request({path:"/v1/hotels/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:o,query:S(t,v.Snake)},n);return await new _(l,u=>S(u,v.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}}const wt={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};var Me={exports:{}},Ri;function Mt(){return Ri||(Ri=1,(function(i,e){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ce<"u"&&ce,t=(function(){function l(){this.fetch=!1,this.DOMException=n.DOMException}return l.prototype=n,new l})();(function(l){(function(u){var c=typeof l<"u"&&l||typeof self<"u"&&self||typeof ce<"u"&&ce||{},h={searchParams:"URLSearchParams"in c,iterable:"Symbol"in c&&"iterator"in Symbol,blob:"FileReader"in c&&"Blob"in c&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c};function R(r){return r&&DataView.prototype.isPrototypeOf(r)}if(h.arrayBuffer)var A=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(r){return r&&A.indexOf(Object.prototype.toString.call(r))>-1};function y(r){if(typeof r!="string"&&(r=String(r)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(r)||r==="")throw new TypeError('Invalid character in header field name: "'+r+'"');return r.toLowerCase()}function w(r){return typeof r!="string"&&(r=String(r)),r}function M(r){var s={next:function(){var m=r.shift();return{done:m===void 0,value:m}}};return h.iterable&&(s[Symbol.iterator]=function(){return s}),s}function f(r){this.map={},r instanceof f?r.forEach(function(s,m){this.append(m,s)},this):Array.isArray(r)?r.forEach(function(s){if(s.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+s.length);this.append(s[0],s[1])},this):r&&Object.getOwnPropertyNames(r).forEach(function(s){this.append(s,r[s])},this)}f.prototype.append=function(r,s){r=y(r),s=w(s);var m=this.map[r];this.map[r]=m?m+", "+s:s},f.prototype.delete=function(r){delete this.map[y(r)]},f.prototype.get=function(r){return r=y(r),this.has(r)?this.map[r]:null},f.prototype.has=function(r){return this.map.hasOwnProperty(y(r))},f.prototype.set=function(r,s){this.map[y(r)]=w(s)},f.prototype.forEach=function(r,s){for(var m in this.map)this.map.hasOwnProperty(m)&&r.call(s,this.map[m],m,this)},f.prototype.keys=function(){var r=[];return this.forEach(function(s,m){r.push(m)}),M(r)},f.prototype.values=function(){var r=[];return this.forEach(function(s){r.push(s)}),M(r)},f.prototype.entries=function(){var r=[];return this.forEach(function(s,m){r.push([m,s])}),M(r)},h.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function N(r){if(!r._noBody){if(r.bodyUsed)return Promise.reject(new TypeError("Already read"));r.bodyUsed=!0}}function k(r){return new Promise(function(s,m){r.onload=function(){s(r.result)},r.onerror=function(){m(r.error)}})}function C(r){var s=new FileReader,m=k(s);return s.readAsArrayBuffer(r),m}function O(r){var s=new FileReader,m=k(s),d=/charset=([A-Za-z0-9_-]+)/.exec(r.type),D=d?d[1]:"utf-8";return s.readAsText(r,D),m}function F(r){for(var s=new Uint8Array(r),m=new Array(s.length),d=0;d<s.length;d++)m[d]=String.fromCharCode(s[d]);return m.join("")}function T(r){if(r.slice)return r.slice(0);var s=new Uint8Array(r.byteLength);return s.set(new Uint8Array(r)),s.buffer}function I(){return this.bodyUsed=!1,this._initBody=function(r){this.bodyUsed=this.bodyUsed,this._bodyInit=r,r?typeof r=="string"?this._bodyText=r:h.blob&&Blob.prototype.isPrototypeOf(r)?this._bodyBlob=r:h.formData&&FormData.prototype.isPrototypeOf(r)?this._bodyFormData=r:h.searchParams&&URLSearchParams.prototype.isPrototypeOf(r)?this._bodyText=r.toString():h.arrayBuffer&&h.blob&&R(r)?(this._bodyArrayBuffer=T(r.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(r)||p(r))?this._bodyArrayBuffer=T(r):this._bodyText=r=Object.prototype.toString.call(r):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof r=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):h.searchParams&&URLSearchParams.prototype.isPrototypeOf(r)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},h.blob&&(this.blob=function(){var r=N(this);if(r)return r;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var r=N(this);return r||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(h.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var r=N(this);if(r)return r;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(F(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(K)}),this.json=function(){return this.text().then(JSON.parse)},this}var x=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function V(r){var s=r.toUpperCase();return x.indexOf(s)>-1?s:r}function z(r,s){if(!(this instanceof z))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');s=s||{};var m=s.body;if(r instanceof z){if(r.bodyUsed)throw new TypeError("Already read");this.url=r.url,this.credentials=r.credentials,s.headers||(this.headers=new f(r.headers)),this.method=r.method,this.mode=r.mode,this.signal=r.signal,!m&&r._bodyInit!=null&&(m=r._bodyInit,r.bodyUsed=!0)}else this.url=String(r);if(this.credentials=s.credentials||this.credentials||"same-origin",(s.headers||!this.headers)&&(this.headers=new f(s.headers)),this.method=V(s.method||this.method||"GET"),this.mode=s.mode||this.mode||null,this.signal=s.signal||this.signal||(function(){if("AbortController"in c){var g=new AbortController;return g.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&m)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(m),(this.method==="GET"||this.method==="HEAD")&&(s.cache==="no-store"||s.cache==="no-cache")){var d=/([?&])_=[^&]*/;if(d.test(this.url))this.url=this.url.replace(d,"$1_="+new Date().getTime());else{var D=/\?/;this.url+=(D.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}z.prototype.clone=function(){return new z(this,{body:this._bodyInit})};function K(r){var s=new FormData;return r.trim().split("&").forEach(function(m){if(m){var d=m.split("="),D=d.shift().replace(/\+/g," "),g=d.join("=").replace(/\+/g," ");s.append(decodeURIComponent(D),decodeURIComponent(g))}}),s}function E(r){var s=new f,m=r.replace(/\r?\n[\t ]+/g," ");return m.split("\r").map(function(d){return d.indexOf(`
|
|
2
|
-
`)===0?
|
|
1
|
+
(function(w,ie){typeof exports=="object"&&typeof module<"u"?ie(exports):typeof define=="function"&&define.amd?define(["exports"],ie):(w=typeof globalThis<"u"?globalThis:w||self,ie(w["@revolugo/booking-api-client"]={}))})(this,(function(w){"use strict";const ie=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Ct=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Et=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Tt=/[^\p{L}\d]+/giu,$e="$1\0$2",Ne="";function Ue(i){let e=i.trim();e=e.replace(ie,$e).replace(Ct,$e),e=e.replace(Tt,"\0");let n=0,t=e.length;for(;e.charAt(n)==="\0";)n++;if(n===t)return[];for(;e.charAt(t-1)==="\0";)t--;return e.slice(n,t).split(/\0/g)}function Ot(i){const e=Ue(i);for(let n=0;n<e.length;n++){const t=e[n],r=Et.exec(t);if(r){const s=r.index+(r[1]??r[2]).length;e.splice(n,1,t.slice(0,s),t.slice(s))}}return e}function xe(i,e){const[n,t,r]=ue(i,e);return n+t.map(se(e?.locale)).join(e?.delimiter??" ")+r}function Mt(i,e){const[n,t,r]=ue(i,e),s=se(e?.locale),u=ke(e?.locale),c=e?.mergeAmbiguousCharacters?_e(s,u):Ge(s,u);return n+t.map((h,R)=>R===0?s(h):c(h,R)).join(e?.delimiter??"")+r}function kt(i,e){const[n,t,r]=ue(i,e),s=se(e?.locale),u=ke(e?.locale),c=e?.mergeAmbiguousCharacters?_e(s,u):Ge(s,u);return n+t.map(c).join(e?.delimiter??"")+r}function _t(i,e){const[n,t,r]=ue(i,e),s=se(e?.locale),u=ke(e?.locale);return n+t.map(_e(s,u)).join(e?.delimiter??" ")+r}function He(i,e){return xe(i,{delimiter:"-",...e})}function Dt(i,e){return xe(i,{delimiter:"_",...e})}function se(i){return i===!1?e=>e.toLowerCase():e=>e.toLocaleLowerCase(i)}function ke(i){return i===!1?e=>e.toUpperCase():e=>e.toLocaleUpperCase(i)}function _e(i,e){return n=>`${e(n[0])}${i(n.slice(1))}`}function Ge(i,e){return(n,t)=>{const r=n[0];return(t>0&&r>="0"&&r<="9"?"_"+r:e(r))+i(n.slice(1))}}function ue(i,e={}){const n=e.split??(e.separateNumbers?Ot:Ue),t=e.prefixCharacters??Ne,r=e.suffixCharacters??Ne;let s=0,u=i.length;for(;s<i.length;){const c=i.charAt(s);if(!t.includes(c))break;s++}for(;u>s;){const c=u-1,h=i.charAt(c);if(!r.includes(h))break;u=c}return[i.slice(0,s),n(i.slice(s,u)),i.slice(u)]}var ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function z(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var le={exports:{}},bt=le.exports,Fe;function Bt(){return Fe||(Fe=1,(function(i,e){(function(n,t,r){i.exports=r(),i.exports.default=r()})("slugify",bt,function(){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"}`),t=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"}}');function r(s,u){if(typeof s!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var c=t[u.locale]||{},h=u.replacement===void 0?"-":u.replacement,R=u.trim===void 0?!0:u.trim,C=s.normalize().split("").reduce(function(y,m){var E=c[m];return E===void 0&&(E=n[m]),E===void 0&&(E=m),E===h&&(E=" "),y+E.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(C=C.replace(/[^A-Za-z0-9\s]/g,"")),R&&(C=C.trim()),C=C.replace(/\s+/g,h),u.lower&&(C=C.toLowerCase()),C}return r.extend=function(s){Object.assign(n,s)},r})})(le)),le.exports}var It=Bt();const Lt=z(It);function Pt(i){return Lt(He(i),{lower:!0,strict:!0})}var S=(i=>(i.Camel="camelCase",i.Capital="capitalCase",i.Param="paramCase",i.Pascal="pascalCase",i.Slug="slugCase",i.Snake="snakeCase",i))(S||{});const $t={camelCase:Mt,capitalCase:_t,paramCase:He,pascalCase:kt,slugCase:Pt,snakeCase:Dt};function Nt(i,e){return i.some(n=>typeof n=="string"?n===e:n.test(e))}function Ut(i){return i===Object(i)&&!Array.isArray(i)&&typeof i!="function"}function v(i,e,n={deep:!0}){return Ut(i)?Object.keys(i).reduce((t,r)=>{const s=n?.exclude&&Nt(n.exclude,r)?r:$t[e](r);return t[s]=n.deep?v(i[r],e,n):i[r],t},{}):Array.isArray(i)?i.map(t=>v(t,e,n)):i}var De=(i=>(i.V1="v1",i))(De||{}),Q=(i=>(i.Production="LIVE",i.Sandbox="SANDBOX",i.Staging="STAGING",i.CiCd="CI-CD",i.Local="LOCAL",i))(Q||{});const xt={LIVE:"https://booking-api.revolugo.com",SANDBOX:"https://booking-api.sandbox.revolugo.com",STAGING:"https://booking-api.staging.revolugo.com","CI-CD":"https://booking-api.staging.revolugo.com",LOCAL:"http://127.0.0.1:3001"};var be=(i=>(i.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",i.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",i))(be||{}),fe={exports:{}},Ht=fe.exports,Ke;function Ye(){return Ke||(Ke=1,(function(i,e){(function(n,t){i.exports=t()})(Ht,(function(){var n=1e3,t=6e4,r=36e5,s="millisecond",u="second",c="minute",h="hour",R="day",C="week",y="month",m="quarter",E="year",T="date",d="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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(A){var o=["th","st","nd","rd"],a=A%100;return"["+A+(o[(a-20)%10]||o[a]||o[0])+"]"}},D=function(A,o,a){var f=String(A);return!f||f.length>=o?A:""+Array(o+1-f.length).join(a)+A},x={s:D,z:function(A){var o=-A.utcOffset(),a=Math.abs(o),f=Math.floor(a/60),l=a%60;return(o<=0?"+":"-")+D(f,2,"0")+":"+D(l,2,"0")},m:function A(o,a){if(o.date()<a.date())return-A(a,o);var f=12*(a.year()-o.year())+(a.month()-o.month()),l=o.clone().add(f,y),g=a-l<0,p=o.clone().add(f+(g?-1:1),y);return+(-(f+(a-l)/(g?l-p:p-l))||0)},a:function(A){return A<0?Math.ceil(A)||0:Math.floor(A)},p:function(A){return{M:y,y:E,w:C,d:R,D:T,h,m:c,s:u,ms:s,Q:m}[A]||String(A||"").toLowerCase().replace(/s$/,"")},u:function(A){return A===void 0}},M="en",L={};L[M]=B;var K="$isDayjsObject",V=function(A){return A instanceof q||!(!A||!A[K])},H=function A(o,a,f){var l;if(!o)return M;if(typeof o=="string"){var g=o.toLowerCase();L[g]&&(l=g),a&&(L[g]=a,l=g);var p=o.split("-");if(!l&&p.length>1)return A(p[0])}else{var b=o.name;L[b]=o,l=b}return!f&&l&&(M=l),l||!f&&M},P=function(A,o){if(V(A))return A.clone();var a=typeof o=="object"?o:{};return a.date=A,a.args=arguments,new q(a)},k=x;k.l=H,k.i=V,k.w=function(A,o){return P(A,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var q=(function(){function A(a){this.$L=H(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[K]=!0}var o=A.prototype;return o.parse=function(a){this.$d=(function(f){var l=f.date,g=f.utc;if(l===null)return new Date(NaN);if(k.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var p=l.match(O);if(p){var b=p[2]-1||0,$=(p[7]||"0").substring(0,3);return g?new Date(Date.UTC(p[1],b,p[3]||1,p[4]||0,p[5]||0,p[6]||0,$)):new Date(p[1],b,p[3]||1,p[4]||0,p[5]||0,p[6]||0,$)}}return new Date(l)})(a),this.init()},o.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},o.$utils=function(){return k},o.isValid=function(){return this.$d.toString()!==d},o.isSame=function(a,f){var l=P(a);return this.startOf(f)<=l&&l<=this.endOf(f)},o.isAfter=function(a,f){return P(a)<this.startOf(f)},o.isBefore=function(a,f){return this.endOf(f)<P(a)},o.$g=function(a,f,l){return k.u(a)?this[f]:this.set(l,a)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(a,f){var l=this,g=!!k.u(f)||f,p=k.p(a),b=function(te,j){var X=k.w(l.$u?Date.UTC(l.$y,j,te):new Date(l.$y,j,te),l);return g?X:X.endOf(R)},$=function(te,j){return k.w(l.toDate()[te].apply(l.toDate("s"),(g?[0,0,0,0]:[23,59,59,999]).slice(j)),l)},G=this.$W,_=this.$M,F=this.$D,re="set"+(this.$u?"UTC":"");switch(p){case E:return g?b(1,0):b(31,11);case y:return g?b(1,_):b(0,_+1);case C:var ee=this.$locale().weekStart||0,oe=(G<ee?G+7:G)-ee;return b(g?F-oe:F+(6-oe),_);case R:case T:return $(re+"Hours",0);case h:return $(re+"Minutes",1);case c:return $(re+"Seconds",2);case u:return $(re+"Milliseconds",3);default:return this.clone()}},o.endOf=function(a){return this.startOf(a,!1)},o.$set=function(a,f){var l,g=k.p(a),p="set"+(this.$u?"UTC":""),b=(l={},l[R]=p+"Date",l[T]=p+"Date",l[y]=p+"Month",l[E]=p+"FullYear",l[h]=p+"Hours",l[c]=p+"Minutes",l[u]=p+"Seconds",l[s]=p+"Milliseconds",l)[g],$=g===R?this.$D+(f-this.$W):f;if(g===y||g===E){var G=this.clone().set(T,1);G.$d[b]($),G.init(),this.$d=G.set(T,Math.min(this.$D,G.daysInMonth())).$d}else b&&this.$d[b]($);return this.init(),this},o.set=function(a,f){return this.clone().$set(a,f)},o.get=function(a){return this[k.p(a)]()},o.add=function(a,f){var l,g=this;a=Number(a);var p=k.p(f),b=function(_){var F=P(g);return k.w(F.date(F.date()+Math.round(_*a)),g)};if(p===y)return this.set(y,this.$M+a);if(p===E)return this.set(E,this.$y+a);if(p===R)return b(1);if(p===C)return b(7);var $=(l={},l[c]=t,l[h]=r,l[u]=n,l)[p]||1,G=this.$d.getTime()+a*$;return k.w(G,this)},o.subtract=function(a,f){return this.add(-1*a,f)},o.format=function(a){var f=this,l=this.$locale();if(!this.isValid())return l.invalidDate||d;var g=a||"YYYY-MM-DDTHH:mm:ssZ",p=k.z(this),b=this.$H,$=this.$m,G=this.$M,_=l.weekdays,F=l.months,re=l.meridiem,ee=function(j,X,ae,Me){return j&&(j[X]||j(f,g))||ae[X].slice(0,Me)},oe=function(j){return k.s(b%12||12,j,"0")},te=re||function(j,X,ae){var Me=j<12?"AM":"PM";return ae?Me.toLowerCase():Me};return g.replace(I,(function(j,X){return X||(function(ae){switch(ae){case"YY":return String(f.$y).slice(-2);case"YYYY":return k.s(f.$y,4,"0");case"M":return G+1;case"MM":return k.s(G+1,2,"0");case"MMM":return ee(l.monthsShort,G,F,3);case"MMMM":return ee(F,G);case"D":return f.$D;case"DD":return k.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return ee(l.weekdaysMin,f.$W,_,2);case"ddd":return ee(l.weekdaysShort,f.$W,_,3);case"dddd":return _[f.$W];case"H":return String(b);case"HH":return k.s(b,2,"0");case"h":return oe(1);case"hh":return oe(2);case"a":return te(b,$,!0);case"A":return te(b,$,!1);case"m":return String($);case"mm":return k.s($,2,"0");case"s":return String(f.$s);case"ss":return k.s(f.$s,2,"0");case"SSS":return k.s(f.$ms,3,"0");case"Z":return p}return null})(j)||p.replace(":","")}))},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(a,f,l){var g,p=this,b=k.p(f),$=P(a),G=($.utcOffset()-this.utcOffset())*t,_=this-$,F=function(){return k.m(p,$)};switch(b){case E:g=F()/12;break;case y:g=F();break;case m:g=F()/3;break;case C:g=(_-G)/6048e5;break;case R:g=(_-G)/864e5;break;case h:g=_/r;break;case c:g=_/t;break;case u:g=_/n;break;default:g=_}return l?g:k.a(g)},o.daysInMonth=function(){return this.endOf(y).$D},o.$locale=function(){return L[this.$L]},o.locale=function(a,f){if(!a)return this.$L;var l=this.clone(),g=H(a,f,!0);return g&&(l.$L=g),l},o.clone=function(){return k.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},A})(),Oe=q.prototype;return P.prototype=Oe,[["$ms",s],["$s",u],["$m",c],["$H",h],["$W",R],["$M",y],["$y",E],["$D",T]].forEach((function(A){Oe[A[1]]=function(o){return this.$g(o,A[0],A[1])}})),P.extend=function(A,o){return A.$i||(A(o,q,P),A.$i=!0),P},P.locale=H,P.isDayjs=V,P.unix=function(A){return P(1e3*A)},P.en=L[M],P.Ls=L,P.p={},P}))})(fe)),fe.exports}var Gt=Ye();const Z=z(Gt);var de={exports:{}},Ft=de.exports,Ve;function Kt(){return Ve||(Ve=1,(function(i,e){(function(n,t){i.exports=t()})(Ft,(function(){return function(n,t){var r=t.prototype,s=r.format;r.format=function(u){var c=this,h=this.$locale();if(!this.isValid())return s.bind(this)(u);var R=this.$utils(),C=(u||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(y){switch(y){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return h.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return h.ordinal(c.week(),"W");case"w":case"ww":return R.s(c.week(),y==="w"?1:2,"0");case"W":case"WW":return R.s(c.isoWeek(),y==="W"?1:2,"0");case"k":case"kk":return R.s(String(c.$H===0?24:c.$H),y==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return y}}));return s.bind(this)(C)}}}))})(de)),de.exports}var Yt=Kt();const Vt=z(Yt);var he={exports:{}},qt=he.exports,qe;function jt(){return qe||(qe=1,(function(i,e){(function(n,t){i.exports=t()})(qt,(function(){return function(n,t,r){t.prototype.isBetween=function(s,u,c,h){var R=r(s),C=r(u),y=(h=h||"()")[0]==="(",m=h[1]===")";return(y?this.isAfter(R,c):!this.isBefore(R,c))&&(m?this.isBefore(C,c):!this.isAfter(C,c))||(y?this.isBefore(R,c):!this.isAfter(R,c))&&(m?this.isAfter(C,c):!this.isBefore(C,c))}}}))})(he)),he.exports}var zt=jt();const Wt=z(zt);var pe={exports:{}},Zt=pe.exports,je;function Jt(){return je||(je=1,(function(i,e){(function(n,t){i.exports=t()})(Zt,(function(){return function(n,t){t.prototype.isSameOrAfter=function(r,s){return this.isSame(r,s)||this.isAfter(r,s)}}}))})(pe)),pe.exports}var Xt=Jt();const Qt=z(Xt);var me={exports:{}},en=me.exports,ze;function tn(){return ze||(ze=1,(function(i,e){(function(n,t){i.exports=t()})(en,(function(){return function(n,t){t.prototype.isSameOrBefore=function(r,s){return this.isSame(r,s)||this.isBefore(r,s)}}}))})(me)),me.exports}var nn=tn();const rn=z(nn);var ye={exports:{}},on=ye.exports,We;function an(){return We||(We=1,(function(i,e){(function(n,t){i.exports=t()})(on,(function(){return function(n,t,r){var s=t.prototype,u=function(y){return y&&(y.indexOf?y:y.s)},c=function(y,m,E,T,d){var O=y.name?y:y.$locale(),I=u(O[m]),B=u(O[E]),D=I||B.map((function(M){return M.slice(0,T)}));if(!d)return D;var x=O.weekStart;return D.map((function(M,L){return D[(L+(x||0))%7]}))},h=function(){return r.Ls[r.locale()]},R=function(y,m){return y.formats[m]||(function(E){return E.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,d,O){return d||O.slice(1)}))})(y.formats[m.toUpperCase()])},C=function(){var y=this;return{months:function(m){return m?m.format("MMMM"):c(y,"months")},monthsShort:function(m){return m?m.format("MMM"):c(y,"monthsShort","months",3)},firstDayOfWeek:function(){return y.$locale().weekStart||0},weekdays:function(m){return m?m.format("dddd"):c(y,"weekdays")},weekdaysMin:function(m){return m?m.format("dd"):c(y,"weekdaysMin","weekdays",2)},weekdaysShort:function(m){return m?m.format("ddd"):c(y,"weekdaysShort","weekdays",3)},longDateFormat:function(m){return R(y.$locale(),m)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return C.bind(this)()},r.localeData=function(){var y=h();return{firstDayOfWeek:function(){return y.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(m){return R(y,m)},meridiem:y.meridiem,ordinal:y.ordinal}},r.months=function(){return c(h(),"months")},r.monthsShort=function(){return c(h(),"monthsShort","months",3)},r.weekdays=function(y){return c(h(),"weekdays",null,null,y)},r.weekdaysShort=function(y){return c(h(),"weekdaysShort","weekdays",3,y)},r.weekdaysMin=function(y){return c(h(),"weekdaysMin","weekdays",2,y)}}}))})(ye)),ye.exports}var sn=an();const un=z(sn);var ge={exports:{}},cn=ge.exports,Ze;function ln(){return Ze||(Ze=1,(function(i,e){(function(n,t){i.exports=t()})(cn,(function(){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"};return function(t,r,s){var u=r.prototype,c=u.format;s.en.formats=n,u.format=function(h){h===void 0&&(h="YYYY-MM-DDTHH:mm:ssZ");var R=this.$locale().formats,C=(function(y,m){return y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(E,T,d){var O=d&&d.toUpperCase();return T||m[d]||n[d]||m[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(I,B,D){return B||D.slice(1)}))}))})(h,R===void 0?{}:R);return c.call(this,C)}}}))})(ge)),ge.exports}var fn=ln();const dn=z(fn);var we={exports:{}},hn=we.exports,Je;function pn(){return Je||(Je=1,(function(i,e){(function(n,t){i.exports=t()})(hn,(function(){return function(n,t,r){var s=function(u,c){if(!c||!c.length||c.length===1&&!c[0]||c.length===1&&Array.isArray(c[0])&&!c[0].length)return null;var h;c.length===1&&c[0].length>0&&(c=c[0]),h=(c=c.filter((function(C){return C})))[0];for(var R=1;R<c.length;R+=1)c[R].isValid()&&!c[R][u](h)||(h=c[R]);return h};r.max=function(){var u=[].slice.call(arguments,0);return s("isAfter",u)},r.min=function(){var u=[].slice.call(arguments,0);return s("isBefore",u)}}}))})(we)),we.exports}var mn=pn();const yn=z(mn);var ve={exports:{}},gn=ve.exports,Xe;function wn(){return Xe||(Xe=1,(function(i,e){(function(n,t){i.exports=t()})(gn,(function(){return function(n,t,r){n=n||{};var s=t.prototype,u={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"};function c(R,C,y,m){return s.fromToBase(R,C,y,m)}r.en.relativeTime=u,s.fromToBase=function(R,C,y,m,E){for(var T,d,O,I=y.$locale().relativeTime||u,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"}],D=B.length,x=0;x<D;x+=1){var M=B[x];M.d&&(T=m?r(R).diff(y,M.d,!0):y.diff(R,M.d,!0));var L=(n.rounding||Math.round)(Math.abs(T));if(O=T>0,L<=M.r||!M.r){L<=1&&x>0&&(M=B[x-1]);var K=I[M.l];E&&(L=E(""+L)),d=typeof K=="string"?K.replace("%d",L):K(L,C,M.l,O);break}}if(C)return d;var V=O?I.future:I.past;return typeof V=="function"?V(d):V.replace("%s",d)},s.to=function(R,C){return c(R,C,this,!0)},s.from=function(R,C){return c(R,C,this)};var h=function(R){return R.$u?r.utc():r()};s.toNow=function(R){return this.to(h(this),R)},s.fromNow=function(R){return this.from(h(this),R)}}}))})(ve)),ve.exports}var vn=wn();const Sn=z(vn);var Se={exports:{}},Rn=Se.exports,Qe;function An(){return Qe||(Qe=1,(function(i,e){(function(n,t){i.exports=t()})(Rn,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(r,s,u){var c,h=function(m,E,T){T===void 0&&(T={});var d=new Date(m),O=(function(I,B){B===void 0&&(B={});var D=B.timeZoneName||"short",x=I+"|"+D,M=t[x];return M||(M=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:I,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:D}),t[x]=M),M})(E,T);return O.formatToParts(d)},R=function(m,E){for(var T=h(m,E),d=[],O=0;O<T.length;O+=1){var I=T[O],B=I.type,D=I.value,x=n[B];x>=0&&(d[x]=parseInt(D,10))}var M=d[3],L=M===24?0:M,K=d[0]+"-"+d[1]+"-"+d[2]+" "+L+":"+d[4]+":"+d[5]+":000",V=+m;return(u.utc(K).valueOf()-(V-=V%1e3))/6e4},C=s.prototype;C.tz=function(m,E){m===void 0&&(m=c);var T,d=this.utcOffset(),O=this.toDate(),I=O.toLocaleString("en-US",{timeZone:m}),B=Math.round((O-new Date(I))/1e3/60),D=15*-Math.round(O.getTimezoneOffset()/15)-B;if(!Number(D))T=this.utcOffset(0,E);else if(T=u(I,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(D,!0),E){var x=T.utcOffset();T=T.add(d-x,"minute")}return T.$x.$timezone=m,T},C.offsetName=function(m){var E=this.$x.$timezone||u.tz.guess(),T=h(this.valueOf(),E,{timeZoneName:m}).find((function(d){return d.type.toLowerCase()==="timezonename"}));return T&&T.value};var y=C.startOf;C.startOf=function(m,E){if(!this.$x||!this.$x.$timezone)return y.call(this,m,E);var T=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return y.call(T,m,E).tz(this.$x.$timezone,!0)},u.tz=function(m,E,T){var d=T&&E,O=T||E||c,I=R(+u(),O);if(typeof m!="string")return u(m).tz(O);var B=(function(L,K,V){var H=L-60*K*1e3,P=R(H,V);if(K===P)return[H,K];var k=R(H-=60*(P-K)*1e3,V);return P===k?[H,P]:[L-60*Math.min(P,k)*1e3,Math.max(P,k)]})(u.utc(m,d).valueOf(),I,O),D=B[0],x=B[1],M=u(D).utcOffset(x);return M.$x.$timezone=O,M},u.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},u.tz.setDefault=function(m){c=m}}}))})(Se)),Se.exports}var Cn=An();const En=z(Cn);var Re={exports:{}},Tn=Re.exports,et;function On(){return et||(et=1,(function(i,e){(function(n,t){i.exports=t()})(Tn,(function(){var n="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(s,u,c){var h=u.prototype;c.utc=function(d){var O={date:d,utc:!0,args:arguments};return new u(O)},h.utc=function(d){var O=c(this.toDate(),{locale:this.$L,utc:!0});return d?O.add(this.utcOffset(),n):O},h.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var R=h.parse;h.parse=function(d){d.utc&&(this.$u=!0),this.$utils().u(d.$offset)||(this.$offset=d.$offset),R.call(this,d)};var C=h.init;h.init=function(){if(this.$u){var d=this.$d;this.$y=d.getUTCFullYear(),this.$M=d.getUTCMonth(),this.$D=d.getUTCDate(),this.$W=d.getUTCDay(),this.$H=d.getUTCHours(),this.$m=d.getUTCMinutes(),this.$s=d.getUTCSeconds(),this.$ms=d.getUTCMilliseconds()}else C.call(this)};var y=h.utcOffset;h.utcOffset=function(d,O){var I=this.$utils().u;if(I(d))return this.$u?0:I(this.$offset)?y.call(this):this.$offset;if(typeof d=="string"&&(d=(function(M){M===void 0&&(M="");var L=M.match(t);if(!L)return null;var K=(""+L[0]).match(r)||["-",0,0],V=K[0],H=60*+K[1]+ +K[2];return H===0?0:V==="+"?H:-H})(d),d===null))return this;var B=Math.abs(d)<=16?60*d:d;if(B===0)return this.utc(O);var D=this.clone();if(O)return D.$offset=B,D.$u=!1,D;var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(D=this.local().add(B+x,n)).$offset=B,D.$x.$localOffset=x,D};var m=h.format;h.format=function(d){var O=d||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,O)},h.valueOf=function(){var d=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*d},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var E=h.toDate;h.toDate=function(d){return d==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var T=h.diff;h.diff=function(d,O,I){if(d&&this.$u===d.$u)return T.call(this,d,O,I);var B=this.local(),D=c(d).local();return T.call(B,D,O,I)}}}))})(Re)),Re.exports}var Mn=On();const kn=z(Mn);var Ae={exports:{}},_n=Ae.exports,tt;function Dn(){return tt||(tt=1,(function(i,e){(function(n,t){i.exports=t(Ye())})(_n,(function(n){function t(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var r=t(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(u){return""+u+(u===1?"er":"")}};return r.default.locale(s,null,!0),s}))})(Ae)),Ae.exports}Dn();var Ce={exports:{}},bn=Ce.exports,nt;function Bn(){return nt||(nt=1,(function(i,e){(function(n,t){i.exports=t()})(bn,(function(){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){var t=["th","st","nd","rd"],r=n%100;return"["+n+(t[(r-20)%10]||t[r]||t[0])+"]"}}}))})(Ce)),Ce.exports}Bn(),Z.extend(Vt),Z.extend(Wt),Z.extend(Qt),Z.extend(rn),Z.extend(dn),Z.extend(un),Z.extend(yn),Z.extend(Sn),Z.extend(En),Z.extend(kn);function J(i){if(i===null||typeof i!="object")return!1;const e=Object.getPrototypeOf(i);return e===Object.prototype||e===null}function Ee(i,e=new WeakSet){if(i==null||typeof i!="object"||e.has(i))return i;if(e.add(i),Array.isArray(i))return i.map(n=>Ee(n,e));if(J(i)){const n={};for(const t in i)Object.hasOwn(i,t)&&(n[t]=Ee(i[t],e));return n}return i}function Be(i,e,n=new WeakSet){if(!(!J(e)||!J(i))&&!(e===i||n.has(e))){n.add(e);for(const t in e)if(Object.hasOwn(e,t)){const r=e[t],s=i[t];J(r)&&J(s)?Be(s,r,n):Array.isArray(r)&&Array.isArray(s)?i[t]=rt(s,r,n):i[t]=Ee(r,n)}}}function rt(i,e,n){const t=i.slice();for(let r=0;r<e.length;r++){const s=e[r],u=t[r];if(J(s)&&J(u)){const c={...u};Be(c,s,n),t[r]=c}else Array.isArray(s)&&Array.isArray(u)?t[r]=rt(u,s,n):t[r]=Ee(s,n)}return t}function it(i,...e){if(!J(i))throw new TypeError("Target must be a plain object");const n=new WeakSet;for(const t of e)t!=null&&Be(i,t,n);return i}const Y=[];for(let i=0;i<256;++i)Y.push((i+256).toString(16).slice(1));function In(i,e=0){return(Y[i[e+0]]+Y[i[e+1]]+Y[i[e+2]]+Y[i[e+3]]+"-"+Y[i[e+4]]+Y[i[e+5]]+"-"+Y[i[e+6]]+Y[i[e+7]]+"-"+Y[i[e+8]]+Y[i[e+9]]+"-"+Y[i[e+10]]+Y[i[e+11]]+Y[i[e+12]]+Y[i[e+13]]+Y[i[e+14]]+Y[i[e+15]]).toLowerCase()}let Ie;const Ln=new Uint8Array(16);function Pn(){if(!Ie){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Ie=crypto.getRandomValues.bind(crypto)}return Ie(Ln)}const ot={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function $n(i,e,n){i=i||{};const t=i.random??i.rng?.()??Pn();if(t.length<16)throw new Error("Random bytes length must be >= 16");return t[6]=t[6]&15|64,t[8]=t[8]&63|128,In(t)}function Nn(i,e,n){return ot.randomUUID&&!i?ot.randomUUID():$n(i)}const Un=1500;class ne{static instance=null;defaultOptions={callCount:1,interval:Un,maxCallCount:20,minCallCount:1};pollings={};events={complete:()=>{},data:()=>{},error:()=>{}};static getInstance(){return ne.instance||(ne.instance=new ne),ne.instance}poll(e,n){const t=this.buildPollerOptions(n);return this.storeCurrentPolling(t),this.isActivePoller(t)&&e().then(r=>this.onRequest(r,e,t)).catch(r=>{this.dispatch("error",r)}),this}on(e,n){this.events[e]=n}stop(e){e&&this.pollings[e]&&delete this.pollings[e]}dispatch(e,n){this.events[e](n)}async onRequest(e,n,t){const r=v(e??{},S.Camel);this.isActivePoller(t)&&(this.isInProgress(r)&&t.callCount&&t.maxCallCount&&t.callCount<t.maxCallCount||!this.isInProgress(r)&&t.callCount&&t.minCallCount&&t.callCount<t.minCallCount?(this.isInProgress(r)||(r.meta=r.meta||{},r.meta.status="IN_PROGRESS"),t.callCount+=1,this.dispatch("data",r),t.interval&&await this.pause(t),this.poll(n,t)):this.isInProgress(r)?(r.meta=r.meta||{},r.meta.status="COMPLETE",this.onComplete(r,t)):this.onComplete(r,t))}onComplete(e,n){this.dispatch("data",e),this.dispatch("complete",e),this.removeCurrentPolling(n)}isInProgress(e){return(e?.meta?.status??"")!=="COMPLETE"}buildPollerOptions(e){const n=Object.entries(e).reduce((t,[r,s])=>{if(s!==void 0){const u=r;t[u]=s}return t},{});return{...this.defaultOptions,...n}}storeCurrentPolling(e){e.type&&!e.uuid&&(e.uuid=Nn(),this.pollings[e.type]=e.uuid)}isActivePoller(e){return e.type?!!this.pollings[e.type]&&this.pollings[e.type]===e.uuid:!0}pause(e){return new Promise(n=>{setTimeout(n,e.interval)})}removeCurrentPolling(e){e.type&&this.pollings[e.type]&&delete this.pollings[e.type]}}function at(i,e,n){const t=ne.getInstance();return t.poll(i,e),n&&typeof n=="function"?(t.on("data",r=>{r instanceof Error?n(r,void 0,t):n(null,r,t)}),t.on("error",r=>{r instanceof Error?n(r):n(null,r)}),t):new Promise((r,s)=>{t.on("error",s),t.on("complete",u=>{u instanceof Error?s(u):r(u)})})}const st="http://localhost".replace(/\/+$/,""),xn=i=>typeof Blob<"u"&&i instanceof Blob;class W{constructor(e=new Le){this.configuration=e,this.middleware=e.middleware}middleware;withMiddleware(...e){const n=this.clone();return n.middleware=n.middleware.concat(...e),n}withPreMiddleware(...e){const n=e.map(t=>({pre:t}));return this.withMiddleware(...n)}withPostMiddleware(...e){const n=e.map(t=>({post:t}));return this.withMiddleware(...n)}async request(e,n){const{url:t,init:r}=this.createFetchParams(e,n),s=await this.fetchApi(t,r);if(s.status>=200&&s.status<300)return s;throw new ut(s,"Response returned an error code")}createFetchParams(e,n){let t=this.configuration.basePath+e.path;e.query!==void 0&&Object.keys(e.query).length!==0&&(t+="?"+this.configuration.queryParamsStringify(e.query));const r=typeof FormData<"u"&&e.body instanceof FormData||e.body instanceof URLSearchParams||xn(e.body)?e.body:JSON.stringify(e.body),s=Object.assign({},this.configuration.headers,e.headers);Object.keys(s).forEach(c=>s[c]===void 0?delete s[c]:{});const u={method:e.method,body:r,credentials:this.configuration.credentials,...it({},n,{headers:it({},s,n?.headers)})};return{url:t,init:u}}fetchApi=async(e,n)=>{let t={url:e,init:n};for(const s of this.middleware)s.pre&&(t=await s.pre({fetch:this.fetchApi,...t})||t);let r=await(this.configuration.fetchApi||fetch)(t.url,t.init);for(const s of this.middleware)s.post&&(r=await s.post({fetch:this.fetchApi,url:t.url,init:t.init,response:r.clone()})||r);return r};clone(){const e=this.constructor,n=new e(this.configuration);return n.middleware=this.middleware.slice(),n}}class ut extends Error{constructor(e,n){super(n),this.response=e}name="ResponseError"}class N extends Error{constructor(e,n){super(n),this.field=e}name="RequiredError"}const Hn={csv:",",ssv:" ",tsv:" ",pipes:"|"};class Le{constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:st}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Pe}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const e=this.configuration.apiKey;if(e)return typeof e=="function"?e:()=>e}get accessToken(){const e=this.configuration.accessToken;if(e)return typeof e=="function"?e:async()=>e}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}function Gn(i,e){const n=i[e];return n!=null}function Pe(i,e=""){return Object.keys(i).map(n=>{const t=e+(e.length?`[${n}]`:n),r=i[n];if(r instanceof Array){const s=r.map(u=>encodeURIComponent(String(u))).join(`&${encodeURIComponent(t)}=`);return`${encodeURIComponent(t)}=${s}`}return r instanceof Date?`${encodeURIComponent(t)}=${encodeURIComponent(r.toISOString())}`:r instanceof Object?Pe(r,t):`${encodeURIComponent(t)}=${encodeURIComponent(String(r))}`}).filter(n=>n.length>0).join("&")}function Fn(i,e){return Object.keys(i).reduce((n,t)=>({...n,[t]:e(i[t])}),{})}function Kn(i){for(const e of i)if(e.contentType==="multipart/form-data")return!0;return!1}class U{constructor(e,n=t=>t){this.raw=e,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class Yn{constructor(e){this.raw=e}async value(){}}class Vn{constructor(e){this.raw=e}async value(){return await this.raw.blob()}}class ct{constructor(e){this.raw=e}async value(){return await this.raw.text()}}const qn={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},jn={Cx:"bkg-cx",Cf:"bkg-cf",Created:"bkg-created",Af:"bkg-af",Ip:"bkg-ip",Pc:"bkg-pc",Pp:"bkg-pp",Qr:"bkg-qr"},zn={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},Wn={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},Zn={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"},Jn={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},Xn={Aed:"AED",Afn:"AFN",All:"ALL",Amd:"AMD",Ang:"ANG",Aoa:"AOA",Ars:"ARS",Aud:"AUD",Awg:"AWG",Azn:"AZN",Bam:"BAM",Bbd:"BBD",Bdt:"BDT",Bhd:"BHD",Bgn:"BGN",Bif:"BIF",Bmd:"BMD",Bnd:"BND",Bob:"BOB",Brl:"BRL",Bsd:"BSD",Bwp:"BWP",Bzd:"BZD",Cad:"CAD",Cdf:"CDF",Chf:"CHF",Clp:"CLP",Cny:"CNY",Cop:"COP",Crc:"CRC",Cve:"CVE",Czk:"CZK",Djf:"DJF",Dkk:"DKK",Dop:"DOP",Dzd:"DZD",Egp:"EGP",Etb:"ETB",Eur:"EUR",Fjd:"FJD",Fkp:"FKP",Gbp:"GBP",Gel:"GEL",Gip:"GIP",Gmd:"GMD",Gnf:"GNF",Gtq:"GTQ",Gyd:"GYD",Hkd:"HKD",Hnl:"HNL",Htg:"HTG",Huf:"HUF",Idr:"IDR",Ils:"ILS",Inr:"INR",Isk:"ISK",Jmd:"JMD",Jod:"JOD",Jpy:"JPY",Kes:"KES",Kgs:"KGS",Khr:"KHR",Kmf:"KMF",Krw:"KRW",Kwd:"KWD",Kyd:"KYD",Kzt:"KZT",Lak:"LAK",Lbp:"LBP",Lkr:"LKR",Lrd:"LRD",Lsl:"LSL",Mad:"MAD",Mdl:"MDL",Mga:"MGA",Mkd:"MKD",Mmk:"MMK",Mnt:"MNT",Mop:"MOP",Mru:"MRU",Mur:"MUR",Mvr:"MVR",Mwk:"MWK",Mxn:"MXN",Myr:"MYR",Mzn:"MZN",Nad:"NAD",Ngn:"NGN",Nio:"NIO",Nok:"NOK",Npr:"NPR",Nzd:"NZD",Omr:"OMR",Pab:"PAB",Pen:"PEN",Pgk:"PGK",Php:"PHP",Pkr:"PKR",Pln:"PLN",Pyg:"PYG",Qar:"QAR",Ron:"RON",Rsd:"RSD",Rub:"RUB",Rwf:"RWF",Sar:"SAR",Sbd:"SBD",Scr:"SCR",Sek:"SEK",Sgd:"SGD",Shp:"SHP",Sll:"SLL",Sos:"SOS",Srd:"SRD",Std:"STD",Szl:"SZL",Thb:"THB",Tjs:"TJS",Tnd:"TND",Top:"TOP",Try:"TRY",Ttd:"TTD",Twd:"TWD",Tzs:"TZS",Uah:"UAH",Usd:"USD",Uyu:"UYU",Uzs:"UZS",Vnd:"VND",Vuv:"VUV",Wst:"WST",Xaf:"XAF",Xcd:"XCD",Xof:"XOF",Xpf:"XPF",Yer:"YER",Zar:"ZAR",Zmw:"ZMW"},Qn={ApiError:"api_error",BadGateway:"bad_gateway",InternalServerError:"internal_server_error",InvalidRequestError:"invalid_request_error",RateLimitError:"rate_limit_error",ResourceGone:"resource_gone",ResourceNotFound:"resource_not_found",Unauthorized:"unauthorized",ValidationError:"validation_error"},er={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"},tr={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},nr={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"},rr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},ir={CreditNote:"credit_note",Invoice:"invoice"},or={CreditCard:"CREDIT_CARD"},ar={Coupon:"COUPON"},sr={DepositAccount:"DEPOSIT_ACCOUNT"},ur={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"},cr={Complete:"COMPLETE",InProgress:"IN_PROGRESS"},lr={Ad:"AD",Ae:"AE",Af:"AF",Ag:"AG",Ai:"AI",Al:"AL",Am:"AM",Ao:"AO",Ar:"AR",As:"AS",At:"AT",Au:"AU",Aw:"AW",Ax:"AX",Az:"AZ",Ba:"BA",Bb:"BB",Bd:"BD",Be:"BE",Bf:"BF",Bg:"BG",Bh:"BH",Bi:"BI",Bj:"BJ",Bl:"BL",Bm:"BM",Bn:"BN",Bo:"BO",Bq:"BQ",Br:"BR",Bs:"BS",Bt:"BT",Bw:"BW",By:"BY",Bz:"BZ",Ca:"CA",Cc:"CC",Cd:"CD",Cf:"CF",Cg:"CG",Ch:"CH",Ci:"CI",Ck:"CK",Cl:"CL",Cm:"CM",Cn:"CN",Co:"CO",Cr:"CR",Cu:"CU",Cv:"CV",Cw:"CW",Cx:"CX",Cy:"CY",Cz:"CZ",De:"DE",Dj:"DJ",Dk:"DK",Dm:"DM",Do:"DO",Dz:"DZ",Ec:"EC",Ee:"EE",Eg:"EG",Eh:"EH",Er:"ER",Es:"ES",Et:"ET",Fi:"FI",Fj:"FJ",Fk:"FK",Fm:"FM",Fo:"FO",Fr:"FR",Ga:"GA",Gb:"GB",Gd:"GD",Ge:"GE",Gf:"GF",Gg:"GG",Gh:"GH",Gi:"GI",Gl:"GL",Gm:"GM",Gn:"GN",Gp:"GP",Gq:"GQ",Gr:"GR",Gt:"GT",Gu:"GU",Gw:"GW",Gy:"GY",Hk:"HK",Hn:"HN",Hr:"HR",Ht:"HT",Hu:"HU",Id:"ID",Ie:"IE",Il:"IL",Im:"IM",In:"IN",Io:"IO",Iq:"IQ",Ir:"IR",Is:"IS",It:"IT",Je:"JE",Jm:"JM",Jo:"JO",Jp:"JP",Ke:"KE",Kg:"KG",Kh:"KH",Ki:"KI",Km:"KM",Kn:"KN",Kp:"KP",Kr:"KR",Kw:"KW",Ky:"KY",Kz:"KZ",La:"LA",Lb:"LB",Lc:"LC",Li:"LI",Lk:"LK",Lr:"LR",Ls:"LS",Lt:"LT",Lu:"LU",Lv:"LV",Ly:"LY",Ma:"MA",Mc:"MC",Md:"MD",Me:"ME",Mf:"MF",Mg:"MG",Mh:"MH",Mk:"MK",Ml:"ML",Mm:"MM",Mn:"MN",Mo:"MO",Mp:"MP",Mq:"MQ",Mr:"MR",Ms:"MS",Mt:"MT",Mu:"MU",Mv:"MV",Mw:"MW",Mx:"MX",My:"MY",Mz:"MZ",Na:"NA",Nc:"NC",Ne:"NE",Nf:"NF",Ng:"NG",Ni:"NI",Nl:"NL",No:"NO",Np:"NP",Nr:"NR",Nu:"NU",Nz:"NZ",Om:"OM",Pa:"PA",Pe:"PE",Pf:"PF",Pg:"PG",Ph:"PH",Pk:"PK",Pl:"PL",Pm:"PM",Pr:"PR",Ps:"PS",Pt:"PT",Pw:"PW",Py:"PY",Qa:"QA",Re:"RE",Ro:"RO",Rs:"RS",Ru:"RU",Rw:"RW",Sa:"SA",Sb:"SB",Sc:"SC",Sd:"SD",Se:"SE",Sg:"SG",Sh:"SH",Si:"SI",Sj:"SJ",Sk:"SK",Sl:"SL",Sm:"SM",Sn:"SN",So:"SO",Sr:"SR",Ss:"SS",St:"ST",Sv:"SV",Sx:"SX",Sy:"SY",Sz:"SZ",Tc:"TC",Td:"TD",Tg:"TG",Th:"TH",Tj:"TJ",Tk:"TK",Tl:"TL",Tm:"TM",Tn:"TN",To:"TO",Tr:"TR",Tt:"TT",Tv:"TV",Tw:"TW",Tz:"TZ",Ua:"UA",Ug:"UG",Us:"US",Uy:"UY",Uz:"UZ",Va:"VA",Vc:"VC",Ve:"VE",Vg:"VG",Vi:"VI",Vn:"VN",Vu:"VU",Wf:"WF",Ws:"WS",Xk:"XK",Ye:"YE",Yt:"YT",Za:"ZA",Zm:"ZM",Zw:"ZW"},fr={Night:"PER_NIGHT",Stay:"PER_STAY"},dr={Adult:"PER_ADULT",Booking:"PER_BOOKING"};class lt extends W{async createRaw(e,n){const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/booking_policies",method:"POST",headers:r,query:v(t,S.Snake),body:v(e.bookingPoliciesCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class ft extends W{async deleteRaw(e,n){if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");const t={},r={},s=await this.request({path:"/v1/bookings/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async delete(e,n){return this.deleteRaw(e,n)}async listRaw(e,n){const t={};e.endingBefore!==void 0&&(t.ending_before=e.endingBefore),e.filterByCheckInDate!==void 0&&(t.filter_by_check_in_date=e.filterByCheckInDate),e.filterByLastStatusUpdatedAt!==void 0&&(t.filter_by_last_status_updated_at=e.filterByLastStatusUpdatedAt),e.filterByStatus!==void 0&&(t.filter_by_status=e.filterByStatus),e.limit!==void 0&&(t.limit=e.limit),e.sortBy!==void 0&&(t.sort_by=e.sortBy),e.sortByOrder!==void 0&&(t.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(t.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings",method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async list(e={},n){return this.listRaw(e,n)}async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async retrievePublicRaw(e,n){if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");const t={},r={},s=await this.request({path:"/v1/bookings/{token}/public".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async retrievePublic(e,n){return this.retrievePublicRaw(e,n)}async createRaw(e,n){const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings",method:"POST",headers:r,query:v(t,S.Snake),body:v(e.bookingCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}async couponChargeRaw(e,n){if(e.couponId===null||e.couponId===void 0)throw new N("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}/coupons/{coupon_id}/charge".replace("{coupon_id}",encodeURIComponent(String(e.couponId))).replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async couponCharge(e,n){return this.couponChargeRaw(e,n)}async paylaterRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}/pay-later".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async paylater(e,n){return this.paylaterRaw(e,n)}async confirmpaylaterRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}/pay-later/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async confirmpaylater(e,n){return this.confirmpaylaterRaw(e,n)}async confirmRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async confirm(e,n){return this.confirmRaw(e,n)}async updatePaymentMethodsRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/bookings/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:r,query:v(t,S.Snake),body:v(e.paymentMethodUpdatePayloadApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async updatePaymentMethods(e,n){return this.updatePaymentMethodsRaw(e,n)}}const hr={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},pr={Asc:"asc",Desc:"desc"};class dt extends W{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");const t={};e.lang!==void 0&&(t.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotels/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:v(t,S.Snake)},n);return new U(s,u=>v(u,S.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}}const mr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class ht extends W{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async createRaw(e,n){const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_offer_requests",method:"POST",headers:r,query:v(t,S.Snake),body:v(e.hotelOfferRequestCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class pt extends W{async listRaw(e,n){if(e.currency===null||e.currency===void 0)throw new N("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new N("hotelOfferRequestId","Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");const t={};e.currency!==void 0&&(t.currency=e.currency),e.endingBefore!==void 0&&(t.ending_before=e.endingBefore),e.filterByPrice!==void 0&&(t.filter_by_price=e.filterByPrice),e.filterByReviewRating!==void 0&&(t.filter_by_review_rating=e.filterByReviewRating),e.filterByStar!==void 0&&(t.filter_by_star=e.filterByStar),e.hotelOfferRequestId!==void 0&&(t.hotel_offer_request_id=e.hotelOfferRequestId),e.hotelRoomOffersLimit!==void 0&&(t.hotel_room_offers_limit=e.hotelRoomOffersLimit),e.includeHotelContentDetails!==void 0&&(t.include_hotel_content_details=e.includeHotelContentDetails),e.lang!==void 0&&(t.lang=e.lang),e.limit!==void 0&&(t.limit=e.limit),e.onlyRecommendedHotelOffers!==void 0&&(t.only_recommended_hotel_offers=e.onlyRecommendedHotelOffers),e.priceHistogramStepCount!==void 0&&(t.price_histogram_step_count=e.priceHistogramStepCount),e.sortBy!==void 0&&(t.sort_by=e.sortBy),e.sortByOrder!==void 0&&(t.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(t.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_offers",method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async list(e,n,t){return await at(()=>this.listRaw(e,t),{type:be.HOTEL_SEARCH_POLLING,minCallCount:t?.minCallCount,maxCallCount:t?.maxCallCount},n)}}const yr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"},gr={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},wr={Asc:"asc",Desc:"desc"};class mt extends W{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");const t={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_room_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}async createRaw(e,n){const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_room_offer_requests",method:"POST",headers:r,query:v(t,S.Snake),body:v(e.hotelRoomOfferRequestCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}class yt extends W{async listRaw(e,n){if(e.currency===null||e.currency===void 0)throw new N("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new N("hotelRoomOfferRequestId","Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");const t={};e.currency!==void 0&&(t.currency=e.currency),e.hotelRoomOfferRequestId!==void 0&&(t.hotel_room_offer_request_id=e.hotelRoomOfferRequestId),e.lang!==void 0&&(t.lang=e.lang),e.limit!==void 0&&(t.limit=e.limit);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_room_offers",method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async list(e,n,t){return await at(()=>this.listRaw(e,t),{type:be.HOTEL_ROOM_OFFERS,minCallCount:t?.minCallCount,maxCallCount:t?.maxCallCount},n)}async createRaw(e,n){const t={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotel_room_offers",method:"POST",headers:r,query:v(t,S.Snake),body:v(e.hotelRoomOffersCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e={},n){return this.createRaw(e,n)}}const vr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class gt extends W{async deleteRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");const t={},r={},s=await this.request({path:"/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}",encodeURIComponent(String(e.id))).replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:r,query:v(t,S.Snake)},n);return new ct(s)}async delete(e,n){return this.deleteRaw(e,n)}async updateRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");const t={},r={};r["Content-Type"]="application/json";const s=await this.request({path:"/v1/hotel_rooming_list_guests/{token}/{id}".replace("{id}",encodeURIComponent(String(e.id))).replace("{token}",encodeURIComponent(String(e.token))),method:"PATCH",headers:r,query:v(t,S.Snake),body:v(e.hotelRoomingListGuestsUpdateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async update(e,n){return this.updateRaw(e,n)}async createRaw(e,n){if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");const t={},r={};r["Content-Type"]="application/json";const s=await this.request({path:"/v1/hotel_rooming_list_guests/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:v(t,S.Snake),body:v(e.hotelRoomingListGuestsCreateApi,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async create(e,n){return this.createRaw(e,n)}}class wt extends W{async listRaw(e,n){if(e.token===null||e.token===void 0)throw new N("token","Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");const t={};e.lang!==void 0&&(t.lang=e.lang);const r={},s=await this.request({path:"/v1/hotel_rooming_lists/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:r,query:v(t,S.Snake)},n);return new U(s,u=>v(u,S.Camel)).value()}async list(e,n){return this.listRaw(e,n)}}const Sr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};class vt extends W{async retrieveRaw(e,n){if(e.id===null||e.id===void 0)throw new N("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");const t={};e.event!==void 0&&(t.event=e.event),e.lang!==void 0&&(t.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const s=await this.request({path:"/v1/hotels/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:v(t,S.Snake)},n);return await new U(s,u=>v(u,S.Camel)).value()}async retrieve(e,n){return this.retrieveRaw(e,n)}}const Rr={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};var Te={exports:{}},St;function Ar(){return St||(St=1,(function(i,e){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ce<"u"&&ce,t=(function(){function s(){this.fetch=!1,this.DOMException=n.DOMException}return s.prototype=n,new s})();(function(s){(function(u){var c=typeof s<"u"&&s||typeof self<"u"&&self||typeof ce<"u"&&ce||{},h={searchParams:"URLSearchParams"in c,iterable:"Symbol"in c&&"iterator"in Symbol,blob:"FileReader"in c&&"Blob"in c&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in c,arrayBuffer:"ArrayBuffer"in c};function R(o){return o&&DataView.prototype.isPrototypeOf(o)}if(h.arrayBuffer)var C=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],y=ArrayBuffer.isView||function(o){return o&&C.indexOf(Object.prototype.toString.call(o))>-1};function m(o){if(typeof o!="string"&&(o=String(o)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(o)||o==="")throw new TypeError('Invalid character in header field name: "'+o+'"');return o.toLowerCase()}function E(o){return typeof o!="string"&&(o=String(o)),o}function T(o){var a={next:function(){var f=o.shift();return{done:f===void 0,value:f}}};return h.iterable&&(a[Symbol.iterator]=function(){return a}),a}function d(o){this.map={},o instanceof d?o.forEach(function(a,f){this.append(f,a)},this):Array.isArray(o)?o.forEach(function(a){if(a.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+a.length);this.append(a[0],a[1])},this):o&&Object.getOwnPropertyNames(o).forEach(function(a){this.append(a,o[a])},this)}d.prototype.append=function(o,a){o=m(o),a=E(a);var f=this.map[o];this.map[o]=f?f+", "+a:a},d.prototype.delete=function(o){delete this.map[m(o)]},d.prototype.get=function(o){return o=m(o),this.has(o)?this.map[o]:null},d.prototype.has=function(o){return this.map.hasOwnProperty(m(o))},d.prototype.set=function(o,a){this.map[m(o)]=E(a)},d.prototype.forEach=function(o,a){for(var f in this.map)this.map.hasOwnProperty(f)&&o.call(a,this.map[f],f,this)},d.prototype.keys=function(){var o=[];return this.forEach(function(a,f){o.push(f)}),T(o)},d.prototype.values=function(){var o=[];return this.forEach(function(a){o.push(a)}),T(o)},d.prototype.entries=function(){var o=[];return this.forEach(function(a,f){o.push([f,a])}),T(o)},h.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function O(o){if(!o._noBody){if(o.bodyUsed)return Promise.reject(new TypeError("Already read"));o.bodyUsed=!0}}function I(o){return new Promise(function(a,f){o.onload=function(){a(o.result)},o.onerror=function(){f(o.error)}})}function B(o){var a=new FileReader,f=I(a);return a.readAsArrayBuffer(o),f}function D(o){var a=new FileReader,f=I(a),l=/charset=([A-Za-z0-9_-]+)/.exec(o.type),g=l?l[1]:"utf-8";return a.readAsText(o,g),f}function x(o){for(var a=new Uint8Array(o),f=new Array(a.length),l=0;l<a.length;l++)f[l]=String.fromCharCode(a[l]);return f.join("")}function M(o){if(o.slice)return o.slice(0);var a=new Uint8Array(o.byteLength);return a.set(new Uint8Array(o)),a.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(o){this.bodyUsed=this.bodyUsed,this._bodyInit=o,o?typeof o=="string"?this._bodyText=o:h.blob&&Blob.prototype.isPrototypeOf(o)?this._bodyBlob=o:h.formData&&FormData.prototype.isPrototypeOf(o)?this._bodyFormData=o:h.searchParams&&URLSearchParams.prototype.isPrototypeOf(o)?this._bodyText=o.toString():h.arrayBuffer&&h.blob&&R(o)?(this._bodyArrayBuffer=M(o.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):h.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(o)||y(o))?this._bodyArrayBuffer=M(o):this._bodyText=o=Object.prototype.toString.call(o):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof o=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):h.searchParams&&URLSearchParams.prototype.isPrototypeOf(o)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},h.blob&&(this.blob=function(){var o=O(this);if(o)return o;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var o=O(this);return o||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(h.blob)return this.blob().then(B);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var o=O(this);if(o)return o;if(this._bodyBlob)return D(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(x(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var K=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function V(o){var a=o.toUpperCase();return K.indexOf(a)>-1?a:o}function H(o,a){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');a=a||{};var f=a.body;if(o instanceof H){if(o.bodyUsed)throw new TypeError("Already read");this.url=o.url,this.credentials=o.credentials,a.headers||(this.headers=new d(o.headers)),this.method=o.method,this.mode=o.mode,this.signal=o.signal,!f&&o._bodyInit!=null&&(f=o._bodyInit,o.bodyUsed=!0)}else this.url=String(o);if(this.credentials=a.credentials||this.credentials||"same-origin",(a.headers||!this.headers)&&(this.headers=new d(a.headers)),this.method=V(a.method||this.method||"GET"),this.mode=a.mode||this.mode||null,this.signal=a.signal||this.signal||(function(){if("AbortController"in c){var p=new AbortController;return p.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&f)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(f),(this.method==="GET"||this.method==="HEAD")&&(a.cache==="no-store"||a.cache==="no-cache")){var l=/([?&])_=[^&]*/;if(l.test(this.url))this.url=this.url.replace(l,"$1_="+new Date().getTime());else{var g=/\?/;this.url+=(g.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}H.prototype.clone=function(){return new H(this,{body:this._bodyInit})};function P(o){var a=new FormData;return o.trim().split("&").forEach(function(f){if(f){var l=f.split("="),g=l.shift().replace(/\+/g," "),p=l.join("=").replace(/\+/g," ");a.append(decodeURIComponent(g),decodeURIComponent(p))}}),a}function k(o){var a=new d,f=o.replace(/\r?\n[\t ]+/g," ");return f.split("\r").map(function(l){return l.indexOf(`
|
|
2
|
+
`)===0?l.substr(1,l.length):l}).forEach(function(l){var g=l.split(":"),p=g.shift().trim();if(p){var b=g.join(":").trim();try{a.append(p,b)}catch($){console.warn("Response "+$.message)}}}),a}L.call(H.prototype);function q(o,a){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(a||(a={}),this.type="default",this.status=a.status===void 0?200:a.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=a.statusText===void 0?"":""+a.statusText,this.headers=new d(a.headers),this.url=a.url||"",this._initBody(o)}L.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},q.error=function(){var o=new q(null,{status:200,statusText:""});return o.ok=!1,o.status=0,o.type="error",o};var Oe=[301,302,303,307,308];q.redirect=function(o,a){if(Oe.indexOf(a)===-1)throw new RangeError("Invalid status code");return new q(null,{status:a,headers:{location:o}})},u.DOMException=c.DOMException;try{new u.DOMException}catch{u.DOMException=function(a,f){this.message=a,this.name=f;var l=Error(a);this.stack=l.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function A(o,a){return new Promise(function(f,l){var g=new H(o,a);if(g.signal&&g.signal.aborted)return l(new u.DOMException("Aborted","AbortError"));var p=new XMLHttpRequest;function b(){p.abort()}p.onload=function(){var _={statusText:p.statusText,headers:k(p.getAllResponseHeaders()||"")};g.url.indexOf("file://")===0&&(p.status<200||p.status>599)?_.status=200:_.status=p.status,_.url="responseURL"in p?p.responseURL:_.headers.get("X-Request-URL");var F="response"in p?p.response:p.responseText;setTimeout(function(){f(new q(F,_))},0)},p.onerror=function(){setTimeout(function(){l(new TypeError("Network request failed"))},0)},p.ontimeout=function(){setTimeout(function(){l(new TypeError("Network request timed out"))},0)},p.onabort=function(){setTimeout(function(){l(new u.DOMException("Aborted","AbortError"))},0)};function $(_){try{return _===""&&c.location.href?c.location.href:_}catch{return _}}if(p.open(g.method,$(g.url),!0),g.credentials==="include"?p.withCredentials=!0:g.credentials==="omit"&&(p.withCredentials=!1),"responseType"in p&&(h.blob?p.responseType="blob":h.arrayBuffer&&(p.responseType="arraybuffer")),a&&typeof a.headers=="object"&&!(a.headers instanceof d||c.Headers&&a.headers instanceof c.Headers)){var G=[];Object.getOwnPropertyNames(a.headers).forEach(function(_){G.push(m(_)),p.setRequestHeader(_,E(a.headers[_]))}),g.headers.forEach(function(_,F){G.indexOf(F)===-1&&p.setRequestHeader(F,_)})}else g.headers.forEach(function(_,F){p.setRequestHeader(F,_)});g.signal&&(g.signal.addEventListener("abort",b),p.onreadystatechange=function(){p.readyState===4&&g.signal.removeEventListener("abort",b)}),p.send(typeof g._bodyInit>"u"?null:g._bodyInit)})}return A.polyfill=!0,c.fetch||(c.fetch=A,c.Headers=d,c.Request=H,c.Response=q),u.Headers=d,u.Request=H,u.Response=q,u.fetch=A,u})({})})(t),t.fetch.ponyfill=!0,delete t.fetch.polyfill;var r=n.fetch?n:t;e=r.fetch,e.default=r.fetch,e.fetch=r.fetch,e.Headers=r.Headers,e.Request=r.Request,e.Response=r.Response,i.exports=e})(Te,Te.exports)),Te.exports}var Cr=Ar();const Er=z(Cr),Rt=i=>({bookingPolicies:new lt(i),bookings:new ft(i),hotelImages:new dt(i),hotelOfferRequests:new ht(i),hotelOffers:new pt(i),hotelRoomOfferRequests:new mt(i),hotelRoomOffers:new yt(i),hotelRoomingListGuests:new gt(i),hotelRoomingLists:new wt(i),hotels:new vt(i)});function Tr(i){switch(i){case Q.Production:return"AUTH_TOKEN";case Q.Sandbox:return"AUTH_TOKEN_SANDBOX";case Q.Staging:return"AUTH_TOKEN_STAGING";case Q.CiCd:return"AUTH_TOKEN_CICD";case Q.Local:return"AUTH_TOKEN_LOCAL";case void 0:default:return"AUTH_TOKEN"}}function At(i){return!!(typeof document<"u"&&document?.cookie&&document.cookie.split(";").find(t=>t.includes(Tr(i))))}class Or{constructor(e){this.config=e}async pre(e){return e.init.mode="cors",At(this.config.apiEnvironment)&&(e.init.credentials="include"),e}}class Mr{constructor(e){this.config=e}async pre(e){return At(this.config.apiEnvironment)&&(e.init.headers={...e.init.headers,"x-auth-type":"user"}),e}}class kr{constructor(e){if(this.config=e,!e.apiVersion||!Object.values(De).includes(e.apiVersion))throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(De))}`);let n={"x-api-key":this.config.apiKey};this.config.optionalHeaders&&(n={...n,...this.config.optionalHeaders});const t=this.config.apiEnvironment;let r=this.config.apiBaseUrl??xt[t];t===Q.Local&&process.env.BOOKING_API_BASE_URL&&(r=process.env.BOOKING_API_BASE_URL);const s=new Le({basePath:r,fetchApi:Er,headers:n,middleware:[new Or(this.config),new Mr(this.config)]});this.apiVersionsToClient={v1:Rt(s)}}apiVersionsToClient;get bookings(){return this.apiVersionsToClient[this.config.apiVersion].bookings}get bookingPolicies(){return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies}get hotelOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelOfferRequests}get hotelOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelOffers}get hotelRoomOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests}get hotelRoomOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers}get hotelRoomingListGuests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests}get hotelRoomingLists(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists}get hotels(){return this.apiVersionsToClient[this.config.apiVersion].hotels}get hotelImages(){return this.apiVersionsToClient[this.config.apiVersion].hotelImages}}w.ApiClient=kr,w.BASE_PATH=st,w.BaseAPI=W,w.BlobApiResponse=Vn,w.BookingApiPayLaterEnum=qn,w.BookingApiStatusEnum=jn,w.BookingPolicies=lt,w.BookingPoliciesCreateApiLangEnum=zn,w.Bookings=ft,w.BookingsSortByEnum=hr,w.BookingsSortByOrderEnum=pr,w.COLLECTION_FORMATS=Hn,w.Configuration=Le,w.ContactPersonApiLangEnum=Wn,w.ContactPersonApiSalutationEnum=Zn,w.CountryIso2Code=Jn,w.CurrencyBookingApiClient=Xn,w.ErrorApiResponseTypeEnum=Qn,w.HotelImages=dt,w.HotelImagesLangEnum=mr,w.HotelOfferRequests=ht,w.HotelOffers=pt,w.HotelOffersLangEnum=yr,w.HotelOffersSortByEnum=gr,w.HotelOffersSortByOrderEnum=wr,w.HotelRoomOfferApiBreakfastOptionEnum=er,w.HotelRoomOfferApiPackageTypeEnum=tr,w.HotelRoomOfferApiTypeEnum=nr,w.HotelRoomOfferRequests=mt,w.HotelRoomOffers=yt,w.HotelRoomOffersCreateApiLangEnum=rr,w.HotelRoomOffersLangEnum=vr,w.HotelRoomingListGuests=gt,w.HotelRoomingLists=wt,w.HotelRoomingListsLangEnum=Sr,w.Hotels=vt,w.HotelsLangEnum=Rr,w.InvoiceApiTypeEnum=ir,w.JSONApiResponse=U,w.PaymentMethodApiOneOf1NameEnum=ar,w.PaymentMethodApiOneOf2NameEnum=sr,w.PaymentMethodApiOneOfNameEnum=or,w.PaymentMethodRequestApiNameEnum=ur,w.PollerStatus=cr,w.RequiredError=N,w.ResponseError=ut,w.SourceMarket=lr,w.TaxApiTaxFrequencyEnum=fr,w.TaxApiTaxModeEnum=dr,w.TextApiResponse=ct,w.VoidApiResponse=Yn,w.canConsumeForm=Kn,w.exists=Gn,w.mapValues=Fn,w.querystring=Pe,w.v1ApiClient=Rt,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})}));
|