@revolugo/booking-api-client 7.13.0-alpha.2 → 7.13.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +975 -966
- package/dist/index.umd.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
(function(i,he){typeof exports=="object"&&typeof module<"u"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(i=typeof globalThis<"u"?globalThis:i||self,he(i["@revolugo/booking-api-client"]={}))})(this,function(i){Object.defineProperty(i,Symbol.toStringTag,{value:"Module"});var he=Object.create,kt=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,$o=Object.getOwnPropertyNames,Yo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty,Z=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),zo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var o=$o(t),s=0,u=o.length,c;s<u;s++)c=o[s],!Ko.call(e,c)&&c!==n&&kt(e,c,{get:(p=>t[p]).bind(null,c),enumerable:!(r=qo(t,c))||r.enumerable});return e},X=(e,t,n)=>(n=e!=null?he(Yo(e)):{},zo(t||!e||!e.__esModule?kt(n,"default",{value:e,enumerable:!0}):n,e)),Pt=(function(e){return e.V1="v1",e})({}),ce=(function(e){return e.CiCd="CI-CD",e.Local="LOCAL",e.Production="LIVE",e.Sandbox="SANDBOX",e.Staging="STAGING",e})({}),Vo={"CI-CD":"https://booking-api.staging.revolugo.com",LOCAL:"http://127.0.0.1:3001",LIVE:"https://booking-api.revolugo.com",SANDBOX:"https://booking-api.sandbox.revolugo.com",STAGING:"https://booking-api.staging.revolugo.com"},Mt=(function(e){return e.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",e.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",e})({}),Zo=Z(((e,t)=>{var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,r=(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 global<"u"&&global||{},p={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 T(a){return a&&DataView.prototype.isPrototypeOf(a)}if(p.arrayBuffer)var _=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],A=ArrayBuffer.isView||function(a){return a&&_.indexOf(Object.prototype.toString.call(a))>-1};function g(a){if(typeof a!="string"&&(a=String(a)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(a)||a==="")throw new TypeError('Invalid character in header field name: "'+a+'"');return a.toLowerCase()}function w(a){return typeof a!="string"&&(a=String(a)),a}function k(a){var d={next:function(){var f=a.shift();return{done:f===void 0,value:f}}};return p.iterable&&(d[Symbol.iterator]=function(){return d}),d}function m(a){this.map={},a instanceof m?a.forEach(function(d,f){this.append(f,d)},this):Array.isArray(a)?a.forEach(function(d){if(d.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+d.length);this.append(d[0],d[1])},this):a&&Object.getOwnPropertyNames(a).forEach(function(d){this.append(d,a[d])},this)}m.prototype.append=function(a,d){a=g(a),d=w(d);var f=this.map[a];this.map[a]=f?f+", "+d:d},m.prototype.delete=function(a){delete this.map[g(a)]},m.prototype.get=function(a){return a=g(a),this.has(a)?this.map[a]:null},m.prototype.has=function(a){return this.map.hasOwnProperty(g(a))},m.prototype.set=function(a,d){this.map[g(a)]=w(d)},m.prototype.forEach=function(a,d){for(var f in this.map)this.map.hasOwnProperty(f)&&a.call(d,this.map[f],f,this)},m.prototype.keys=function(){var a=[];return this.forEach(function(d,f){a.push(f)}),k(a)},m.prototype.values=function(){var a=[];return this.forEach(function(d){a.push(d)}),k(a)},m.prototype.entries=function(){var a=[];return this.forEach(function(d,f){a.push([f,d])}),k(a)},p.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function h(a){if(!a._noBody){if(a.bodyUsed)return Promise.reject(new TypeError("Already read"));a.bodyUsed=!0}}function S(a){return new Promise(function(d,f){a.onload=function(){d(a.result)},a.onerror=function(){f(a.error)}})}function C(a){var d=new FileReader,f=S(d);return d.readAsArrayBuffer(a),f}function N(a){var d=new FileReader,f=S(d),l=/charset=([A-Za-z0-9_-]+)/.exec(a.type),O=l?l[1]:"utf-8";return d.readAsText(a,O),f}function b(a){for(var d=new Uint8Array(a),f=new Array(d.length),l=0;l<d.length;l++)f[l]=String.fromCharCode(d[l]);return f.join("")}function I(a){if(a.slice)return a.slice(0);var d=new Uint8Array(a.byteLength);return d.set(new Uint8Array(a)),d.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(a){this.bodyUsed=this.bodyUsed,this._bodyInit=a,a?typeof a=="string"?this._bodyText=a:p.blob&&Blob.prototype.isPrototypeOf(a)?this._bodyBlob=a:p.formData&&FormData.prototype.isPrototypeOf(a)?this._bodyFormData=a:p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)?this._bodyText=a.toString():p.arrayBuffer&&p.blob&&T(a)?(this._bodyArrayBuffer=I(a.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):p.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(a)||A(a))?this._bodyArrayBuffer=I(a):this._bodyText=a=Object.prototype.toString.call(a):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof a=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob&&(this.blob=function(){var a=h(this);if(a)return a;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 a=h(this);return a||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(p.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var a=h(this);if(a)return a;if(this._bodyBlob)return N(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(b(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(F)}),this.json=function(){return this.text().then(JSON.parse)},this}var G=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(a){var d=a.toUpperCase();return G.indexOf(d)>-1?d:a}function L(a,d){if(!(this instanceof L))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');d=d||{};var f=d.body;if(a instanceof L){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url,this.credentials=a.credentials,d.headers||(this.headers=new m(a.headers)),this.method=a.method,this.mode=a.mode,this.signal=a.signal,!f&&a._bodyInit!=null&&(f=a._bodyInit,a.bodyUsed=!0)}else this.url=String(a);if(this.credentials=d.credentials||this.credentials||"same-origin",(d.headers||!this.headers)&&(this.headers=new m(d.headers)),this.method=U(d.method||this.method||"GET"),this.mode=d.mode||this.mode||null,this.signal=d.signal||this.signal||(function(){if("AbortController"in c)return new AbortController().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")&&(d.cache==="no-store"||d.cache==="no-cache")){var l=/([?&])_=[^&]*/;if(l.test(this.url))this.url=this.url.replace(l,"$1_="+new Date().getTime());else{var O=/\?/;this.url+=(O.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}L.prototype.clone=function(){return new L(this,{body:this._bodyInit})};function F(a){var d=new FormData;return a.trim().split("&").forEach(function(f){if(f){var l=f.split("="),O=l.shift().replace(/\+/g," "),y=l.join("=").replace(/\+/g," ");d.append(decodeURIComponent(O),decodeURIComponent(y))}}),d}function M(a){var d=new m;return a.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(f){return f.indexOf(`
|
|
2
|
-
`)===0?f.substr(1,f.length):f}).forEach(function(f){var l=f.split(":"),O=l.shift().trim();if(O){var y=l.join(":").trim();try{d.append(O,y)}catch(P){console.warn("Response "+P.message)}}}),d}E.call(L.prototype);function q(a,d){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(d||(d={}),this.type="default",this.status=d.status===void 0?200:d.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=d.statusText===void 0?"":""+d.statusText,this.headers=new m(d.headers),this.url=d.url||"",this._initBody(a)}E.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},q.error=function(){var a=new q(null,{status:200,statusText:""});return a.ok=!1,a.status=0,a.type="error",a};var W=[301,302,303,307,308];q.redirect=function(a,d){if(W.indexOf(d)===-1)throw new RangeError("Invalid status code");return new q(null,{status:d,headers:{location:a}})},u.DOMException=c.DOMException;try{new u.DOMException}catch{u.DOMException=function(d,f){this.message=d,this.name=f;var l=Error(d);this.stack=l.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function R(a,d){return new Promise(function(f,l){var O=new L(a,d);if(O.signal&&O.signal.aborted)return l(new u.DOMException("Aborted","AbortError"));var y=new XMLHttpRequest;function P(){y.abort()}y.onload=function(){var H={statusText:y.statusText,headers:M(y.getAllResponseHeaders()||"")};O.url.indexOf("file://")===0&&(y.status<200||y.status>599)?H.status=200:H.status=y.status,H.url="responseURL"in y?y.responseURL:H.headers.get("X-Request-URL");var K="response"in y?y.response:y.responseText;setTimeout(function(){f(new q(K,H))},0)},y.onerror=function(){setTimeout(function(){l(new TypeError("Network request failed"))},0)},y.ontimeout=function(){setTimeout(function(){l(new TypeError("Network request timed out"))},0)},y.onabort=function(){setTimeout(function(){l(new u.DOMException("Aborted","AbortError"))},0)};function $(H){try{return H===""&&c.location.href?c.location.href:H}catch{return H}}if(y.open(O.method,$(O.url),!0),O.credentials==="include"?y.withCredentials=!0:O.credentials==="omit"&&(y.withCredentials=!1),"responseType"in y&&(p.blob?y.responseType="blob":p.arrayBuffer&&(y.responseType="arraybuffer")),d&&typeof d.headers=="object"&&!(d.headers instanceof m||c.Headers&&d.headers instanceof c.Headers)){var Y=[];Object.getOwnPropertyNames(d.headers).forEach(function(H){Y.push(g(H)),y.setRequestHeader(H,w(d.headers[H]))}),O.headers.forEach(function(H,K){Y.indexOf(K)===-1&&y.setRequestHeader(K,H)})}else O.headers.forEach(function(H,K){y.setRequestHeader(K,H)});O.signal&&(O.signal.addEventListener("abort",P),y.onreadystatechange=function(){y.readyState===4&&O.signal.removeEventListener("abort",P)}),y.send(typeof O._bodyInit>"u"?null:O._bodyInit)})}return R.polyfill=!0,c.fetch||(c.fetch=R,c.Headers=m,c.Request=L,c.Response=q),u.Headers=m,u.Request=L,u.Response=q,u.fetch=R,u})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=n.fetch?n:r;e=o.fetch,e.default=o.fetch,e.fetch=o.fetch,e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response,t.exports=e})),Wo=X(Zo(),1),Xo=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Qo=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),xo=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),jo=/[^\p{L}\d]+/giu,Jt="$1\0$2",Dt="";function It(e){let t=e.trim();t=t.replace(Xo,Jt).replace(Qo,Jt),t=t.replace(jo,"\0");let n=0,r=t.length;for(;t.charAt(n)==="\0";)n++;if(n===r)return[];for(;t.charAt(r-1)==="\0";)r--;return t.slice(n,r).split(/\0/g)}function ea(e){const t=It(e);for(let n=0;n<t.length;n++){const r=t[n],o=xo.exec(r);if(o){const s=o.index+(o[1]??o[2]).length;t.splice(n,1,r.slice(0,s),r.slice(s))}}return t}function bt(e,t){const[n,r,o]=_e(e,t);return n+r.map(Ae(t?.locale)).join(t?.delimiter??" ")+o}function ta(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(s,u):Ft(s,u);return n+r.map((p,T)=>T===0?s(p):c(p,T)).join(t?.delimiter??"")+o}function ia(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(s,u):Ft(s,u);return n+r.map(c).join(t?.delimiter??"")+o}function na(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale);return n+r.map(Be(s,u)).join(t?.delimiter??" ")+o}function Ht(e,t){return bt(e,{delimiter:"-",...t})}function ra(e,t){return bt(e,{delimiter:"_",...t})}function Ae(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Le(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Be(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Ft(e,t){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(n.slice(1))}}function _e(e,t={}){const n=t.split??(t.separateNumbers?ea:It),r=t.prefixCharacters??Dt,o=t.suffixCharacters??Dt;let s=0,u=e.length;for(;s<e.length;){const c=e.charAt(s);if(!r.includes(c))break;s++}for(;u>s;){const c=u-1,p=e.charAt(c);if(!o.includes(p))break;u=c}return[e.slice(0,s),n(e.slice(s,u)),e.slice(u)]}var oa=Z(((e,t)=>{(function(n,r,o){typeof e=="object"?(t.exports=o(),t.exports.default=o()):typeof define=="function"&&define.amd?define(o):r[n]=o()})("slugify",e,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"}`),r=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function o(s,u){if(typeof s!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var c=r[u.locale]||{},p=u.replacement===void 0?"-":u.replacement,T=u.trim===void 0?!0:u.trim,_=s.normalize().split("").reduce(function(A,g){var w=c[g];return w===void 0&&(w=n[g]),w===void 0&&(w=g),w===p&&(w=" "),A+w.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(_=_.replace(/[^A-Za-z0-9\s]/g,"")),T&&(_=_.trim()),_=_.replace(/\s+/g,p),u.lower&&(_=_.toLowerCase()),_}return o.extend=function(s){Object.assign(n,s)},o})})),aa=X(oa(),1);function da(e){return(0,aa.default)(Ht(e),{lower:!0,strict:!0})}var D=(function(e){return e.Camel="camelCase",e.Capital="capitalCase",e.Param="paramCase",e.Pascal="pascalCase",e.Slug="slugCase",e.Snake="snakeCase",e})({}),sa={camelCase:ta,capitalCase:na,paramCase:Ht,pascalCase:ia,slugCase:da,snakeCase:ra};function ca(e,t){return e.some(n=>typeof n=="string"?n===t:n.test(t))}function ua(e){return e===Object(e)&&!Array.isArray(e)&&typeof e!="function"}function J(e,t,n={deep:!0}){return ua(e)&&!(e instanceof Date)?Object.keys(e).reduce((r,o)=>{const s=n?.exclude&&ca(n.exclude,o)?o:sa[t](o);return r[s]=n.deep?J(e[o],t,n):e[o],r},{}):Array.isArray(e)?e.map(r=>J(r,t,n)):e}var Et=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var n=1e3,r=6e4,o=36e5,s="millisecond",u="second",c="minute",p="hour",T="day",_="week",A="month",g="quarter",w="year",k="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|YYYY|YY|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(R){var a=["th","st","nd","rd"],d=R%100;return"["+R+(a[(d-20)%10]||a[d]||a[0])+"]"}},N=function(R,a,d){var f=String(R);return!f||f.length>=a?R:""+Array(a+1-f.length).join(d)+R},b={s:N,z:function(R){var a=-R.utcOffset(),d=Math.abs(a),f=Math.floor(d/60),l=d%60;return(a<=0?"+":"-")+N(f,2,"0")+":"+N(l,2,"0")},m:function R(a,d){if(a.date()<d.date())return-R(d,a);var f=12*(d.year()-a.year())+(d.month()-a.month()),l=a.clone().add(f,A),O=d-l<0,y=a.clone().add(f+(O?-1:1),A);return+(-(f+(d-l)/(O?l-y:y-l))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:A,y:w,w:_,d:T,D:k,h:p,m:c,s:u,ms:s,Q:g}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},I="en",E={};E[I]=C;var G="$isDayjsObject",U=function(R){return R instanceof q||!(!R||!R[G])},L=function R(a,d,f){var l;if(!a)return I;if(typeof a=="string"){var O=a.toLowerCase();E[O]&&(l=O),d&&(E[O]=d,l=O);var y=a.split("-");if(!l&&y.length>1)return R(y[0])}else{var P=a.name;E[P]=a,l=P}return!f&&l&&(I=l),l||!f&&I},F=function(R,a){if(U(R))return R.clone();var d=typeof a=="object"?a:{};return d.date=R,d.args=arguments,new q(d)},M=b;M.l=L,M.i=U,M.w=function(R,a){return F(R,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var q=(function(){function R(d){this.$L=L(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[G]=!0}var a=R.prototype;return a.parse=function(d){this.$d=(function(f){var l=f.date,O=f.utc;if(l===null)return new Date(NaN);if(M.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var y=l.match(h);if(y){var P=y[2]-1||0,$=(y[7]||"0").substring(0,3);return O?new Date(Date.UTC(y[1],P,y[3]||1,y[4]||0,y[5]||0,y[6]||0,$)):new Date(y[1],P,y[3]||1,y[4]||0,y[5]||0,y[6]||0,$)}}return new Date(l)})(d),this.init()},a.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},a.$utils=function(){return M},a.isValid=function(){return this.$d.toString()!==m},a.isSame=function(d,f){var l=F(d);return this.startOf(f)<=l&&l<=this.endOf(f)},a.isAfter=function(d,f){return F(d)<this.startOf(f)},a.isBefore=function(d,f){return this.endOf(f)<F(d)},a.$g=function(d,f,l){return M.u(d)?this[f]:this.set(l,d)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(d,f){var l=this,O=!!M.u(f)||f,y=M.p(d),P=function(ie,V){var x=M.w(l.$u?Date.UTC(l.$y,V,ie):new Date(l.$y,V,ie),l);return O?x:x.endOf(T)},$=function(ie,V){return M.w(l.toDate()[ie].apply(l.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(V)),l)},Y=this.$W,H=this.$M,K=this.$D,ae="set"+(this.$u?"UTC":"");switch(y){case w:return O?P(1,0):P(31,11);case A:return O?P(1,H):P(0,H+1);case _:var ne=this.$locale().weekStart||0,se=(Y<ne?Y+7:Y)-ne;return P(O?K-se:K+(6-se),H);case T:case k:return $(ae+"Hours",0);case p:return $(ae+"Minutes",1);case c:return $(ae+"Seconds",2);case u:return $(ae+"Milliseconds",3);default:return this.clone()}},a.endOf=function(d){return this.startOf(d,!1)},a.$set=function(d,f){var l,O=M.p(d),y="set"+(this.$u?"UTC":""),P=(l={},l[T]=y+"Date",l[k]=y+"Date",l[A]=y+"Month",l[w]=y+"FullYear",l[p]=y+"Hours",l[c]=y+"Minutes",l[u]=y+"Seconds",l[s]=y+"Milliseconds",l)[O],$=O===T?this.$D+(f-this.$W):f;if(O===A||O===w){var Y=this.clone().set(k,1);Y.$d[P]($),Y.init(),this.$d=Y.set(k,Math.min(this.$D,Y.daysInMonth())).$d}else P&&this.$d[P]($);return this.init(),this},a.set=function(d,f){return this.clone().$set(d,f)},a.get=function(d){return this[M.p(d)]()},a.add=function(d,f){var l,O=this;d=Number(d);var y=M.p(f),P=function(H){var K=F(O);return M.w(K.date(K.date()+Math.round(H*d)),O)};if(y===A)return this.set(A,this.$M+d);if(y===w)return this.set(w,this.$y+d);if(y===T)return P(1);if(y===_)return P(7);var $=(l={},l[c]=r,l[p]=o,l[u]=n,l)[y]||1,Y=this.$d.getTime()+d*$;return M.w(Y,this)},a.subtract=function(d,f){return this.add(-1*d,f)},a.format=function(d){var f=this,l=this.$locale();if(!this.isValid())return l.invalidDate||m;var O=d||"YYYY-MM-DDTHH:mm:ssZ",y=M.z(this),P=this.$H,$=this.$m,Y=this.$M,H=l.weekdays,K=l.months,ae=l.meridiem,ne=function(V,x,re,de){return V&&(V[x]||V(f,O))||re[x].slice(0,de)},se=function(V){return M.s(P%12||12,V,"0")},ie=ae||function(V,x,re){var de=V<12?"AM":"PM";return re?de.toLowerCase():de};return O.replace(S,(function(V,x){return x||(function(re){switch(re){case"YY":return String(f.$y).slice(-2);case"YYYY":return M.s(f.$y,4,"0");case"M":return Y+1;case"MM":return M.s(Y+1,2,"0");case"MMM":return ne(l.monthsShort,Y,K,3);case"MMMM":return ne(K,Y);case"D":return f.$D;case"DD":return M.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return ne(l.weekdaysMin,f.$W,H,2);case"ddd":return ne(l.weekdaysShort,f.$W,H,3);case"dddd":return H[f.$W];case"H":return String(P);case"HH":return M.s(P,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return ie(P,$,!0);case"A":return ie(P,$,!1);case"m":return String($);case"mm":return M.s($,2,"0");case"s":return String(f.$s);case"ss":return M.s(f.$s,2,"0");case"SSS":return M.s(f.$ms,3,"0");case"Z":return y}return null})(V)||y.replace(":","")}))},a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(d,f,l){var O,y=this,P=M.p(f),$=F(d),Y=($.utcOffset()-this.utcOffset())*r,H=this-$,K=function(){return M.m(y,$)};switch(P){case w:O=K()/12;break;case A:O=K();break;case g:O=K()/3;break;case _:O=(H-Y)/6048e5;break;case T:O=(H-Y)/864e5;break;case p:O=H/o;break;case c:O=H/r;break;case u:O=H/n;break;default:O=H}return l?O:M.a(O)},a.daysInMonth=function(){return this.endOf(A).$D},a.$locale=function(){return E[this.$L]},a.locale=function(d,f){if(!d)return this.$L;var l=this.clone(),O=L(d,f,!0);return O&&(l.$L=O),l},a.clone=function(){return M.w(this.$d,this)},a.toDate=function(){return new Date(this.valueOf())},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toISOString=function(){return this.$d.toISOString()},a.toString=function(){return this.$d.toUTCString()},R})(),W=q.prototype;return F.prototype=W,[["$ms",s],["$s",u],["$m",c],["$H",p],["$W",T],["$M",A],["$y",w],["$D",k]].forEach((function(R){W[R[1]]=function(a){return this.$g(a,R[0],R[1])}})),F.extend=function(R,a){return R.$i||(R(a,q,F),R.$i=!0),F},F.locale=L,F.isDayjs=U,F.unix=function(R){return F(1e3*R)},F.en=E[I],F.Ls=E,F.p={},F}))})),fa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(n,r){var o=r.prototype,s=o.format;o.format=function(u){var c=this,p=this.$locale();if(!this.isValid())return s.bind(this)(u);var T=this.$utils(),_=(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(A){switch(A){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return p.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return p.ordinal(c.week(),"W");case"w":case"ww":return T.s(c.week(),A==="w"?1:2,"0");case"W":case"WW":return T.s(c.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return T.s(String(c.$H===0?24:c.$H),A==="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 A}}));return s.bind(this)(_)}}}))})),la=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,u=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,p={},T=function(h){return(h=+h)+(h>68?1900:2e3)},_=function(h){return function(S){this[h]=+S}},A=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=(function(S){if(!S||S==="Z")return 0;var C=S.match(/([+-]|\d\d)/g),N=60*C[1]+(+C[2]||0);return N===0?0:C[0]==="+"?-N:N})(h)}],g=function(h){var S=p[h];return S&&(S.indexOf?S:S.s.concat(S.f))},w=function(h,S){var C,N=p.meridiem;if(N){for(var b=1;b<=24;b+=1)if(h.indexOf(N(b,0,S))>-1){C=b>12;break}}else C=h===(S?"pm":"PM");return C},k={A:[c,function(h){this.afternoon=w(h,!1)}],a:[c,function(h){this.afternoon=w(h,!0)}],Q:[o,function(h){this.month=3*(h-1)+1}],S:[o,function(h){this.milliseconds=100*+h}],SS:[s,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[u,_("seconds")],ss:[u,_("seconds")],m:[u,_("minutes")],mm:[u,_("minutes")],H:[u,_("hours")],h:[u,_("hours")],HH:[u,_("hours")],hh:[u,_("hours")],D:[u,_("day")],DD:[s,_("day")],Do:[c,function(h){var S=p.ordinal,C=h.match(/\d+/);if(this.day=C[0],S)for(var N=1;N<=31;N+=1)S(N).replace(/\[|\]/g,"")===h&&(this.day=N)}],w:[u,_("week")],ww:[s,_("week")],M:[u,_("month")],MM:[s,_("month")],MMM:[c,function(h){var S=g("months"),C=(g("monthsShort")||S.map((function(N){return N.slice(0,3)}))).indexOf(h)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[c,function(h){var S=g("months").indexOf(h)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,_("year")],YY:[s,function(h){this.year=T(h)}],YYYY:[/\d{4}/,_("year")],Z:A,ZZ:A};function m(h){for(var S=h,C=p&&p.formats,N=(h=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(F,M,q){var W=q&&q.toUpperCase();return M||C[q]||n[q]||C[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(R,a,d){return a||d.slice(1)}))}))).match(r),b=N.length,I=0;I<b;I+=1){var E=N[I],G=k[E],U=G&&G[0],L=G&&G[1];N[I]=L?{regex:U,parser:L}:E.replace(/^\[|\]$/g,"")}return function(F){for(var M={},q=0,W=0;q<b;q+=1){var R=N[q];if(typeof R=="string")W+=R.length;else{var a=R.regex,d=R.parser,f=F.slice(W),l=a.exec(f)[0];d.call(M,l),F=F.replace(l,"")}}return(function(O){var y=O.afternoon;if(y!==void 0){var P=O.hours;y?P<12&&(O.hours+=12):P===12&&(O.hours=0),delete O.afternoon}})(M),M}}return function(h,S,C){C.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(T=h.parseTwoDigitYear);var N=S.prototype,b=N.parse;N.parse=function(I){var E=I.date,G=I.utc,U=I.args;this.$u=G;var L=U[1];if(typeof L=="string"){var F=U[2]===!0,M=U[3]===!0,q=F||M,W=U[2];M&&(W=U[2]),p=this.$locale(),!F&&W&&(p=C.Ls[W]),this.$d=(function(f,l,O,y){try{if(["x","X"].indexOf(l)>-1)return new Date((l==="X"?1e3:1)*f);var P=m(l)(f),$=P.year,Y=P.month,H=P.day,K=P.hours,ae=P.minutes,ne=P.seconds,se=P.milliseconds,ie=P.zone,V=P.week,x=new Date,re=H||($||Y?1:x.getDate()),de=$||x.getFullYear(),Fe=0;$&&!Y||(Fe=Y>0?Y-1:x.getMonth());var Ee,Rt=K||0,Nt=ae||0,Ct=ne||0,wt=se||0;return ie?new Date(Date.UTC(de,Fe,re,Rt,Nt,Ct,wt+60*ie.offset*1e3)):O?new Date(Date.UTC(de,Fe,re,Rt,Nt,Ct,wt)):(Ee=new Date(de,Fe,re,Rt,Nt,Ct,wt),V&&(Ee=y(Ee).week(V).toDate()),Ee)}catch{return new Date("")}})(E,L,G,C),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),q&&E!=this.format(L)&&(this.$d=new Date("")),p={}}else if(L instanceof Array)for(var R=L.length,a=1;a<=R;a+=1){U[1]=L[a-1];var d=C.apply(this,U);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}a===R&&(this.$d=new Date(""))}else b.call(this,I)}}}))})),ma=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isBetween=r()})(e,(function(){"use strict";return function(n,r,o){r.prototype.isBetween=function(s,u,c,p){var T=o(s),_=o(u),A=(p=p||"()")[0]==="(",g=p[1]===")";return(A?this.isAfter(T,c):!this.isBefore(T,c))&&(g?this.isBefore(_,c):!this.isAfter(_,c))||(A?this.isBefore(T,c):!this.isAfter(T,c))&&(g?this.isAfter(_,c):!this.isBefore(_,c))}}}))})),pa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(n,r){r.prototype.isSameOrAfter=function(o,s){return this.isSame(o,s)||this.isAfter(o,s)}}}))})),ha=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(n,r){r.prototype.isSameOrBefore=function(o,s){return this.isSame(o,s)||this.isBefore(o,s)}}}))})),ya=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){"use strict";return function(n,r,o){var s=r.prototype,u=function(A){return A&&(A.indexOf?A:A.s)},c=function(A,g,w,k,m){var h=A.name?A:A.$locale(),S=u(h[g]),C=u(h[w]),N=S||C.map((function(I){return I.slice(0,k)}));if(!m)return N;var b=h.weekStart;return N.map((function(I,E){return N[(E+(b||0))%7]}))},p=function(){return o.Ls[o.locale()]},T=function(A,g){return A.formats[g]||(function(w){return w.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(k,m,h){return m||h.slice(1)}))})(A.formats[g.toUpperCase()])},_=function(){var A=this;return{months:function(g){return g?g.format("MMMM"):c(A,"months")},monthsShort:function(g){return g?g.format("MMM"):c(A,"monthsShort","months",3)},firstDayOfWeek:function(){return A.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):c(A,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):c(A,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):c(A,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return T(A.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return _.bind(this)()},o.localeData=function(){var A=p();return{firstDayOfWeek:function(){return A.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(g){return T(A,g)},meridiem:A.meridiem,ordinal:A.ordinal}},o.months=function(){return c(p(),"months")},o.monthsShort=function(){return c(p(),"monthsShort","months",3)},o.weekdays=function(A){return c(p(),"weekdays",null,null,A)},o.weekdaysShort=function(A){return c(p(),"weekdaysShort","weekdays",3,A)},o.weekdaysMin=function(A){return c(p(),"weekdaysMin","weekdays",2,A)}}}))})),ga=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";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(r,o,s){var u=o.prototype,c=u.format;s.en.formats=n,u.format=function(p){p===void 0&&(p="YYYY-MM-DDTHH:mm:ssZ");var T=this.$locale().formats,_=(function(A,g){return A.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(w,k,m){var h=m&&m.toUpperCase();return k||g[m]||n[m]||g[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,C,N){return C||N.slice(1)}))}))})(p,T===void 0?{}:T);return c.call(this,_)}}}))})),Oa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_minMax=r()})(e,(function(){"use strict";return function(n,r,o){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 p;c.length===1&&c[0].length>0&&(c=c[0]),p=(c=c.filter((function(_){return _})))[0];for(var T=1;T<c.length;T+=1)c[T].isValid()&&!c[T][u](p)||(p=c[T]);return p};o.max=function(){return s("isAfter",[].slice.call(arguments,0))},o.min=function(){return s("isBefore",[].slice.call(arguments,0))}}}))})),Aa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){"use strict";return function(n,r,o){n=n||{};var s=r.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(T,_,A,g){return s.fromToBase(T,_,A,g)}o.en.relativeTime=u,s.fromToBase=function(T,_,A,g,w){for(var k,m,h,S=A.$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"}],N=C.length,b=0;b<N;b+=1){var I=C[b];I.d&&(k=g?o(T).diff(A,I.d,!0):A.diff(T,I.d,!0));var E=(n.rounding||Math.round)(Math.abs(k));if(h=k>0,E<=I.r||!I.r){E<=1&&b>0&&(I=C[b-1]);var G=S[I.l];w&&(E=w(""+E)),m=typeof G=="string"?G.replace("%d",E):G(E,_,I.l,h);break}}if(_)return m;var U=h?S.future:S.past;return typeof U=="function"?U(m):U.replace("%s",m)},s.to=function(T,_){return c(T,_,this,!0)},s.from=function(T,_){return c(T,_,this)};var p=function(T){return T.$u?o.utc():o()};s.toNow=function(T){return this.to(p(this),T)},s.fromNow=function(T){return this.from(p(this),T)}}}))})),_a=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(o,s,u){var c,p=function(g,w,k){k===void 0&&(k={});var m=new Date(g);return(function(h,S){S===void 0&&(S={});var C=S.timeZoneName||"short",N=h+"|"+C,b=r[N];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:h,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:C}),r[N]=b),b})(w,k).formatToParts(m)},T=function(g,w){for(var k=p(g,w),m=[],h=0;h<k.length;h+=1){var S=k[h],C=S.type,N=S.value,b=n[C];b>=0&&(m[b]=parseInt(N,10))}var I=m[3],E=I===24?0:I,G=m[0]+"-"+m[1]+"-"+m[2]+" "+E+":"+m[4]+":"+m[5]+":000",U=+g;return(u.utc(G).valueOf()-(U-=U%1e3))/6e4},_=s.prototype;_.tz=function(g,w){g===void 0&&(g=c);var k,m=this.utcOffset(),h=this.toDate(),S=h.toLocaleString("en-US",{timeZone:g}),C=Math.round((h-new Date(S))/1e3/60),N=15*-Math.round(h.getTimezoneOffset()/15)-C;if(!Number(N))k=this.utcOffset(0,w);else if(k=u(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),w){var b=k.utcOffset();k=k.add(m-b,"minute")}return k.$x.$timezone=g,k},_.offsetName=function(g){var w=this.$x.$timezone||u.tz.guess(),k=p(this.valueOf(),w,{timeZoneName:g}).find((function(m){return m.type.toLowerCase()==="timezonename"}));return k&&k.value};var A=_.startOf;_.startOf=function(g,w){if(!this.$x||!this.$x.$timezone)return A.call(this,g,w);var k=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(k,g,w).tz(this.$x.$timezone,!0)},u.tz=function(g,w,k){var m=k&&w,h=k||w||c,S=T(+u(),h);if(typeof g!="string")return u(g).tz(h);var C=(function(E,G,U){var L=E-60*G*1e3,F=T(L,U);if(G===F)return[L,G];var M=T(L-=60*(F-G)*1e3,U);return F===M?[L,F]:[E-60*Math.min(F,M)*1e3,Math.max(F,M)]})(u.utc(g,m).valueOf(),S,h),N=C[0],b=C[1],I=u(N).utcOffset(b);return I.$x.$timezone=h,I},u.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},u.tz.setDefault=function(g){c=g}}}))})),Ta=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(s,u,c){var p=u.prototype;c.utc=function(m){return new u({date:m,utc:!0,args:arguments})},p.utc=function(m){var h=c(this.toDate(),{locale:this.$L,utc:!0});return m?h.add(this.utcOffset(),n):h},p.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var T=p.parse;p.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),T.call(this,m)};var _=p.init;p.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else _.call(this)};var A=p.utcOffset;p.utcOffset=function(m,h){var S=this.$utils().u;if(S(m))return this.$u?0:S(this.$offset)?A.call(this):this.$offset;if(typeof m=="string"&&(m=(function(I){I===void 0&&(I="");var E=I.match(r);if(!E)return null;var G=(""+E[0]).match(o)||["-",0,0],U=G[0],L=60*+G[1]+ +G[2];return L===0?0:U==="+"?L:-L})(m),m===null))return this;var C=Math.abs(m)<=16?60*m:m;if(C===0)return this.utc(h);var N=this.clone();if(h)return N.$offset=C,N.$u=!1,N;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(C+b,n)).$offset=C,N.$x.$localOffset=b,N};var g=p.format;p.format=function(m){var h=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,h)},p.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var w=p.toDate;p.toDate=function(m){return m==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():w.call(this)};var k=p.diff;p.diff=function(m,h,S){if(m&&this.$u===m.$u)return k.call(this,m,h,S);var C=this.local(),N=c(m).local();return k.call(C,N,h,S)}}}))})),Sa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r(Et()):typeof define=="function"&&define.amd?define(["dayjs"],r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_locale_fr=r(n.dayjs)})(e,(function(n){"use strict";function r(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var o=r(n),s={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(u){return""+u+(u===1?"er":"")}};return o.default.locale(s,null,!0),s}))})),Ra=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_locale_en=r()})(e,(function(){"use strict";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 r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})),j=X(Et(),1),Na=X(fa(),1),Ca=X(la(),1),wa=X(ma(),1),ka=X(pa(),1),Pa=X(ha(),1),Ma=X(ya(),1),Ja=X(ga(),1),Da=X(Oa(),1),Ia=X(Aa(),1),ba=X(_a(),1),Ha=X(Ta(),1),Fc=Sa(),Ec=Ra();j.default.extend(Na.default),j.default.extend(Ca.default),j.default.extend(wa.default),j.default.extend(ka.default),j.default.extend(Pa.default),j.default.extend(Ja.default),j.default.extend(Ma.default),j.default.extend(Da.default),j.default.extend(Ia.default),j.default.extend(ba.default),j.default.extend(Ha.default);function oe(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Te(e,t=new WeakSet){if(e==null||typeof e!="object"||t.has(e))return e;if(t.add(e),Array.isArray(e))return e.map(n=>Te(n,t));if(oe(e)){const n={};for(const r in e)Object.hasOwn(e,r)&&(n[r]=Te(e[r],t));return n}return e}function ve(e,t,n=new WeakSet){if(!(!oe(t)||!oe(e))&&!(t===e||n.has(t))){n.add(t);for(const r in t)if(Object.hasOwn(t,r)){const o=t[r],s=e[r];oe(o)&&oe(s)?ve(s,o,n):Array.isArray(o)&&Array.isArray(s)?e[r]=Lt(s,o,n):e[r]=Te(o,n)}}}function Lt(e,t,n){const r=e.slice();for(let o=0;o<t.length;o++){const s=t[o],u=r[o];if(oe(s)&&oe(u)){const c={...u};ve(c,s,n),r[o]=c}else Array.isArray(s)&&Array.isArray(u)?r[o]=Lt(u,s,n):r[o]=Te(s,n)}return r}function Bt(e,...t){if(!oe(e))throw new TypeError("Target must be a plain object");const n=new WeakSet;for(const r of t)r!=null&&ve(e,r,n);return e}var z=[];for(let e=0;e<256;++e)z.push((e+256).toString(16).slice(1));function Fa(e,t=0){return(z[e[t+0]]+z[e[t+1]]+z[e[t+2]]+z[e[t+3]]+"-"+z[e[t+4]]+z[e[t+5]]+"-"+z[e[t+6]]+z[e[t+7]]+"-"+z[e[t+8]]+z[e[t+9]]+"-"+z[e[t+10]]+z[e[t+11]]+z[e[t+12]]+z[e[t+13]]+z[e[t+14]]+z[e[t+15]]).toLowerCase()}var Ea=new Uint8Array(16);function La(){return crypto.getRandomValues(Ea)}function Ba(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():va(e,t,n)}function va(e,t,n){e=e||{};const r=e.random??e.rng?.()??La();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[n+o]=r[o];return t}return Fa(r)}var Ga=1500,Ua=class Oe{static instance=null;defaultOptions={callCount:1,interval:Ga,maxCallCount:20,minCallCount:1};events={complete:()=>{},data:()=>{},error:()=>{}};pollings={};static getInstance(){return Oe.instance||(Oe.instance=new Oe),Oe.instance}on(t,n){this.events[t]=n}poll(t,n){const r=this.buildPollerOptions(n);return this.storeCurrentPolling(r),this.isActivePoller(r)&&t().then(o=>this.onRequest(o,t,r)).catch(o=>{this.dispatch("error",o)}),this}stop(t){t&&this.pollings[t]&&delete this.pollings[t]}buildPollerOptions(t){const n=Object.entries(t).reduce((r,[o,s])=>{if(s!==void 0){const u=o;r[u]=s}return r},{});return{...this.defaultOptions,...n}}dispatch(t,n){this.events[t](n)}isActivePoller(t){return t.type?!!this.pollings[t.type]&&this.pollings[t.type]===t.uuid:!0}isInProgress(t){return(t?.meta?.status??"")!=="COMPLETE"}onComplete(t,n){this.dispatch("data",t),this.dispatch("complete",t),this.removeCurrentPolling(n)}async onRequest(t,n,r){const o=J(t??{},D.Camel);this.isActivePoller(r)&&(this.isInProgress(o)&&r.callCount&&r.maxCallCount&&r.callCount<r.maxCallCount||!this.isInProgress(o)&&r.callCount&&r.minCallCount&&r.callCount<r.minCallCount?(this.isInProgress(o)||(o.meta=o.meta||{},o.meta.status="IN_PROGRESS"),r.callCount+=1,this.dispatch("data",o),r.interval&&await this.pause(r),this.poll(n,r)):this.isInProgress(o)?(o.meta=o.meta||{},o.meta.status="COMPLETE",this.onComplete(o,r)):this.onComplete(o,r))}pause(t){return new Promise(n=>{setTimeout(n,t.interval)})}removeCurrentPolling(t){t.type&&this.pollings[t.type]&&delete this.pollings[t.type]}storeCurrentPolling(t){t.type&&!t.uuid&&(t.uuid=Ba(),this.pollings[t.type]=t.uuid)}};function vt(e,t,n){const r=Ua.getInstance();return r.poll(e,t),n&&typeof n=="function"?(r.on("data",o=>{o instanceof Error?n(o,void 0,r):n(null,o,r)}),r.on("error",o=>{o instanceof Error?n(o):n(null,o)}),r):new Promise((o,s)=>{r.on("error",s),r.on("complete",u=>{u instanceof Error?s(u):o(u)})})}var qa=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){const n=t[0];if(this._map.set(e,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&typeof t=="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const n={...this.get(t)??{}};return delete n.id,{...n,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};function $a(){return new qa}var Lc=$a(),Gt="http://localhost".replace(/\/+$/,""),Ya=e=>typeof Blob<"u"&&e instanceof Blob,Q=class{configuration;middleware;constructor(e=new Ue){this.configuration=e,this.middleware=e.middleware}withMiddleware(...e){const t=this.clone();return t.middleware=t.middleware.concat(...e),t}withPreMiddleware(...e){const t=e.map(n=>({pre:n}));return this.withMiddleware(...t)}withPostMiddleware(...e){const t=e.map(n=>({post:n}));return this.withMiddleware(...t)}async request(e,t){const{url:n,init:r}=this.createFetchParams(e,t),o=await this.fetchApi(n,r);if(o.status>=200&&o.status<300)return o;throw new Ge(o,"Response returned an error code")}createFetchParams(e,t){let n=this.configuration.basePath+e.path;e.query!==void 0&&Object.keys(e.query).length!==0&&(n+="?"+this.configuration.queryParamsStringify(e.query));const r=typeof FormData<"u"&&e.body instanceof FormData||e.body instanceof URLSearchParams||Ya(e.body)?e.body:JSON.stringify(e.body),o=Object.assign({},this.configuration.headers,e.headers);Object.keys(o).forEach(u=>o[u]===void 0?delete o[u]:{});const s={method:e.method,body:r,credentials:this.configuration.credentials,...Bt({},t,{headers:Bt({},o,t?.headers)})};return{url:n,init:s}}fetchApi=async(e,t)=>{let n={url:e,init:t};for(const o of this.middleware)o.pre&&(n=await o.pre({fetch:this.fetchApi,...n})||n);let r=await(this.configuration.fetchApi||fetch)(n.url,n.init);for(const o of this.middleware)o.post&&(r=await o.post({fetch:this.fetchApi,url:n.url,init:n.init,response:r.clone()})||r);return r};clone(){const e=this.constructor,t=new e(this.configuration);return t.middleware=this.middleware.slice(),t}},Ge=class extends Error{response;name="ResponseError";constructor(e,t){super(t),this.response=e}},B=class extends Error{field;name="RequiredError";constructor(e,t){super(t),this.field=e}},Ka={csv:",",ssv:" ",tsv:" ",pipes:"|"},Ue=class{configuration;constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Gt}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||qe}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 za(e,t){const n=e[t];return n!=null}function qe(e,t=""){return Object.keys(e).map(n=>{const r=t+(t.length?`[${n}]`:n),o=e[n];if(o instanceof Array){const s=o.map(u=>encodeURIComponent(String(u))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${s}`}return o instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(o.toISOString())}`:o instanceof Object?qe(o,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(o))}`}).filter(n=>n.length>0).join("&")}function Va(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}var v=class{raw;transformer;constructor(e,t=n=>n){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},Ut=class{raw;constructor(e){this.raw=e}async value(){}},Za=class{raw;constructor(e){this.raw=e}async value(){return await this.raw.blob()}},$e=class{raw;constructor(e){this.raw=e}async value(){return await this.raw.text()}},Wa={Coupon:"COUPON"};function Xa(e){return!(!("name"in e)||e.name===void 0)}function Qa(e){return Ye(e,!1)}function Ye(e,t){return e==null?e:{name:e.name}}function qt(e){return $t(e,!1)}function $t(e,t=!1){return e==null?e:{name:e.name}}var xa={CreditCard:"CREDIT_CARD"};function ja(e){return!(!("name"in e)||e.name===void 0)}function ed(e){return Ke(e,!1)}function Ke(e,t){return e==null?e:{name:e.name}}function Yt(e){return Kt(e,!1)}function Kt(e,t=!1){return e==null?e:{name:e.name}}var td={DepositAccount:"DEPOSIT_ACCOUNT"};function id(e){return!(!("name"in e)||e.name===void 0)}function nd(e){return ze(e,!1)}function ze(e,t){return e==null?e:{name:e.name}}function zt(e){return Vt(e,!1)}function Vt(e,t=!1){return e==null?e:{name:e.name}}var rd={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function od(e){return!(!("status"in e)||e.status===void 0)}function Zt(e){return Wt(e,!1)}function Wt(e,t){return e==null?e:{status:e.status}}function Xt(e){return Qt(e,!1)}function Qt(e,t=!1){return e==null?e:{status:e.status}}var ad={PayLater:"PAY_LATER"};function dd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function sd(e){return Ve(e,!1)}function Ve(e,t){return e==null?e:{name:e.name,payload:Zt(e.payload)}}function xt(e){return jt(e,!1)}function jt(e,t=!1){return e==null?e:{name:e.name,payload:Xt(e.payload)}}function ei(e){return ti(e,!1)}function ti(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...Ye(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...Ke(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...ze(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...Ve(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}function ii(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return qt(e);case"CREDIT_CARD":return Yt(e);case"DEPOSIT_ACCOUNT":return zt(e);case"PAY_LATER":return xt(e);default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}}function cd(e,t=!1){return ii(e)}function ud(e){return!0}function Ze(e){return ni(e,!1)}function ni(e,t){return e==null?e:{airConditioning:e.air_conditioning==null?void 0:e.air_conditioning,airportTransportation:e.airport_transportation==null?void 0:e.airport_transportation,businessCenter:e.business_center==null?void 0:e.business_center,carRentDesk:e.car_rent_desk==null?void 0:e.car_rent_desk,childrenAllowed:e.children_allowed==null?void 0:e.children_allowed,clothingIron:e.clothing_iron==null?void 0:e.clothing_iron,coffeeTeaMaker:e.coffee_tea_maker==null?void 0:e.coffee_tea_maker,combination:e.combination==null?void 0:e.combination,continentalBreakfast:e.continental_breakfast==null?void 0:e.continental_breakfast,dataPorts:e.data_ports==null?void 0:e.data_ports,dryCleaning:e.dry_cleaning==null?void 0:e.dry_cleaning,electronicRoomKeys:e.electronic_room_keys==null?void 0:e.electronic_room_keys,exteriorRoomEntrance:e.exterior_room_entrance==null?void 0:e.exterior_room_entrance,familyRooms:e.family_rooms==null?void 0:e.family_rooms,fitnessFacility:e.fitness_facility==null?void 0:e.fitness_facility,gameRoom:e.game_room==null?void 0:e.game_room,golfCourse:e.golf_course==null?void 0:e.golf_course,hairDryer:e.hair_dryer==null?void 0:e.hair_dryer,handicapAccessible:e.handicap_accessible==null?void 0:e.handicap_accessible,inHouseBar:e.in_house_bar==null?void 0:e.in_house_bar,inHouseDining:e.in_house_dining==null?void 0:e.in_house_dining,inRoomMovies:e.in_room_movies==null?void 0:e.in_room_movies,indoorPool:e.indoor_pool==null?void 0:e.indoor_pool,interiorRoomEntrance:e.interior_room_entrance==null?void 0:e.interior_room_entrance,kitchen:e.kitchen==null?void 0:e.kitchen,map:e.map==null?void 0:e.map,meetingRooms:e.meeting_rooms==null?void 0:e.meeting_rooms,miniBarInRoom:e.mini_bar_in_room==null?void 0:e.mini_bar_in_room,nonSmokingRooms:e.non_smoking_rooms==null?void 0:e.non_smoking_rooms,outdoorPool:e.outdoor_pool==null?void 0:e.outdoor_pool,parkingGarage:e.parking_garage==null?void 0:e.parking_garage,petsAllowed:e.pets_allowed==null?void 0:e.pets_allowed,restrictedAccess:e.restricted_access==null?void 0:e.restricted_access,roomService:e.room_service==null?void 0:e.room_service,safe:e.safe==null?void 0:e.safe,sauna:e.sauna==null?void 0:e.sauna,tVInRoom:e.t_v_in_room==null?void 0:e.t_v_in_room,tennisCourt:e.tennis_court==null?void 0:e.tennis_court,twentyFourHourSecurity:e.twenty_four_hour_security==null?void 0:e.twenty_four_hour_security,valetParking:e.valet_parking==null?void 0:e.valet_parking,videoCheckOut:e.video_check_out==null?void 0:e.video_check_out,voiceMail:e.voice_mail==null?void 0:e.voice_mail,wakeUpService:e.wake_up_service==null?void 0:e.wake_up_service,whirpool:e.whirpool==null?void 0:e.whirpool}}function We(e){return ri(e,!1)}function ri(e,t=!1){return e==null?e:{air_conditioning:e.airConditioning,airport_transportation:e.airportTransportation,business_center:e.businessCenter,car_rent_desk:e.carRentDesk,children_allowed:e.childrenAllowed,clothing_iron:e.clothingIron,coffee_tea_maker:e.coffeeTeaMaker,combination:e.combination,continental_breakfast:e.continentalBreakfast,data_ports:e.dataPorts,dry_cleaning:e.dryCleaning,electronic_room_keys:e.electronicRoomKeys,exterior_room_entrance:e.exteriorRoomEntrance,family_rooms:e.familyRooms,fitness_facility:e.fitnessFacility,game_room:e.gameRoom,golf_course:e.golfCourse,hair_dryer:e.hairDryer,handicap_accessible:e.handicapAccessible,in_house_bar:e.inHouseBar,in_house_dining:e.inHouseDining,in_room_movies:e.inRoomMovies,indoor_pool:e.indoorPool,interior_room_entrance:e.interiorRoomEntrance,kitchen:e.kitchen,map:e.map,meeting_rooms:e.meetingRooms,mini_bar_in_room:e.miniBarInRoom,non_smoking_rooms:e.nonSmokingRooms,outdoor_pool:e.outdoorPool,parking_garage:e.parkingGarage,pets_allowed:e.petsAllowed,restricted_access:e.restrictedAccess,room_service:e.roomService,safe:e.safe,sauna:e.sauna,t_v_in_room:e.tVInRoom,tennis_court:e.tennisCourt,twenty_four_hour_security:e.twentyFourHourSecurity,valet_parking:e.valetParking,video_check_out:e.videoCheckOut,voice_mail:e.voiceMail,wake_up_service:e.wakeUpService,whirpool:e.whirpool}}function fd(e){return!(!("count"in e)||e.count===void 0||!("name"in e)||e.name===void 0||!("occupancy"in e)||e.occupancy===void 0)}function ld(e){return oi(e,!1)}function oi(e,t){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function md(e){return ai(e,!1)}function ai(e,t=!1){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function pd(e){return!(!("dateFrom"in e)||e.dateFrom===void 0||!("dateTo"in e)||e.dateTo===void 0||!("penaltyPercentage"in e)||e.penaltyPercentage===void 0)}function Se(e){return di(e,!1)}function di(e,t){return e==null?e:{dateFrom:e.date_from,dateTo:e.date_to,penaltyPercentage:e.penalty_percentage}}function Re(e){return si(e,!1)}function si(e,t=!1){return e==null?e:{date_from:e.dateFrom,date_to:e.dateTo,penalty_percentage:e.penaltyPercentage}}var Ne={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"};function hd(e){for(const t in Ne)if(Object.prototype.hasOwnProperty.call(Ne,t)&&Ne[t]===e)return!0;return!1}function ye(e){return ci(e,!1)}function ci(e,t){return e}function yd(e){return e}function gd(e,t){return e}function Od(e){return!(!("isHeroImage"in e)||e.isHeroImage===void 0||!("l"in e)||e.l===void 0||!("m"in e)||e.m===void 0||!("s"in e)||e.s===void 0||!("xl"in e)||e.xl===void 0||!("xs"in e)||e.xs===void 0)}function ue(e){return ui(e,!1)}function ui(e,t){return e==null?e:{caption:e.caption==null?void 0:e.caption,isHeroImage:e.is_hero_image,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function ge(e){return fi(e,!1)}function fi(e,t=!1){return e==null?e:{caption:e.caption,is_hero_image:e.isHeroImage,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function Ad(e){return!(!("beds"in e)||e.beds===void 0||!("bedsPretty"in e)||e.bedsPretty===void 0||!("count"in e)||e.count===void 0||!("description"in e)||e.description===void 0||!("id"in e)||e.id===void 0||!("occupancy"in e)||e.occupancy===void 0)}function li(e){return mi(e,!1)}function mi(e,t){return e==null?e:{amenities:e.amenities==null?void 0:e.amenities,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:e.highres_images==null?void 0:e.highres_images,id:e.id,imageIndexes:e.image_indexes==null?void 0:e.image_indexes,images:e.images==null?void 0:e.images.map(ue),lowresImages:e.lowres_images==null?void 0:e.lowres_images,occupancy:e.occupancy,richDescription:e.rich_description==null?void 0:e.rich_description,roomSquareFeet:e.room_square_feet==null?void 0:e.room_square_feet,roomSquareMeters:e.room_square_meters==null?void 0:e.room_square_meters,thumbImages:e.thumb_images==null?void 0:e.thumb_images}}function pi(e){return hi(e,!1)}function hi(e,t=!1){return e==null?e:{amenities:e.amenities,beds:e.beds,beds_pretty:e.bedsPretty,count:e.count,description:e.description,highres_images:e.highresImages,id:e.id,image_indexes:e.imageIndexes,images:e.images==null?void 0:e.images.map(ge),lowres_images:e.lowresImages,occupancy:e.occupancy,rich_description:e.richDescription,room_square_feet:e.roomSquareFeet,room_square_meters:e.roomSquareMeters,thumb_images:e.thumbImages}}var Ce={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"};function _d(e){for(const t in Ce)if(Object.prototype.hasOwnProperty.call(Ce,t)&&Ce[t]===e)return!0;return!1}function yi(e){return gi(e,!1)}function gi(e,t){return e}function Td(e){return e}function Sd(e,t){return e}var Rd={PerNight:"PER_NIGHT",PerStay:"PER_STAY"},Nd={PerAdult:"PER_ADULT",PerBooking:"PER_BOOKING"};function Cd(e){return!(!("taxFrequency"in e)||e.taxFrequency===void 0||!("taxMode"in e)||e.taxMode===void 0)}function Xe(e){return Oi(e,!1)}function Oi(e,t){return e==null?e:{amount:e.amount==null?void 0:e.amount,code:e.code==null?void 0:e.code,description:e.description==null?void 0:e.description,percentage:e.percentage==null?void 0:e.percentage,taxFrequency:e.tax_frequency,taxMode:e.tax_mode}}function Qe(e){return Ai(e,!1)}function Ai(e,t=!1){return e==null?e:{amount:e.amount,code:e.code,description:e.description,percentage:e.percentage,tax_frequency:e.taxFrequency,tax_mode:e.taxMode}}var we={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",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"};function wd(e){for(const t in we)if(Object.prototype.hasOwnProperty.call(we,t)&&we[t]===e)return!0;return!1}function te(e){return _i(e,!1)}function _i(e,t){return e}function kd(e){return e}function Pd(e,t){return e}function Md(e){return!(!("name"in e)||e.name===void 0)}function xe(e){return Ti(e,!1)}function Ti(e,t){return e==null?e:{bg:e.bg==null?void 0:e.bg,color:e.color==null?void 0:e.color,description:e.description==null?void 0:e.description,faIcon:e.fa_icon==null?void 0:e.fa_icon,name:e.name}}function je(e){return Si(e,!1)}function Si(e,t=!1){return e==null?e:{bg:e.bg,color:e.color,description:e.description,fa_icon:e.faIcon,name:e.name}}var Jd={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},Dd={Included:"included",NotIncluded:"not_included",Unknown:"unknown"},Id={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"};function bd(e){return!(!("breakfastOption"in e)||e.breakfastOption===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRooms"in e)||e.hotelRooms===void 0||!("price"in e)||e.price===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0||!("stayTaxesInfo"in e)||e.stayTaxesInfo===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0)}function fe(e){return Ri(e,!1)}function Ri(e,t){return e==null?e:{breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,breakfastOption:yi(e.breakfast_option),breakfastPricePerGuestPerNight:e.breakfast_price_per_guest_per_night==null?void 0:e.breakfast_price_per_guest_per_night,breakfastUnitPrice:e.breakfast_unit_price==null?void 0:e.breakfast_unit_price,cancellationPolicies:e.cancellation_policies.map(Se),count:e.count==null?void 0:e.count,currency:te(e.currency),hotelId:e.hotel_id,hotelRooms:e.hotel_rooms.map(li),id:e.id==null?void 0:e.id,packageType:e.package_type==null?void 0:e.package_type,price:e.price,sourceMarket:ye(e.source_market),stayTaxesInfo:e.stay_taxes_info,tags:e.tags==null?void 0:e.tags.map(xe),taxIncludedPrice:e.tax_included_price,taxes:e.taxes==null?void 0:e.taxes.map(Xe),type:e.type==null?void 0:e.type}}function le(e){return Ni(e,!1)}function Ni(e,t=!1){return e==null?e:{breakfast_count:e.breakfastCount,breakfast_option:e.breakfastOption,breakfast_price_per_guest_per_night:e.breakfastPricePerGuestPerNight,breakfast_unit_price:e.breakfastUnitPrice,cancellation_policies:e.cancellationPolicies.map(Re),count:e.count,currency:e.currency,hotel_id:e.hotelId,hotel_rooms:e.hotelRooms.map(pi),id:e.id,package_type:e.packageType,price:e.price,source_market:e.sourceMarket,stay_taxes_info:e.stayTaxesInfo,tags:e.tags==null?void 0:e.tags.map(je),tax_included_price:e.taxIncludedPrice,taxes:e.taxes==null?void 0:e.taxes.map(Qe),type:e.type}}var ke={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};function Hd(e){for(const t in ke)if(Object.prototype.hasOwnProperty.call(ke,t)&&ke[t]===e)return!0;return!1}function Pe(e){return Ci(e,!1)}function Ci(e,t){return e}function Fd(e){return e}function Ed(e,t){return e}var Me={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"};function Ld(e){for(const t in Me)if(Object.prototype.hasOwnProperty.call(Me,t)&&Me[t]===e)return!0;return!1}function Je(e){return wi(e,!1)}function wi(e,t){return e}function Bd(e){return e}function vd(e,t){return e}function Gd(e){return!(!("address"in e)||e.address===void 0||!("city"in e)||e.city===void 0||!("country"in e)||e.country===void 0||!("name"in e)||e.name===void 0||!("zipCode"in e)||e.zipCode===void 0)}function ki(e){return Pi(e,!1)}function Pi(e,t){return e==null?e:{address:e.address,city:e.city,country:Je(e.country),name:e.name,state:e.state==null?void 0:e.state,vatNumber:e.vat_number==null?void 0:e.vat_number,zipCode:e.zip_code}}function Mi(e){return Ji(e,!1)}function Ji(e,t=!1){return e==null?e:{address:e.address,city:e.city,country:e.country,name:e.name,state:e.state,vat_number:e.vatNumber,zip_code:e.zipCode}}var Ud={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"};function qd(e){return!(!("email"in e)||e.email===void 0||!("firstName"in e)||e.firstName===void 0||!("lastName"in e)||e.lastName===void 0||!("nationality"in e)||e.nationality===void 0||!("phone"in e)||e.phone===void 0)}function et(e){return Di(e,!1)}function Di(e,t){return e==null?e:{address:e.address==null?void 0:e.address,city:e.city==null?void 0:e.city,country:e.country==null?void 0:Je(e.country),email:e.email,firstName:e.first_name,lang:e.lang==null?void 0:Pe(e.lang),lastName:e.last_name,nationality:Je(e.nationality),organization:e.organization==null?void 0:ki(e.organization),phone:e.phone,remarks:e.remarks==null?void 0:e.remarks,salutation:e.salutation==null?void 0:e.salutation,state:e.state==null?void 0:e.state,zipCode:e.zip_code==null?void 0:e.zip_code}}function tt(e){return Ii(e,!1)}function Ii(e,t=!1){return e==null?e:{address:e.address,city:e.city,country:e.country,email:e.email,first_name:e.firstName,lang:e.lang,last_name:e.lastName,nationality:e.nationality,organization:Mi(e.organization),phone:e.phone,remarks:e.remarks,salutation:e.salutation,state:e.state,zip_code:e.zipCode}}function $d(e){return!(!("amount"in e)||e.amount===void 0||!("couponId"in e)||e.couponId===void 0)}function bi(e){return Hi(e,!1)}function Hi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id,token:e.token==null?void 0:e.token}}function Fi(e){return Ei(e,!1)}function Ei(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Yd={Coupon:"COUPON"};function Kd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function zd(e){return it(e,!1)}function it(e,t){return e==null?e:{name:e.name,payload:bi(e.payload)}}function Li(e){return Bi(e,!1)}function Bi(e,t=!1){return e==null?e:{name:e.name,payload:Fi(e.payload)}}function Vd(e){return!(!("amount"in e)||e.amount===void 0||!("token"in e)||e.token===void 0)}function vi(e){return Gi(e,!1)}function Gi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,token:e.token}}function Ui(e){return qi(e,!1)}function qi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Zd={CreditCard:"CREDIT_CARD"};function Wd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function Xd(e){return nt(e,!1)}function nt(e,t){return e==null?e:{name:e.name,payload:vi(e.payload)}}function $i(e){return Yi(e,!1)}function Yi(e,t=!1){return e==null?e:{name:e.name,payload:Ui(e.payload)}}function Qd(e){return!(!("amount"in e)||e.amount===void 0)}function Ki(e){return zi(e,!1)}function zi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,token:e.token==null?void 0:e.token}}function Vi(e){return Zi(e,!1)}function Zi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var xd={DepositAccount:"DEPOSIT_ACCOUNT"};function jd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function es(e){return rt(e,!1)}function rt(e,t){return e==null?e:{name:e.name,payload:Ki(e.payload)}}function Wi(e){return Xi(e,!1)}function Xi(e,t=!1){return e==null?e:{name:e.name,payload:Vi(e.payload)}}var ts={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function is(e){return!(!("amount"in e)||e.amount===void 0||!("status"in e)||e.status===void 0)}function Qi(e){return xi(e,!1)}function xi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,status:e.status,token:e.token==null?void 0:e.token}}function ji(e){return en(e,!1)}function en(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,status:e.status,token:e.token}}var ns={PayLater:"PAY_LATER"};function rs(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function os(e){return ot(e,!1)}function ot(e,t){return e==null?e:{name:e.name,payload:Qi(e.payload)}}function tn(e){return nn(e,!1)}function nn(e,t=!1){return e==null?e:{name:e.name,payload:ji(e.payload)}}function rn(e){return on(e,!1)}function on(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...it(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...nt(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...rt(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...ot(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}function at(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return Li(e);case"CREDIT_CARD":return $i(e);case"DEPOSIT_ACCOUNT":return Wi(e);case"PAY_LATER":return tn(e);default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}}function as(e,t=!1){return at(e)}var ds={Active:"active",Archived:"archived",Claimed:"claimed",Incomplete:"incomplete",Open:"open",WaitingPayment:"waiting_payment"};function ss(e){return!(!("status"in e)||e.status===void 0)}function an(e){return dn(e,!1)}function dn(e,t){return e==null?e:{createdAt:e.created_at==null?void 0:e.created_at,reference:e.reference==null?void 0:e.reference,status:e.status}}function sn(e){return cn(e,!1)}function cn(e,t=!1){return e==null?e:{created_at:e.createdAt,reference:e.reference,status:e.status}}var cs={CreditNote:"credit_note",Invoice:"invoice"};function us(e){return!(!("type"in e)||e.type===void 0||!("url"in e)||e.url===void 0)}function un(e){return fn(e,!1)}function fn(e,t){return e==null?e:{type:e.type,url:e.url}}function ln(e){return mn(e,!1)}function mn(e,t=!1){return e==null?e:{type:e.type,url:e.url}}var fs={Insurance:"insurance"};function ls(e){return!(!("price"in e)||e.price===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0||!("type"in e)||e.type===void 0)}function dt(e){return pn(e,!1)}function pn(e,t){return e==null?e:{price:e.price,taxIncludedPrice:e.tax_included_price,type:e.type}}function st(e){return hn(e,!1)}function hn(e,t=!1){return e==null?e:{price:e.price,tax_included_price:e.taxIncludedPrice,type:e.type}}function ms(e){return!0}function De(e){return yn(e,!1)}function yn(e,t){return e==null?e:{latitude:e.latitude==null?void 0:e.latitude,longitude:e.longitude==null?void 0:e.longitude,name:e.name==null?void 0:e.name,slug:e.slug==null?void 0:e.slug}}function Ie(e){return gn(e,!1)}function gn(e,t=!1){return e==null?e:{latitude:e.latitude,longitude:e.longitude,name:e.name,slug:e.slug}}function ps(e){return!(!("beds"in e)||e.beds===void 0||!("bedsPretty"in e)||e.bedsPretty===void 0||!("count"in e)||e.count===void 0||!("description"in e)||e.description===void 0||!("id"in e)||e.id===void 0||!("occupancy"in e)||e.occupancy===void 0)}function On(e){return An(e,!1)}function An(e,t){return e==null?e:{amenities:e.amenities==null?void 0:e.amenities,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:e.highres_images==null?void 0:e.highres_images,id:e.id,imageIndexes:e.image_indexes==null?void 0:e.image_indexes,images:e.images==null?void 0:e.images.map(ue),lowresImages:e.lowres_images==null?void 0:e.lowres_images,occupancy:e.occupancy,richDescription:e.rich_description==null?void 0:e.rich_description,roomSquareFeet:e.room_square_feet==null?void 0:e.room_square_feet,roomSquareMeters:e.room_square_meters==null?void 0:e.room_square_meters,thumbImages:e.thumb_images==null?void 0:e.thumb_images}}function _n(e){return Tn(e,!1)}function Tn(e,t=!1){return e==null?e:{amenities:e.amenities,beds:e.beds,beds_pretty:e.bedsPretty,count:e.count,description:e.description,highres_images:e.highresImages,id:e.id,image_indexes:e.imageIndexes,images:e.images==null?void 0:e.images.map(ge),lowres_images:e.lowresImages,occupancy:e.occupancy,rich_description:e.richDescription,room_square_feet:e.roomSquareFeet,room_square_meters:e.roomSquareMeters,thumb_images:e.thumbImages}}function hs(e){return!(!("fullname"in e)||e.fullname===void 0||!("id"in e)||e.id===void 0)}function be(e){return Sn(e,!1)}function Sn(e,t){return e==null?e:{fullname:e.fullname,id:e.id}}function Rn(e){return Nn(e,!1)}function Nn(e,t=!1){return e==null?e:{fullname:e.fullname,id:e.id}}function ys(e){return!(!("hotelRoomId"in e)||e.hotelRoomId===void 0||!("hotelRoomingListGuests"in e)||e.hotelRoomingListGuests===void 0||!("id"in e)||e.id===void 0)}function ct(e){return Cn(e,!1)}function Cn(e,t){return e==null?e:{hotelRoom:e.hotel_room==null?void 0:On(e.hotel_room),hotelRoomId:e.hotel_room_id,hotelRoomingListGuests:e.hotel_rooming_list_guests.map(be),id:e.id,limitDate:e.limit_date==null?void 0:new Date(e.limit_date)}}function wn(e){return kn(e,!1)}function kn(e,t=!1){return e==null?e:{hotel_room:_n(e.hotelRoom),hotel_room_id:e.hotelRoomId,hotel_rooming_list_guests:e.hotelRoomingListGuests.map(Rn),id:e.id,limit_date:e.limitDate==null?e.limitDate:e.limitDate.toISOString()}}var gs={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},Os={BkgCx:"bkg-cx",BkgCf:"bkg-cf",BkgCreated:"bkg-created",BkgAf:"bkg-af",BkgIp:"bkg-ip",BkgPc:"bkg-pc",BkgPp:"bkg-pp",BkgQr:"bkg-qr"};function As(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("contactPerson"in e)||e.contactPerson===void 0||!("createdAt"in e)||e.createdAt===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0||!("lastStatusUpdatedAt"in e)||e.lastStatusUpdatedAt===void 0||!("reference"in e)||e.reference===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0||!("status"in e)||e.status===void 0||!("taxAmount"in e)||e.taxAmount===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0||!("terms"in e)||e.terms===void 0)}function ee(e){return Pn(e,!1)}function Pn(e,t){return e==null?e:{additionalCheckInInstruction:e.additional_check_in_instruction==null?void 0:e.additional_check_in_instruction,additionalPolicies:e.additional_policies==null?void 0:e.additional_policies,addons:e.addons==null?void 0:e.addons.map(dt),adultCount:e.adult_count,bookingGroupId:e.booking_group_id==null?void 0:e.booking_group_id,canceledAt:e.canceled_at==null?void 0:e.canceled_at,cancellationPolicies:e.cancellation_policies.map(Se),cancellationPolicyRemarks:e.cancellation_policy_remarks==null?void 0:e.cancellation_policy_remarks,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,confirmedAt:e.confirmed_at==null?void 0:e.confirmed_at,contactPerson:et(e.contact_person),createdAt:e.created_at,currency:te(e.currency),customerReference:e.customer_reference==null?void 0:e.customer_reference,event:e.event==null?void 0:De(e.event),failedAt:e.failed_at==null?void 0:e.failed_at,hotelConfirmationId:e.hotel_confirmation_id==null?void 0:e.hotel_confirmation_id,hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer),hotelRoomingLists:e.hotel_rooming_lists==null?void 0:e.hotel_rooming_lists.map(ct),id:e.id==null?void 0:e.id,insurance:e.insurance==null?void 0:an(e.insurance),invoices:e.invoices==null?void 0:e.invoices.map(un),lastStatusUpdatedAt:e.last_status_updated_at,metadata:e.metadata==null?void 0:e.metadata,payLater:e.pay_later==null?void 0:e.pay_later,paymentMethods:e.payment_methods==null?void 0:e.payment_methods.map(rn),penaltyPercentage:e.penalty_percentage==null?void 0:e.penalty_percentage,reference:e.reference,sourceMarket:ye(e.source_market),status:e.status,taxAmount:e.tax_amount,taxIncludedPrice:e.tax_included_price,taxes:e.taxes==null?void 0:e.taxes.map(Xe),terms:e.terms,token:e.token==null?void 0:e.token}}function Mn(e){return Jn(e,!1)}function Jn(e,t=!1){return e==null?e:{additional_check_in_instruction:e.additionalCheckInInstruction,additional_policies:e.additionalPolicies,addons:e.addons==null?void 0:e.addons.map(st),adult_count:e.adultCount,booking_group_id:e.bookingGroupId,canceled_at:e.canceledAt,cancellation_policies:e.cancellationPolicies.map(Re),cancellation_policy_remarks:e.cancellationPolicyRemarks,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,confirmed_at:e.confirmedAt,contact_person:tt(e.contactPerson),created_at:e.createdAt,currency:e.currency,customer_reference:e.customerReference,event:Ie(e.event),failed_at:e.failedAt,hotel_confirmation_id:e.hotelConfirmationId,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer),hotel_rooming_lists:e.hotelRoomingLists==null?void 0:e.hotelRoomingLists.map(wn),id:e.id,insurance:sn(e.insurance),invoices:e.invoices==null?void 0:e.invoices.map(ln),last_status_updated_at:e.lastStatusUpdatedAt,metadata:e.metadata,pay_later:e.payLater,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(at),penalty_percentage:e.penaltyPercentage,reference:e.reference,source_market:e.sourceMarket,status:e.status,tax_amount:e.taxAmount,tax_included_price:e.taxIncludedPrice,taxes:e.taxes==null?void 0:e.taxes.map(Qe),terms:e.terms,token:e.token}}var _s={Insurance:"insurance"};function Ts(e){return!(!("type"in e)||e.type===void 0)}function Dn(e){return In(e,!1)}function In(e,t){return e==null?e:{type:e.type}}function bn(e){return Hn(e,!1)}function Hn(e,t=!1){return e==null?e:{type:e.type}}function Ss(e){return!(!("fullname"in e)||e.fullname===void 0)}function Fn(e){return En(e,!1)}function En(e,t){return e==null?e:{fullname:e.fullname}}function Ln(e){return Bn(e,!1)}function Bn(e,t=!1){return e==null?e:{fullname:e.fullname}}function Rs(e){return!(!("guests"in e)||e.guests===void 0||!("hotelRoomId"in e)||e.hotelRoomId===void 0)}function vn(e){return Gn(e,!1)}function Gn(e,t){return e==null?e:{guests:e.guests.map(Fn),hotelRoomId:e.hotel_room_id}}function Un(e){return qn(e,!1)}function qn(e,t=!1){return e==null?e:{guests:e.guests.map(Ln),hotel_room_id:e.hotelRoomId}}function Ns(e){return!0}function me(e){return $n(e,!1)}function $n(e,t){return e==null?e:{dateEnd:e.date_end==null?void 0:e.date_end,dateStart:e.date_start==null?void 0:e.date_start,id:e.id==null?void 0:e.id,imageUrl:e.image_url==null?void 0:e.image_url,name:e.name==null?void 0:e.name,slug:e.slug==null?void 0:e.slug}}function pe(e){return Yn(e,!1)}function Yn(e,t=!1){return e==null?e:{date_end:e.dateEnd,date_start:e.dateStart,id:e.id,image_url:e.imageUrl,name:e.name,slug:e.slug}}function Cs(e){return!0}function Kn(e){return zn(e,!1)}function zn(e,t){return e==null?e:{couponId:e.coupon_id==null?void 0:e.coupon_id}}function Vn(e){return Zn(e,!1)}function Zn(e,t=!1){return e==null?e:{coupon_id:e.couponId}}var ws={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"};function ks(e){return!(!("name"in e)||e.name===void 0)}function ut(e){return Wn(e,!1)}function Wn(e,t){return e==null?e:{name:e.name,payload:e.payload==null?void 0:Kn(e.payload)}}function ft(e){return Xn(e,!1)}function Xn(e,t=!1){return e==null?e:{name:e.name,payload:Vn(e.payload)}}function Ps(e){return!(!("bookingPolicyId"in e)||e.bookingPolicyId===void 0||!("contactPerson"in e)||e.contactPerson===void 0)}function Ms(e){return Qn(e,!1)}function Qn(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(Dn),bookingPolicyId:e.booking_policy_id,contactPerson:et(e.contact_person),eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),guestsList:e.guests_list==null?void 0:e.guests_list.map(vn),metadata:e.metadata==null?void 0:e.metadata,paymentMethods:e.payment_methods==null?void 0:e.payment_methods.map(ut),trackingId:e.tracking_id==null?void 0:e.tracking_id}}function xn(e){return jn(e,!1)}function jn(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(bn),booking_policy_id:e.bookingPolicyId,contact_person:tt(e.contactPerson),event_metadata:pe(e.eventMetadata),guests_list:e.guestsList==null?void 0:e.guestsList.map(Un),metadata:e.metadata,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(ft),tracking_id:e.trackingId}}function Js(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("expiresAt"in e)||e.expiresAt===void 0||!("hasRoomingLists"in e)||e.hasRoomingLists===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0||!("id"in e)||e.id===void 0||!("isCancellationPoliciesUpdated"in e)||e.isCancellationPoliciesUpdated===void 0||!("isPriceIncreased"in e)||e.isPriceIncreased===void 0)}function lt(e){return er(e,!1)}function er(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(dt),adultCount:e.adult_count,cancellationPolicies:e.cancellation_policies.map(Se),checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),expiresAt:e.expires_at==null?null:new Date(e.expires_at),hasRoomingLists:e.has_rooming_lists,hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer),id:e.id,isCancellationPoliciesUpdated:e.is_cancellation_policies_updated,isPriceIncreased:e.is_price_increased}}function Ds(e){return tr(e,!1)}function tr(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(st),adult_count:e.adultCount,cancellation_policies:e.cancellationPolicies.map(Re),check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,expires_at:e.expiresAt==null?e.expiresAt:e.expiresAt.toISOString(),has_rooming_lists:e.hasRoomingLists,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer),id:e.id,is_cancellation_policies_updated:e.isCancellationPoliciesUpdated,is_price_increased:e.isPriceIncreased}}function Is(e){return!(!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function bs(e){return ir(e,!1)}function ir(e,t){return e==null?e:{addBreakfast:e.add_breakfast==null?void 0:e.add_breakfast,breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,hotelRoomOfferId:e.hotel_room_offer_id,lang:e.lang==null?void 0:Pe(e.lang)}}function nr(e){return rr(e,!1)}function rr(e,t=!1){return e==null?e:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,hotel_room_offer_id:e.hotelRoomOfferId,lang:e.lang}}function Hs(e){return!0}function or(e){return ar(e,!1)}function ar(e,t){return e==null?e:{endingBefore:e.ending_before==null?void 0:e.ending_before,limit:e.limit==null?void 0:e.limit,startingAfter:e.starting_after==null?void 0:e.starting_after,totalCount:e.total_count==null?void 0:e.total_count}}function dr(e){return sr(e,!1)}function sr(e,t=!1){return e==null?e:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount}}function Fs(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function cr(e){return ur(e,!1)}function ur(e,t){return e==null?e:{data:e.data.map(ee),meta:or(e.meta)}}function Es(e){return fr(e,!1)}function fr(e,t=!1){return e==null?e:{data:e.data.map(Mn),meta:dr(e.meta)}}var Ls={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"};function Bs(e){return!(!("statusCode"in e)||e.statusCode===void 0)}function vs(e){return lr(e,!1)}function lr(e,t){return e==null?e:{documentationUrl:e.documentation_url==null?void 0:e.documentation_url,error:e.error==null?void 0:e.error,message:e.message==null?void 0:e.message,statusCode:e.statusCode,type:e.type==null?void 0:e.type}}function Gs(e){return mr(e,!1)}function mr(e,t=!1){return e==null?e:{documentation_url:e.documentationUrl,error:e.error,message:e.message,statusCode:e.statusCode,type:e.type}}function Us(e){return!(!("rating"in e)||e.rating===void 0)}function mt(e){return pr(e,!1)}function pr(e,t){return e==null?e:{category:e.category==null?void 0:e.category,rating:e.rating}}function pt(e){return hr(e,!1)}function hr(e,t=!1){return e==null?e:{category:e.category,rating:e.rating}}function qs(e){return!0}function ht(e){return yr(e,!1)}function yr(e,t){return e==null?e:{count:e.count==null?void 0:e.count,highres:e.highres==null?void 0:e.highres,lowres:e.lowres==null?void 0:e.lowres,prefix:e.prefix==null?void 0:e.prefix,suffix:e.suffix==null?void 0:e.suffix,thumb:e.thumb==null?void 0:e.thumb}}function yt(e){return gr(e,!1)}function gr(e,t=!1){return e==null?e:{count:e.count,highres:e.highres,lowres:e.lowres,prefix:e.prefix,suffix:e.suffix,thumb:e.thumb}}function $s(e){return!0}function Or(e){return Ar(e,!1)}function Ar(e,t){return e==null?e:{driving:e.driving==null?void 0:e.driving,transit:e.transit==null?void 0:e.transit,walking:e.walking==null?void 0:e.walking}}function _r(e){return Tr(e,!1)}function Tr(e,t=!1){return e==null?e:{driving:e.driving,transit:e.transit,walking:e.walking}}function Ys(e){return!(!("name"in e)||e.name===void 0)}function gt(e){return Sr(e,!1)}function Sr(e,t){return e==null?e:{description:e.description==null?void 0:e.description,name:e.name,travelTimes:e.travel_times==null?void 0:Or(e.travel_times)}}function Ot(e){return Rr(e,!1)}function Rr(e,t=!1){return e==null?e:{description:e.description,name:e.name,travel_times:_r(e.travelTimes)}}function Ks(e){return!(!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("name"in e)||e.name===void 0||!("timezone"in e)||e.timezone===void 0)}function Nr(e){return Cr(e,!1)}function Cr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,address2:e.address2==null?void 0:e.address2,amenities:e.amenities==null?void 0:Ze(e.amenities),checkInTime:e.check_in_time==null?void 0:e.check_in_time,checkOutTime:e.check_out_time==null?void 0:e.check_out_time,city:e.city==null?void 0:e.city,country:e.country==null?void 0:e.country,countryCode:e.country_code==null?void 0:e.country_code,currency:e.currency==null?void 0:te(e.currency),description:e.description==null?void 0:e.description,distance:e.distance==null?void 0:e.distance,email:e.email==null?void 0:e.email,fax:e.fax==null?void 0:e.fax,hotelImages:e.hotel_images==null?void 0:e.hotel_images.map(ue),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(mt),id:e.id,images:e.images==null?void 0:ht(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone==null?void 0:e.phone,policy:e.policy==null?void 0:e.policy,postalCode:e.postal_code==null?void 0:e.postal_code,rating:e.rating==null?void 0:e.rating,reviewCount:e.review_count==null?void 0:e.review_count,state:e.state==null?void 0:e.state,taId:e.ta_id==null?void 0:e.ta_id,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(gt),website:e.website==null?void 0:e.website}}function zs(e){return wr(e,!1)}function wr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:We(e.amenities),check_in_time:e.checkInTime,check_out_time:e.checkOutTime,city:e.city,country:e.country,country_code:e.countryCode,currency:e.currency,description:e.description,distance:e.distance,email:e.email,fax:e.fax,hotel_images:e.hotelImages==null?void 0:e.hotelImages.map(ge),hotel_review_ratings:e.hotelReviewRatings==null?void 0:e.hotelReviewRatings.map(pt),id:e.id,images:yt(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone,policy:e.policy,postal_code:e.postalCode,rating:e.rating,review_count:e.reviewCount,state:e.state,ta_id:e.taId,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(Ot),website:e.website}}function Vs(e){return!(!("hotelImages"in e)||e.hotelImages===void 0||!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("name"in e)||e.name===void 0||!("timezone"in e)||e.timezone===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0)}function kr(e){return Pr(e,!1)}function Pr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,address2:e.address2==null?void 0:e.address2,amenities:e.amenities==null?void 0:Ze(e.amenities),checkInTime:e.check_in_time==null?void 0:e.check_in_time,checkOutTime:e.check_out_time==null?void 0:e.check_out_time,city:e.city==null?void 0:e.city,country:e.country==null?void 0:e.country,countryCode:e.country_code==null?void 0:e.country_code,currency:e.currency==null?void 0:te(e.currency),description:e.description==null?void 0:e.description,distance:e.distance==null?void 0:e.distance,email:e.email==null?void 0:e.email,fax:e.fax==null?void 0:e.fax,hotelImages:e.hotel_images.map(ue),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(mt),id:e.id,images:e.images==null?void 0:ht(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone==null?void 0:e.phone,policy:e.policy==null?void 0:e.policy,postalCode:e.postal_code==null?void 0:e.postal_code,rating:e.rating==null?void 0:e.rating,reviewCount:e.review_count==null?void 0:e.review_count,state:e.state==null?void 0:e.state,taId:e.ta_id==null?void 0:e.ta_id,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(gt),website:e.website==null?void 0:e.website,hotelRoomOffers:e.hotel_room_offers.map(fe),tags:e.tags==null?void 0:e.tags.map(xe)}}function Mr(e){return Jr(e,!1)}function Jr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:We(e.amenities),check_in_time:e.checkInTime,check_out_time:e.checkOutTime,city:e.city,country:e.country,country_code:e.countryCode,currency:e.currency,description:e.description,distance:e.distance,email:e.email,fax:e.fax,hotel_images:e.hotelImages.map(ge),hotel_review_ratings:e.hotelReviewRatings==null?void 0:e.hotelReviewRatings.map(pt),id:e.id,images:yt(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone,policy:e.policy,postal_code:e.postalCode,rating:e.rating,review_count:e.reviewCount,state:e.state,ta_id:e.taId,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(Ot),website:e.website,hotel_room_offers:e.hotelRoomOffers.map(le),tags:e.tags==null?void 0:e.tags.map(je)}}function Zs(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("createdAt"in e)||e.createdAt===void 0||!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("roomCount"in e)||e.roomCount===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0)}function At(e){return Dr(e,!1)}function Dr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,createdAt:e.created_at,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),id:e.id,latitude:e.latitude,longitude:e.longitude,roomCount:e.room_count,sourceMarket:ye(e.source_market)}}function Ws(e){return Ir(e,!1)}function Ir(e,t=!1){return e==null?e:{address:e.address,adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,created_at:e.createdAt,event_metadata:pe(e.eventMetadata),id:e.id,latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount,source_market:e.sourceMarket}}function Xs(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("roomCount"in e)||e.roomCount===void 0)}function Qs(e){return br(e,!1)}function br(e,t){return e==null?e:{address:e.address==null?void 0:e.address,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),latitude:e.latitude==null?void 0:e.latitude,longitude:e.longitude==null?void 0:e.longitude,roomCount:e.room_count}}function Hr(e){return Fr(e,!1)}function Fr(e,t=!1){return e==null?e:{address:e.address,adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount}}function xs(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelOffers"in e)||e.hotelOffers===void 0)}function Er(e){return Lr(e,!1)}function Lr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelOffers:e.hotel_offers.map(kr),priceHistogram:e.price_histogram==null?void 0:e.price_histogram,priceMax:e.price_max==null?void 0:e.price_max,priceMin:e.price_min==null?void 0:e.price_min}}function Br(e){return vr(e,!1)}function vr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_offers:e.hotelOffers.map(Mr),price_histogram:e.priceHistogram,price_max:e.priceMax,price_min:e.priceMin}}var He={Complete:"COMPLETE",InProgress:"IN_PROGRESS"};function js(e){for(const t in He)if(Object.prototype.hasOwnProperty.call(He,t)&&He[t]===e)return!0;return!1}function Gr(e){return Ur(e,!1)}function Ur(e,t){return e}function ec(e){return e}function tc(e,t){return e}function ic(e){return!(!("status"in e)||e.status===void 0)}function _t(e){return qr(e,!1)}function qr(e,t){return e==null?e:{endingBefore:e.ending_before==null?void 0:e.ending_before,limit:e.limit==null?void 0:e.limit,startingAfter:e.starting_after==null?void 0:e.starting_after,totalCount:e.total_count==null?void 0:e.total_count,status:Gr(e.status)}}function Tt(e){return $r(e,!1)}function $r(e,t=!1){return e==null?e:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount,status:e.status}}function nc(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function Yr(e){return Kr(e,!1)}function Kr(e,t){return e==null?e:{data:Er(e.data),event:e.event==null?void 0:De(e.event),meta:_t(e.meta)}}function rc(e){return zr(e,!1)}function zr(e,t=!1){return e==null?e:{data:Br(e.data),event:Ie(e.event),meta:Tt(e.meta)}}function oc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0)}function Vr(e){return Zr(e,!1)}function Zr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer)}}function ac(e){return Wr(e,!1)}function Wr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer)}}function dc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("hotelId"in e)||e.hotelId===void 0||!("roomCount"in e)||e.roomCount===void 0||!("createdAt"in e)||e.createdAt===void 0||!("id"in e)||e.id===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0)}function St(e){return Xr(e,!1)}function Xr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),hotelId:e.hotel_id,roomCount:e.room_count,createdAt:e.created_at,id:e.id,sourceMarket:ye(e.source_market)}}function sc(e){return Qr(e,!1)}function Qr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount,created_at:e.createdAt,id:e.id,source_market:e.sourceMarket}}function cc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("hotelId"in e)||e.hotelId===void 0||!("roomCount"in e)||e.roomCount===void 0)}function uc(e){return xr(e,!1)}function xr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),hotelId:e.hotel_id,roomCount:e.room_count}}function jr(e){return eo(e,!1)}function eo(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount}}function fc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0||!("hotelTimezone"in e)||e.hotelTimezone===void 0)}function to(e){return io(e,!1)}function io(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelId:e.hotel_id,hotelRoomOffers:e.hotel_room_offers.map(fe),hotelTimezone:e.hotel_timezone}}function no(e){return ro(e,!1)}function ro(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_id:e.hotelId,hotel_room_offers:e.hotelRoomOffers.map(le),hotel_timezone:e.hotelTimezone}}function lc(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function oo(e){return ao(e,!1)}function ao(e,t){return e==null?e:{data:to(e.data),event:e.event==null?void 0:De(e.event),meta:_t(e.meta)}}function mc(e){return so(e,!1)}function so(e,t=!1){return e==null?e:{data:no(e.data),event:Ie(e.event),meta:Tt(e.meta)}}function pc(e){return!(!("count"in e)||e.count===void 0||!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function co(e){return uo(e,!1)}function uo(e,t){return e==null?e:{breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,count:e.count,hotelRoomOfferId:e.hotel_room_offer_id}}function fo(e){return lo(e,!1)}function lo(e,t=!1){return e==null?e:{breakfast_count:e.breakfastCount,count:e.count,hotel_room_offer_id:e.hotelRoomOfferId}}function hc(e){return!(!("currency"in e)||e.currency===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0)}function yc(e){return mo(e,!1)}function mo(e,t){return e==null?e:{addBreakfast:e.add_breakfast==null?void 0:e.add_breakfast,breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,currency:te(e.currency),hotelRoomOffers:e.hotel_room_offers.map(co),lang:e.lang==null?void 0:Pe(e.lang)}}function po(e){return ho(e,!1)}function ho(e,t=!1){return e==null?e:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,currency:e.currency,hotel_room_offers:e.hotelRoomOffers.map(fo),lang:e.lang}}function gc(e){return!(!("fullname"in e)||e.fullname===void 0||!("hotelRoomingListId"in e)||e.hotelRoomingListId===void 0)}function Oc(e){return yo(e,!1)}function yo(e,t){return e==null?e:{fullname:e.fullname,hotelRoomingListId:e.hotel_rooming_list_id}}function go(e){return Oo(e,!1)}function Oo(e,t=!1){return e==null?e:{fullname:e.fullname,hotel_rooming_list_id:e.hotelRoomingListId}}function Ac(e){return!(!("fullname"in e)||e.fullname===void 0)}function _c(e){return Ao(e,!1)}function Ao(e,t){return e==null?e:{fullname:e.fullname}}function _o(e){return To(e,!1)}function To(e,t=!1){return e==null?e:{fullname:e.fullname}}function Tc(e){return!(!("paymentMethods"in e)||e.paymentMethods===void 0)}function Sc(e){return So(e,!1)}function So(e,t){return e==null?e:{paymentMethods:e.payment_methods.map(ut)}}function Ro(e){return No(e,!1)}function No(e,t=!1){return e==null?e:{payment_methods:e.paymentMethods.map(ft)}}var Rc={AddOrRemoveNights:"add_or_remove_nights",AddOrRemovePerson:"add_or_remove_person",ChangeDates:"change_dates",ChangeGuestName:"change_guest_name",EarlyCheckIn:"early_check_in",EarlyCheckInLateCheckOut:"early_check_in_late_check_out",LateCheckOut:"late_check_out",Other:"other",SpecialRequest:"special_request"};function Nc(e){return!(!("message"in e)||e.message===void 0||!("requestType"in e)||e.requestType===void 0)}function Cc(e){return Co(e,!1)}function Co(e,t){return e==null?e:{message:e.message,requestType:e.request_type}}function wo(e){return ko(e,!1)}function ko(e,t=!1){return e==null?e:{message:e.message,request_type:e.requestType}}var Po=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>lt(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async paymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return new v(o,s=>s.map(ei)).value()}async paymentMethods(e,t){return this.paymentMethodsRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies",method:"POST",headers:r,query:J(n,D.Snake),body:J(nr(e.bookingPoliciesCreateApi),D.Snake)},t);return await new v(o,s=>lt(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Mo=class extends Q{async deleteRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");const n=await this.request({path:"/v1/bookings/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:{},query:J({},D.Snake)},t);return await new v(n,r=>ee(r)).value()}async delete(e,t){return this.deleteRaw(e,t)}async listRaw(e,t){const n={};e.endingBefore!==void 0&&(n.ending_before=e.endingBefore),e.filterByCheckInDate!==void 0&&(n.filter_by_check_in_date=e.filterByCheckInDate),e.filterByLastStatusUpdatedAt!==void 0&&(n.filter_by_last_status_updated_at=e.filterByLastStatusUpdatedAt),e.filterByMetadata!==void 0&&(n.filter_by_metadata=e.filterByMetadata),e.filterByStatus!==void 0&&(n.filter_by_status=e.filterByStatus),e.limit!==void 0&&(n.limit=e.limit),e.sortBy!==void 0&&(n.sort_by=e.sortBy),e.sortByOrder!==void 0&&(n.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(n.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>cr(s)).value()}async list(e={},t){return this.listRaw(e,t)}async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async certificateRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenCertificate.");if(e.customerName===null||e.customerName===void 0)throw new B("customerName","Required parameter requestParameters.customerName was null or undefined when calling getV1BookingsTokenCertificate.");const n={};e.customerName!==void 0&&(n.customer_name=e.customerName),e.locale!==void 0&&(n.locale=e.locale);const r=await this.request({path:"/v1/bookings/{token}/certificate".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J(n,D.Snake)},t);return new Ut(r)}async certificate(e,t){await this.certificateRaw(e,t)}async retrievePublicRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");const n=await this.request({path:"/v1/bookings/{token}/public".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J({},D.Snake)},t);return await new v(n,r=>ee(r)).value()}async retrievePublic(e,t){return this.retrievePublicRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings",method:"POST",headers:r,query:J(n,D.Snake),body:J(xn(e.bookingCreateApi),D.Snake)},t);return await new v(o,s=>ee(s)).value()}async create(e={},t){return this.createRaw(e,t)}async couponChargeRaw(e,t){if(e.couponId===null||e.couponId===void 0)throw new B("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=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:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async couponCharge(e,t){return this.couponChargeRaw(e,t)}async paylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/pay-later".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async paylater(e,t){return this.paylaterRaw(e,t)}async confirmpaylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/pay-later/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async confirmpaylater(e,t){return this.confirmpaylaterRaw(e,t)}async confirmRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async confirm(e,t){return this.confirmRaw(e,t)}async submitRequestRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling postV1BookingsTokenRequest.");const n={},r={};r["Content-Type"]="application/json";const o=await this.request({path:"/v1/bookings/{token}/request".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:J(n,D.Snake),body:J(wo(e.requestPayload),D.Snake)},t);return new $e(o)}async submitRequest(e,t){return this.submitRequestRaw(e,t)}async updatePaymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:r,query:J(n,D.Snake),body:J(Ro(e.paymentMethodUpdatePayloadApi),D.Snake)},t);return await new v(o,s=>ee(s)).value()}async updatePaymentMethods(e,t){return this.updatePaymentMethodsRaw(e,t)}},wc={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},kc={Asc:"asc",Desc:"desc"},Jo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotels/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return new v(o,s=>s.map(ue)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Do=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>At(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offer_requests",method:"POST",headers:r,query:J(n,D.Snake),body:J(Hr(e.hotelOfferRequestCreateApi),D.Snake)},t);return await new v(o,s=>At(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Io=class extends Q{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new B("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new B("hotelOfferRequestId","Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");const n={};e.currency!==void 0&&(n.currency=e.currency),e.endingBefore!==void 0&&(n.ending_before=e.endingBefore),e.filterByPrice!==void 0&&(n.filter_by_price=e.filterByPrice),e.filterByReviewRating!==void 0&&(n.filter_by_review_rating=e.filterByReviewRating),e.filterByStar!==void 0&&(n.filter_by_star=e.filterByStar),e.hotelOfferRequestId!==void 0&&(n.hotel_offer_request_id=e.hotelOfferRequestId),e.hotelRoomOffersLimit!==void 0&&(n.hotel_room_offers_limit=e.hotelRoomOffersLimit),e.includeHotelContentDetails!==void 0&&(n.include_hotel_content_details=e.includeHotelContentDetails),e.lang!==void 0&&(n.lang=e.lang),e.limit!==void 0&&(n.limit=e.limit),e.onlyRecommendedHotelOffers!==void 0&&(n.only_recommended_hotel_offers=e.onlyRecommendedHotelOffers),e.priceHistogramStepCount!==void 0&&(n.price_histogram_step_count=e.priceHistogramStepCount),e.sortBy!==void 0&&(n.sort_by=e.sortBy),e.sortByOrder!==void 0&&(n.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(n.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offers",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>Yr(s)).value()}async list(e,t,n){return await vt(()=>this.listRaw(e,n),{type:Mt.HOTEL_SEARCH_POLLING,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}},Pc={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},Mc={Asc:"asc",Desc:"desc"},bo=class extends Q{async deleteRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");const n=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:{},query:J({},D.Snake)},t);return new $e(n)}async delete(e,t){return this.deleteRaw(e,t)}async updateRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");const n={},r={};r["Content-Type"]="application/json";const o=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:J(n,D.Snake),body:J(_o(e.hotelRoomingListGuestsUpdateApi),D.Snake)},t);return await new v(o,s=>be(s)).value()}async update(e,t){return this.updateRaw(e,t)}async createRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");const n={},r={};r["Content-Type"]="application/json";const o=await this.request({path:"/v1/hotel_rooming_list_guests/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:J(n,D.Snake),body:J(go(e.hotelRoomingListGuestsCreateApi),D.Snake)},t);return await new v(o,s=>be(s)).value()}async create(e,t){return this.createRaw(e,t)}},Ho=class extends Q{async listRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r=await this.request({path:"/v1/hotel_rooming_lists/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J(n,D.Snake)},t);return new v(r,o=>o.map(ct)).value()}async list(e,t){return this.listRaw(e,t)}},Fo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>J(s,D.Camel)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Eo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>St(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offer_requests",method:"POST",headers:r,query:J(n,D.Snake),body:J(jr(e.hotelRoomOfferRequestCreateApi),D.Snake)},t);return await new v(o,s=>St(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Lo=class extends Q{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new B("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new B("hotelRoomOfferRequestId","Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");const n={};e.currency!==void 0&&(n.currency=e.currency),e.hotelRoomOfferRequestId!==void 0&&(n.hotel_room_offer_request_id=e.hotelRoomOfferRequestId),e.lang!==void 0&&(n.lang=e.lang),e.limit!==void 0&&(n.limit=e.limit);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>oo(s)).value()}async list(e,t,n){return await vt(()=>this.listRaw(e,n),{type:Mt.HOTEL_ROOM_OFFERS,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers",method:"POST",headers:r,query:J(n,D.Snake),body:J(po(e.hotelRoomOffersCreateApi),D.Snake)},t);return await new v(o,s=>Vr(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Bo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");const n={};e.event!==void 0&&(n.event=e.event),e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotels/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>Nr(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},vo=class extends Ge{documentationUrl;status;title;type;constructor(e){super(e.response,e.body?.message??`Request failed with status ${e.status}`),this.status=e.status,this.type=e.body?.type,this.title=e.body?.title,this.documentationUrl=e.body?.documentationUrl}},Jc=class{async post(e){const{response:t}=e;if(t.ok)return;let n;try{n=await t.clone().json()}catch{n=void 0}throw new vo({body:n,response:t,status:t.status})}},Go=e=>({bookingPolicies:new Po(e),bookings:new Mo(e),hotelImages:new Jo(e),hotelOfferRequests:new Do(e),hotelOffers:new Io(e),hotelRoomingListGuests:new bo(e),hotelRoomingLists:new Ho(e),hotelRoomOfferImages:new Fo(e),hotelRoomOfferRequests:new Eo(e),hotelRoomOffers:new Lo(e),hotels:new Bo(e)});function Dc(e){switch(e){case ce.CiCd:return"AUTH_TOKEN_CICD";case ce.Local:return"AUTH_TOKEN_LOCAL";case ce.Production:return"AUTH_TOKEN";case ce.Sandbox:return"AUTH_TOKEN_SANDBOX";case ce.Staging:return"AUTH_TOKEN_STAGING";case void 0:default:return"AUTH_TOKEN"}}function Uo(e){return!!(typeof document<"u"&&document?.cookie&&document.cookie.split(";").find(t=>t.includes(Dc(e))))}var Ic=class{config;constructor(e){this.config=e}async pre(e){return e.init.mode="cors",Uo(this.config.apiEnvironment)&&(e.init.credentials="include"),e}},bc=class{config;constructor(e){this.config=e}async pre(e){return Uo(this.config.apiEnvironment)&&(e.init.headers={...e.init.headers,"x-auth-type":"user"}),e}},Hc=class{config;apiVersionsToClient;constructor(e){if(this.config=e,!e.apiVersion||!Object.values(Pt).includes(e.apiVersion))throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Pt))}`);let t={"x-api-key":this.config.apiKey};this.config.optionalHeaders&&(t={...t,...this.config.optionalHeaders});const n=this.config.apiEnvironment;let r=this.config.apiBaseUrl??Vo[n];!this.config.apiBaseUrl&&n===ce.Local&&(r="http://127.0.0.1:3001");const o=new Ue({basePath:r,fetchApi:Wo.default,headers:t,middleware:[new Ic(this.config),new bc(this.config),new Jc]});this.apiVersionsToClient={v1:Go(o)}}get bookingPolicies(){return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies}get bookings(){return this.apiVersionsToClient[this.config.apiVersion].bookings}get hotelImages(){return this.apiVersionsToClient[this.config.apiVersion].hotelImages}get hotelOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelOfferRequests}get hotelOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelOffers}get hotelRoomingListGuests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests}get hotelRoomingLists(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists}get hotelRoomOfferImages(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferImages}get hotelRoomOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests}get hotelRoomOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers}get hotels(){return this.apiVersionsToClient[this.config.apiVersion].hotels}};i.AllowedPaymentMethodApiFromJSON=ei,i.AllowedPaymentMethodApiFromJSONTyped=ti,i.AllowedPaymentMethodApiToJSON=ii,i.AllowedPaymentMethodApiToJSONTyped=cd,i.AllowedPaymentMethodCouponApiFromJSON=Qa,i.AllowedPaymentMethodCouponApiFromJSONTyped=Ye,i.AllowedPaymentMethodCouponApiNameEnum=Wa,i.AllowedPaymentMethodCouponApiToJSON=qt,i.AllowedPaymentMethodCouponApiToJSONTyped=$t,i.AllowedPaymentMethodCreditCardApiFromJSON=ed,i.AllowedPaymentMethodCreditCardApiFromJSONTyped=Ke,i.AllowedPaymentMethodCreditCardApiNameEnum=xa,i.AllowedPaymentMethodCreditCardApiToJSON=Yt,i.AllowedPaymentMethodCreditCardApiToJSONTyped=Kt,i.AllowedPaymentMethodDepositAccountApiFromJSON=nd,i.AllowedPaymentMethodDepositAccountApiFromJSONTyped=ze,i.AllowedPaymentMethodDepositAccountApiNameEnum=td,i.AllowedPaymentMethodDepositAccountApiToJSON=zt,i.AllowedPaymentMethodDepositAccountApiToJSONTyped=Vt,i.AllowedPaymentMethodPayLaterApiFromJSON=sd,i.AllowedPaymentMethodPayLaterApiFromJSONTyped=Ve,i.AllowedPaymentMethodPayLaterApiNameEnum=ad,i.AllowedPaymentMethodPayLaterApiPayloadFromJSON=Zt,i.AllowedPaymentMethodPayLaterApiPayloadFromJSONTyped=Wt,i.AllowedPaymentMethodPayLaterApiPayloadStatusEnum=rd,i.AllowedPaymentMethodPayLaterApiPayloadToJSON=Xt,i.AllowedPaymentMethodPayLaterApiPayloadToJSONTyped=Qt,i.AllowedPaymentMethodPayLaterApiToJSON=xt,i.AllowedPaymentMethodPayLaterApiToJSONTyped=jt,i.AmenitiesApiFromJSON=Ze,i.AmenitiesApiFromJSONTyped=ni,i.AmenitiesApiToJSON=We,i.AmenitiesApiToJSONTyped=ri,i.ApiClient=Hc,i.ApiError=vo,i.BASE_PATH=Gt,i.BaseAPI=Q,i.BedApiFromJSON=ld,i.BedApiFromJSONTyped=oi,i.BedApiToJSON=md,i.BedApiToJSONTyped=ai,i.BlobApiResponse=Za,i.BookingApiFromJSON=ee,i.BookingApiFromJSONTyped=Pn,i.BookingApiPayLaterEnum=gs,i.BookingApiStatusEnum=Os,i.BookingApiToJSON=Mn,i.BookingApiToJSONTyped=Jn,i.BookingCreateApiFromJSON=Ms,i.BookingCreateApiFromJSONTyped=Qn,i.BookingCreateApiGuestsListInnerFromJSON=vn,i.BookingCreateApiGuestsListInnerFromJSONTyped=Gn,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSON=Fn,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped=En,i.BookingCreateApiGuestsListInnerGuestsInnerToJSON=Ln,i.BookingCreateApiGuestsListInnerGuestsInnerToJSONTyped=Bn,i.BookingCreateApiGuestsListInnerToJSON=Un,i.BookingCreateApiGuestsListInnerToJSONTyped=qn,i.BookingCreateApiToJSON=xn,i.BookingCreateApiToJSONTyped=jn,i.BookingPolicies=Po,i.BookingPoliciesApiFromJSON=lt,i.BookingPoliciesApiFromJSONTyped=er,i.BookingPoliciesApiToJSON=Ds,i.BookingPoliciesApiToJSONTyped=tr,i.BookingPoliciesCreateApiFromJSON=bs,i.BookingPoliciesCreateApiFromJSONTyped=ir,i.BookingPoliciesCreateApiToJSON=nr,i.BookingPoliciesCreateApiToJSONTyped=rr,i.Bookings=Mo,i.BookingsApiResponseFromJSON=cr,i.BookingsApiResponseFromJSONTyped=ur,i.BookingsApiResponseToJSON=Es,i.BookingsApiResponseToJSONTyped=fr,i.BookingsSortByEnum=wc,i.BookingsSortByOrderEnum=kc,i.BreakfastOption=Ce,i.BreakfastOptionFromJSON=yi,i.BreakfastOptionFromJSONTyped=gi,i.BreakfastOptionToJSON=Td,i.BreakfastOptionToJSONTyped=Sd,i.COLLECTION_FORMATS=Ka,i.CancellationPolicyApiFromJSON=Se,i.CancellationPolicyApiFromJSONTyped=di,i.CancellationPolicyApiToJSON=Re,i.CancellationPolicyApiToJSONTyped=si,i.Configuration=Ue,i.ContactPersonApiFromJSON=et,i.ContactPersonApiFromJSONTyped=Di,i.ContactPersonApiSalutationEnum=Ud,i.ContactPersonApiToJSON=tt,i.ContactPersonApiToJSONTyped=Ii,i.ContactPersonOrganizationApiFromJSON=ki,i.ContactPersonOrganizationApiFromJSONTyped=Pi,i.ContactPersonOrganizationApiToJSON=Mi,i.ContactPersonOrganizationApiToJSONTyped=Ji,i.CountryIso2Code=Me,i.CountryIso2CodeFromJSON=Je,i.CountryIso2CodeFromJSONTyped=wi,i.CountryIso2CodeToJSON=Bd,i.CountryIso2CodeToJSONTyped=vd,i.CurrencyClient=we,i.CurrencyClientFromJSON=te,i.CurrencyClientFromJSONTyped=_i,i.CurrencyClientToJSON=kd,i.CurrencyClientToJSONTyped=Pd,i.ErrorApiResponseFromJSON=vs,i.ErrorApiResponseFromJSONTyped=lr,i.ErrorApiResponseToJSON=Gs,i.ErrorApiResponseToJSONTyped=mr,i.ErrorApiResponseTypeEnum=Ls,i.EventApiFromJSON=De,i.EventApiFromJSONTyped=yn,i.EventApiToJSON=Ie,i.EventApiToJSONTyped=gn,i.EventMetadataApiFromJSON=me,i.EventMetadataApiFromJSONTyped=$n,i.EventMetadataApiToJSON=pe,i.EventMetadataApiToJSONTyped=Yn,i.HotelApiFromJSON=Nr,i.HotelApiFromJSONTyped=Cr,i.HotelApiImagesFromJSON=ht,i.HotelApiImagesFromJSONTyped=yr,i.HotelApiImagesToJSON=yt,i.HotelApiImagesToJSONTyped=gr,i.HotelApiToJSON=zs,i.HotelApiToJSONTyped=wr,i.HotelImageApiFromJSON=ue,i.HotelImageApiFromJSONTyped=ui,i.HotelImageApiToJSON=ge,i.HotelImageApiToJSONTyped=fi,i.HotelImages=Jo,i.HotelOfferApiFromJSON=kr,i.HotelOfferApiFromJSONTyped=Pr,i.HotelOfferApiToJSON=Mr,i.HotelOfferApiToJSONTyped=Jr,i.HotelOfferRequestApiResponseFromJSON=At,i.HotelOfferRequestApiResponseFromJSONTyped=Dr,i.HotelOfferRequestApiResponseToJSON=Ws,i.HotelOfferRequestApiResponseToJSONTyped=Ir,i.HotelOfferRequestCreateApiFromJSON=Qs,i.HotelOfferRequestCreateApiFromJSONTyped=br,i.HotelOfferRequestCreateApiToJSON=Hr,i.HotelOfferRequestCreateApiToJSONTyped=Fr,i.HotelOfferRequests=Do,i.HotelOffers=Io,i.HotelOffersApiResponseFromJSON=Yr,i.HotelOffersApiResponseFromJSONTyped=Kr,i.HotelOffersApiResponseToJSON=rc,i.HotelOffersApiResponseToJSONTyped=zr,i.HotelOffersDataApiResponseFromJSON=Er,i.HotelOffersDataApiResponseFromJSONTyped=Lr,i.HotelOffersDataApiResponseToJSON=Br,i.HotelOffersDataApiResponseToJSONTyped=vr,i.HotelOffersSortByEnum=Pc,i.HotelOffersSortByOrderEnum=Mc,i.HotelReviewRatingApiFromJSON=mt,i.HotelReviewRatingApiFromJSONTyped=pr,i.HotelReviewRatingApiToJSON=pt,i.HotelReviewRatingApiToJSONTyped=hr,i.HotelRoomOfferApiFromJSON=fe,i.HotelRoomOfferApiFromJSONTyped=Ri,i.HotelRoomOfferApiHotelRoomsInnerFromJSON=li,i.HotelRoomOfferApiHotelRoomsInnerFromJSONTyped=mi,i.HotelRoomOfferApiHotelRoomsInnerToJSON=pi,i.HotelRoomOfferApiHotelRoomsInnerToJSONTyped=hi,i.HotelRoomOfferApiPackageTypeEnum=Jd,i.HotelRoomOfferApiResponseFromJSON=Vr,i.HotelRoomOfferApiResponseFromJSONTyped=Zr,i.HotelRoomOfferApiResponseToJSON=ac,i.HotelRoomOfferApiResponseToJSONTyped=Wr,i.HotelRoomOfferApiStayTaxesInfoEnum=Dd,i.HotelRoomOfferApiToJSON=le,i.HotelRoomOfferApiToJSONTyped=Ni,i.HotelRoomOfferApiTypeEnum=Id,i.HotelRoomOfferImages=Fo,i.HotelRoomOfferRequestApiResponseFromJSON=St,i.HotelRoomOfferRequestApiResponseFromJSONTyped=Xr,i.HotelRoomOfferRequestApiResponseToJSON=sc,i.HotelRoomOfferRequestApiResponseToJSONTyped=Qr,i.HotelRoomOfferRequestCreateApiFromJSON=uc,i.HotelRoomOfferRequestCreateApiFromJSONTyped=xr,i.HotelRoomOfferRequestCreateApiToJSON=jr,i.HotelRoomOfferRequestCreateApiToJSONTyped=eo,i.HotelRoomOfferRequests=Eo,i.HotelRoomOffers=Lo,i.HotelRoomOffersApiResponseFromJSON=oo,i.HotelRoomOffersApiResponseFromJSONTyped=ao,i.HotelRoomOffersApiResponseToJSON=mc,i.HotelRoomOffersApiResponseToJSONTyped=so,i.HotelRoomOffersCreateApiFromJSON=yc,i.HotelRoomOffersCreateApiFromJSONTyped=mo,i.HotelRoomOffersCreateApiToJSON=po,i.HotelRoomOffersCreateApiToJSONTyped=ho,i.HotelRoomOffersDataApiResponseFromJSON=to,i.HotelRoomOffersDataApiResponseFromJSONTyped=io,i.HotelRoomOffersDataApiResponseToJSON=no,i.HotelRoomOffersDataApiResponseToJSONTyped=ro,i.HotelRoomOffersDataCreateApiFromJSON=co,i.HotelRoomOffersDataCreateApiFromJSONTyped=uo,i.HotelRoomOffersDataCreateApiToJSON=fo,i.HotelRoomOffersDataCreateApiToJSONTyped=lo,i.HotelRoomingListApiFromJSON=ct,i.HotelRoomingListApiFromJSONTyped=Cn,i.HotelRoomingListApiHotelRoomFromJSON=On,i.HotelRoomingListApiHotelRoomFromJSONTyped=An,i.HotelRoomingListApiHotelRoomToJSON=_n,i.HotelRoomingListApiHotelRoomToJSONTyped=Tn,i.HotelRoomingListApiToJSON=wn,i.HotelRoomingListApiToJSONTyped=kn,i.HotelRoomingListGuestApiFromJSON=be,i.HotelRoomingListGuestApiFromJSONTyped=Sn,i.HotelRoomingListGuestApiToJSON=Rn,i.HotelRoomingListGuestApiToJSONTyped=Nn,i.HotelRoomingListGuests=bo,i.HotelRoomingListGuestsCreateApiFromJSON=Oc,i.HotelRoomingListGuestsCreateApiFromJSONTyped=yo,i.HotelRoomingListGuestsCreateApiToJSON=go,i.HotelRoomingListGuestsCreateApiToJSONTyped=Oo,i.HotelRoomingListGuestsUpdateApiFromJSON=_c,i.HotelRoomingListGuestsUpdateApiFromJSONTyped=Ao,i.HotelRoomingListGuestsUpdateApiToJSON=_o,i.HotelRoomingListGuestsUpdateApiToJSONTyped=To,i.HotelRoomingLists=Ho,i.Hotels=Bo,i.InsuranceApiFromJSON=an,i.InsuranceApiFromJSONTyped=dn,i.InsuranceApiStatusEnum=ds,i.InsuranceApiToJSON=sn,i.InsuranceApiToJSONTyped=cn,i.InvoiceApiFromJSON=un,i.InvoiceApiFromJSONTyped=fn,i.InvoiceApiToJSON=ln,i.InvoiceApiToJSONTyped=mn,i.InvoiceApiTypeEnum=cs,i.JSONApiResponse=v,i.Locale=ke,i.LocaleFromJSON=Pe,i.LocaleFromJSONTyped=Ci,i.LocaleToJSON=Fd,i.LocaleToJSONTyped=Ed,i.MetaPollingResponseApiFromJSON=_t,i.MetaPollingResponseApiFromJSONTyped=qr,i.MetaPollingResponseApiToJSON=Tt,i.MetaPollingResponseApiToJSONTyped=$r,i.MetaResponseApiFromJSON=or,i.MetaResponseApiFromJSONTyped=ar,i.MetaResponseApiToJSON=dr,i.MetaResponseApiToJSONTyped=sr,i.OrderAddonFromJSON=dt,i.OrderAddonFromJSONTyped=pn,i.OrderAddonSelectionFromJSON=Dn,i.OrderAddonSelectionFromJSONTyped=In,i.OrderAddonSelectionToJSON=bn,i.OrderAddonSelectionToJSONTyped=Hn,i.OrderAddonSelectionTypeEnum=_s,i.OrderAddonToJSON=st,i.OrderAddonToJSONTyped=hn,i.OrderAddonTypeEnum=fs,i.PaymentMethodApiFromJSON=rn,i.PaymentMethodApiFromJSONTyped=on,i.PaymentMethodApiToJSON=at,i.PaymentMethodApiToJSONTyped=as,i.PaymentMethodCouponApiFromJSON=zd,i.PaymentMethodCouponApiFromJSONTyped=it,i.PaymentMethodCouponApiNameEnum=Yd,i.PaymentMethodCouponApiPayloadFromJSON=bi,i.PaymentMethodCouponApiPayloadFromJSONTyped=Hi,i.PaymentMethodCouponApiPayloadToJSON=Fi,i.PaymentMethodCouponApiPayloadToJSONTyped=Ei,i.PaymentMethodCouponApiToJSON=Li,i.PaymentMethodCouponApiToJSONTyped=Bi,i.PaymentMethodCreditCardApiFromJSON=Xd,i.PaymentMethodCreditCardApiFromJSONTyped=nt,i.PaymentMethodCreditCardApiNameEnum=Zd,i.PaymentMethodCreditCardApiPayloadFromJSON=vi,i.PaymentMethodCreditCardApiPayloadFromJSONTyped=Gi,i.PaymentMethodCreditCardApiPayloadToJSON=Ui,i.PaymentMethodCreditCardApiPayloadToJSONTyped=qi,i.PaymentMethodCreditCardApiToJSON=$i,i.PaymentMethodCreditCardApiToJSONTyped=Yi,i.PaymentMethodDepositAccountApiFromJSON=es,i.PaymentMethodDepositAccountApiFromJSONTyped=rt,i.PaymentMethodDepositAccountApiNameEnum=xd,i.PaymentMethodDepositAccountApiPayloadFromJSON=Ki,i.PaymentMethodDepositAccountApiPayloadFromJSONTyped=zi,i.PaymentMethodDepositAccountApiPayloadToJSON=Vi,i.PaymentMethodDepositAccountApiPayloadToJSONTyped=Zi,i.PaymentMethodDepositAccountApiToJSON=Wi,i.PaymentMethodDepositAccountApiToJSONTyped=Xi,i.PaymentMethodPayLaterApiFromJSON=os,i.PaymentMethodPayLaterApiFromJSONTyped=ot,i.PaymentMethodPayLaterApiNameEnum=ns,i.PaymentMethodPayLaterApiPayloadFromJSON=Qi,i.PaymentMethodPayLaterApiPayloadFromJSONTyped=xi,i.PaymentMethodPayLaterApiPayloadStatusEnum=ts,i.PaymentMethodPayLaterApiPayloadToJSON=ji,i.PaymentMethodPayLaterApiPayloadToJSONTyped=en,i.PaymentMethodPayLaterApiToJSON=tn,i.PaymentMethodPayLaterApiToJSONTyped=nn,i.PaymentMethodRequestApiFromJSON=ut,i.PaymentMethodRequestApiFromJSONTyped=Wn,i.PaymentMethodRequestApiNameEnum=ws,i.PaymentMethodRequestApiToJSON=ft,i.PaymentMethodRequestApiToJSONTyped=Xn,i.PaymentMethodRequestPayloadApiFromJSON=Kn,i.PaymentMethodRequestPayloadApiFromJSONTyped=zn,i.PaymentMethodRequestPayloadApiToJSON=Vn,i.PaymentMethodRequestPayloadApiToJSONTyped=Zn,i.PaymentMethodUpdatePayloadApiFromJSON=Sc,i.PaymentMethodUpdatePayloadApiFromJSONTyped=So,i.PaymentMethodUpdatePayloadApiToJSON=Ro,i.PaymentMethodUpdatePayloadApiToJSONTyped=No,i.PollerStatus=He,i.PollerStatusFromJSON=Gr,i.PollerStatusFromJSONTyped=Ur,i.PollerStatusToJSON=ec,i.PollerStatusToJSONTyped=tc,i.RequestPayloadFromJSON=Cc,i.RequestPayloadFromJSONTyped=Co,i.RequestPayloadRequestTypeEnum=Rc,i.RequestPayloadToJSON=wo,i.RequestPayloadToJSONTyped=ko,i.RequiredError=B,i.ResponseError=Ge,i.SourceMarket=Ne,i.SourceMarketFromJSON=ye,i.SourceMarketFromJSONTyped=ci,i.SourceMarketToJSON=yd,i.SourceMarketToJSONTyped=gd,i.TagApiFromJSON=xe,i.TagApiFromJSONTyped=Ti,i.TagApiToJSON=je,i.TagApiToJSONTyped=Si,i.TaxApiFromJSON=Xe,i.TaxApiFromJSONTyped=Oi,i.TaxApiTaxFrequencyEnum=Rd,i.TaxApiTaxModeEnum=Nd,i.TaxApiToJSON=Qe,i.TaxApiToJSONTyped=Ai,i.TextApiResponse=$e,i.TravelTimesApiFromJSON=gt,i.TravelTimesApiFromJSONTyped=Sr,i.TravelTimesApiToJSON=Ot,i.TravelTimesApiToJSONTyped=Rr,i.TravelTimesApiTravelTimesFromJSON=Or,i.TravelTimesApiTravelTimesFromJSONTyped=Ar,i.TravelTimesApiTravelTimesToJSON=_r,i.TravelTimesApiTravelTimesToJSONTyped=Tr,i.VoidApiResponse=Ut,i.canConsumeForm=Va,i.exists=za,i.instanceOfAllowedPaymentMethodCouponApi=Xa,i.instanceOfAllowedPaymentMethodCreditCardApi=ja,i.instanceOfAllowedPaymentMethodDepositAccountApi=id,i.instanceOfAllowedPaymentMethodPayLaterApi=dd,i.instanceOfAllowedPaymentMethodPayLaterApiPayload=od,i.instanceOfAmenitiesApi=ud,i.instanceOfBedApi=fd,i.instanceOfBookingApi=As,i.instanceOfBookingCreateApi=Ps,i.instanceOfBookingCreateApiGuestsListInner=Rs,i.instanceOfBookingCreateApiGuestsListInnerGuestsInner=Ss,i.instanceOfBookingPoliciesApi=Js,i.instanceOfBookingPoliciesCreateApi=Is,i.instanceOfBookingsApiResponse=Fs,i.instanceOfBreakfastOption=_d,i.instanceOfCancellationPolicyApi=pd,i.instanceOfContactPersonApi=qd,i.instanceOfContactPersonOrganizationApi=Gd,i.instanceOfCountryIso2Code=Ld,i.instanceOfCurrencyClient=wd,i.instanceOfErrorApiResponse=Bs,i.instanceOfEventApi=ms,i.instanceOfEventMetadataApi=Ns,i.instanceOfHotelApi=Ks,i.instanceOfHotelApiImages=qs,i.instanceOfHotelImageApi=Od,i.instanceOfHotelOfferApi=Vs,i.instanceOfHotelOfferRequestApiResponse=Zs,i.instanceOfHotelOfferRequestCreateApi=Xs,i.instanceOfHotelOffersApiResponse=nc,i.instanceOfHotelOffersDataApiResponse=xs,i.instanceOfHotelReviewRatingApi=Us,i.instanceOfHotelRoomOfferApi=bd,i.instanceOfHotelRoomOfferApiHotelRoomsInner=Ad,i.instanceOfHotelRoomOfferApiResponse=oc,i.instanceOfHotelRoomOfferRequestApiResponse=dc,i.instanceOfHotelRoomOfferRequestCreateApi=cc,i.instanceOfHotelRoomOffersApiResponse=lc,i.instanceOfHotelRoomOffersCreateApi=hc,i.instanceOfHotelRoomOffersDataApiResponse=fc,i.instanceOfHotelRoomOffersDataCreateApi=pc,i.instanceOfHotelRoomingListApi=ys,i.instanceOfHotelRoomingListApiHotelRoom=ps,i.instanceOfHotelRoomingListGuestApi=hs,i.instanceOfHotelRoomingListGuestsCreateApi=gc,i.instanceOfHotelRoomingListGuestsUpdateApi=Ac,i.instanceOfInsuranceApi=ss,i.instanceOfInvoiceApi=us,i.instanceOfLocale=Hd,i.instanceOfMetaPollingResponseApi=ic,i.instanceOfMetaResponseApi=Hs,i.instanceOfOrderAddon=ls,i.instanceOfOrderAddonSelection=Ts,i.instanceOfPaymentMethodCouponApi=Kd,i.instanceOfPaymentMethodCouponApiPayload=$d,i.instanceOfPaymentMethodCreditCardApi=Wd,i.instanceOfPaymentMethodCreditCardApiPayload=Vd,i.instanceOfPaymentMethodDepositAccountApi=jd,i.instanceOfPaymentMethodDepositAccountApiPayload=Qd,i.instanceOfPaymentMethodPayLaterApi=rs,i.instanceOfPaymentMethodPayLaterApiPayload=is,i.instanceOfPaymentMethodRequestApi=ks,i.instanceOfPaymentMethodRequestPayloadApi=Cs,i.instanceOfPaymentMethodUpdatePayloadApi=Tc,i.instanceOfPollerStatus=js,i.instanceOfRequestPayload=Nc,i.instanceOfSourceMarket=hd,i.instanceOfTagApi=Md,i.instanceOfTaxApi=Cd,i.instanceOfTravelTimesApi=Ys,i.instanceOfTravelTimesApiTravelTimes=$s,i.querystring=qe,i.v1ApiClient=Go});
|
|
2
|
+
`)===0?f.substr(1,f.length):f}).forEach(function(f){var l=f.split(":"),O=l.shift().trim();if(O){var y=l.join(":").trim();try{d.append(O,y)}catch(P){console.warn("Response "+P.message)}}}),d}E.call(L.prototype);function q(a,d){if(!(this instanceof q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(d||(d={}),this.type="default",this.status=d.status===void 0?200:d.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=d.statusText===void 0?"":""+d.statusText,this.headers=new m(d.headers),this.url=d.url||"",this._initBody(a)}E.call(q.prototype),q.prototype.clone=function(){return new q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},q.error=function(){var a=new q(null,{status:200,statusText:""});return a.ok=!1,a.status=0,a.type="error",a};var W=[301,302,303,307,308];q.redirect=function(a,d){if(W.indexOf(d)===-1)throw new RangeError("Invalid status code");return new q(null,{status:d,headers:{location:a}})},u.DOMException=c.DOMException;try{new u.DOMException}catch{u.DOMException=function(d,f){this.message=d,this.name=f;var l=Error(d);this.stack=l.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function R(a,d){return new Promise(function(f,l){var O=new L(a,d);if(O.signal&&O.signal.aborted)return l(new u.DOMException("Aborted","AbortError"));var y=new XMLHttpRequest;function P(){y.abort()}y.onload=function(){var H={statusText:y.statusText,headers:M(y.getAllResponseHeaders()||"")};O.url.indexOf("file://")===0&&(y.status<200||y.status>599)?H.status=200:H.status=y.status,H.url="responseURL"in y?y.responseURL:H.headers.get("X-Request-URL");var K="response"in y?y.response:y.responseText;setTimeout(function(){f(new q(K,H))},0)},y.onerror=function(){setTimeout(function(){l(new TypeError("Network request failed"))},0)},y.ontimeout=function(){setTimeout(function(){l(new TypeError("Network request timed out"))},0)},y.onabort=function(){setTimeout(function(){l(new u.DOMException("Aborted","AbortError"))},0)};function $(H){try{return H===""&&c.location.href?c.location.href:H}catch{return H}}if(y.open(O.method,$(O.url),!0),O.credentials==="include"?y.withCredentials=!0:O.credentials==="omit"&&(y.withCredentials=!1),"responseType"in y&&(p.blob?y.responseType="blob":p.arrayBuffer&&(y.responseType="arraybuffer")),d&&typeof d.headers=="object"&&!(d.headers instanceof m||c.Headers&&d.headers instanceof c.Headers)){var Y=[];Object.getOwnPropertyNames(d.headers).forEach(function(H){Y.push(g(H)),y.setRequestHeader(H,w(d.headers[H]))}),O.headers.forEach(function(H,K){Y.indexOf(K)===-1&&y.setRequestHeader(K,H)})}else O.headers.forEach(function(H,K){y.setRequestHeader(K,H)});O.signal&&(O.signal.addEventListener("abort",P),y.onreadystatechange=function(){y.readyState===4&&O.signal.removeEventListener("abort",P)}),y.send(typeof O._bodyInit>"u"?null:O._bodyInit)})}return R.polyfill=!0,c.fetch||(c.fetch=R,c.Headers=m,c.Request=L,c.Response=q),u.Headers=m,u.Request=L,u.Response=q,u.fetch=R,u})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=n.fetch?n:r;e=o.fetch,e.default=o.fetch,e.fetch=o.fetch,e.Headers=o.Headers,e.Request=o.Request,e.Response=o.Response,t.exports=e})),Wo=X(Zo(),1),Xo=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Qo=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),xo=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),jo=/[^\p{L}\d]+/giu,Jt="$1\0$2",Dt="";function It(e){let t=e.trim();t=t.replace(Xo,Jt).replace(Qo,Jt),t=t.replace(jo,"\0");let n=0,r=t.length;for(;t.charAt(n)==="\0";)n++;if(n===r)return[];for(;t.charAt(r-1)==="\0";)r--;return t.slice(n,r).split(/\0/g)}function ea(e){const t=It(e);for(let n=0;n<t.length;n++){const r=t[n],o=xo.exec(r);if(o){const s=o.index+(o[1]??o[2]).length;t.splice(n,1,r.slice(0,s),r.slice(s))}}return t}function bt(e,t){const[n,r,o]=_e(e,t);return n+r.map(Ae(t?.locale)).join(t?.delimiter??" ")+o}function ta(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(s,u):Ft(s,u);return n+r.map((p,T)=>T===0?s(p):c(p,T)).join(t?.delimiter??"")+o}function ia(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(s,u):Ft(s,u);return n+r.map(c).join(t?.delimiter??"")+o}function na(e,t){const[n,r,o]=_e(e,t),s=Ae(t?.locale),u=Le(t?.locale);return n+r.map(Be(s,u)).join(t?.delimiter??" ")+o}function Ht(e,t){return bt(e,{delimiter:"-",...t})}function ra(e,t){return bt(e,{delimiter:"_",...t})}function Ae(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Le(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function Be(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function Ft(e,t){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(n.slice(1))}}function _e(e,t={}){const n=t.split??(t.separateNumbers?ea:It),r=t.prefixCharacters??Dt,o=t.suffixCharacters??Dt;let s=0,u=e.length;for(;s<e.length;){const c=e.charAt(s);if(!r.includes(c))break;s++}for(;u>s;){const c=u-1,p=e.charAt(c);if(!o.includes(p))break;u=c}return[e.slice(0,s),n(e.slice(s,u)),e.slice(u)]}var oa=Z(((e,t)=>{(function(n,r,o){typeof e=="object"?(t.exports=o(),t.exports.default=o()):typeof define=="function"&&define.amd?define(o):r[n]=o()})("slugify",e,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"}`),r=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function o(s,u){if(typeof s!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var c=r[u.locale]||{},p=u.replacement===void 0?"-":u.replacement,T=u.trim===void 0?!0:u.trim,_=s.normalize().split("").reduce(function(A,g){var w=c[g];return w===void 0&&(w=n[g]),w===void 0&&(w=g),w===p&&(w=" "),A+w.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(_=_.replace(/[^A-Za-z0-9\s]/g,"")),T&&(_=_.trim()),_=_.replace(/\s+/g,p),u.lower&&(_=_.toLowerCase()),_}return o.extend=function(s){Object.assign(n,s)},o})})),aa=X(oa(),1);function da(e){return(0,aa.default)(Ht(e),{lower:!0,strict:!0})}var D=(function(e){return e.Camel="camelCase",e.Capital="capitalCase",e.Param="paramCase",e.Pascal="pascalCase",e.Slug="slugCase",e.Snake="snakeCase",e})({}),sa={camelCase:ta,capitalCase:na,paramCase:Ht,pascalCase:ia,slugCase:da,snakeCase:ra};function ca(e,t){return e.some(n=>typeof n=="string"?n===t:n.test(t))}function ua(e){return e===Object(e)&&!Array.isArray(e)&&typeof e!="function"}function J(e,t,n={deep:!0}){return ua(e)&&!(e instanceof Date)?Object.keys(e).reduce((r,o)=>{const s=n?.exclude&&ca(n.exclude,o)?o:sa[t](o);return r[s]=n.deep?J(e[o],t,n):e[o],r},{}):Array.isArray(e)?e.map(r=>J(r,t,n)):e}var Et=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var n=1e3,r=6e4,o=36e5,s="millisecond",u="second",c="minute",p="hour",T="day",_="week",A="month",g="quarter",w="year",k="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|YYYY|YY|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(R){var a=["th","st","nd","rd"],d=R%100;return"["+R+(a[(d-20)%10]||a[d]||a[0])+"]"}},N=function(R,a,d){var f=String(R);return!f||f.length>=a?R:""+Array(a+1-f.length).join(d)+R},b={s:N,z:function(R){var a=-R.utcOffset(),d=Math.abs(a),f=Math.floor(d/60),l=d%60;return(a<=0?"+":"-")+N(f,2,"0")+":"+N(l,2,"0")},m:function R(a,d){if(a.date()<d.date())return-R(d,a);var f=12*(d.year()-a.year())+(d.month()-a.month()),l=a.clone().add(f,A),O=d-l<0,y=a.clone().add(f+(O?-1:1),A);return+(-(f+(d-l)/(O?l-y:y-l))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:A,y:w,w:_,d:T,D:k,h:p,m:c,s:u,ms:s,Q:g}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},I="en",E={};E[I]=C;var G="$isDayjsObject",U=function(R){return R instanceof q||!(!R||!R[G])},L=function R(a,d,f){var l;if(!a)return I;if(typeof a=="string"){var O=a.toLowerCase();E[O]&&(l=O),d&&(E[O]=d,l=O);var y=a.split("-");if(!l&&y.length>1)return R(y[0])}else{var P=a.name;E[P]=a,l=P}return!f&&l&&(I=l),l||!f&&I},F=function(R,a){if(U(R))return R.clone();var d=typeof a=="object"?a:{};return d.date=R,d.args=arguments,new q(d)},M=b;M.l=L,M.i=U,M.w=function(R,a){return F(R,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var q=(function(){function R(d){this.$L=L(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[G]=!0}var a=R.prototype;return a.parse=function(d){this.$d=(function(f){var l=f.date,O=f.utc;if(l===null)return new Date(NaN);if(M.u(l))return new Date;if(l instanceof Date)return new Date(l);if(typeof l=="string"&&!/Z$/i.test(l)){var y=l.match(h);if(y){var P=y[2]-1||0,$=(y[7]||"0").substring(0,3);return O?new Date(Date.UTC(y[1],P,y[3]||1,y[4]||0,y[5]||0,y[6]||0,$)):new Date(y[1],P,y[3]||1,y[4]||0,y[5]||0,y[6]||0,$)}}return new Date(l)})(d),this.init()},a.init=function(){var d=this.$d;this.$y=d.getFullYear(),this.$M=d.getMonth(),this.$D=d.getDate(),this.$W=d.getDay(),this.$H=d.getHours(),this.$m=d.getMinutes(),this.$s=d.getSeconds(),this.$ms=d.getMilliseconds()},a.$utils=function(){return M},a.isValid=function(){return this.$d.toString()!==m},a.isSame=function(d,f){var l=F(d);return this.startOf(f)<=l&&l<=this.endOf(f)},a.isAfter=function(d,f){return F(d)<this.startOf(f)},a.isBefore=function(d,f){return this.endOf(f)<F(d)},a.$g=function(d,f,l){return M.u(d)?this[f]:this.set(l,d)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(d,f){var l=this,O=!!M.u(f)||f,y=M.p(d),P=function(ie,V){var x=M.w(l.$u?Date.UTC(l.$y,V,ie):new Date(l.$y,V,ie),l);return O?x:x.endOf(T)},$=function(ie,V){return M.w(l.toDate()[ie].apply(l.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(V)),l)},Y=this.$W,H=this.$M,K=this.$D,ae="set"+(this.$u?"UTC":"");switch(y){case w:return O?P(1,0):P(31,11);case A:return O?P(1,H):P(0,H+1);case _:var ne=this.$locale().weekStart||0,se=(Y<ne?Y+7:Y)-ne;return P(O?K-se:K+(6-se),H);case T:case k:return $(ae+"Hours",0);case p:return $(ae+"Minutes",1);case c:return $(ae+"Seconds",2);case u:return $(ae+"Milliseconds",3);default:return this.clone()}},a.endOf=function(d){return this.startOf(d,!1)},a.$set=function(d,f){var l,O=M.p(d),y="set"+(this.$u?"UTC":""),P=(l={},l[T]=y+"Date",l[k]=y+"Date",l[A]=y+"Month",l[w]=y+"FullYear",l[p]=y+"Hours",l[c]=y+"Minutes",l[u]=y+"Seconds",l[s]=y+"Milliseconds",l)[O],$=O===T?this.$D+(f-this.$W):f;if(O===A||O===w){var Y=this.clone().set(k,1);Y.$d[P]($),Y.init(),this.$d=Y.set(k,Math.min(this.$D,Y.daysInMonth())).$d}else P&&this.$d[P]($);return this.init(),this},a.set=function(d,f){return this.clone().$set(d,f)},a.get=function(d){return this[M.p(d)]()},a.add=function(d,f){var l,O=this;d=Number(d);var y=M.p(f),P=function(H){var K=F(O);return M.w(K.date(K.date()+Math.round(H*d)),O)};if(y===A)return this.set(A,this.$M+d);if(y===w)return this.set(w,this.$y+d);if(y===T)return P(1);if(y===_)return P(7);var $=(l={},l[c]=r,l[p]=o,l[u]=n,l)[y]||1,Y=this.$d.getTime()+d*$;return M.w(Y,this)},a.subtract=function(d,f){return this.add(-1*d,f)},a.format=function(d){var f=this,l=this.$locale();if(!this.isValid())return l.invalidDate||m;var O=d||"YYYY-MM-DDTHH:mm:ssZ",y=M.z(this),P=this.$H,$=this.$m,Y=this.$M,H=l.weekdays,K=l.months,ae=l.meridiem,ne=function(V,x,re,de){return V&&(V[x]||V(f,O))||re[x].slice(0,de)},se=function(V){return M.s(P%12||12,V,"0")},ie=ae||function(V,x,re){var de=V<12?"AM":"PM";return re?de.toLowerCase():de};return O.replace(S,(function(V,x){return x||(function(re){switch(re){case"YY":return String(f.$y).slice(-2);case"YYYY":return M.s(f.$y,4,"0");case"M":return Y+1;case"MM":return M.s(Y+1,2,"0");case"MMM":return ne(l.monthsShort,Y,K,3);case"MMMM":return ne(K,Y);case"D":return f.$D;case"DD":return M.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return ne(l.weekdaysMin,f.$W,H,2);case"ddd":return ne(l.weekdaysShort,f.$W,H,3);case"dddd":return H[f.$W];case"H":return String(P);case"HH":return M.s(P,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return ie(P,$,!0);case"A":return ie(P,$,!1);case"m":return String($);case"mm":return M.s($,2,"0");case"s":return String(f.$s);case"ss":return M.s(f.$s,2,"0");case"SSS":return M.s(f.$ms,3,"0");case"Z":return y}return null})(V)||y.replace(":","")}))},a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(d,f,l){var O,y=this,P=M.p(f),$=F(d),Y=($.utcOffset()-this.utcOffset())*r,H=this-$,K=function(){return M.m(y,$)};switch(P){case w:O=K()/12;break;case A:O=K();break;case g:O=K()/3;break;case _:O=(H-Y)/6048e5;break;case T:O=(H-Y)/864e5;break;case p:O=H/o;break;case c:O=H/r;break;case u:O=H/n;break;default:O=H}return l?O:M.a(O)},a.daysInMonth=function(){return this.endOf(A).$D},a.$locale=function(){return E[this.$L]},a.locale=function(d,f){if(!d)return this.$L;var l=this.clone(),O=L(d,f,!0);return O&&(l.$L=O),l},a.clone=function(){return M.w(this.$d,this)},a.toDate=function(){return new Date(this.valueOf())},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toISOString=function(){return this.$d.toISOString()},a.toString=function(){return this.$d.toUTCString()},R})(),W=q.prototype;return F.prototype=W,[["$ms",s],["$s",u],["$m",c],["$H",p],["$W",T],["$M",A],["$y",w],["$D",k]].forEach((function(R){W[R[1]]=function(a){return this.$g(a,R[0],R[1])}})),F.extend=function(R,a){return R.$i||(R(a,q,F),R.$i=!0),F},F.locale=L,F.isDayjs=U,F.unix=function(R){return F(1e3*R)},F.en=E[I],F.Ls=E,F.p={},F}))})),fa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(n,r){var o=r.prototype,s=o.format;o.format=function(u){var c=this,p=this.$locale();if(!this.isValid())return s.bind(this)(u);var T=this.$utils(),_=(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(A){switch(A){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return p.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return p.ordinal(c.week(),"W");case"w":case"ww":return T.s(c.week(),A==="w"?1:2,"0");case"W":case"WW":return T.s(c.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return T.s(String(c.$H===0?24:c.$H),A==="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 A}}));return s.bind(this)(_)}}}))})),la=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";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"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,u=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,p={},T=function(h){return(h=+h)+(h>68?1900:2e3)},_=function(h){return function(S){this[h]=+S}},A=[/[+-]\d\d:?(\d\d)?|Z/,function(h){(this.zone||(this.zone={})).offset=(function(S){if(!S||S==="Z")return 0;var C=S.match(/([+-]|\d\d)/g),N=60*C[1]+(+C[2]||0);return N===0?0:C[0]==="+"?-N:N})(h)}],g=function(h){var S=p[h];return S&&(S.indexOf?S:S.s.concat(S.f))},w=function(h,S){var C,N=p.meridiem;if(N){for(var b=1;b<=24;b+=1)if(h.indexOf(N(b,0,S))>-1){C=b>12;break}}else C=h===(S?"pm":"PM");return C},k={A:[c,function(h){this.afternoon=w(h,!1)}],a:[c,function(h){this.afternoon=w(h,!0)}],Q:[o,function(h){this.month=3*(h-1)+1}],S:[o,function(h){this.milliseconds=100*+h}],SS:[s,function(h){this.milliseconds=10*+h}],SSS:[/\d{3}/,function(h){this.milliseconds=+h}],s:[u,_("seconds")],ss:[u,_("seconds")],m:[u,_("minutes")],mm:[u,_("minutes")],H:[u,_("hours")],h:[u,_("hours")],HH:[u,_("hours")],hh:[u,_("hours")],D:[u,_("day")],DD:[s,_("day")],Do:[c,function(h){var S=p.ordinal,C=h.match(/\d+/);if(this.day=C[0],S)for(var N=1;N<=31;N+=1)S(N).replace(/\[|\]/g,"")===h&&(this.day=N)}],w:[u,_("week")],ww:[s,_("week")],M:[u,_("month")],MM:[s,_("month")],MMM:[c,function(h){var S=g("months"),C=(g("monthsShort")||S.map((function(N){return N.slice(0,3)}))).indexOf(h)+1;if(C<1)throw new Error;this.month=C%12||C}],MMMM:[c,function(h){var S=g("months").indexOf(h)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,_("year")],YY:[s,function(h){this.year=T(h)}],YYYY:[/\d{4}/,_("year")],Z:A,ZZ:A};function m(h){for(var S=h,C=p&&p.formats,N=(h=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(F,M,q){var W=q&&q.toUpperCase();return M||C[q]||n[q]||C[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(R,a,d){return a||d.slice(1)}))}))).match(r),b=N.length,I=0;I<b;I+=1){var E=N[I],G=k[E],U=G&&G[0],L=G&&G[1];N[I]=L?{regex:U,parser:L}:E.replace(/^\[|\]$/g,"")}return function(F){for(var M={},q=0,W=0;q<b;q+=1){var R=N[q];if(typeof R=="string")W+=R.length;else{var a=R.regex,d=R.parser,f=F.slice(W),l=a.exec(f)[0];d.call(M,l),F=F.replace(l,"")}}return(function(O){var y=O.afternoon;if(y!==void 0){var P=O.hours;y?P<12&&(O.hours+=12):P===12&&(O.hours=0),delete O.afternoon}})(M),M}}return function(h,S,C){C.p.customParseFormat=!0,h&&h.parseTwoDigitYear&&(T=h.parseTwoDigitYear);var N=S.prototype,b=N.parse;N.parse=function(I){var E=I.date,G=I.utc,U=I.args;this.$u=G;var L=U[1];if(typeof L=="string"){var F=U[2]===!0,M=U[3]===!0,q=F||M,W=U[2];M&&(W=U[2]),p=this.$locale(),!F&&W&&(p=C.Ls[W]),this.$d=(function(f,l,O,y){try{if(["x","X"].indexOf(l)>-1)return new Date((l==="X"?1e3:1)*f);var P=m(l)(f),$=P.year,Y=P.month,H=P.day,K=P.hours,ae=P.minutes,ne=P.seconds,se=P.milliseconds,ie=P.zone,V=P.week,x=new Date,re=H||($||Y?1:x.getDate()),de=$||x.getFullYear(),Fe=0;$&&!Y||(Fe=Y>0?Y-1:x.getMonth());var Ee,Rt=K||0,Nt=ae||0,Ct=ne||0,wt=se||0;return ie?new Date(Date.UTC(de,Fe,re,Rt,Nt,Ct,wt+60*ie.offset*1e3)):O?new Date(Date.UTC(de,Fe,re,Rt,Nt,Ct,wt)):(Ee=new Date(de,Fe,re,Rt,Nt,Ct,wt),V&&(Ee=y(Ee).week(V).toDate()),Ee)}catch{return new Date("")}})(E,L,G,C),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),q&&E!=this.format(L)&&(this.$d=new Date("")),p={}}else if(L instanceof Array)for(var R=L.length,a=1;a<=R;a+=1){U[1]=L[a-1];var d=C.apply(this,U);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}a===R&&(this.$d=new Date(""))}else b.call(this,I)}}}))})),ma=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isBetween=r()})(e,(function(){"use strict";return function(n,r,o){r.prototype.isBetween=function(s,u,c,p){var T=o(s),_=o(u),A=(p=p||"()")[0]==="(",g=p[1]===")";return(A?this.isAfter(T,c):!this.isBefore(T,c))&&(g?this.isBefore(_,c):!this.isAfter(_,c))||(A?this.isBefore(T,c):!this.isAfter(T,c))&&(g?this.isAfter(_,c):!this.isBefore(_,c))}}}))})),pa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrAfter=r()})(e,(function(){"use strict";return function(n,r){r.prototype.isSameOrAfter=function(o,s){return this.isSame(o,s)||this.isAfter(o,s)}}}))})),ha=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(n,r){r.prototype.isSameOrBefore=function(o,s){return this.isSame(o,s)||this.isBefore(o,s)}}}))})),ya=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localeData=r()})(e,(function(){"use strict";return function(n,r,o){var s=r.prototype,u=function(A){return A&&(A.indexOf?A:A.s)},c=function(A,g,w,k,m){var h=A.name?A:A.$locale(),S=u(h[g]),C=u(h[w]),N=S||C.map((function(I){return I.slice(0,k)}));if(!m)return N;var b=h.weekStart;return N.map((function(I,E){return N[(E+(b||0))%7]}))},p=function(){return o.Ls[o.locale()]},T=function(A,g){return A.formats[g]||(function(w){return w.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(k,m,h){return m||h.slice(1)}))})(A.formats[g.toUpperCase()])},_=function(){var A=this;return{months:function(g){return g?g.format("MMMM"):c(A,"months")},monthsShort:function(g){return g?g.format("MMM"):c(A,"monthsShort","months",3)},firstDayOfWeek:function(){return A.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):c(A,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):c(A,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):c(A,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return T(A.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return _.bind(this)()},o.localeData=function(){var A=p();return{firstDayOfWeek:function(){return A.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(g){return T(A,g)},meridiem:A.meridiem,ordinal:A.ordinal}},o.months=function(){return c(p(),"months")},o.monthsShort=function(){return c(p(),"monthsShort","months",3)},o.weekdays=function(A){return c(p(),"weekdays",null,null,A)},o.weekdaysShort=function(A){return c(p(),"weekdaysShort","weekdays",3,A)},o.weekdaysMin=function(A){return c(p(),"weekdaysMin","weekdays",2,A)}}}))})),ga=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";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(r,o,s){var u=o.prototype,c=u.format;s.en.formats=n,u.format=function(p){p===void 0&&(p="YYYY-MM-DDTHH:mm:ssZ");var T=this.$locale().formats,_=(function(A,g){return A.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(w,k,m){var h=m&&m.toUpperCase();return k||g[m]||n[m]||g[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(S,C,N){return C||N.slice(1)}))}))})(p,T===void 0?{}:T);return c.call(this,_)}}}))})),Oa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_minMax=r()})(e,(function(){"use strict";return function(n,r,o){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 p;c.length===1&&c[0].length>0&&(c=c[0]),p=(c=c.filter((function(_){return _})))[0];for(var T=1;T<c.length;T+=1)c[T].isValid()&&!c[T][u](p)||(p=c[T]);return p};o.max=function(){return s("isAfter",[].slice.call(arguments,0))},o.min=function(){return s("isBefore",[].slice.call(arguments,0))}}}))})),Aa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){"use strict";return function(n,r,o){n=n||{};var s=r.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(T,_,A,g){return s.fromToBase(T,_,A,g)}o.en.relativeTime=u,s.fromToBase=function(T,_,A,g,w){for(var k,m,h,S=A.$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"}],N=C.length,b=0;b<N;b+=1){var I=C[b];I.d&&(k=g?o(T).diff(A,I.d,!0):A.diff(T,I.d,!0));var E=(n.rounding||Math.round)(Math.abs(k));if(h=k>0,E<=I.r||!I.r){E<=1&&b>0&&(I=C[b-1]);var G=S[I.l];w&&(E=w(""+E)),m=typeof G=="string"?G.replace("%d",E):G(E,_,I.l,h);break}}if(_)return m;var U=h?S.future:S.past;return typeof U=="function"?U(m):U.replace("%s",m)},s.to=function(T,_){return c(T,_,this,!0)},s.from=function(T,_){return c(T,_,this)};var p=function(T){return T.$u?o.utc():o()};s.toNow=function(T){return this.to(p(this),T)},s.fromNow=function(T){return this.from(p(this),T)}}}))})),_a=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(o,s,u){var c,p=function(g,w,k){k===void 0&&(k={});var m=new Date(g);return(function(h,S){S===void 0&&(S={});var C=S.timeZoneName||"short",N=h+"|"+C,b=r[N];return b||(b=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:h,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:C}),r[N]=b),b})(w,k).formatToParts(m)},T=function(g,w){for(var k=p(g,w),m=[],h=0;h<k.length;h+=1){var S=k[h],C=S.type,N=S.value,b=n[C];b>=0&&(m[b]=parseInt(N,10))}var I=m[3],E=I===24?0:I,G=m[0]+"-"+m[1]+"-"+m[2]+" "+E+":"+m[4]+":"+m[5]+":000",U=+g;return(u.utc(G).valueOf()-(U-=U%1e3))/6e4},_=s.prototype;_.tz=function(g,w){g===void 0&&(g=c);var k,m=this.utcOffset(),h=this.toDate(),S=h.toLocaleString("en-US",{timeZone:g}),C=Math.round((h-new Date(S))/1e3/60),N=15*-Math.round(h.getTimezoneOffset()/15)-C;if(!Number(N))k=this.utcOffset(0,w);else if(k=u(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),w){var b=k.utcOffset();k=k.add(m-b,"minute")}return k.$x.$timezone=g,k},_.offsetName=function(g){var w=this.$x.$timezone||u.tz.guess(),k=p(this.valueOf(),w,{timeZoneName:g}).find((function(m){return m.type.toLowerCase()==="timezonename"}));return k&&k.value};var A=_.startOf;_.startOf=function(g,w){if(!this.$x||!this.$x.$timezone)return A.call(this,g,w);var k=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(k,g,w).tz(this.$x.$timezone,!0)},u.tz=function(g,w,k){var m=k&&w,h=k||w||c,S=T(+u(),h);if(typeof g!="string")return u(g).tz(h);var C=(function(E,G,U){var L=E-60*G*1e3,F=T(L,U);if(G===F)return[L,G];var M=T(L-=60*(F-G)*1e3,U);return F===M?[L,F]:[E-60*Math.min(F,M)*1e3,Math.max(F,M)]})(u.utc(g,m).valueOf(),S,h),N=C[0],b=C[1],I=u(N).utcOffset(b);return I.$x.$timezone=h,I},u.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},u.tz.setDefault=function(g){c=g}}}))})),Ta=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(s,u,c){var p=u.prototype;c.utc=function(m){return new u({date:m,utc:!0,args:arguments})},p.utc=function(m){var h=c(this.toDate(),{locale:this.$L,utc:!0});return m?h.add(this.utcOffset(),n):h},p.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var T=p.parse;p.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),T.call(this,m)};var _=p.init;p.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else _.call(this)};var A=p.utcOffset;p.utcOffset=function(m,h){var S=this.$utils().u;if(S(m))return this.$u?0:S(this.$offset)?A.call(this):this.$offset;if(typeof m=="string"&&(m=(function(I){I===void 0&&(I="");var E=I.match(r);if(!E)return null;var G=(""+E[0]).match(o)||["-",0,0],U=G[0],L=60*+G[1]+ +G[2];return L===0?0:U==="+"?L:-L})(m),m===null))return this;var C=Math.abs(m)<=16?60*m:m;if(C===0)return this.utc(h);var N=this.clone();if(h)return N.$offset=C,N.$u=!1,N;var b=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(C+b,n)).$offset=C,N.$x.$localOffset=b,N};var g=p.format;p.format=function(m){var h=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,h)},p.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var w=p.toDate;p.toDate=function(m){return m==="s"&&this.$offset?c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():w.call(this)};var k=p.diff;p.diff=function(m,h,S){if(m&&this.$u===m.$u)return k.call(this,m,h,S);var C=this.local(),N=c(m).local();return k.call(C,N,h,S)}}}))})),Sa=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r(Et()):typeof define=="function"&&define.amd?define(["dayjs"],r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_locale_fr=r(n.dayjs)})(e,(function(n){"use strict";function r(u){return u&&typeof u=="object"&&"default"in u?u:{default:u}}var o=r(n),s={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(u){return""+u+(u===1?"er":"")}};return o.default.locale(s,null,!0),s}))})),Ra=Z(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs_locale_en=r()})(e,(function(){"use strict";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 r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})),j=X(Et(),1),Na=X(fa(),1),Ca=X(la(),1),wa=X(ma(),1),ka=X(pa(),1),Pa=X(ha(),1),Ma=X(ya(),1),Ja=X(ga(),1),Da=X(Oa(),1),Ia=X(Aa(),1),ba=X(_a(),1),Ha=X(Ta(),1),Ec=Sa(),Lc=Ra();j.default.extend(Na.default),j.default.extend(Ca.default),j.default.extend(wa.default),j.default.extend(ka.default),j.default.extend(Pa.default),j.default.extend(Ja.default),j.default.extend(Ma.default),j.default.extend(Da.default),j.default.extend(Ia.default),j.default.extend(ba.default),j.default.extend(Ha.default);function oe(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Te(e,t=new WeakSet){if(e==null||typeof e!="object"||t.has(e))return e;if(t.add(e),Array.isArray(e))return e.map(n=>Te(n,t));if(oe(e)){const n={};for(const r in e)Object.hasOwn(e,r)&&(n[r]=Te(e[r],t));return n}return e}function ve(e,t,n=new WeakSet){if(!(!oe(t)||!oe(e))&&!(t===e||n.has(t))){n.add(t);for(const r in t)if(Object.hasOwn(t,r)){const o=t[r],s=e[r];oe(o)&&oe(s)?ve(s,o,n):Array.isArray(o)&&Array.isArray(s)?e[r]=Lt(s,o,n):e[r]=Te(o,n)}}}function Lt(e,t,n){const r=e.slice();for(let o=0;o<t.length;o++){const s=t[o],u=r[o];if(oe(s)&&oe(u)){const c={...u};ve(c,s,n),r[o]=c}else Array.isArray(s)&&Array.isArray(u)?r[o]=Lt(u,s,n):r[o]=Te(s,n)}return r}function Bt(e,...t){if(!oe(e))throw new TypeError("Target must be a plain object");const n=new WeakSet;for(const r of t)r!=null&&ve(e,r,n);return e}var z=[];for(let e=0;e<256;++e)z.push((e+256).toString(16).slice(1));function Fa(e,t=0){return(z[e[t+0]]+z[e[t+1]]+z[e[t+2]]+z[e[t+3]]+"-"+z[e[t+4]]+z[e[t+5]]+"-"+z[e[t+6]]+z[e[t+7]]+"-"+z[e[t+8]]+z[e[t+9]]+"-"+z[e[t+10]]+z[e[t+11]]+z[e[t+12]]+z[e[t+13]]+z[e[t+14]]+z[e[t+15]]).toLowerCase()}var Ea=new Uint8Array(16);function La(){return crypto.getRandomValues(Ea)}function Ba(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():va(e,t,n)}function va(e,t,n){e=e||{};const r=e.random??e.rng?.()??La();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[n+o]=r[o];return t}return Fa(r)}var Ga=1500;function Ua(e){const t={};for(const n of Object.keys(e)){const r=e[n];r!==void 0&&(t[n]=r)}return t}var qa=class Oe{static instance=null;defaultOptions={callCount:1,interval:Ga,maxCallCount:20,minCallCount:1};events={complete:()=>{},data:()=>{},error:()=>{}};pollings={};static getInstance(){return Oe.instance||(Oe.instance=new Oe),Oe.instance}on(t,n){this.events[t]=n}poll(t,n){const r=this.buildPollerOptions(n);return this.storeCurrentPolling(r),this.isActivePoller(r)&&t().then(o=>this.onRequest(o,t,r)).catch(o=>{const s=o instanceof Error?o:new Error(String(o));this.dispatch("error",s)}),this}stop(t){t&&this.pollings[t]&&delete this.pollings[t]}buildPollerOptions(t){return{...this.defaultOptions,...Ua(t)}}dispatch(t,n){this.events[t](n)}isActivePoller(t){return t.type?!!this.pollings[t.type]&&this.pollings[t.type]===t.uuid:!0}isInProgress(t){return(t?.meta?.status??"")!=="COMPLETE"}onComplete(t,n){this.dispatch("data",t),this.dispatch("complete",t),this.removeCurrentPolling(n)}async onRequest(t,n,r){const o=J(t,D.Camel);this.isActivePoller(r)&&(this.isInProgress(o)&&r.callCount&&r.maxCallCount&&r.callCount<r.maxCallCount||!this.isInProgress(o)&&r.callCount&&r.minCallCount&&r.callCount<r.minCallCount?(this.isInProgress(o)||(o.meta={...o.meta,status:"IN_PROGRESS"}),r.callCount+=1,this.dispatch("data",o),r.interval&&await this.pause(r),this.poll(n,r)):this.isInProgress(o)?(o.meta={...o.meta,status:"COMPLETE"},this.onComplete(o,r)):this.onComplete(o,r))}pause(t){return new Promise(n=>{setTimeout(n,t.interval)})}removeCurrentPolling(t){t.type&&this.pollings[t.type]&&delete this.pollings[t.type]}storeCurrentPolling(t){t.type&&!t.uuid&&(t.uuid=Ba(),this.pollings[t.type]=t.uuid)}};function vt(e,t,n){const r=qa.getInstance();return r.poll(e,t),n&&typeof n=="function"?(r.on("data",o=>{o instanceof Error?n(o,void 0,r):n(null,o,r)}),r.on("error",o=>{o instanceof Error?n(o):n(null,o)}),r):new Promise((o,s)=>{r.on("error",s),r.on("complete",u=>{u instanceof Error?s(u):o(u)})})}var $a=class{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){const n=t[0];if(this._map.set(e,n),n&&typeof n=="object"&&"id"in n){if(this._idmap.has(n.id))throw new Error(`ID ${n.id} already exists in the registry`);this._idmap.set(n.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&typeof t=="object"&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const n={...this.get(t)??{}};return delete n.id,{...n,...this._map.get(e)}}return this._map.get(e)}has(e){return this._map.has(e)}};function Ya(){return new $a}var Bc=Ya(),Gt="http://localhost".replace(/\/+$/,""),Ka=e=>typeof Blob<"u"&&e instanceof Blob,Q=class{configuration;middleware;constructor(e=new Ue){this.configuration=e,this.middleware=e.middleware}withMiddleware(...e){const t=this.clone();return t.middleware=t.middleware.concat(...e),t}withPreMiddleware(...e){const t=e.map(n=>({pre:n}));return this.withMiddleware(...t)}withPostMiddleware(...e){const t=e.map(n=>({post:n}));return this.withMiddleware(...t)}async request(e,t){const{url:n,init:r}=this.createFetchParams(e,t),o=await this.fetchApi(n,r);if(o.status>=200&&o.status<300)return o;throw new Ge(o,"Response returned an error code")}createFetchParams(e,t){let n=this.configuration.basePath+e.path;e.query!==void 0&&Object.keys(e.query).length!==0&&(n+="?"+this.configuration.queryParamsStringify(e.query));const r=typeof FormData<"u"&&e.body instanceof FormData||e.body instanceof URLSearchParams||Ka(e.body)?e.body:JSON.stringify(e.body),o=Object.assign({},this.configuration.headers,e.headers);Object.keys(o).forEach(u=>o[u]===void 0?delete o[u]:{});const s={method:e.method,body:r,credentials:this.configuration.credentials,...Bt({},t,{headers:Bt({},o,t?.headers)})};return{url:n,init:s}}fetchApi=async(e,t)=>{let n={url:e,init:t};for(const o of this.middleware)o.pre&&(n=await o.pre({fetch:this.fetchApi,...n})||n);let r=await(this.configuration.fetchApi||fetch)(n.url,n.init);for(const o of this.middleware)o.post&&(r=await o.post({fetch:this.fetchApi,url:n.url,init:n.init,response:r.clone()})||r);return r};clone(){const e=this.constructor,t=new e(this.configuration);return t.middleware=this.middleware.slice(),t}},Ge=class extends Error{response;name="ResponseError";constructor(e,t){super(t),this.response=e}},B=class extends Error{field;name="RequiredError";constructor(e,t){super(t),this.field=e}},za={csv:",",ssv:" ",tsv:" ",pipes:"|"},Ue=class{configuration;constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Gt}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||qe}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 Va(e,t){const n=e[t];return n!=null}function qe(e,t=""){return Object.keys(e).map(n=>{const r=t+(t.length?`[${n}]`:n),o=e[n];if(o instanceof Array){const s=o.map(u=>encodeURIComponent(String(u))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${s}`}return o instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(o.toISOString())}`:o instanceof Object?qe(o,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(o))}`}).filter(n=>n.length>0).join("&")}function Za(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}var v=class{raw;transformer;constructor(e,t=n=>n){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},Ut=class{raw;constructor(e){this.raw=e}async value(){}},Wa=class{raw;constructor(e){this.raw=e}async value(){return await this.raw.blob()}},$e=class{raw;constructor(e){this.raw=e}async value(){return await this.raw.text()}},Xa={Coupon:"COUPON"};function Qa(e){return!(!("name"in e)||e.name===void 0)}function xa(e){return Ye(e,!1)}function Ye(e,t){return e==null?e:{name:e.name}}function qt(e){return $t(e,!1)}function $t(e,t=!1){return e==null?e:{name:e.name}}var ja={CreditCard:"CREDIT_CARD"};function ed(e){return!(!("name"in e)||e.name===void 0)}function td(e){return Ke(e,!1)}function Ke(e,t){return e==null?e:{name:e.name}}function Yt(e){return Kt(e,!1)}function Kt(e,t=!1){return e==null?e:{name:e.name}}var id={DepositAccount:"DEPOSIT_ACCOUNT"};function nd(e){return!(!("name"in e)||e.name===void 0)}function rd(e){return ze(e,!1)}function ze(e,t){return e==null?e:{name:e.name}}function zt(e){return Vt(e,!1)}function Vt(e,t=!1){return e==null?e:{name:e.name}}var od={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function ad(e){return!(!("status"in e)||e.status===void 0)}function Zt(e){return Wt(e,!1)}function Wt(e,t){return e==null?e:{status:e.status}}function Xt(e){return Qt(e,!1)}function Qt(e,t=!1){return e==null?e:{status:e.status}}var dd={PayLater:"PAY_LATER"};function sd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function cd(e){return Ve(e,!1)}function Ve(e,t){return e==null?e:{name:e.name,payload:Zt(e.payload)}}function xt(e){return jt(e,!1)}function jt(e,t=!1){return e==null?e:{name:e.name,payload:Xt(e.payload)}}function ei(e){return ti(e,!1)}function ti(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...Ye(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...Ke(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...ze(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...Ve(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}function ii(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return qt(e);case"CREDIT_CARD":return Yt(e);case"DEPOSIT_ACCOUNT":return zt(e);case"PAY_LATER":return xt(e);default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}}function ud(e,t=!1){return ii(e)}function fd(e){return!0}function Ze(e){return ni(e,!1)}function ni(e,t){return e==null?e:{airConditioning:e.air_conditioning==null?void 0:e.air_conditioning,airportTransportation:e.airport_transportation==null?void 0:e.airport_transportation,businessCenter:e.business_center==null?void 0:e.business_center,carRentDesk:e.car_rent_desk==null?void 0:e.car_rent_desk,childrenAllowed:e.children_allowed==null?void 0:e.children_allowed,clothingIron:e.clothing_iron==null?void 0:e.clothing_iron,coffeeTeaMaker:e.coffee_tea_maker==null?void 0:e.coffee_tea_maker,combination:e.combination==null?void 0:e.combination,continentalBreakfast:e.continental_breakfast==null?void 0:e.continental_breakfast,dataPorts:e.data_ports==null?void 0:e.data_ports,dryCleaning:e.dry_cleaning==null?void 0:e.dry_cleaning,electronicRoomKeys:e.electronic_room_keys==null?void 0:e.electronic_room_keys,exteriorRoomEntrance:e.exterior_room_entrance==null?void 0:e.exterior_room_entrance,familyRooms:e.family_rooms==null?void 0:e.family_rooms,fitnessFacility:e.fitness_facility==null?void 0:e.fitness_facility,gameRoom:e.game_room==null?void 0:e.game_room,golfCourse:e.golf_course==null?void 0:e.golf_course,hairDryer:e.hair_dryer==null?void 0:e.hair_dryer,handicapAccessible:e.handicap_accessible==null?void 0:e.handicap_accessible,inHouseBar:e.in_house_bar==null?void 0:e.in_house_bar,inHouseDining:e.in_house_dining==null?void 0:e.in_house_dining,inRoomMovies:e.in_room_movies==null?void 0:e.in_room_movies,indoorPool:e.indoor_pool==null?void 0:e.indoor_pool,interiorRoomEntrance:e.interior_room_entrance==null?void 0:e.interior_room_entrance,kitchen:e.kitchen==null?void 0:e.kitchen,map:e.map==null?void 0:e.map,meetingRooms:e.meeting_rooms==null?void 0:e.meeting_rooms,miniBarInRoom:e.mini_bar_in_room==null?void 0:e.mini_bar_in_room,nonSmokingRooms:e.non_smoking_rooms==null?void 0:e.non_smoking_rooms,outdoorPool:e.outdoor_pool==null?void 0:e.outdoor_pool,parkingGarage:e.parking_garage==null?void 0:e.parking_garage,petsAllowed:e.pets_allowed==null?void 0:e.pets_allowed,restrictedAccess:e.restricted_access==null?void 0:e.restricted_access,roomService:e.room_service==null?void 0:e.room_service,safe:e.safe==null?void 0:e.safe,sauna:e.sauna==null?void 0:e.sauna,tVInRoom:e.t_v_in_room==null?void 0:e.t_v_in_room,tennisCourt:e.tennis_court==null?void 0:e.tennis_court,twentyFourHourSecurity:e.twenty_four_hour_security==null?void 0:e.twenty_four_hour_security,valetParking:e.valet_parking==null?void 0:e.valet_parking,videoCheckOut:e.video_check_out==null?void 0:e.video_check_out,voiceMail:e.voice_mail==null?void 0:e.voice_mail,wakeUpService:e.wake_up_service==null?void 0:e.wake_up_service,whirpool:e.whirpool==null?void 0:e.whirpool}}function We(e){return ri(e,!1)}function ri(e,t=!1){return e==null?e:{air_conditioning:e.airConditioning,airport_transportation:e.airportTransportation,business_center:e.businessCenter,car_rent_desk:e.carRentDesk,children_allowed:e.childrenAllowed,clothing_iron:e.clothingIron,coffee_tea_maker:e.coffeeTeaMaker,combination:e.combination,continental_breakfast:e.continentalBreakfast,data_ports:e.dataPorts,dry_cleaning:e.dryCleaning,electronic_room_keys:e.electronicRoomKeys,exterior_room_entrance:e.exteriorRoomEntrance,family_rooms:e.familyRooms,fitness_facility:e.fitnessFacility,game_room:e.gameRoom,golf_course:e.golfCourse,hair_dryer:e.hairDryer,handicap_accessible:e.handicapAccessible,in_house_bar:e.inHouseBar,in_house_dining:e.inHouseDining,in_room_movies:e.inRoomMovies,indoor_pool:e.indoorPool,interior_room_entrance:e.interiorRoomEntrance,kitchen:e.kitchen,map:e.map,meeting_rooms:e.meetingRooms,mini_bar_in_room:e.miniBarInRoom,non_smoking_rooms:e.nonSmokingRooms,outdoor_pool:e.outdoorPool,parking_garage:e.parkingGarage,pets_allowed:e.petsAllowed,restricted_access:e.restrictedAccess,room_service:e.roomService,safe:e.safe,sauna:e.sauna,t_v_in_room:e.tVInRoom,tennis_court:e.tennisCourt,twenty_four_hour_security:e.twentyFourHourSecurity,valet_parking:e.valetParking,video_check_out:e.videoCheckOut,voice_mail:e.voiceMail,wake_up_service:e.wakeUpService,whirpool:e.whirpool}}function ld(e){return!(!("count"in e)||e.count===void 0||!("name"in e)||e.name===void 0||!("occupancy"in e)||e.occupancy===void 0)}function md(e){return oi(e,!1)}function oi(e,t){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function pd(e){return ai(e,!1)}function ai(e,t=!1){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function hd(e){return!(!("dateFrom"in e)||e.dateFrom===void 0||!("dateTo"in e)||e.dateTo===void 0||!("penaltyPercentage"in e)||e.penaltyPercentage===void 0)}function Se(e){return di(e,!1)}function di(e,t){return e==null?e:{dateFrom:e.date_from,dateTo:e.date_to,penaltyPercentage:e.penalty_percentage}}function Re(e){return si(e,!1)}function si(e,t=!1){return e==null?e:{date_from:e.dateFrom,date_to:e.dateTo,penalty_percentage:e.penaltyPercentage}}var Ne={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"};function yd(e){for(const t in Ne)if(Object.prototype.hasOwnProperty.call(Ne,t)&&Ne[t]===e)return!0;return!1}function ye(e){return ci(e,!1)}function ci(e,t){return e}function gd(e){return e}function Od(e,t){return e}function Ad(e){return!(!("isHeroImage"in e)||e.isHeroImage===void 0||!("l"in e)||e.l===void 0||!("m"in e)||e.m===void 0||!("s"in e)||e.s===void 0||!("xl"in e)||e.xl===void 0||!("xs"in e)||e.xs===void 0)}function ue(e){return ui(e,!1)}function ui(e,t){return e==null?e:{caption:e.caption==null?void 0:e.caption,isHeroImage:e.is_hero_image,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function ge(e){return fi(e,!1)}function fi(e,t=!1){return e==null?e:{caption:e.caption,is_hero_image:e.isHeroImage,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function _d(e){return!(!("beds"in e)||e.beds===void 0||!("bedsPretty"in e)||e.bedsPretty===void 0||!("count"in e)||e.count===void 0||!("description"in e)||e.description===void 0||!("id"in e)||e.id===void 0||!("occupancy"in e)||e.occupancy===void 0)}function li(e){return mi(e,!1)}function mi(e,t){return e==null?e:{amenities:e.amenities==null?void 0:e.amenities,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:e.highres_images==null?void 0:e.highres_images,id:e.id,imageIndexes:e.image_indexes==null?void 0:e.image_indexes,images:e.images==null?void 0:e.images.map(ue),lowresImages:e.lowres_images==null?void 0:e.lowres_images,occupancy:e.occupancy,richDescription:e.rich_description==null?void 0:e.rich_description,roomSquareFeet:e.room_square_feet==null?void 0:e.room_square_feet,roomSquareMeters:e.room_square_meters==null?void 0:e.room_square_meters,thumbImages:e.thumb_images==null?void 0:e.thumb_images}}function pi(e){return hi(e,!1)}function hi(e,t=!1){return e==null?e:{amenities:e.amenities,beds:e.beds,beds_pretty:e.bedsPretty,count:e.count,description:e.description,highres_images:e.highresImages,id:e.id,image_indexes:e.imageIndexes,images:e.images==null?void 0:e.images.map(ge),lowres_images:e.lowresImages,occupancy:e.occupancy,rich_description:e.richDescription,room_square_feet:e.roomSquareFeet,room_square_meters:e.roomSquareMeters,thumb_images:e.thumbImages}}var Ce={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"};function Td(e){for(const t in Ce)if(Object.prototype.hasOwnProperty.call(Ce,t)&&Ce[t]===e)return!0;return!1}function yi(e){return gi(e,!1)}function gi(e,t){return e}function Sd(e){return e}function Rd(e,t){return e}var Nd={PerNight:"PER_NIGHT",PerStay:"PER_STAY"},Cd={PerAdult:"PER_ADULT",PerBooking:"PER_BOOKING"};function wd(e){return!(!("taxFrequency"in e)||e.taxFrequency===void 0||!("taxMode"in e)||e.taxMode===void 0)}function Xe(e){return Oi(e,!1)}function Oi(e,t){return e==null?e:{amount:e.amount==null?void 0:e.amount,code:e.code==null?void 0:e.code,description:e.description==null?void 0:e.description,percentage:e.percentage==null?void 0:e.percentage,taxFrequency:e.tax_frequency,taxMode:e.tax_mode}}function Qe(e){return Ai(e,!1)}function Ai(e,t=!1){return e==null?e:{amount:e.amount,code:e.code,description:e.description,percentage:e.percentage,tax_frequency:e.taxFrequency,tax_mode:e.taxMode}}var we={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",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"};function kd(e){for(const t in we)if(Object.prototype.hasOwnProperty.call(we,t)&&we[t]===e)return!0;return!1}function te(e){return _i(e,!1)}function _i(e,t){return e}function Pd(e){return e}function Md(e,t){return e}function Jd(e){return!(!("name"in e)||e.name===void 0)}function xe(e){return Ti(e,!1)}function Ti(e,t){return e==null?e:{bg:e.bg==null?void 0:e.bg,color:e.color==null?void 0:e.color,description:e.description==null?void 0:e.description,faIcon:e.fa_icon==null?void 0:e.fa_icon,name:e.name}}function je(e){return Si(e,!1)}function Si(e,t=!1){return e==null?e:{bg:e.bg,color:e.color,description:e.description,fa_icon:e.faIcon,name:e.name}}var Dd={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},Id={Included:"included",NotIncluded:"not_included",Unknown:"unknown"},bd={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"};function Hd(e){return!(!("breakfastOption"in e)||e.breakfastOption===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRooms"in e)||e.hotelRooms===void 0||!("price"in e)||e.price===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0||!("stayTaxesInfo"in e)||e.stayTaxesInfo===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0)}function fe(e){return Ri(e,!1)}function Ri(e,t){return e==null?e:{breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,breakfastOption:yi(e.breakfast_option),breakfastPricePerGuestPerNight:e.breakfast_price_per_guest_per_night==null?void 0:e.breakfast_price_per_guest_per_night,breakfastUnitPrice:e.breakfast_unit_price==null?void 0:e.breakfast_unit_price,cancellationPolicies:e.cancellation_policies.map(Se),count:e.count==null?void 0:e.count,currency:te(e.currency),hotelId:e.hotel_id,hotelRooms:e.hotel_rooms.map(li),id:e.id==null?void 0:e.id,packageType:e.package_type==null?void 0:e.package_type,price:e.price,sourceMarket:ye(e.source_market),stayTaxesInfo:e.stay_taxes_info,tags:e.tags==null?void 0:e.tags.map(xe),taxIncludedPrice:e.tax_included_price,taxes:e.taxes==null?void 0:e.taxes.map(Xe),type:e.type==null?void 0:e.type}}function le(e){return Ni(e,!1)}function Ni(e,t=!1){return e==null?e:{breakfast_count:e.breakfastCount,breakfast_option:e.breakfastOption,breakfast_price_per_guest_per_night:e.breakfastPricePerGuestPerNight,breakfast_unit_price:e.breakfastUnitPrice,cancellation_policies:e.cancellationPolicies.map(Re),count:e.count,currency:e.currency,hotel_id:e.hotelId,hotel_rooms:e.hotelRooms.map(pi),id:e.id,package_type:e.packageType,price:e.price,source_market:e.sourceMarket,stay_taxes_info:e.stayTaxesInfo,tags:e.tags==null?void 0:e.tags.map(je),tax_included_price:e.taxIncludedPrice,taxes:e.taxes==null?void 0:e.taxes.map(Qe),type:e.type}}var ke={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};function Fd(e){for(const t in ke)if(Object.prototype.hasOwnProperty.call(ke,t)&&ke[t]===e)return!0;return!1}function Pe(e){return Ci(e,!1)}function Ci(e,t){return e}function Ed(e){return e}function Ld(e,t){return e}var Me={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"};function Bd(e){for(const t in Me)if(Object.prototype.hasOwnProperty.call(Me,t)&&Me[t]===e)return!0;return!1}function Je(e){return wi(e,!1)}function wi(e,t){return e}function vd(e){return e}function Gd(e,t){return e}function Ud(e){return!(!("address"in e)||e.address===void 0||!("city"in e)||e.city===void 0||!("country"in e)||e.country===void 0||!("name"in e)||e.name===void 0||!("zipCode"in e)||e.zipCode===void 0)}function ki(e){return Pi(e,!1)}function Pi(e,t){return e==null?e:{address:e.address,city:e.city,country:Je(e.country),name:e.name,state:e.state==null?void 0:e.state,vatNumber:e.vat_number==null?void 0:e.vat_number,zipCode:e.zip_code}}function Mi(e){return Ji(e,!1)}function Ji(e,t=!1){return e==null?e:{address:e.address,city:e.city,country:e.country,name:e.name,state:e.state,vat_number:e.vatNumber,zip_code:e.zipCode}}var qd={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"};function $d(e){return!(!("email"in e)||e.email===void 0||!("firstName"in e)||e.firstName===void 0||!("lastName"in e)||e.lastName===void 0||!("nationality"in e)||e.nationality===void 0||!("phone"in e)||e.phone===void 0)}function et(e){return Di(e,!1)}function Di(e,t){return e==null?e:{address:e.address==null?void 0:e.address,city:e.city==null?void 0:e.city,country:e.country==null?void 0:Je(e.country),email:e.email,firstName:e.first_name,lang:e.lang==null?void 0:Pe(e.lang),lastName:e.last_name,nationality:Je(e.nationality),organization:e.organization==null?void 0:ki(e.organization),phone:e.phone,remarks:e.remarks==null?void 0:e.remarks,salutation:e.salutation==null?void 0:e.salutation,state:e.state==null?void 0:e.state,zipCode:e.zip_code==null?void 0:e.zip_code}}function tt(e){return Ii(e,!1)}function Ii(e,t=!1){return e==null?e:{address:e.address,city:e.city,country:e.country,email:e.email,first_name:e.firstName,lang:e.lang,last_name:e.lastName,nationality:e.nationality,organization:Mi(e.organization),phone:e.phone,remarks:e.remarks,salutation:e.salutation,state:e.state,zip_code:e.zipCode}}function Yd(e){return!(!("amount"in e)||e.amount===void 0||!("couponId"in e)||e.couponId===void 0)}function bi(e){return Hi(e,!1)}function Hi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id,token:e.token==null?void 0:e.token}}function Fi(e){return Ei(e,!1)}function Ei(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Kd={Coupon:"COUPON"};function zd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function Vd(e){return it(e,!1)}function it(e,t){return e==null?e:{name:e.name,payload:bi(e.payload)}}function Li(e){return Bi(e,!1)}function Bi(e,t=!1){return e==null?e:{name:e.name,payload:Fi(e.payload)}}function Zd(e){return!(!("amount"in e)||e.amount===void 0||!("token"in e)||e.token===void 0)}function vi(e){return Gi(e,!1)}function Gi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,token:e.token}}function Ui(e){return qi(e,!1)}function qi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Wd={CreditCard:"CREDIT_CARD"};function Xd(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function Qd(e){return nt(e,!1)}function nt(e,t){return e==null?e:{name:e.name,payload:vi(e.payload)}}function $i(e){return Yi(e,!1)}function Yi(e,t=!1){return e==null?e:{name:e.name,payload:Ui(e.payload)}}function xd(e){return!(!("amount"in e)||e.amount===void 0)}function Ki(e){return zi(e,!1)}function zi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,token:e.token==null?void 0:e.token}}function Vi(e){return Zi(e,!1)}function Zi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var jd={DepositAccount:"DEPOSIT_ACCOUNT"};function es(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function ts(e){return rt(e,!1)}function rt(e,t){return e==null?e:{name:e.name,payload:Ki(e.payload)}}function Wi(e){return Xi(e,!1)}function Xi(e,t=!1){return e==null?e:{name:e.name,payload:Vi(e.payload)}}var is={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function ns(e){return!(!("amount"in e)||e.amount===void 0||!("status"in e)||e.status===void 0)}function Qi(e){return xi(e,!1)}function xi(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,status:e.status,token:e.token==null?void 0:e.token}}function ji(e){return en(e,!1)}function en(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,status:e.status,token:e.token}}var rs={PayLater:"PAY_LATER"};function os(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function as(e){return ot(e,!1)}function ot(e,t){return e==null?e:{name:e.name,payload:Qi(e.payload)}}function tn(e){return nn(e,!1)}function nn(e,t=!1){return e==null?e:{name:e.name,payload:ji(e.payload)}}function rn(e){return on(e,!1)}function on(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...it(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...nt(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...rt(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...ot(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}function at(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return Li(e);case"CREDIT_CARD":return $i(e);case"DEPOSIT_ACCOUNT":return Wi(e);case"PAY_LATER":return tn(e);default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}}function ds(e,t=!1){return at(e)}var ss={Active:"active",Archived:"archived",Claimed:"claimed",Incomplete:"incomplete",Open:"open",WaitingPayment:"waiting_payment"};function cs(e){return!(!("status"in e)||e.status===void 0)}function an(e){return dn(e,!1)}function dn(e,t){return e==null?e:{createdAt:e.created_at==null?void 0:e.created_at,reference:e.reference==null?void 0:e.reference,status:e.status}}function sn(e){return cn(e,!1)}function cn(e,t=!1){return e==null?e:{created_at:e.createdAt,reference:e.reference,status:e.status}}var us={CreditNote:"credit_note",Invoice:"invoice"};function fs(e){return!(!("type"in e)||e.type===void 0||!("url"in e)||e.url===void 0)}function un(e){return fn(e,!1)}function fn(e,t){return e==null?e:{type:e.type,url:e.url}}function ln(e){return mn(e,!1)}function mn(e,t=!1){return e==null?e:{type:e.type,url:e.url}}var ls={Insurance:"insurance"};function ms(e){return!(!("price"in e)||e.price===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0||!("type"in e)||e.type===void 0)}function dt(e){return pn(e,!1)}function pn(e,t){return e==null?e:{price:e.price,taxIncludedPrice:e.tax_included_price,type:e.type}}function st(e){return hn(e,!1)}function hn(e,t=!1){return e==null?e:{price:e.price,tax_included_price:e.taxIncludedPrice,type:e.type}}function ps(e){return!0}function De(e){return yn(e,!1)}function yn(e,t){return e==null?e:{latitude:e.latitude==null?void 0:e.latitude,longitude:e.longitude==null?void 0:e.longitude,name:e.name==null?void 0:e.name,slug:e.slug==null?void 0:e.slug}}function Ie(e){return gn(e,!1)}function gn(e,t=!1){return e==null?e:{latitude:e.latitude,longitude:e.longitude,name:e.name,slug:e.slug}}function hs(e){return!(!("beds"in e)||e.beds===void 0||!("bedsPretty"in e)||e.bedsPretty===void 0||!("count"in e)||e.count===void 0||!("description"in e)||e.description===void 0||!("id"in e)||e.id===void 0||!("occupancy"in e)||e.occupancy===void 0)}function On(e){return An(e,!1)}function An(e,t){return e==null?e:{amenities:e.amenities==null?void 0:e.amenities,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:e.highres_images==null?void 0:e.highres_images,id:e.id,imageIndexes:e.image_indexes==null?void 0:e.image_indexes,images:e.images==null?void 0:e.images.map(ue),lowresImages:e.lowres_images==null?void 0:e.lowres_images,occupancy:e.occupancy,richDescription:e.rich_description==null?void 0:e.rich_description,roomSquareFeet:e.room_square_feet==null?void 0:e.room_square_feet,roomSquareMeters:e.room_square_meters==null?void 0:e.room_square_meters,thumbImages:e.thumb_images==null?void 0:e.thumb_images}}function _n(e){return Tn(e,!1)}function Tn(e,t=!1){return e==null?e:{amenities:e.amenities,beds:e.beds,beds_pretty:e.bedsPretty,count:e.count,description:e.description,highres_images:e.highresImages,id:e.id,image_indexes:e.imageIndexes,images:e.images==null?void 0:e.images.map(ge),lowres_images:e.lowresImages,occupancy:e.occupancy,rich_description:e.richDescription,room_square_feet:e.roomSquareFeet,room_square_meters:e.roomSquareMeters,thumb_images:e.thumbImages}}function ys(e){return!(!("fullname"in e)||e.fullname===void 0||!("id"in e)||e.id===void 0)}function be(e){return Sn(e,!1)}function Sn(e,t){return e==null?e:{fullname:e.fullname,id:e.id}}function Rn(e){return Nn(e,!1)}function Nn(e,t=!1){return e==null?e:{fullname:e.fullname,id:e.id}}function gs(e){return!(!("hotelRoomId"in e)||e.hotelRoomId===void 0||!("hotelRoomingListGuests"in e)||e.hotelRoomingListGuests===void 0||!("id"in e)||e.id===void 0)}function ct(e){return Cn(e,!1)}function Cn(e,t){return e==null?e:{hotelRoom:e.hotel_room==null?void 0:On(e.hotel_room),hotelRoomId:e.hotel_room_id,hotelRoomingListGuests:e.hotel_rooming_list_guests.map(be),id:e.id,limitDate:e.limit_date==null?void 0:new Date(e.limit_date)}}function wn(e){return kn(e,!1)}function kn(e,t=!1){return e==null?e:{hotel_room:_n(e.hotelRoom),hotel_room_id:e.hotelRoomId,hotel_rooming_list_guests:e.hotelRoomingListGuests.map(Rn),id:e.id,limit_date:e.limitDate==null?e.limitDate:e.limitDate.toISOString()}}var Os={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},As={BkgCx:"bkg-cx",BkgCf:"bkg-cf",BkgCreated:"bkg-created",BkgAf:"bkg-af",BkgIp:"bkg-ip",BkgPc:"bkg-pc",BkgPp:"bkg-pp",BkgQr:"bkg-qr"};function _s(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("contactPerson"in e)||e.contactPerson===void 0||!("createdAt"in e)||e.createdAt===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0||!("lastStatusUpdatedAt"in e)||e.lastStatusUpdatedAt===void 0||!("reference"in e)||e.reference===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0||!("status"in e)||e.status===void 0||!("taxAmount"in e)||e.taxAmount===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0||!("terms"in e)||e.terms===void 0)}function ee(e){return Pn(e,!1)}function Pn(e,t){return e==null?e:{additionalCheckInInstruction:e.additional_check_in_instruction==null?void 0:e.additional_check_in_instruction,additionalPolicies:e.additional_policies==null?void 0:e.additional_policies,addons:e.addons==null?void 0:e.addons.map(dt),adultCount:e.adult_count,bookingGroupId:e.booking_group_id==null?void 0:e.booking_group_id,canceledAt:e.canceled_at==null?void 0:e.canceled_at,cancellationPolicies:e.cancellation_policies.map(Se),cancellationPolicyRemarks:e.cancellation_policy_remarks==null?void 0:e.cancellation_policy_remarks,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,confirmedAt:e.confirmed_at==null?void 0:e.confirmed_at,contactPerson:et(e.contact_person),createdAt:e.created_at,currency:te(e.currency),customerReference:e.customer_reference==null?void 0:e.customer_reference,event:e.event==null?void 0:De(e.event),failedAt:e.failed_at==null?void 0:e.failed_at,hotelConfirmationId:e.hotel_confirmation_id==null?void 0:e.hotel_confirmation_id,hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer),hotelRoomingLists:e.hotel_rooming_lists==null?void 0:e.hotel_rooming_lists.map(ct),id:e.id==null?void 0:e.id,insurance:e.insurance==null?void 0:an(e.insurance),invoices:e.invoices==null?void 0:e.invoices.map(un),lastStatusUpdatedAt:e.last_status_updated_at,metadata:e.metadata==null?void 0:e.metadata,payLater:e.pay_later==null?void 0:e.pay_later,paymentMethods:e.payment_methods==null?void 0:e.payment_methods.map(rn),penaltyPercentage:e.penalty_percentage==null?void 0:e.penalty_percentage,reference:e.reference,sourceMarket:ye(e.source_market),status:e.status,taxAmount:e.tax_amount,taxIncludedPrice:e.tax_included_price,taxes:e.taxes==null?void 0:e.taxes.map(Xe),terms:e.terms,token:e.token==null?void 0:e.token}}function Mn(e){return Jn(e,!1)}function Jn(e,t=!1){return e==null?e:{additional_check_in_instruction:e.additionalCheckInInstruction,additional_policies:e.additionalPolicies,addons:e.addons==null?void 0:e.addons.map(st),adult_count:e.adultCount,booking_group_id:e.bookingGroupId,canceled_at:e.canceledAt,cancellation_policies:e.cancellationPolicies.map(Re),cancellation_policy_remarks:e.cancellationPolicyRemarks,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,confirmed_at:e.confirmedAt,contact_person:tt(e.contactPerson),created_at:e.createdAt,currency:e.currency,customer_reference:e.customerReference,event:Ie(e.event),failed_at:e.failedAt,hotel_confirmation_id:e.hotelConfirmationId,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer),hotel_rooming_lists:e.hotelRoomingLists==null?void 0:e.hotelRoomingLists.map(wn),id:e.id,insurance:sn(e.insurance),invoices:e.invoices==null?void 0:e.invoices.map(ln),last_status_updated_at:e.lastStatusUpdatedAt,metadata:e.metadata,pay_later:e.payLater,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(at),penalty_percentage:e.penaltyPercentage,reference:e.reference,source_market:e.sourceMarket,status:e.status,tax_amount:e.taxAmount,tax_included_price:e.taxIncludedPrice,taxes:e.taxes==null?void 0:e.taxes.map(Qe),terms:e.terms,token:e.token}}var Ts={Insurance:"insurance"};function Ss(e){return!(!("type"in e)||e.type===void 0)}function Dn(e){return In(e,!1)}function In(e,t){return e==null?e:{type:e.type}}function bn(e){return Hn(e,!1)}function Hn(e,t=!1){return e==null?e:{type:e.type}}function Rs(e){return!(!("fullname"in e)||e.fullname===void 0)}function Fn(e){return En(e,!1)}function En(e,t){return e==null?e:{fullname:e.fullname}}function Ln(e){return Bn(e,!1)}function Bn(e,t=!1){return e==null?e:{fullname:e.fullname}}function Ns(e){return!(!("guests"in e)||e.guests===void 0||!("hotelRoomId"in e)||e.hotelRoomId===void 0)}function vn(e){return Gn(e,!1)}function Gn(e,t){return e==null?e:{guests:e.guests.map(Fn),hotelRoomId:e.hotel_room_id}}function Un(e){return qn(e,!1)}function qn(e,t=!1){return e==null?e:{guests:e.guests.map(Ln),hotel_room_id:e.hotelRoomId}}function Cs(e){return!0}function me(e){return $n(e,!1)}function $n(e,t){return e==null?e:{dateEnd:e.date_end==null?void 0:e.date_end,dateStart:e.date_start==null?void 0:e.date_start,id:e.id==null?void 0:e.id,imageUrl:e.image_url==null?void 0:e.image_url,name:e.name==null?void 0:e.name,slug:e.slug==null?void 0:e.slug}}function pe(e){return Yn(e,!1)}function Yn(e,t=!1){return e==null?e:{date_end:e.dateEnd,date_start:e.dateStart,id:e.id,image_url:e.imageUrl,name:e.name,slug:e.slug}}function ws(e){return!0}function Kn(e){return zn(e,!1)}function zn(e,t){return e==null?e:{couponId:e.coupon_id==null?void 0:e.coupon_id}}function Vn(e){return Zn(e,!1)}function Zn(e,t=!1){return e==null?e:{coupon_id:e.couponId}}var ks={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"};function Ps(e){return!(!("name"in e)||e.name===void 0)}function ut(e){return Wn(e,!1)}function Wn(e,t){return e==null?e:{name:e.name,payload:e.payload==null?void 0:Kn(e.payload)}}function ft(e){return Xn(e,!1)}function Xn(e,t=!1){return e==null?e:{name:e.name,payload:Vn(e.payload)}}function Ms(e){return!(!("bookingPolicyId"in e)||e.bookingPolicyId===void 0||!("contactPerson"in e)||e.contactPerson===void 0)}function Js(e){return Qn(e,!1)}function Qn(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(Dn),bookingPolicyId:e.booking_policy_id,contactPerson:et(e.contact_person),eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),guestsList:e.guests_list==null?void 0:e.guests_list.map(vn),metadata:e.metadata==null?void 0:e.metadata,paymentMethods:e.payment_methods==null?void 0:e.payment_methods.map(ut),trackingId:e.tracking_id==null?void 0:e.tracking_id}}function xn(e){return jn(e,!1)}function jn(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(bn),booking_policy_id:e.bookingPolicyId,contact_person:tt(e.contactPerson),event_metadata:pe(e.eventMetadata),guests_list:e.guestsList==null?void 0:e.guestsList.map(Un),metadata:e.metadata,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(ft),tracking_id:e.trackingId}}function Ds(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("cancellationPolicies"in e)||e.cancellationPolicies===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("expiresAt"in e)||e.expiresAt===void 0||!("hasRoomingLists"in e)||e.hasRoomingLists===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0||!("id"in e)||e.id===void 0||!("isCancellationPoliciesUpdated"in e)||e.isCancellationPoliciesUpdated===void 0||!("isPriceIncreased"in e)||e.isPriceIncreased===void 0)}function lt(e){return er(e,!1)}function er(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(dt),adultCount:e.adult_count,cancellationPolicies:e.cancellation_policies.map(Se),checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),expiresAt:e.expires_at==null?null:new Date(e.expires_at),hasRoomingLists:e.has_rooming_lists,hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer),id:e.id,isCancellationPoliciesUpdated:e.is_cancellation_policies_updated,isPriceIncreased:e.is_price_increased}}function Is(e){return tr(e,!1)}function tr(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(st),adult_count:e.adultCount,cancellation_policies:e.cancellationPolicies.map(Re),check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,expires_at:e.expiresAt==null?e.expiresAt:e.expiresAt.toISOString(),has_rooming_lists:e.hasRoomingLists,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer),id:e.id,is_cancellation_policies_updated:e.isCancellationPoliciesUpdated,is_price_increased:e.isPriceIncreased}}function bs(e){return!(!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function Hs(e){return ir(e,!1)}function ir(e,t){return e==null?e:{addBreakfast:e.add_breakfast==null?void 0:e.add_breakfast,breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,hotelRoomOfferId:e.hotel_room_offer_id,lang:e.lang==null?void 0:Pe(e.lang)}}function nr(e){return rr(e,!1)}function rr(e,t=!1){return e==null?e:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,hotel_room_offer_id:e.hotelRoomOfferId,lang:e.lang}}function Fs(e){return!0}function or(e){return ar(e,!1)}function ar(e,t){return e==null?e:{endingBefore:e.ending_before==null?void 0:e.ending_before,limit:e.limit==null?void 0:e.limit,startingAfter:e.starting_after==null?void 0:e.starting_after,totalCount:e.total_count==null?void 0:e.total_count}}function dr(e){return sr(e,!1)}function sr(e,t=!1){return e==null?e:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount}}function Es(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function cr(e){return ur(e,!1)}function ur(e,t){return e==null?e:{data:e.data.map(ee),meta:or(e.meta)}}function Ls(e){return fr(e,!1)}function fr(e,t=!1){return e==null?e:{data:e.data.map(Mn),meta:dr(e.meta)}}var Bs={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"};function vs(e){return!(!("statusCode"in e)||e.statusCode===void 0)}function Gs(e){return lr(e,!1)}function lr(e,t){return e==null?e:{documentationUrl:e.documentation_url==null?void 0:e.documentation_url,error:e.error==null?void 0:e.error,message:e.message==null?void 0:e.message,statusCode:e.statusCode,type:e.type==null?void 0:e.type}}function Us(e){return mr(e,!1)}function mr(e,t=!1){return e==null?e:{documentation_url:e.documentationUrl,error:e.error,message:e.message,statusCode:e.statusCode,type:e.type}}function qs(e){return!(!("rating"in e)||e.rating===void 0)}function mt(e){return pr(e,!1)}function pr(e,t){return e==null?e:{category:e.category==null?void 0:e.category,rating:e.rating}}function pt(e){return hr(e,!1)}function hr(e,t=!1){return e==null?e:{category:e.category,rating:e.rating}}function $s(e){return!0}function ht(e){return yr(e,!1)}function yr(e,t){return e==null?e:{count:e.count==null?void 0:e.count,highres:e.highres==null?void 0:e.highres,lowres:e.lowres==null?void 0:e.lowres,prefix:e.prefix==null?void 0:e.prefix,suffix:e.suffix==null?void 0:e.suffix,thumb:e.thumb==null?void 0:e.thumb}}function yt(e){return gr(e,!1)}function gr(e,t=!1){return e==null?e:{count:e.count,highres:e.highres,lowres:e.lowres,prefix:e.prefix,suffix:e.suffix,thumb:e.thumb}}function Ys(e){return!0}function Or(e){return Ar(e,!1)}function Ar(e,t){return e==null?e:{driving:e.driving==null?void 0:e.driving,transit:e.transit==null?void 0:e.transit,walking:e.walking==null?void 0:e.walking}}function _r(e){return Tr(e,!1)}function Tr(e,t=!1){return e==null?e:{driving:e.driving,transit:e.transit,walking:e.walking}}function Ks(e){return!(!("name"in e)||e.name===void 0)}function gt(e){return Sr(e,!1)}function Sr(e,t){return e==null?e:{description:e.description==null?void 0:e.description,name:e.name,travelTimes:e.travel_times==null?void 0:Or(e.travel_times)}}function Ot(e){return Rr(e,!1)}function Rr(e,t=!1){return e==null?e:{description:e.description,name:e.name,travel_times:_r(e.travelTimes)}}function zs(e){return!(!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("name"in e)||e.name===void 0||!("timezone"in e)||e.timezone===void 0)}function Nr(e){return Cr(e,!1)}function Cr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,address2:e.address2==null?void 0:e.address2,amenities:e.amenities==null?void 0:Ze(e.amenities),checkInTime:e.check_in_time==null?void 0:e.check_in_time,checkOutTime:e.check_out_time==null?void 0:e.check_out_time,city:e.city==null?void 0:e.city,country:e.country==null?void 0:e.country,countryCode:e.country_code==null?void 0:e.country_code,currency:e.currency==null?void 0:te(e.currency),description:e.description==null?void 0:e.description,distance:e.distance==null?void 0:e.distance,email:e.email==null?void 0:e.email,fax:e.fax==null?void 0:e.fax,hotelImages:e.hotel_images==null?void 0:e.hotel_images.map(ue),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(mt),id:e.id,images:e.images==null?void 0:ht(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone==null?void 0:e.phone,policy:e.policy==null?void 0:e.policy,postalCode:e.postal_code==null?void 0:e.postal_code,rating:e.rating==null?void 0:e.rating,reviewCount:e.review_count==null?void 0:e.review_count,state:e.state==null?void 0:e.state,taId:e.ta_id==null?void 0:e.ta_id,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(gt),website:e.website==null?void 0:e.website}}function Vs(e){return wr(e,!1)}function wr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:We(e.amenities),check_in_time:e.checkInTime,check_out_time:e.checkOutTime,city:e.city,country:e.country,country_code:e.countryCode,currency:e.currency,description:e.description,distance:e.distance,email:e.email,fax:e.fax,hotel_images:e.hotelImages==null?void 0:e.hotelImages.map(ge),hotel_review_ratings:e.hotelReviewRatings==null?void 0:e.hotelReviewRatings.map(pt),id:e.id,images:yt(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone,policy:e.policy,postal_code:e.postalCode,rating:e.rating,review_count:e.reviewCount,state:e.state,ta_id:e.taId,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(Ot),website:e.website}}function Zs(e){return!(!("hotelImages"in e)||e.hotelImages===void 0||!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("name"in e)||e.name===void 0||!("timezone"in e)||e.timezone===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0)}function kr(e){return Pr(e,!1)}function Pr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,address2:e.address2==null?void 0:e.address2,amenities:e.amenities==null?void 0:Ze(e.amenities),checkInTime:e.check_in_time==null?void 0:e.check_in_time,checkOutTime:e.check_out_time==null?void 0:e.check_out_time,city:e.city==null?void 0:e.city,country:e.country==null?void 0:e.country,countryCode:e.country_code==null?void 0:e.country_code,currency:e.currency==null?void 0:te(e.currency),description:e.description==null?void 0:e.description,distance:e.distance==null?void 0:e.distance,email:e.email==null?void 0:e.email,fax:e.fax==null?void 0:e.fax,hotelImages:e.hotel_images.map(ue),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(mt),id:e.id,images:e.images==null?void 0:ht(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone==null?void 0:e.phone,policy:e.policy==null?void 0:e.policy,postalCode:e.postal_code==null?void 0:e.postal_code,rating:e.rating==null?void 0:e.rating,reviewCount:e.review_count==null?void 0:e.review_count,state:e.state==null?void 0:e.state,taId:e.ta_id==null?void 0:e.ta_id,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(gt),website:e.website==null?void 0:e.website,hotelRoomOffers:e.hotel_room_offers.map(fe),tags:e.tags==null?void 0:e.tags.map(xe)}}function Mr(e){return Jr(e,!1)}function Jr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:We(e.amenities),check_in_time:e.checkInTime,check_out_time:e.checkOutTime,city:e.city,country:e.country,country_code:e.countryCode,currency:e.currency,description:e.description,distance:e.distance,email:e.email,fax:e.fax,hotel_images:e.hotelImages.map(ge),hotel_review_ratings:e.hotelReviewRatings==null?void 0:e.hotelReviewRatings.map(pt),id:e.id,images:yt(e.images),latitude:e.latitude,longitude:e.longitude,name:e.name,phone:e.phone,policy:e.policy,postal_code:e.postalCode,rating:e.rating,review_count:e.reviewCount,state:e.state,ta_id:e.taId,timezone:e.timezone,venues:e.venues==null?void 0:e.venues.map(Ot),website:e.website,hotel_room_offers:e.hotelRoomOffers.map(le),tags:e.tags==null?void 0:e.tags.map(je)}}function Ws(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("createdAt"in e)||e.createdAt===void 0||!("id"in e)||e.id===void 0||!("latitude"in e)||e.latitude===void 0||!("longitude"in e)||e.longitude===void 0||!("roomCount"in e)||e.roomCount===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0)}function At(e){return Dr(e,!1)}function Dr(e,t){return e==null?e:{address:e.address==null?void 0:e.address,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,createdAt:e.created_at,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),id:e.id,latitude:e.latitude,longitude:e.longitude,roomCount:e.room_count,sourceMarket:ye(e.source_market)}}function Xs(e){return Ir(e,!1)}function Ir(e,t=!1){return e==null?e:{address:e.address,adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,created_at:e.createdAt,event_metadata:pe(e.eventMetadata),id:e.id,latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount,source_market:e.sourceMarket}}function Qs(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("roomCount"in e)||e.roomCount===void 0)}function xs(e){return br(e,!1)}function br(e,t){return e==null?e:{address:e.address==null?void 0:e.address,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),latitude:e.latitude==null?void 0:e.latitude,longitude:e.longitude==null?void 0:e.longitude,roomCount:e.room_count}}function Hr(e){return Fr(e,!1)}function Fr(e,t=!1){return e==null?e:{address:e.address,adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount}}function js(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelOffers"in e)||e.hotelOffers===void 0)}function Er(e){return Lr(e,!1)}function Lr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelOffers:e.hotel_offers.map(kr),priceHistogram:e.price_histogram==null?void 0:e.price_histogram,priceMax:e.price_max==null?void 0:e.price_max,priceMin:e.price_min==null?void 0:e.price_min}}function Br(e){return vr(e,!1)}function vr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_offers:e.hotelOffers.map(Mr),price_histogram:e.priceHistogram,price_max:e.priceMax,price_min:e.priceMin}}var He={Complete:"COMPLETE",InProgress:"IN_PROGRESS"};function ec(e){for(const t in He)if(Object.prototype.hasOwnProperty.call(He,t)&&He[t]===e)return!0;return!1}function Gr(e){return Ur(e,!1)}function Ur(e,t){return e}function tc(e){return e}function ic(e,t){return e}function nc(e){return!(!("status"in e)||e.status===void 0)}function _t(e){return qr(e,!1)}function qr(e,t){return e==null?e:{endingBefore:e.ending_before==null?void 0:e.ending_before,limit:e.limit==null?void 0:e.limit,startingAfter:e.starting_after==null?void 0:e.starting_after,totalCount:e.total_count==null?void 0:e.total_count,status:Gr(e.status)}}function Tt(e){return $r(e,!1)}function $r(e,t=!1){return e==null?e:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount,status:e.status}}function rc(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function Yr(e){return Kr(e,!1)}function Kr(e,t){return e==null?e:{data:Er(e.data),event:e.event==null?void 0:De(e.event),meta:_t(e.meta)}}function oc(e){return zr(e,!1)}function zr(e,t=!1){return e==null?e:{data:Br(e.data),event:Ie(e.event),meta:Tt(e.meta)}}function ac(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffer"in e)||e.hotelRoomOffer===void 0)}function Vr(e){return Zr(e,!1)}function Zr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelId:e.hotel_id,hotelRoomOffer:fe(e.hotel_room_offer)}}function dc(e){return Wr(e,!1)}function Wr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_id:e.hotelId,hotel_room_offer:le(e.hotelRoomOffer)}}function sc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("hotelId"in e)||e.hotelId===void 0||!("roomCount"in e)||e.roomCount===void 0||!("createdAt"in e)||e.createdAt===void 0||!("id"in e)||e.id===void 0||!("sourceMarket"in e)||e.sourceMarket===void 0)}function St(e){return Xr(e,!1)}function Xr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),hotelId:e.hotel_id,roomCount:e.room_count,createdAt:e.created_at,id:e.id,sourceMarket:ye(e.source_market)}}function cc(e){return Qr(e,!1)}function Qr(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount,created_at:e.createdAt,id:e.id,source_market:e.sourceMarket}}function uc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("hotelId"in e)||e.hotelId===void 0||!("roomCount"in e)||e.roomCount===void 0)}function fc(e){return xr(e,!1)}function xr(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,eventMetadata:e.event_metadata==null?void 0:me(e.event_metadata),hotelId:e.hotel_id,roomCount:e.room_count}}function jr(e){return eo(e,!1)}function eo(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:pe(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount}}function lc(e){return!(!("adultCount"in e)||e.adultCount===void 0||!("checkInDate"in e)||e.checkInDate===void 0||!("checkOutDate"in e)||e.checkOutDate===void 0||!("currency"in e)||e.currency===void 0||!("hotelId"in e)||e.hotelId===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0||!("hotelTimezone"in e)||e.hotelTimezone===void 0)}function to(e){return io(e,!1)}function io(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:te(e.currency),hotelId:e.hotel_id,hotelRoomOffers:e.hotel_room_offers.map(fe),hotelTimezone:e.hotel_timezone}}function no(e){return ro(e,!1)}function ro(e,t=!1){return e==null?e:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,hotel_id:e.hotelId,hotel_room_offers:e.hotelRoomOffers.map(le),hotel_timezone:e.hotelTimezone}}function mc(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function oo(e){return ao(e,!1)}function ao(e,t){return e==null?e:{data:to(e.data),event:e.event==null?void 0:De(e.event),meta:_t(e.meta)}}function pc(e){return so(e,!1)}function so(e,t=!1){return e==null?e:{data:no(e.data),event:Ie(e.event),meta:Tt(e.meta)}}function hc(e){return!(!("count"in e)||e.count===void 0||!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function co(e){return uo(e,!1)}function uo(e,t){return e==null?e:{breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,count:e.count,hotelRoomOfferId:e.hotel_room_offer_id}}function fo(e){return lo(e,!1)}function lo(e,t=!1){return e==null?e:{breakfast_count:e.breakfastCount,count:e.count,hotel_room_offer_id:e.hotelRoomOfferId}}function yc(e){return!(!("currency"in e)||e.currency===void 0||!("hotelRoomOffers"in e)||e.hotelRoomOffers===void 0)}function gc(e){return mo(e,!1)}function mo(e,t){return e==null?e:{addBreakfast:e.add_breakfast==null?void 0:e.add_breakfast,breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,currency:te(e.currency),hotelRoomOffers:e.hotel_room_offers.map(co),lang:e.lang==null?void 0:Pe(e.lang)}}function po(e){return ho(e,!1)}function ho(e,t=!1){return e==null?e:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,currency:e.currency,hotel_room_offers:e.hotelRoomOffers.map(fo),lang:e.lang}}function Oc(e){return!(!("fullname"in e)||e.fullname===void 0||!("hotelRoomingListId"in e)||e.hotelRoomingListId===void 0)}function Ac(e){return yo(e,!1)}function yo(e,t){return e==null?e:{fullname:e.fullname,hotelRoomingListId:e.hotel_rooming_list_id}}function go(e){return Oo(e,!1)}function Oo(e,t=!1){return e==null?e:{fullname:e.fullname,hotel_rooming_list_id:e.hotelRoomingListId}}function _c(e){return!(!("fullname"in e)||e.fullname===void 0)}function Tc(e){return Ao(e,!1)}function Ao(e,t){return e==null?e:{fullname:e.fullname}}function _o(e){return To(e,!1)}function To(e,t=!1){return e==null?e:{fullname:e.fullname}}function Sc(e){return!(!("paymentMethods"in e)||e.paymentMethods===void 0)}function Rc(e){return So(e,!1)}function So(e,t){return e==null?e:{paymentMethods:e.payment_methods.map(ut)}}function Ro(e){return No(e,!1)}function No(e,t=!1){return e==null?e:{payment_methods:e.paymentMethods.map(ft)}}var Nc={AddOrRemoveNights:"add_or_remove_nights",AddOrRemovePerson:"add_or_remove_person",ChangeDates:"change_dates",ChangeGuestName:"change_guest_name",EarlyCheckIn:"early_check_in",EarlyCheckInLateCheckOut:"early_check_in_late_check_out",LateCheckOut:"late_check_out",Other:"other",SpecialRequest:"special_request"};function Cc(e){return!(!("message"in e)||e.message===void 0||!("requestType"in e)||e.requestType===void 0)}function wc(e){return Co(e,!1)}function Co(e,t){return e==null?e:{message:e.message,requestType:e.request_type}}function wo(e){return ko(e,!1)}function ko(e,t=!1){return e==null?e:{message:e.message,request_type:e.requestType}}var Po=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicy.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>lt(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async paymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingPolicyIdPaymentMethods.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return new v(o,s=>s.map(ei)).value()}async paymentMethods(e,t){return this.paymentMethodsRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/booking_policies",method:"POST",headers:r,query:J(n,D.Snake),body:J(nr(e.bookingPoliciesCreateApi),D.Snake)},t);return await new v(o,s=>lt(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Mo=class extends Q{async deleteRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling deleteV1BookingsToken.");const n=await this.request({path:"/v1/bookings/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"DELETE",headers:{},query:J({},D.Snake)},t);return await new v(n,r=>ee(r)).value()}async delete(e,t){return this.deleteRaw(e,t)}async listRaw(e,t){const n={};e.endingBefore!==void 0&&(n.ending_before=e.endingBefore),e.filterByCheckInDate!==void 0&&(n.filter_by_check_in_date=e.filterByCheckInDate),e.filterByLastStatusUpdatedAt!==void 0&&(n.filter_by_last_status_updated_at=e.filterByLastStatusUpdatedAt),e.filterByMetadata!==void 0&&(n.filter_by_metadata=e.filterByMetadata),e.filterByStatus!==void 0&&(n.filter_by_status=e.filterByStatus),e.limit!==void 0&&(n.limit=e.limit),e.sortBy!==void 0&&(n.sort_by=e.sortBy),e.sortByOrder!==void 0&&(n.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(n.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>cr(s)).value()}async list(e={},t){return this.listRaw(e,t)}async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1BookingsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async certificateRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenCertificate.");if(e.customerName===null||e.customerName===void 0)throw new B("customerName","Required parameter requestParameters.customerName was null or undefined when calling getV1BookingsTokenCertificate.");const n={};e.customerName!==void 0&&(n.customer_name=e.customerName),e.locale!==void 0&&(n.locale=e.locale);const r=await this.request({path:"/v1/bookings/{token}/certificate".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J(n,D.Snake)},t);return new Ut(r)}async certificate(e,t){await this.certificateRaw(e,t)}async retrievePublicRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1BookingsTokenPublic.");const n=await this.request({path:"/v1/bookings/{token}/public".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J({},D.Snake)},t);return await new v(n,r=>ee(r)).value()}async retrievePublic(e,t){return this.retrievePublicRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings",method:"POST",headers:r,query:J(n,D.Snake),body:J(xn(e.bookingCreateApi),D.Snake)},t);return await new v(o,s=>ee(s)).value()}async create(e={},t){return this.createRaw(e,t)}async couponChargeRaw(e,t){if(e.couponId===null||e.couponId===void 0)throw new B("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=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:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async couponCharge(e,t){return this.couponChargeRaw(e,t)}async paylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLater.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/pay-later".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async paylater(e,t){return this.paylaterRaw(e,t)}async confirmpaylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdPayLaterConfirm.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/pay-later/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async confirmpaylater(e,t){return this.confirmpaylaterRaw(e,t)}async confirmRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling postV1BookingsIdconfirm.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>ee(s)).value()}async confirm(e,t){return this.confirmRaw(e,t)}async submitRequestRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling postV1BookingsTokenRequest.");const n={},r={};r["Content-Type"]="application/json";const o=await this.request({path:"/v1/bookings/{token}/request".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:J(n,D.Snake),body:J(wo(e.requestPayload),D.Snake)},t);return new $e(o)}async submitRequest(e,t){return this.submitRequestRaw(e,t)}async updatePaymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling putV1BookingsIdPaymentMethods.");const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/bookings/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:r,query:J(n,D.Snake),body:J(Ro(e.paymentMethodUpdatePayloadApi),D.Snake)},t);return await new v(o,s=>ee(s)).value()}async updatePaymentMethods(e,t){return this.updatePaymentMethodsRaw(e,t)}},kc={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},Pc={Asc:"asc",Desc:"desc"},Jo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsIdImages.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotels/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return new v(o,s=>s.map(ue)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Do=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelOfferRequestsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>At(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offer_requests",method:"POST",headers:r,query:J(n,D.Snake),body:J(Hr(e.hotelOfferRequestCreateApi),D.Snake)},t);return await new v(o,s=>At(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Io=class extends Q{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new B("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new B("hotelOfferRequestId","Required parameter requestParameters.hotelOfferRequestId was null or undefined when calling getV1HotelOffers.");const n={};e.currency!==void 0&&(n.currency=e.currency),e.endingBefore!==void 0&&(n.ending_before=e.endingBefore),e.filterByPrice!==void 0&&(n.filter_by_price=e.filterByPrice),e.filterByReviewRating!==void 0&&(n.filter_by_review_rating=e.filterByReviewRating),e.filterByStar!==void 0&&(n.filter_by_star=e.filterByStar),e.hotelOfferRequestId!==void 0&&(n.hotel_offer_request_id=e.hotelOfferRequestId),e.hotelRoomOffersLimit!==void 0&&(n.hotel_room_offers_limit=e.hotelRoomOffersLimit),e.includeHotelContentDetails!==void 0&&(n.include_hotel_content_details=e.includeHotelContentDetails),e.lang!==void 0&&(n.lang=e.lang),e.limit!==void 0&&(n.limit=e.limit),e.onlyRecommendedHotelOffers!==void 0&&(n.only_recommended_hotel_offers=e.onlyRecommendedHotelOffers),e.priceHistogramStepCount!==void 0&&(n.price_histogram_step_count=e.priceHistogramStepCount),e.sortBy!==void 0&&(n.sort_by=e.sortBy),e.sortByOrder!==void 0&&(n.sort_by_order=e.sortByOrder),e.startingAfter!==void 0&&(n.starting_after=e.startingAfter);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_offers",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>Yr(s)).value()}async list(e,t,n){return await vt(()=>this.listRaw(e,n),{type:Mt.HOTEL_SEARCH_POLLING,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}},Mc={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},Jc={Asc:"asc",Desc:"desc"},bo=class extends Q{async deleteRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");const n=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:{},query:J({},D.Snake)},t);return new $e(n)}async delete(e,t){return this.deleteRaw(e,t)}async updateRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");const n={},r={};r["Content-Type"]="application/json";const o=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:J(n,D.Snake),body:J(_o(e.hotelRoomingListGuestsUpdateApi),D.Snake)},t);return await new v(o,s=>be(s)).value()}async update(e,t){return this.updateRaw(e,t)}async createRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");const n={},r={};r["Content-Type"]="application/json";const o=await this.request({path:"/v1/hotel_rooming_list_guests/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:J(n,D.Snake),body:J(go(e.hotelRoomingListGuestsCreateApi),D.Snake)},t);return await new v(o,s=>be(s)).value()}async create(e,t){return this.createRaw(e,t)}},Ho=class extends Q{async listRaw(e,t){if(e.token===null||e.token===void 0)throw new B("token","Required parameter requestParameters.token was null or undefined when calling getV1HotelRoomingListsToken.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r=await this.request({path:"/v1/hotel_rooming_lists/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"GET",headers:{},query:J(n,D.Snake)},t);return new v(r,o=>o.map(ct)).value()}async list(e,t){return this.listRaw(e,t)}},Fo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOffersIdImages.");const n={};e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>J(s,D.Camel)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Eo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelRoomOfferRequestsId.");const n={},r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>St(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offer_requests",method:"POST",headers:r,query:J(n,D.Snake),body:J(jr(e.hotelRoomOfferRequestCreateApi),D.Snake)},t);return await new v(o,s=>St(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Lo=class extends Q{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new B("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new B("hotelRoomOfferRequestId","Required parameter requestParameters.hotelRoomOfferRequestId was null or undefined when calling getV1HotelRoomOffers.");const n={};e.currency!==void 0&&(n.currency=e.currency),e.hotelRoomOfferRequestId!==void 0&&(n.hotel_room_offer_request_id=e.hotelRoomOfferRequestId),e.lang!==void 0&&(n.lang=e.lang),e.limit!==void 0&&(n.limit=e.limit);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers",method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>oo(s)).value()}async list(e,t,n){return await vt(()=>this.listRaw(e,n),{type:Mt.HOTEL_ROOM_OFFERS,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}async createRaw(e,t){const n={},r={};r["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotel_room_offers",method:"POST",headers:r,query:J(n,D.Snake),body:J(po(e.hotelRoomOffersCreateApi),D.Snake)},t);return await new v(o,s=>Vr(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Bo=class extends Q{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new B("id","Required parameter requestParameters.id was null or undefined when calling getV1HotelsId.");const n={};e.event!==void 0&&(n.event=e.event),e.lang!==void 0&&(n.lang=e.lang);const r={};this.configuration&&this.configuration.apiKey&&(r["x-api-key"]=this.configuration.apiKey("x-api-key"));const o=await this.request({path:"/v1/hotels/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:J(n,D.Snake)},t);return await new v(o,s=>Nr(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},vo=class extends Ge{documentationUrl;status;title;type;constructor(e){super(e.response,e.body?.message??`Request failed with status ${e.status}`),this.status=e.status,this.type=e.body?.type,this.title=e.body?.title,this.documentationUrl=e.body?.documentationUrl}},Dc=class{async post(e){const{response:t}=e;if(t.ok)return;let n;try{n=await t.clone().json()}catch{n=void 0}throw new vo({body:n,response:t,status:t.status})}},Go=e=>({bookingPolicies:new Po(e),bookings:new Mo(e),hotelImages:new Jo(e),hotelOfferRequests:new Do(e),hotelOffers:new Io(e),hotelRoomingListGuests:new bo(e),hotelRoomingLists:new Ho(e),hotelRoomOfferImages:new Fo(e),hotelRoomOfferRequests:new Eo(e),hotelRoomOffers:new Lo(e),hotels:new Bo(e)});function Ic(e){switch(e){case ce.CiCd:return"AUTH_TOKEN_CICD";case ce.Local:return"AUTH_TOKEN_LOCAL";case ce.Production:return"AUTH_TOKEN";case ce.Sandbox:return"AUTH_TOKEN_SANDBOX";case ce.Staging:return"AUTH_TOKEN_STAGING";case void 0:default:return"AUTH_TOKEN"}}function Uo(e){return!!(typeof document<"u"&&document?.cookie&&document.cookie.split(";").find(t=>t.includes(Ic(e))))}var bc=class{config;constructor(e){this.config=e}async pre(e){return e.init.mode="cors",Uo(this.config.apiEnvironment)&&(e.init.credentials="include"),e}},Hc=class{config;constructor(e){this.config=e}async pre(e){return Uo(this.config.apiEnvironment)&&(e.init.headers={...e.init.headers,"x-auth-type":"user"}),e}},Fc=class{config;apiVersionsToClient;constructor(e){if(this.config=e,!e.apiVersion||!Object.values(Pt).includes(e.apiVersion))throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Pt))}`);let t={"x-api-key":this.config.apiKey};this.config.optionalHeaders&&(t={...t,...this.config.optionalHeaders});const n=this.config.apiEnvironment;let r=this.config.apiBaseUrl??Vo[n];!this.config.apiBaseUrl&&n===ce.Local&&(r="http://127.0.0.1:3001");const o=new Ue({basePath:r,fetchApi:Wo.default,headers:t,middleware:[new bc(this.config),new Hc(this.config),new Dc]});this.apiVersionsToClient={v1:Go(o)}}get bookingPolicies(){return this.apiVersionsToClient[this.config.apiVersion].bookingPolicies}get bookings(){return this.apiVersionsToClient[this.config.apiVersion].bookings}get hotelImages(){return this.apiVersionsToClient[this.config.apiVersion].hotelImages}get hotelOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelOfferRequests}get hotelOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelOffers}get hotelRoomingListGuests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingListGuests}get hotelRoomingLists(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomingLists}get hotelRoomOfferImages(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferImages}get hotelRoomOfferRequests(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOfferRequests}get hotelRoomOffers(){return this.apiVersionsToClient[this.config.apiVersion].hotelRoomOffers}get hotels(){return this.apiVersionsToClient[this.config.apiVersion].hotels}};i.AllowedPaymentMethodApiFromJSON=ei,i.AllowedPaymentMethodApiFromJSONTyped=ti,i.AllowedPaymentMethodApiToJSON=ii,i.AllowedPaymentMethodApiToJSONTyped=ud,i.AllowedPaymentMethodCouponApiFromJSON=xa,i.AllowedPaymentMethodCouponApiFromJSONTyped=Ye,i.AllowedPaymentMethodCouponApiNameEnum=Xa,i.AllowedPaymentMethodCouponApiToJSON=qt,i.AllowedPaymentMethodCouponApiToJSONTyped=$t,i.AllowedPaymentMethodCreditCardApiFromJSON=td,i.AllowedPaymentMethodCreditCardApiFromJSONTyped=Ke,i.AllowedPaymentMethodCreditCardApiNameEnum=ja,i.AllowedPaymentMethodCreditCardApiToJSON=Yt,i.AllowedPaymentMethodCreditCardApiToJSONTyped=Kt,i.AllowedPaymentMethodDepositAccountApiFromJSON=rd,i.AllowedPaymentMethodDepositAccountApiFromJSONTyped=ze,i.AllowedPaymentMethodDepositAccountApiNameEnum=id,i.AllowedPaymentMethodDepositAccountApiToJSON=zt,i.AllowedPaymentMethodDepositAccountApiToJSONTyped=Vt,i.AllowedPaymentMethodPayLaterApiFromJSON=cd,i.AllowedPaymentMethodPayLaterApiFromJSONTyped=Ve,i.AllowedPaymentMethodPayLaterApiNameEnum=dd,i.AllowedPaymentMethodPayLaterApiPayloadFromJSON=Zt,i.AllowedPaymentMethodPayLaterApiPayloadFromJSONTyped=Wt,i.AllowedPaymentMethodPayLaterApiPayloadStatusEnum=od,i.AllowedPaymentMethodPayLaterApiPayloadToJSON=Xt,i.AllowedPaymentMethodPayLaterApiPayloadToJSONTyped=Qt,i.AllowedPaymentMethodPayLaterApiToJSON=xt,i.AllowedPaymentMethodPayLaterApiToJSONTyped=jt,i.AmenitiesApiFromJSON=Ze,i.AmenitiesApiFromJSONTyped=ni,i.AmenitiesApiToJSON=We,i.AmenitiesApiToJSONTyped=ri,i.ApiClient=Fc,i.ApiError=vo,i.BASE_PATH=Gt,i.BaseAPI=Q,i.BedApiFromJSON=md,i.BedApiFromJSONTyped=oi,i.BedApiToJSON=pd,i.BedApiToJSONTyped=ai,i.BlobApiResponse=Wa,i.BookingApiFromJSON=ee,i.BookingApiFromJSONTyped=Pn,i.BookingApiPayLaterEnum=Os,i.BookingApiStatusEnum=As,i.BookingApiToJSON=Mn,i.BookingApiToJSONTyped=Jn,i.BookingCreateApiFromJSON=Js,i.BookingCreateApiFromJSONTyped=Qn,i.BookingCreateApiGuestsListInnerFromJSON=vn,i.BookingCreateApiGuestsListInnerFromJSONTyped=Gn,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSON=Fn,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped=En,i.BookingCreateApiGuestsListInnerGuestsInnerToJSON=Ln,i.BookingCreateApiGuestsListInnerGuestsInnerToJSONTyped=Bn,i.BookingCreateApiGuestsListInnerToJSON=Un,i.BookingCreateApiGuestsListInnerToJSONTyped=qn,i.BookingCreateApiToJSON=xn,i.BookingCreateApiToJSONTyped=jn,i.BookingPolicies=Po,i.BookingPoliciesApiFromJSON=lt,i.BookingPoliciesApiFromJSONTyped=er,i.BookingPoliciesApiToJSON=Is,i.BookingPoliciesApiToJSONTyped=tr,i.BookingPoliciesCreateApiFromJSON=Hs,i.BookingPoliciesCreateApiFromJSONTyped=ir,i.BookingPoliciesCreateApiToJSON=nr,i.BookingPoliciesCreateApiToJSONTyped=rr,i.Bookings=Mo,i.BookingsApiResponseFromJSON=cr,i.BookingsApiResponseFromJSONTyped=ur,i.BookingsApiResponseToJSON=Ls,i.BookingsApiResponseToJSONTyped=fr,i.BookingsSortByEnum=kc,i.BookingsSortByOrderEnum=Pc,i.BreakfastOption=Ce,i.BreakfastOptionFromJSON=yi,i.BreakfastOptionFromJSONTyped=gi,i.BreakfastOptionToJSON=Sd,i.BreakfastOptionToJSONTyped=Rd,i.COLLECTION_FORMATS=za,i.CancellationPolicyApiFromJSON=Se,i.CancellationPolicyApiFromJSONTyped=di,i.CancellationPolicyApiToJSON=Re,i.CancellationPolicyApiToJSONTyped=si,i.Configuration=Ue,i.ContactPersonApiFromJSON=et,i.ContactPersonApiFromJSONTyped=Di,i.ContactPersonApiSalutationEnum=qd,i.ContactPersonApiToJSON=tt,i.ContactPersonApiToJSONTyped=Ii,i.ContactPersonOrganizationApiFromJSON=ki,i.ContactPersonOrganizationApiFromJSONTyped=Pi,i.ContactPersonOrganizationApiToJSON=Mi,i.ContactPersonOrganizationApiToJSONTyped=Ji,i.CountryIso2Code=Me,i.CountryIso2CodeFromJSON=Je,i.CountryIso2CodeFromJSONTyped=wi,i.CountryIso2CodeToJSON=vd,i.CountryIso2CodeToJSONTyped=Gd,i.CurrencyClient=we,i.CurrencyClientFromJSON=te,i.CurrencyClientFromJSONTyped=_i,i.CurrencyClientToJSON=Pd,i.CurrencyClientToJSONTyped=Md,i.ErrorApiResponseFromJSON=Gs,i.ErrorApiResponseFromJSONTyped=lr,i.ErrorApiResponseToJSON=Us,i.ErrorApiResponseToJSONTyped=mr,i.ErrorApiResponseTypeEnum=Bs,i.EventApiFromJSON=De,i.EventApiFromJSONTyped=yn,i.EventApiToJSON=Ie,i.EventApiToJSONTyped=gn,i.EventMetadataApiFromJSON=me,i.EventMetadataApiFromJSONTyped=$n,i.EventMetadataApiToJSON=pe,i.EventMetadataApiToJSONTyped=Yn,i.HotelApiFromJSON=Nr,i.HotelApiFromJSONTyped=Cr,i.HotelApiImagesFromJSON=ht,i.HotelApiImagesFromJSONTyped=yr,i.HotelApiImagesToJSON=yt,i.HotelApiImagesToJSONTyped=gr,i.HotelApiToJSON=Vs,i.HotelApiToJSONTyped=wr,i.HotelImageApiFromJSON=ue,i.HotelImageApiFromJSONTyped=ui,i.HotelImageApiToJSON=ge,i.HotelImageApiToJSONTyped=fi,i.HotelImages=Jo,i.HotelOfferApiFromJSON=kr,i.HotelOfferApiFromJSONTyped=Pr,i.HotelOfferApiToJSON=Mr,i.HotelOfferApiToJSONTyped=Jr,i.HotelOfferRequestApiResponseFromJSON=At,i.HotelOfferRequestApiResponseFromJSONTyped=Dr,i.HotelOfferRequestApiResponseToJSON=Xs,i.HotelOfferRequestApiResponseToJSONTyped=Ir,i.HotelOfferRequestCreateApiFromJSON=xs,i.HotelOfferRequestCreateApiFromJSONTyped=br,i.HotelOfferRequestCreateApiToJSON=Hr,i.HotelOfferRequestCreateApiToJSONTyped=Fr,i.HotelOfferRequests=Do,i.HotelOffers=Io,i.HotelOffersApiResponseFromJSON=Yr,i.HotelOffersApiResponseFromJSONTyped=Kr,i.HotelOffersApiResponseToJSON=oc,i.HotelOffersApiResponseToJSONTyped=zr,i.HotelOffersDataApiResponseFromJSON=Er,i.HotelOffersDataApiResponseFromJSONTyped=Lr,i.HotelOffersDataApiResponseToJSON=Br,i.HotelOffersDataApiResponseToJSONTyped=vr,i.HotelOffersSortByEnum=Mc,i.HotelOffersSortByOrderEnum=Jc,i.HotelReviewRatingApiFromJSON=mt,i.HotelReviewRatingApiFromJSONTyped=pr,i.HotelReviewRatingApiToJSON=pt,i.HotelReviewRatingApiToJSONTyped=hr,i.HotelRoomOfferApiFromJSON=fe,i.HotelRoomOfferApiFromJSONTyped=Ri,i.HotelRoomOfferApiHotelRoomsInnerFromJSON=li,i.HotelRoomOfferApiHotelRoomsInnerFromJSONTyped=mi,i.HotelRoomOfferApiHotelRoomsInnerToJSON=pi,i.HotelRoomOfferApiHotelRoomsInnerToJSONTyped=hi,i.HotelRoomOfferApiPackageTypeEnum=Dd,i.HotelRoomOfferApiResponseFromJSON=Vr,i.HotelRoomOfferApiResponseFromJSONTyped=Zr,i.HotelRoomOfferApiResponseToJSON=dc,i.HotelRoomOfferApiResponseToJSONTyped=Wr,i.HotelRoomOfferApiStayTaxesInfoEnum=Id,i.HotelRoomOfferApiToJSON=le,i.HotelRoomOfferApiToJSONTyped=Ni,i.HotelRoomOfferApiTypeEnum=bd,i.HotelRoomOfferImages=Fo,i.HotelRoomOfferRequestApiResponseFromJSON=St,i.HotelRoomOfferRequestApiResponseFromJSONTyped=Xr,i.HotelRoomOfferRequestApiResponseToJSON=cc,i.HotelRoomOfferRequestApiResponseToJSONTyped=Qr,i.HotelRoomOfferRequestCreateApiFromJSON=fc,i.HotelRoomOfferRequestCreateApiFromJSONTyped=xr,i.HotelRoomOfferRequestCreateApiToJSON=jr,i.HotelRoomOfferRequestCreateApiToJSONTyped=eo,i.HotelRoomOfferRequests=Eo,i.HotelRoomOffers=Lo,i.HotelRoomOffersApiResponseFromJSON=oo,i.HotelRoomOffersApiResponseFromJSONTyped=ao,i.HotelRoomOffersApiResponseToJSON=pc,i.HotelRoomOffersApiResponseToJSONTyped=so,i.HotelRoomOffersCreateApiFromJSON=gc,i.HotelRoomOffersCreateApiFromJSONTyped=mo,i.HotelRoomOffersCreateApiToJSON=po,i.HotelRoomOffersCreateApiToJSONTyped=ho,i.HotelRoomOffersDataApiResponseFromJSON=to,i.HotelRoomOffersDataApiResponseFromJSONTyped=io,i.HotelRoomOffersDataApiResponseToJSON=no,i.HotelRoomOffersDataApiResponseToJSONTyped=ro,i.HotelRoomOffersDataCreateApiFromJSON=co,i.HotelRoomOffersDataCreateApiFromJSONTyped=uo,i.HotelRoomOffersDataCreateApiToJSON=fo,i.HotelRoomOffersDataCreateApiToJSONTyped=lo,i.HotelRoomingListApiFromJSON=ct,i.HotelRoomingListApiFromJSONTyped=Cn,i.HotelRoomingListApiHotelRoomFromJSON=On,i.HotelRoomingListApiHotelRoomFromJSONTyped=An,i.HotelRoomingListApiHotelRoomToJSON=_n,i.HotelRoomingListApiHotelRoomToJSONTyped=Tn,i.HotelRoomingListApiToJSON=wn,i.HotelRoomingListApiToJSONTyped=kn,i.HotelRoomingListGuestApiFromJSON=be,i.HotelRoomingListGuestApiFromJSONTyped=Sn,i.HotelRoomingListGuestApiToJSON=Rn,i.HotelRoomingListGuestApiToJSONTyped=Nn,i.HotelRoomingListGuests=bo,i.HotelRoomingListGuestsCreateApiFromJSON=Ac,i.HotelRoomingListGuestsCreateApiFromJSONTyped=yo,i.HotelRoomingListGuestsCreateApiToJSON=go,i.HotelRoomingListGuestsCreateApiToJSONTyped=Oo,i.HotelRoomingListGuestsUpdateApiFromJSON=Tc,i.HotelRoomingListGuestsUpdateApiFromJSONTyped=Ao,i.HotelRoomingListGuestsUpdateApiToJSON=_o,i.HotelRoomingListGuestsUpdateApiToJSONTyped=To,i.HotelRoomingLists=Ho,i.Hotels=Bo,i.InsuranceApiFromJSON=an,i.InsuranceApiFromJSONTyped=dn,i.InsuranceApiStatusEnum=ss,i.InsuranceApiToJSON=sn,i.InsuranceApiToJSONTyped=cn,i.InvoiceApiFromJSON=un,i.InvoiceApiFromJSONTyped=fn,i.InvoiceApiToJSON=ln,i.InvoiceApiToJSONTyped=mn,i.InvoiceApiTypeEnum=us,i.JSONApiResponse=v,i.Locale=ke,i.LocaleFromJSON=Pe,i.LocaleFromJSONTyped=Ci,i.LocaleToJSON=Ed,i.LocaleToJSONTyped=Ld,i.MetaPollingResponseApiFromJSON=_t,i.MetaPollingResponseApiFromJSONTyped=qr,i.MetaPollingResponseApiToJSON=Tt,i.MetaPollingResponseApiToJSONTyped=$r,i.MetaResponseApiFromJSON=or,i.MetaResponseApiFromJSONTyped=ar,i.MetaResponseApiToJSON=dr,i.MetaResponseApiToJSONTyped=sr,i.OrderAddonFromJSON=dt,i.OrderAddonFromJSONTyped=pn,i.OrderAddonSelectionFromJSON=Dn,i.OrderAddonSelectionFromJSONTyped=In,i.OrderAddonSelectionToJSON=bn,i.OrderAddonSelectionToJSONTyped=Hn,i.OrderAddonSelectionTypeEnum=Ts,i.OrderAddonToJSON=st,i.OrderAddonToJSONTyped=hn,i.OrderAddonTypeEnum=ls,i.PaymentMethodApiFromJSON=rn,i.PaymentMethodApiFromJSONTyped=on,i.PaymentMethodApiToJSON=at,i.PaymentMethodApiToJSONTyped=ds,i.PaymentMethodCouponApiFromJSON=Vd,i.PaymentMethodCouponApiFromJSONTyped=it,i.PaymentMethodCouponApiNameEnum=Kd,i.PaymentMethodCouponApiPayloadFromJSON=bi,i.PaymentMethodCouponApiPayloadFromJSONTyped=Hi,i.PaymentMethodCouponApiPayloadToJSON=Fi,i.PaymentMethodCouponApiPayloadToJSONTyped=Ei,i.PaymentMethodCouponApiToJSON=Li,i.PaymentMethodCouponApiToJSONTyped=Bi,i.PaymentMethodCreditCardApiFromJSON=Qd,i.PaymentMethodCreditCardApiFromJSONTyped=nt,i.PaymentMethodCreditCardApiNameEnum=Wd,i.PaymentMethodCreditCardApiPayloadFromJSON=vi,i.PaymentMethodCreditCardApiPayloadFromJSONTyped=Gi,i.PaymentMethodCreditCardApiPayloadToJSON=Ui,i.PaymentMethodCreditCardApiPayloadToJSONTyped=qi,i.PaymentMethodCreditCardApiToJSON=$i,i.PaymentMethodCreditCardApiToJSONTyped=Yi,i.PaymentMethodDepositAccountApiFromJSON=ts,i.PaymentMethodDepositAccountApiFromJSONTyped=rt,i.PaymentMethodDepositAccountApiNameEnum=jd,i.PaymentMethodDepositAccountApiPayloadFromJSON=Ki,i.PaymentMethodDepositAccountApiPayloadFromJSONTyped=zi,i.PaymentMethodDepositAccountApiPayloadToJSON=Vi,i.PaymentMethodDepositAccountApiPayloadToJSONTyped=Zi,i.PaymentMethodDepositAccountApiToJSON=Wi,i.PaymentMethodDepositAccountApiToJSONTyped=Xi,i.PaymentMethodPayLaterApiFromJSON=as,i.PaymentMethodPayLaterApiFromJSONTyped=ot,i.PaymentMethodPayLaterApiNameEnum=rs,i.PaymentMethodPayLaterApiPayloadFromJSON=Qi,i.PaymentMethodPayLaterApiPayloadFromJSONTyped=xi,i.PaymentMethodPayLaterApiPayloadStatusEnum=is,i.PaymentMethodPayLaterApiPayloadToJSON=ji,i.PaymentMethodPayLaterApiPayloadToJSONTyped=en,i.PaymentMethodPayLaterApiToJSON=tn,i.PaymentMethodPayLaterApiToJSONTyped=nn,i.PaymentMethodRequestApiFromJSON=ut,i.PaymentMethodRequestApiFromJSONTyped=Wn,i.PaymentMethodRequestApiNameEnum=ks,i.PaymentMethodRequestApiToJSON=ft,i.PaymentMethodRequestApiToJSONTyped=Xn,i.PaymentMethodRequestPayloadApiFromJSON=Kn,i.PaymentMethodRequestPayloadApiFromJSONTyped=zn,i.PaymentMethodRequestPayloadApiToJSON=Vn,i.PaymentMethodRequestPayloadApiToJSONTyped=Zn,i.PaymentMethodUpdatePayloadApiFromJSON=Rc,i.PaymentMethodUpdatePayloadApiFromJSONTyped=So,i.PaymentMethodUpdatePayloadApiToJSON=Ro,i.PaymentMethodUpdatePayloadApiToJSONTyped=No,i.PollerStatus=He,i.PollerStatusFromJSON=Gr,i.PollerStatusFromJSONTyped=Ur,i.PollerStatusToJSON=tc,i.PollerStatusToJSONTyped=ic,i.RequestPayloadFromJSON=wc,i.RequestPayloadFromJSONTyped=Co,i.RequestPayloadRequestTypeEnum=Nc,i.RequestPayloadToJSON=wo,i.RequestPayloadToJSONTyped=ko,i.RequiredError=B,i.ResponseError=Ge,i.SourceMarket=Ne,i.SourceMarketFromJSON=ye,i.SourceMarketFromJSONTyped=ci,i.SourceMarketToJSON=gd,i.SourceMarketToJSONTyped=Od,i.TagApiFromJSON=xe,i.TagApiFromJSONTyped=Ti,i.TagApiToJSON=je,i.TagApiToJSONTyped=Si,i.TaxApiFromJSON=Xe,i.TaxApiFromJSONTyped=Oi,i.TaxApiTaxFrequencyEnum=Nd,i.TaxApiTaxModeEnum=Cd,i.TaxApiToJSON=Qe,i.TaxApiToJSONTyped=Ai,i.TextApiResponse=$e,i.TravelTimesApiFromJSON=gt,i.TravelTimesApiFromJSONTyped=Sr,i.TravelTimesApiToJSON=Ot,i.TravelTimesApiToJSONTyped=Rr,i.TravelTimesApiTravelTimesFromJSON=Or,i.TravelTimesApiTravelTimesFromJSONTyped=Ar,i.TravelTimesApiTravelTimesToJSON=_r,i.TravelTimesApiTravelTimesToJSONTyped=Tr,i.VoidApiResponse=Ut,i.canConsumeForm=Za,i.exists=Va,i.instanceOfAllowedPaymentMethodCouponApi=Qa,i.instanceOfAllowedPaymentMethodCreditCardApi=ed,i.instanceOfAllowedPaymentMethodDepositAccountApi=nd,i.instanceOfAllowedPaymentMethodPayLaterApi=sd,i.instanceOfAllowedPaymentMethodPayLaterApiPayload=ad,i.instanceOfAmenitiesApi=fd,i.instanceOfBedApi=ld,i.instanceOfBookingApi=_s,i.instanceOfBookingCreateApi=Ms,i.instanceOfBookingCreateApiGuestsListInner=Ns,i.instanceOfBookingCreateApiGuestsListInnerGuestsInner=Rs,i.instanceOfBookingPoliciesApi=Ds,i.instanceOfBookingPoliciesCreateApi=bs,i.instanceOfBookingsApiResponse=Es,i.instanceOfBreakfastOption=Td,i.instanceOfCancellationPolicyApi=hd,i.instanceOfContactPersonApi=$d,i.instanceOfContactPersonOrganizationApi=Ud,i.instanceOfCountryIso2Code=Bd,i.instanceOfCurrencyClient=kd,i.instanceOfErrorApiResponse=vs,i.instanceOfEventApi=ps,i.instanceOfEventMetadataApi=Cs,i.instanceOfHotelApi=zs,i.instanceOfHotelApiImages=$s,i.instanceOfHotelImageApi=Ad,i.instanceOfHotelOfferApi=Zs,i.instanceOfHotelOfferRequestApiResponse=Ws,i.instanceOfHotelOfferRequestCreateApi=Qs,i.instanceOfHotelOffersApiResponse=rc,i.instanceOfHotelOffersDataApiResponse=js,i.instanceOfHotelReviewRatingApi=qs,i.instanceOfHotelRoomOfferApi=Hd,i.instanceOfHotelRoomOfferApiHotelRoomsInner=_d,i.instanceOfHotelRoomOfferApiResponse=ac,i.instanceOfHotelRoomOfferRequestApiResponse=sc,i.instanceOfHotelRoomOfferRequestCreateApi=uc,i.instanceOfHotelRoomOffersApiResponse=mc,i.instanceOfHotelRoomOffersCreateApi=yc,i.instanceOfHotelRoomOffersDataApiResponse=lc,i.instanceOfHotelRoomOffersDataCreateApi=hc,i.instanceOfHotelRoomingListApi=gs,i.instanceOfHotelRoomingListApiHotelRoom=hs,i.instanceOfHotelRoomingListGuestApi=ys,i.instanceOfHotelRoomingListGuestsCreateApi=Oc,i.instanceOfHotelRoomingListGuestsUpdateApi=_c,i.instanceOfInsuranceApi=cs,i.instanceOfInvoiceApi=fs,i.instanceOfLocale=Fd,i.instanceOfMetaPollingResponseApi=nc,i.instanceOfMetaResponseApi=Fs,i.instanceOfOrderAddon=ms,i.instanceOfOrderAddonSelection=Ss,i.instanceOfPaymentMethodCouponApi=zd,i.instanceOfPaymentMethodCouponApiPayload=Yd,i.instanceOfPaymentMethodCreditCardApi=Xd,i.instanceOfPaymentMethodCreditCardApiPayload=Zd,i.instanceOfPaymentMethodDepositAccountApi=es,i.instanceOfPaymentMethodDepositAccountApiPayload=xd,i.instanceOfPaymentMethodPayLaterApi=os,i.instanceOfPaymentMethodPayLaterApiPayload=ns,i.instanceOfPaymentMethodRequestApi=Ps,i.instanceOfPaymentMethodRequestPayloadApi=ws,i.instanceOfPaymentMethodUpdatePayloadApi=Sc,i.instanceOfPollerStatus=ec,i.instanceOfRequestPayload=Cc,i.instanceOfSourceMarket=yd,i.instanceOfTagApi=Jd,i.instanceOfTaxApi=wd,i.instanceOfTravelTimesApi=Ks,i.instanceOfTravelTimesApiTravelTimes=Ys,i.querystring=qe,i.v1ApiClient=Go});
|