@revolugo/booking-api-client 7.9.2 → 7.10.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist/index.es.js +3275 -3011
  2. package/dist/index.umd.js +2 -2
  3. package/dist/tsconfig.build.tsbuildinfo +1 -0
  4. package/dist/types/booking-api-client.d.ts +12 -11
  5. package/dist/types/booking-api-client.d.ts.map +1 -0
  6. package/dist/types/env.d.ts +1 -0
  7. package/dist/types/env.d.ts.map +1 -0
  8. package/dist/types/index.d.ts +1 -0
  9. package/dist/types/index.d.ts.map +1 -0
  10. package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts +2 -78
  11. package/dist/types/v1/apis/ResourceBookingPoliciesApi.d.ts.map +1 -0
  12. package/dist/types/v1/apis/ResourceBookingsApi.d.ts +19 -237
  13. package/dist/types/v1/apis/ResourceBookingsApi.d.ts.map +1 -0
  14. package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts +2 -42
  15. package/dist/types/v1/apis/ResourceHotelImagesApi.d.ts.map +1 -0
  16. package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts +2 -61
  17. package/dist/types/v1/apis/ResourceHotelOfferRequestsApi.d.ts.map +1 -0
  18. package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts +3 -62
  19. package/dist/types/v1/apis/ResourceHotelOffersApi.d.ts.map +1 -0
  20. package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts +2 -42
  21. package/dist/types/v1/apis/ResourceHotelRoomOfferImagesApi.d.ts.map +1 -0
  22. package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts +2 -61
  23. package/dist/types/v1/apis/ResourceHotelRoomOfferRequestsApi.d.ts.map +1 -0
  24. package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts +3 -65
  25. package/dist/types/v1/apis/ResourceHotelRoomOffersApi.d.ts.map +1 -0
  26. package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts +2 -85
  27. package/dist/types/v1/apis/ResourceHotelRoomingListGuestsApi.d.ts.map +1 -0
  28. package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts +2 -42
  29. package/dist/types/v1/apis/ResourceHotelRoomingListsApi.d.ts.map +1 -0
  30. package/dist/types/v1/apis/ResourceHotelsApi.d.ts +2 -43
  31. package/dist/types/v1/apis/ResourceHotelsApi.d.ts.map +1 -0
  32. package/dist/types/v1/apis/index.d.ts +12 -11
  33. package/dist/types/v1/apis/index.d.ts.map +1 -0
  34. package/dist/types/v1/index.d.ts +1 -0
  35. package/dist/types/v1/index.d.ts.map +1 -0
  36. package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts +15 -10
  37. package/dist/types/v1/models/AllowedPaymentMethodApi.d.ts.map +1 -0
  38. package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts +13 -0
  39. package/dist/types/v1/models/AllowedPaymentMethodCouponApi.d.ts.map +1 -0
  40. package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts +13 -0
  41. package/dist/types/v1/models/AllowedPaymentMethodCreditCardApi.d.ts.map +1 -0
  42. package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts +13 -0
  43. package/dist/types/v1/models/AllowedPaymentMethodDepositAccountApi.d.ts.map +1 -0
  44. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts +15 -0
  45. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApi.d.ts.map +1 -0
  46. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts +15 -0
  47. package/dist/types/v1/models/AllowedPaymentMethodPayLaterApiPayload.d.ts.map +1 -0
  48. package/dist/types/v1/models/AmenitiesApi.d.ts +4 -241
  49. package/dist/types/v1/models/AmenitiesApi.d.ts.map +1 -0
  50. package/dist/types/v1/models/BedApi.d.ts +4 -36
  51. package/dist/types/v1/models/BedApi.d.ts.map +1 -0
  52. package/dist/types/v1/models/BookingApi.d.ts +23 -218
  53. package/dist/types/v1/models/BookingApi.d.ts.map +1 -0
  54. package/dist/types/v1/models/BookingCreateApi.d.ts +9 -43
  55. package/dist/types/v1/models/BookingCreateApi.d.ts.map +1 -0
  56. package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts +5 -21
  57. package/dist/types/v1/models/BookingCreateApiGuestsListInner.d.ts.map +1 -0
  58. package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts +4 -26
  59. package/dist/types/v1/models/BookingCreateApiGuestsListInnerGuestsInner.d.ts.map +1 -0
  60. package/dist/types/v1/models/BookingPoliciesApi.d.ts +9 -88
  61. package/dist/types/v1/models/BookingPoliciesApi.d.ts.map +1 -0
  62. package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts +5 -45
  63. package/dist/types/v1/models/BookingPoliciesCreateApi.d.ts.map +1 -0
  64. package/dist/types/v1/models/BookingsApiResponse.d.ts +6 -22
  65. package/dist/types/v1/models/BookingsApiResponse.d.ts.map +1 -0
  66. package/dist/types/v1/models/BreakfastOption.d.ts +12 -0
  67. package/dist/types/v1/models/BreakfastOption.d.ts.map +1 -0
  68. package/dist/types/v1/models/CancellationPolicyApi.d.ts +4 -36
  69. package/dist/types/v1/models/CancellationPolicyApi.d.ts.map +1 -0
  70. package/dist/types/v1/models/ContactPersonApi.d.ts +10 -89
  71. package/dist/types/v1/models/ContactPersonApi.d.ts.map +1 -0
  72. package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts +6 -47
  73. package/dist/types/v1/models/ContactPersonOrganizationApi.d.ts.map +1 -0
  74. package/dist/types/v1/models/CountryIso2Code.d.ts +3 -15
  75. package/dist/types/v1/models/CountryIso2Code.d.ts.map +1 -0
  76. package/dist/types/v1/models/CurrencyClient.d.ts +3 -16
  77. package/dist/types/v1/models/CurrencyClient.d.ts.map +1 -0
  78. package/dist/types/v1/models/ErrorApiResponse.d.ts +4 -49
  79. package/dist/types/v1/models/ErrorApiResponse.d.ts.map +1 -0
  80. package/dist/types/v1/models/EventApi.d.ts +4 -31
  81. package/dist/types/v1/models/EventApi.d.ts.map +1 -0
  82. package/dist/types/v1/models/EventMetadataApi.d.ts +4 -51
  83. package/dist/types/v1/models/EventMetadataApi.d.ts.map +1 -0
  84. package/dist/types/v1/models/HotelApi.d.ts +11 -167
  85. package/dist/types/v1/models/HotelApi.d.ts.map +1 -0
  86. package/dist/types/v1/models/HotelApiImages.d.ts +4 -55
  87. package/dist/types/v1/models/HotelApiImages.d.ts.map +1 -0
  88. package/dist/types/v1/models/HotelImageApi.d.ts +4 -56
  89. package/dist/types/v1/models/HotelImageApi.d.ts.map +1 -0
  90. package/dist/types/v1/models/HotelOfferApi.d.ts +13 -181
  91. package/dist/types/v1/models/HotelOfferApi.d.ts.map +1 -0
  92. package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts +6 -78
  93. package/dist/types/v1/models/HotelOfferRequestApiResponse.d.ts.map +1 -0
  94. package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts +5 -64
  95. package/dist/types/v1/models/HotelOfferRequestCreateApi.d.ts.map +1 -0
  96. package/dist/types/v1/models/HotelOffersApiResponse.d.ts +6 -27
  97. package/dist/types/v1/models/HotelOffersApiResponse.d.ts.map +1 -0
  98. package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts +5 -36
  99. package/dist/types/v1/models/HotelOffersApiResponseMeta.d.ts.map +1 -0
  100. package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts +6 -57
  101. package/dist/types/v1/models/HotelOffersDataApiResponse.d.ts.map +1 -0
  102. package/dist/types/v1/models/HotelReviewRatingApi.d.ts +4 -31
  103. package/dist/types/v1/models/HotelReviewRatingApi.d.ts.map +1 -0
  104. package/dist/types/v1/models/HotelRoomApi.d.ts +6 -101
  105. package/dist/types/v1/models/HotelRoomApi.d.ts.map +1 -0
  106. package/dist/types/v1/models/HotelRoomOfferApi.d.ts +13 -154
  107. package/dist/types/v1/models/HotelRoomOfferApi.d.ts.map +1 -0
  108. package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts +25 -0
  109. package/dist/types/v1/models/HotelRoomOfferApiHotelRoomsInner.d.ts.map +1 -0
  110. package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts +6 -47
  111. package/dist/types/v1/models/HotelRoomOfferApiResponse.d.ts.map +1 -0
  112. package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts +6 -62
  113. package/dist/types/v1/models/HotelRoomOfferRequestApiResponse.d.ts.map +1 -0
  114. package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts +5 -46
  115. package/dist/types/v1/models/HotelRoomOfferRequestCreateApi.d.ts.map +1 -0
  116. package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts +6 -27
  117. package/dist/types/v1/models/HotelRoomOffersApiResponse.d.ts.map +1 -0
  118. package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts +7 -52
  119. package/dist/types/v1/models/HotelRoomOffersCreateApi.d.ts.map +1 -0
  120. package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts +6 -52
  121. package/dist/types/v1/models/HotelRoomOffersDataApiResponse.d.ts.map +1 -0
  122. package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts +4 -36
  123. package/dist/types/v1/models/HotelRoomOffersDataCreateApi.d.ts.map +1 -0
  124. package/dist/types/v1/models/HotelRoomingListApi.d.ts +7 -38
  125. package/dist/types/v1/models/HotelRoomingListApi.d.ts.map +1 -0
  126. package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts +4 -31
  127. package/dist/types/v1/models/HotelRoomingListGuestApi.d.ts.map +1 -0
  128. package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts +4 -31
  129. package/dist/types/v1/models/HotelRoomingListGuestsCreateApi.d.ts.map +1 -0
  130. package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts +4 -26
  131. package/dist/types/v1/models/HotelRoomingListGuestsUpdateApi.d.ts.map +1 -0
  132. package/dist/types/v1/models/InvoiceApi.d.ts +4 -34
  133. package/dist/types/v1/models/InvoiceApi.d.ts.map +1 -0
  134. package/dist/types/v1/models/Locale.d.ts +3 -15
  135. package/dist/types/v1/models/Locale.d.ts.map +1 -0
  136. package/dist/types/v1/models/MetaPollingResponseApi.d.ts +5 -36
  137. package/dist/types/v1/models/MetaPollingResponseApi.d.ts.map +1 -0
  138. package/dist/types/v1/models/MetaResponseApi.d.ts +4 -41
  139. package/dist/types/v1/models/MetaResponseApi.d.ts.map +1 -0
  140. package/dist/types/v1/models/OrderAddon.d.ts +15 -0
  141. package/dist/types/v1/models/OrderAddon.d.ts.map +1 -0
  142. package/dist/types/v1/models/OrderAddonSelection.d.ts +13 -0
  143. package/dist/types/v1/models/OrderAddonSelection.d.ts.map +1 -0
  144. package/dist/types/v1/models/PaymentMethodApi.d.ts +15 -10
  145. package/dist/types/v1/models/PaymentMethodApi.d.ts.map +1 -0
  146. package/dist/types/v1/models/PaymentMethodCouponApi.d.ts +15 -0
  147. package/dist/types/v1/models/PaymentMethodCouponApi.d.ts.map +1 -0
  148. package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts +11 -0
  149. package/dist/types/v1/models/PaymentMethodCouponApiPayload.d.ts.map +1 -0
  150. package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts +15 -0
  151. package/dist/types/v1/models/PaymentMethodCreditCardApi.d.ts.map +1 -0
  152. package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts +11 -0
  153. package/dist/types/v1/models/PaymentMethodCreditCardApiPayload.d.ts.map +1 -0
  154. package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts +15 -0
  155. package/dist/types/v1/models/PaymentMethodDepositAccountApi.d.ts.map +1 -0
  156. package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts +11 -0
  157. package/dist/types/v1/models/PaymentMethodDepositAccountApiPayload.d.ts.map +1 -0
  158. package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts +15 -0
  159. package/dist/types/v1/models/PaymentMethodPayLaterApi.d.ts.map +1 -0
  160. package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts +18 -0
  161. package/dist/types/v1/models/PaymentMethodPayLaterApiPayload.d.ts.map +1 -0
  162. package/dist/types/v1/models/PaymentMethodRequestApi.d.ts +5 -24
  163. package/dist/types/v1/models/PaymentMethodRequestApi.d.ts.map +1 -0
  164. package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts +4 -26
  165. package/dist/types/v1/models/PaymentMethodRequestPayloadApi.d.ts.map +1 -0
  166. package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts +5 -16
  167. package/dist/types/v1/models/PaymentMethodUpdatePayloadApi.d.ts.map +1 -0
  168. package/dist/types/v1/models/PollerStatus.d.ts +3 -15
  169. package/dist/types/v1/models/PollerStatus.d.ts.map +1 -0
  170. package/dist/types/v1/models/RequestPayload.d.ts +22 -0
  171. package/dist/types/v1/models/RequestPayload.d.ts.map +1 -0
  172. package/dist/types/v1/models/SourceMarket.d.ts +3 -15
  173. package/dist/types/v1/models/SourceMarket.d.ts.map +1 -0
  174. package/dist/types/v1/models/TagApi.d.ts +4 -46
  175. package/dist/types/v1/models/TagApi.d.ts.map +1 -0
  176. package/dist/types/v1/models/TaxApi.d.ts +8 -61
  177. package/dist/types/v1/models/TaxApi.d.ts.map +1 -0
  178. package/dist/types/v1/models/TravelTimesApi.d.ts +5 -26
  179. package/dist/types/v1/models/TravelTimesApi.d.ts.map +1 -0
  180. package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts +4 -36
  181. package/dist/types/v1/models/TravelTimesApiTravelTimes.d.ts.map +1 -0
  182. package/dist/types/v1/models/index.d.ts +74 -74
  183. package/dist/types/v1/models/index.d.ts.map +1 -0
  184. package/dist/types/v1/runtime.d.ts +1 -19
  185. package/dist/types/v1/runtime.d.ts.map +1 -0
  186. package/package.json +11 -11
  187. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf.d.ts +0 -38
  188. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf1.d.ts +0 -38
  189. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf2.d.ts +0 -38
  190. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3.d.ts +0 -34
  191. package/dist/types/v1/models/AllowedPaymentMethodApiOneOf3Payload.d.ts +0 -40
  192. package/dist/types/v1/models/HotelOfferApiAllOf.d.ts +0 -37
  193. package/dist/types/v1/models/HotelOffersApiResponseMetaAllOf.d.ts +0 -31
  194. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf.d.ts +0 -57
  195. package/dist/types/v1/models/HotelRoomOfferRequestApiResponseAllOf1.d.ts +0 -33
  196. package/dist/types/v1/models/HotelRoomingListApiHotelRoom.d.ts +0 -120
  197. package/dist/types/v1/models/MetaPollingResponseApiAllOf.d.ts +0 -21
  198. package/dist/types/v1/models/PaymentMethodApiOneOf.d.ts +0 -34
  199. package/dist/types/v1/models/PaymentMethodApiOneOf1.d.ts +0 -34
  200. package/dist/types/v1/models/PaymentMethodApiOneOf1Payload.d.ts +0 -43
  201. package/dist/types/v1/models/PaymentMethodApiOneOf2.d.ts +0 -34
  202. package/dist/types/v1/models/PaymentMethodApiOneOf2Payload.d.ts +0 -43
  203. package/dist/types/v1/models/PaymentMethodApiOneOf3.d.ts +0 -34
  204. package/dist/types/v1/models/PaymentMethodApiOneOf3Payload.d.ts +0 -58
  205. package/dist/types/v1/models/PaymentMethodApiOneOfPayload.d.ts +0 -43
