0&&void 0!==arguments[0]?arguments[0]:{};if(!Ae&&!me){var t=d(d(d(d({},Ve),Ge),n),{},{value:null!==(e=n.value)&&void 0!==e?e:Pe.selectedDate});delete t.onPropsChange,null==ue||ue(t)}}function Ze(e,n){Ae||me||null==pe||pe(e,n)}function Qe(e){null==de||de(e)}function Xe(e){return ce||!y(Q)?"":Array.from(new Set(Q.map((function(n){if(!n.props)return"";var t=n.props.position||"right";return e.includes(t)&&!n.props.disabled?"rmdp-border-"+t:""})))).join(" ")}function en(e,n){Ie[e]||(Ie[e]=[]),Ie[e].push(n)}}));function J(e,n,t,r){var o=[].concat(e).map((function(e){return y(e)?e.map(i).filter(a):i(e)})).filter(a);return y(e)?o:o.flat()[0];function i(e){return e?e instanceof c.default?e:new c.default({date:e,calendar:n,locale:t,format:r}):{}}function a(e){return y(e)||e.isValid}}G('.rmdp-visible{visibility:visible}.rmdp-invisible{visibility:hidden}.rmdp-input{border:1px solid #c0c4d6;border-radius:5px;height:22px;margin:1px 0;padding:2px 5px}.rmdp-input:focus{border:1px solid #a4b3c5;box-shadow:0 0 2px #a4b3c5;outline:none!important}.rmdp-button{background-color:#0074d9;border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;padding:7px 16px;text-align:center;text-decoration:none;transition:.3s}.rmdp-button:hover{background-color:#143ac5;transition:.4s}.rmdp-button:disabled{background-color:#8798ad}.rmdp-action-button{border-radius:unset;color:#2682d3;float:right;font-weight:700;margin:15px 10px 15px 0}.rmdp-action-button,.rmdp-action-button:hover{background-color:transparent}.rmdp-ep-arrow{overflow:hidden;will-change:transform}.rmdp-ep-arrow:after{background-color:#fff;content:"";height:12px;position:absolute;transform:rotate(45deg);width:12px}.rmdp-ep-shadow:after{box-shadow:0 0 6px #8798ad}.rmdp-ep-border:after{border:1px solid #cfd8e2}.rmdp-ep-arrow[direction=top]{border-bottom:1px solid #fff}.rmdp-ep-arrow[direction=left]{border-right:1px solid #fff}.rmdp-ep-arrow[direction=right]{border-left:1px solid #fff;margin-left:-1px}.rmdp-ep-arrow[direction=bottom]{border-top:1px solid #fff;margin-top:-1.5px}.rmdp-ep-arrow[direction=top]:after{left:4px;top:5px}.rmdp-ep-arrow[direction=bottom]:after{left:4px;top:-6px}.rmdp-ep-arrow[direction=left]:after{left:5px;top:3px}.rmdp-ep-arrow[direction=right]:after{left:-6px;top:3px}');var K=["value","calendar","locale","format","onlyMonthPicker","onlyYearPicker","onChange","range","multiple","name","id","title","placeholder","required","style","className","inputClass","disabled","render","weekDays","months","children","inputMode","scrollSensitive","hideOnScroll","minDate","maxDate","formattingIgnoreList","containerClassName","calendarPosition","editable","onOpen","onClose","arrowClassName","zIndex","arrow","fixMainPosition","onPositionChange","onPropsChange","digits","readOnly","shadow","onFocusedDateChange","type","weekPicker","mobileLabels","onOpenPickNewDate","mobileButtons","dateSeparator","multipleRangeSeparator","typingTimeout"],Z=["label"];var Q=r.forwardRef((function(e,n){var t=e.value,o=e.calendar,i=e.locale,a=e.format,u=e.onlyMonthPicker,f=e.onlyYearPicker,h=e.onChange,g=e.range,b=void 0!==g&&g,v=e.multiple,x=void 0!==v&&v,w=e.name,_=e.id,k=e.title,E=e.placeholder,S=e.required,$=e.style,B=void 0===$?{}:$,D=e.className,T=void 0===D?"":D,N=e.inputClass,R=e.disabled,M=e.render,I=e.weekDays,L=e.months,U=e.children,z=e.inputMode,G=e.scrollSensitive,H=void 0===G||G,J=e.hideOnScroll,Q=e.minDate,ne=e.maxDate,te=e.formattingIgnoreList,re=e.containerClassName,oe=void 0===re?"":re,ie=e.calendarPosition,ae=void 0===ie?"bottom-left":ie,le=e.editable,se=void 0===le||le,ce=e.onOpen,ue=e.onClose,de=e.arrowClassName,fe=void 0===de?"":de,pe=e.zIndex,Ae=void 0===pe?100:pe,me=e.arrow,he=void 0===me||me,ge=e.fixMainPosition,be=e.onPositionChange,Ce=e.onPropsChange,ye=e.digits,ve=e.readOnly,xe=e.shadow,we=void 0===xe||xe,_e=e.onFocusedDateChange,ke=e.type,Ee=e.weekPicker,Se=e.mobileLabels,$e=e.onOpenPickNewDate,Be=void 0===$e||$e,De=e.mobileButtons,Te=void 0===De?[]:De,Oe=e.dateSeparator,Ne=e.multipleRangeSeparator,Fe=void 0===Ne?",":Ne,Re=e.typingTimeout,je=void 0===Re?700:Re,Pe=A(e,K),Me=m(r.useState(),2),Ie=Me[0],Le=Me[1],Ue=m(r.useState(),2),Ye=Ue[0],ze=Ue[1],qe=m(r.useState(""),2),We=qe[0],Ge=qe[1],He=m(r.useState(!1),2),Ve=He[0],Je=He[1],Ke=m(r.useState(!1),2),Ze=Ke[0],Qe=Ke[1],Xe=r.useRef(),en=r.useRef(),nn=r.useRef(),tn=r.useRef({isTyping:!1}),rn=Oe||(b||Ee?" ~ ":", "),on=arguments[0],an="string"==typeof T&&T.includes("rmdp-mobile"),ln=r.useCallback((function(){if(!1!==(null==ue?void 0:ue())){var e=ee(en);if(e&&e.forEach((function(e){return e.blur()})),tn.current.mobile){var n=nn.current.parentNode.parentNode;n.classList.remove("rmdp-calendar-container-mobile"),n.style.position="absolute",n.style.visibility="hidden"}void 0!==tn.current.validInputValue&&(Ge(tn.current.validInputValue),tn.current.validInputValue=void 0),Je(!1),Qe(!1)}}),[ue]),sn=[{type:"button",className:"rmdp-button rmdp-action-button",onClick:function(){ze(void 0),ln()},label:dn("CANCEL")},{type:"button",className:"rmdp-button rmdp-action-button",onClick:function(){Ye&&(An(Ye,!0),ze(void 0)),ln()},label:dn("OK")}];an&&!tn.current.mobile&&(tn.current=d(d({},tn.current),{},{mobile:!0})),!an&&tn.current.mobile&&(tn.current=d(d({},tn.current),{},{mobile:!1})),te=O(te),a=j(u,f,a);var cn,un=m(Y(o,i),2);return o=un[0],i=un[1],r.useEffect((function(){function e(e){if(Ve&&!tn.current.mobile){var n=[];if([en.current,nn.current].forEach((function(t){var r,o;!t||t.contains(e.target)||e.target.classList.contains("b-deselect")||null!==(r=e.target.parentNode)&&void 0!==r&&null!==(r=r.classList)&&void 0!==r&&null!==(o=r.contains)&&void 0!==o&&o.call(r,"b-deselect")||n.push(t)})),2===n.length)return ln();nn.current&&nn.current.contains(e.target)&&(Xe.current.removeTransition(),Xe.current.refreshPosition())}}function n(){J&&Ve&&ln()}return document.addEventListener("click",e,!1),document.addEventListener("scroll",n,!0),function(){document.removeEventListener("click",e,!1),document.removeEventListener("scroll",n,!0)}}),[ln,n,Ve,J]),r.useEffect((function(){var e=t,n=tn.current,r=n.date,l=n.initialValue,s=function(){return e[e.length-1]};function u(e){if(e)return e instanceof c.default||(e=new c.default({date:e,calendar:o,locale:i,format:a})),e.calendar!==o&&e.setCalendar(o),e.set({weekDays:I,months:L,digits:ye,locale:i,format:a,ignoreList:JSON.parse(te)}),e}t||l||!r?l&&!t&&(l=void 0):e=r;var f="";if(b||x||y(e)){var p=function(e){return e=e.map(u).filter((function(e){return void 0!==e})),b&&e.length>2&&(e=[e[0],s()]),[e,X(e,rn)]};if(y(e)||(e=b&&x?e?[[e]]:[]:[e]),x&&b)e=e.map((function(n,t){var r=m(p(y(n)?n:[n]),2),o=r[0],i=r[1];return f+=i+(tP(Q,o,a))&&(!ne||e0&&n.forEach((function(e){return e.blur()})),n.length>0||!Ve?Je(!0):ln()}}function pn(e){var n="";return e&&(n=x&&b&&y(e)?e.map((function(e){return X(e,rn)})).join(" ".concat(Fe," ")):X(e,rn)),n}function An(e,n,r){if(an&&!n)return ze(e);var i=pn(e),l=r||i.toString().replace(/\s,\s$/,"");return e&&[].concat(e).flat().some((function(e){return Q&&e
P(ne,o,a)}))?(tn.current.validInputValue=pn(t||tn.current.date),Ge(l)):(tn.current.validInputValue=i,!1===(null==h?void 0:h(e,{validatedValue:i,input:en.current,isTyping:!!r}))?(Ge(We),!1):(Le(e),Ge(l),void(tn.current=d(d({},tn.current),{},{date:e}))))}function mn(e){if(se){tn.current.isTyping=!0,setTimeout((function(){tn.current.isTyping=!1}),je),tn.current.selection=e.target.selectionStart;var n=e.target.value,t={calendar:o,locale:i,format:a,ignoreList:JSON.parse(te)};if(ye=y(ye)?ye:i.digits,!n)return Ge(""),An(null);if(ye){var r,l,s=C(ye);try{for(s.s();!(r=s.n()).done;){var u=r.value;n=n.replace(new RegExp(u,"g"),ye.indexOf(u))}}catch(e){s.e(e)}finally{s.f()}l=y(Ie)?x&&b?(n||"").split(Fe).filter(Boolean).map(p):p(n):f(n),An(y(Ie)||l.isValid?l:null,void 0,F(n,ye))}}function f(e){return/(?=.*Y)(?=.*M)(?=.*D)/.test(a)?new c.default(d(d({},t),{},{date:e})):new c.default(t).parse(e)}function p(e){return(e||"").split(rn).filter(Boolean).map((function(e){return f(e.trim())}))}}}));function X(e,n){var t=[].concat(e).map((function(e){return null!=e&&e.isValid?e.format():""}));return t.toString=function(){return this.filter(Boolean).join(n)},t}function ee(e){return e.current?"INPUT"===e.current.tagName?[e.current]:Array.from(e.current.querySelectorAll("input")):[]}Object.defineProperty(n,"NT",{enumerable:!0,get:function(){return c.default}}),n.f=V},5251:(e,n,t)=>{"use strict";var r=t(7294),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,t){var r,i={},c=null,u=null;for(r in void 0!==t&&(c=""+t),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)a.call(n,r)&&!s.hasOwnProperty(r)&&(i[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===i[r]&&(i[r]=n[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}n.Fragment=i,n.jsx=c,n.jsxs=c},2408:(e,n)=>{"use strict";var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,h={};function g(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||A}function b(){}function C(e,n,t){this.props=e,this.context=n,this.refs=h,this.updater=t||A}g.prototype.isReactComponent={},g.prototype.setState=function(e,n){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var y=C.prototype=new b;y.constructor=C,m(y,g.prototype),y.isPureReactComponent=!0;var v=Array.isArray,x=Object.prototype.hasOwnProperty,w={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function k(e,n,r){var o,i={},a=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)x.call(n,o)&&!_.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1{"use strict";e.exports=t(2408)},5893:(e,n,t)=>{"use strict";e.exports=t(5251)},53:(e,n)=>{"use strict";function t(e,n){var t=e.length;e.push(n);e:for(;0>>1,o=e[r];if(!(0>>1;ri(s,t))ci(u,s)?(e[r]=u,e[c]=t,r=c):(e[r]=s,e[l]=t,r=l);else{if(!(ci(u,t)))break e;e[r]=u,e[c]=t,r=c}}}return n}function i(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;n.unstable_now=function(){return a.now()}}else{var l=Date,s=l.now();n.unstable_now=function(){return l.now()-s}}var c=[],u=[],d=1,f=null,p=3,A=!1,m=!1,h=!1,g="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,C="undefined"!==typeof setImmediate?setImmediate:null;function y(e){for(var n=r(u);null!==n;){if(null===n.callback)o(u);else{if(!(n.startTime<=e))break;o(u),n.sortIndex=n.expirationTime,t(c,n)}n=r(u)}}function v(e){if(h=!1,y(e),!m)if(null!==r(c))m=!0,N(x);else{var n=r(u);null!==n&&F(v,n.startTime-e)}}function x(e,t){m=!1,h&&(h=!1,b(E),E=-1),A=!0;var i=p;try{for(y(t),f=r(c);null!==f&&(!(f.expirationTime>t)||e&&!B());){var a=f.callback;if("function"===typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=t);t=n.unstable_now(),"function"===typeof l?f.callback=l:f===r(c)&&o(c),y(t)}else o(c);f=r(c)}if(null!==f)var s=!0;else{var d=r(u);null!==d&&F(v,d.startTime-t),s=!1}return s}finally{f=null,p=i,A=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,_=!1,k=null,E=-1,S=5,$=-1;function B(){return!(n.unstable_now()-$e||125a?(e.sortIndex=i,t(u,e),null===r(c)&&e===r(u)&&(h?(b(E),E=-1):h=!0,F(v,i-a))):(e.sortIndex=l,t(c,e),m||A||(m=!0,N(x))),e},n.unstable_shouldYield=B,n.unstable_wrapCallback=function(e){var n=p;return function(){var t=p;p=n;try{return e.apply(this,arguments)}finally{p=t}}}},3840:(e,n,t)=>{"use strict";e.exports=t(53)},3379:e=>{"use strict";var n=[];function t(e){for(var t=-1,r=0;r{"use strict";var n={};e.exports=function(e,t){var r=function(e){if("undefined"===typeof n[e]){var t=document.querySelector(e);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(r){t=null}n[e]=t}return n[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}},9216:e=>{"use strict";e.exports=function(e){var n=document.createElement("style");return e.setAttributes(n,e.attributes),e.insert(n,e.options),n}},3565:(e,n,t)=>{"use strict";e.exports=function(e){var n=t.nc;n&&e.setAttribute("nonce",n)}},7795:e=>{"use strict";e.exports=function(e){if("undefined"===typeof document)return{update:function(){},remove:function(){}};var n=e.insertStyleElement(e);return{update:function(t){!function(e,n,t){var r="";t.supports&&(r+="@supports (".concat(t.supports,") {")),t.media&&(r+="@media ".concat(t.media," {"));var o="undefined"!==typeof t.layer;o&&(r+="@layer".concat(t.layer.length>0?" ".concat(t.layer):""," {")),r+=t.css,o&&(r+="}"),t.media&&(r+="}"),t.supports&&(r+="}");var i=t.sourceMap;i&&"undefined"!==typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),n.styleTagTransform(r,e,n.options)}(n,e,t)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)}}}},4589:e=>{"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},3771:(e,n,t)=>{"use strict";var r=t(7294);var o="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},i=r.useSyncExternalStore,a=r.useRef,l=r.useEffect,s=r.useMemo,c=r.useDebugValue;n.useSyncExternalStoreWithSelector=function(e,n,t,r,u){var d=a(null);if(null===d.current){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=s((function(){function e(e){if(!l){if(l=!0,i=e,e=r(e),void 0!==u&&f.hasValue){var n=f.value;if(u(n,e))return a=n}return a=e}if(n=a,o(i,e))return n;var t=r(e);return void 0!==u&&u(n,t)?n:(i=e,a=t)}var i,a,l=!1,s=void 0===t?null:t;return[function(){return e(n())},null===s?void 0:function(){return e(s())}]}),[n,t,r,u]);var p=i(e,d[0],d[1]);return l((function(){f.hasValue=!0,f.value=p}),[p]),c(p),p}},1103:(e,n,t)=>{"use strict";e.exports=t(3771)}},n={};function t(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}t.m=e,t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},(()=>{var e,n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);t.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var l=2&o&&r;"object"==typeof l&&!~e.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,t.d(i,a),i}})(),t.d=(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce(((n,r)=>(t.f[r](e,n),n)),[])),t.u=e=>e+".js",t.miniCssF=e=>{},t.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{var e={},n="tui-react-component-b2c:";t.l=(r,o,i,a)=>{if(e[r])e[r].push(o);else{var l,s;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u{l.onerror=l.onload=null,clearTimeout(p);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(t))),n)return n(t)},p=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}}})(),t.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;t.g.importScripts&&(e=t.g.location+"");var n=t.g.document;if(!e&&n&&(n.currentScript&&(e=n.currentScript.src),!e)){var r=n.getElementsByTagName("script");if(r.length)for(var o=r.length-1;o>-1&&!e;)e=r[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),t.p=e})(),(()=>{var e={179:0};t.f.j=(n,r)=>{var o=t.o(e,n)?e[n]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((t,r)=>o=e[n]=[t,r]));r.push(o[2]=i);var a=t.p+t.u(n),l=new Error;t.l(a,(r=>{if(t.o(e,n)&&(0!==(o=e[n])&&(e[n]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+n+" failed.\n("+i+": "+a+")",l.name="ChunkLoadError",l.type=i,l.request=a,o[1](l)}}),"chunk-"+n,n)}};var n=(n,r)=>{var o,i,a=r[0],l=r[1],s=r[2],c=0;if(a.some((n=>0!==e[n]))){for(o in l)t.o(l,o)&&(t.m[o]=l[o]);if(s)s(t)}for(n&&n(r);c{"use strict";var e={};t.r(e),t.d(e,{hasBrowserEnv:()=>dt,hasStandardBrowserEnv:()=>ft,hasStandardBrowserWebWorkerEnv:()=>At});var n,r=t(5893),o=t(7294),i=t.t(o,2),a=t(745);!function(e){e.Normal="Normal",e.ResultList="ResultList",e.NoResultList="NoResultList"}(n||(n={}));var l=Symbol.for("immer-nothing"),s=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function u(e,...n){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var d=Object.getPrototypeOf;function f(e){return!!e&&!!e[c]}function p(e){return!!e&&(m(e)||Array.isArray(e)||!!e[s]||!!e.constructor?.[s]||y(e)||v(e))}var A=Object.prototype.constructor.toString();function m(e){if(!e||"object"!==typeof e)return!1;const n=d(e);if(null===n)return!0;const t=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===A}function h(e,n){0===g(e)?Reflect.ownKeys(e).forEach((t=>{n(t,e[t],e)})):e.forEach(((t,r)=>n(r,t,e)))}function g(e){const n=e[c];return n?n.type_:Array.isArray(e)?1:y(e)?2:v(e)?3:0}function b(e,n){return 2===g(e)?e.has(n):Object.prototype.hasOwnProperty.call(e,n)}function C(e,n,t){const r=g(e);2===r?e.set(n,t):3===r?e.add(t):e[n]=t}function y(e){return e instanceof Map}function v(e){return e instanceof Set}function x(e){return e.copy_||e.base_}function w(e,n){if(y(e))return new Map(e);if(v(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!n&&m(e)){if(!d(e)){const n=Object.create(null);return Object.assign(n,e)}return{...e}}const t=Object.getOwnPropertyDescriptors(e);delete t[c];let r=Reflect.ownKeys(t);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=k),Object.freeze(e),n&&Object.entries(e).forEach((([e,n])=>_(n,!0)))),e}function k(){u(2)}function E(e){return Object.isFrozen(e)}var S,$={};function B(e){const n=$[e];return n||u(0),n}function D(){return S}function T(e,n){n&&(B("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=n)}function O(e){N(e),e.drafts_.forEach(R),e.drafts_=null}function N(e){e===S&&(S=e.parent_)}function F(e){return S={drafts_:[],parent_:S,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function R(e){const n=e[c];0===n.type_||1===n.type_?n.revoke_():n.revoked_=!0}function j(e,n){n.unfinalizedDrafts_=n.drafts_.length;const t=n.drafts_[0];return void 0!==e&&e!==t?(t[c].modified_&&(O(n),u(4)),p(e)&&(e=P(n,e),n.parent_||I(n,e)),n.patches_&&B("Patches").generateReplacementPatches_(t[c].base_,e,n.patches_,n.inversePatches_)):e=P(n,t,[]),O(n),n.patches_&&n.patchListener_(n.patches_,n.inversePatches_),e!==l?e:void 0}function P(e,n,t){if(E(n))return n;const r=n[c];if(!r)return h(n,((o,i)=>M(e,r,n,o,i,t))),n;if(r.scope_!==e)return n;if(!r.modified_)return I(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const n=r.copy_;let o=n,i=!1;3===r.type_&&(o=new Set(n),n.clear(),i=!0),h(o,((o,a)=>M(e,r,n,o,a,t,i))),I(e,n,!1),t&&e.patches_&&B("Patches").generatePatches_(r,t,e.patches_,e.inversePatches_)}return r.copy_}function M(e,n,t,r,o,i,a){if(f(o)){const a=P(e,o,i&&n&&3!==n.type_&&!b(n.assigned_,r)?i.concat(r):void 0);if(C(t,r,a),!f(a))return;e.canAutoFreeze_=!1}else a&&t.add(o);if(p(o)&&!E(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;P(e,o),n&&n.scope_.parent_||"symbol"===typeof r||!Object.prototype.propertyIsEnumerable.call(t,r)||I(e,o)}}function I(e,n,t=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&_(n,t)}var L={get(e,n){if(n===c)return e;const t=x(e);if(!b(t,n))return function(e,n,t){const r=z(n,t);return r?"value"in r?r.value:r.get?.call(e.draft_):void 0}(e,t,n);const r=t[n];return e.finalized_||!p(r)?r:r===Y(e.base_,n)?(W(e),e.copy_[n]=G(r,e)):r},has:(e,n)=>n in x(e),ownKeys:e=>Reflect.ownKeys(x(e)),set(e,n,t){const r=z(x(e),n);if(r?.set)return r.set.call(e.draft_,t),!0;if(!e.modified_){const r=Y(x(e),n),a=r?.[c];if(a&&a.base_===t)return e.copy_[n]=t,e.assigned_[n]=!1,!0;if(((o=t)===(i=r)?0!==o||1/o===1/i:o!==o&&i!==i)&&(void 0!==t||b(e.base_,n)))return!0;W(e),q(e)}var o,i;return e.copy_[n]===t&&(void 0!==t||n in e.copy_)||Number.isNaN(t)&&Number.isNaN(e.copy_[n])||(e.copy_[n]=t,e.assigned_[n]=!0),!0},deleteProperty:(e,n)=>(void 0!==Y(e.base_,n)||n in e.base_?(e.assigned_[n]=!1,W(e),q(e)):delete e.assigned_[n],e.copy_&&delete e.copy_[n],!0),getOwnPropertyDescriptor(e,n){const t=x(e),r=Reflect.getOwnPropertyDescriptor(t,n);return r?{writable:!0,configurable:1!==e.type_||"length"!==n,enumerable:r.enumerable,value:t[n]}:r},defineProperty(){u(11)},getPrototypeOf:e=>d(e.base_),setPrototypeOf(){u(12)}},U={};function Y(e,n){const t=e[c];return(t?x(t):e)[n]}function z(e,n){if(!(n in e))return;let t=d(e);for(;t;){const e=Object.getOwnPropertyDescriptor(t,n);if(e)return e;t=d(t)}}function q(e){e.modified_||(e.modified_=!0,e.parent_&&q(e.parent_))}function W(e){e.copy_||(e.copy_=w(e.base_,e.scope_.immer_.useStrictShallowCopy_))}h(L,((e,n)=>{U[e]=function(){return arguments[0]=arguments[0][0],n.apply(this,arguments)}})),U.deleteProperty=function(e,n){return U.set.call(this,e,n,void 0)},U.set=function(e,n,t){return L.set.call(this,e[0],n,t,e[0])};function G(e,n){const t=y(e)?B("MapSet").proxyMap_(e,n):v(e)?B("MapSet").proxySet_(e,n):function(e,n){const t=Array.isArray(e),r={type_:t?1:0,scope_:n?n.scope_:D(),modified_:!1,finalized_:!1,assigned_:{},parent_:n,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,i=L;t&&(o=[r],i=U);const{revoke:a,proxy:l}=Proxy.revocable(o,i);return r.draft_=l,r.revoke_=a,l}(e,n);return(n?n.scope_:D()).drafts_.push(t),t}function H(e){return f(e)||u(10),V(e)}function V(e){if(!p(e)||E(e))return e;const n=e[c];let t;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,t=w(e,n.scope_.immer_.useStrictShallowCopy_)}else t=w(e,!0);return h(t,((e,n)=>{C(t,e,V(n))})),n&&(n.finalized_=!1),t}var J=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,n,t)=>{if("function"===typeof e&&"function"!==typeof n){const t=n;n=e;const r=this;return function(e=t,...o){return r.produce(e,(e=>n.call(this,e,...o)))}}let r;if("function"!==typeof n&&u(6),void 0!==t&&"function"!==typeof t&&u(7),p(e)){const o=F(this),i=G(e,void 0);let a=!0;try{r=n(i),a=!1}finally{a?O(o):N(o)}return T(o,t),j(r,o)}if(!e||"object"!==typeof e){if(r=n(e),void 0===r&&(r=e),r===l&&(r=void 0),this.autoFreeze_&&_(r,!0),t){const n=[],o=[];B("Patches").generateReplacementPatches_(e,r,n,o),t(n,o)}return r}u(1)},this.produceWithPatches=(e,n)=>{if("function"===typeof e)return(n,...t)=>this.produceWithPatches(n,(n=>e(n,...t)));let t,r;return[this.produce(e,n,((e,n)=>{t=e,r=n})),t,r]},"boolean"===typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"===typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){p(e)||u(8),f(e)&&(e=H(e));const n=F(this),t=G(e,void 0);return t[c].isManual_=!0,N(n),t}finishDraft(e,n){const t=e&&e[c];t&&t.isManual_||u(9);const{scope_:r}=t;return T(r,n),j(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,n){let t;for(t=n.length-1;t>=0;t--){const r=n[t];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}t>-1&&(n=n.slice(t+1));const r=B("Patches").applyPatches_;return f(e)?r(e,n):this.produce(e,(e=>r(e,n)))}},K=J.produce;J.produceWithPatches.bind(J),J.setAutoFreeze.bind(J),J.setUseStrictShallowCopy.bind(J),J.applyPatches.bind(J),J.createDraft.bind(J),J.finishDraft.bind(J);function Z(e,n="expected a function, instead received "+typeof e){if("function"!==typeof e)throw new TypeError(n)}var Q=e=>Array.isArray(e)?e:[e];function X(e){const n=Array.isArray(e[0])?e[0]:e;return function(e,n="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"===typeof e))){const t=e.map((e=>"function"===typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ");throw new TypeError(`${n}[${t}]`)}}(n,"createSelector expects all input-selectors to be functions, but received the following types: "),n}Symbol(),Object.getPrototypeOf({});var ee="undefined"!==typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},ne=0,te=1;function re(){return{s:ne,v:void 0,o:null,p:null}}function oe(e,n={}){let t=re();const{resultEqualityCheck:r}=n;let o,i=0;function a(){let n=t;const{length:a}=arguments;for(let e=0,t=a;e{t=re(),a.resetResultsCount()},a.resultsCount=()=>i,a.resetResultsCount=()=>{i=0},a}function ie(e,...n){const t="function"===typeof e?{memoize:e,memoizeOptions:n}:e,r=(...e)=>{let n,r=0,o=0,i={},a=e.pop();"object"===typeof a&&(i=a,a=e.pop()),Z(a,`createSelector expects an output function after the inputs, but received: [${typeof a}]`);const l={...t,...i},{memoize:s,memoizeOptions:c=[],argsMemoize:u=oe,argsMemoizeOptions:d=[],devModeChecks:f={}}=l,p=Q(c),A=Q(d),m=X(e),h=s((function(){return r++,a.apply(null,arguments)}),...p);const g=u((function(){o++;const e=function(e,n){const t=[],{length:r}=e;for(let o=0;oo,resetDependencyRecomputations:()=>{o=0},lastResult:()=>n,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:s,argsMemoize:u})};return Object.assign(r,{withTypes:()=>r}),r}var ae=ie(oe),le=Object.assign(((e,n=ae)=>{!function(e,n="expected an object, instead received "+typeof e){if("object"!==typeof e)throw new TypeError(n)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const t=Object.keys(e);return n(t.map((n=>e[n])),((...e)=>e.reduce(((e,n,r)=>(e[t[r]]=n,e)),{})))}),{withTypes:()=>le});function se(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var ce=(()=>"function"===typeof Symbol&&Symbol.observable||"@@observable")(),ue=()=>Math.random().toString(36).substring(7).split("").join("."),de={INIT:`@@redux/INIT${ue()}`,REPLACE:`@@redux/REPLACE${ue()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${ue()}`};function fe(e){if("object"!==typeof e||null===e)return!1;let n=e;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n||null===Object.getPrototypeOf(e)}function pe(e,n,t){if("function"!==typeof e)throw new Error(se(2));if("function"===typeof n&&"function"===typeof t||"function"===typeof t&&"function"===typeof arguments[3])throw new Error(se(0));if("function"===typeof n&&"undefined"===typeof t&&(t=n,n=void 0),"undefined"!==typeof t){if("function"!==typeof t)throw new Error(se(1));return t(pe)(e,n)}let r=e,o=n,i=new Map,a=i,l=0,s=!1;function c(){a===i&&(a=new Map,i.forEach(((e,n)=>{a.set(n,e)})))}function u(){if(s)throw new Error(se(3));return o}function d(e){if("function"!==typeof e)throw new Error(se(4));if(s)throw new Error(se(5));let n=!0;c();const t=l++;return a.set(t,e),function(){if(n){if(s)throw new Error(se(6));n=!1,c(),a.delete(t),i=null}}}function f(e){if(!fe(e))throw new Error(se(7));if("undefined"===typeof e.type)throw new Error(se(8));if("string"!==typeof e.type)throw new Error(se(17));if(s)throw new Error(se(9));try{s=!0,o=r(o,e)}finally{s=!1}return(i=a).forEach((e=>{e()})),e}f({type:de.INIT});return{dispatch:f,subscribe:d,getState:u,replaceReducer:function(e){if("function"!==typeof e)throw new Error(se(10));r=e,f({type:de.REPLACE})},[ce]:function(){const e=d;return{subscribe(n){if("object"!==typeof n||null===n)throw new Error(se(11));function t(){const e=n;e.next&&e.next(u())}t();return{unsubscribe:e(t)}},[ce](){return this}}}}}function Ae(e){const n=Object.keys(e),t={};for(let a=0;a{const t=e[n];if("undefined"===typeof t(void 0,{type:de.INIT}))throw new Error(se(12));if("undefined"===typeof t(void 0,{type:de.PROBE_UNKNOWN_ACTION()}))throw new Error(se(13))}))}(t)}catch(i){o=i}return function(e={},n){if(o)throw o;let i=!1;const a={};for(let o=0;oe:1===e.length?e[0]:e.reduce(((e,n)=>(...t)=>e(n(...t))))}function he(e){return({dispatch:n,getState:t})=>r=>o=>"function"===typeof o?o(n,t,e):r(o)}var ge=he(),be=he,Ce=(((...e)=>{const n=ie(...e),t=Object.assign(((...e)=>{const t=n(...e),r=(e,...n)=>t(f(e)?H(e):e,...n);return Object.assign(r,t),r}),{withTypes:()=>t})})(oe),"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?me:me.apply(null,arguments)});"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function ye(e,n){function t(...t){if(n){let r=n(...t);if(!r)throw new Error(ze(0));return{type:e,payload:r.payload,..."meta"in r&&{meta:r.meta},..."error"in r&&{error:r.error}}}return{type:e,payload:t[0]}}return t.toString=()=>`${e}`,t.type=e,t.match=n=>function(e){return fe(e)&&"type"in e&&"string"===typeof e.type}(n)&&n.type===e,t}var ve=class e extends Array{constructor(...n){super(...n),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...n){return 1===n.length&&Array.isArray(n[0])?new e(...n[0].concat(this)):new e(...n.concat(this))}};function xe(e){return p(e)?K(e,(()=>{})):e}function we(e,n,t){if(e.has(n)){let r=e.get(n);return t.update&&(r=t.update(r,n,e),e.set(n,r)),r}if(!t.insert)throw new Error(ze(10));const r=t.insert(n,e);return e.set(n,r),r}var _e="RTK_autoBatch",ke=e=>n=>{setTimeout(n,e)},Ee="undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:ke(10),Se=e=>function(n){const{autoBatch:t=!0}=n??{};let r=new ve(e);return t&&r.push(((e={type:"raf"})=>n=>(...t)=>{const r=n(...t);let o=!0,i=!1,a=!1;const l=new Set,s="tick"===e.type?queueMicrotask:"raf"===e.type?Ee:"callback"===e.type?e.queueNotification:ke(e.timeout),c=()=>{a=!1,i&&(i=!1,l.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){const n=r.subscribe((()=>o&&e()));return l.add(e),()=>{n(),l.delete(e)}},dispatch(e){try{return o=!e?.meta?.[_e],i=!o,i&&(a||(a=!0,s(c))),r.dispatch(e)}finally{o=!0}}})})("object"===typeof t?t:void 0)),r};function $e(e){const n={},t=[];let r;const o={addCase(e,t){const r="string"===typeof e?e:e.type;if(!r)throw new Error(ze(28));if(r in n)throw new Error(ze(29));return n[r]=t,o},addMatcher:(e,n)=>(t.push({matcher:e,reducer:n}),o),addDefaultCase:e=>(r=e,o)};return e(o),[n,t,r]}var Be=(e=21)=>{let n="",t=e;for(;t--;)n+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return n};var De=Symbol.for("rtk-slice-createasyncthunk");function Te(e,n){return`${e}/${n}`}function Oe({creators:e}={}){const n=e?.asyncThunk?.[De];return function(e){const{name:t,reducerPath:r=t}=e;if(!t)throw new Error(ze(11));const o=("function"===typeof e.reducers?e.reducers(function(){function e(e,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...n}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name]:(...n)=>e(...n)}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,n)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:n}),asyncThunk:e}}()):e.reducers)||{},i=Object.keys(o),a={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},l={addCase(e,n){const t="string"===typeof e?e:e.type;if(!t)throw new Error(ze(12));if(t in a.sliceCaseReducersByType)throw new Error(ze(13));return a.sliceCaseReducersByType[t]=n,l},addMatcher:(e,n)=>(a.sliceMatchers.push({matcher:e,reducer:n}),l),exposeAction:(e,n)=>(a.actionCreators[e]=n,l),exposeCaseReducer:(e,n)=>(a.sliceCaseReducersByName[e]=n,l)};function s(){const[n={},t=[],r]="function"===typeof e.extraReducers?$e(e.extraReducers):[e.extraReducers],o={...n,...a.sliceCaseReducersByType};return function(e,n){let t,[r,o,i]=$e(n);if("function"===typeof e)t=()=>xe(e());else{const n=xe(e);t=()=>n}function a(e=t(),n){let a=[r[n.type],...o.filter((({matcher:e})=>e(n))).map((({reducer:e})=>e))];return 0===a.filter((e=>!!e)).length&&(a=[i]),a.reduce(((e,t)=>{if(t){if(f(e)){const r=t(e,n);return void 0===r?e:r}if(p(e))return K(e,(e=>t(e,n)));{const r=t(e,n);if(void 0===r){if(null===e)return e;throw new Error(ze(9))}return r}}return e}),e)}return a.getInitialState=t,a}(e.initialState,(e=>{for(let n in o)e.addCase(n,o[n]);for(let n of a.sliceMatchers)e.addMatcher(n.matcher,n.reducer);for(let n of t)e.addMatcher(n.matcher,n.reducer);r&&e.addDefaultCase(r)}))}i.forEach((r=>{const i=o[r],a={reducerName:r,type:Te(t,r),createNotation:"function"===typeof e.reducers};!function(e){return"asyncThunk"===e._reducerDefinitionType}(i)?function({type:e,reducerName:n,createNotation:t},r,o){let i,a;if("reducer"in r){if(t&&!function(e){return"reducerWithPrepare"===e._reducerDefinitionType}(r))throw new Error(ze(17));i=r.reducer,a=r.prepare}else i=r;o.addCase(e,i).exposeCaseReducer(n,i).exposeAction(n,a?ye(e,a):ye(e))}(a,i,l):function({type:e,reducerName:n},t,r,o){if(!o)throw new Error(ze(18));const{payloadCreator:i,fulfilled:a,pending:l,rejected:s,settled:c,options:u}=t,d=o(e,i,u);r.exposeAction(n,d),a&&r.addCase(d.fulfilled,a);l&&r.addCase(d.pending,l);s&&r.addCase(d.rejected,s);c&&r.addMatcher(d.settled,c);r.exposeCaseReducer(n,{fulfilled:a||Re,pending:l||Re,rejected:s||Re,settled:c||Re})}(a,i,l,n)}));const c=e=>e,u=new Map;let d;function A(e,n){return d||(d=s()),d(e,n)}function m(){return d||(d=s()),d.getInitialState()}function h(n,t=!1){function r(e){let r=e[n];return"undefined"===typeof r&&t&&(r=m()),r}function o(n=c){const r=we(u,t,{insert:()=>new WeakMap});return we(r,n,{insert:()=>{const r={};for(const[o,i]of Object.entries(e.selectors??{}))r[o]=Ne(i,n,m,t);return r}})}return{reducerPath:n,getSelectors:o,get selectors(){return o(r)},selectSlice:r}}const g={name:t,reducer:A,actions:a.actionCreators,caseReducers:a.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:n,...t}={}){const o=n??r;return e.inject({reducerPath:o,reducer:A},t),{...g,...h(o,!0)}}};return g}}function Ne(e,n,t,r){function o(o,...i){let a=n(o);return"undefined"===typeof a&&r&&(a=t()),e(a,...i)}return o.unwrapped=e,o}var Fe=Oe();function Re(){}var je=(e,n)=>{if("function"!==typeof e)throw new Error(ze(32))};var{assign:Pe}=Object,Me="listenerMiddleware",Ie=e=>{let{type:n,actionCreator:t,matcher:r,predicate:o,effect:i}=e;if(n)o=ye(n).match;else if(t)n=t.type,o=t.match;else if(r)o=r;else if(!o)throw new Error(ze(21));return je(i),{predicate:o,type:n,effect:i}},Le=Object.assign((e=>{const{type:n,predicate:t,effect:r}=Ie(e);return{id:Be(),effect:r,type:n,predicate:t,pending:new Set,unsubscribe:()=>{throw new Error(ze(22))}}}),{withTypes:()=>Le}),Ue=Object.assign(ye(`${Me}/add`),{withTypes:()=>Ue}),Ye=(ye(`${Me}/removeAll`),Object.assign(ye(`${Me}/remove`),{withTypes:()=>Ye}));Symbol.for("rtk-state-proxy-original");function ze(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var qe=Fe({name:"localData",initialState:{searchContext:null},reducers:{setSearchContext:function(e,n){e.searchContext=n.payload}}}),We=qe.actions.setSearchContext;const Ge=qe.reducer;var He=t(1103),Ve=o,Je=Symbol.for("react-redux-context"),Ke="undefined"!==typeof globalThis?globalThis:{};function Ze(){if(!Ve.createContext)return{};const e=Ke[Je]??(Ke[Je]=new Map);let n=e.get(Ve.createContext);return n||(n=Ve.createContext(null),e.set(Ve.createContext,n)),n}var Qe=Ze();function Xe(e=Qe){return function(){return Ve.useContext(e)}}var en=Xe();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");function nn(e){e()}var tn={notify(){},get:()=>[]};function rn(e,n){let t,r=tn,o=0,i=!1;function a(){c.onStateChange&&c.onStateChange()}function l(){o++,t||(t=n?n.addNestedSub(a):e.subscribe(a),r=function(){let e=null,n=null;return{clear(){e=null,n=null},notify(){nn((()=>{let n=e;for(;n;)n.callback(),n=n.next}))},get(){const n=[];let t=e;for(;t;)n.push(t),t=t.next;return n},subscribe(t){let r=!0;const o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,t&&0===o&&(t(),t=void 0,r.clear(),r=tn)}const c={addNestedSub:function(e){l();const n=r.subscribe(e);let t=!1;return()=>{t||(t=!0,n(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,l())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return c}var on=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?Ve.useLayoutEffect:Ve.useEffect;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype;var an=function({store:e,context:n,children:t,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){const a=Ve.useMemo((()=>{const n=rn(e);return{store:e,subscription:n,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),l=Ve.useMemo((()=>e.getState()),[e]);on((()=>{const{subscription:n}=a;return n.onStateChange=n.notifyNestedSubs,n.trySubscribe(),l!==e.getState()&&n.notifyNestedSubs(),()=>{n.tryUnsubscribe(),n.onStateChange=void 0}}),[a,l]);const s=n||Qe;return Ve.createElement(s.Provider,{value:a},t)};function ln(e=Qe){const n=e===Qe?en:Xe(e),t=()=>{const{store:e}=n();return e};return Object.assign(t,{withTypes:()=>t}),t}var sn=ln();function cn(e=Qe){const n=e===Qe?sn:ln(e),t=()=>n().dispatch;return Object.assign(t,{withTypes:()=>t}),t}var un,dn=cn();function fn(e,n){return function(){return e.apply(n,arguments)}}un=He.useSyncExternalStoreWithSelector,(e=>{e})(o.useSyncExternalStore);const{toString:pn}=Object.prototype,{getPrototypeOf:An}=Object,mn=(hn=Object.create(null),e=>{const n=pn.call(e);return hn[n]||(hn[n]=n.slice(8,-1).toLowerCase())});var hn;const gn=e=>(e=e.toLowerCase(),n=>mn(n)===e),bn=e=>n=>typeof n===e,{isArray:Cn}=Array,yn=bn("undefined");const vn=gn("ArrayBuffer");const xn=bn("string"),wn=bn("function"),_n=bn("number"),kn=e=>null!==e&&"object"===typeof e,En=e=>{if("object"!==mn(e))return!1;const n=An(e);return(null===n||n===Object.prototype||null===Object.getPrototypeOf(n))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Sn=gn("Date"),$n=gn("File"),Bn=gn("Blob"),Dn=gn("FileList"),Tn=gn("URLSearchParams");function On(e,n,{allOwnKeys:t=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),Cn(e))for(r=0,o=e.length;r0;)if(r=t[o],n===r.toLowerCase())return r;return null}const Fn="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Rn=e=>!yn(e)&&e!==Fn;const jn=(Pn="undefined"!==typeof Uint8Array&&An(Uint8Array),e=>Pn&&e instanceof Pn);var Pn;const Mn=gn("HTMLFormElement"),In=(({hasOwnProperty:e})=>(n,t)=>e.call(n,t))(Object.prototype),Ln=gn("RegExp"),Un=(e,n)=>{const t=Object.getOwnPropertyDescriptors(e),r={};On(t,((t,o)=>{let i;!1!==(i=n(t,o,e))&&(r[o]=i||t)})),Object.defineProperties(e,r)},Yn="abcdefghijklmnopqrstuvwxyz",zn="0123456789",qn={DIGIT:zn,ALPHA:Yn,ALPHA_DIGIT:Yn+Yn.toUpperCase()+zn};const Wn=gn("AsyncFunction"),Gn={isArray:Cn,isArrayBuffer:vn,isBuffer:function(e){return null!==e&&!yn(e)&&null!==e.constructor&&!yn(e.constructor)&&wn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let n;return e&&("function"===typeof FormData&&e instanceof FormData||wn(e.append)&&("formdata"===(n=mn(e))||"object"===n&&wn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let n;return n="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&vn(e.buffer),n},isString:xn,isNumber:_n,isBoolean:e=>!0===e||!1===e,isObject:kn,isPlainObject:En,isUndefined:yn,isDate:Sn,isFile:$n,isBlob:Bn,isRegExp:Ln,isFunction:wn,isStream:e=>kn(e)&&wn(e.pipe),isURLSearchParams:Tn,isTypedArray:jn,isFileList:Dn,forEach:On,merge:function e(){const{caseless:n}=Rn(this)&&this||{},t={},r=(r,o)=>{const i=n&&Nn(t,o)||o;En(t[i])&&En(r)?t[i]=e(t[i],r):En(r)?t[i]=e({},r):Cn(r)?t[i]=r.slice():t[i]=r};for(let o=0,i=arguments.length;o(On(n,((n,r)=>{t&&wn(n)?e[r]=fn(n,t):e[r]=n}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,n,t,r)=>{e.prototype=Object.create(n.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),t&&Object.assign(e.prototype,t)},toFlatObject:(e,n,t,r)=>{let o,i,a;const l={};if(n=n||{},null==e)return n;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,n)||l[a]||(n[a]=e[a],l[a]=!0);e=!1!==t&&An(e)}while(e&&(!t||t(e,n))&&e!==Object.prototype);return n},kindOf:mn,kindOfTest:gn,endsWith:(e,n,t)=>{e=String(e),(void 0===t||t>e.length)&&(t=e.length),t-=n.length;const r=e.indexOf(n,t);return-1!==r&&r===t},toArray:e=>{if(!e)return null;if(Cn(e))return e;let n=e.length;if(!_n(n))return null;const t=new Array(n);for(;n-- >0;)t[n]=e[n];return t},forEachEntry:(e,n)=>{const t=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=t.next())&&!r.done;){const t=r.value;n.call(e,t[0],t[1])}},matchAll:(e,n)=>{let t;const r=[];for(;null!==(t=e.exec(n));)r.push(t);return r},isHTMLForm:Mn,hasOwnProperty:In,hasOwnProp:In,reduceDescriptors:Un,freezeMethods:e=>{Un(e,((n,t)=>{if(wn(e)&&-1!==["arguments","caller","callee"].indexOf(t))return!1;const r=e[t];wn(r)&&(n.enumerable=!1,"writable"in n?n.writable=!1:n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")}))}))},toObjectSet:(e,n)=>{const t={},r=e=>{e.forEach((e=>{t[e]=!0}))};return Cn(e)?r(e):r(String(e).split(n)),t},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,n,t){return n.toUpperCase()+t})),noop:()=>{},toFiniteNumber:(e,n)=>(e=+e,Number.isFinite(e)?e:n),findKey:Nn,global:Fn,isContextDefined:Rn,ALPHABET:qn,generateString:(e=16,n=qn.ALPHA_DIGIT)=>{let t="";const{length:r}=n;for(;e--;)t+=n[Math.random()*r|0];return t},isSpecCompliantForm:function(e){return!!(e&&wn(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const n=new Array(10),t=(e,r)=>{if(kn(e)){if(n.indexOf(e)>=0)return;if(!("toJSON"in e)){n[r]=e;const o=Cn(e)?[]:{};return On(e,((e,n)=>{const i=t(e,r+1);!yn(i)&&(o[n]=i)})),n[r]=void 0,o}}return e};return t(e,0)},isAsyncFn:Wn,isThenable:e=>e&&(kn(e)||wn(e))&&wn(e.then)&&wn(e.catch)};function Hn(e,n,t,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",n&&(this.code=n),t&&(this.config=t),r&&(this.request=r),o&&(this.response=o)}Gn.inherits(Hn,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Gn.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Vn=Hn.prototype,Jn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Jn[e]={value:e}})),Object.defineProperties(Hn,Jn),Object.defineProperty(Vn,"isAxiosError",{value:!0}),Hn.from=(e,n,t,r,o,i)=>{const a=Object.create(Vn);return Gn.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Hn.call(a,e.message,n,t,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const Kn=Hn;function Zn(e){return Gn.isPlainObject(e)||Gn.isArray(e)}function Qn(e){return Gn.endsWith(e,"[]")?e.slice(0,-2):e}function Xn(e,n,t){return e?e.concat(n).map((function(e,n){return e=Qn(e),!t&&n?"["+e+"]":e})).join(t?".":""):n}const et=Gn.toFlatObject(Gn,{},null,(function(e){return/^is[A-Z]/.test(e)}));const nt=function(e,n,t){if(!Gn.isObject(e))throw new TypeError("target must be an object");n=n||new FormData;const r=(t=Gn.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,n){return!Gn.isUndefined(n[e])}))).metaTokens,o=t.visitor||c,i=t.dots,a=t.indexes,l=(t.Blob||"undefined"!==typeof Blob&&Blob)&&Gn.isSpecCompliantForm(n);if(!Gn.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(Gn.isDate(e))return e.toISOString();if(!l&&Gn.isBlob(e))throw new Kn("Blob is not supported. Use a Buffer instead.");return Gn.isArrayBuffer(e)||Gn.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,t,o){let l=e;if(e&&!o&&"object"===typeof e)if(Gn.endsWith(t,"{}"))t=r?t:t.slice(0,-2),e=JSON.stringify(e);else if(Gn.isArray(e)&&function(e){return Gn.isArray(e)&&!e.some(Zn)}(e)||(Gn.isFileList(e)||Gn.endsWith(t,"[]"))&&(l=Gn.toArray(e)))return t=Qn(t),l.forEach((function(e,r){!Gn.isUndefined(e)&&null!==e&&n.append(!0===a?Xn([t],r,i):null===a?t:t+"[]",s(e))})),!1;return!!Zn(e)||(n.append(Xn(o,t,i),s(e)),!1)}const u=[],d=Object.assign(et,{defaultVisitor:c,convertValue:s,isVisitable:Zn});if(!Gn.isObject(e))throw new TypeError("data must be an object");return function e(t,r){if(!Gn.isUndefined(t)){if(-1!==u.indexOf(t))throw Error("Circular reference detected in "+r.join("."));u.push(t),Gn.forEach(t,(function(t,i){!0===(!(Gn.isUndefined(t)||null===t)&&o.call(n,t,Gn.isString(i)?i.trim():i,r,d))&&e(t,r?r.concat(i):[i])})),u.pop()}}(e),n};function tt(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return n[e]}))}function rt(e,n){this._pairs=[],e&&nt(e,this,n)}const ot=rt.prototype;ot.append=function(e,n){this._pairs.push([e,n])},ot.toString=function(e){const n=e?function(n){return e.call(this,n,tt)}:tt;return this._pairs.map((function(e){return n(e[0])+"="+n(e[1])}),"").join("&")};const it=rt;function at(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(e,n,t){if(!n)return e;const r=t&&t.encode||at,o=t&&t.serialize;let i;if(i=o?o(n,t):Gn.isURLSearchParams(n)?n.toString():new it(n,t).toString(r),i){const n=e.indexOf("#");-1!==n&&(e=e.slice(0,n)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const st=class{constructor(){this.handlers=[]}use(e,n,t){return this.handlers.push({fulfilled:e,rejected:n,synchronous:!!t&&t.synchronous,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Gn.forEach(this.handlers,(function(n){null!==n&&e(n)}))}},ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ut={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:it,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},dt="undefined"!==typeof window&&"undefined"!==typeof document,ft=(pt="undefined"!==typeof navigator&&navigator.product,dt&&["ReactNative","NativeScript","NS"].indexOf(pt)<0);var pt;const At="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,mt={...e,...ut};const ht=function(e){function n(e,t,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&Gn.isArray(r)?r.length:i,l)return Gn.hasOwnProp(r,i)?r[i]=[r[i],t]:r[i]=t,!a;r[i]&&Gn.isObject(r[i])||(r[i]=[]);return n(e,t,r[i],o)&&Gn.isArray(r[i])&&(r[i]=function(e){const n={},t=Object.keys(e);let r;const o=t.length;let i;for(r=0;r{n(function(e){return Gn.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,t,0)})),t}return null};const gt={transitional:ct,adapter:["xhr","http"],transformRequest:[function(e,n){const t=n.getContentType()||"",r=t.indexOf("application/json")>-1,o=Gn.isObject(e);o&&Gn.isHTMLForm(e)&&(e=new FormData(e));if(Gn.isFormData(e))return r?JSON.stringify(ht(e)):e;if(Gn.isArrayBuffer(e)||Gn.isBuffer(e)||Gn.isStream(e)||Gn.isFile(e)||Gn.isBlob(e))return e;if(Gn.isArrayBufferView(e))return e.buffer;if(Gn.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(t.indexOf("application/x-www-form-urlencoded")>-1)return function(e,n){return nt(e,new mt.classes.URLSearchParams,Object.assign({visitor:function(e,n,t,r){return mt.isNode&&Gn.isBuffer(e)?(this.append(n,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},n))}(e,this.formSerializer).toString();if((i=Gn.isFileList(e))||t.indexOf("multipart/form-data")>-1){const n=this.env&&this.env.FormData;return nt(i?{"files[]":e}:e,n&&new n,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),function(e,n,t){if(Gn.isString(e))try{return(n||JSON.parse)(e),Gn.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(t||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const n=this.transitional||gt.transitional,t=n&&n.forcedJSONParsing,r="json"===this.responseType;if(e&&Gn.isString(e)&&(t&&!this.responseType||r)){const t=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(t){if("SyntaxError"===o.name)throw Kn.from(o,Kn.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Gn.forEach(["delete","get","head","post","put","patch"],(e=>{gt.headers[e]={}}));const bt=gt,Ct=Gn.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yt=Symbol("internals");function vt(e){return e&&String(e).trim().toLowerCase()}function xt(e){return!1===e||null==e?e:Gn.isArray(e)?e.map(xt):String(e)}function wt(e,n,t,r,o){return Gn.isFunction(r)?r.call(this,n,t):(o&&(n=t),Gn.isString(n)?Gn.isString(r)?-1!==n.indexOf(r):Gn.isRegExp(r)?r.test(n):void 0:void 0)}class _t{constructor(e){e&&this.set(e)}set(e,n,t){const r=this;function o(e,n,t){const o=vt(n);if(!o)throw new Error("header name must be a non-empty string");const i=Gn.findKey(r,o);(!i||void 0===r[i]||!0===t||void 0===t&&!1!==r[i])&&(r[i||n]=xt(e))}const i=(e,n)=>Gn.forEach(e,((e,t)=>o(e,t,n)));return Gn.isPlainObject(e)||e instanceof this.constructor?i(e,n):Gn.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const n={};let t,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),t=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!t||n[t]&&Ct[t]||("set-cookie"===t?n[t]?n[t].push(r):n[t]=[r]:n[t]=n[t]?n[t]+", "+r:r)})),n})(e),n):null!=e&&o(n,e,t),this}get(e,n){if(e=vt(e)){const t=Gn.findKey(this,e);if(t){const e=this[t];if(!n)return e;if(!0===n)return function(e){const n=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(e);)n[r[1]]=r[2];return n}(e);if(Gn.isFunction(n))return n.call(this,e,t);if(Gn.isRegExp(n))return n.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=vt(e)){const t=Gn.findKey(this,e);return!(!t||void 0===this[t]||n&&!wt(0,this[t],t,n))}return!1}delete(e,n){const t=this;let r=!1;function o(e){if(e=vt(e)){const o=Gn.findKey(t,e);!o||n&&!wt(0,t[o],o,n)||(delete t[o],r=!0)}}return Gn.isArray(e)?e.forEach(o):o(e),r}clear(e){const n=Object.keys(this);let t=n.length,r=!1;for(;t--;){const o=n[t];e&&!wt(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const n=this,t={};return Gn.forEach(this,((r,o)=>{const i=Gn.findKey(t,o);if(i)return n[i]=xt(r),void delete n[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,n,t)=>n.toUpperCase()+t))}(o):String(o).trim();a!==o&&delete n[o],n[a]=xt(r),t[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Gn.forEach(this,((t,r)=>{null!=t&&!1!==t&&(n[r]=e&&Gn.isArray(t)?t.join(", "):t)})),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,n])=>e+": "+n)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const t=new this(e);return n.forEach((e=>t.set(e))),t}static accessor(e){const n=(this[yt]=this[yt]={accessors:{}}).accessors,t=this.prototype;function r(e){const r=vt(e);n[r]||(!function(e,n){const t=Gn.toCamelCase(" "+n);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+t,{value:function(e,t,o){return this[r].call(this,n,e,t,o)},configurable:!0})}))}(t,e),n[r]=!0)}return Gn.isArray(e)?e.forEach(r):r(e),this}}_t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Gn.reduceDescriptors(_t.prototype,(({value:e},n)=>{let t=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(e){this[t]=e}}})),Gn.freezeMethods(_t);const kt=_t;function Et(e,n){const t=this||bt,r=n||t,o=kt.from(r.headers);let i=r.data;return Gn.forEach(e,(function(e){i=e.call(t,i,o.normalize(),n?n.status:void 0)})),o.normalize(),i}function St(e){return!(!e||!e.__CANCEL__)}function $t(e,n,t){Kn.call(this,null==e?"canceled":e,Kn.ERR_CANCELED,n,t),this.name="CanceledError"}Gn.inherits($t,Kn,{__CANCEL__:!0});const Bt=$t;const Dt=mt.hasStandardBrowserEnv?{write(e,n,t,r,o,i){const a=[e+"="+encodeURIComponent(n)];Gn.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),Gn.isString(r)&&a.push("path="+r),Gn.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Tt(e,n){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)?function(e,n){return n?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e}(e,n):n}const Ot=mt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let t;function r(t){let r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){const n=Gn.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0};const Nt=function(e,n){e=e||10;const t=new Array(e),r=new Array(e);let o,i=0,a=0;return n=void 0!==n?n:1e3,function(l){const s=Date.now(),c=r[a];o||(o=s),t[i]=l,r[i]=s;let u=a,d=0;for(;u!==i;)d+=t[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-t,s=r(l);t=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:o};c[n?"download":"upload"]=!0,e(c)}}const Rt={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(n,t){let r=e.data;const o=kt.from(e.headers).normalize();let i,a,{responseType:l,withXSRFToken:s}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(Gn.isFormData(r))if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[e,...n]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...n].join("; "))}let u=new XMLHttpRequest;if(e.auth){const n=e.auth.username||"",t=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(n+":"+t))}const d=Tt(e.baseURL,e.url);function f(){if(!u)return;const r=kt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,n,t){const r=t.config.validateStatus;t.status&&r&&!r(t.status)?n(new Kn("Request failed with status code "+t.status,[Kn.ERR_BAD_REQUEST,Kn.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t)):e(t)}((function(e){n(e),c()}),(function(e){t(e),c()}),{data:l&&"text"!==l&&"json"!==l?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),lt(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(f)},u.onabort=function(){u&&(t(new Kn("Request aborted",Kn.ECONNABORTED,e,u)),u=null)},u.onerror=function(){t(new Kn("Network Error",Kn.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let n=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ct;e.timeoutErrorMessage&&(n=e.timeoutErrorMessage),t(new Kn(n,r.clarifyTimeoutError?Kn.ETIMEDOUT:Kn.ECONNABORTED,e,u)),u=null},mt.hasStandardBrowserEnv&&(s&&Gn.isFunction(s)&&(s=s(e)),s||!1!==s&&Ot(d))){const n=e.xsrfHeaderName&&e.xsrfCookieName&&Dt.read(e.xsrfCookieName);n&&o.set(e.xsrfHeaderName,n)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&Gn.forEach(o.toJSON(),(function(e,n){u.setRequestHeader(n,e)})),Gn.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&"json"!==l&&(u.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&u.addEventListener("progress",Ft(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Ft(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=n=>{u&&(t(!n||n.type?new Bt(null,e,u):n),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const p=function(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}(d);p&&-1===mt.protocols.indexOf(p)?t(new Kn("Unsupported protocol "+p+":",Kn.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};Gn.forEach(Rt,((e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch(t){}Object.defineProperty(e,"adapterName",{value:n})}}));const jt=e=>`- ${e}`,Pt=e=>Gn.isFunction(e)||null===e||!1===e,Mt=e=>{e=Gn.isArray(e)?e:[e];const{length:n}=e;let t,r;const o={};for(let i=0;i`adapter ${e} `+(!1===n?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(jt).join("\n"):" "+jt(e[0]):"as no adapter specified";throw new Kn("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return r};function It(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Bt(null,e)}function Lt(e){It(e),e.headers=kt.from(e.headers),e.data=Et.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Mt(e.adapter||bt.adapter)(e).then((function(n){return It(e),n.data=Et.call(e,e.transformResponse,n),n.headers=kt.from(n.headers),n}),(function(n){return St(n)||(It(e),n&&n.response&&(n.response.data=Et.call(e,e.transformResponse,n.response),n.response.headers=kt.from(n.response.headers))),Promise.reject(n)}))}const Ut=e=>e instanceof kt?e.toJSON():e;function Yt(e,n){n=n||{};const t={};function r(e,n,t){return Gn.isPlainObject(e)&&Gn.isPlainObject(n)?Gn.merge.call({caseless:t},e,n):Gn.isPlainObject(n)?Gn.merge({},n):Gn.isArray(n)?n.slice():n}function o(e,n,t){return Gn.isUndefined(n)?Gn.isUndefined(e)?void 0:r(void 0,e,t):r(e,n,t)}function i(e,n){if(!Gn.isUndefined(n))return r(void 0,n)}function a(e,n){return Gn.isUndefined(n)?Gn.isUndefined(e)?void 0:r(void 0,e):r(void 0,n)}function l(t,o,i){return i in n?r(t,o):i in e?r(void 0,t):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,n)=>o(Ut(e),Ut(n),!0)};return Gn.forEach(Object.keys(Object.assign({},e,n)),(function(r){const i=s[r]||o,a=i(e[r],n[r],r);Gn.isUndefined(a)&&i!==l||(t[r]=a)})),t}const zt="1.6.7",qt={};["object","boolean","number","function","string","symbol"].forEach(((e,n)=>{qt[e]=function(t){return typeof t===e||"a"+(n<1?"n ":" ")+e}}));const Wt={};qt.transitional=function(e,n,t){function r(e,n){return"[Axios v1.6.7] Transitional option '"+e+"'"+n+(t?". "+t:"")}return(t,o,i)=>{if(!1===e)throw new Kn(r(o," has been removed"+(n?" in "+n:"")),Kn.ERR_DEPRECATED);return n&&!Wt[o]&&(Wt[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),!e||e(t,o,i)}};const Gt={assertOptions:function(e,n,t){if("object"!==typeof e)throw new Kn("options must be an object",Kn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=n[i];if(a){const n=e[i],t=void 0===n||a(n,i,e);if(!0!==t)throw new Kn("option "+i+" must be "+t,Kn.ERR_BAD_OPTION_VALUE)}else if(!0!==t)throw new Kn("Unknown option "+i,Kn.ERR_BAD_OPTION)}},validators:qt},Ht=Gt.validators;class Vt{constructor(e){this.defaults=e,this.interceptors={request:new st,response:new st}}async request(e,n){try{return await this._request(e,n)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}throw t}}_request(e,n){"string"===typeof e?(n=n||{}).url=e:n=e||{},n=Yt(this.defaults,n);const{transitional:t,paramsSerializer:r,headers:o}=n;void 0!==t&&Gt.assertOptions(t,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),null!=r&&(Gn.isFunction(r)?n.paramsSerializer={serialize:r}:Gt.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&Gn.merge(o.common,o[n.method]);o&&Gn.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),n.headers=kt.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(n)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const s=[];let c;this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)}));let u,d=0;if(!l){const e=[Lt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,s),u=e.length,c=Promise.resolve(n);d{if(!t._listeners)return;let n=t._listeners.length;for(;n-- >0;)t._listeners[n](e);t._listeners=null})),this.promise.then=e=>{let n;const r=new Promise((e=>{t.subscribe(e),n=e})).then(e);return r.cancel=function(){t.unsubscribe(n)},r},e((function(e,r,o){t.reason||(t.reason=new Bt(e,r,o),n(t.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);-1!==n&&this._listeners.splice(n,1)}static source(){let e;return{token:new Kt((function(n){e=n})),cancel:e}}}const Zt=Kt;const Qt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Qt).forEach((([e,n])=>{Qt[n]=e}));const Xt=Qt;const er=function e(n){const t=new Jt(n),r=fn(Jt.prototype.request,t);return Gn.extend(r,Jt.prototype,t,{allOwnKeys:!0}),Gn.extend(r,t,null,{allOwnKeys:!0}),r.create=function(t){return e(Yt(n,t))},r}(bt);er.Axios=Jt,er.CanceledError=Bt,er.CancelToken=Zt,er.isCancel=St,er.VERSION=zt,er.toFormData=nt,er.AxiosError=Kn,er.Cancel=er.CanceledError,er.all=function(e){return Promise.all(e)},er.spread=function(e){return function(n){return e.apply(null,n)}},er.isAxiosError=function(e){return Gn.isObject(e)&&!0===e.isAxiosError},er.mergeConfig=Yt,er.AxiosHeaders=kt,er.formToJSON=e=>ht(Gn.isHTMLForm(e)?new FormData(e):e),er.getAdapter=Mt,er.HttpStatusCode=Xt,er.default=er;const nr=er;var tr,rr,or,ir=function(){return ir=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0&&o[o.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]1?"".concat(e,"s"):e},Qr=t(9806),Xr={};Xr.styleTagTransform=$r(),Xr.setAttributes=_r(),Xr.insert=xr().bind(null,"head"),Xr.domAPI=yr(),Xr.insertStyleElement=Er();br()(Qr.Z,Xr);Qr.Z&&Qr.Z.locals&&Qr.Z.locals;const eo={randomUUID:"undefined"!==typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let no;const to=new Uint8Array(16);function ro(){if(!no&&(no="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!no))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return no(to)}const oo=[];for(let t=0;t<256;++t)oo.push((t+256).toString(16).slice(1));function io(e,n=0){return oo[e[n+0]]+oo[e[n+1]]+oo[e[n+2]]+oo[e[n+3]]+"-"+oo[e[n+4]]+oo[e[n+5]]+"-"+oo[e[n+6]]+oo[e[n+7]]+"-"+oo[e[n+8]]+oo[e[n+9]]+"-"+oo[e[n+10]]+oo[e[n+11]]+oo[e[n+12]]+oo[e[n+13]]+oo[e[n+14]]+oo[e[n+15]]}const ao=function(e,n,t){if(eo.randomUUID&&!n&&!e)return eo.randomUUID();const r=(e=e||{}).random||(e.rng||ro)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=r[e];return n}return io(r)};var lo=t(4798),so={};so.styleTagTransform=$r(),so.setAttributes=_r(),so.insert=xr().bind(null,"head"),so.domAPI=yr(),so.insertStyleElement=Er();br()(lo.Z,so);const co=lo.Z&&lo.Z.locals?lo.Z.locals:void 0;var uo=t(6110),fo={};fo.styleTagTransform=$r(),fo.setAttributes=_r(),fo.insert=xr().bind(null,"head"),fo.domAPI=yr(),fo.insertStyleElement=Er();br()(uo.Z,fo);uo.Z&&uo.Z.locals&&uo.Z.locals;var po=function(){return po=Object.assign||function(e){for(var n,t=1,r=arguments.length;t=i||!a?xo.disabled:""),onClick:function(){return f(1)}})]}))]}))},ko=function(){return ko=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0,b=function(e){return!!(null===h||void 0===h?void 0:h.childAgeIndex.includes(e))},C=(0,o.useState)(c),y=C[0],v=C[1];return(0,r.jsxs)("div",ko({className:Co["room-container"]},{children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",ko({className:Co["room-title"]},{children:["Chambre ",s]})),f&&(0,r.jsx)("button",ko({type:"button",className:Co.link,onClick:function(){return m(s)}},{children:"Supprimer"}))]}),(0,r.jsxs)("div",ko({className:Co["passenger-container"]},{children:[(0,r.jsxs)("div",ko({className:"".concat(Co.passenger," ").concat(Co.adult," ").concat(y.adults>0?Co.active:"")},{children:[(0,r.jsx)("span",{children:"Adulte(s)"}),(0,r.jsx)(_o,{label:"12 ans et +",min:1,max:9,canAdd:d,value:y.adults,onChange:function(e){var n=ko(ko({},y),{adults:e});A(n),v(n)}})]})),(0,r.jsxs)("div",ko({className:"".concat(Co.passenger," ").concat(Co.children," ").concat((null!==(i=null===(t=y.childrenAges)||void 0===t?void 0:t.length)&&void 0!==i?i:0)>0?Co.active:"")},{children:[(0,r.jsx)("span",{children:"Enfant(s)"}),(0,r.jsx)(_o,{label:"0 - 11 ans",min:0,max:9,canAdd:d,value:null===(a=y.childrenAges)||void 0===a?void 0:a.length,onChange:function(e){var n,t,r=e>(null!==(t=null===(n=y.childrenAges)||void 0===n?void 0:n.length)&&void 0!==t?t:0)?Eo(Eo([],y.childrenAges||[],!0),[null],!1):y.childrenAges.slice(0,e),o=ko(ko({},y),{childrenAges:r});A(o),v(o)}}),(0,r.jsx)("ul",ko({className:Co["child-list"]},{children:null===(l=y.childrenAges)||void 0===l?void 0:l.map((function(e,n){var t=So(s-1,n);return(0,r.jsxs)("li",ko({id:t,className:Co["child-container"]},{children:[(0,r.jsxs)("span",{children:["Enfant ",n+1]}),(0,r.jsx)(ho,{value:e,onChange:function(e){return function(e,n){var t,r,o=ko(ko({},y),{childrenAges:null!==(r=null===(t=y.childrenAges)||void 0===t?void 0:t.map((function(t,r){return r===n?e:t})))&&void 0!==r?r:[]});A(o),v(o)}(e,n)},canShowError:!!(null===p||void 0===p?void 0:p[n]),isError:b(n)})]}),t)}))})),(null===p||void 0===p?void 0:p.some((function(e){return e})))&&g&&(0,r.jsx)("div",ko({className:Co["child-error"]},{children:"Veuillez renseigner l'\xe2ge de l'enfant"}))]}))]}))]}))},Bo=t(8614),Do={};Do.styleTagTransform=$r(),Do.setAttributes=_r(),Do.insert=xr().bind(null,"head"),Do.domAPI=yr(),Do.insertStyleElement=Er();br()(Bo.Z,Do);const To=Bo.Z&&Bo.Z.locals?Bo.Z.locals:void 0;var Oo,No,Fo,Ro=function(){return Ro=Object.assign||function(e){for(var n,t=1,r=arguments.length;t(null!==(t=null===e||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0)},t=function(){return r(n())};return window.addEventListener("resize",t),r(n()),function(){window.removeEventListener("resize",t)}}),[null===e||void 0===e?void 0:e.clientHeight,null===e||void 0===e?void 0:e.scrollHeight]),t}(h.current),b=Ho(t),C=b.totalNumberOfAdult,y=b.totalNumberOfChildren,v=Ho(c),x=9-(v.totalNumberOfAdult+v.totalNumberOfChildren)>0,w=function(e){return u((function(n){return n.filter((function(n,t){return t+1!==e}))}))},_=function(){return c.flatMap((function(e,n){var t=e.childrenAges;return(null===t||void 0===t?void 0:t.some((function(e){return null===e})))?{roomIndex:n,childAgeIndex:t.reduce((function(e,n,t){return null===n?Go(Go([],e,!0),[t],!1):e}),[])}:[]}))};return(0,o.useEffect)((function(){A((function(e){return c.map((function(n,t){var r;return null===(r=null===n||void 0===n?void 0:n.childrenAges)||void 0===r?void 0:r.map((function(n,r){var o,i;return!!e[t]&&(null!==(i=null===(o=e[t])||void 0===o?void 0:o[r])&&void 0!==i&&i)}))}))})),c.length>d.current&&h.current&&(h.current.scrollTop=h.current.scrollHeight),d.current=c.length}),[c]),(0,r.jsxs)(Ao,Wo({onTogglePopup:i,ref:m,autoClose:!1,onClose:function(e){A((function(e){return null===e||void 0===e?void 0:e.map((function(e){return null===e||void 0===e?void 0:e.map((function(){return!1}))}))})),e||u(t)},icon:l,popupClassName:"".concat(Lr["popup-traveler"]," ").concat(g?Lr["scrollbar-visible"]:""),placeHolder:n,value:Vo(C,y)},{children:[(0,r.jsx)("ul",Wo({id:"traveler-body-list",ref:h,className:"".concat(Lr["traveler-body-list"]," ").concat(g?Lr["scrollbar-visible"]:"")},{children:c.map((function(e,n){return(0,r.jsx)("li",Wo({className:Lr["traveler-room"]},{children:(0,r.jsx)($o,{roomNumber:n+1,room:e,getRoomsContainingEmptyChildAgeIndexes:_,canAdd:x,canDelete:0!==n,canShowErrors:p[n],onDelete:w,onChange:function(e){return function(e,n){return u(c.map((function(t,r){return r===n?e:t})))}(e,n)}})}),"room-index-".concat(n,"-").concat(ao()))}))})),(0,r.jsxs)("div",Wo({className:Lr["traveler-footer"]},{children:[x?(0,r.jsx)(jo,{color:Oo.Secondary,text:"Ajouter une chambre",isEnable:!0,isMinor:!0,onClick:function(){u(Go(Go([],c,!0),[{adults:1}],!1)),Ur({event:Gr})}}):(0,r.jsxs)("p",Wo({className:Lr["alert--infos"]},{children:["Vous avez atteint la limite de ".concat(9," voyageurs. Vous pouvez r\xe9server au-del\xe0 en consultant notre offre"),(0,r.jsx)("a",Wo({className:Lr.link,href:"https://www.tui.fr/devis-groupe/",onClick:function(){Ur({event:Vr})},rel:"noreferrer",target:"_blank"},{children:" voyage de groupes"})),"."]})),(0,r.jsx)(qo,{color:Oo.Secondary,text:"Valider",isEnable:!0,isMinor:!1,onClick:function(e){var n,t=c.map((function(e){var n;return null===(n=null===e||void 0===e?void 0:e.childrenAges)||void 0===n?void 0:n.map((function(e){return!e}))})),r=p.map((function(e,n){var r;return Go(Go([],t[n]||[],!0),(e||[]).slice((null===(r=t[n])||void 0===r?void 0:r.length)||0),!0)}));if(A(r),0===_().length){null===a||void 0===a||a(e,c),null===(n=m.current)||void 0===n||n.closePopup(!0);var o=function(e){var n=[];return e.forEach((function(e){var t;null===(t=e.childrenAges)||void 0===t||t.forEach((function(e){null!==e&&n.push(e)}))})),n}(c);Ur({event:Hr,nb_voyageur:"".concat(v.totalNumberOfAdult+v.totalNumberOfChildren),chambre:"".concat(c.length),ages:o.join(", ")})}else!function(){var e=_()[0],n=document.getElementById("traveler-body-list"),t=document.getElementById(So(e.roomIndex,e.childAgeIndex[0]));if(n&&t){var r=n.getBoundingClientRect(),o=t.getBoundingClientRect().top-r.top+n.scrollTop;n.scrollTo({top:o,behavior:"smooth"})}}()}})]}))]}))},Ko=function(e,n){n&&e&&window.scrollTo({top:e,behavior:"smooth"})};const Zo=function(e){e&&e instanceof Function&&t.e(131).then(t.bind(t,2131)).then((function(n){var t=n.getCLS,r=n.getFID,o=n.getFCP,i=n.getLCP,a=n.getTTFB;t(e),r(e),o(e),i(e),a(e)}))};var Qo=t(9777),Xo={};Xo.styleTagTransform=$r(),Xo.setAttributes=_r(),Xo.insert=xr().bind(null,"head"),Xo.domAPI=yr(),Xo.insertStyleElement=Er();br()(Qo.Z,Xo);const ei=Qo.Z&&Qo.Z.locals?Qo.Z.locals:void 0;var ni,ti,ri=function(){return ri=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0&&(n.push({label:"Top Destinations",type:"continent-separator"}),e.forEach((function(e){n.push({label:e.country,type:"top-destination",continent:e.continent,code:e.code,path:e.continent})}))),n}(e),!0),function(e){var n=[],t=null;return e.forEach((function(e){var r=e.continent;e.continent&&e.continent!==t&&(n.push({label:e.continent,type:"continent-separator",path:e.continent}),t=e.continent),e.country&&(n.push({label:e.country,type:"country",code:e.code,path:r}),e.regions.forEach((function(t){var o="".concat(r," > ").concat(e.country);n.push({label:t.name,type:"region",code:t.code,path:o}),t.subRegions.forEach((function(e){var r="".concat(o," > ").concat(t.name);n.push({label:e.label,type:"sub-region",code:e.code,path:r})}))})))})),n}(n),!0)}),[n]),S=(0,o.useRef)(null),$=(0,o.useRef)([]),B=function(e){S.current&&!S.current.contains(e.target)&&s(!1)},D=function(){A(null),d(""),h(""),s(!1)},T=function(e){A(e),d(e.label),s(!1),void 0!==e.code?h(e.code):h(""),t(e),Ur({event:zr,destination:e.label})};(0,o.useEffect)((function(){var e=function(){if(!C&&u.length>=3){var e=new Map;return E.forEach((function(n){Kr(n.label,u)&&e.set(n.label,n)})),Array.from(e.values())}return E}();k(e),x(e.length>0||u.length<3),u.length>=3&&0===e.length&&s(!1)}),[u,C,E]),(0,o.useEffect)((function(){return document.addEventListener("mousedown",B),function(){document.removeEventListener("mousedown",B)}}),[]),(0,o.useEffect)((function(){$.current=E.map((function(e,n){return $.current[n]||(0,o.createRef)()}))}),[E.length]),(0,o.useEffect)((function(){var e;if(l&&p){var n=E.findIndex((function(e){return e.code===p.code})),t=Math.min(n+3,E.length-1);$.current[t]&&(null===(e=$.current[t].current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"nearest"}))}}),[l,p,E]),E.forEach((function(e,n){$.current[n]=$.current[n]||(0,o.createRef)()}));var O=function(e){var n=e.currentTarget,t=0===n.scrollTop;(n.scrollTop+n.clientHeight>=n.scrollHeight&&e.deltaY>0||t&&e.deltaY<0)&&(e.preventDefault(),e.stopPropagation())};return(0,o.useEffect)((function(){var e,n=null===(e=S.current)||void 0===e?void 0:e.querySelector(".".concat(gi["dropdown-list"]));return n&&n.addEventListener("wheel",O,{passive:!1}),function(){n&&n.removeEventListener("wheel",O)}}),[l]),(0,o.useEffect)((function(){if(i){var e=E.find((function(e){return e.code===i}));e&&T(e)}}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",bi({className:yi("form-container"),ref:S},{children:[(0,r.jsx)("input",{type:"text",className:"".concat(yi("form-control")," ").concat(u?yi("form-control--active"):""),placeholder:"Destination (pays, r\xe9gion, ville)",value:u,onChange:function(e){d(e.target.value),y(!1),l||s(!0)},onClick:function(e){e.currentTarget.select(),l?s(!1):(s(!0),y(!0))}}),(0,r.jsx)("label",bi({className:yi("form-label")},{children:"Destination"})),(0,r.jsx)("span",{className:"".concat(yi("dropdown-icon")," ").concat(yi(u?"icon-x":"icon-arrow-down")),onClick:function(){u?(T({label:"",type:"",code:""}),D()):s(!l)}}),l&&(0,r.jsx)("div",bi({className:yi("dropdown-box")},{children:_.length>0?(0,r.jsx)("ul",bi({className:yi("dropdown-list")},{children:_.map((function(e,n){return"continent-separator"===e.type?(0,r.jsx)("li",bi({className:yi("dropdown-separator")},{children:e.label}),"".concat(e.label,"-").concat(n)):(0,r.jsx)(Ai,{ref:$.current[n],location:e,onSelect:T,isIconEnabled:!0,isLocationTypeEnabled:!0},"".concat(e.label,"-").concat(n))}))})):null}))]})),u.length>0&&0===_.length&&(0,r.jsx)("div",bi({className:yi("alert-container")},{children:(0,r.jsxs)("p",bi({className:"".concat(yi("alert")," ").concat(yi("alert--error"))},{children:["Cette destination n'est pas disponible en ligne, rendez-vous dans nos"," ",(0,r.jsx)("a",bi({className:yi("link"),href:"https://agences-de-voyages.tui.fr/",onClick:function(){Ur({event:qr})},rel:"noreferrer",target:"_blank"},{children:"agences TUI"}))]}))}))]})};var xi=function(){return xi=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0){var r=new Date;r.setTime(r.getTime()+24*t*60*60*1e3);var o="; expires="+r.toUTCString();document.cookie="".concat(e,"=").concat(n).concat(o,"; path=/;secure")}else document.cookie="".concat(e,"=").concat(n,"; path=/;secure")},ki=function(e){for(var n=document.cookie.split(";"),t=0;t=3?P.forEach((function(t){Kr(t.label,E)&&(e.set(t.label,t),n=!0)})):(n=!0,P.forEach((function(n){e.set(n.label,n)}))),b(n),Array.from(e.values())}();v(e),E.length>=3&&0===e.length&&p(!1)}),[E,m,P]),(0,o.useEffect)((function(){var e;if(f&&w){var n=P.findIndex((function(e){return e.code===w.code})),t=Math.min(n+5,P.length-1);F.current[t]&&(null===(e=F.current[t].current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"nearest"}))}}),[f,w,P]);var I=(0,o.useRef)(null),L=function(e){I.current&&!I.current.contains(e.target)&&p(!1)},U=function(){_(null),S(""),D(""),p(!1)},Y=function(e){var n;_(e),S(e.label),p(!1),D(e.code),a(e),_i("searchDepartureCity",null!==(n=e.code)&&void 0!==n?n:""),_i("searchDepartureCityManuallySetted","true"),O&&N(!1),Ur({event:Yr,ville_depart:e.label})};(0,o.useEffect)((function(){F.current=P.map((function(e,n){return F.current[n]||(0,o.createRef)()}))}),[P.length]),(0,o.useEffect)((function(){var e=ki("searchDepartureCity"),n="true"===ki("searchDepartureCityManuallySetted");if(e&&n){var t=i.find((function(n){return n.code===e}));t&&(_(t),S(t.label),D(t.code))}}),[]);var z=function(e){if(N(e),p(!1),e)D("XXX"),_({code:"XXX",label:"Sans transport",type:"region"}),S("Sans transport"),v([{code:"XXX",label:"Sans transport",type:"region"}]),a({code:"XXX",label:"Sans transport",type:"region"}),Ur({event:Yr,ville_depart:"Sans transport"});else{_(null),S("");var n=wi(i).locations;v(n),a({code:"",label:"",type:""})}};(0,o.useEffect)((function(){return document.addEventListener("mousedown",L),function(){document.removeEventListener("mousedown",L)}}),[]);var q=function(e){var n=e.currentTarget,t=0===n.scrollTop;(n.scrollTop+n.clientHeight>=n.scrollHeight&&e.deltaY>0||t&&e.deltaY<0)&&(e.preventDefault(),e.stopPropagation())};return(0,o.useEffect)((function(){var e,n=null===(e=I.current)||void 0===e?void 0:e.querySelector(".".concat(yi("dropdown-list")));return n&&n.addEventListener("wheel",q,{passive:!1}),function(){n&&n.removeEventListener("wheel",q)}}),[f]),P.forEach((function(e,n){F.current[n]=F.current[n]||(0,o.createRef)()})),(0,o.useEffect)((function(){if(n){if("XXX"===n)return void z(!0);if(R.current){var e=P.find((function(e){return e.code===n}));e&&Y(e)}R.current=!1}}),[P]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",xi({className:yi("form-container"),ref:I},{children:[(0,r.jsxs)("div",xi({className:yi("input-wrapper")},{children:[(0,r.jsx)("input",{type:"text",className:"".concat(yi("form-control")," ").concat(E?yi("form-control--active"):""," ").concat(l?yi("error"):""),placeholder:"Ville de d\xe9part",value:E,onChange:function(e){var n=e.target.value;S(n),h(!1),0===n.length?Y({label:"",type:"",code:""}):f||p(!0)},"data-val":B,onClick:function(e){e.currentTarget.select(),f?p(!1):(p(!0),h(!0))},disabled:s}),(0,r.jsx)("label",xi({className:yi("form-label")},{children:"Ville de d\xe9part"})),!s&&(0,r.jsx)("span",{className:"".concat(yi("dropdown-icon")," ").concat(yi(E?"icon-x":"icon-arrow-down")),onClick:function(){E?(Y({label:"",type:"",code:""}),N(!1),U()):(p(!f),h(!f))}})]})),f&&y.length>0&&(0,r.jsxs)("div",xi({className:yi("dropdown-box")},{children:[M&&(m||E.length<3)&&(0,r.jsx)(ci,{id:"noTransport",small:!0,disabled:!1,checked:O,onChange:z}),(0,r.jsx)("ul",xi({className:yi("dropdown-list"),style:t},{children:y.map((function(e,n){return(0,r.jsx)(Ai,{ref:F.current[n],location:e,onSelect:Y,isIconEnabled:!1,isLocationTypeEnabled:!1},"".concat(e.label,"-").concat(n))}))}))]}))]})),E.length>=3&&null!==y&&0===y.length&&!s&&(0,r.jsx)("div",xi({className:yi("alert-container")},{children:(0,r.jsx)("p",xi({className:"".concat(yi("alert")," ").concat(yi("alert--error"))},{children:"Aucune ville ne correspond \xe0 votre recherche"}))}))]})},Si=t(5642),$i={};$i.styleTagTransform=$r(),$i.setAttributes=_r(),$i.insert=xr().bind(null,"head"),$i.domAPI=yr(),$i.insertStyleElement=Er();br()(Si.Z,$i);Si.Z&&Si.Z.locals&&Si.Z.locals;var Bi=function(){return Bi=Object.assign||function(e){for(var n,t=1,r=arguments.length;t1&&null!==h[t[1]]&&(h[t[1]]=n),Ur(h)}};return(0,r.jsx)(Ao,Bi({icon:c,popupClassName:"dropdown-radio-popup ".concat(u||""),placeHolder:a,value:null!==(t=null!==(n=null===w||void 0===w?void 0:w.shortLabel)&&void 0!==n?n:null===w||void 0===w?void 0:w.label)&&void 0!==t?t:"",isError:p},{children:(0,r.jsx)("ul",Bi({className:"radio-form-container","aria-labelledby":"radio-group-label",id:"radio-group"},{children:l.map((function(e,n){var t=e.code,o=e.label,i=e.enabled,a=(null===w||void 0===w?void 0:w.code)===t;return(0,r.jsxs)("li",{children:[(0,r.jsx)("input",{type:"radio",name:"radio-group",value:t,id:"radio-id-".concat(t),checked:a,disabled:!i,onChange:k,className:"radio-form-input"}),(0,r.jsx)("label",Bi({htmlFor:"radio-id-".concat(t),className:"radio-form-label ".concat(a?"selected":""," ").concat(A?"remove-circle":""," ").concat(i?"":"disabled")},{children:o})),d&&n!==b.length-1&&(0,r.jsx)("hr",{className:"radio-group-divider"})]},t)}))}))}))},Ti=t(5155),Oi={};Oi.styleTagTransform=$r(),Oi.setAttributes=_r(),Oi.insert=xr().bind(null,"head"),Oi.domAPI=yr(),Oi.insertStyleElement=Er();br()(Ti.Z,Oi);Ti.Z&&Ti.Z.locals&&Ti.Z.locals;var Ni=function(){return Ni=Object.assign||function(e){for(var n,t=1,r=arguments.length;tm?n.slice(0,-1):n)},g=function(e){var n;return e&&e.getFullYear()===(null===l||void 0===l?void 0:l.year)&&e.getMonth()+1===(null===(n=null===l||void 0===l?void 0:l.month)||void 0===n?void 0:n.number)?l:null},b=function(e){return i&&e?new Ii.NT(e):function(e,n){return e.year===n.year&&e.monthIndex===n.monthIndex?new Ii.NT(e).subtract(1,"month"):e}(l||A,m)};(0,o.useEffect)((function(){h(l)}),[]);var C=function(n){return Zi(Zi({},e),{format:"DD/MM/YYYY",value:i?g(n):l,currentDate:b(n),onChange:f,onMonthChange:h,minDate:A,maxDate:m,className:"datepicker ".concat(i?"mobile":""),weekStartDayIndex:1,weekDays:Yi,months:zi,disableMonthPicker:!0,disableYearPicker:!0,shadow:!1,buttons:!i,numberOfMonths:i?1:2,monthYearSeparator:",",highlightToday:!1,mapDays:function(e){var n=e.date;return{disabled:y(n)||n>m}},headerOrder:u,hideWeekDays:i&&n&&n.getTime()!==Hi(A).getTime()})},y=function(n){return!(!e.isJuneSeason||6===n.month.number)||(n0&&o[o.length-1])&&(6===l[0]||2===l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0?D:[{adults:2}],O=(0,o.useState)({destinationCode:s,destinationType:c,departureCityCode:B,departureDate:d,duration:f||"Indifferent",flexibility:p||tr.THREE_DAYS,vacationType:m||A||rr.ALL,rooms:T,lpCode:k,beginDepartureDate:E,endDepartureDate:S,isLastMinute:g,isPromo:b,isSale:C,OpCodes:v,earlyBirdOpCodes:x,theme:w,isTopRating:_}),N=O[0],F=O[1],R=(0,o.useState)(null),j=R[0],P=R[1],M=(0,o.useState)([]),I=M[0],L=M[1],U=(0,o.useState)(!1),Y=U[0],z=U[1],q=(0,o.useState)(!1),W=q[0],G=q[1],H=(0,o.useState)(!1),V=H[0],J=H[1],K=(0,o.useMemo)((function(){return!!(s&&c&&$&&d&&f&&p&&(A||m))}),[s,c,$,d,f,p,A,m]),Z=function(){return N.vacationType!==rr.ALL&&N.vacationType!==rr.CIR?"traveler":N.vacationType!==rr.ALL?"duration":"vacation"},Q=function(e){switch(e){case"country":case"top-destination":return"PAYS";case"region":return"LIEUTUI";case"sub-region":return"SOUSREG";default:return""}},X=function(e){L(function(e){return Array.from(new Set(Object.keys(e).flatMap((function(e){switch(e){case"destination":case"destinationType":return["destinations"];case"departureCityCode":return["departureCities"];case"departureDate":case"flexibility":return["firstDepartureDate","disabledDepartureDates","lastDepartureDate","flexibilities","availableMonths"];case"vacationType":return["vacationTypes"];case"duration":return["durations"];default:return[""]}}))))}(e)),F((function(n){return ra(ra({},n),e)}))},ee=function(){var e=null,n=document.getElementsByClassName("fancy--loader");return n.length>0&&(e=n[0]),e},ne=function(e){return e.vacationType!==rr.CIR&&"Indifferent"===e.duration&&(e.duration="OneWeek"),e},te=(0,o.useMemo)((function(){return function(e){return oa(void 0,void 0,void 0,(function(){var n,t,r,o;return ia(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,dr(e)];case 1:for(r in n=i.sent(),t={},n)I.includes(r)||(t[r]=n[r]);return P((function(e){return ra(ra({},e),t)})),[3,3];case 2:return o=i.sent(),console.error("Error fetching search context:",o),[3,3];case 3:return[2]}}))}))}}),[I]);(0,o.useEffect)((function(){te(N)}),[te,N]);return(0,r.jsx)(ta,ra({},l,{canAutoScroll:function(){if(l.contextType===n.Normal){var e=document.getElementById("sticky--box");return!!e&&!e.classList.contains("fixed")}return!0}(),forceIsMobile:a,getLastFieldName:Z,isLoading:!j||!j.departureCities,destinationProps:{onChange:function(e){return X({destinationCode:e.code,destinationType:Q(e.type)})},availableDestinations:null===j||void 0===j?void 0:j.destinations},departureProps:{onChange:function(e){X({departureCityCode:e.code}),G(!1)},availableCities:null===j||void 0===j?void 0:j.departureCities,isError:W,isReadOnly:!(null===u||void 0===u?void 0:u.enable)},departureDateProps:{onChange:function(e,n){X({departureDate:e,flexibility:n}),z(!1)},disabledDates:null===j||void 0===j?void 0:j.disabledDepartureDates,firstDepartureDate:null===j||void 0===j?void 0:j.firstDepartureDate,lastDepartureDate:null===j||void 0===j?void 0:j.lastDepartureDate,flexibilities:null===j||void 0===j?void 0:j.flexibilities,isError:Y},vacationTypeProps:{onChange:function(e,n){X({vacationType:n}),J(!1)},values:null===j||void 0===j?void 0:j.vacationTypes,isError:V},durationProps:{onChange:function(e,n){return X({duration:n})},values:null===j||void 0===j?void 0:j.durations,hidden:!("vacation"!==Z()||K)},travelerProps:{onChange:function(e,n){return X({rooms:n})},rooms:null!==(t=N.rooms)&&void 0!==t?t:T,hidden:!(("traveler"===Z()||K)&&"CIR"!==N.vacationType)},onSearchClick:function(){return oa(void 0,void 0,void 0,(function(){var e,n,t,r,o,i,a,l,s,c,u,d,f,p;return ia(this,(function(A){switch(A.label){case 0:e=N.destinationCode,n=N.departureCityCode,t=N.vacationType,r=N.departureDate,o=N.duration,i=N.flexibility,a=N.rooms,l="Un instant, nous recherchons votre prochain voyage",A.label=1;case 1:return A.trys.push([1,3,,4]),s={isDepartureDateError:!r,isDepartureCityError:!n,isVacationTypeError:t===rr.ALL},z(s.isDepartureDateError),G(s.isDepartureCityError),J(s.isVacationTypeError),Object.values(s).some((function(e){return e}))?[2]:(c=null===a||void 0===a?void 0:a.reduce((function(e,n){var t;return e+n.adults+((null===(t=n.childrenAges)||void 0===t?void 0:t.length)||0)}),0),u=(null===a||void 0===a?void 0:a.length)||0,d=null===a||void 0===a?void 0:a.flatMap((function(e){return e.childrenAges})).filter((function(e){return void 0!==e})).join(","),mr({event:hr,destination:e,ville_depart:n,type_voyage:t,duree_voyage:o,nb_voyageur:c,flexible:i,chambre:u,age_voyageur:d}),function(e){var n=ee();null!==n&&n.classList.add("js--active"),null!==e&&void 0!==e&&""!==e||(e="Chargement en cours");var t=document.getElementsByClassName("js--loading-msg");void 0!==t&&t.length>0&&(t[0].innerHTML=e)}(l),[4,fr(ne(N))]);case 2:return f=A.sent(),"ALL"===e&&(f.url="/voyages-nos-destinations".concat(f.url)),p="".concat(pr(sr.BASE_URL)).concat(f.url),window.location.href=p,[3,4];case 3:return A.sent(),function(){var e=ee();null!==e&&e.classList.remove("js--active")}(),[3,4];case 4:return[2]}}))}))}}))},la=function(){var e,t=null===(e=null===document||void 0===document?void 0:document.getElementById("root"))||void 0===e?void 0:e.getAttribute("data-search-context"),i=new cr;if(t)try{i=JSON.parse(t)}catch(l){console.error("Failed to parse searchContext:",l),i=new cr}var a=dn();return(0,o.useEffect)((function(){a(We(i))}),[i,a]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(aa,{searchContext:i,forceIsMobile:i.contextType===n.ResultList})})};const sa=e=>{e&&e instanceof Function&&t.e(131).then(t.bind(t,2131)).then((n=>{let{getCLS:t,getFID:r,getFCP:o,getLCP:i,getTTFB:a}=n;t(e),r(e),o(e),i(e),a(e)}))};var ca,ua=function(e){const n=function(e){const{thunk:n=!0,immutableCheck:t=!0,serializableCheck:r=!0,actionCreatorCheck:o=!0}=e??{};let i=new ve;return n&&("boolean"===typeof n?i.push(ge):i.push(be(n.extraArgument))),i},{reducer:t,middleware:r,devTools:o=!0,preloadedState:i,enhancers:a}=e||{};let l,s;if("function"===typeof t)l=t;else{if(!fe(t))throw new Error(ze(1));l=Ae(t)}s="function"===typeof r?r(n):n();let c=me;o&&(c=Ce({trace:!1,..."object"===typeof o&&o}));const u=function(...e){return n=>(t,r)=>{const o=n(t,r);let i=()=>{throw new Error(se(15))};const a={getState:o.getState,dispatch:(e,...n)=>i(e,...n)},l=e.map((e=>e(a)));return i=me(...l)(o.dispatch),{...o,dispatch:i}}}(...s),d=Se(u);let f="function"===typeof a?a(d):d();return pe(l,i,c(...f))}({reducer:{localData:Ge}}),da=t(3935),fa=t.t(da,2);function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0&&(n.hash=e.substr(t),e=e.substr(0,t));let r=e.indexOf("?");r>=0&&(n.search=e.substr(r),e=e.substr(0,r)),e&&(n.pathname=e)}return n}function ya(e,n,t,r){void 0===r&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=ca.Pop,s=null,c=u();function u(){return(a.state||{idx:null}).idx}function d(){l=ca.Pop;let e=u(),n=null==e?null:e-c;c=e,s&&s({action:l,location:p.location,delta:n})}function f(e){let n="null"!==o.location.origin?o.location.origin:o.location.href,t="string"===typeof e?e:ba(e);return t=t.replace(/ $/,"%20"),ma(n,"No window.location.(origin|href) available to create URL for href: "+t),new URL(t,n)}null==c&&(c=0,a.replaceState(pa({},a.state,{idx:c}),""));let p={get action(){return l},get location(){return e(o,a)},listen(e){if(s)throw new Error("A history only accepts one active listener");return o.addEventListener(Aa,d),s=e,()=>{o.removeEventListener(Aa,d),s=null}},createHref:e=>n(o,e),createURL:f,encodeLocation(e){let n=f(e);return{pathname:n.pathname,search:n.search,hash:n.hash}},push:function(e,n){l=ca.Push;let r=ga(p.location,e,n);t&&t(r,e),c=u()+1;let d=ha(r,c),f=p.createHref(r);try{a.pushState(d,"",f)}catch(A){if(A instanceof DOMException&&"DataCloneError"===A.name)throw A;o.location.assign(f)}i&&s&&s({action:l,location:p.location,delta:1})},replace:function(e,n){l=ca.Replace;let r=ga(p.location,e,n);t&&t(r,e),c=u();let o=ha(r,c),d=p.createHref(r);a.replaceState(o,"",d),i&&s&&s({action:l,location:p.location,delta:0})},go:e=>a.go(e)};return p}var va;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(va||(va={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function xa(e,n){if("/"===n)return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&"/"!==r?null:e.slice(t)||"/"}Error;const wa=["post","put","patch","delete"],_a=(new Set(wa),["get",...wa]);new Set(_a),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var n=1;n({basename:c,navigator:a,static:l,future:ka({v7_relativeSplatPath:!1},s)})),[c,s,a,l]);"string"===typeof r&&(r=Ca(r));let{pathname:d="/",search:f="",hash:p="",state:A=null,key:m="default"}=r,h=o.useMemo((()=>{let e=xa(d,c);return null==e?null:{location:{pathname:e,search:f,hash:p,state:A,key:m},navigationType:i}}),[c,d,f,p,A,m,i]);return null==h?null:o.createElement(Ea.Provider,{value:u},o.createElement(Sa.Provider,{children:t,value:h}))}new Promise((()=>{}));o.Component;new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(yl){}new Map;const Da=i.startTransition;fa.flushSync,i.useId;function Ta(e){let{basename:n,children:t,future:r,window:i}=e,a=o.useRef();null==a.current&&(a.current=function(e){return void 0===e&&(e={}),ya((function(e,n){let{pathname:t,search:r,hash:o}=e.location;return ga("",{pathname:t,search:r,hash:o},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}),(function(e,n){return"string"===typeof n?n:ba(n)}),null,e)}({window:i,v5Compat:!0}));let l=a.current,[s,c]=o.useState({action:l.action,location:l.location}),{v7_startTransition:u}=r||{},d=o.useCallback((e=>{u&&Da?Da((()=>c(e))):c(e)}),[c,u]);return o.useLayoutEffect((()=>l.listen(d)),[l,d]),o.createElement(Ba,{basename:n,children:t,location:s.location,navigationType:s.action,navigator:l,future:r})}"undefined"!==typeof window&&"undefined"!==typeof window.document&&window.document.createElement;var Oa,Na;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Oa||(Oa={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Na||(Na={}));var Fa=t(1033),Ra={};Ra.styleTagTransform=$r(),Ra.setAttributes=_r(),Ra.insert=xr().bind(null,"head"),Ra.domAPI=yr(),Ra.insertStyleElement=Er();br()(Fa.Z,Ra);const ja=Fa.Z&&Fa.Z.locals?Fa.Z.locals:void 0,Pa=JSON.parse('{"F":{"menuBrand":{"alt":"TUI","text":"Voyagez avec le sourire !","url":"/","logo":"https://content.tui.fr/Content/img/common/logos/tui-logo.svg"},"menuDropdown":[{"title":"H\xf4tels & Clubs","url":"/sejours/","submenu":[{"title":"TUI S\xe9lection","logo":"https://content.tui.fr/Content/img/common/logos/logos-svg/logo-tui-selection.svg","url":"/type-tui-selection/","hasChevron":true,"content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"S\xe9jours Maroc","url":"/voyages-maroc/type-tui-selection/"},{"name":"S\xe9jours Espagne","url":"/voyages-espagne/type-tui-selection/"},{"name":"S\xe9jours Portugal","url":"/voyages-portugal/type-tui-selection/"},{"name":"S\xe9jours Gr\xe8ce","url":"/voyages-grece/type-tui-selection/"},{"name":"S\xe9jours Tunisie","url":"/voyages-tunisie/type-tui-selection/"}],"more":{"name":"Toutes nos destinations","url":"/type-tui-selection/"}}]},{"column":[{"title":{"name":"Nos Best-sellers"},"items":[{"name":"RIU Tikida Palmeraie","url":"/tui-selection-riu-tikida-palmeraie-choix-flex_RAKSTPALFL/"},{"name":"RIU Touareg","url":"/tui-selection-riu-touareg-choix-flex_BVCSTRTOFL/"},{"name":"RIU Costa del Sol","url":"/tui-selection-riu-costa-del-sol-choix-flex_AGPSTSOLFL/"},{"name":"TUI Blue Orquidea","url":"/tui-selection-tui-blue-orquidea-choix-flex_LPASTORQFL/"},{"name":"TUI Suneo Marinda Garden","url":"/tui-selection-tui-suneo-marinda-garden-choix-flex_MAHSTMARFL/"}],"more":{"name":"Tous nos Best-sellers","url":"/bons-plans-voyage/merch-coups-de-coeur/nos-offres/type-tui-selection/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-Suneo-Amoudia-x2.png","url":"/tui-suneo-chrissi-amoudia-choix-flex_HERSTCRIFL/"}}]}]},{"title":"Club Marmara","logo":"https://content.tui.fr/Content/img/common/logos/logos-svg/logo-cm.svg","url":"/hotels-clubs-tui/club-marmara/","hasChevron":true,"content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"S\xe9jours Gr\xe8ce","url":"/voyages-grece/gamme-club-marmara/"},{"name":"S\xe9jours Espagne","url":"/voyages-espagne/gamme-club-marmara/"},{"name":"S\xe9jours Maroc","url":"/voyages-maroc/gamme-club-marmara/"},{"name":"S\xe9jours Italie","url":"/voyages-italie/gamme-club-marmara/"},{"name":"S\xe9jours Tunisie","url":"/voyages-tunisie/gamme-club-marmara/"}],"more":{"name":"Toutes nos destinations","url":"/gamme-club-marmara/"}}]},{"column":[{"title":{"name":"Nos Best-sellers"},"items":[{"name":"Club Marmara Madina","url":"/club-marmara-madina_MARRMAD/"},{"name":"Club Marmara Playa Blanca","url":"/club-marmara-playa-blanca_ESPLPLA/"},{"name":"Club Marmara Doreta Beach","url":"/club-marmara-doreta-beach_GRERDOR/"},{"name":"Club Marmara Pueblo Andaluz","url":"/club-marmara-pueblo-andaluz_ESPAPUE/"},{"name":"Club Marmara Cala Regina","url":"/club-marmara-cala-regina_ITAPREG/"}],"more":{"name":"Tous nos Best-sellers","url":"/bons-plans-voyage/merch-coups-de-coeur/nos-offres/gamme-club-marmara/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-CM-Jardin-Agadir-x2.png","url":"/club-marmara-les-jardins-dagadir_MARAJAR/"}}]}]},{"title":"Club Look\xe9a","logo":"https://content.tui.fr/Content/img/common/logos/logos-svg/logo-lookea.svg","url":"/hotels-clubs-tui/club-lookea/","hasChevron":true,"content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"S\xe9jours Espagne","url":"/voyages-espagne/gamme-club-lookea/ "},{"name":"S\xe9jours Gr\xe8ce","url":"/voyages-grece/gamme-club-lookea/"},{"name":"S\xe9jours Italie","url":"/voyages-italie/gamme-club-lookea/"},{"name":"S\xe9jours Tunisie","url":"/voyages-tunisie/gamme-club-lookea/"},{"name":"S\xe9jours R\xe9publique Dominicaine","url":"/voyages-republique-dominicaine/gamme-club-lookea/"}],"more":{"name":"Toutes nos destinations","url":"/gamme-club-lookea/"}}]},{"column":[{"title":{"name":"Nos Best-sellers"},"items":[{"name":"Club Look\xe9a Alua Village","url":"/club-lookea-alua-village_FUESLALU/"},{"name":"Club Look\xe9a Playa Djerba","url":"/club-lookea-playa-djerba_DJESLDJE/ "},{"name":"Club Look\xe9a Maspalomas","url":"/club-lookea-maspalomas_LPASLMAS/"},{"name":"Club Look\xe9a Sporting Sardinia","url":"/club-lookea-sporting-sardinia-choix-flex_OLBSLSPO/"},{"name":"Club Look\xe9a Sun Palace","url":"/club-lookea-sun-palace_KGSSLSUN/"}],"more":{"name":"Tous nos Best-sellers","url":"/bons-plans-voyage/merch-coups-de-coeur/nos-offres/gamme-club-lookea/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-CL-Alua-Tenerife-x2.png","url":"/club-lookea-alua-tenerife_TFSSLALU/"}}]}]},{"title":"Tous nos s\xe9jours","url":"/sejours/","hasChevron":true,"emptyLogo":true,"content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"S\xe9jours Gr\xe8ce","url":"/voyages-grece/type-sejours/"},{"name":"S\xe9jours Espagne","url":"/voyages-espagne/type-sejours/"},{"name":"S\xe9jours Italie","url":"/voyages-italie/type-sejours/"},{"name":"S\xe9jours Maroc","url":"/voyages-maroc/type-sejours/"},{"name":"S\xe9jours Tunisie","url":"/voyages-tunisie/type-sejours/"}],"more":{"name":"Toutes nos destinations","url":"/type-sejours/"}}]},{"column":[{"title":{"name":"Inspirations"},"items":[{"name":"Voyages tout compris","url":"/voyage-tout-compris/"},{"name":"Vacances en solo","url":"/inspiration/theme-en-solo/"},{"name":"Vacances en famille","url":"/inspiration/theme-en-famille/"},{"name":"Voyages de noces","url":"/inspiration/theme-voyage-de-noces/"},{"name":"Voyages Adult only","url":"/inspiration/theme-adult-only/"}],"more":{"name":"Plus d\'inspirations","url":"/inspiration/themes/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-TT-Compris-x2.png","url":"/bons-plans-voyage/sejour-tout-compris/"}}]}]}]},{"title":"Circuits & D\xe9couvertes","url":"/circuits/","submenu":[{"title":"Nouvelles Fronti\xe8res","logo":"https://content.tui.fr/Content/img/common/logos/logos-svg/logo-nf.svg","url":"/circuits/","hasChevron":true,"content":[{"column":[{"title":{"name":"Circuits accompagn\xe9s","url":"/bons-plans-voyage/offre-circuits/","description":"En groupe, laissez-vous guider pour ne rien manquer des incontournables d\'un pays.","hasChevron":true}},{"title":{"name":"Circuits priv\xe9s","url":"/bons-plans-voyage/circuits-prives/","description":"Avec un chauffeur-guide priv\xe9, vivez une exp\xe9rience authentique et personnalis\xe9e.","hasChevron":true}},{"title":{"name":"Croisi\xe8res","url":"/bons-plans-voyage/croisieres/","description":"Fluviale, c\xf4ti\xe8re, maritime ou exp\xe9dition, choisissez votre croisi\xe8re id\xe9ale et mettez les voiles !","hasChevron":true}}]},{"column":[{"title":{"name":"Road Trips","url":"/bons-plans-voyage/merch-autotours/","description":"D\xe9couvrez \xe0 votre rythme, nous pr\xe9parons l\'essentiel : voiture et h\xe9bergements.","hasChevron":true}},{"title":{"name":"City Trips","url":"/bons-plans-voyage/city-trips/","description":"\xc9vadez-vous en train ou en avion et d\xe9couvrez la ville dont vous avez toujours r\xeav\xe9.","hasChevron":true}},{"title":{"name":"\xc9v\xe8nements du monde","url":"/bons-plans-voyage/evenements/","description":"Voyagez et participez \xe0 un \xe9v\xe8nement mondial : festival, f\xeate, concert, \xe9v\xe9nement sportif...","hasChevron":true}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-BP-Circuits-x2.png","url":"/bons-plans-voyage/circuits-promo/"}}]}]},{"title":"Toute notre offre","url":"/type-circuits/","emptyLogo":true,"hasChevron":true,"content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"Circuits \xc9tats-Unis","url":"/voyages-etats-unis/type-circuits/"},{"name":"Circuits Canada","url":"/voyages-canada/type-circuits/"},{"name":"Circuits Italie","url":"/voyages-italie/type-circuits/"},{"name":"Circuits Inde","url":"/voyages-inde/type-circuits/"},{"name":"Circuits Tha\xeflande","url":"/voyages-thailande/type-circuits/"}],"more":{"name":"Toutes nos destinations","url":"/type-circuits/"}}]},{"column":[{"title":{"name":"Inspirations "},"items":[{"name":"Nouveaut\xe9s circuits","url":"/bons-plans-voyage/merch-nouveautes-circuits/"},{"name":"Circuits avec extension","url":"/bons-plans-voyage/circuits-extension/"},{"name":"Voyages en safari","url":"/inspiration/theme-safari/"},{"name":"Voyages culturels","url":"/inspiration/theme-culture/"},{"name":"S\xe9jours insolites","url":"/inspiration/theme-insolite/"}],"more":{"name":"Plus d\'inspirations","url":"/inspiration/themes/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-Roadtrips-x2.png","url":"/bons-plans-voyage/merch-autotours/"}}]}]}]},{"title":"Destinations","url":"/voyage/","submenu":[{"title":"Toutes nos destinations","url":"/voyage/","hasChevron":true,"multiline":true,"content":[{"column":[{"mapCard":{"name":"Afrique","url":"/afrique/","image":"https://content.tui.fr/Content/img/common/maps/afrique.svg","content":[{"name":"Afrique du Sud","url":"/voyage-afrique-du-sud/"},{"name":"Alg\xe9rie","url":"/voyage-algerie/"},{"name":"Botswana","url":"/voyage-botswana/"},{"name":"Cap-Vert","url":"/voyage-cap-vert/"},{"name":"Egypte","url":"/voyage-egypte/"},{"name":"Kenya","url":"/voyage-kenya/"},{"name":"Maroc","url":"/voyage-maroc/"},{"name":"Mauritanie","url":"/voyage-mauritanie/"},{"name":"Namibie","url":"/voyage-namibie/"},{"name":"S\xe9n\xe9gal","url":"/voyage-senegal/"},{"name":"Tanzanie","url":"/voyage-tanzanie/"},{"name":"Tunisie","url":"/voyage-tunisie/"},{"name":"Zanzibar","url":"/voyage-zanzibar/"}]}}]},{"column":[{"mapCard":{"name":"Am\xe9rique","url":"/amerique/","image":"https://content.tui.fr/Content/img/common/maps/amerique.svg","content":[{"name":"Argentine","url":"/voyage-argentine/"},{"name":"Br\xe9sil","url":"/voyage-bresil/"},{"name":"Canada","url":"/voyage-canada/"},{"name":"Chili","url":"/voyage-chili/"},{"name":"Colombie","url":"/voyage-colombie/"},{"name":"Costa Rica","url":"/voyage-costa-rica/"},{"name":"\xc9quateur","url":"/voyage-equateur/"},{"name":"\xc9tats-Unis","url":"/voyage-etats-unis/"},{"name":"Guatemala","url":"/voyage-guatemala/"},{"name":"Mexique","url":"/voyage-mexique/"},{"name":"P\xe9rou","url":"/voyage-perou/"}]}}]},{"column":[{"mapCard":{"name":"Asie","url":"/asie/","image":"https://content.tui.fr/Content/img/common/maps/asie2.svg","content":[{"name":"Arabie Saoudite","url":"/voyage-arabie-saoudite/"},{"name":"Cambodge","url":"/voyage-cambodge/"},{"name":"Chine","url":"/voyage-chine/"},{"name":"Cor\xe9e du Sud","url":"/voyage-coree-du-sud/"},{"name":"\xc9mirats Arabes Unis","url":"/voyage-emirats-arabes-unis/"},{"name":"Hong Kong","url":"/voyage-hong-kong/"},{"name":"Inde","url":"/voyage-inde/"},{"name":"Indon\xe9sie","url":"/voyage-indonesie/"},{"name":"Japon","url":"/voyage-japon/"},{"name":"Jordanie","url":"/voyage-jordanie/"},{"name":"Kirghizistan","url":"/voyage-kirghizistan/"},{"name":"Laos","url":"/voyage-laos/"},{"name":"Mongolie","url":"/voyage-mongolie/"},{"name":"N\xe9pal","url":"/voyage-nepal/"},{"name":"Oman","url":"/voyage-oman/"},{"name":"Ouzb\xe9kistan","url":"/voyage-ouzbekistan/"},{"name":"Philippines","url":"/voyage-philippines/"},{"name":"Qatar","url":"/voyage-qatar/"},{"name":"Sri Lanka","url":"/voyage-sri-lanka/"},{"name":"Tha\xeflande","url":"/voyage-thailande/"},{"name":"Vietnam","url":"/voyage-vietnam/"}]}}]},{"column":[{"mapCard":{"name":"Cara\xefbes","url":"/caraibes/","image":"https://content.tui.fr/Content/img/common/maps/caraibes.svg","content":[{"name":"Cuba","url":"/voyage-cuba/"},{"name":"Guadeloupe","url":"/voyage-guadeloupe/"},{"name":"Martinique","url":"/voyage-martinique/"},{"name":"R\xe9publique Dominicaine","url":"/voyage-republique-dominicaine/"}]}}]},{"column":[{"mapCard":{"name":"Europe","url":"/europe/","image":"https://content.tui.fr/Content/img/common/maps/europe2.svg","content":[{"name":"Albanie","url":"/voyage-albanie/"},{"name":"Allemagne","url":"/voyage-allemagne/"},{"name":"Angleterre","url":"/voyage-angleterre/"},{"name":"Belgique","url":"/voyage-belgique/"},{"name":"Bulgarie","url":"/voyage-bulgarie/"},{"name":"Chypre","url":"/voyage-chypre/"},{"name":"Croatie","url":"/voyage-croatie/"},{"name":"Danemark","url":"/voyage-danemark/"},{"name":"\xc9cosse","url":"/voyage-ecosse/"},{"name":"Espagne","url":"/voyage-espagne/"},{"name":"Finlande","url":"/voyage-finlande/"},{"name":"France","url":"/voyage-france/"},{"name":"G\xe9orgie","url":"/voyage-georgie/"},{"name":"Gr\xe8ce","url":"/voyage-grece/"},{"name":"Hongrie","url":"/voyage-hongrie/"},{"name":"Irlande","url":"/voyage-irlande/"},{"name":"Islande","url":"/voyage-islande/"},{"name":"Italie","url":"/voyage-italie/"},{"name":"Malte","url":"/voyage-malte/"},{"name":"Mont\xe9n\xe9gro","url":"/voyage-montenegro/"},{"name":"Norv\xe8ge","url":"/voyage-norvege/"},{"name":"Pays Baltes","url":"/voyage-pays-baltes/"},{"name":"Pologne","url":"/voyage-pologne/"},{"name":"Portugal","url":"/voyage-portugal/"},{"name":"R\xe9publique Tch\xe8que","url":"/voyage-republique-tcheque/"},{"name":"Roumanie","url":"/voyage-roumanie/"},{"name":"Slov\xe9nie","url":"/voyage-slovenie/"},{"name":"Turquie","url":"/voyage-turquie/"}]}}]},{"column":[{"mapCard":{"name":"Oc\xe9anie","url":"/oceanie/","image":"https://content.tui.fr/Content/img/common/maps/oceanie.svg","content":[{"name":"Australie","url":"/voyage-australie/"},{"name":"Nouvelle-Z\xe9lande","url":"/voyage-nouvelle-zelande/"}]}}]},{"column":[{"mapCard":{"name":"Oc\xe9an Indien","url":"/ocean-indien/","image":"https://content.tui.fr/Content/img/common/maps/ocean-indien2.svg","content":[{"name":"\xcele Maurice","url":"/voyage-ile-maurice/"},{"name":"La R\xe9union","url":"/voyage-la-reunion/"},{"name":"Madagascar","url":"/voyage-madagascar/"},{"name":"Maldives","url":"/voyage-maldives/"},{"name":"Seychelles","url":"/voyage-seychelles/"}]}}]}]},{"title":"Nos th\xe9matiques","url":"/inspiration/themes/","hasChevron":true,"content":[{"column":[{"items":[{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-actif.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-actif--energy-blue.svg","name":"Actif","url":"/inspiration/theme-actif/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-adult-only.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-adult-only--energy-blue.svg","name":"Adult only","url":"/inspiration/theme-adult-only/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-aventure.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-aventure--energy-blue.svg","name":"Aventure","url":"/inspiration/theme-aventure/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-bien-etre.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-bien-etre--energy-blue.svg","name":"Bien-\xeatre","url":"/inspiration/theme-bien-etre/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-privee.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-privee--energy-blue.svg","name":"Circuits priv\xe9s","url":"/inspiration/theme-circuit-prive/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-city.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-city--energy-blue.svg","name":"City Trips","url":"/inspiration/theme-city-trip/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-croisiere.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-croisiere--energy-blue.svg","name":"Croisi\xe8res","url":"/inspiration/theme-croisieres/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-clulture.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-clulture--energy-blue.svg","name":"Culture","url":"/inspiration/theme-culture/"}]}]},{"column":[{"items":[{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-iles.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-iles--energy-blue.svg","name":"Dans les \xeeles","url":"/inspiration/theme-dans-les-iles/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-decouverte.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-decouverte--energy-blue.svg","name":"D\xe9couverte","url":"/inspiration/theme-decouverte/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-couple.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-couple--energy-blue.svg","name":"En couple","url":"/inspiration/theme-en-couple/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-famille.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-famille--energy-blue.svg","name":"En famille","url":"/inspiration/theme-en-famille/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-voyage-solo.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-voyage-solo--energy-blue.svg","name":"En solo","url":"/inspiration/theme-en-solo/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-train.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-train--energy-blue.svg","name":"En train","url":"/inspiration/theme-en-train/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/Icon_entre-amis.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/Icon_entre-amis--energy-blue.svg","name":"Entre amis","url":"/inspiration/theme-entre-amis/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-ethique.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-ethique--energy-blue.svg","name":"Ethique","url":"/inspiration/theme-ethique/"}]}]},{"column":[{"items":[{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-golf.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-golf--energy-blue.svg","name":"Golf","url":"/inspiration/theme-golf/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-hotel-charme.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-hotel-charme--energy-blue.svg","name":"H\xf4tel de charme","url":"/inspiration/theme-hotel-de-charme/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-insolite.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-insolite--energy-blue.svg","name":"Insolite","url":"/inspiration/theme-insolite/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-luxe.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-luxe--energy-blue.svg","name":"Luxe","url":"/inspiration/theme-luxe/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-nature.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-nature--energy-blue.svg","name":"Nature","url":"/inspiration/theme-nature/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-neige.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-neige--energy-blue.svg","name":"Neige","url":"/inspiration/theme-neige/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-plongee.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-plongee--energy-blue.svg","name":"Plong\xe9e","url":"/inspiration/theme-plongee/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-premium.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-premium--energy-blue.svg","name":"Premium","url":"/inspiration/theme-premium/"}]}]},{"column":[{"items":[{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-roadtrip.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-roadtrip--energy-blue.svg","name":"Road Trips","url":"/inspiration/theme-roadtrip/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-safari.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-safari--energy-blue.svg","name":"Safari","url":"/inspiration/theme-safari/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-senior-2.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-senior-2--energy-blue.svg","name":"S\xe9nior","url":"/inspiration/theme-senior/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-tenis.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-tenis--energy-blue.svg","name":"Tennis","url":"/inspiration/theme-tennis/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-tt-inclus.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-tt-inclus--energy-blue.svg","name":"Tout compris","url":"/voyage-tout-compris/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-sportif.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-sportif--energy-blue.svg","name":"Vacances sportives","url":"/inspiration/theme-vacances-sportives/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-noce.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-noce--energy-blue.svg","name":"Voyages de noces","url":"/inspiration/theme-voyage-de-noces/"},{"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-weekend.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-weekend--energy-blue.svg","name":"Week-end","url":"/inspiration/theme-week-end/"}]}]}]},{"title":"O\xf9 partir ?","url":"/inspiration/ou-partir-au-soleil/","hasChevron":true,"content":[{"column":[{"title":{"name":"Nos inspirations saisonni\xe8res"},"items":[{"name":"Vacances d\'\xe9t\xe9","url":"/inspiration/ou-partir-au-soleil/vacances-ete/"},{"name":"Vacances d\'automne","url":"/inspiration/ou-partir-au-soleil/vacances-automne/"},{"name":"Vacances d\'hiver","url":"/inspiration/ou-partir-au-soleil/voyage-hiver/"},{"name":"Vacances de printemps","url":"/inspiration/ou-partir-au-soleil/voyage-au-printemps/"}]}]},{"column":[{"title":{"name":""},"items":[{"name":"O\xf9 partir en janvier ?","url":"/inspiration/ou-partir-au-soleil/voyage-hiver/ou-partir-janvier/"},{"name":"O\xf9 partir en f\xe9vrier ?","url":"/inspiration/ou-partir-au-soleil/voyage-hiver/ou-partir-fevrier/"},{"name":"O\xf9 partir en mars ?","url":"/inspiration/ou-partir-au-soleil/voyage-au-printemps/ou-partir-mars/"},{"name":"O\xf9 partir en avril ?","url":"/inspiration/ou-partir-au-soleil/voyage-au-printemps/ou-partir-avril/"},{"name":"O\xf9 partir en mai ?","url":"/inspiration/ou-partir-au-soleil/voyage-au-printemps/ou-partir-mai/"},{"name":"O\xf9 partir en juin ?","url":"/inspiration/ou-partir-au-soleil/vacances-ete/ou-partir-juin/"}]}]},{"column":[{"title":{"name":""},"items":[{"name":"O\xf9 partir en juillet ?","url":"/inspiration/ou-partir-au-soleil/vacances-ete/ou-partir-juillet/"},{"name":"O\xf9 partir en ao\xfbt ?","url":"/inspiration/ou-partir-au-soleil/vacances-ete/ou-partir-aout/"},{"name":"O\xf9 partir en septembre ?","url":"/inspiration/ou-partir-au-soleil/vacances-automne/ou-partir-septembre/"},{"name":"O\xf9 partir en octobre ?","url":"/inspiration/ou-partir-au-soleil/vacances-automne/ou-partir-octobre/"},{"name":"O\xf9 partir en novembre ?","url":"/inspiration/ou-partir-au-soleil/vacances-automne/ou-partir-novembre/"},{"name":"O\xf9 partir en d\xe9cembre ?","url":"/inspiration/ou-partir-au-soleil/voyage-hiver/ou-partir-decembre/"}]}]}]},{"title":"Le blog du voyageur","url":"https://www.levoyaging.fr/","content":[]}]},{"title":"Week-end","url":"/inspiration/theme-week-end/","submenu":[{"title":"Toute notre offre","hasChevron":true,"url":"/theme-week-end/","content":[{"column":[{"title":{"name":"Nos Top destinations"},"items":[{"name":"Week-end Italie","url":"/voyages-italie/theme-week-end/"},{"name":"Week-end Gr\xe8ce","url":"/voyages-grece/theme-week-end/"},{"name":"Week-end Espagne","url":"/voyages-espagne/theme-week-end/"},{"name":"Week-end Maroc","url":"/voyages-maroc/theme-week-end/"},{"name":"Week-end Tunisie","url":"/voyages-tunisie/theme-week-end/"}],"more":{"name":"Tous nos Week-ends","url":"/theme-week-end/"}}]},{"column":[{"title":{"name":""},"items":[{"name":"Week-end France","url":"/voyages-france/theme-week-end/"},{"name":"Week-end New York","url":"/voyages-etats-unis/etats-unis-est/new-york/theme-week-end/"},{"name":"Week-end Barcelone","url":"/voyages-espagne/barcelone-catalogne/theme-week-end/"},{"name":"Week-end Corse","url":"/voyages-france/corse/theme-week-end/"},{"name":"Week-end Portugal","url":"/voyages-portugal/theme-week-end/"}]}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-WE-x2.png","url":"/bons-plans-voyage/week-end-courts-sejours/"}}]}]}]},{"title":"Bons plans","color":"red","url":"/bons-plans-voyage/","submenu":[{"title":"Nos meilleures offres","url":"/voyage-pas-cher/theme-tout-compris/","hasChevron":true,"content":[{"column":[{"title":{"name":"Meilleures offres s\xe9jours "},"items":[{"name":"S\xe9jours Gr\xe8ce","url":"/voyage-pas-cher/grece/type-sejours/"},{"name":"S\xe9jours Espagne","url":"/voyage-pas-cher/espagne/type-sejours/"},{"name":"S\xe9jours Italie","url":"/voyage-pas-cher/italie/type-sejours/"},{"name":"S\xe9jours Maroc","url":"/voyage-pas-cher/maroc/type-sejours/"},{"name":"S\xe9jours France","url":"/voyage-pas-cher/france/type-sejours/"}],"more":{"name":"Nos bons plans s\xe9jours","url":"/voyage-pas-cher/type-sejours/"}}]},{"column":[{"title":{"name":"Meilleures offres circuits"},"items":[{"name":"Circuits Canada","url":"/voyage-pas-cher/canada/type-circuits/"},{"name":"Circuits \xc9tats-Unis","url":"/voyages-etats-unis/type-circuits/"},{"name":"Circuits Vietnam","url":"/voyages-vietnam/type-circuits/"},{"name":"Circuits Sri Lanka","url":"/voyages-sri-lanka/type-circuits/"},{"name":"Circuits Espagne","url":"/voyages-espagne/type-circuits/"}],"more":{"name":"Nos bons plans circuits","url":"/voyage-pas-cher/type-circuits/"}}]},{"column":[{"merch":{"image":"https://content.tui.fr/Content/img/header/megamenu-DM-x2.png","url":"/bons-plans-voyage/derniere-minute-pas-cher/"}}]}]},{"title":"Derni\xe8res minutes","url":"/derniere-minute/","content":[]}]}],"menuActions":[{"text":"Agences TUI","alt":"agences TUI","link":"https://agences-de-voyages.tui.fr/","active":false,"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/location.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/location--electric.svg"},{"text":"0825 000 825","alt":"t\xe9l\xe9phone","active":false,"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/phone.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/phone--electric.svg","description":"Appel surtax\xe9 (0,20\u20ac/min + prix appel)\\nDu lundi au vendredi de 9h \xe0 19h, samedi de 9h \xe0 18h\\net dimanche (Club uniquement) de 10h \xe0 18h."},{"text":"Espace client","headerModelPropForText":"contactInfoFirstName","alt":"espace client","active":false,"icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/user-circled.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/user-circled--electric.svg","headerModelPropForChipActivated":"isConnected","tabs":[{"title":"Mon compte","chipTitlePrefix":"Bienvenue","headerModelPropForChipTitle":"contactInfoFirstName","icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/user.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/user--electric.svg","alt":"mon compte","description":"Inscrivez-vous ou connectez-vous \xe0 votre compte pour g\xe9rer tous vos voyages et vos options.","button":{"text":"Se connecter / S\'inscrire","textUserConnected":"Acc\xe9der \xe0 mon compte","url":"/compte-client/"},"isActive":true},{"title":"Ma r\xe9servation","icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-boarding-pass.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/icon-boarding-pass--electric.svg","alt":"ma r\xe9servation","description":"G\xe9rez votre r\xe9servation sans vous connecter \xe0 votre compte.","button":{"text":"Acc\xe9der \xe0 ma r\xe9servation","url":"/mon-dossier/"},"isActive":false},{"title":"Compl\xe9ter mon voyage","icon":"https://content.tui.fr/Content/img/common/icon/icons-svg/service-bell.svg","iconActive":"https://content.tui.fr/Content/img/common/icon/icons-svg/service-bell--electric.svg","alt":"compl\xe9ter mon voyage","description":"D\xe9couvrez toutes nos options pour personnaliser et peaufiner votre voyage.","button":{"text":"D\xe9couvrir nos services","url":"/pratique/ancillaries/"},"isActive":false}]}]}}');var Ma=t(463),Ia={};Ia.styleTagTransform=$r(),Ia.setAttributes=_r(),Ia.insert=xr().bind(null,"head"),Ia.domAPI=yr(),Ia.insertStyleElement=Er();br()(Ma.Z,Ia);const La=Ma.Z&&Ma.Z.locals?Ma.Z.locals:void 0;function Ua(e){var n,t,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n0?(0,r.jsx)(pl,{item:e,activeTab:p,setActionItems:c,headerContext:a}):e.description&&(0,r.jsx)(Al,{item:e})})]})},"".concat(e.text,"-").concat(n))}))})},gl=function(){},bl=function(){var e,n,t,o=Pa.F,i=o.menuBrand,a=o.menuDropdown,l=o.menuActions,s=Za(),c=s.isDesktop,u=s.isMenuOpen,d=s.toggleMenu,f=null===(t=null===document||void 0===document?void 0:document.getElementById("reactHeader"))||void 0===t?void 0:t.getAttribute("data-header-context"),p=new gl;if(f)try{p=JSON.parse(f)}catch(A){console.error("Failed to parse headerContext:",A)}return(0,r.jsxs)("header",{className:Ya(ja.header,(e={},e[ja["header--burger-active"]]=u&&!c,e)),children:[(0,r.jsx)("button",{className:Ya(ja.header__burger,(n={},n[ja.active]=u,n)),onClick:function(){return d(!u)},children:(0,r.jsx)("div",{className:ja["burger-container"]})}),(0,r.jsxs)("div",{className:ja["header-wrapper"],children:[(0,r.jsx)(sl,{content:i}),(0,r.jsx)(ol,{content:a}),(0,r.jsx)(hl,{content:l,headerContext:p})]})]})},Cl=!1;[{id:"root",Component:"app"},{id:"reactHeader",Component:"header"}].forEach((function(e){var n=e.id,t=e.Component,i=document.getElementById(n);if(i){Cl=!0;var l=(0,a.s)(i);switch(t){case"app":l.render((0,r.jsx)(o.StrictMode,{children:(0,r.jsx)(an,{store:ua,children:(0,r.jsx)(Ta,{children:(0,r.jsx)(la,{})})})}));break;case"header":l.render((0,r.jsx)(o.StrictMode,{children:(0,r.jsx)(Ka,{children:(0,r.jsx)(bl,{})})}))}}})),Cl||console.warn("You need to used at least one root id"),sa()})()})();
//# sourceMappingURL=searchBarBundle.js.map;