package/dist/index.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- (function(i,Ae){typeof exports=="object"&&typeof module<"u"?Ae(exports):typeof define=="function"&&define.amd?define(["exports"],Ae):(i=typeof globalThis<"u"?globalThis:i||self,Ae(i["@revolugo/booking-api-client"]={}))})(this,function(i){Object.defineProperty(i,Symbol.toStringTag,{value:"Module"});var Ae=Object.create,yt=Object.defineProperty,Mr=Object.getOwnPropertyDescriptor,Cr=Object.getOwnPropertyNames,Pr=Object.getPrototypeOf,Ir=Object.prototype.hasOwnProperty,Q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Jr=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=Cr(t),s=0,f=a.length,u;s<f;s++)u=a[s],!Ir.call(e,u)&&u!==n&&yt(e,u,{get:(p=>t[p]).bind(null,u),enumerable:!(r=Mr(t,u))||r.enumerable});return e},j=(e,t,n)=>(n=e!=null?Ae(Pr(e)):{},Jr(t||!e||!e.__esModule?yt(n,"default",{value:e,enumerable:!0}):n,e)),Ot=(function(e){return e.V1="v1",e})({}),ie=(function(e){return e.CiCd="CI-CD",e.Local="LOCAL",e.Production="LIVE",e.Sandbox="SANDBOX",e.Staging="STAGING",e})({}),Dr={[ie.CiCd]:"https://booking-api.staging.revolugo.com",[ie.Local]:"http://127.0.0.1:3001",[ie.Production]:"https://booking-api.revolugo.com",[ie.Sandbox]:"https://booking-api.sandbox.revolugo.com",[ie.Staging]:"https://booking-api.staging.revolugo.com"},B=(function(e){return e.de_DE="de-DE",e.en_US="en-US",e.es_ES="es-ES",e.fr_FR="fr-FR",e.it_IT="it-IT",e.nl_NL="nl-NL",e.pt_PT="pt-PT",e})({}),Z=(function(e){return e.DE="de",e.EN="en",e.ES="es",e.FR="fr",e.IT="it",e.NL="nl",e.PT="pt",e})({}),ld={[Z.DE]:B.de_DE,[Z.EN]:B.en_US,[Z.ES]:B.es_ES,[Z.FR]:B.fr_FR,[Z.IT]:B.it_IT,[Z.NL]:B.nl_NL,[Z.PT]:B.pt_PT},md={[B.de_DE]:Z.DE,[B.en_US]:Z.EN,[B.es_ES]:Z.ES,[B.fr_FR]:Z.FR,[B.it_IT]:Z.IT,[B.nl_NL]:Z.NL,[B.pt_PT]:Z.PT},hd={[B.de_DE]:{code:B.de_DE,countryCode:"DE",icon:"🇩🇪",locale:Z.DE,name:"Deutsch"},[B.en_US]:{code:B.en_US,countryCode:"US",icon:"🇺🇸",locale:Z.EN,name:"English"},[B.es_ES]:{code:B.es_ES,countryCode:"ES",icon:"🇪🇸",locale:Z.ES,name:"Español"},[B.fr_FR]:{code:B.fr_FR,countryCode:"FR",icon:"🇫🇷",locale:Z.FR,name:"Français"},[B.it_IT]:{code:B.it_IT,countryCode:"IT",icon:"🇮🇹",locale:Z.IT,name:"Italiano"},[B.nl_NL]:{code:B.nl_NL,countryCode:"NL",icon:"🇳🇱",locale:Z.NL,name:"Nederlands"},[B.pt_PT]:{code:B.pt_PT,countryCode:"PT",icon:"🇵🇹",locale:Z.PT,name:"Português"}},pd=B.fr_FR,gt=(function(e){return e.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",e.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",e})({}),br=Q(((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(f){var u=typeof s<"u"&&s||typeof self<"u"&&self||typeof global<"u"&&global||{},p={searchParams:"URLSearchParams"in u,iterable:"Symbol"in u&&"iterator"in Symbol,blob:"FileReader"in u&&"Blob"in u&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in u,arrayBuffer:"ArrayBuffer"in u};function R(c){return c&&DataView.prototype.isPrototypeOf(c)}if(p.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=ArrayBuffer.isView||function(c){return c&&S.indexOf(Object.prototype.toString.call(c))>-1};function g(c){if(typeof c!="string"&&(c=String(c)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(c)||c==="")throw new TypeError('Invalid character in header field name: "'+c+'"');return c.toLowerCase()}function M(c){return typeof c!="string"&&(c=String(c)),c}function C(c){var d={next:function(){var l=c.shift();return{done:l===void 0,value:l}}};return p.iterable&&(d[Symbol.iterator]=function(){return d}),d}function h(c){this.map={},c instanceof h?c.forEach(function(d,l){this.append(l,d)},this):Array.isArray(c)?c.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):c&&Object.getOwnPropertyNames(c).forEach(function(d){this.append(d,c[d])},this)}h.prototype.append=function(c,d){c=g(c),d=M(d);var l=this.map[c];this.map[c]=l?l+", "+d:d},h.prototype.delete=function(c){delete this.map[g(c)]},h.prototype.get=function(c){return c=g(c),this.has(c)?this.map[c]:null},h.prototype.has=function(c){return this.map.hasOwnProperty(g(c))},h.prototype.set=function(c,d){this.map[g(c)]=M(d)},h.prototype.forEach=function(c,d){for(var l in this.map)this.map.hasOwnProperty(l)&&c.call(d,this.map[l],l,this)},h.prototype.keys=function(){var c=[];return this.forEach(function(d,l){c.push(l)}),C(c)},h.prototype.values=function(){var c=[];return this.forEach(function(d){c.push(d)}),C(c)},h.prototype.entries=function(){var c=[];return this.forEach(function(d,l){c.push([l,d])}),C(c)},p.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function y(c){if(!c._noBody){if(c.bodyUsed)return Promise.reject(new TypeError("Already read"));c.bodyUsed=!0}}function T(c){return new Promise(function(d,l){c.onload=function(){d(c.result)},c.onerror=function(){l(c.error)}})}function k(c){var d=new FileReader,l=T(d);return d.readAsArrayBuffer(c),l}function N(c){var d=new FileReader,l=T(d),m=/charset=([A-Za-z0-9_-]+)/.exec(c.type),A=m?m[1]:"utf-8";return d.readAsText(c,A),l}function v(c){for(var d=new Uint8Array(c),l=new Array(d.length),m=0;m<d.length;m++)l[m]=String.fromCharCode(d[m]);return l.join("")}function D(c){if(c.slice)return c.slice(0);var d=new Uint8Array(c.byteLength);return d.set(new Uint8Array(c)),d.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(c){this.bodyUsed=this.bodyUsed,this._bodyInit=c,c?typeof c=="string"?this._bodyText=c:p.blob&&Blob.prototype.isPrototypeOf(c)?this._bodyBlob=c:p.formData&&FormData.prototype.isPrototypeOf(c)?this._bodyFormData=c:p.searchParams&&URLSearchParams.prototype.isPrototypeOf(c)?this._bodyText=c.toString():p.arrayBuffer&&p.blob&&R(c)?(this._bodyArrayBuffer=D(c.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):p.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(c)||_(c))?this._bodyArrayBuffer=D(c):this._bodyText=c=Object.prototype.toString.call(c):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof c=="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(c)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob&&(this.blob=function(){var c=y(this);if(c)return c;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 c=y(this);return c||(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(k);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var c=y(this);if(c)return c;if(this._bodyBlob)return N(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(v(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(H)}),this.json=function(){return this.text().then(JSON.parse)},this}var q=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function $(c){var d=c.toUpperCase();return q.indexOf(d)>-1?d:c}function L(c,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 l=d.body;if(c instanceof L){if(c.bodyUsed)throw new TypeError("Already read");this.url=c.url,this.credentials=c.credentials,d.headers||(this.headers=new h(c.headers)),this.method=c.method,this.mode=c.mode,this.signal=c.signal,!l&&c._bodyInit!=null&&(l=c._bodyInit,c.bodyUsed=!0)}else this.url=String(c);if(this.credentials=d.credentials||this.credentials||"same-origin",(d.headers||!this.headers)&&(this.headers=new h(d.headers)),this.method=$(d.method||this.method||"GET"),this.mode=d.mode||this.mode||null,this.signal=d.signal||this.signal||(function(){if("AbortController"in u)return new AbortController().signal})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&l)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(l),(this.method==="GET"||this.method==="HEAD")&&(d.cache==="no-store"||d.cache==="no-cache")){var m=/([?&])_=[^&]*/;m.test(this.url)?this.url=this.url.replace(m,"$1_="+new Date().getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+new Date().getTime()}}L.prototype.clone=function(){return new L(this,{body:this._bodyInit})};function H(c){var d=new FormData;return c.trim().split("&").forEach(function(l){if(l){var m=l.split("="),A=m.shift().replace(/\+/g," "),O=m.join("=").replace(/\+/g," ");d.append(decodeURIComponent(A),decodeURIComponent(O))}}),d}function J(c){var d=new h;return c.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(l){return l.indexOf(`
2
- `)===0?l.substr(1,l.length):l}).forEach(function(l){var m=l.split(":"),A=m.shift().trim();if(A){var O=m.join(":").trim();try{d.append(A,O)}catch(P){console.warn("Response "+P.message)}}}),d}E.call(L.prototype);function K(c,d){if(!(this instanceof K))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 h(d.headers),this.url=d.url||"",this._initBody(c)}E.call(K.prototype),K.prototype.clone=function(){return new K(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},K.error=function(){var c=new K(null,{status:200,statusText:""});return c.ok=!1,c.status=0,c.type="error",c};var x=[301,302,303,307,308];K.redirect=function(c,d){if(x.indexOf(d)===-1)throw new RangeError("Invalid status code");return new K(null,{status:d,headers:{location:c}})},f.DOMException=u.DOMException;try{new f.DOMException}catch{f.DOMException=function(d,l){this.message=d,this.name=l,this.stack=Error(d).stack},f.DOMException.prototype=Object.create(Error.prototype),f.DOMException.prototype.constructor=f.DOMException}function w(c,d){return new Promise(function(l,m){var A=new L(c,d);if(A.signal&&A.signal.aborted)return m(new f.DOMException("Aborted","AbortError"));var O=new XMLHttpRequest;function P(){O.abort()}O.onload=function(){var F={statusText:O.statusText,headers:J(O.getAllResponseHeaders()||"")};A.url.indexOf("file://")===0&&(O.status<200||O.status>599)?F.status=200:F.status=O.status,F.url="responseURL"in O?O.responseURL:F.headers.get("X-Request-URL");var V="response"in O?O.response:O.responseText;setTimeout(function(){l(new K(V,F))},0)},O.onerror=function(){setTimeout(function(){m(new TypeError("Network request failed"))},0)},O.ontimeout=function(){setTimeout(function(){m(new TypeError("Network request timed out"))},0)},O.onabort=function(){setTimeout(function(){m(new f.DOMException("Aborted","AbortError"))},0)};function Y(F){try{return F===""&&u.location.href?u.location.href:F}catch{return F}}if(O.open(A.method,Y(A.url),!0),A.credentials==="include"?O.withCredentials=!0:A.credentials==="omit"&&(O.withCredentials=!1),"responseType"in O&&(p.blob?O.responseType="blob":p.arrayBuffer&&(O.responseType="arraybuffer")),d&&typeof d.headers=="object"&&!(d.headers instanceof h||u.Headers&&d.headers instanceof u.Headers)){var z=[];Object.getOwnPropertyNames(d.headers).forEach(function(F){z.push(g(F)),O.setRequestHeader(F,M(d.headers[F]))}),A.headers.forEach(function(F,V){z.indexOf(V)===-1&&O.setRequestHeader(V,F)})}else A.headers.forEach(function(F,V){O.setRequestHeader(V,F)});A.signal&&(A.signal.addEventListener("abort",P),O.onreadystatechange=function(){O.readyState===4&&A.signal.removeEventListener("abort",P)}),O.send(typeof A._bodyInit>"u"?null:A._bodyInit)})}return w.polyfill=!0,u.fetch||(u.fetch=w,u.Headers=h,u.Request=L,u.Response=K),f.Headers=h,f.Request=L,f.Response=K,f.fetch=w,f})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;e=a.fetch,e.default=a.fetch,e.fetch=a.fetch,e.Headers=a.Headers,e.Request=a.Request,e.Response=a.Response,t.exports=e})),vr=j(br(),1),Fr=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Hr=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),Er=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Lr=/[^\p{L}\d]+/giu,_t="$1\0$2",At="";function St(e){let t=e.trim();t=t.replace(Fr,_t).replace(Hr,_t),t=t.replace(Lr,"\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 Br(e){const t=St(e);for(let n=0;n<t.length;n++){const r=t[n],a=Er.exec(r);if(a){const s=a.index+(a[1]??a[2]).length;t.splice(n,1,r.slice(0,s),r.slice(s))}}return t}function Rt(e,t){const[n,r,a]=Te(e,t);return n+r.map(Re(t?.locale)).join(t?.delimiter??" ")+a}function Gr(e,t){const[n,r,a]=Te(e,t),s=Re(t?.locale),f=Fe(t?.locale),u=t?.mergeAmbiguousCharacters?He(s,f):wt(s,f);return n+r.map((p,R)=>R===0?s(p):u(p,R)).join(t?.delimiter??"")+a}function Ur(e,t){const[n,r,a]=Te(e,t),s=Re(t?.locale),f=Fe(t?.locale),u=t?.mergeAmbiguousCharacters?He(s,f):wt(s,f);return n+r.map(u).join(t?.delimiter??"")+a}function qr(e,t){const[n,r,a]=Te(e,t),s=Re(t?.locale),f=Fe(t?.locale);return n+r.map(He(s,f)).join(t?.delimiter??" ")+a}function Tt(e,t){return Rt(e,{delimiter:"-",...t})}function $r(e,t){return Rt(e,{delimiter:"_",...t})}function Re(e){return e===!1?t=>t.toLowerCase():t=>t.toLocaleLowerCase(e)}function Fe(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function He(e,t){return n=>`${t(n[0])}${e(n.slice(1))}`}function wt(e,t){return(n,r)=>{const a=n[0];return(r>0&&a>="0"&&a<="9"?"_"+a:t(a))+e(n.slice(1))}}function Te(e,t={}){const n=t.split??(t.separateNumbers?Br:St),r=t.prefixCharacters??At,a=t.suffixCharacters??At;let s=0,f=e.length;for(;s<e.length;){const u=e.charAt(s);if(!r.includes(u))break;s++}for(;f>s;){const u=f-1,p=e.charAt(u);if(!a.includes(p))break;f=u}return[e.slice(0,s),n(e.slice(s,f)),e.slice(f)]}var Kr=Q(((e,t)=>{(function(n,r,a){typeof e=="object"?(t.exports=a(),t.exports.default=a()):typeof define=="function"&&define.amd?define(a):r[n]=a()})("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 a(s,f){if(typeof s!="string")throw new Error("slugify: string argument expected");f=typeof f=="string"?{replacement:f}:f||{};var u=r[f.locale]||{},p=f.replacement===void 0?"-":f.replacement,R=f.trim===void 0?!0:f.trim,S=s.normalize().split("").reduce(function(_,g){var M=u[g];return M===void 0&&(M=n[g]),M===void 0&&(M=g),M===p&&(M=" "),_+M.replace(f.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return f.strict&&(S=S.replace(/[^A-Za-z0-9\s]/g,"")),R&&(S=S.trim()),S=S.replace(/\s+/g,p),f.lower&&(S=S.toLowerCase()),S}return a.extend=function(s){Object.assign(n,s)},a})})),Yr=j(Kr(),1);function zr(e){return(0,Yr.default)(Tt(e),{lower:!0,strict:!0})}var I=(function(e){return e.Camel="camelCase",e.Capital="capitalCase",e.Param="paramCase",e.Pascal="pascalCase",e.Slug="slugCase",e.Snake="snakeCase",e})({}),Vr={[I.Camel]:Gr,[I.Capital]:qr,[I.Param]:Tt,[I.Pascal]:Ur,[I.Slug]:zr,[I.Snake]:$r};function Zr(e,t){return e.some(n=>typeof n=="string"?n===t:n.test(t))}function Wr(e){return e===Object(e)&&!Array.isArray(e)&&typeof e!="function"}function b(e,t,n={deep:!0}){return Wr(e)&&!(e instanceof Date)?Object.keys(e).reduce((r,a)=>{const s=n?.exclude&&Zr(n.exclude,a)?a:Vr[t](a);return r[s]=n.deep?b(e[a],t,n):e[a],r},{}):Array.isArray(e)?e.map(r=>b(r,t,n)):e}var kt=Q(((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,a=36e5,s="millisecond",f="second",u="minute",p="hour",R="day",S="week",_="month",g="quarter",M="year",C="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={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(w){var c=["th","st","nd","rd"],d=w%100;return"["+w+(c[(d-20)%10]||c[d]||c[0])+"]"}},N=function(w,c,d){var l=String(w);return!l||l.length>=c?w:""+Array(c+1-l.length).join(d)+w},v={s:N,z:function(w){var c=-w.utcOffset(),d=Math.abs(c),l=Math.floor(d/60),m=d%60;return(c<=0?"+":"-")+N(l,2,"0")+":"+N(m,2,"0")},m:function w(c,d){if(c.date()<d.date())return-w(d,c);var l=12*(d.year()-c.year())+(d.month()-c.month()),m=c.clone().add(l,_),A=d-m<0,O=c.clone().add(l+(A?-1:1),_);return+(-(l+(d-m)/(A?m-O:O-m))||0)},a:function(w){return w<0?Math.ceil(w)||0:Math.floor(w)},p:function(w){return{M:_,y:M,w:S,d:R,D:C,h:p,m:u,s:f,ms:s,Q:g}[w]||String(w||"").toLowerCase().replace(/s$/,"")},u:function(w){return w===void 0}},D="en",E={};E[D]=k;var q="$isDayjsObject",$=function(w){return w instanceof K||!(!w||!w[q])},L=function w(c,d,l){var m;if(!c)return D;if(typeof c=="string"){var A=c.toLowerCase();E[A]&&(m=A),d&&(E[A]=d,m=A);var O=c.split("-");if(!m&&O.length>1)return w(O[0])}else{var P=c.name;E[P]=c,m=P}return!l&&m&&(D=m),m||!l&&D},H=function(w,c){if($(w))return w.clone();var d=typeof c=="object"?c:{};return d.date=w,d.args=arguments,new K(d)},J=v;J.l=L,J.i=$,J.w=function(w,c){return H(w,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var K=(function(){function w(d){this.$L=L(d.locale,null,!0),this.parse(d),this.$x=this.$x||d.x||{},this[q]=!0}var c=w.prototype;return c.parse=function(d){this.$d=(function(l){var m=l.date,A=l.utc;if(m===null)return new Date(NaN);if(J.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var O=m.match(y);if(O){var P=O[2]-1||0,Y=(O[7]||"0").substring(0,3);return A?new Date(Date.UTC(O[1],P,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)):new Date(O[1],P,O[3]||1,O[4]||0,O[5]||0,O[6]||0,Y)}}return new Date(m)})(d),this.init()},c.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()},c.$utils=function(){return J},c.isValid=function(){return this.$d.toString()!==h},c.isSame=function(d,l){var m=H(d);return this.startOf(l)<=m&&m<=this.endOf(l)},c.isAfter=function(d,l){return H(d)<this.startOf(l)},c.isBefore=function(d,l){return this.endOf(l)<H(d)},c.$g=function(d,l,m){return J.u(d)?this[l]:this.set(m,d)},c.unix=function(){return Math.floor(this.valueOf()/1e3)},c.valueOf=function(){return this.$d.getTime()},c.startOf=function(d,l){var m=this,A=!!J.u(l)||l,O=J.p(d),P=function(ae,X){var te=J.w(m.$u?Date.UTC(m.$y,X,ae):new Date(m.$y,X,ae),m);return A?te:te.endOf(R)},Y=function(ae,X){return J.w(m.toDate()[ae].apply(m.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(X)),m)},z=this.$W,F=this.$M,V=this.$D,ue="set"+(this.$u?"UTC":"");switch(O){case M:return A?P(1,0):P(31,11);case _:return A?P(1,F):P(0,F+1);case S:var ce=this.$locale().weekStart||0,pe=(z<ce?z+7:z)-ce;return P(A?V-pe:V+(6-pe),F);case R:case C:return Y(ue+"Hours",0);case p:return Y(ue+"Minutes",1);case u:return Y(ue+"Seconds",2);case f:return Y(ue+"Milliseconds",3);default:return this.clone()}},c.endOf=function(d){return this.startOf(d,!1)},c.$set=function(d,l){var m,A=J.p(d),O="set"+(this.$u?"UTC":""),P=(m={},m[R]=O+"Date",m[C]=O+"Date",m[_]=O+"Month",m[M]=O+"FullYear",m[p]=O+"Hours",m[u]=O+"Minutes",m[f]=O+"Seconds",m[s]=O+"Milliseconds",m)[A],Y=A===R?this.$D+(l-this.$W):l;if(A===_||A===M){var z=this.clone().set(C,1);z.$d[P](Y),z.init(),this.$d=z.set(C,Math.min(this.$D,z.daysInMonth())).$d}else P&&this.$d[P](Y);return this.init(),this},c.set=function(d,l){return this.clone().$set(d,l)},c.get=function(d){return this[J.p(d)]()},c.add=function(d,l){var m,A=this;d=Number(d);var O=J.p(l),P=function(F){var V=H(A);return J.w(V.date(V.date()+Math.round(F*d)),A)};if(O===_)return this.set(_,this.$M+d);if(O===M)return this.set(M,this.$y+d);if(O===R)return P(1);if(O===S)return P(7);var Y=(m={},m[u]=r,m[p]=a,m[f]=n,m)[O]||1,z=this.$d.getTime()+d*Y;return J.w(z,this)},c.subtract=function(d,l){return this.add(-1*d,l)},c.format=function(d){var l=this,m=this.$locale();if(!this.isValid())return m.invalidDate||h;var A=d||"YYYY-MM-DDTHH:mm:ssZ",O=J.z(this),P=this.$H,Y=this.$m,z=this.$M,F=m.weekdays,V=m.months,ue=m.meridiem,ce=function(X,te,de,fe){return X&&(X[te]||X(l,A))||de[te].slice(0,fe)},pe=function(X){return J.s(P%12||12,X,"0")},ae=ue||function(X,te,de){var fe=X<12?"AM":"PM";return de?fe.toLowerCase():fe};return A.replace(T,(function(X,te){return te||(function(de){switch(de){case"YY":return String(l.$y).slice(-2);case"YYYY":return J.s(l.$y,4,"0");case"M":return z+1;case"MM":return J.s(z+1,2,"0");case"MMM":return ce(m.monthsShort,z,V,3);case"MMMM":return ce(V,z);case"D":return l.$D;case"DD":return J.s(l.$D,2,"0");case"d":return String(l.$W);case"dd":return ce(m.weekdaysMin,l.$W,F,2);case"ddd":return ce(m.weekdaysShort,l.$W,F,3);case"dddd":return F[l.$W];case"H":return String(P);case"HH":return J.s(P,2,"0");case"h":return pe(1);case"hh":return pe(2);case"a":return ae(P,Y,!0);case"A":return ae(P,Y,!1);case"m":return String(Y);case"mm":return J.s(Y,2,"0");case"s":return String(l.$s);case"ss":return J.s(l.$s,2,"0");case"SSS":return J.s(l.$ms,3,"0");case"Z":return O}return null})(X)||O.replace(":","")}))},c.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},c.diff=function(d,l,m){var A,O=this,P=J.p(l),Y=H(d),z=(Y.utcOffset()-this.utcOffset())*r,F=this-Y,V=function(){return J.m(O,Y)};switch(P){case M:A=V()/12;break;case _:A=V();break;case g:A=V()/3;break;case S:A=(F-z)/6048e5;break;case R:A=(F-z)/864e5;break;case p:A=F/a;break;case u:A=F/r;break;case f:A=F/n;break;default:A=F}return m?A:J.a(A)},c.daysInMonth=function(){return this.endOf(_).$D},c.$locale=function(){return E[this.$L]},c.locale=function(d,l){if(!d)return this.$L;var m=this.clone(),A=L(d,l,!0);return A&&(m.$L=A),m},c.clone=function(){return J.w(this.$d,this)},c.toDate=function(){return new Date(this.valueOf())},c.toJSON=function(){return this.isValid()?this.toISOString():null},c.toISOString=function(){return this.$d.toISOString()},c.toString=function(){return this.$d.toUTCString()},w})(),x=K.prototype;return H.prototype=x,[["$ms",s],["$s",f],["$m",u],["$H",p],["$W",R],["$M",_],["$y",M],["$D",C]].forEach((function(w){x[w[1]]=function(c){return this.$g(c,w[0],w[1])}})),H.extend=function(w,c){return w.$i||(w(c,K,H),w.$i=!0),H},H.locale=L,H.isDayjs=$,H.unix=function(w){return H(1e3*w)},H.en=E[D],H.Ls=E,H.p={},H}))})),Xr=Q(((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 a=r.prototype,s=a.format;a.format=function(f){var u=this,p=this.$locale();if(!this.isValid())return s.bind(this)(f);var R=this.$utils(),S=(f||"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(_){switch(_){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return p.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return p.ordinal(u.week(),"W");case"w":case"ww":return R.s(u.week(),_==="w"?1:2,"0");case"W":case"WW":return R.s(u.isoWeek(),_==="W"?1:2,"0");case"k":case"kk":return R.s(String(u.$H===0?24:u.$H),_==="k"?1:2,"0");case"X":return Math.floor(u.$d.getTime()/1e3);case"x":return u.$d.getTime();case"z":return"["+u.offsetName()+"]";case"zzz":return"["+u.offsetName("long")+"]";default:return _}}));return s.bind(this)(S)}}}))})),Qr=Q(((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,a=/\d/,s=/\d\d/,f=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,p={},R=function(y){return(y=+y)+(y>68?1900:2e3)},S=function(y){return function(T){this[y]=+T}},_=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=(function(T){if(!T||T==="Z")return 0;var k=T.match(/([+-]|\d\d)/g),N=60*k[1]+(+k[2]||0);return N===0?0:k[0]==="+"?-N:N})(y)}],g=function(y){var T=p[y];return T&&(T.indexOf?T:T.s.concat(T.f))},M=function(y,T){var k,N=p.meridiem;if(N){for(var v=1;v<=24;v+=1)if(y.indexOf(N(v,0,T))>-1){k=v>12;break}}else k=y===(T?"pm":"PM");return k},C={A:[u,function(y){this.afternoon=M(y,!1)}],a:[u,function(y){this.afternoon=M(y,!0)}],Q:[a,function(y){this.month=3*(y-1)+1}],S:[a,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[f,S("seconds")],ss:[f,S("seconds")],m:[f,S("minutes")],mm:[f,S("minutes")],H:[f,S("hours")],h:[f,S("hours")],HH:[f,S("hours")],hh:[f,S("hours")],D:[f,S("day")],DD:[s,S("day")],Do:[u,function(y){var T=p.ordinal;if(this.day=y.match(/\d+/)[0],T)for(var k=1;k<=31;k+=1)T(k).replace(/\[|\]/g,"")===y&&(this.day=k)}],w:[f,S("week")],ww:[s,S("week")],M:[f,S("month")],MM:[s,S("month")],MMM:[u,function(y){var T=g("months"),k=(g("monthsShort")||T.map((function(N){return N.slice(0,3)}))).indexOf(y)+1;if(k<1)throw new Error;this.month=k%12||k}],MMMM:[u,function(y){var T=g("months").indexOf(y)+1;if(T<1)throw new Error;this.month=T%12||T}],Y:[/[+-]?\d+/,S("year")],YY:[s,function(y){this.year=R(y)}],YYYY:[/\d{4}/,S("year")],Z:_,ZZ:_};function h(y){for(var T=y,k=p&&p.formats,N=(y=T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(H,J,K){var x=K&&K.toUpperCase();return J||k[K]||n[K]||k[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(w,c,d){return c||d.slice(1)}))}))).match(r),v=N.length,D=0;D<v;D+=1){var E=N[D],q=C[E],$=q&&q[0],L=q&&q[1];N[D]=L?{regex:$,parser:L}:E.replace(/^\[|\]$/g,"")}return function(H){for(var J={},K=0,x=0;K<v;K+=1){var w=N[K];if(typeof w=="string")x+=w.length;else{var c=w.regex,d=w.parser,l=H.slice(x),m=c.exec(l)[0];d.call(J,m),H=H.replace(m,"")}}return(function(A){var O=A.afternoon;if(O!==void 0){var P=A.hours;O?P<12&&(A.hours+=12):P===12&&(A.hours=0),delete A.afternoon}})(J),J}}return function(y,T,k){k.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(R=y.parseTwoDigitYear);var N=T.prototype,v=N.parse;N.parse=function(D){var E=D.date,q=D.utc,$=D.args;this.$u=q;var L=$[1];if(typeof L=="string"){var H=$[2]===!0,J=$[3]===!0,K=H||J,x=$[2];J&&(x=$[2]),p=this.$locale(),!H&&x&&(p=k.Ls[x]),this.$d=(function(l,m,A,O){try{if(["x","X"].indexOf(m)>-1)return new Date((m==="X"?1e3:1)*l);var P=h(m)(l),Y=P.year,z=P.month,F=P.day,V=P.hours,ue=P.minutes,ce=P.seconds,pe=P.milliseconds,ae=P.zone,X=P.week,te=new Date,de=F||(Y||z?1:te.getDate()),fe=Y||te.getFullYear(),be=0;Y&&!z||(be=z>0?z-1:te.getMonth());var ve,lt=V||0,mt=ue||0,ht=ce||0,pt=pe||0;return ae?new Date(Date.UTC(fe,be,de,lt,mt,ht,pt+60*ae.offset*1e3)):A?new Date(Date.UTC(fe,be,de,lt,mt,ht,pt)):(ve=new Date(fe,be,de,lt,mt,ht,pt),X&&(ve=O(ve).week(X).toDate()),ve)}catch{return new Date("")}})(E,L,q,k),this.init(),x&&x!==!0&&(this.$L=this.locale(x).$L),K&&E!=this.format(L)&&(this.$d=new Date("")),p={}}else if(L instanceof Array)for(var w=L.length,c=1;c<=w;c+=1){$[1]=L[c-1];var d=k.apply(this,$);if(d.isValid()){this.$d=d.$d,this.$L=d.$L,this.init();break}c===w&&(this.$d=new Date(""))}else v.call(this,D)}}}))})),xr=Q(((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,a){r.prototype.isBetween=function(s,f,u,p){var R=a(s),S=a(f),_=(p=p||"()")[0]==="(",g=p[1]===")";return(_?this.isAfter(R,u):!this.isBefore(R,u))&&(g?this.isBefore(S,u):!this.isAfter(S,u))||(_?this.isBefore(R,u):!this.isAfter(R,u))&&(g?this.isAfter(S,u):!this.isBefore(S,u))}}}))})),jr=Q(((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(a,s){return this.isSame(a,s)||this.isAfter(a,s)}}}))})),eo=Q(((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(a,s){return this.isSame(a,s)||this.isBefore(a,s)}}}))})),to=Q(((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,a){var s=r.prototype,f=function(_){return _&&(_.indexOf?_:_.s)},u=function(_,g,M,C,h){var y=_.name?_:_.$locale(),T=f(y[g]),k=f(y[M]),N=T||k.map((function(D){return D.slice(0,C)}));if(!h)return N;var v=y.weekStart;return N.map((function(D,E){return N[(E+(v||0))%7]}))},p=function(){return a.Ls[a.locale()]},R=function(_,g){return _.formats[g]||(function(M){return M.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(C,h,y){return h||y.slice(1)}))})(_.formats[g.toUpperCase()])},S=function(){var _=this;return{months:function(g){return g?g.format("MMMM"):u(_,"months")},monthsShort:function(g){return g?g.format("MMM"):u(_,"monthsShort","months",3)},firstDayOfWeek:function(){return _.$locale().weekStart||0},weekdays:function(g){return g?g.format("dddd"):u(_,"weekdays")},weekdaysMin:function(g){return g?g.format("dd"):u(_,"weekdaysMin","weekdays",2)},weekdaysShort:function(g){return g?g.format("ddd"):u(_,"weekdaysShort","weekdays",3)},longDateFormat:function(g){return R(_.$locale(),g)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return S.bind(this)()},a.localeData=function(){var _=p();return{firstDayOfWeek:function(){return _.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(g){return R(_,g)},meridiem:_.meridiem,ordinal:_.ordinal}},a.months=function(){return u(p(),"months")},a.monthsShort=function(){return u(p(),"monthsShort","months",3)},a.weekdays=function(_){return u(p(),"weekdays",null,null,_)},a.weekdaysShort=function(_){return u(p(),"weekdaysShort","weekdays",3,_)},a.weekdaysMin=function(_){return u(p(),"weekdaysMin","weekdays",2,_)}}}))})),io=Q(((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,a,s){var f=a.prototype,u=f.format;s.en.formats=n,f.format=function(p){p===void 0&&(p="YYYY-MM-DDTHH:mm:ssZ");var R=this.$locale().formats,S=(function(_,g){return _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(M,C,h){var y=h&&h.toUpperCase();return C||g[h]||n[h]||g[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(T,k,N){return k||N.slice(1)}))}))})(p,R===void 0?{}:R);return u.call(this,S)}}}))})),no=Q(((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,a){var s=function(f,u){if(!u||!u.length||u.length===1&&!u[0]||u.length===1&&Array.isArray(u[0])&&!u[0].length)return null;var p;u.length===1&&u[0].length>0&&(u=u[0]),p=(u=u.filter((function(S){return S})))[0];for(var R=1;R<u.length;R+=1)u[R].isValid()&&!u[R][f](p)||(p=u[R]);return p};a.max=function(){return s("isAfter",[].slice.call(arguments,0))},a.min=function(){return s("isBefore",[].slice.call(arguments,0))}}}))})),ro=Q(((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,a){n=n||{};var s=r.prototype,f={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 u(R,S,_,g){return s.fromToBase(R,S,_,g)}a.en.relativeTime=f,s.fromToBase=function(R,S,_,g,M){for(var C,h,y,T=_.$locale().relativeTime||f,k=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=k.length,v=0;v<N;v+=1){var D=k[v];D.d&&(C=g?a(R).diff(_,D.d,!0):_.diff(R,D.d,!0));var E=(n.rounding||Math.round)(Math.abs(C));if(y=C>0,E<=D.r||!D.r){E<=1&&v>0&&(D=k[v-1]);var q=T[D.l];M&&(E=M(""+E)),h=typeof q=="string"?q.replace("%d",E):q(E,S,D.l,y);break}}if(S)return h;var $=y?T.future:T.past;return typeof $=="function"?$(h):$.replace("%s",h)},s.to=function(R,S){return u(R,S,this,!0)},s.from=function(R,S){return u(R,S,this)};var p=function(R){return R.$u?a.utc():a()};s.toNow=function(R){return this.to(p(this),R)},s.fromNow=function(R){return this.from(p(this),R)}}}))})),oo=Q(((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(a,s,f){var u,p=function(g,M,C){C===void 0&&(C={});var h=new Date(g);return(function(y,T){T===void 0&&(T={});var k=T.timeZoneName||"short",N=y+"|"+k,v=r[N];return v||(v=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),r[N]=v),v})(M,C).formatToParts(h)},R=function(g,M){for(var C=p(g,M),h=[],y=0;y<C.length;y+=1){var T=C[y],k=T.type,N=T.value,v=n[k];v>=0&&(h[v]=parseInt(N,10))}var D=h[3],E=D===24?0:D,q=h[0]+"-"+h[1]+"-"+h[2]+" "+E+":"+h[4]+":"+h[5]+":000",$=+g;return(f.utc(q).valueOf()-($-=$%1e3))/6e4},S=s.prototype;S.tz=function(g,M){g===void 0&&(g=u);var C,h=this.utcOffset(),y=this.toDate(),T=y.toLocaleString("en-US",{timeZone:g}),k=Math.round((y-new Date(T))/1e3/60),N=15*-Math.round(y.getTimezoneOffset()/15)-k;if(!Number(N))C=this.utcOffset(0,M);else if(C=f(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),M){var v=C.utcOffset();C=C.add(h-v,"minute")}return C.$x.$timezone=g,C},S.offsetName=function(g){var M=this.$x.$timezone||f.tz.guess(),C=p(this.valueOf(),M,{timeZoneName:g}).find((function(h){return h.type.toLowerCase()==="timezonename"}));return C&&C.value};var _=S.startOf;S.startOf=function(g,M){if(!this.$x||!this.$x.$timezone)return _.call(this,g,M);var C=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return _.call(C,g,M).tz(this.$x.$timezone,!0)},f.tz=function(g,M,C){var h=C&&M,y=C||M||u,T=R(+f(),y);if(typeof g!="string")return f(g).tz(y);var k=(function(E,q,$){var L=E-60*q*1e3,H=R(L,$);if(q===H)return[L,q];var J=R(L-=60*(H-q)*1e3,$);return H===J?[L,H]:[E-60*Math.min(H,J)*1e3,Math.max(H,J)]})(f.utc(g,h).valueOf(),T,y),N=k[0],v=k[1],D=f(N).utcOffset(v);return D.$x.$timezone=y,D},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(g){u=g}}}))})),ao=Q(((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,a=/([+-]|\d\d)/g;return function(s,f,u){var p=f.prototype;u.utc=function(h){return new f({date:h,utc:!0,args:arguments})},p.utc=function(h){var y=u(this.toDate(),{locale:this.$L,utc:!0});return h?y.add(this.utcOffset(),n):y},p.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var R=p.parse;p.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),R.call(this,h)};var S=p.init;p.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else S.call(this)};var _=p.utcOffset;p.utcOffset=function(h,y){var T=this.$utils().u;if(T(h))return this.$u?0:T(this.$offset)?_.call(this):this.$offset;if(typeof h=="string"&&(h=(function(D){D===void 0&&(D="");var E=D.match(r);if(!E)return null;var q=(""+E[0]).match(a)||["-",0,0],$=q[0],L=60*+q[1]+ +q[2];return L===0?0:$==="+"?L:-L})(h),h===null))return this;var k=Math.abs(h)<=16?60*h:h;if(k===0)return this.utc(y);var N=this.clone();if(y)return N.$offset=k,N.$u=!1,N;var v=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(N=this.local().add(k+v,n)).$offset=k,N.$x.$localOffset=v,N};var g=p.format;p.format=function(h){var y=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,y)},p.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var M=p.toDate;p.toDate=function(h){return h==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var C=p.diff;p.diff=function(h,y,T){if(h&&this.$u===h.$u)return C.call(this,h,y,T);var k=this.local(),N=u(h).local();return C.call(k,N,y,T)}}}))})),co=Q(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r(kt()):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(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var a=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(f){return""+f+(f===1?"er":"")}};return a.default.locale(s,null,!0),s}))})),so=Q(((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"],a=n%100;return"["+n+(r[(a-20)%10]||r[a]||r[0])+"]"}}}))})),ne=j(kt(),1),uo=j(Xr(),1),fo=j(Qr(),1),lo=j(xr(),1),mo=j(jr(),1),ho=j(eo(),1),po=j(to(),1),yo=j(io(),1),Oo=j(no(),1),go=j(ro(),1),_o=j(oo(),1),Ao=j(ao(),1),yd=co(),Od=so();ne.default.extend(uo.default),ne.default.extend(fo.default),ne.default.extend(lo.default),ne.default.extend(mo.default),ne.default.extend(ho.default),ne.default.extend(yo.default),ne.default.extend(po.default),ne.default.extend(Oo.default),ne.default.extend(go.default),ne.default.extend(_o.default),ne.default.extend(Ao.default);function se(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function we(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=>we(n,t));if(se(e)){const n={};for(const r in e)Object.hasOwn(e,r)&&(n[r]=we(e[r],t));return n}return e}function Ee(e,t,n=new WeakSet){if(!(!se(t)||!se(e))&&!(t===e||n.has(t))){n.add(t);for(const r in t)if(Object.hasOwn(t,r)){const a=t[r],s=e[r];se(a)&&se(s)?Ee(s,a,n):Array.isArray(a)&&Array.isArray(s)?e[r]=Nt(s,a,n):e[r]=we(a,n)}}}function Nt(e,t,n){const r=e.slice();for(let a=0;a<t.length;a++){const s=t[a],f=r[a];if(se(s)&&se(f)){const u={...f};Ee(u,s,n),r[a]=u}else Array.isArray(s)&&Array.isArray(f)?r[a]=Nt(f,s,n):r[a]=we(s,n)}return r}function Mt(e,...t){if(!se(e))throw new TypeError("Target must be a plain object");const n=new WeakSet;for(const r of t)r!=null&&Ee(e,r,n);return e}var W=[];for(let e=0;e<256;++e)W.push((e+256).toString(16).slice(1));function So(e,t=0){return(W[e[t+0]]+W[e[t+1]]+W[e[t+2]]+W[e[t+3]]+"-"+W[e[t+4]]+W[e[t+5]]+"-"+W[e[t+6]]+W[e[t+7]]+"-"+W[e[t+8]]+W[e[t+9]]+"-"+W[e[t+10]]+W[e[t+11]]+W[e[t+12]]+W[e[t+13]]+W[e[t+14]]+W[e[t+15]]).toLowerCase()}var Ro=new Uint8Array(16);function To(){return crypto.getRandomValues(Ro)}function wo(e,t,n){return!t&&!e&&crypto.randomUUID?crypto.randomUUID():ko(e,t,n)}function ko(e,t,n){e=e||{};const r=e.random??e.rng?.()??To();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 a=0;a<16;++a)t[n+a]=r[a];return t}return So(r)}var No=1500,Mo=class Se{static instance=null;defaultOptions={callCount:1,interval:No,maxCallCount:20,minCallCount:1};events={complete:()=>{},data:()=>{},error:()=>{}};pollings={};static getInstance(){return Se.instance||(Se.instance=new Se),Se.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(a=>this.onRequest(a,t,r)).catch(a=>{this.dispatch("error",a)}),this}stop(t){t&&this.pollings[t]&&delete this.pollings[t]}buildPollerOptions(t){const n=Object.entries(t).reduce((r,[a,s])=>{if(s!==void 0){const f=a;r[f]=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 a=b(t??{},I.Camel);this.isActivePoller(r)&&(this.isInProgress(a)&&r.callCount&&r.maxCallCount&&r.callCount<r.maxCallCount||!this.isInProgress(a)&&r.callCount&&r.minCallCount&&r.callCount<r.minCallCount?(this.isInProgress(a)||(a.meta=a.meta||{},a.meta.status="IN_PROGRESS"),r.callCount+=1,this.dispatch("data",a),r.interval&&await this.pause(r),this.poll(n,r)):this.isInProgress(a)?(a.meta=a.meta||{},a.meta.status="COMPLETE",this.onComplete(a,r)):this.onComplete(a,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=wo(),this.pollings[t.type]=t.uuid)}};function Ct(e,t,n){const r=Mo.getInstance();return r.poll(e,t),n&&typeof n=="function"?(r.on("data",a=>{a instanceof Error?n(a,void 0,r):n(null,a,r)}),r.on("error",a=>{a instanceof Error?n(a):n(null,a)}),r):new Promise((a,s)=>{r.on("error",s),r.on("complete",f=>{f instanceof Error?s(f):a(f)})})}var Co=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 Po(){return new Co}var gd=Po(),Pt="http://localhost".replace(/\/+$/,""),Io=e=>typeof Blob<"u"&&e instanceof Blob,ee=class{middleware;constructor(e=new Le){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),a=await this.fetchApi(n,r);if(a.status>=200&&a.status<300)return a;throw new It(a,"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||Io(e.body)?e.body:JSON.stringify(e.body),a=Object.assign({},this.configuration.headers,e.headers);Object.keys(a).forEach(f=>a[f]===void 0?delete a[f]:{});const s={method:e.method,body:r,credentials:this.configuration.credentials,...Mt({},t,{headers:Mt({},a,t?.headers)})};return{url:n,init:s}}fetchApi=async(e,t)=>{let n={url:e,init:t};for(const a of this.middleware)a.pre&&(n=await a.pre({fetch:this.fetchApi,...n})||n);let r=await(this.configuration.fetchApi||fetch)(n.url,n.init);for(const a of this.middleware)a.post&&(r=await a.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}},It=class extends Error{name="ResponseError";constructor(e,t){super(t),this.response=e}},G=class extends Error{name="RequiredError";constructor(e,t){super(t),this.field=e}},Jo={csv:",",ssv:" ",tsv:" ",pipes:"|"},Le=class{constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Pt}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Be}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 o(e,t){const n=e[t];return n!=null}function Be(e,t=""){return Object.keys(e).map(n=>{const r=t+(t.length?`[${n}]`:n),a=e[n];if(a instanceof Array){const s=a.map(f=>encodeURIComponent(String(f))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${s}`}return a instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(a.toISOString())}`:a instanceof Object?Be(a,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(a))}`}).filter(n=>n.length>0).join("&")}function Do(e,t){return Object.keys(e).reduce((n,r)=>({...n,[r]:t(e[r])}),{})}function bo(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}var U=class{constructor(e,t=n=>n){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},vo=class{constructor(e){this.raw=e}async value(){}},Fo=class{constructor(e){this.raw=e}async value(){return await this.raw.blob()}},Jt=class{constructor(e){this.raw=e}async value(){return await this.raw.text()}},Ho={CreditCard:"CREDIT_CARD"};function Dt(e){let t=!0;return t=t&&"name"in e,t}function Eo(e){return Ge(e,!1)}function Ge(e,t){return e==null?e:{name:e.name}}function bt(e){if(e!==void 0)return e===null?null:{name:e.name}}var Lo={Coupon:"COUPON"};function vt(e){let t=!0;return t=t&&"name"in e,t}function Bo(e){return Ue(e,!1)}function Ue(e,t){return e==null?e:{name:e.name}}function Ft(e){if(e!==void 0)return e===null?null:{name:e.name}}var Go={DepositAccount:"DEPOSIT_ACCOUNT"};function Ht(e){let t=!0;return t=t&&"name"in e,t}function Uo(e){return qe(e,!1)}function qe(e,t){return e==null?e:{name:e.name}}function Et(e){if(e!==void 0)return e===null?null:{name:e.name}}var qo={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function $o(e){let t=!0;return t=t&&"status"in e,t}function Lt(e){return Bt(e,!1)}function Bt(e,t){return e==null?e:{status:e.status}}function Gt(e){if(e!==void 0)return e===null?null:{status:e.status}}var Ko={PayLater:"PAY_LATER"};function Ut(e){let t=!0;return t=t&&"name"in e,t=t&&"payload"in e,t}function Yo(e){return $e(e,!1)}function $e(e,t){return e==null?e:{name:e.name,payload:Lt(e.payload)}}function qt(e){if(e!==void 0)return e===null?null:{name:e.name,payload:Gt(e.payload)}}function $t(e){return Kt(e,!1)}function Kt(e,t){return e==null?e:{...Ge(e,!0),...Ue(e,!0),...qe(e,!0),...$e(e,!0)}}function zo(e){if(e!==void 0)return e===null?null:Dt(e)?bt(e):vt(e)?Ft(e):Ht(e)?Et(e):Ut(e)?qt(e):{}}function Vo(e){return!0}function Ke(e){return Yt(e,!1)}function Yt(e,t){return e==null?e:{airConditioning:o(e,"air_conditioning")?e.air_conditioning:void 0,airportTransportation:o(e,"airport_transportation")?e.airport_transportation:void 0,businessCenter:o(e,"business_center")?e.business_center:void 0,carRentDesk:o(e,"car_rent_desk")?e.car_rent_desk:void 0,childrenAllowed:o(e,"children_allowed")?e.children_allowed:void 0,clothingIron:o(e,"clothing_iron")?e.clothing_iron:void 0,coffeeTeaMaker:o(e,"coffee_tea_maker")?e.coffee_tea_maker:void 0,combination:o(e,"combination")?e.combination:void 0,continentalBreakfast:o(e,"continental_breakfast")?e.continental_breakfast:void 0,dataPorts:o(e,"data_ports")?e.data_ports:void 0,dryCleaning:o(e,"dry_cleaning")?e.dry_cleaning:void 0,electronicRoomKeys:o(e,"electronic_room_keys")?e.electronic_room_keys:void 0,exteriorRoomEntrance:o(e,"exterior_room_entrance")?e.exterior_room_entrance:void 0,familyRooms:o(e,"family_rooms")?e.family_rooms:void 0,fitnessFacility:o(e,"fitness_facility")?e.fitness_facility:void 0,gameRoom:o(e,"game_room")?e.game_room:void 0,golfCourse:o(e,"golf_course")?e.golf_course:void 0,hairDryer:o(e,"hair_dryer")?e.hair_dryer:void 0,handicapAccessible:o(e,"handicap_accessible")?e.handicap_accessible:void 0,inHouseBar:o(e,"in_house_bar")?e.in_house_bar:void 0,inHouseDining:o(e,"in_house_dining")?e.in_house_dining:void 0,inRoomMovies:o(e,"in_room_movies")?e.in_room_movies:void 0,indoorPool:o(e,"indoor_pool")?e.indoor_pool:void 0,interiorRoomEntrance:o(e,"interior_room_entrance")?e.interior_room_entrance:void 0,kitchen:o(e,"kitchen")?e.kitchen:void 0,map:o(e,"map")?e.map:void 0,meetingRooms:o(e,"meeting_rooms")?e.meeting_rooms:void 0,miniBarInRoom:o(e,"mini_bar_in_room")?e.mini_bar_in_room:void 0,nonSmokingRooms:o(e,"non_smoking_rooms")?e.non_smoking_rooms:void 0,outdoorPool:o(e,"outdoor_pool")?e.outdoor_pool:void 0,parkingGarage:o(e,"parking_garage")?e.parking_garage:void 0,petsAllowed:o(e,"pets_allowed")?e.pets_allowed:void 0,restrictedAccess:o(e,"restricted_access")?e.restricted_access:void 0,roomService:o(e,"room_service")?e.room_service:void 0,safe:o(e,"safe")?e.safe:void 0,sauna:o(e,"sauna")?e.sauna:void 0,tVInRoom:o(e,"t_v_in_room")?e.t_v_in_room:void 0,tennisCourt:o(e,"tennis_court")?e.tennis_court:void 0,twentyFourHourSecurity:o(e,"twenty_four_hour_security")?e.twenty_four_hour_security:void 0,valetParking:o(e,"valet_parking")?e.valet_parking:void 0,videoCheckOut:o(e,"video_check_out")?e.video_check_out:void 0,voiceMail:o(e,"voice_mail")?e.voice_mail:void 0,wakeUpService:o(e,"wake_up_service")?e.wake_up_service:void 0,whirpool:o(e,"whirpool")?e.whirpool:void 0}}function Ye(e){if(e!==void 0)return e===null?null:{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 Zo(e){let t=!0;return t=t&&"count"in e,t=t&&"name"in e,t=t&&"occupancy"in e,t}function Wo(e){return zt(e,!1)}function zt(e,t){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function Xo(e){if(e!==void 0)return e===null?null:{count:e.count,name:e.name,occupancy:e.occupancy}}function Qo(e){let t=!0;return t=t&&"dateFrom"in e,t=t&&"dateTo"in e,t=t&&"penaltyPercentage"in e,t}function ke(e){return Vt(e,!1)}function Vt(e,t){return e==null?e:{dateFrom:e.date_from,dateTo:e.date_to,penaltyPercentage:e.penalty_percentage}}function Ne(e){if(e!==void 0)return e===null?null:{date_from:e.dateFrom,date_to:e.dateTo,penalty_percentage:e.penaltyPercentage}}var xo={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 Me(e){return Zt(e,!1)}function Zt(e,t){return e}function jo(e){return e}function ea(e){let t=!0;return t=t&&"address"in e,t=t&&"city"in e,t=t&&"country"in e,t=t&&"name"in e,t=t&&"zipCode"in e,t}function Wt(e){return Xt(e,!1)}function Xt(e,t){return e==null?e:{address:e.address,city:e.city,country:Me(e.country),name:e.name,state:o(e,"state")?e.state:void 0,vatNumber:o(e,"vat_number")?e.vat_number:void 0,zipCode:e.zip_code}}function Qt(e){if(e!==void 0)return e===null?null:{address:e.address,city:e.city,country:e.country,name:e.name,state:e.state,vat_number:e.vatNumber,zip_code:e.zipCode}}var ta={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};function Ce(e){return xt(e,!1)}function xt(e,t){return e}function ia(e){return e}var na={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"};function ra(e){let t=!0;return t=t&&"email"in e,t=t&&"firstName"in e,t=t&&"lastName"in e,t=t&&"nationality"in e,t=t&&"phone"in e,t}function ze(e){return jt(e,!1)}function jt(e,t){return e==null?e:{address:o(e,"address")?e.address:void 0,city:o(e,"city")?e.city:void 0,country:o(e,"country")?Me(e.country):void 0,email:e.email,firstName:e.first_name,lang:o(e,"lang")?Ce(e.lang):void 0,lastName:e.last_name,nationality:Me(e.nationality),organization:o(e,"organization")?Wt(e.organization):void 0,phone:e.phone,remarks:o(e,"remarks")?e.remarks:void 0,salutation:o(e,"salutation")?e.salutation:void 0,state:o(e,"state")?e.state:void 0,zipCode:o(e,"zip_code")?e.zip_code:void 0}}function Ve(e){if(e!==void 0)return e===null?null:{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:Qt(e.organization),phone:e.phone,remarks:e.remarks,salutation:e.salutation,state:e.state,zip_code:e.zipCode}}var oa={Aed:"AED",Afn:"AFN",All:"ALL",Amd:"AMD",Ang:"ANG",Aoa:"AOA",Ars:"ARS",Aud:"AUD",Awg:"AWG",Azn:"AZN",Bam:"BAM",Bbd:"BBD",Bdt:"BDT",Bhd:"BHD",Bgn:"BGN",Bif:"BIF",Bmd:"BMD",Bnd:"BND",Bob:"BOB",Brl:"BRL",Bsd:"BSD",Bwp:"BWP",Bzd:"BZD",Cad:"CAD",Cdf:"CDF",Chf:"CHF",Clp:"CLP",Cny:"CNY",Cop:"COP",Crc:"CRC",Cve:"CVE",Czk:"CZK",Djf:"DJF",Dkk:"DKK",Dop:"DOP",Dzd:"DZD",Egp:"EGP",Etb:"ETB",Eur:"EUR",Fjd:"FJD",Fkp:"FKP",Gbp:"GBP",Gel:"GEL",Gip:"GIP",Gmd:"GMD",Gnf:"GNF",Gtq:"GTQ",Gyd:"GYD",Hkd:"HKD",Hnl:"HNL",Htg:"HTG",Huf:"HUF",Idr:"IDR",Ils:"ILS",Inr:"INR",Isk:"ISK",Jmd:"JMD",Jod:"JOD",Jpy:"JPY",Kes:"KES",Kgs:"KGS",Khr:"KHR",Kmf:"KMF",Krw:"KRW",Kwd:"KWD",Kyd:"KYD",Kzt:"KZT",Lak:"LAK",Lbp:"LBP",Lkr:"LKR",Lrd:"LRD",Lsl:"LSL",Mad:"MAD",Mdl:"MDL",Mga:"MGA",Mkd:"MKD",Mmk:"MMK",Mnt:"MNT",Mop:"MOP",Mru:"MRU",Mur:"MUR",Mvr:"MVR",Mwk:"MWK",Mxn:"MXN",Myr:"MYR",Mzn:"MZN",Nad:"NAD",Ngn:"NGN",Nio:"NIO",Nok:"NOK",Npr:"NPR",Nzd:"NZD",Omr:"OMR",Pab:"PAB",Pen:"PEN",Pgk:"PGK",Php:"PHP",Pkr:"PKR",Pln:"PLN",Pyg:"PYG",Qar:"QAR",Ron:"RON",Rsd:"RSD",Rub:"RUB",Rwf:"RWF",Sar:"SAR",Sbd:"SBD",Scr:"SCR",Sek:"SEK",Sgd:"SGD",Shp:"SHP",Sll:"SLL",Sos:"SOS",Srd:"SRD",Std:"STD",Szl:"SZL",Thb:"THB",Tjs:"TJS",Tnd:"TND",Top:"TOP",Try:"TRY",Ttd:"TTD",Twd:"TWD",Tzs:"TZS",Uah:"UAH",Usd:"USD",Uyu:"UYU",Uzs:"UZS",Vnd:"VND",Vuv:"VUV",Wst:"WST",Xaf:"XAF",Xcd:"XCD",Xof:"XOF",Xpf:"XPF",Yer:"YER",Zar:"ZAR",Zmw:"ZMW"};function oe(e){return ei(e,!1)}function ei(e,t){return e}function aa(e){return e}function ca(e){return!0}function ti(e){return ii(e,!1)}function ii(e,t){return e==null?e:{name:o(e,"name")?e.name:void 0,slug:o(e,"slug")?e.slug:void 0}}function ni(e){if(e!==void 0)return e===null?null:{name:e.name,slug:e.slug}}function da(e){let t=!0;return t=t&&"isHeroImage"in e,t=t&&"l"in e,t=t&&"m"in e,t=t&&"s"in e,t=t&&"xl"in e,t=t&&"xs"in e,t}function le(e){return ri(e,!1)}function ri(e,t){return e==null?e:{caption:o(e,"caption")?e.caption:void 0,isHeroImage:e.is_hero_image,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function ye(e){if(e!==void 0)return e===null?null:{caption:e.caption,is_hero_image:e.isHeroImage,l:e.l,m:e.m,s:e.s,xl:e.xl,xs:e.xs}}function sa(e){let t=!0;return t=t&&"beds"in e,t=t&&"bedsPretty"in e,t=t&&"count"in e,t=t&&"description"in e,t=t&&"id"in e,t=t&&"occupancy"in e,t}function oi(e){return ai(e,!1)}function ai(e,t){return e==null?e:{amenities:o(e,"amenities")?e.amenities:void 0,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:o(e,"highres_images")?e.highres_images:void 0,id:e.id,imageIndexes:o(e,"image_indexes")?e.image_indexes:void 0,images:o(e,"images")?e.images===null?null:e.images.map(le):void 0,lowresImages:o(e,"lowres_images")?e.lowres_images:void 0,occupancy:e.occupancy,richDescription:o(e,"rich_description")?e.rich_description:void 0,roomSquareFeet:o(e,"room_square_feet")?e.room_square_feet:void 0,roomSquareMeters:o(e,"room_square_meters")?e.room_square_meters:void 0,thumbImages:o(e,"thumb_images")?e.thumb_images:void 0}}function ci(e){if(e!==void 0)return e===null?null:{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===void 0?void 0:e.images===null?null:e.images.map(ye),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 ua={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 Oe(e){return di(e,!1)}function di(e,t){return e}function fa(e){return e}function la(e){let t=!0;return t=t&&"name"in e,t}function Pe(e){return si(e,!1)}function si(e,t){return e==null?e:{bg:o(e,"bg")?e.bg:void 0,color:o(e,"color")?e.color:void 0,description:o(e,"description")?e.description:void 0,faIcon:o(e,"fa_icon")?e.fa_icon:void 0,name:e.name}}function Ie(e){if(e!==void 0)return e===null?null:{bg:e.bg,color:e.color,description:e.description,fa_icon:e.faIcon,name:e.name}}var ma={Night:"PER_NIGHT",Stay:"PER_STAY"},ha={Adult:"PER_ADULT",Booking:"PER_BOOKING"};function pa(e){let t=!0;return t=t&&"taxFrequency"in e,t=t&&"taxMode"in e,t}function Ze(e){return ui(e,!1)}function ui(e,t){return e==null?e:{amount:o(e,"amount")?e.amount:void 0,code:o(e,"code")?e.code:void 0,description:o(e,"description")?e.description:void 0,percentage:o(e,"percentage")?e.percentage:void 0,taxFrequency:e.tax_frequency,taxMode:e.tax_mode}}function We(e){if(e!==void 0)return e===null?null:{amount:e.amount,code:e.code,description:e.description,percentage:e.percentage,tax_frequency:e.taxFrequency,tax_mode:e.taxMode}}var ya={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"},Oa={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},ga={Included:"included",NotIncluded:"not_included",Unknown:"unknown"},_a={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"};function Aa(e){let t=!0;return t=t&&"breakfastOption"in e,t=t&&"cancellationPolicies"in e,t=t&&"currency"in e,t=t&&"hotelId"in e,t=t&&"hotelRooms"in e,t=t&&"price"in e,t=t&&"sourceMarket"in e,t=t&&"stayTaxesInfo"in e,t=t&&"taxIncludedPrice"in e,t}function me(e){return fi(e,!1)}function fi(e,t){return e==null?e:{breakfastCount:o(e,"breakfast_count")?e.breakfast_count:void 0,breakfastOption:e.breakfast_option,breakfastPricePerGuestPerNight:o(e,"breakfast_price_per_guest_per_night")?e.breakfast_price_per_guest_per_night:void 0,breakfastUnitPrice:o(e,"breakfast_unit_price")?e.breakfast_unit_price:void 0,cancellationPolicies:e.cancellation_policies.map(ke),count:o(e,"count")?e.count:void 0,currency:oe(e.currency),hotelId:e.hotel_id,hotelRooms:e.hotel_rooms.map(oi),id:o(e,"id")?e.id:void 0,packageType:o(e,"package_type")?e.package_type:void 0,price:e.price,sourceMarket:Oe(e.source_market),stayTaxesInfo:e.stay_taxes_info,tags:o(e,"tags")?e.tags.map(Pe):void 0,taxIncludedPrice:e.tax_included_price,taxes:o(e,"taxes")?e.taxes.map(Ze):void 0,type:o(e,"type")?e.type:void 0}}function he(e){if(e!==void 0)return e===null?null:{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(Ne),count:e.count,currency:e.currency,hotel_id:e.hotelId,hotel_rooms:e.hotelRooms.map(ci),id:e.id,package_type:e.packageType,price:e.price,source_market:e.sourceMarket,stay_taxes_info:e.stayTaxesInfo,tags:e.tags===void 0?void 0:e.tags.map(Ie),tax_included_price:e.taxIncludedPrice,taxes:e.taxes===void 0?void 0:e.taxes.map(We),type:e.type}}function Sa(e){let t=!0;return t=t&&"beds"in e,t=t&&"bedsPretty"in e,t=t&&"count"in e,t=t&&"description"in e,t=t&&"id"in e,t=t&&"occupancy"in e,t}function li(e){return mi(e,!1)}function mi(e,t){return e==null?e:{amenities:o(e,"amenities")?e.amenities:void 0,beds:e.beds,bedsPretty:e.beds_pretty,count:e.count,description:e.description,highresImages:o(e,"highres_images")?e.highres_images:void 0,id:e.id,imageIndexes:o(e,"image_indexes")?e.image_indexes:void 0,images:o(e,"images")?e.images===null?null:e.images.map(le):void 0,lowresImages:o(e,"lowres_images")?e.lowres_images:void 0,occupancy:e.occupancy,richDescription:o(e,"rich_description")?e.rich_description:void 0,roomSquareFeet:o(e,"room_square_feet")?e.room_square_feet:void 0,roomSquareMeters:o(e,"room_square_meters")?e.room_square_meters:void 0,thumbImages:o(e,"thumb_images")?e.thumb_images:void 0}}function hi(e){if(e!==void 0)return e===null?null:{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===void 0?void 0:e.images===null?null:e.images.map(ye),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 Ra(e){let t=!0;return t=t&&"fullname"in e,t=t&&"id"in e,t}function Je(e){return pi(e,!1)}function pi(e,t){return e==null?e:{fullname:e.fullname,id:e.id}}function yi(e){if(e!==void 0)return e===null?null:{fullname:e.fullname,id:e.id}}function Ta(e){let t=!0;return t=t&&"hotelRoomId"in e,t=t&&"hotelRoomingListGuests"in e,t=t&&"id"in e,t}function Xe(e){return Oi(e,!1)}function Oi(e,t){return e==null?e:{hotelRoom:o(e,"hotel_room")?li(e.hotel_room):void 0,hotelRoomId:e.hotel_room_id,hotelRoomingListGuests:e.hotel_rooming_list_guests.map(Je),id:e.id,limitDate:o(e,"limit_date")?e.limit_date===null?null:new Date(e.limit_date):void 0}}function gi(e){if(e!==void 0)return e===null?null:{hotel_room:hi(e.hotelRoom),hotel_room_id:e.hotelRoomId,hotel_rooming_list_guests:e.hotelRoomingListGuests.map(yi),id:e.id,limit_date:e.limitDate===void 0?void 0:e.limitDate===null?null:e.limitDate.toISOString()}}var wa={CreditNote:"credit_note",Invoice:"invoice"};function ka(e){let t=!0;return t=t&&"type"in e,t=t&&"url"in e,t}function _i(e){return Ai(e,!1)}function Ai(e,t){return e==null?e:{type:e.type,url:e.url}}function Si(e){if(e!==void 0)return e===null?null:{type:e.type,url:e.url}}function Na(e){let t=!0;return t=t&&"amount"in e,t=t&&"token"in e,t}function Ri(e){return Ti(e,!1)}function Ti(e,t){return e==null?e:{amount:e.amount,couponId:o(e,"coupon_id")?e.coupon_id:void 0,token:e.token}}function wi(e){if(e!==void 0)return e===null?null:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Ma={CreditCard:"CREDIT_CARD"};function ki(e){let t=!0;return t=t&&"name"in e,t=t&&"payload"in e,t}function Ca(e){return Qe(e,!1)}function Qe(e,t){return e==null?e:{name:e.name,payload:Ri(e.payload)}}function Ni(e){if(e!==void 0)return e===null?null:{name:e.name,payload:wi(e.payload)}}function Pa(e){let t=!0;return t=t&&"amount"in e,t=t&&"couponId"in e,t}function Mi(e){return Ci(e,!1)}function Ci(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id,token:o(e,"token")?e.token:void 0}}function Pi(e){if(e!==void 0)return e===null?null:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Ia={Coupon:"COUPON"};function Ii(e){let t=!0;return t=t&&"name"in e,t=t&&"payload"in e,t}function Ja(e){return xe(e,!1)}function xe(e,t){return e==null?e:{name:e.name,payload:Mi(e.payload)}}function Ji(e){if(e!==void 0)return e===null?null:{name:e.name,payload:Pi(e.payload)}}function Da(e){let t=!0;return t=t&&"amount"in e,t}function Di(e){return bi(e,!1)}function bi(e,t){return e==null?e:{amount:e.amount,couponId:o(e,"coupon_id")?e.coupon_id:void 0,token:o(e,"token")?e.token:void 0}}function vi(e){if(e!==void 0)return e===null?null:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var ba={DepositAccount:"DEPOSIT_ACCOUNT"};function Fi(e){let t=!0;return t=t&&"name"in e,t=t&&"payload"in e,t}function va(e){return je(e,!1)}function je(e,t){return e==null?e:{name:e.name,payload:Di(e.payload)}}function Hi(e){if(e!==void 0)return e===null?null:{name:e.name,payload:vi(e.payload)}}var Fa={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function Ha(e){let t=!0;return t=t&&"amount"in e,t=t&&"status"in e,t}function Ei(e){return Li(e,!1)}function Li(e,t){return e==null?e:{amount:e.amount,couponId:o(e,"coupon_id")?e.coupon_id:void 0,status:e.status,token:o(e,"token")?e.token:void 0}}function Bi(e){if(e!==void 0)return e===null?null:{amount:e.amount,coupon_id:e.couponId,status:e.status,token:e.token}}var Ea={PayLater:"PAY_LATER"};function Gi(e){let t=!0;return t=t&&"name"in e,t=t&&"payload"in e,t}function La(e){return et(e,!1)}function et(e,t){return e==null?e:{name:e.name,payload:Ei(e.payload)}}function Ui(e){if(e!==void 0)return e===null?null:{name:e.name,payload:Bi(e.payload)}}function qi(e){return $i(e,!1)}function $i(e,t){return e==null?e:{...Qe(e,!0),...xe(e,!0),...je(e,!0),...et(e,!0)}}function Ki(e){if(e!==void 0)return e===null?null:ki(e)?Ni(e):Ii(e)?Ji(e):Fi(e)?Hi(e):Gi(e)?Ui(e):{}}var Ba={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},Ga={Cx:"bkg-cx",Cf:"bkg-cf",Created:"bkg-created",Af:"bkg-af",Ip:"bkg-ip",Pc:"bkg-pc",Pp:"bkg-pp",Qr:"bkg-qr"};function Ua(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"cancellationPolicies"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"contactPerson"in e,t=t&&"createdAt"in e,t=t&&"currency"in e,t=t&&"hotelId"in e,t=t&&"hotelRoomOffer"in e,t=t&&"lastStatusUpdatedAt"in e,t=t&&"reference"in e,t=t&&"sourceMarket"in e,t=t&&"status"in e,t=t&&"taxAmount"in e,t=t&&"taxIncludedPrice"in e,t=t&&"terms"in e,t}function re(e){return Yi(e,!1)}function Yi(e,t){return e==null?e:{additionalCheckInInstruction:o(e,"additional_check_in_instruction")?e.additional_check_in_instruction:void 0,additionalPolicies:o(e,"additional_policies")?e.additional_policies:void 0,adultCount:e.adult_count,canceledAt:o(e,"canceled_at")?e.canceled_at:void 0,cancellationPolicies:e.cancellation_policies.map(ke),cancellationPolicyRemarks:o(e,"cancellation_policy_remarks")?e.cancellation_policy_remarks:void 0,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,confirmedAt:o(e,"confirmed_at")?e.confirmed_at:void 0,contactPerson:ze(e.contact_person),createdAt:e.created_at,currency:oe(e.currency),customerReference:o(e,"customer_reference")?e.customer_reference:void 0,event:o(e,"event")?ti(e.event):void 0,failedAt:o(e,"failed_at")?e.failed_at:void 0,hotelConfirmationId:o(e,"hotel_confirmation_id")?e.hotel_confirmation_id:void 0,hotelId:e.hotel_id,hotelRoomOffer:me(e.hotel_room_offer),hotelRoomingLists:o(e,"hotel_rooming_lists")?e.hotel_rooming_lists.map(Xe):void 0,id:o(e,"id")?e.id:void 0,invoices:o(e,"invoices")?e.invoices===null?null:e.invoices.map(_i):void 0,lastStatusUpdatedAt:e.last_status_updated_at,metadata:o(e,"metadata")?e.metadata:void 0,payLater:o(e,"pay_later")?e.pay_later:void 0,paymentMethods:o(e,"payment_methods")?e.payment_methods.map(qi):void 0,penaltyPercentage:o(e,"penalty_percentage")?e.penalty_percentage:void 0,reference:e.reference,sourceMarket:Oe(e.source_market),status:e.status,taxAmount:e.tax_amount,taxIncludedPrice:e.tax_included_price,taxes:o(e,"taxes")?e.taxes===null?null:e.taxes.map(Ze):void 0,terms:e.terms,token:o(e,"token")?e.token:void 0}}function zi(e){if(e!==void 0)return e===null?null:{additional_check_in_instruction:e.additionalCheckInInstruction,additional_policies:e.additionalPolicies,adult_count:e.adultCount,canceled_at:e.canceledAt,cancellation_policies:e.cancellationPolicies.map(Ne),cancellation_policy_remarks:e.cancellationPolicyRemarks,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,confirmed_at:e.confirmedAt,contact_person:Ve(e.contactPerson),created_at:e.createdAt,currency:e.currency,customer_reference:e.customerReference,event:ni(e.event),failed_at:e.failedAt,hotel_confirmation_id:e.hotelConfirmationId,hotel_id:e.hotelId,hotel_room_offer:he(e.hotelRoomOffer),hotel_rooming_lists:e.hotelRoomingLists===void 0?void 0:e.hotelRoomingLists.map(gi),id:e.id,invoices:e.invoices===void 0?void 0:e.invoices===null?null:e.invoices.map(Si),last_status_updated_at:e.lastStatusUpdatedAt,metadata:e.metadata,pay_later:e.payLater,payment_methods:e.paymentMethods===void 0?void 0:e.paymentMethods.map(Ki),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===void 0?void 0:e.taxes===null?null:e.taxes.map(We),terms:e.terms,token:e.token}}function qa(e){let t=!0;return t=t&&"fullname"in e,t}function Vi(e){return Zi(e,!1)}function Zi(e,t){return e==null?e:{fullname:e.fullname}}function Wi(e){if(e!==void 0)return e===null?null:{fullname:e.fullname}}function $a(e){let t=!0;return t=t&&"guests"in e,t=t&&"hotelRoomId"in e,t}function Xi(e){return Qi(e,!1)}function Qi(e,t){return e==null?e:{guests:e.guests.map(Vi),hotelRoomId:e.hotel_room_id}}function xi(e){if(e!==void 0)return e===null?null:{guests:e.guests.map(Wi),hotel_room_id:e.hotelRoomId}}function Ka(e){return!0}function ji(e){return en(e,!1)}function en(e,t){return e==null?e:{couponId:o(e,"coupon_id")?e.coupon_id:void 0}}function tn(e){if(e!==void 0)return e===null?null:{coupon_id:e.couponId}}var Ya={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"};function za(e){let t=!0;return t=t&&"name"in e,t}function tt(e){return nn(e,!1)}function nn(e,t){return e==null?e:{name:e.name,payload:o(e,"payload")?ji(e.payload):void 0}}function it(e){if(e!==void 0)return e===null?null:{name:e.name,payload:tn(e.payload)}}function Va(e){let t=!0;return t=t&&"bookingPolicyId"in e,t=t&&"contactPerson"in e,t}function Za(e){return rn(e,!1)}function rn(e,t){return e==null?e:{bookingPolicyId:e.booking_policy_id,contactPerson:ze(e.contact_person),guestsList:o(e,"guests_list")?e.guests_list.map(Xi):void 0,metadata:o(e,"metadata")?e.metadata:void 0,paymentMethods:o(e,"payment_methods")?e.payment_methods.map(tt):void 0,trackingId:o(e,"tracking_id")?e.tracking_id:void 0}}function on(e){if(e!==void 0)return e===null?null:{booking_policy_id:e.bookingPolicyId,contact_person:Ve(e.contactPerson),guests_list:e.guestsList===void 0?void 0:e.guestsList.map(xi),metadata:e.metadata,payment_methods:e.paymentMethods===void 0?void 0:e.paymentMethods.map(it),tracking_id:e.trackingId}}function Wa(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"cancellationPolicies"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"currency"in e,t=t&&"expiresAt"in e,t=t&&"hasRoomingLists"in e,t=t&&"hotelId"in e,t=t&&"hotelRoomOffer"in e,t=t&&"id"in e,t=t&&"isCancellationPoliciesUpdated"in e,t=t&&"isPriceIncreased"in e,t}function nt(e){return an(e,!1)}function an(e,t){return e==null?e:{adultCount:e.adult_count,cancellationPolicies:e.cancellation_policies.map(ke),checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,currency:oe(e.currency),expiresAt:e.expires_at===null?null:new Date(e.expires_at),hasRoomingLists:e.has_rooming_lists,hotelId:e.hotel_id,hotelRoomOffer:me(e.hotel_room_offer),id:e.id,isCancellationPoliciesUpdated:e.is_cancellation_policies_updated,isPriceIncreased:e.is_price_increased}}function Xa(e){if(e!==void 0)return e===null?null:{adult_count:e.adultCount,cancellation_policies:e.cancellationPolicies.map(Ne),check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,currency:e.currency,expires_at:e.expiresAt===null?null:e.expiresAt.toISOString(),has_rooming_lists:e.hasRoomingLists,hotel_id:e.hotelId,hotel_room_offer:he(e.hotelRoomOffer),id:e.id,is_cancellation_policies_updated:e.isCancellationPoliciesUpdated,is_price_increased:e.isPriceIncreased}}function Qa(e){let t=!0;return t=t&&"hotelRoomOfferId"in e,t}function xa(e){return cn(e,!1)}function cn(e,t){return e==null?e:{addBreakfast:o(e,"add_breakfast")?e.add_breakfast:void 0,breakfastCount:o(e,"breakfast_count")?e.breakfast_count:void 0,hotelRoomOfferId:e.hotel_room_offer_id,lang:o(e,"lang")?Ce(e.lang):void 0}}function dn(e){if(e!==void 0)return e===null?null:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,hotel_room_offer_id:e.hotelRoomOfferId,lang:e.lang}}function ja(e){return!0}function sn(e){return un(e,!1)}function un(e,t){return e==null?e:{endingBefore:o(e,"ending_before")?e.ending_before:void 0,limit:o(e,"limit")?e.limit:void 0,startingAfter:o(e,"starting_after")?e.starting_after:void 0,totalCount:o(e,"total_count")?e.total_count:void 0}}function fn(e){if(e!==void 0)return e===null?null:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount}}function ec(e){let t=!0;return t=t&&"data"in e,t=t&&"meta"in e,t}function ln(e){return mn(e,!1)}function mn(e,t){return e==null?e:{data:e.data.map(re),meta:sn(e.meta)}}function tc(e){if(e!==void 0)return e===null?null:{data:e.data.map(zi),meta:fn(e.meta)}}var ic={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 nc(e){let t=!0;return t=t&&"statusCode"in e,t}function rc(e){return hn(e,!1)}function hn(e,t){return e==null?e:{documentationUrl:o(e,"documentation_url")?e.documentation_url:void 0,error:o(e,"error")?e.error:void 0,message:o(e,"message")?e.message:void 0,statusCode:e.statusCode,type:o(e,"type")?e.type:void 0}}function oc(e){if(e!==void 0)return e===null?null:{documentation_url:e.documentationUrl,error:e.error,message:e.message,statusCode:e.statusCode,type:e.type}}function ac(e){return!0}function ge(e){return pn(e,!1)}function pn(e,t){return e==null?e:{dateEnd:o(e,"date_end")?e.date_end:void 0,dateStart:o(e,"date_start")?e.date_start:void 0,id:o(e,"id")?e.id:void 0,imageUrl:o(e,"image_url")?e.image_url:void 0,name:o(e,"name")?e.name:void 0,slug:o(e,"slug")?e.slug:void 0}}function _e(e){if(e!==void 0)return e===null?null:{date_end:e.dateEnd,date_start:e.dateStart,id:e.id,image_url:e.imageUrl,name:e.name,slug:e.slug}}function cc(e){return!0}function rt(e){return yn(e,!1)}function yn(e,t){return e==null?e:{count:o(e,"count")?e.count:void 0,highres:o(e,"highres")?e.highres:void 0,lowres:o(e,"lowres")?e.lowres:void 0,prefix:o(e,"prefix")?e.prefix:void 0,suffix:o(e,"suffix")?e.suffix:void 0,thumb:o(e,"thumb")?e.thumb:void 0}}function ot(e){if(e!==void 0)return e===null?null:{count:e.count,highres:e.highres,lowres:e.lowres,prefix:e.prefix,suffix:e.suffix,thumb:e.thumb}}function dc(e){let t=!0;return t=t&&"rating"in e,t}function at(e){return On(e,!1)}function On(e,t){return e==null?e:{category:o(e,"category")?e.category:void 0,rating:e.rating}}function ct(e){if(e!==void 0)return e===null?null:{category:e.category,rating:e.rating}}function sc(e){return!0}function gn(e){return _n(e,!1)}function _n(e,t){return e==null?e:{driving:o(e,"driving")?e.driving:void 0,transit:o(e,"transit")?e.transit:void 0,walking:o(e,"walking")?e.walking:void 0}}function An(e){if(e!==void 0)return e===null?null:{driving:e.driving,transit:e.transit,walking:e.walking}}function uc(e){let t=!0;return t=t&&"name"in e,t}function dt(e){return Sn(e,!1)}function Sn(e,t){return e==null?e:{description:o(e,"description")?e.description:void 0,name:e.name,travelTimes:o(e,"travel_times")?gn(e.travel_times):void 0}}function st(e){if(e!==void 0)return e===null?null:{description:e.description,name:e.name,travel_times:An(e.travelTimes)}}function fc(e){let t=!0;return t=t&&"id"in e,t=t&&"latitude"in e,t=t&&"longitude"in e,t=t&&"name"in e,t=t&&"timezone"in e,t}function Rn(e){return Tn(e,!1)}function Tn(e,t){return e==null?e:{address:o(e,"address")?e.address:void 0,address2:o(e,"address2")?e.address2:void 0,amenities:o(e,"amenities")?Ke(e.amenities):void 0,checkInTime:o(e,"check_in_time")?e.check_in_time:void 0,checkOutTime:o(e,"check_out_time")?e.check_out_time:void 0,city:o(e,"city")?e.city:void 0,country:o(e,"country")?e.country:void 0,countryCode:o(e,"country_code")?e.country_code:void 0,currency:o(e,"currency")?oe(e.currency):void 0,description:o(e,"description")?e.description:void 0,distance:o(e,"distance")?e.distance:void 0,email:o(e,"email")?e.email:void 0,fax:o(e,"fax")?e.fax:void 0,hotelImages:o(e,"hotel_images")?e.hotel_images===null?null:e.hotel_images.map(le):void 0,hotelReviewRatings:o(e,"hotel_review_ratings")?e.hotel_review_ratings===null?null:e.hotel_review_ratings.map(at):void 0,id:e.id,images:o(e,"images")?rt(e.images):void 0,latitude:e.latitude,longitude:e.longitude,name:e.name,phone:o(e,"phone")?e.phone:void 0,policy:o(e,"policy")?e.policy:void 0,postalCode:o(e,"postal_code")?e.postal_code:void 0,rating:o(e,"rating")?e.rating:void 0,reviewCount:o(e,"review_count")?e.review_count:void 0,state:o(e,"state")?e.state:void 0,taId:o(e,"ta_id")?e.ta_id:void 0,timezone:e.timezone,venues:o(e,"venues")?e.venues.map(dt):void 0,website:o(e,"website")?e.website:void 0}}function lc(e){if(e!==void 0)return e===null?null:{address:e.address,address2:e.address2,amenities:Ye(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===void 0?void 0:e.hotelImages===null?null:e.hotelImages.map(ye),hotel_review_ratings:e.hotelReviewRatings===void 0?void 0:e.hotelReviewRatings===null?null:e.hotelReviewRatings.map(ct),id:e.id,images:ot(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===void 0?void 0:e.venues.map(st),website:e.website}}function mc(e){let t=!0;return t=t&&"hotelImages"in e,t=t&&"id"in e,t=t&&"latitude"in e,t=t&&"longitude"in e,t=t&&"name"in e,t=t&&"timezone"in e,t=t&&"hotelRoomOffers"in e,t}function wn(e){return kn(e,!1)}function kn(e,t){return e==null?e:{address:o(e,"address")?e.address:void 0,address2:o(e,"address2")?e.address2:void 0,amenities:o(e,"amenities")?Ke(e.amenities):void 0,checkInTime:o(e,"check_in_time")?e.check_in_time:void 0,checkOutTime:o(e,"check_out_time")?e.check_out_time:void 0,city:o(e,"city")?e.city:void 0,country:o(e,"country")?e.country:void 0,countryCode:o(e,"country_code")?e.country_code:void 0,currency:o(e,"currency")?oe(e.currency):void 0,description:o(e,"description")?e.description:void 0,distance:o(e,"distance")?e.distance:void 0,email:o(e,"email")?e.email:void 0,fax:o(e,"fax")?e.fax:void 0,hotelImages:e.hotel_images.map(le),hotelReviewRatings:o(e,"hotel_review_ratings")?e.hotel_review_ratings===null?null:e.hotel_review_ratings.map(at):void 0,id:e.id,images:o(e,"images")?rt(e.images):void 0,latitude:e.latitude,longitude:e.longitude,name:e.name,phone:o(e,"phone")?e.phone:void 0,policy:o(e,"policy")?e.policy:void 0,postalCode:o(e,"postal_code")?e.postal_code:void 0,rating:o(e,"rating")?e.rating:void 0,reviewCount:o(e,"review_count")?e.review_count:void 0,state:o(e,"state")?e.state:void 0,taId:o(e,"ta_id")?e.ta_id:void 0,timezone:e.timezone,venues:o(e,"venues")?e.venues.map(dt):void 0,website:o(e,"website")?e.website:void 0,hotelRoomOffers:e.hotel_room_offers.map(me),tags:o(e,"tags")?e.tags.map(Pe):void 0}}function Nn(e){if(e!==void 0)return e===null?null:{address:e.address,address2:e.address2,amenities:Ye(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(ye),hotel_review_ratings:e.hotelReviewRatings===void 0?void 0:e.hotelReviewRatings===null?null:e.hotelReviewRatings.map(ct),id:e.id,images:ot(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===void 0?void 0:e.venues.map(st),website:e.website,hotel_room_offers:e.hotelRoomOffers.map(he),tags:e.tags===void 0?void 0:e.tags.map(Ie)}}function hc(e){let t=!0;return t=t&&"hotelImages"in e,t=t&&"hotelRoomOffers"in e,t}function pc(e){return Mn(e,!1)}function Mn(e,t){return e==null?e:{hotelImages:e.hotel_images.map(le),hotelRoomOffers:e.hotel_room_offers.map(me),tags:o(e,"tags")?e.tags.map(Pe):void 0}}function yc(e){if(e!==void 0)return e===null?null:{hotel_images:e.hotelImages.map(ye),hotel_room_offers:e.hotelRoomOffers.map(he),tags:e.tags===void 0?void 0:e.tags.map(Ie)}}function Oc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"createdAt"in e,t=t&&"id"in e,t=t&&"latitude"in e,t=t&&"longitude"in e,t=t&&"roomCount"in e,t=t&&"sourceMarket"in e,t}function ut(e){return Cn(e,!1)}function Cn(e,t){return e==null?e:{address:o(e,"address")?e.address:void 0,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,createdAt:e.created_at,eventMetadata:o(e,"event_metadata")?ge(e.event_metadata):void 0,id:e.id,latitude:e.latitude,longitude:e.longitude,roomCount:e.room_count,sourceMarket:Oe(e.source_market)}}function gc(e){if(e!==void 0)return e===null?null:{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:_e(e.eventMetadata),id:e.id,latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount,source_market:e.sourceMarket}}function _c(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"roomCount"in e,t}function Ac(e){return Pn(e,!1)}function Pn(e,t){return e==null?e:{address:o(e,"address")?e.address:void 0,adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,eventMetadata:o(e,"event_metadata")?ge(e.event_metadata):void 0,latitude:o(e,"latitude")?e.latitude:void 0,longitude:o(e,"longitude")?e.longitude:void 0,roomCount:e.room_count}}function In(e){if(e!==void 0)return e===null?null:{address:e.address,adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:_e(e.eventMetadata),latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount}}var Sc={Complete:"COMPLETE",InProgress:"IN_PROGRESS"};function De(e){return Jn(e,!1)}function Jn(e,t){return e}function Rc(e){return e}function Tc(e){let t=!0;return t=t&&"totalCount"in e,t=t&&"status"in e,t}function Dn(e){return bn(e,!1)}function bn(e,t){return e==null?e:{endingBefore:o(e,"ending_before")?e.ending_before:void 0,limit:o(e,"limit")?e.limit:void 0,startingAfter:o(e,"starting_after")?e.starting_after:void 0,totalCount:e.total_count,status:De(e.status)}}function vn(e){if(e!==void 0)return e===null?null:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount,status:e.status}}function wc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"currency"in e,t=t&&"hotelOffers"in e,t}function Fn(e){return Hn(e,!1)}function Hn(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,currency:oe(e.currency),hotelOffers:e.hotel_offers.map(wn),priceHistogram:o(e,"price_histogram")?e.price_histogram:void 0,priceMax:o(e,"price_max")?e.price_max:void 0,priceMin:o(e,"price_min")?e.price_min:void 0}}function En(e){if(e!==void 0)return e===null?null:{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(Nn),price_histogram:e.priceHistogram,price_max:e.priceMax,price_min:e.priceMin}}function kc(e){let t=!0;return t=t&&"data"in e,t=t&&"meta"in e,t}function Ln(e){return Bn(e,!1)}function Bn(e,t){return e==null?e:{data:Fn(e.data),event:o(e,"event")?e.event:void 0,meta:Dn(e.meta)}}function Nc(e){if(e!==void 0)return e===null?null:{data:En(e.data),event:e.event,meta:vn(e.meta)}}function Mc(e){let t=!0;return t=t&&"totalCount"in e,t}function Cc(e){return Gn(e,!1)}function Gn(e,t){return e==null?e:{totalCount:e.total_count}}function Pc(e){if(e!==void 0)return e===null?null:{total_count:e.totalCount}}function Ic(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"currency"in e,t=t&&"hotelId"in e,t=t&&"hotelRoomOffer"in e,t}function Un(e){return qn(e,!1)}function qn(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,currency:oe(e.currency),hotelId:e.hotel_id,hotelRoomOffer:me(e.hotel_room_offer)}}function Jc(e){if(e!==void 0)return e===null?null:{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:he(e.hotelRoomOffer)}}function Dc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"hotelId"in e,t=t&&"roomCount"in e,t=t&&"createdAt"in e,t=t&&"id"in e,t=t&&"sourceMarket"in e,t}function ft(e){return $n(e,!1)}function $n(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,eventMetadata:o(e,"event_metadata")?ge(e.event_metadata):void 0,hotelId:e.hotel_id,roomCount:e.room_count,createdAt:e.created_at,id:e.id,sourceMarket:Oe(e.source_market)}}function bc(e){if(e!==void 0)return e===null?null:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:_e(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount,created_at:e.createdAt,id:e.id,source_market:e.sourceMarket}}function vc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"hotelId"in e,t=t&&"roomCount"in e,t}function Fc(e){return Kn(e,!1)}function Kn(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,eventMetadata:o(e,"event_metadata")?ge(e.event_metadata):void 0,hotelId:e.hotel_id,roomCount:e.room_count}}function Hc(e){if(e!==void 0)return e===null?null:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:_e(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount}}function Ec(e){let t=!0;return t=t&&"createdAt"in e,t=t&&"id"in e,t=t&&"sourceMarket"in e,t}function Lc(e){return Yn(e,!1)}function Yn(e,t){return e==null?e:{createdAt:e.created_at,id:e.id,sourceMarket:Oe(e.source_market)}}function Bc(e){if(e!==void 0)return e===null?null:{created_at:e.createdAt,id:e.id,source_market:e.sourceMarket}}function Gc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"hotelId"in e,t=t&&"roomCount"in e,t}function Uc(e){return zn(e,!1)}function zn(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,eventMetadata:o(e,"event_metadata")?ge(e.event_metadata):void 0,hotelId:e.hotel_id,roomCount:e.room_count}}function Vn(e){if(e!==void 0)return e===null?null:{adult_count:e.adultCount,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,event_metadata:_e(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount}}function qc(e){let t=!0;return t=t&&"adultCount"in e,t=t&&"checkInDate"in e,t=t&&"checkOutDate"in e,t=t&&"currency"in e,t=t&&"hotelId"in e,t=t&&"hotelRoomOffers"in e,t=t&&"hotelTimezone"in e,t}function Zn(e){return Wn(e,!1)}function Wn(e,t){return e==null?e:{adultCount:e.adult_count,checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:o(e,"children")?e.children:void 0,currency:oe(e.currency),hotelId:e.hotel_id,hotelRoomOffers:e.hotel_room_offers.map(me),hotelTimezone:e.hotel_timezone}}function Xn(e){if(e!==void 0)return e===null?null:{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(he),hotel_timezone:e.hotelTimezone}}function $c(e){let t=!0;return t=t&&"status"in e,t}function Qn(e){return xn(e,!1)}function xn(e,t){return e==null?e:{endingBefore:o(e,"ending_before")?e.ending_before:void 0,limit:o(e,"limit")?e.limit:void 0,startingAfter:o(e,"starting_after")?e.starting_after:void 0,totalCount:o(e,"total_count")?e.total_count:void 0,status:De(e.status)}}function jn(e){if(e!==void 0)return e===null?null:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount,status:e.status}}function Kc(e){let t=!0;return t=t&&"data"in e,t=t&&"meta"in e,t}function er(e){return tr(e,!1)}function tr(e,t){return e==null?e:{data:Zn(e.data),event:o(e,"event")?e.event:void 0,meta:Qn(e.meta)}}function Yc(e){if(e!==void 0)return e===null?null:{data:Xn(e.data),event:e.event,meta:jn(e.meta)}}function zc(e){let t=!0;return t=t&&"count"in e,t=t&&"hotelRoomOfferId"in e,t}function ir(e){return nr(e,!1)}function nr(e,t){return e==null?e:{breakfastCount:o(e,"breakfast_count")?e.breakfast_count:void 0,count:e.count,hotelRoomOfferId:e.hotel_room_offer_id}}function rr(e){if(e!==void 0)return e===null?null:{breakfast_count:e.breakfastCount,count:e.count,hotel_room_offer_id:e.hotelRoomOfferId}}function Vc(e){let t=!0;return t=t&&"currency"in e,t=t&&"hotelRoomOffers"in e,t}function Zc(e){return or(e,!1)}function or(e,t){return e==null?e:{addBreakfast:o(e,"add_breakfast")?e.add_breakfast:void 0,breakfastCount:o(e,"breakfast_count")?e.breakfast_count:void 0,currency:oe(e.currency),hotelRoomOffers:e.hotel_room_offers.map(ir),lang:o(e,"lang")?Ce(e.lang):void 0}}function ar(e){if(e!==void 0)return e===null?null:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,currency:e.currency,hotel_room_offers:e.hotelRoomOffers.map(rr),lang:e.lang}}function Wc(e){let t=!0;return t=t&&"fullname"in e,t=t&&"hotelRoomingListId"in e,t}function Xc(e){return cr(e,!1)}function cr(e,t){return e==null?e:{fullname:e.fullname,hotelRoomingListId:e.hotel_rooming_list_id}}function dr(e){if(e!==void 0)return e===null?null:{fullname:e.fullname,hotel_rooming_list_id:e.hotelRoomingListId}}function Qc(e){let t=!0;return t=t&&"fullname"in e,t}function xc(e){return sr(e,!1)}function sr(e,t){return e==null?e:{fullname:e.fullname}}function ur(e){if(e!==void 0)return e===null?null:{fullname:e.fullname}}function jc(e){let t=!0;return t=t&&"status"in e,t}function ed(e){return fr(e,!1)}function fr(e,t){return e==null?e:{status:De(e.status)}}function td(e){if(e!==void 0)return e===null?null:{status:e.status}}function id(e){let t=!0;return t=t&&"paymentMethods"in e,t}function nd(e){return lr(e,!1)}function lr(e,t){return e==null?e:{paymentMethods:e.payment_methods.map(tt)}}function mr(e){if(e!==void 0)return e===null?null:{payment_methods:e.paymentMethods.map(it)}}var hr=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/booking_policies/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>nt(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 G("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 a=await this.request({path:"/v1/booking_policies/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return new U(a,s=>s.map($t)).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 a=await this.request({path:"/v1/booking_policies",method:"POST",headers:r,query:b(n,I.Snake),body:b(dn(e.bookingPoliciesCreateApi),I.Snake)},t);return await new U(a,s=>nt(s)).value()}async create(e={},t){return this.createRaw(e,t)}},pr=class extends ee{async deleteRaw(e,t){if(e.token===null||e.token===void 0)throw new G("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:b({},I.Snake)},t);return await new U(n,r=>re(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 a=await this.request({path:"/v1/bookings",method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>ln(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 G("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 a=await this.request({path:"/v1/bookings/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>re(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async retrievePublicRaw(e,t){if(e.token===null||e.token===void 0)throw new G("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:b({},I.Snake)},t);return await new U(n,r=>re(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 a=await this.request({path:"/v1/bookings",method:"POST",headers:r,query:b(n,I.Snake),body:b(on(e.bookingCreateApi),I.Snake)},t);return await new U(a,s=>re(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 G("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new G("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 a=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:b(n,I.Snake)},t);return await new U(a,s=>re(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 G("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 a=await this.request({path:"/v1/bookings/{id}/pay-later".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>re(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 G("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 a=await this.request({path:"/v1/bookings/{id}/pay-later/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>re(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 G("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 a=await this.request({path:"/v1/bookings/{id}/confirm".replace("{id}",encodeURIComponent(String(e.id))),method:"POST",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>re(s)).value()}async confirm(e,t){return this.confirmRaw(e,t)}async updatePaymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/bookings/{id}/payment_methods".replace("{id}",encodeURIComponent(String(e.id))),method:"PUT",headers:r,query:b(n,I.Snake),body:b(mr(e.paymentMethodUpdatePayloadApi),I.Snake)},t);return await new U(a,s=>re(s)).value()}async updatePaymentMethods(e,t){return this.updatePaymentMethodsRaw(e,t)}},rd={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},od={Asc:"asc",Desc:"desc"},yr=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/hotels/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return new U(a,s=>s.map(le)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Or=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/hotel_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>ut(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 a=await this.request({path:"/v1/hotel_offer_requests",method:"POST",headers:r,query:b(n,I.Snake),body:b(In(e.hotelOfferRequestCreateApi),I.Snake)},t);return await new U(a,s=>ut(s)).value()}async create(e={},t){return this.createRaw(e,t)}},gr=class extends ee{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new G("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new G("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 a=await this.request({path:"/v1/hotel_offers",method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>Ln(s)).value()}async list(e,t,n){return await Ct(()=>this.listRaw(e,n),{type:gt.HOTEL_SEARCH_POLLING,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}},ad={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},cd={Asc:"asc",Desc:"desc"},_r=class extends ee{async deleteRaw(e,t){if(e.id===null||e.id===void 0)throw new G("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new G("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:b({},I.Snake)},t);return new Jt(n)}async delete(e,t){return this.deleteRaw(e,t)}async updateRaw(e,t){if(e.id===null||e.id===void 0)throw new G("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new G("token","Required parameter requestParameters.token was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");const n={},r={};r["Content-Type"]="application/json";const a=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:b(n,I.Snake),body:b(ur(e.hotelRoomingListGuestsUpdateApi),I.Snake)},t);return await new U(a,s=>Je(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 G("token","Required parameter requestParameters.token was null or undefined when calling postV1HotelRoomingListGuestsToken.");const n={},r={};r["Content-Type"]="application/json";const a=await this.request({path:"/v1/hotel_rooming_list_guests/{token}".replace("{token}",encodeURIComponent(String(e.token))),method:"POST",headers:r,query:b(n,I.Snake),body:b(dr(e.hotelRoomingListGuestsCreateApi),I.Snake)},t);return await new U(a,s=>Je(s)).value()}async create(e,t){return this.createRaw(e,t)}},Ar=class extends ee{async listRaw(e,t){if(e.token===null||e.token===void 0)throw new G("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:b(n,I.Snake)},t);return new U(r,a=>a.map(Xe)).value()}async list(e,t){return this.listRaw(e,t)}},Sr=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/hotel_room_offers/{id}/images".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>b(s,I.Camel)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Rr=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/hotel_room_offer_requests/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>ft(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 a=await this.request({path:"/v1/hotel_room_offer_requests",method:"POST",headers:r,query:b(n,I.Snake),body:b(Vn(e.hotelRoomOfferRequestCreateApi),I.Snake)},t);return await new U(a,s=>ft(s)).value()}async create(e={},t){return this.createRaw(e,t)}},Tr=class extends ee{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new G("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new G("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 a=await this.request({path:"/v1/hotel_room_offers",method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>er(s)).value()}async list(e,t,n){return await Ct(()=>this.listRaw(e,n),{type:gt.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 a=await this.request({path:"/v1/hotel_room_offers",method:"POST",headers:r,query:b(n,I.Snake),body:b(ar(e.hotelRoomOffersCreateApi),I.Snake)},t);return await new U(a,s=>Un(s)).value()}async create(e={},t){return this.createRaw(e,t)}},wr=class extends ee{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new G("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 a=await this.request({path:"/v1/hotels/{id}".replace("{id}",encodeURIComponent(String(e.id))),method:"GET",headers:r,query:b(n,I.Snake)},t);return await new U(a,s=>Rn(s)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},kr=e=>({bookingPolicies:new hr(e),bookings:new pr(e),hotelImages:new yr(e),hotelOfferRequests:new Or(e),hotelOffers:new gr(e),hotelRoomingListGuests:new _r(e),hotelRoomingLists:new Ar(e),hotelRoomOfferImages:new Sr(e),hotelRoomOfferRequests:new Rr(e),hotelRoomOffers:new Tr(e),hotels:new wr(e)});function dd(e){switch(e){case ie.CiCd:return"AUTH_TOKEN_CICD";case ie.Local:return"AUTH_TOKEN_LOCAL";case ie.Production:return"AUTH_TOKEN";case ie.Sandbox:return"AUTH_TOKEN_SANDBOX";case ie.Staging:return"AUTH_TOKEN_STAGING";case void 0:default:return"AUTH_TOKEN"}}function Nr(e){return!!(typeof document<"u"&&document?.cookie&&document.cookie.split(";").find(t=>t.includes(dd(e))))}var sd=class{constructor(e){this.config=e}async pre(e){return e.init.mode="cors",Nr(this.config.apiEnvironment)&&(e.init.credentials="include"),e}},ud=class{constructor(e){this.config=e}async pre(e){return Nr(this.config.apiEnvironment)&&(e.init.headers={...e.init.headers,"x-auth-type":"user"}),e}},fd=class{apiVersionsToClient;constructor(e){if(this.config=e,!e.apiVersion||!Object.values(Ot).includes(e.apiVersion))throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Ot))}`);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??Dr[n];n===ie.Local&&(r="http://127.0.0.1:3001"),this.apiVersionsToClient={v1:kr(new Le({basePath:r,fetchApi:vr.default,headers:t,middleware:[new sd(this.config),new ud(this.config)]}))}}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=$t,i.AllowedPaymentMethodApiFromJSONTyped=Kt,i.AllowedPaymentMethodApiOneOf1FromJSON=Bo,i.AllowedPaymentMethodApiOneOf1FromJSONTyped=Ue,i.AllowedPaymentMethodApiOneOf1NameEnum=Lo,i.AllowedPaymentMethodApiOneOf1ToJSON=Ft,i.AllowedPaymentMethodApiOneOf2FromJSON=Uo,i.AllowedPaymentMethodApiOneOf2FromJSONTyped=qe,i.AllowedPaymentMethodApiOneOf2NameEnum=Go,i.AllowedPaymentMethodApiOneOf2ToJSON=Et,i.AllowedPaymentMethodApiOneOf3FromJSON=Yo,i.AllowedPaymentMethodApiOneOf3FromJSONTyped=$e,i.AllowedPaymentMethodApiOneOf3NameEnum=Ko,i.AllowedPaymentMethodApiOneOf3PayloadFromJSON=Lt,i.AllowedPaymentMethodApiOneOf3PayloadFromJSONTyped=Bt,i.AllowedPaymentMethodApiOneOf3PayloadStatusEnum=qo,i.AllowedPaymentMethodApiOneOf3PayloadToJSON=Gt,i.AllowedPaymentMethodApiOneOf3ToJSON=qt,i.AllowedPaymentMethodApiOneOfFromJSON=Eo,i.AllowedPaymentMethodApiOneOfFromJSONTyped=Ge,i.AllowedPaymentMethodApiOneOfNameEnum=Ho,i.AllowedPaymentMethodApiOneOfToJSON=bt,i.AllowedPaymentMethodApiToJSON=zo,i.AmenitiesApiFromJSON=Ke,i.AmenitiesApiFromJSONTyped=Yt,i.AmenitiesApiToJSON=Ye,i.ApiClient=fd,i.BASE_PATH=Pt,i.BaseAPI=ee,i.BedApiFromJSON=Wo,i.BedApiFromJSONTyped=zt,i.BedApiToJSON=Xo,i.BlobApiResponse=Fo,i.BookingApiFromJSON=re,i.BookingApiFromJSONTyped=Yi,i.BookingApiPayLaterEnum=Ba,i.BookingApiStatusEnum=Ga,i.BookingApiToJSON=zi,i.BookingCreateApiFromJSON=Za,i.BookingCreateApiFromJSONTyped=rn,i.BookingCreateApiGuestsListInnerFromJSON=Xi,i.BookingCreateApiGuestsListInnerFromJSONTyped=Qi,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSON=Vi,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped=Zi,i.BookingCreateApiGuestsListInnerGuestsInnerToJSON=Wi,i.BookingCreateApiGuestsListInnerToJSON=xi,i.BookingCreateApiToJSON=on,i.BookingPolicies=hr,i.BookingPoliciesApiFromJSON=nt,i.BookingPoliciesApiFromJSONTyped=an,i.BookingPoliciesApiToJSON=Xa,i.BookingPoliciesCreateApiFromJSON=xa,i.BookingPoliciesCreateApiFromJSONTyped=cn,i.BookingPoliciesCreateApiToJSON=dn,i.Bookings=pr,i.BookingsApiResponseFromJSON=ln,i.BookingsApiResponseFromJSONTyped=mn,i.BookingsApiResponseToJSON=tc,i.BookingsSortByEnum=rd,i.BookingsSortByOrderEnum=od,i.COLLECTION_FORMATS=Jo,i.CancellationPolicyApiFromJSON=ke,i.CancellationPolicyApiFromJSONTyped=Vt,i.CancellationPolicyApiToJSON=Ne,i.Configuration=Le,i.ContactPersonApiFromJSON=ze,i.ContactPersonApiFromJSONTyped=jt,i.ContactPersonApiSalutationEnum=na,i.ContactPersonApiToJSON=Ve,i.ContactPersonOrganizationApiFromJSON=Wt,i.ContactPersonOrganizationApiFromJSONTyped=Xt,i.ContactPersonOrganizationApiToJSON=Qt,i.CountryIso2Code=xo,i.CountryIso2CodeFromJSON=Me,i.CountryIso2CodeFromJSONTyped=Zt,i.CountryIso2CodeToJSON=jo,i.CurrencyClient=oa,i.CurrencyClientFromJSON=oe,i.CurrencyClientFromJSONTyped=ei,i.CurrencyClientToJSON=aa,i.ErrorApiResponseFromJSON=rc,i.ErrorApiResponseFromJSONTyped=hn,i.ErrorApiResponseToJSON=oc,i.ErrorApiResponseTypeEnum=ic,i.EventApiFromJSON=ti,i.EventApiFromJSONTyped=ii,i.EventApiToJSON=ni,i.EventMetadataApiFromJSON=ge,i.EventMetadataApiFromJSONTyped=pn,i.EventMetadataApiToJSON=_e,i.HotelApiFromJSON=Rn,i.HotelApiFromJSONTyped=Tn,i.HotelApiImagesFromJSON=rt,i.HotelApiImagesFromJSONTyped=yn,i.HotelApiImagesToJSON=ot,i.HotelApiToJSON=lc,i.HotelImageApiFromJSON=le,i.HotelImageApiFromJSONTyped=ri,i.HotelImageApiToJSON=ye,i.HotelImages=yr,i.HotelOfferApiAllOfFromJSON=pc,i.HotelOfferApiAllOfFromJSONTyped=Mn,i.HotelOfferApiAllOfToJSON=yc,i.HotelOfferApiFromJSON=wn,i.HotelOfferApiFromJSONTyped=kn,i.HotelOfferApiToJSON=Nn,i.HotelOfferRequestApiResponseFromJSON=ut,i.HotelOfferRequestApiResponseFromJSONTyped=Cn,i.HotelOfferRequestApiResponseToJSON=gc,i.HotelOfferRequestCreateApiFromJSON=Ac,i.HotelOfferRequestCreateApiFromJSONTyped=Pn,i.HotelOfferRequestCreateApiToJSON=In,i.HotelOfferRequests=Or,i.HotelOffers=gr,i.HotelOffersApiResponseFromJSON=Ln,i.HotelOffersApiResponseFromJSONTyped=Bn,i.HotelOffersApiResponseMetaAllOfFromJSON=Cc,i.HotelOffersApiResponseMetaAllOfFromJSONTyped=Gn,i.HotelOffersApiResponseMetaAllOfToJSON=Pc,i.HotelOffersApiResponseMetaFromJSON=Dn,i.HotelOffersApiResponseMetaFromJSONTyped=bn,i.HotelOffersApiResponseMetaToJSON=vn,i.HotelOffersApiResponseToJSON=Nc,i.HotelOffersDataApiResponseFromJSON=Fn,i.HotelOffersDataApiResponseFromJSONTyped=Hn,i.HotelOffersDataApiResponseToJSON=En,i.HotelOffersSortByEnum=ad,i.HotelOffersSortByOrderEnum=cd,i.HotelReviewRatingApiFromJSON=at,i.HotelReviewRatingApiFromJSONTyped=On,i.HotelReviewRatingApiToJSON=ct,i.HotelRoomApiFromJSON=oi,i.HotelRoomApiFromJSONTyped=ai,i.HotelRoomApiToJSON=ci,i.HotelRoomOfferApiBreakfastOptionEnum=ya,i.HotelRoomOfferApiFromJSON=me,i.HotelRoomOfferApiFromJSONTyped=fi,i.HotelRoomOfferApiPackageTypeEnum=Oa,i.HotelRoomOfferApiResponseFromJSON=Un,i.HotelRoomOfferApiResponseFromJSONTyped=qn,i.HotelRoomOfferApiResponseToJSON=Jc,i.HotelRoomOfferApiStayTaxesInfoEnum=ga,i.HotelRoomOfferApiToJSON=he,i.HotelRoomOfferApiTypeEnum=_a,i.HotelRoomOfferImages=Sr,i.HotelRoomOfferRequestApiResponseAllOf1FromJSON=Lc,i.HotelRoomOfferRequestApiResponseAllOf1FromJSONTyped=Yn,i.HotelRoomOfferRequestApiResponseAllOf1ToJSON=Bc,i.HotelRoomOfferRequestApiResponseAllOfFromJSON=Fc,i.HotelRoomOfferRequestApiResponseAllOfFromJSONTyped=Kn,i.HotelRoomOfferRequestApiResponseAllOfToJSON=Hc,i.HotelRoomOfferRequestApiResponseFromJSON=ft,i.HotelRoomOfferRequestApiResponseFromJSONTyped=$n,i.HotelRoomOfferRequestApiResponseToJSON=bc,i.HotelRoomOfferRequestCreateApiFromJSON=Uc,i.HotelRoomOfferRequestCreateApiFromJSONTyped=zn,i.HotelRoomOfferRequestCreateApiToJSON=Vn,i.HotelRoomOfferRequests=Rr,i.HotelRoomOffers=Tr,i.HotelRoomOffersApiResponseFromJSON=er,i.HotelRoomOffersApiResponseFromJSONTyped=tr,i.HotelRoomOffersApiResponseToJSON=Yc,i.HotelRoomOffersCreateApiFromJSON=Zc,i.HotelRoomOffersCreateApiFromJSONTyped=or,i.HotelRoomOffersCreateApiToJSON=ar,i.HotelRoomOffersDataApiResponseFromJSON=Zn,i.HotelRoomOffersDataApiResponseFromJSONTyped=Wn,i.HotelRoomOffersDataApiResponseToJSON=Xn,i.HotelRoomOffersDataCreateApiFromJSON=ir,i.HotelRoomOffersDataCreateApiFromJSONTyped=nr,i.HotelRoomOffersDataCreateApiToJSON=rr,i.HotelRoomingListApiFromJSON=Xe,i.HotelRoomingListApiFromJSONTyped=Oi,i.HotelRoomingListApiHotelRoomFromJSON=li,i.HotelRoomingListApiHotelRoomFromJSONTyped=mi,i.HotelRoomingListApiHotelRoomToJSON=hi,i.HotelRoomingListApiToJSON=gi,i.HotelRoomingListGuestApiFromJSON=Je,i.HotelRoomingListGuestApiFromJSONTyped=pi,i.HotelRoomingListGuestApiToJSON=yi,i.HotelRoomingListGuests=_r,i.HotelRoomingListGuestsCreateApiFromJSON=Xc,i.HotelRoomingListGuestsCreateApiFromJSONTyped=cr,i.HotelRoomingListGuestsCreateApiToJSON=dr,i.HotelRoomingListGuestsUpdateApiFromJSON=xc,i.HotelRoomingListGuestsUpdateApiFromJSONTyped=sr,i.HotelRoomingListGuestsUpdateApiToJSON=ur,i.HotelRoomingLists=Ar,i.Hotels=wr,i.InvoiceApiFromJSON=_i,i.InvoiceApiFromJSONTyped=Ai,i.InvoiceApiToJSON=Si,i.InvoiceApiTypeEnum=wa,i.JSONApiResponse=U,i.Locale=ta,i.LocaleFromJSON=Ce,i.LocaleFromJSONTyped=xt,i.LocaleToJSON=ia,i.MetaPollingResponseApiAllOfFromJSON=ed,i.MetaPollingResponseApiAllOfFromJSONTyped=fr,i.MetaPollingResponseApiAllOfToJSON=td,i.MetaPollingResponseApiFromJSON=Qn,i.MetaPollingResponseApiFromJSONTyped=xn,i.MetaPollingResponseApiToJSON=jn,i.MetaResponseApiFromJSON=sn,i.MetaResponseApiFromJSONTyped=un,i.MetaResponseApiToJSON=fn,i.PaymentMethodApiFromJSON=qi,i.PaymentMethodApiFromJSONTyped=$i,i.PaymentMethodApiOneOf1FromJSON=Ja,i.PaymentMethodApiOneOf1FromJSONTyped=xe,i.PaymentMethodApiOneOf1NameEnum=Ia,i.PaymentMethodApiOneOf1PayloadFromJSON=Mi,i.PaymentMethodApiOneOf1PayloadFromJSONTyped=Ci,i.PaymentMethodApiOneOf1PayloadToJSON=Pi,i.PaymentMethodApiOneOf1ToJSON=Ji,i.PaymentMethodApiOneOf2FromJSON=va,i.PaymentMethodApiOneOf2FromJSONTyped=je,i.PaymentMethodApiOneOf2NameEnum=ba,i.PaymentMethodApiOneOf2PayloadFromJSON=Di,i.PaymentMethodApiOneOf2PayloadFromJSONTyped=bi,i.PaymentMethodApiOneOf2PayloadToJSON=vi,i.PaymentMethodApiOneOf2ToJSON=Hi,i.PaymentMethodApiOneOf3FromJSON=La,i.PaymentMethodApiOneOf3FromJSONTyped=et,i.PaymentMethodApiOneOf3NameEnum=Ea,i.PaymentMethodApiOneOf3PayloadFromJSON=Ei,i.PaymentMethodApiOneOf3PayloadFromJSONTyped=Li,i.PaymentMethodApiOneOf3PayloadStatusEnum=Fa,i.PaymentMethodApiOneOf3PayloadToJSON=Bi,i.PaymentMethodApiOneOf3ToJSON=Ui,i.PaymentMethodApiOneOfFromJSON=Ca,i.PaymentMethodApiOneOfFromJSONTyped=Qe,i.PaymentMethodApiOneOfNameEnum=Ma,i.PaymentMethodApiOneOfPayloadFromJSON=Ri,i.PaymentMethodApiOneOfPayloadFromJSONTyped=Ti,i.PaymentMethodApiOneOfPayloadToJSON=wi,i.PaymentMethodApiOneOfToJSON=Ni,i.PaymentMethodApiToJSON=Ki,i.PaymentMethodRequestApiFromJSON=tt,i.PaymentMethodRequestApiFromJSONTyped=nn,i.PaymentMethodRequestApiNameEnum=Ya,i.PaymentMethodRequestApiToJSON=it,i.PaymentMethodRequestPayloadApiFromJSON=ji,i.PaymentMethodRequestPayloadApiFromJSONTyped=en,i.PaymentMethodRequestPayloadApiToJSON=tn,i.PaymentMethodUpdatePayloadApiFromJSON=nd,i.PaymentMethodUpdatePayloadApiFromJSONTyped=lr,i.PaymentMethodUpdatePayloadApiToJSON=mr,i.PollerStatus=Sc,i.PollerStatusFromJSON=De,i.PollerStatusFromJSONTyped=Jn,i.PollerStatusToJSON=Rc,i.RequiredError=G,i.ResponseError=It,i.SourceMarket=ua,i.SourceMarketFromJSON=Oe,i.SourceMarketFromJSONTyped=di,i.SourceMarketToJSON=fa,i.TagApiFromJSON=Pe,i.TagApiFromJSONTyped=si,i.TagApiToJSON=Ie,i.TaxApiFromJSON=Ze,i.TaxApiFromJSONTyped=ui,i.TaxApiTaxFrequencyEnum=ma,i.TaxApiTaxModeEnum=ha,i.TaxApiToJSON=We,i.TextApiResponse=Jt,i.TravelTimesApiFromJSON=dt,i.TravelTimesApiFromJSONTyped=Sn,i.TravelTimesApiToJSON=st,i.TravelTimesApiTravelTimesFromJSON=gn,i.TravelTimesApiTravelTimesFromJSONTyped=_n,i.TravelTimesApiTravelTimesToJSON=An,i.VoidApiResponse=vo,i.canConsumeForm=bo,i.exists=o,i.instanceOfAllowedPaymentMethodApiOneOf=Dt,i.instanceOfAllowedPaymentMethodApiOneOf1=vt,i.instanceOfAllowedPaymentMethodApiOneOf2=Ht,i.instanceOfAllowedPaymentMethodApiOneOf3=Ut,i.instanceOfAllowedPaymentMethodApiOneOf3Payload=$o,i.instanceOfAmenitiesApi=Vo,i.instanceOfBedApi=Zo,i.instanceOfBookingApi=Ua,i.instanceOfBookingCreateApi=Va,i.instanceOfBookingCreateApiGuestsListInner=$a,i.instanceOfBookingCreateApiGuestsListInnerGuestsInner=qa,i.instanceOfBookingPoliciesApi=Wa,i.instanceOfBookingPoliciesCreateApi=Qa,i.instanceOfBookingsApiResponse=ec,i.instanceOfCancellationPolicyApi=Qo,i.instanceOfContactPersonApi=ra,i.instanceOfContactPersonOrganizationApi=ea,i.instanceOfErrorApiResponse=nc,i.instanceOfEventApi=ca,i.instanceOfEventMetadataApi=ac,i.instanceOfHotelApi=fc,i.instanceOfHotelApiImages=cc,i.instanceOfHotelImageApi=da,i.instanceOfHotelOfferApi=mc,i.instanceOfHotelOfferApiAllOf=hc,i.instanceOfHotelOfferRequestApiResponse=Oc,i.instanceOfHotelOfferRequestCreateApi=_c,i.instanceOfHotelOffersApiResponse=kc,i.instanceOfHotelOffersApiResponseMeta=Tc,i.instanceOfHotelOffersApiResponseMetaAllOf=Mc,i.instanceOfHotelOffersDataApiResponse=wc,i.instanceOfHotelReviewRatingApi=dc,i.instanceOfHotelRoomApi=sa,i.instanceOfHotelRoomOfferApi=Aa,i.instanceOfHotelRoomOfferApiResponse=Ic,i.instanceOfHotelRoomOfferRequestApiResponse=Dc,i.instanceOfHotelRoomOfferRequestApiResponseAllOf=vc,i.instanceOfHotelRoomOfferRequestApiResponseAllOf1=Ec,i.instanceOfHotelRoomOfferRequestCreateApi=Gc,i.instanceOfHotelRoomOffersApiResponse=Kc,i.instanceOfHotelRoomOffersCreateApi=Vc,i.instanceOfHotelRoomOffersDataApiResponse=qc,i.instanceOfHotelRoomOffersDataCreateApi=zc,i.instanceOfHotelRoomingListApi=Ta,i.instanceOfHotelRoomingListApiHotelRoom=Sa,i.instanceOfHotelRoomingListGuestApi=Ra,i.instanceOfHotelRoomingListGuestsCreateApi=Wc,i.instanceOfHotelRoomingListGuestsUpdateApi=Qc,i.instanceOfInvoiceApi=ka,i.instanceOfMetaPollingResponseApi=$c,i.instanceOfMetaPollingResponseApiAllOf=jc,i.instanceOfMetaResponseApi=ja,i.instanceOfPaymentMethodApiOneOf=ki,i.instanceOfPaymentMethodApiOneOf1=Ii,i.instanceOfPaymentMethodApiOneOf1Payload=Pa,i.instanceOfPaymentMethodApiOneOf2=Fi,i.instanceOfPaymentMethodApiOneOf2Payload=Da,i.instanceOfPaymentMethodApiOneOf3=Gi,i.instanceOfPaymentMethodApiOneOf3Payload=Ha,i.instanceOfPaymentMethodApiOneOfPayload=Na,i.instanceOfPaymentMethodRequestApi=za,i.instanceOfPaymentMethodRequestPayloadApi=Ka,i.instanceOfPaymentMethodUpdatePayloadApi=id,i.instanceOfTagApi=la,i.instanceOfTaxApi=pa,i.instanceOfTravelTimesApi=uc,i.instanceOfTravelTimesApiTravelTimes=sc,i.mapValues=Do,i.querystring=Be,i.v1ApiClient=kr});
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,Rt=Object.defineProperty,qo=Object.getOwnPropertyDescriptor,$o=Object.getOwnPropertyNames,Yo=Object.getPrototypeOf,Ko=Object.prototype.hasOwnProperty,X=(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),d=0,u=o.length,c;d<u;d++)c=o[d],!Ko.call(e,c)&&c!==n&&Rt(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?Rt(n,"default",{value:e,enumerable:!0}):n,e)),Nt=(function(e){return e.V1="v1",e})({}),te=(function(e){return e.CiCd="CI-CD",e.Local="LOCAL",e.Production="LIVE",e.Sandbox="SANDBOX",e.Staging="STAGING",e})({}),Vo={[te.CiCd]:"https://booking-api.staging.revolugo.com",[te.Local]:"http://127.0.0.1:3001",[te.Production]:"https://booking-api.revolugo.com",[te.Sandbox]:"https://booking-api.sandbox.revolugo.com",[te.Staging]:"https://booking-api.staging.revolugo.com"},B=(function(e){return e.de_DE="de-DE",e.en_US="en-US",e.es_ES="es-ES",e.fr_FR="fr-FR",e.it_IT="it-IT",e.nl_NL="nl-NL",e.pt_PT="pt-PT",e})({}),V=(function(e){return e.DE="de",e.EN="en",e.ES="es",e.FR="fr",e.IT="it",e.NL="nl",e.PT="pt",e})({}),Hc={[V.DE]:B.de_DE,[V.EN]:B.en_US,[V.ES]:B.es_ES,[V.FR]:B.fr_FR,[V.IT]:B.it_IT,[V.NL]:B.nl_NL,[V.PT]:B.pt_PT},Fc={[B.de_DE]:V.DE,[B.en_US]:V.EN,[B.es_ES]:V.ES,[B.fr_FR]:V.FR,[B.it_IT]:V.IT,[B.nl_NL]:V.NL,[B.pt_PT]:V.PT},Ec={[B.de_DE]:{code:B.de_DE,countryCode:"DE",icon:"🇩🇪",locale:V.DE,name:"Deutsch"},[B.en_US]:{code:B.en_US,countryCode:"US",icon:"🇺🇸",locale:V.EN,name:"English"},[B.es_ES]:{code:B.es_ES,countryCode:"ES",icon:"🇪🇸",locale:V.ES,name:"Español"},[B.fr_FR]:{code:B.fr_FR,countryCode:"FR",icon:"🇫🇷",locale:V.FR,name:"Français"},[B.it_IT]:{code:B.it_IT,countryCode:"IT",icon:"🇮🇹",locale:V.IT,name:"Italiano"},[B.nl_NL]:{code:B.nl_NL,countryCode:"NL",icon:"🇳🇱",locale:V.NL,name:"Nederlands"},[B.pt_PT]:{code:B.pt_PT,countryCode:"PT",icon:"🇵🇹",locale:V.PT,name:"Português"}},Lc=B.fr_FR,Ct=(function(e){return e.HOTEL_ROOM_OFFERS="HOTEL_ROOM_OFFERS",e.HOTEL_SEARCH_POLLING="HOTEL_SEARCH_POLLING",e})({}),Zo=X(((e,t)=>{var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,r=(function(){function d(){this.fetch=!1,this.DOMException=n.DOMException}return d.prototype=n,new d})();(function(d){(function(u){var c=typeof d<"u"&&d||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 P(a){var s={next:function(){var f=a.shift();return{done:f===void 0,value:f}}};return p.iterable&&(s[Symbol.iterator]=function(){return s}),s}function m(a){this.map={},a instanceof m?a.forEach(function(s,f){this.append(f,s)},this):Array.isArray(a)?a.forEach(function(s){if(s.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+s.length);this.append(s[0],s[1])},this):a&&Object.getOwnPropertyNames(a).forEach(function(s){this.append(s,a[s])},this)}m.prototype.append=function(a,s){a=g(a),s=w(s);var f=this.map[a];this.map[a]=f?f+", "+s:s},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,s){this.map[g(a)]=w(s)},m.prototype.forEach=function(a,s){for(var f in this.map)this.map.hasOwnProperty(f)&&a.call(s,this.map[f],f,this)},m.prototype.keys=function(){var a=[];return this.forEach(function(s,f){a.push(f)}),P(a)},m.prototype.values=function(){var a=[];return this.forEach(function(s){a.push(s)}),P(a)},m.prototype.entries=function(){var a=[];return this.forEach(function(s,f){a.push([f,s])}),P(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(s,f){a.onload=function(){s(a.result)},a.onerror=function(){f(a.error)}})}function C(a){var s=new FileReader,f=S(s);return s.readAsArrayBuffer(a),f}function N(a){var s=new FileReader,f=S(s),l=/charset=([A-Za-z0-9_-]+)/.exec(a.type),O=l?l[1]:"utf-8";return s.readAsText(a,O),f}function b(a){for(var s=new Uint8Array(a),f=new Array(s.length),l=0;l<s.length;l++)f[l]=String.fromCharCode(s[l]);return f.join("")}function I(a){if(a.slice)return a.slice(0);var s=new Uint8Array(a.byteLength);return s.set(new Uint8Array(a)),s.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 U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function q(a){var s=a.toUpperCase();return U.indexOf(s)>-1?s:a}function L(a,s){if(!(this instanceof L))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');s=s||{};var f=s.body;if(a instanceof L){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url,this.credentials=a.credentials,s.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=s.credentials||this.credentials||"same-origin",(s.headers||!this.headers)&&(this.headers=new m(s.headers)),this.method=q(s.method||this.method||"GET"),this.mode=s.mode||this.mode||null,this.signal=s.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")&&(s.cache==="no-store"||s.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 s=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," ");s.append(decodeURIComponent(O),decodeURIComponent(y))}}),s}function J(a){var s=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{s.append(O,y)}catch(M){console.warn("Response "+M.message)}}}),s}E.call(L.prototype);function $(a,s){if(!(this instanceof $))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(s||(s={}),this.type="default",this.status=s.status===void 0?200:s.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=s.statusText===void 0?"":""+s.statusText,this.headers=new m(s.headers),this.url=s.url||"",this._initBody(a)}E.call($.prototype),$.prototype.clone=function(){return new $(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},$.error=function(){var a=new $(null,{status:200,statusText:""});return a.ok=!1,a.status=0,a.type="error",a};var Q=[301,302,303,307,308];$.redirect=function(a,s){if(Q.indexOf(s)===-1)throw new RangeError("Invalid status code");return new $(null,{status:s,headers:{location:a}})},u.DOMException=c.DOMException;try{new u.DOMException}catch{u.DOMException=function(s,f){this.message=s,this.name=f;var l=Error(s);this.stack=l.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function R(a,s){return new Promise(function(f,l){var O=new L(a,s);if(O.signal&&O.signal.aborted)return l(new u.DOMException("Aborted","AbortError"));var y=new XMLHttpRequest;function M(){y.abort()}y.onload=function(){var H={statusText:y.statusText,headers:J(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 z="response"in y?y.response:y.responseText;setTimeout(function(){f(new $(z,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 Y(H){try{return H===""&&c.location.href?c.location.href:H}catch{return H}}if(y.open(O.method,Y(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")),s&&typeof s.headers=="object"&&!(s.headers instanceof m||c.Headers&&s.headers instanceof c.Headers)){var K=[];Object.getOwnPropertyNames(s.headers).forEach(function(H){K.push(g(H)),y.setRequestHeader(H,w(s.headers[H]))}),O.headers.forEach(function(H,z){K.indexOf(z)===-1&&y.setRequestHeader(z,H)})}else O.headers.forEach(function(H,z){y.setRequestHeader(z,H)});O.signal&&(O.signal.addEventListener("abort",M),y.onreadystatechange=function(){y.readyState===4&&O.signal.removeEventListener("abort",M)}),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=$),u.Headers=m,u.Request=L,u.Response=$,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,wt="$1\0$2",Pt="";function kt(e){let t=e.trim();t=t.replace(Xo,wt).replace(Qo,wt),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=kt(e);for(let n=0;n<t.length;n++){const r=t[n],o=xo.exec(r);if(o){const d=o.index+(o[1]??o[2]).length;t.splice(n,1,r.slice(0,d),r.slice(d))}}return t}function Mt(e,t){const[n,r,o]=Se(e,t);return n+r.map(Te(t?.locale)).join(t?.delimiter??" ")+o}function ta(e,t){const[n,r,o]=Se(e,t),d=Te(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(d,u):Dt(d,u);return n+r.map((p,T)=>T===0?d(p):c(p,T)).join(t?.delimiter??"")+o}function ia(e,t){const[n,r,o]=Se(e,t),d=Te(t?.locale),u=Le(t?.locale),c=t?.mergeAmbiguousCharacters?Be(d,u):Dt(d,u);return n+r.map(c).join(t?.delimiter??"")+o}function na(e,t){const[n,r,o]=Se(e,t),d=Te(t?.locale),u=Le(t?.locale);return n+r.map(Be(d,u)).join(t?.delimiter??" ")+o}function Jt(e,t){return Mt(e,{delimiter:"-",...t})}function ra(e,t){return Mt(e,{delimiter:"_",...t})}function Te(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 Dt(e,t){return(n,r)=>{const o=n[0];return(r>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(n.slice(1))}}function Se(e,t={}){const n=t.split??(t.separateNumbers?ea:kt),r=t.prefixCharacters??Pt,o=t.suffixCharacters??Pt;let d=0,u=e.length;for(;d<e.length;){const c=e.charAt(d);if(!r.includes(c))break;d++}for(;u>d;){const c=u-1,p=e.charAt(c);if(!o.includes(p))break;u=c}return[e.slice(0,d),n(e.slice(d,u)),e.slice(u)]}var oa=X(((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(d,u){if(typeof d!="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,_=d.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(d){Object.assign(n,d)},o})})),aa=x(oa(),1);function sa(e){return(0,aa.default)(Jt(e),{lower:!0,strict:!0})}var k=(function(e){return e.Camel="camelCase",e.Capital="capitalCase",e.Param="paramCase",e.Pascal="pascalCase",e.Slug="slugCase",e.Snake="snakeCase",e})({}),da={[k.Camel]:ta,[k.Capital]:na,[k.Param]:Jt,[k.Pascal]:ia,[k.Slug]:sa,[k.Snake]: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 D(e,t,n={deep:!0}){return ua(e)&&!(e instanceof Date)?Object.keys(e).reduce((r,o)=>{const d=n?.exclude&&ca(n.exclude,o)?o:da[t](o);return r[d]=n.deep?D(e[o],t,n):e[o],r},{}):Array.isArray(e)?e.map(r=>D(r,t,n)):e}var It=X(((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,d="millisecond",u="second",c="minute",p="hour",T="day",_="week",A="month",g="quarter",w="year",P="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=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(R){var a=["th","st","nd","rd"],s=R%100;return"["+R+(a[(s-20)%10]||a[s]||a[0])+"]"}},N=function(R,a,s){var f=String(R);return!f||f.length>=a?R:""+Array(a+1-f.length).join(s)+R},b={s:N,z:function(R){var a=-R.utcOffset(),s=Math.abs(a),f=Math.floor(s/60),l=s%60;return(a<=0?"+":"-")+N(f,2,"0")+":"+N(l,2,"0")},m:function R(a,s){if(a.date()<s.date())return-R(s,a);var f=12*(s.year()-a.year())+(s.month()-a.month()),l=a.clone().add(f,A),O=s-l<0,y=a.clone().add(f+(O?-1:1),A);return+(-(f+(s-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:P,h:p,m:c,s:u,ms:d,Q:g}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},I="en",E={};E[I]=C;var U="$isDayjsObject",q=function(R){return R instanceof $||!(!R||!R[U])},L=function R(a,s,f){var l;if(!a)return I;if(typeof a=="string"){var O=a.toLowerCase();E[O]&&(l=O),s&&(E[O]=s,l=O);var y=a.split("-");if(!l&&y.length>1)return R(y[0])}else{var M=a.name;E[M]=a,l=M}return!f&&l&&(I=l),l||!f&&I},F=function(R,a){if(q(R))return R.clone();var s=typeof a=="object"?a:{};return s.date=R,s.args=arguments,new $(s)},J=b;J.l=L,J.i=q,J.w=function(R,a){return F(R,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var $=(function(){function R(s){this.$L=L(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[U]=!0}var a=R.prototype;return a.parse=function(s){this.$d=(function(f){var l=f.date,O=f.utc;if(l===null)return new Date(NaN);if(J.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 M=y[2]-1||0,Y=(y[7]||"0").substring(0,3);return O?new Date(Date.UTC(y[1],M,y[3]||1,y[4]||0,y[5]||0,y[6]||0,Y)):new Date(y[1],M,y[3]||1,y[4]||0,y[5]||0,y[6]||0,Y)}}return new Date(l)})(s),this.init()},a.init=function(){var s=this.$d;this.$y=s.getFullYear(),this.$M=s.getMonth(),this.$D=s.getDate(),this.$W=s.getDay(),this.$H=s.getHours(),this.$m=s.getMinutes(),this.$s=s.getSeconds(),this.$ms=s.getMilliseconds()},a.$utils=function(){return J},a.isValid=function(){return this.$d.toString()!==m},a.isSame=function(s,f){var l=F(s);return this.startOf(f)<=l&&l<=this.endOf(f)},a.isAfter=function(s,f){return F(s)<this.startOf(f)},a.isBefore=function(s,f){return this.endOf(f)<F(s)},a.$g=function(s,f,l){return J.u(s)?this[f]:this.set(l,s)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(s,f){var l=this,O=!!J.u(f)||f,y=J.p(s),M=function(oe,W){var ee=J.w(l.$u?Date.UTC(l.$y,W,oe):new Date(l.$y,W,oe),l);return O?ee:ee.endOf(T)},Y=function(oe,W){return J.w(l.toDate()[oe].apply(l.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(W)),l)},K=this.$W,H=this.$M,z=this.$D,ce="set"+(this.$u?"UTC":"");switch(y){case w:return O?M(1,0):M(31,11);case A:return O?M(1,H):M(0,H+1);case _:var ae=this.$locale().weekStart||0,fe=(K<ae?K+7:K)-ae;return M(O?z-fe:z+(6-fe),H);case T:case P:return Y(ce+"Hours",0);case p:return Y(ce+"Minutes",1);case c:return Y(ce+"Seconds",2);case u:return Y(ce+"Milliseconds",3);default:return this.clone()}},a.endOf=function(s){return this.startOf(s,!1)},a.$set=function(s,f){var l,O=J.p(s),y="set"+(this.$u?"UTC":""),M=(l={},l[T]=y+"Date",l[P]=y+"Date",l[A]=y+"Month",l[w]=y+"FullYear",l[p]=y+"Hours",l[c]=y+"Minutes",l[u]=y+"Seconds",l[d]=y+"Milliseconds",l)[O],Y=O===T?this.$D+(f-this.$W):f;if(O===A||O===w){var K=this.clone().set(P,1);K.$d[M](Y),K.init(),this.$d=K.set(P,Math.min(this.$D,K.daysInMonth())).$d}else M&&this.$d[M](Y);return this.init(),this},a.set=function(s,f){return this.clone().$set(s,f)},a.get=function(s){return this[J.p(s)]()},a.add=function(s,f){var l,O=this;s=Number(s);var y=J.p(f),M=function(H){var z=F(O);return J.w(z.date(z.date()+Math.round(H*s)),O)};if(y===A)return this.set(A,this.$M+s);if(y===w)return this.set(w,this.$y+s);if(y===T)return M(1);if(y===_)return M(7);var Y=(l={},l[c]=r,l[p]=o,l[u]=n,l)[y]||1,K=this.$d.getTime()+s*Y;return J.w(K,this)},a.subtract=function(s,f){return this.add(-1*s,f)},a.format=function(s){var f=this,l=this.$locale();if(!this.isValid())return l.invalidDate||m;var O=s||"YYYY-MM-DDTHH:mm:ssZ",y=J.z(this),M=this.$H,Y=this.$m,K=this.$M,H=l.weekdays,z=l.months,ce=l.meridiem,ae=function(W,ee,se,ue){return W&&(W[ee]||W(f,O))||se[ee].slice(0,ue)},fe=function(W){return J.s(M%12||12,W,"0")},oe=ce||function(W,ee,se){var ue=W<12?"AM":"PM";return se?ue.toLowerCase():ue};return O.replace(S,(function(W,ee){return ee||(function(se){switch(se){case"YY":return String(f.$y).slice(-2);case"YYYY":return J.s(f.$y,4,"0");case"M":return K+1;case"MM":return J.s(K+1,2,"0");case"MMM":return ae(l.monthsShort,K,z,3);case"MMMM":return ae(z,K);case"D":return f.$D;case"DD":return J.s(f.$D,2,"0");case"d":return String(f.$W);case"dd":return ae(l.weekdaysMin,f.$W,H,2);case"ddd":return ae(l.weekdaysShort,f.$W,H,3);case"dddd":return H[f.$W];case"H":return String(M);case"HH":return J.s(M,2,"0");case"h":return fe(1);case"hh":return fe(2);case"a":return oe(M,Y,!0);case"A":return oe(M,Y,!1);case"m":return String(Y);case"mm":return J.s(Y,2,"0");case"s":return String(f.$s);case"ss":return J.s(f.$s,2,"0");case"SSS":return J.s(f.$ms,3,"0");case"Z":return y}return null})(W)||y.replace(":","")}))},a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(s,f,l){var O,y=this,M=J.p(f),Y=F(s),K=(Y.utcOffset()-this.utcOffset())*r,H=this-Y,z=function(){return J.m(y,Y)};switch(M){case w:O=z()/12;break;case A:O=z();break;case g:O=z()/3;break;case _:O=(H-K)/6048e5;break;case T:O=(H-K)/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:J.a(O)},a.daysInMonth=function(){return this.endOf(A).$D},a.$locale=function(){return E[this.$L]},a.locale=function(s,f){if(!s)return this.$L;var l=this.clone(),O=L(s,f,!0);return O&&(l.$L=O),l},a.clone=function(){return J.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})(),Q=$.prototype;return F.prototype=Q,[["$ms",d],["$s",u],["$m",c],["$H",p],["$W",T],["$M",A],["$y",w],["$D",P]].forEach((function(R){Q[R[1]]=function(a){return this.$g(a,R[0],R[1])}})),F.extend=function(R,a){return R.$i||(R(a,$,F),R.$i=!0),F},F.locale=L,F.isDayjs=q,F.unix=function(R){return F(1e3*R)},F.en=E[I],F.Ls=E,F.p={},F}))})),fa=X(((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,d=o.format;o.format=function(u){var c=this,p=this.$locale();if(!this.isValid())return d.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 d.bind(this)(_)}}}))})),la=X(((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/,d=/\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},P={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:[d,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:[d,_("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:[d,_("week")],M:[u,_("month")],MM:[d,_("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:[d,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,J,$){var Q=$&&$.toUpperCase();return J||C[$]||n[$]||C[Q].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(R,a,s){return a||s.slice(1)}))}))).match(r),b=N.length,I=0;I<b;I+=1){var E=N[I],U=P[E],q=U&&U[0],L=U&&U[1];N[I]=L?{regex:q,parser:L}:E.replace(/^\[|\]$/g,"")}return function(F){for(var J={},$=0,Q=0;$<b;$+=1){var R=N[$];if(typeof R=="string")Q+=R.length;else{var a=R.regex,s=R.parser,f=F.slice(Q),l=a.exec(f)[0];s.call(J,l),F=F.replace(l,"")}}return(function(O){var y=O.afternoon;if(y!==void 0){var M=O.hours;y?M<12&&(O.hours+=12):M===12&&(O.hours=0),delete O.afternoon}})(J),J}}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,U=I.utc,q=I.args;this.$u=U;var L=q[1];if(typeof L=="string"){var F=q[2]===!0,J=q[3]===!0,$=F||J,Q=q[2];J&&(Q=q[2]),p=this.$locale(),!F&&Q&&(p=C.Ls[Q]),this.$d=(function(f,l,O,y){try{if(["x","X"].indexOf(l)>-1)return new Date((l==="X"?1e3:1)*f);var M=m(l)(f),Y=M.year,K=M.month,H=M.day,z=M.hours,ce=M.minutes,ae=M.seconds,fe=M.milliseconds,oe=M.zone,W=M.week,ee=new Date,se=H||(Y||K?1:ee.getDate()),ue=Y||ee.getFullYear(),Fe=0;Y&&!K||(Fe=K>0?K-1:ee.getMonth());var Ee,At=z||0,_t=ce||0,Tt=ae||0,St=fe||0;return oe?new Date(Date.UTC(ue,Fe,se,At,_t,Tt,St+60*oe.offset*1e3)):O?new Date(Date.UTC(ue,Fe,se,At,_t,Tt,St)):(Ee=new Date(ue,Fe,se,At,_t,Tt,St),W&&(Ee=y(Ee).week(W).toDate()),Ee)}catch{return new Date("")}})(E,L,U,C),this.init(),Q&&Q!==!0&&(this.$L=this.locale(Q).$L),$&&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){q[1]=L[a-1];var s=C.apply(this,q);if(s.isValid()){this.$d=s.$d,this.$L=s.$L,this.init();break}a===R&&(this.$d=new Date(""))}else b.call(this,I)}}}))})),ma=X(((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(d,u,c,p){var T=o(d),_=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=X(((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,d){return this.isSame(o,d)||this.isAfter(o,d)}}}))})),ha=X(((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,d){return this.isSame(o,d)||this.isBefore(o,d)}}}))})),ya=X(((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 d=r.prototype,u=function(A){return A&&(A.indexOf?A:A.s)},c=function(A,g,w,P,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,P)}));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(P,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}};d.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=X(((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,d){var u=o.prototype,c=u.format;d.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,P,m){var h=m&&m.toUpperCase();return P||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=X(((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 d=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 d("isAfter",[].slice.call(arguments,0))},o.min=function(){return d("isBefore",[].slice.call(arguments,0))}}}))})),Aa=X(((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 d=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 d.fromToBase(T,_,A,g)}o.en.relativeTime=u,d.fromToBase=function(T,_,A,g,w){for(var P,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&&(P=g?o(T).diff(A,I.d,!0):A.diff(T,I.d,!0));var E=(n.rounding||Math.round)(Math.abs(P));if(h=P>0,E<=I.r||!I.r){E<=1&&b>0&&(I=C[b-1]);var U=S[I.l];w&&(E=w(""+E)),m=typeof U=="string"?U.replace("%d",E):U(E,_,I.l,h);break}}if(_)return m;var q=h?S.future:S.past;return typeof q=="function"?q(m):q.replace("%s",m)},d.to=function(T,_){return c(T,_,this,!0)},d.from=function(T,_){return c(T,_,this)};var p=function(T){return T.$u?o.utc():o()};d.toNow=function(T){return this.to(p(this),T)},d.fromNow=function(T){return this.from(p(this),T)}}}))})),_a=X(((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,d,u){var c,p=function(g,w,P){P===void 0&&(P={});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,P).formatToParts(m)},T=function(g,w){for(var P=p(g,w),m=[],h=0;h<P.length;h+=1){var S=P[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,U=m[0]+"-"+m[1]+"-"+m[2]+" "+E+":"+m[4]+":"+m[5]+":000",q=+g;return(u.utc(U).valueOf()-(q-=q%1e3))/6e4},_=d.prototype;_.tz=function(g,w){g===void 0&&(g=c);var P,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))P=this.utcOffset(0,w);else if(P=u(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(N,!0),w){var b=P.utcOffset();P=P.add(m-b,"minute")}return P.$x.$timezone=g,P},_.offsetName=function(g){var w=this.$x.$timezone||u.tz.guess(),P=p(this.valueOf(),w,{timeZoneName:g}).find((function(m){return m.type.toLowerCase()==="timezonename"}));return P&&P.value};var A=_.startOf;_.startOf=function(g,w){if(!this.$x||!this.$x.$timezone)return A.call(this,g,w);var P=u(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return A.call(P,g,w).tz(this.$x.$timezone,!0)},u.tz=function(g,w,P){var m=P&&w,h=P||w||c,S=T(+u(),h);if(typeof g!="string")return u(g).tz(h);var C=(function(E,U,q){var L=E-60*U*1e3,F=T(L,q);if(U===F)return[L,U];var J=T(L-=60*(F-U)*1e3,q);return F===J?[L,F]:[E-60*Math.min(F,J)*1e3,Math.max(F,J)]})(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=X(((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(d,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 U=(""+E[0]).match(o)||["-",0,0],q=U[0],L=60*+U[1]+ +U[2];return L===0?0:q==="+"?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 P=p.diff;p.diff=function(m,h,S){if(m&&this.$u===m.$u)return P.call(this,m,h,S);var C=this.local(),N=c(m).local();return P.call(C,N,h,S)}}}))})),Sa=X(((e,t)=>{(function(n,r){typeof e=="object"&&typeof t<"u"?t.exports=r(It()):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),d={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(d,null,!0),d}))})),Ra=X(((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])+"]"}}}))})),ie=x(It(),1),Na=x(fa(),1),Ca=x(la(),1),wa=x(ma(),1),Pa=x(pa(),1),ka=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),Bc=Sa(),vc=Ra();ie.default.extend(Na.default),ie.default.extend(Ca.default),ie.default.extend(wa.default),ie.default.extend(Pa.default),ie.default.extend(ka.default),ie.default.extend(Ja.default),ie.default.extend(Ma.default),ie.default.extend(Da.default),ie.default.extend(Ia.default),ie.default.extend(ba.default),ie.default.extend(Ha.default);function de(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function Re(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=>Re(n,t));if(de(e)){const n={};for(const r in e)Object.hasOwn(e,r)&&(n[r]=Re(e[r],t));return n}return e}function ve(e,t,n=new WeakSet){if(!(!de(t)||!de(e))&&!(t===e||n.has(t))){n.add(t);for(const r in t)if(Object.hasOwn(t,r)){const o=t[r],d=e[r];de(o)&&de(d)?ve(d,o,n):Array.isArray(o)&&Array.isArray(d)?e[r]=bt(d,o,n):e[r]=Re(o,n)}}}function bt(e,t,n){const r=e.slice();for(let o=0;o<t.length;o++){const d=t[o],u=r[o];if(de(d)&&de(u)){const c={...u};ve(c,d,n),r[o]=c}else Array.isArray(d)&&Array.isArray(u)?r[o]=bt(u,d,n):r[o]=Re(d,n)}return r}function Ht(e,...t){if(!de(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 _e{static instance=null;defaultOptions={callCount:1,interval:Ga,maxCallCount:20,minCallCount:1};events={complete:()=>{},data:()=>{},error:()=>{}};pollings={};static getInstance(){return _e.instance||(_e.instance=new _e),_e.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,d])=>{if(d!==void 0){const u=o;r[u]=d}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=D(t??{},k.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 Ft(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,d)=>{r.on("error",d),r.on("complete",u=>{u instanceof Error?d(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 Gc=$a(),Et="http://localhost".replace(/\/+$/,""),Ya=e=>typeof Blob<"u"&&e instanceof Blob,j=class{middleware;constructor(e=new Ge){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 Lt(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 d={method:e.method,body:r,credentials:this.configuration.credentials,...Ht({},t,{headers:Ht({},o,t?.headers)})};return{url:n,init:d}}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}},Lt=class extends Error{name="ResponseError";constructor(e,t){super(t),this.response=e}},v=class extends Error{name="RequiredError";constructor(e,t){super(t),this.field=e}},Ka={csv:",",ssv:" ",tsv:" ",pipes:"|"},Ge=class{constructor(e={}){this.configuration=e}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Et}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||Ue}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 Ue(e,t=""){return Object.keys(e).map(n=>{const r=t+(t.length?`[${n}]`:n),o=e[n];if(o instanceof Array){const d=o.map(u=>encodeURIComponent(String(u))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${d}`}return o instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(o.toISOString())}`:o instanceof Object?Ue(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 G=class{constructor(e,t=n=>n){this.raw=e,this.transformer=t}async value(){return this.transformer(await this.raw.json())}},Za=class{constructor(e){this.raw=e}async value(){}},Wa=class{constructor(e){this.raw=e}async value(){return await this.raw.blob()}},qe=class{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 $e(e,!1)}function $e(e,t){return e==null?e:{name:e.name}}function Bt(e){return vt(e,!1)}function vt(e,t=!1){return e==null?e:{name:e.name}}var ja={CreditCard:"CREDIT_CARD"};function es(e){return!(!("name"in e)||e.name===void 0)}function ts(e){return Ye(e,!1)}function Ye(e,t){return e==null?e:{name:e.name}}function Gt(e){return Ut(e,!1)}function Ut(e,t=!1){return e==null?e:{name:e.name}}var is={DepositAccount:"DEPOSIT_ACCOUNT"};function ns(e){return!(!("name"in e)||e.name===void 0)}function rs(e){return Ke(e,!1)}function Ke(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 os={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function as(e){return!(!("status"in e)||e.status===void 0)}function Yt(e){return Kt(e,!1)}function Kt(e,t){return e==null?e:{status:e.status}}function zt(e){return Vt(e,!1)}function Vt(e,t=!1){return e==null?e:{status:e.status}}var ss={PayLater:"PAY_LATER"};function ds(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function cs(e){return ze(e,!1)}function ze(e,t){return e==null?e:{name:e.name,payload:Yt(e.payload)}}function Zt(e){return Wt(e,!1)}function Wt(e,t=!1){return e==null?e:{name:e.name,payload:zt(e.payload)}}function Xt(e){return Qt(e,!1)}function Qt(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...$e(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...Ye(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...Ke(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...ze(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}function xt(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return Bt(e);case"CREDIT_CARD":return Gt(e);case"DEPOSIT_ACCOUNT":return qt(e);case"PAY_LATER":return Zt(e);default:throw new Error(`No variant of AllowedPaymentMethodApi exists with 'name=${e.name}'`)}}}function us(e,t=!1){return xt(e)}function fs(e){return!0}function Ve(e){return jt(e,!1)}function jt(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 Ze(e){return ei(e,!1)}function ei(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 ls(e){return!(!("count"in e)||e.count===void 0||!("name"in e)||e.name===void 0||!("occupancy"in e)||e.occupancy===void 0)}function ms(e){return ti(e,!1)}function ti(e,t){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function ps(e){return ii(e,!1)}function ii(e,t=!1){return e==null?e:{count:e.count,name:e.name,occupancy:e.occupancy}}function hs(e){return!(!("dateFrom"in e)||e.dateFrom===void 0||!("dateTo"in e)||e.dateTo===void 0||!("penaltyPercentage"in e)||e.penaltyPercentage===void 0)}function Ne(e){return ni(e,!1)}function ni(e,t){return e==null?e:{dateFrom:e.date_from,dateTo:e.date_to,penaltyPercentage:e.penalty_percentage}}function Ce(e){return ri(e,!1)}function ri(e,t=!1){return e==null?e:{date_from:e.dateFrom,date_to:e.dateTo,penalty_percentage:e.penaltyPercentage}}var we={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 ys(e){for(const t in we)if(Object.prototype.hasOwnProperty.call(we,t)&&we[t]===e)return!0;return!1}function ye(e){return oi(e,!1)}function oi(e,t){return e}function gs(e){return e}function Os(e,t){return e}function As(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 le(e){return ai(e,!1)}function ai(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 si(e,!1)}function si(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 _s(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 di(e){return ci(e,!1)}function ci(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(le),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 ui(e){return fi(e,!1)}function fi(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 Pe={Included:"INCLUDED",NotIncluded:"NOT_INCLUDED",Optional:"OPTIONAL"};function Ts(e){for(const t in Pe)if(Object.prototype.hasOwnProperty.call(Pe,t)&&Pe[t]===e)return!0;return!1}function li(e){return mi(e,!1)}function mi(e,t){return e}function Ss(e){return e}function Rs(e,t){return e}var Ns={PerNight:"PER_NIGHT",PerStay:"PER_STAY"},Cs={PerAdult:"PER_ADULT",PerBooking:"PER_BOOKING"};function ws(e){return!(!("taxFrequency"in e)||e.taxFrequency===void 0||!("taxMode"in e)||e.taxMode===void 0)}function We(e){return pi(e,!1)}function pi(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 Xe(e){return hi(e,!1)}function hi(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 ke={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 Ps(e){for(const t in ke)if(Object.prototype.hasOwnProperty.call(ke,t)&&ke[t]===e)return!0;return!1}function re(e){return yi(e,!1)}function yi(e,t){return e}function ks(e){return e}function Ms(e,t){return e}function Js(e){return!(!("name"in e)||e.name===void 0)}function Qe(e){return gi(e,!1)}function gi(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 xe(e){return Oi(e,!1)}function Oi(e,t=!1){return e==null?e:{bg:e.bg,color:e.color,description:e.description,fa_icon:e.faIcon,name:e.name}}var Ds={BestMatch:"BEST_MATCH",Cheapest:"CHEAPEST",MatchingRoomCount:"MATCHING_ROOM_COUNT",Regular:"REGULAR"},Is={Included:"included",NotIncluded:"not_included",Unknown:"unknown"},bs={HotelRoom:"HOTEL_ROOM",Package:"PACKAGE"};function Hs(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 me(e){return Ai(e,!1)}function Ai(e,t){return e==null?e:{breakfastCount:e.breakfast_count==null?void 0:e.breakfast_count,breakfastOption:li(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(Ne),count:e.count==null?void 0:e.count,currency:re(e.currency),hotelId:e.hotel_id,hotelRooms:e.hotel_rooms.map(di),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(Qe),taxIncludedPrice:e.tax_included_price,taxes:e.taxes==null?void 0:e.taxes.map(We),type:e.type==null?void 0:e.type}}function pe(e){return _i(e,!1)}function _i(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(Ce),count:e.count,currency:e.currency,hotel_id:e.hotelId,hotel_rooms:e.hotelRooms.map(ui),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(xe),tax_included_price:e.taxIncludedPrice,taxes:e.taxes==null?void 0:e.taxes.map(Xe),type:e.type}}var Me={DeDe:"de-DE",EnUs:"en-US",EsEs:"es-ES",FrFr:"fr-FR",ItIt:"it-IT",NlNl:"nl-NL",PtPt:"pt-PT"};function Fs(e){for(const t in Me)if(Object.prototype.hasOwnProperty.call(Me,t)&&Me[t]===e)return!0;return!1}function Je(e){return Ti(e,!1)}function Ti(e,t){return e}function Es(e){return e}function Ls(e,t){return e}var De={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 Bs(e){for(const t in De)if(Object.prototype.hasOwnProperty.call(De,t)&&De[t]===e)return!0;return!1}function Ie(e){return Si(e,!1)}function Si(e,t){return e}function vs(e){return e}function Gs(e,t){return e}function Us(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 Ri(e){return Ni(e,!1)}function Ni(e,t){return e==null?e:{address:e.address,city:e.city,country:Ie(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 Ci(e){return wi(e,!1)}function wi(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 qs={Dr:"dr",Mr:"mr",Mrs:"mrs",Ms:"ms",NotSpecified:"notSpecified",Prof:"prof"};function $s(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 je(e){return Pi(e,!1)}function Pi(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:Ie(e.country),email:e.email,firstName:e.first_name,lang:e.lang==null?void 0:Je(e.lang),lastName:e.last_name,nationality:Ie(e.nationality),organization:e.organization==null?void 0:Ri(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 et(e){return ki(e,!1)}function ki(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:Ci(e.organization),phone:e.phone,remarks:e.remarks,salutation:e.salutation,state:e.state,zip_code:e.zipCode}}function Ys(e){return!(!("amount"in e)||e.amount===void 0||!("couponId"in e)||e.couponId===void 0)}function Mi(e){return Ji(e,!1)}function Ji(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id,token:e.token==null?void 0:e.token}}function Di(e){return Ii(e,!1)}function Ii(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Ks={Coupon:"COUPON"};function zs(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function Vs(e){return tt(e,!1)}function tt(e,t){return e==null?e:{name:e.name,payload:Mi(e.payload)}}function bi(e){return Hi(e,!1)}function Hi(e,t=!1){return e==null?e:{name:e.name,payload:Di(e.payload)}}function Zs(e){return!(!("amount"in e)||e.amount===void 0||!("token"in e)||e.token===void 0)}function Fi(e){return Ei(e,!1)}function Ei(e,t){return e==null?e:{amount:e.amount,couponId:e.coupon_id==null?void 0:e.coupon_id,token:e.token}}function Li(e){return Bi(e,!1)}function Bi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var Ws={CreditCard:"CREDIT_CARD"};function Xs(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function Qs(e){return it(e,!1)}function it(e,t){return e==null?e:{name:e.name,payload:Fi(e.payload)}}function vi(e){return Gi(e,!1)}function Gi(e,t=!1){return e==null?e:{name:e.name,payload:Li(e.payload)}}function xs(e){return!(!("amount"in e)||e.amount===void 0)}function Ui(e){return qi(e,!1)}function qi(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 $i(e){return Yi(e,!1)}function Yi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,token:e.token}}var js={DepositAccount:"DEPOSIT_ACCOUNT"};function ed(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function td(e){return nt(e,!1)}function nt(e,t){return e==null?e:{name:e.name,payload:Ui(e.payload)}}function Ki(e){return zi(e,!1)}function zi(e,t=!1){return e==null?e:{name:e.name,payload:$i(e.payload)}}var id={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"};function nd(e){return!(!("amount"in e)||e.amount===void 0||!("status"in e)||e.status===void 0)}function Vi(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,status:e.status,token:e.token==null?void 0:e.token}}function Wi(e){return Xi(e,!1)}function Xi(e,t=!1){return e==null?e:{amount:e.amount,coupon_id:e.couponId,status:e.status,token:e.token}}var rd={PayLater:"PAY_LATER"};function od(e){return!(!("name"in e)||e.name===void 0||!("payload"in e)||e.payload===void 0)}function ad(e){return rt(e,!1)}function rt(e,t){return e==null?e:{name:e.name,payload:Vi(e.payload)}}function Qi(e){return xi(e,!1)}function xi(e,t=!1){return e==null?e:{name:e.name,payload:Wi(e.payload)}}function ji(e){return en(e,!1)}function en(e,t){if(e==null)return e;switch(e.name){case"COUPON":return{...tt(e,!0),name:"COUPON"};case"CREDIT_CARD":return{...it(e,!0),name:"CREDIT_CARD"};case"DEPOSIT_ACCOUNT":return{...nt(e,!0),name:"DEPOSIT_ACCOUNT"};case"PAY_LATER":return{...rt(e,!0),name:"PAY_LATER"};default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}function ot(e){if(e!==void 0){if(e===null)return null;switch(e.name){case"COUPON":return bi(e);case"CREDIT_CARD":return vi(e);case"DEPOSIT_ACCOUNT":return Ki(e);case"PAY_LATER":return Qi(e);default:throw new Error(`No variant of PaymentMethodApi exists with 'name=${e.name}'`)}}}function sd(e,t=!1){return ot(e)}var dd={CreditNote:"credit_note",Invoice:"invoice"};function cd(e){return!(!("type"in e)||e.type===void 0||!("url"in e)||e.url===void 0)}function tn(e){return nn(e,!1)}function nn(e,t){return e==null?e:{type:e.type,url:e.url}}function rn(e){return on(e,!1)}function on(e,t=!1){return e==null?e:{type:e.type,url:e.url}}function ud(e){return!0}function an(e){return sn(e,!1)}function sn(e,t){return e==null?e:{name:e.name==null?void 0:e.name,slug:e.slug==null?void 0:e.slug}}function dn(e){return cn(e,!1)}function cn(e,t=!1){return e==null?e:{name:e.name,slug:e.slug}}function fd(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 un(e){return fn(e,!1)}function fn(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(le),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 ln(e){return mn(e,!1)}function mn(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 ld(e){return!(!("fullname"in e)||e.fullname===void 0||!("id"in e)||e.id===void 0)}function be(e){return pn(e,!1)}function pn(e,t){return e==null?e:{fullname:e.fullname,id:e.id}}function hn(e){return yn(e,!1)}function yn(e,t=!1){return e==null?e:{fullname:e.fullname,id:e.id}}function md(e){return!(!("hotelRoomId"in e)||e.hotelRoomId===void 0||!("hotelRoomingListGuests"in e)||e.hotelRoomingListGuests===void 0||!("id"in e)||e.id===void 0)}function at(e){return gn(e,!1)}function gn(e,t){return e==null?e:{hotelRoom:e.hotel_room==null?void 0:un(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 On(e){return An(e,!1)}function An(e,t=!1){return e==null?e:{hotel_room:ln(e.hotelRoom),hotel_room_id:e.hotelRoomId,hotel_rooming_list_guests:e.hotelRoomingListGuests.map(hn),id:e.id,limit_date:e.limitDate==null?e.limitDate:e.limitDate.toISOString()}}var pd={Disabled:"DISABLED",Enabled:"ENABLED",Forced:"FORCED"},hd={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 yd(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 ne(e){return _n(e,!1)}function _n(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,adultCount:e.adult_count,canceledAt:e.canceled_at==null?void 0:e.canceled_at,cancellationPolicies:e.cancellation_policies.map(Ne),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:je(e.contact_person),createdAt:e.created_at,currency:re(e.currency),customerReference:e.customer_reference==null?void 0:e.customer_reference,event:e.event==null?void 0:an(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:me(e.hotel_room_offer),hotelRoomingLists:e.hotel_rooming_lists==null?void 0:e.hotel_rooming_lists.map(at),id:e.id==null?void 0:e.id,invoices:e.invoices==null?void 0:e.invoices.map(tn),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(ji),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(We),terms:e.terms,token:e.token==null?void 0:e.token}}function Tn(e){return Sn(e,!1)}function Sn(e,t=!1){return e==null?e:{additional_check_in_instruction:e.additionalCheckInInstruction,additional_policies:e.additionalPolicies,adult_count:e.adultCount,canceled_at:e.canceledAt,cancellation_policies:e.cancellationPolicies.map(Ce),cancellation_policy_remarks:e.cancellationPolicyRemarks,check_in_date:e.checkInDate,check_out_date:e.checkOutDate,children:e.children,confirmed_at:e.confirmedAt,contact_person:et(e.contactPerson),created_at:e.createdAt,currency:e.currency,customer_reference:e.customerReference,event:dn(e.event),failed_at:e.failedAt,hotel_confirmation_id:e.hotelConfirmationId,hotel_id:e.hotelId,hotel_room_offer:pe(e.hotelRoomOffer),hotel_rooming_lists:e.hotelRoomingLists==null?void 0:e.hotelRoomingLists.map(On),id:e.id,invoices:e.invoices==null?void 0:e.invoices.map(rn),last_status_updated_at:e.lastStatusUpdatedAt,metadata:e.metadata,pay_later:e.payLater,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(ot),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(Xe),terms:e.terms,token:e.token}}var gd={Insurance:"insurance"};function Od(e){return!(!("type"in e)||e.type===void 0)}function Rn(e){return Nn(e,!1)}function Nn(e,t){return e==null?e:{type:e.type}}function Cn(e){return wn(e,!1)}function wn(e,t=!1){return e==null?e:{type:e.type}}function Ad(e){return!(!("fullname"in e)||e.fullname===void 0)}function Pn(e){return kn(e,!1)}function kn(e,t){return e==null?e:{fullname:e.fullname}}function Mn(e){return Jn(e,!1)}function Jn(e,t=!1){return e==null?e:{fullname:e.fullname}}function _d(e){return!(!("guests"in e)||e.guests===void 0||!("hotelRoomId"in e)||e.hotelRoomId===void 0)}function Dn(e){return In(e,!1)}function In(e,t){return e==null?e:{guests:e.guests.map(Pn),hotelRoomId:e.hotel_room_id}}function bn(e){return Hn(e,!1)}function Hn(e,t=!1){return e==null?e:{guests:e.guests.map(Mn),hotel_room_id:e.hotelRoomId}}function Td(e){return!0}function Fn(e){return En(e,!1)}function En(e,t){return e==null?e:{couponId:e.coupon_id==null?void 0:e.coupon_id}}function Ln(e){return Bn(e,!1)}function Bn(e,t=!1){return e==null?e:{coupon_id:e.couponId}}var Sd={Coupon:"COUPON",CreditCard:"CREDIT_CARD",DepositAccount:"DEPOSIT_ACCOUNT"};function Rd(e){return!(!("name"in e)||e.name===void 0)}function st(e){return vn(e,!1)}function vn(e,t){return e==null?e:{name:e.name,payload:e.payload==null?void 0:Fn(e.payload)}}function dt(e){return Gn(e,!1)}function Gn(e,t=!1){return e==null?e:{name:e.name,payload:Ln(e.payload)}}function Nd(e){return!(!("bookingPolicyId"in e)||e.bookingPolicyId===void 0||!("contactPerson"in e)||e.contactPerson===void 0)}function Cd(e){return Un(e,!1)}function Un(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(Rn),bookingPolicyId:e.booking_policy_id,contactPerson:je(e.contact_person),guestsList:e.guests_list==null?void 0:e.guests_list.map(Dn),metadata:e.metadata==null?void 0:e.metadata,paymentMethods:e.payment_methods==null?void 0:e.payment_methods.map(st),trackingId:e.tracking_id==null?void 0:e.tracking_id}}function qn(e){return $n(e,!1)}function $n(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(Cn),booking_policy_id:e.bookingPolicyId,contact_person:et(e.contactPerson),guests_list:e.guestsList==null?void 0:e.guestsList.map(bn),metadata:e.metadata,payment_methods:e.paymentMethods==null?void 0:e.paymentMethods.map(dt),tracking_id:e.trackingId}}var wd={Insurance:"insurance"};function Pd(e){return!(!("price"in e)||e.price===void 0||!("taxIncludedPrice"in e)||e.taxIncludedPrice===void 0||!("type"in e)||e.type===void 0)}function Yn(e){return Kn(e,!1)}function Kn(e,t){return e==null?e:{price:e.price,taxIncludedPrice:e.tax_included_price,type:e.type}}function zn(e){return Vn(e,!1)}function Vn(e,t=!1){return e==null?e:{price:e.price,tax_included_price:e.taxIncludedPrice,type:e.type}}function kd(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 ct(e){return Zn(e,!1)}function Zn(e,t){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(Yn),adultCount:e.adult_count,cancellationPolicies:e.cancellation_policies.map(Ne),checkInDate:e.check_in_date,checkOutDate:e.check_out_date,children:e.children==null?void 0:e.children,currency:re(e.currency),expiresAt:e.expires_at==null?null:new Date(e.expires_at),hasRoomingLists:e.has_rooming_lists,hotelId:e.hotel_id,hotelRoomOffer:me(e.hotel_room_offer),id:e.id,isCancellationPoliciesUpdated:e.is_cancellation_policies_updated,isPriceIncreased:e.is_price_increased}}function Md(e){return Wn(e,!1)}function Wn(e,t=!1){return e==null?e:{addons:e.addons==null?void 0:e.addons.map(zn),adult_count:e.adultCount,cancellation_policies:e.cancellationPolicies.map(Ce),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:pe(e.hotelRoomOffer),id:e.id,is_cancellation_policies_updated:e.isCancellationPoliciesUpdated,is_price_increased:e.isPriceIncreased}}function Jd(e){return!(!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function Dd(e){return Xn(e,!1)}function Xn(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:Je(e.lang)}}function Qn(e){return xn(e,!1)}function xn(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 Id(e){return!0}function jn(e){return er(e,!1)}function er(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 tr(e){return ir(e,!1)}function ir(e,t=!1){return e==null?e:{ending_before:e.endingBefore,limit:e.limit,starting_after:e.startingAfter,total_count:e.totalCount}}function bd(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function nr(e){return rr(e,!1)}function rr(e,t){return e==null?e:{data:e.data.map(ne),meta:jn(e.meta)}}function Hd(e){return or(e,!1)}function or(e,t=!1){return e==null?e:{data:e.data.map(Tn),meta:tr(e.meta)}}var Fd={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 Ed(e){return!(!("statusCode"in e)||e.statusCode===void 0)}function Ld(e){return ar(e,!1)}function ar(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 Bd(e){return sr(e,!1)}function sr(e,t=!1){return e==null?e:{documentation_url:e.documentationUrl,error:e.error,message:e.message,statusCode:e.statusCode,type:e.type}}function vd(e){return!0}function Oe(e){return dr(e,!1)}function dr(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 Ae(e){return cr(e,!1)}function cr(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 Gd(e){return!(!("rating"in e)||e.rating===void 0)}function ut(e){return ur(e,!1)}function ur(e,t){return e==null?e:{category:e.category==null?void 0:e.category,rating:e.rating}}function ft(e){return fr(e,!1)}function fr(e,t=!1){return e==null?e:{category:e.category,rating:e.rating}}function Ud(e){return!0}function lt(e){return lr(e,!1)}function lr(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 mt(e){return mr(e,!1)}function mr(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 qd(e){return!0}function pr(e){return hr(e,!1)}function hr(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 yr(e){return gr(e,!1)}function gr(e,t=!1){return e==null?e:{driving:e.driving,transit:e.transit,walking:e.walking}}function $d(e){return!(!("name"in e)||e.name===void 0)}function pt(e){return Or(e,!1)}function Or(e,t){return e==null?e:{description:e.description==null?void 0:e.description,name:e.name,travelTimes:e.travel_times==null?void 0:pr(e.travel_times)}}function ht(e){return Ar(e,!1)}function Ar(e,t=!1){return e==null?e:{description:e.description,name:e.name,travel_times:yr(e.travelTimes)}}function Yd(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 _r(e){return Tr(e,!1)}function Tr(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:Ve(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:re(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(le),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(ut),id:e.id,images:e.images==null?void 0:lt(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(pt),website:e.website==null?void 0:e.website}}function Kd(e){return Sr(e,!1)}function Sr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:Ze(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(ft),id:e.id,images:mt(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(ht),website:e.website}}function zd(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 Rr(e){return Nr(e,!1)}function Nr(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:Ve(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:re(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(le),hotelReviewRatings:e.hotel_review_ratings==null?void 0:e.hotel_review_ratings.map(ut),id:e.id,images:e.images==null?void 0:lt(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(pt),website:e.website==null?void 0:e.website,hotelRoomOffers:e.hotel_room_offers.map(me),tags:e.tags==null?void 0:e.tags.map(Qe)}}function Cr(e){return wr(e,!1)}function wr(e,t=!1){return e==null?e:{address:e.address,address2:e.address2,amenities:Ze(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(ft),id:e.id,images:mt(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(ht),website:e.website,hotel_room_offers:e.hotelRoomOffers.map(pe),tags:e.tags==null?void 0:e.tags.map(xe)}}function Vd(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 yt(e){return Pr(e,!1)}function Pr(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:Oe(e.event_metadata),id:e.id,latitude:e.latitude,longitude:e.longitude,roomCount:e.room_count,sourceMarket:ye(e.source_market)}}function Zd(e){return kr(e,!1)}function kr(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:Ae(e.eventMetadata),id:e.id,latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount,source_market:e.sourceMarket}}function Wd(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 Xd(e){return Mr(e,!1)}function Mr(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:Oe(e.event_metadata),latitude:e.latitude==null?void 0:e.latitude,longitude:e.longitude==null?void 0:e.longitude,roomCount:e.room_count}}function Jr(e){return Dr(e,!1)}function Dr(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:Ae(e.eventMetadata),latitude:e.latitude,longitude:e.longitude,room_count:e.roomCount}}function Qd(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 Ir(e){return br(e,!1)}function br(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:re(e.currency),hotelOffers:e.hotel_offers.map(Rr),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 Hr(e){return Fr(e,!1)}function Fr(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(Cr),price_histogram:e.priceHistogram,price_max:e.priceMax,price_min:e.priceMin}}var He={Complete:"COMPLETE",InProgress:"IN_PROGRESS"};function xd(e){for(const t in He)if(Object.prototype.hasOwnProperty.call(He,t)&&He[t]===e)return!0;return!1}function gt(e){return Er(e,!1)}function Er(e,t){return e}function jd(e){return e}function ec(e,t){return e}function tc(e){return!(!("totalCount"in e)||e.totalCount===void 0||!("status"in e)||e.status===void 0)}function Lr(e){return Br(e,!1)}function Br(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,status:gt(e.status)}}function vr(e){return Gr(e,!1)}function Gr(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 ic(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function Ur(e){return qr(e,!1)}function qr(e,t){return e==null?e:{data:Ir(e.data),event:e.event==null?void 0:e.event,meta:Lr(e.meta)}}function nc(e){return $r(e,!1)}function $r(e,t=!1){return e==null?e:{data:Hr(e.data),event:e.event,meta:vr(e.meta)}}function rc(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 Yr(e){return Kr(e,!1)}function Kr(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:re(e.currency),hotelId:e.hotel_id,hotelRoomOffer:me(e.hotel_room_offer)}}function oc(e){return zr(e,!1)}function zr(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:pe(e.hotelRoomOffer)}}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||!("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 Ot(e){return Vr(e,!1)}function Vr(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:Oe(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 Zr(e,!1)}function Zr(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:Ae(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount,created_at:e.createdAt,id:e.id,source_market:e.sourceMarket}}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)}function cc(e){return Wr(e,!1)}function Wr(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:Oe(e.event_metadata),hotelId:e.hotel_id,roomCount:e.room_count}}function Xr(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:Ae(e.eventMetadata),hotel_id:e.hotelId,room_count:e.roomCount}}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||!("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 xr(e){return jr(e,!1)}function jr(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:re(e.currency),hotelId:e.hotel_id,hotelRoomOffers:e.hotel_room_offers.map(me),hotelTimezone:e.hotel_timezone}}function eo(e){return to(e,!1)}function to(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(pe),hotel_timezone:e.hotelTimezone}}function fc(e){return!(!("status"in e)||e.status===void 0)}function io(e){return no(e,!1)}function no(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:gt(e.status)}}function ro(e){return oo(e,!1)}function oo(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 lc(e){return!(!("data"in e)||e.data===void 0||!("meta"in e)||e.meta===void 0)}function ao(e){return so(e,!1)}function so(e,t){return e==null?e:{data:xr(e.data),event:e.event==null?void 0:e.event,meta:io(e.meta)}}function mc(e){return co(e,!1)}function co(e,t=!1){return e==null?e:{data:eo(e.data),event:e.event,meta:ro(e.meta)}}function pc(e){return!(!("count"in e)||e.count===void 0||!("hotelRoomOfferId"in e)||e.hotelRoomOfferId===void 0)}function uo(e){return fo(e,!1)}function fo(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 lo(e){return mo(e,!1)}function mo(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 po(e,!1)}function po(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:re(e.currency),hotelRoomOffers:e.hotel_room_offers.map(uo),lang:e.lang==null?void 0:Je(e.lang)}}function ho(e){return yo(e,!1)}function yo(e,t=!1){return e==null?e:{add_breakfast:e.addBreakfast,breakfast_count:e.breakfastCount,currency:e.currency,hotel_room_offers:e.hotelRoomOffers.map(lo),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 go(e,!1)}function go(e,t){return e==null?e:{fullname:e.fullname,hotelRoomingListId:e.hotel_rooming_list_id}}function Oo(e){return Ao(e,!1)}function Ao(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 _o(e,!1)}function _o(e,t){return e==null?e:{fullname:e.fullname}}function To(e){return So(e,!1)}function So(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 Ro(e,!1)}function Ro(e,t){return e==null?e:{paymentMethods:e.payment_methods.map(st)}}function No(e){return Co(e,!1)}function Co(e,t=!1){return e==null?e:{payment_methods:e.paymentMethods.map(dt)}}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 wo(e,!1)}function wo(e,t){return e==null?e:{message:e.message,requestType:e.requestType}}function Po(e){return ko(e,!1)}function ko(e,t=!1){return e==null?e:{message:e.message,requestType:e.requestType}}var Mo=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ct(d)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async paymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return new G(o,d=>d.map(Xt)).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:D(n,k.Snake),body:D(Qn(e.bookingPoliciesCreateApi),k.Snake)},t);return await new G(o,d=>ct(d)).value()}async create(e={},t){return this.createRaw(e,t)}},Jo=class extends j{async deleteRaw(e,t){if(e.token===null||e.token===void 0)throw new v("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:D({},k.Snake)},t);return await new G(n,r=>ne(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:D(n,k.Snake)},t);return await new G(o,d=>nr(d)).value()}async list(e={},t){return this.listRaw(e,t)}async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ne(d)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}async retrievePublicRaw(e,t){if(e.token===null||e.token===void 0)throw new v("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:D({},k.Snake)},t);return await new G(n,r=>ne(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:D(n,k.Snake),body:D(qn(e.bookingCreateApi),k.Snake)},t);return await new G(o,d=>ne(d)).value()}async create(e={},t){return this.createRaw(e,t)}async couponChargeRaw(e,t){if(e.couponId===null||e.couponId===void 0)throw new v("couponId","Required parameter requestParameters.couponId was null or undefined when calling postV1BookingsIdCouponsCouponIdCharge.");if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ne(d)).value()}async couponCharge(e,t){return this.couponChargeRaw(e,t)}async paylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ne(d)).value()}async paylater(e,t){return this.paylaterRaw(e,t)}async confirmpaylaterRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ne(d)).value()}async confirmpaylater(e,t){return this.confirmpaylaterRaw(e,t)}async confirmRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ne(d)).value()}async confirm(e,t){return this.confirmRaw(e,t)}async submitRequestRaw(e,t){if(e.token===null||e.token===void 0)throw new v("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:D(n,k.Snake),body:D(Po(e.requestPayload),k.Snake)},t);return new qe(o)}async submitRequest(e,t){return this.submitRequestRaw(e,t)}async updatePaymentMethodsRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake),body:D(No(e.paymentMethodUpdatePayloadApi),k.Snake)},t);return await new G(o,d=>ne(d)).value()}async updatePaymentMethods(e,t){return this.updatePaymentMethodsRaw(e,t)}},wc={CheckInDate:"check_in_date",CreatedAt:"created_at",LastStatusUpdatedAt:"last_status_updated_at"},Pc={Asc:"asc",Desc:"desc"},Do=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return new G(o,d=>d.map(le)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Io=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>yt(d)).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:D(n,k.Snake),body:D(Jr(e.hotelOfferRequestCreateApi),k.Snake)},t);return await new G(o,d=>yt(d)).value()}async create(e={},t){return this.createRaw(e,t)}},bo=class extends j{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new v("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelOffers.");if(e.hotelOfferRequestId===null||e.hotelOfferRequestId===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>Ur(d)).value()}async list(e,t,n){return await Ft(()=>this.listRaw(e,n),{type:Ct.HOTEL_SEARCH_POLLING,minCallCount:n?.minCallCount,maxCallCount:n?.maxCallCount},t)}},kc={Distance:"distance",Price:"price",Rating:"rating",ReviewRating:"review_rating",TopPicks:"top_picks"},Mc={Asc:"asc",Desc:"desc"},Ho=class extends j{async deleteRaw(e,t){if(e.id===null||e.id===void 0)throw new v("id","Required parameter requestParameters.id was null or undefined when calling deleteV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new v("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:D({},k.Snake)},t);return new qe(n)}async delete(e,t){return this.deleteRaw(e,t)}async updateRaw(e,t){if(e.id===null||e.id===void 0)throw new v("id","Required parameter requestParameters.id was null or undefined when calling patchV1HotelRoomingListGuestsTokenId.");if(e.token===null||e.token===void 0)throw new v("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:D(n,k.Snake),body:D(To(e.hotelRoomingListGuestsUpdateApi),k.Snake)},t);return await new G(o,d=>be(d)).value()}async update(e,t){return this.updateRaw(e,t)}async createRaw(e,t){if(e.token===null||e.token===void 0)throw new v("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:D(n,k.Snake),body:D(Oo(e.hotelRoomingListGuestsCreateApi),k.Snake)},t);return await new G(o,d=>be(d)).value()}async create(e,t){return this.createRaw(e,t)}},Fo=class extends j{async listRaw(e,t){if(e.token===null||e.token===void 0)throw new v("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:D(n,k.Snake)},t);return new G(r,o=>o.map(at)).value()}async list(e,t){return this.listRaw(e,t)}},Eo=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>D(d,k.Camel)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Lo=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>Ot(d)).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:D(n,k.Snake),body:D(Xr(e.hotelRoomOfferRequestCreateApi),k.Snake)},t);return await new G(o,d=>Ot(d)).value()}async create(e={},t){return this.createRaw(e,t)}},Bo=class extends j{async listRaw(e,t){if(e.currency===null||e.currency===void 0)throw new v("currency","Required parameter requestParameters.currency was null or undefined when calling getV1HotelRoomOffers.");if(e.hotelRoomOfferRequestId===null||e.hotelRoomOfferRequestId===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>ao(d)).value()}async list(e,t,n){return await Ft(()=>this.listRaw(e,n),{type:Ct.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:D(n,k.Snake),body:D(ho(e.hotelRoomOffersCreateApi),k.Snake)},t);return await new G(o,d=>Yr(d)).value()}async create(e={},t){return this.createRaw(e,t)}},vo=class extends j{async retrieveRaw(e,t){if(e.id===null||e.id===void 0)throw new v("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:D(n,k.Snake)},t);return await new G(o,d=>_r(d)).value()}async retrieve(e,t){return this.retrieveRaw(e,t)}},Go=e=>({bookingPolicies:new Mo(e),bookings:new Jo(e),hotelImages:new Do(e),hotelOfferRequests:new Io(e),hotelOffers:new bo(e),hotelRoomingListGuests:new Ho(e),hotelRoomingLists:new Fo(e),hotelRoomOfferImages:new Eo(e),hotelRoomOfferRequests:new Lo(e),hotelRoomOffers:new Bo(e),hotels:new vo(e)});function Jc(e){switch(e){case te.CiCd:return"AUTH_TOKEN_CICD";case te.Local:return"AUTH_TOKEN_LOCAL";case te.Production:return"AUTH_TOKEN";case te.Sandbox:return"AUTH_TOKEN_SANDBOX";case te.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(Jc(e))))}var Dc=class{constructor(e){this.config=e}async pre(e){return e.init.mode="cors",Uo(this.config.apiEnvironment)&&(e.init.credentials="include"),e}},Ic=class{constructor(e){this.config=e}async pre(e){return Uo(this.config.apiEnvironment)&&(e.init.headers={...e.init.headers,"x-auth-type":"user"}),e}},bc=class{apiVersionsToClient;constructor(e){if(this.config=e,!e.apiVersion||!Object.values(Nt).includes(e.apiVersion))throw new Error(`Invalid Revolugo Api Version. Possible versions are : ${JSON.stringify(Object.values(Nt))}`);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];n===te.Local&&process.env.BOOKING_API_BASE_URL&&(r=process.env.BOOKING_API_BASE_URL);const o=new Ge({basePath:r,fetchApi:Wo.default,headers:t,middleware:[new Dc(this.config),new Ic(this.config)]});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=Xt,i.AllowedPaymentMethodApiFromJSONTyped=Qt,i.AllowedPaymentMethodApiToJSON=xt,i.AllowedPaymentMethodApiToJSONTyped=us,i.AllowedPaymentMethodCouponApiFromJSON=xa,i.AllowedPaymentMethodCouponApiFromJSONTyped=$e,i.AllowedPaymentMethodCouponApiNameEnum=Xa,i.AllowedPaymentMethodCouponApiToJSON=Bt,i.AllowedPaymentMethodCouponApiToJSONTyped=vt,i.AllowedPaymentMethodCreditCardApiFromJSON=ts,i.AllowedPaymentMethodCreditCardApiFromJSONTyped=Ye,i.AllowedPaymentMethodCreditCardApiNameEnum=ja,i.AllowedPaymentMethodCreditCardApiToJSON=Gt,i.AllowedPaymentMethodCreditCardApiToJSONTyped=Ut,i.AllowedPaymentMethodDepositAccountApiFromJSON=rs,i.AllowedPaymentMethodDepositAccountApiFromJSONTyped=Ke,i.AllowedPaymentMethodDepositAccountApiNameEnum=is,i.AllowedPaymentMethodDepositAccountApiToJSON=qt,i.AllowedPaymentMethodDepositAccountApiToJSONTyped=$t,i.AllowedPaymentMethodPayLaterApiFromJSON=cs,i.AllowedPaymentMethodPayLaterApiFromJSONTyped=ze,i.AllowedPaymentMethodPayLaterApiNameEnum=ss,i.AllowedPaymentMethodPayLaterApiPayloadFromJSON=Yt,i.AllowedPaymentMethodPayLaterApiPayloadFromJSONTyped=Kt,i.AllowedPaymentMethodPayLaterApiPayloadStatusEnum=os,i.AllowedPaymentMethodPayLaterApiPayloadToJSON=zt,i.AllowedPaymentMethodPayLaterApiPayloadToJSONTyped=Vt,i.AllowedPaymentMethodPayLaterApiToJSON=Zt,i.AllowedPaymentMethodPayLaterApiToJSONTyped=Wt,i.AmenitiesApiFromJSON=Ve,i.AmenitiesApiFromJSONTyped=jt,i.AmenitiesApiToJSON=Ze,i.AmenitiesApiToJSONTyped=ei,i.ApiClient=bc,i.BASE_PATH=Et,i.BaseAPI=j,i.BedApiFromJSON=ms,i.BedApiFromJSONTyped=ti,i.BedApiToJSON=ps,i.BedApiToJSONTyped=ii,i.BlobApiResponse=Wa,i.BookingApiFromJSON=ne,i.BookingApiFromJSONTyped=_n,i.BookingApiPayLaterEnum=pd,i.BookingApiStatusEnum=hd,i.BookingApiToJSON=Tn,i.BookingApiToJSONTyped=Sn,i.BookingCreateApiFromJSON=Cd,i.BookingCreateApiFromJSONTyped=Un,i.BookingCreateApiGuestsListInnerFromJSON=Dn,i.BookingCreateApiGuestsListInnerFromJSONTyped=In,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSON=Pn,i.BookingCreateApiGuestsListInnerGuestsInnerFromJSONTyped=kn,i.BookingCreateApiGuestsListInnerGuestsInnerToJSON=Mn,i.BookingCreateApiGuestsListInnerGuestsInnerToJSONTyped=Jn,i.BookingCreateApiGuestsListInnerToJSON=bn,i.BookingCreateApiGuestsListInnerToJSONTyped=Hn,i.BookingCreateApiToJSON=qn,i.BookingCreateApiToJSONTyped=$n,i.BookingPolicies=Mo,i.BookingPoliciesApiFromJSON=ct,i.BookingPoliciesApiFromJSONTyped=Zn,i.BookingPoliciesApiToJSON=Md,i.BookingPoliciesApiToJSONTyped=Wn,i.BookingPoliciesCreateApiFromJSON=Dd,i.BookingPoliciesCreateApiFromJSONTyped=Xn,i.BookingPoliciesCreateApiToJSON=Qn,i.BookingPoliciesCreateApiToJSONTyped=xn,i.Bookings=Jo,i.BookingsApiResponseFromJSON=nr,i.BookingsApiResponseFromJSONTyped=rr,i.BookingsApiResponseToJSON=Hd,i.BookingsApiResponseToJSONTyped=or,i.BookingsSortByEnum=wc,i.BookingsSortByOrderEnum=Pc,i.BreakfastOption=Pe,i.BreakfastOptionFromJSON=li,i.BreakfastOptionFromJSONTyped=mi,i.BreakfastOptionToJSON=Ss,i.BreakfastOptionToJSONTyped=Rs,i.COLLECTION_FORMATS=Ka,i.CancellationPolicyApiFromJSON=Ne,i.CancellationPolicyApiFromJSONTyped=ni,i.CancellationPolicyApiToJSON=Ce,i.CancellationPolicyApiToJSONTyped=ri,i.Configuration=Ge,i.ContactPersonApiFromJSON=je,i.ContactPersonApiFromJSONTyped=Pi,i.ContactPersonApiSalutationEnum=qs,i.ContactPersonApiToJSON=et,i.ContactPersonApiToJSONTyped=ki,i.ContactPersonOrganizationApiFromJSON=Ri,i.ContactPersonOrganizationApiFromJSONTyped=Ni,i.ContactPersonOrganizationApiToJSON=Ci,i.ContactPersonOrganizationApiToJSONTyped=wi,i.CountryIso2Code=De,i.CountryIso2CodeFromJSON=Ie,i.CountryIso2CodeFromJSONTyped=Si,i.CountryIso2CodeToJSON=vs,i.CountryIso2CodeToJSONTyped=Gs,i.CurrencyClient=ke,i.CurrencyClientFromJSON=re,i.CurrencyClientFromJSONTyped=yi,i.CurrencyClientToJSON=ks,i.CurrencyClientToJSONTyped=Ms,i.ErrorApiResponseFromJSON=Ld,i.ErrorApiResponseFromJSONTyped=ar,i.ErrorApiResponseToJSON=Bd,i.ErrorApiResponseToJSONTyped=sr,i.ErrorApiResponseTypeEnum=Fd,i.EventApiFromJSON=an,i.EventApiFromJSONTyped=sn,i.EventApiToJSON=dn,i.EventApiToJSONTyped=cn,i.EventMetadataApiFromJSON=Oe,i.EventMetadataApiFromJSONTyped=dr,i.EventMetadataApiToJSON=Ae,i.EventMetadataApiToJSONTyped=cr,i.HotelApiFromJSON=_r,i.HotelApiFromJSONTyped=Tr,i.HotelApiImagesFromJSON=lt,i.HotelApiImagesFromJSONTyped=lr,i.HotelApiImagesToJSON=mt,i.HotelApiImagesToJSONTyped=mr,i.HotelApiToJSON=Kd,i.HotelApiToJSONTyped=Sr,i.HotelImageApiFromJSON=le,i.HotelImageApiFromJSONTyped=ai,i.HotelImageApiToJSON=ge,i.HotelImageApiToJSONTyped=si,i.HotelImages=Do,i.HotelOfferApiFromJSON=Rr,i.HotelOfferApiFromJSONTyped=Nr,i.HotelOfferApiToJSON=Cr,i.HotelOfferApiToJSONTyped=wr,i.HotelOfferRequestApiResponseFromJSON=yt,i.HotelOfferRequestApiResponseFromJSONTyped=Pr,i.HotelOfferRequestApiResponseToJSON=Zd,i.HotelOfferRequestApiResponseToJSONTyped=kr,i.HotelOfferRequestCreateApiFromJSON=Xd,i.HotelOfferRequestCreateApiFromJSONTyped=Mr,i.HotelOfferRequestCreateApiToJSON=Jr,i.HotelOfferRequestCreateApiToJSONTyped=Dr,i.HotelOfferRequests=Io,i.HotelOffers=bo,i.HotelOffersApiResponseFromJSON=Ur,i.HotelOffersApiResponseFromJSONTyped=qr,i.HotelOffersApiResponseMetaFromJSON=Lr,i.HotelOffersApiResponseMetaFromJSONTyped=Br,i.HotelOffersApiResponseMetaToJSON=vr,i.HotelOffersApiResponseMetaToJSONTyped=Gr,i.HotelOffersApiResponseToJSON=nc,i.HotelOffersApiResponseToJSONTyped=$r,i.HotelOffersDataApiResponseFromJSON=Ir,i.HotelOffersDataApiResponseFromJSONTyped=br,i.HotelOffersDataApiResponseToJSON=Hr,i.HotelOffersDataApiResponseToJSONTyped=Fr,i.HotelOffersSortByEnum=kc,i.HotelOffersSortByOrderEnum=Mc,i.HotelReviewRatingApiFromJSON=ut,i.HotelReviewRatingApiFromJSONTyped=ur,i.HotelReviewRatingApiToJSON=ft,i.HotelReviewRatingApiToJSONTyped=fr,i.HotelRoomApiFromJSON=un,i.HotelRoomApiFromJSONTyped=fn,i.HotelRoomApiToJSON=ln,i.HotelRoomApiToJSONTyped=mn,i.HotelRoomOfferApiFromJSON=me,i.HotelRoomOfferApiFromJSONTyped=Ai,i.HotelRoomOfferApiHotelRoomsInnerFromJSON=di,i.HotelRoomOfferApiHotelRoomsInnerFromJSONTyped=ci,i.HotelRoomOfferApiHotelRoomsInnerToJSON=ui,i.HotelRoomOfferApiHotelRoomsInnerToJSONTyped=fi,i.HotelRoomOfferApiPackageTypeEnum=Ds,i.HotelRoomOfferApiResponseFromJSON=Yr,i.HotelRoomOfferApiResponseFromJSONTyped=Kr,i.HotelRoomOfferApiResponseToJSON=oc,i.HotelRoomOfferApiResponseToJSONTyped=zr,i.HotelRoomOfferApiStayTaxesInfoEnum=Is,i.HotelRoomOfferApiToJSON=pe,i.HotelRoomOfferApiToJSONTyped=_i,i.HotelRoomOfferApiTypeEnum=bs,i.HotelRoomOfferImages=Eo,i.HotelRoomOfferRequestApiResponseFromJSON=Ot,i.HotelRoomOfferRequestApiResponseFromJSONTyped=Vr,i.HotelRoomOfferRequestApiResponseToJSON=sc,i.HotelRoomOfferRequestApiResponseToJSONTyped=Zr,i.HotelRoomOfferRequestCreateApiFromJSON=cc,i.HotelRoomOfferRequestCreateApiFromJSONTyped=Wr,i.HotelRoomOfferRequestCreateApiToJSON=Xr,i.HotelRoomOfferRequestCreateApiToJSONTyped=Qr,i.HotelRoomOfferRequests=Lo,i.HotelRoomOffers=Bo,i.HotelRoomOffersApiResponseFromJSON=ao,i.HotelRoomOffersApiResponseFromJSONTyped=so,i.HotelRoomOffersApiResponseToJSON=mc,i.HotelRoomOffersApiResponseToJSONTyped=co,i.HotelRoomOffersCreateApiFromJSON=yc,i.HotelRoomOffersCreateApiFromJSONTyped=po,i.HotelRoomOffersCreateApiToJSON=ho,i.HotelRoomOffersCreateApiToJSONTyped=yo,i.HotelRoomOffersDataApiResponseFromJSON=xr,i.HotelRoomOffersDataApiResponseFromJSONTyped=jr,i.HotelRoomOffersDataApiResponseToJSON=eo,i.HotelRoomOffersDataApiResponseToJSONTyped=to,i.HotelRoomOffersDataCreateApiFromJSON=uo,i.HotelRoomOffersDataCreateApiFromJSONTyped=fo,i.HotelRoomOffersDataCreateApiToJSON=lo,i.HotelRoomOffersDataCreateApiToJSONTyped=mo,i.HotelRoomingListApiFromJSON=at,i.HotelRoomingListApiFromJSONTyped=gn,i.HotelRoomingListApiToJSON=On,i.HotelRoomingListApiToJSONTyped=An,i.HotelRoomingListGuestApiFromJSON=be,i.HotelRoomingListGuestApiFromJSONTyped=pn,i.HotelRoomingListGuestApiToJSON=hn,i.HotelRoomingListGuestApiToJSONTyped=yn,i.HotelRoomingListGuests=Ho,i.HotelRoomingListGuestsCreateApiFromJSON=Oc,i.HotelRoomingListGuestsCreateApiFromJSONTyped=go,i.HotelRoomingListGuestsCreateApiToJSON=Oo,i.HotelRoomingListGuestsCreateApiToJSONTyped=Ao,i.HotelRoomingListGuestsUpdateApiFromJSON=_c,i.HotelRoomingListGuestsUpdateApiFromJSONTyped=_o,i.HotelRoomingListGuestsUpdateApiToJSON=To,i.HotelRoomingListGuestsUpdateApiToJSONTyped=So,i.HotelRoomingLists=Fo,i.Hotels=vo,i.InvoiceApiFromJSON=tn,i.InvoiceApiFromJSONTyped=nn,i.InvoiceApiToJSON=rn,i.InvoiceApiToJSONTyped=on,i.InvoiceApiTypeEnum=dd,i.JSONApiResponse=G,i.Locale=Me,i.LocaleFromJSON=Je,i.LocaleFromJSONTyped=Ti,i.LocaleToJSON=Es,i.LocaleToJSONTyped=Ls,i.MetaPollingResponseApiFromJSON=io,i.MetaPollingResponseApiFromJSONTyped=no,i.MetaPollingResponseApiToJSON=ro,i.MetaPollingResponseApiToJSONTyped=oo,i.MetaResponseApiFromJSON=jn,i.MetaResponseApiFromJSONTyped=er,i.MetaResponseApiToJSON=tr,i.MetaResponseApiToJSONTyped=ir,i.OrderAddonFromJSON=Yn,i.OrderAddonFromJSONTyped=Kn,i.OrderAddonSelectionFromJSON=Rn,i.OrderAddonSelectionFromJSONTyped=Nn,i.OrderAddonSelectionToJSON=Cn,i.OrderAddonSelectionToJSONTyped=wn,i.OrderAddonSelectionTypeEnum=gd,i.OrderAddonToJSON=zn,i.OrderAddonToJSONTyped=Vn,i.OrderAddonTypeEnum=wd,i.PaymentMethodApiFromJSON=ji,i.PaymentMethodApiFromJSONTyped=en,i.PaymentMethodApiToJSON=ot,i.PaymentMethodApiToJSONTyped=sd,i.PaymentMethodCouponApiFromJSON=Vs,i.PaymentMethodCouponApiFromJSONTyped=tt,i.PaymentMethodCouponApiNameEnum=Ks,i.PaymentMethodCouponApiPayloadFromJSON=Mi,i.PaymentMethodCouponApiPayloadFromJSONTyped=Ji,i.PaymentMethodCouponApiPayloadToJSON=Di,i.PaymentMethodCouponApiPayloadToJSONTyped=Ii,i.PaymentMethodCouponApiToJSON=bi,i.PaymentMethodCouponApiToJSONTyped=Hi,i.PaymentMethodCreditCardApiFromJSON=Qs,i.PaymentMethodCreditCardApiFromJSONTyped=it,i.PaymentMethodCreditCardApiNameEnum=Ws,i.PaymentMethodCreditCardApiPayloadFromJSON=Fi,i.PaymentMethodCreditCardApiPayloadFromJSONTyped=Ei,i.PaymentMethodCreditCardApiPayloadToJSON=Li,i.PaymentMethodCreditCardApiPayloadToJSONTyped=Bi,i.PaymentMethodCreditCardApiToJSON=vi,i.PaymentMethodCreditCardApiToJSONTyped=Gi,i.PaymentMethodDepositAccountApiFromJSON=td,i.PaymentMethodDepositAccountApiFromJSONTyped=nt,i.PaymentMethodDepositAccountApiNameEnum=js,i.PaymentMethodDepositAccountApiPayloadFromJSON=Ui,i.PaymentMethodDepositAccountApiPayloadFromJSONTyped=qi,i.PaymentMethodDepositAccountApiPayloadToJSON=$i,i.PaymentMethodDepositAccountApiPayloadToJSONTyped=Yi,i.PaymentMethodDepositAccountApiToJSON=Ki,i.PaymentMethodDepositAccountApiToJSONTyped=zi,i.PaymentMethodPayLaterApiFromJSON=ad,i.PaymentMethodPayLaterApiFromJSONTyped=rt,i.PaymentMethodPayLaterApiNameEnum=rd,i.PaymentMethodPayLaterApiPayloadFromJSON=Vi,i.PaymentMethodPayLaterApiPayloadFromJSONTyped=Zi,i.PaymentMethodPayLaterApiPayloadStatusEnum=id,i.PaymentMethodPayLaterApiPayloadToJSON=Wi,i.PaymentMethodPayLaterApiPayloadToJSONTyped=Xi,i.PaymentMethodPayLaterApiToJSON=Qi,i.PaymentMethodPayLaterApiToJSONTyped=xi,i.PaymentMethodRequestApiFromJSON=st,i.PaymentMethodRequestApiFromJSONTyped=vn,i.PaymentMethodRequestApiNameEnum=Sd,i.PaymentMethodRequestApiToJSON=dt,i.PaymentMethodRequestApiToJSONTyped=Gn,i.PaymentMethodRequestPayloadApiFromJSON=Fn,i.PaymentMethodRequestPayloadApiFromJSONTyped=En,i.PaymentMethodRequestPayloadApiToJSON=Ln,i.PaymentMethodRequestPayloadApiToJSONTyped=Bn,i.PaymentMethodUpdatePayloadApiFromJSON=Sc,i.PaymentMethodUpdatePayloadApiFromJSONTyped=Ro,i.PaymentMethodUpdatePayloadApiToJSON=No,i.PaymentMethodUpdatePayloadApiToJSONTyped=Co,i.PollerStatus=He,i.PollerStatusFromJSON=gt,i.PollerStatusFromJSONTyped=Er,i.PollerStatusToJSON=jd,i.PollerStatusToJSONTyped=ec,i.RequestPayloadFromJSON=Cc,i.RequestPayloadFromJSONTyped=wo,i.RequestPayloadRequestTypeEnum=Rc,i.RequestPayloadToJSON=Po,i.RequestPayloadToJSONTyped=ko,i.RequiredError=v,i.ResponseError=Lt,i.SourceMarket=we,i.SourceMarketFromJSON=ye,i.SourceMarketFromJSONTyped=oi,i.SourceMarketToJSON=gs,i.SourceMarketToJSONTyped=Os,i.TagApiFromJSON=Qe,i.TagApiFromJSONTyped=gi,i.TagApiToJSON=xe,i.TagApiToJSONTyped=Oi,i.TaxApiFromJSON=We,i.TaxApiFromJSONTyped=pi,i.TaxApiTaxFrequencyEnum=Ns,i.TaxApiTaxModeEnum=Cs,i.TaxApiToJSON=Xe,i.TaxApiToJSONTyped=hi,i.TextApiResponse=qe,i.TravelTimesApiFromJSON=pt,i.TravelTimesApiFromJSONTyped=Or,i.TravelTimesApiToJSON=ht,i.TravelTimesApiToJSONTyped=Ar,i.TravelTimesApiTravelTimesFromJSON=pr,i.TravelTimesApiTravelTimesFromJSONTyped=hr,i.TravelTimesApiTravelTimesToJSON=yr,i.TravelTimesApiTravelTimesToJSONTyped=gr,i.VoidApiResponse=Za,i.canConsumeForm=Va,i.exists=za,i.instanceOfAllowedPaymentMethodCouponApi=Qa,i.instanceOfAllowedPaymentMethodCreditCardApi=es,i.instanceOfAllowedPaymentMethodDepositAccountApi=ns,i.instanceOfAllowedPaymentMethodPayLaterApi=ds,i.instanceOfAllowedPaymentMethodPayLaterApiPayload=as,i.instanceOfAmenitiesApi=fs,i.instanceOfBedApi=ls,i.instanceOfBookingApi=yd,i.instanceOfBookingCreateApi=Nd,i.instanceOfBookingCreateApiGuestsListInner=_d,i.instanceOfBookingCreateApiGuestsListInnerGuestsInner=Ad,i.instanceOfBookingPoliciesApi=kd,i.instanceOfBookingPoliciesCreateApi=Jd,i.instanceOfBookingsApiResponse=bd,i.instanceOfBreakfastOption=Ts,i.instanceOfCancellationPolicyApi=hs,i.instanceOfContactPersonApi=$s,i.instanceOfContactPersonOrganizationApi=Us,i.instanceOfCountryIso2Code=Bs,i.instanceOfCurrencyClient=Ps,i.instanceOfErrorApiResponse=Ed,i.instanceOfEventApi=ud,i.instanceOfEventMetadataApi=vd,i.instanceOfHotelApi=Yd,i.instanceOfHotelApiImages=Ud,i.instanceOfHotelImageApi=As,i.instanceOfHotelOfferApi=zd,i.instanceOfHotelOfferRequestApiResponse=Vd,i.instanceOfHotelOfferRequestCreateApi=Wd,i.instanceOfHotelOffersApiResponse=ic,i.instanceOfHotelOffersApiResponseMeta=tc,i.instanceOfHotelOffersDataApiResponse=Qd,i.instanceOfHotelReviewRatingApi=Gd,i.instanceOfHotelRoomApi=fd,i.instanceOfHotelRoomOfferApi=Hs,i.instanceOfHotelRoomOfferApiHotelRoomsInner=_s,i.instanceOfHotelRoomOfferApiResponse=rc,i.instanceOfHotelRoomOfferRequestApiResponse=ac,i.instanceOfHotelRoomOfferRequestCreateApi=dc,i.instanceOfHotelRoomOffersApiResponse=lc,i.instanceOfHotelRoomOffersCreateApi=hc,i.instanceOfHotelRoomOffersDataApiResponse=uc,i.instanceOfHotelRoomOffersDataCreateApi=pc,i.instanceOfHotelRoomingListApi=md,i.instanceOfHotelRoomingListGuestApi=ld,i.instanceOfHotelRoomingListGuestsCreateApi=gc,i.instanceOfHotelRoomingListGuestsUpdateApi=Ac,i.instanceOfInvoiceApi=cd,i.instanceOfLocale=Fs,i.instanceOfMetaPollingResponseApi=fc,i.instanceOfMetaResponseApi=Id,i.instanceOfOrderAddon=Pd,i.instanceOfOrderAddonSelection=Od,i.instanceOfPaymentMethodCouponApi=zs,i.instanceOfPaymentMethodCouponApiPayload=Ys,i.instanceOfPaymentMethodCreditCardApi=Xs,i.instanceOfPaymentMethodCreditCardApiPayload=Zs,i.instanceOfPaymentMethodDepositAccountApi=ed,i.instanceOfPaymentMethodDepositAccountApiPayload=xs,i.instanceOfPaymentMethodPayLaterApi=od,i.instanceOfPaymentMethodPayLaterApiPayload=nd,i.instanceOfPaymentMethodRequestApi=Rd,i.instanceOfPaymentMethodRequestPayloadApi=Td,i.instanceOfPaymentMethodUpdatePayloadApi=Tc,i.instanceOfPollerStatus=xd,i.instanceOfRequestPayload=Nc,i.instanceOfSourceMarket=ys,i.instanceOfTagApi=Js,i.instanceOfTaxApi=ws,i.instanceOfTravelTimesApi=$d,i.instanceOfTravelTimesApiTravelTimes=qd,i.querystring=Ue,i.v1ApiClient=Go});