ba-js-common-header 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,11 +23,11 @@ object-assign
|
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/var mn=60103,yn=60106,tr=60107,rr=60108,nr=60114,ir=60109,ar=60110,or=60112,sr=60113,_i=60120,ur=60115,cr=60116,Fs=60121,Ls=60122,js=60117,Ws=60129,Hs=60131;if(typeof Symbol=="function"&&Symbol.for){var Ie=Symbol.for;mn=Ie("react.element"),yn=Ie("react.portal"),tr=Ie("react.fragment"),rr=Ie("react.strict_mode"),nr=Ie("react.profiler"),ir=Ie("react.provider"),ar=Ie("react.context"),or=Ie("react.forward_ref"),sr=Ie("react.suspense"),_i=Ie("react.suspense_list"),ur=Ie("react.memo"),cr=Ie("react.lazy"),Fs=Ie("react.block"),Ls=Ie("react.server.block"),js=Ie("react.fundamental"),Ws=Ie("react.debug_trace_mode"),Hs=Ie("react.legacy_hidden")}function Ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case mn:switch(e=e.type,e){case tr:case nr:case rr:case sr:case _i:return e;default:switch(e=e&&e.$$typeof,e){case ar:case or:case cr:case ur:case ir:return e;default:return t}}case yn:return t}}}var eh=ir,th=mn,rh=or,nh=tr,ih=cr,ah=ur,oh=yn,sh=nr,uh=rr,ch=sr;he.ContextConsumer=ar,he.ContextProvider=eh,he.Element=th,he.ForwardRef=rh,he.Fragment=nh,he.Lazy=ih,he.Memo=ah,he.Portal=oh,he.Profiler=sh,he.StrictMode=uh,he.Suspense=ch,he.isAsyncMode=function(){return!1},he.isConcurrentMode=function(){return!1},he.isContextConsumer=function(e){return Ue(e)===ar},he.isContextProvider=function(e){return Ue(e)===ir},he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===mn},he.isForwardRef=function(e){return Ue(e)===or},he.isFragment=function(e){return Ue(e)===tr},he.isLazy=function(e){return Ue(e)===cr},he.isMemo=function(e){return Ue(e)===ur},he.isPortal=function(e){return Ue(e)===yn},he.isProfiler=function(e){return Ue(e)===nr},he.isStrictMode=function(e){return Ue(e)===rr},he.isSuspense=function(e){return Ue(e)===sr},he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tr||e===nr||e===Ws||e===rr||e===sr||e===_i||e===Hs||typeof e=="object"&&e!==null&&(e.$$typeof===cr||e.$$typeof===ur||e.$$typeof===ir||e.$$typeof===ar||e.$$typeof===or||e.$$typeof===js||e.$$typeof===Fs||e[0]===Ls)},he.typeOf=Ue;function Vs(){var e=S.useContext(ct);return e}function zs(e){e===void 0&&(e=ct);var t=e===ct?Vs:function(){return S.useContext(e)};return function(){var n=t(),i=n.store;return i}}var lh=zs();function fh(e){e===void 0&&(e=ct);var t=e===ct?lh:zs(e);return function(){var n=t();return n.dispatch}}var Be=fh(),dh=function(t,r){return t===r};function hh(e,t,r,n){var i=S.useReducer(function(
|
|
26
|
+
*/var mn=60103,yn=60106,tr=60107,rr=60108,nr=60114,ir=60109,ar=60110,or=60112,sr=60113,_i=60120,ur=60115,cr=60116,Fs=60121,Ls=60122,js=60117,Ws=60129,Hs=60131;if(typeof Symbol=="function"&&Symbol.for){var Ie=Symbol.for;mn=Ie("react.element"),yn=Ie("react.portal"),tr=Ie("react.fragment"),rr=Ie("react.strict_mode"),nr=Ie("react.profiler"),ir=Ie("react.provider"),ar=Ie("react.context"),or=Ie("react.forward_ref"),sr=Ie("react.suspense"),_i=Ie("react.suspense_list"),ur=Ie("react.memo"),cr=Ie("react.lazy"),Fs=Ie("react.block"),Ls=Ie("react.server.block"),js=Ie("react.fundamental"),Ws=Ie("react.debug_trace_mode"),Hs=Ie("react.legacy_hidden")}function Ue(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case mn:switch(e=e.type,e){case tr:case nr:case rr:case sr:case _i:return e;default:switch(e=e&&e.$$typeof,e){case ar:case or:case cr:case ur:case ir:return e;default:return t}}case yn:return t}}}var eh=ir,th=mn,rh=or,nh=tr,ih=cr,ah=ur,oh=yn,sh=nr,uh=rr,ch=sr;he.ContextConsumer=ar,he.ContextProvider=eh,he.Element=th,he.ForwardRef=rh,he.Fragment=nh,he.Lazy=ih,he.Memo=ah,he.Portal=oh,he.Profiler=sh,he.StrictMode=uh,he.Suspense=ch,he.isAsyncMode=function(){return!1},he.isConcurrentMode=function(){return!1},he.isContextConsumer=function(e){return Ue(e)===ar},he.isContextProvider=function(e){return Ue(e)===ir},he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===mn},he.isForwardRef=function(e){return Ue(e)===or},he.isFragment=function(e){return Ue(e)===tr},he.isLazy=function(e){return Ue(e)===cr},he.isMemo=function(e){return Ue(e)===ur},he.isPortal=function(e){return Ue(e)===yn},he.isProfiler=function(e){return Ue(e)===nr},he.isStrictMode=function(e){return Ue(e)===rr},he.isSuspense=function(e){return Ue(e)===sr},he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tr||e===nr||e===Ws||e===rr||e===sr||e===_i||e===Hs||typeof e=="object"&&e!==null&&(e.$$typeof===cr||e.$$typeof===ur||e.$$typeof===ir||e.$$typeof===ar||e.$$typeof===or||e.$$typeof===js||e.$$typeof===Fs||e[0]===Ls)},he.typeOf=Ue;function Vs(){var e=S.useContext(ct);return e}function zs(e){e===void 0&&(e=ct);var t=e===ct?Vs:function(){return S.useContext(e)};return function(){var n=t(),i=n.store;return i}}var lh=zs();function fh(e){e===void 0&&(e=ct);var t=e===ct?lh:zs(e);return function(){var n=t();return n.dispatch}}var Be=fh(),dh=function(t,r){return t===r};function hh(e,t,r,n){var i=S.useReducer(function(w){return w+1},0),a=i[1],o=S.useMemo(function(){return Ss(r,n)},[r,n]),s=S.useRef(),l=S.useRef(),u=S.useRef(),h=S.useRef(),g=r.getState(),y;try{if(e!==l.current||g!==u.current||s.current){var P=e(g);h.current===void 0||!t(P,h.current)?y=P:y=h.current}else y=h.current}catch(w){throw s.current&&(w.message+=`
|
|
27
27
|
The error may be correlated with this previous error:
|
|
28
28
|
`+s.current.stack+`
|
|
29
29
|
|
|
30
|
-
`),
|
|
30
|
+
`),w}return mi(function(){l.current=e,u.current=g,h.current=y,s.current=void 0}),mi(function(){function w(){try{var O=r.getState();if(O===u.current)return;var d=l.current(O);if(t(d,h.current))return;h.current=d,u.current=O}catch(m){s.current=m}a()}return o.onStateChange=w,o.trySubscribe(),w(),function(){return o.tryUnsubscribe()}},[r,o]),y}function ph(e){e===void 0&&(e=ct);var t=e===ct?Vs:function(){return S.useContext(e)};return function(n,i){i===void 0&&(i=dh);var a=t(),o=a.store,s=a.subscription,l=hh(n,i,o,s);return S.useDebugValue(l),l}}var ie=ph();Dd(Ce.unstable_batchedUpdates);/*! *****************************************************************************
|
|
31
31
|
Copyright (c) Microsoft Corporation.
|
|
32
32
|
|
|
33
33
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -40,11 +40,11 @@ The error may be correlated with this previous error:
|
|
|
40
40
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
41
41
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
42
42
|
PERFORMANCE OF THIS SOFTWARE.
|
|
43
|
-
***************************************************************************** */var bn=function(){return bn=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},bn.apply(this,arguments)},gh=function(){};function vh(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function mh(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var lr=typeof window!="undefined",yh=lr?S.useLayoutEffect:S.useEffect,bh=yh,wh=function(e){S.useEffect(e,[])},_h=wh,Oh=function(e){var t=S.useRef(e);t.current=e,_h(function(){return function(){return t.current()}})},Ph=Oh,xh=function(e){var t=S.useRef(0),r=S.useState(e),n=r[0],i=r[1],a=S.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return Ph(function(){cancelAnimationFrame(t.current)}),[n,a]},Ih=xh,Sh=function(e,t){e===void 0&&(e=1/0),t===void 0&&(t=1/0);var r=Ih({width:lr?window.innerWidth:e,height:lr?window.innerHeight:t}),n=r[0],i=r[1];return S.useEffect(function(){if(lr){var a=function(){i({width:window.innerWidth,height:window.innerHeight})};return vh(window,"resize",a),function(){mh(window,"resize",a)}}},[]),n},Eh=Sh,Us={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Ch(){var e=S.useState(null),t=e[0],r=e[1],n=S.useState(Us),i=n[0],a=n[1],o=S.useMemo(function(){return new window.ResizeObserver(function(s){if(s[0]){var l=s[0].contentRect,u=l.x,h=l.y,g=l.width,y=l.height,
|
|
43
|
+
***************************************************************************** */var bn=function(){return bn=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},bn.apply(this,arguments)},gh=function(){};function vh(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function mh(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var lr=typeof window!="undefined",yh=lr?S.useLayoutEffect:S.useEffect,bh=yh,wh=function(e){S.useEffect(e,[])},_h=wh,Oh=function(e){var t=S.useRef(e);t.current=e,_h(function(){return function(){return t.current()}})},Ph=Oh,xh=function(e){var t=S.useRef(0),r=S.useState(e),n=r[0],i=r[1],a=S.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return Ph(function(){cancelAnimationFrame(t.current)}),[n,a]},Ih=xh,Sh=function(e,t){e===void 0&&(e=1/0),t===void 0&&(t=1/0);var r=Ih({width:lr?window.innerWidth:e,height:lr?window.innerHeight:t}),n=r[0],i=r[1];return S.useEffect(function(){if(lr){var a=function(){i({width:window.innerWidth,height:window.innerHeight})};return vh(window,"resize",a),function(){mh(window,"resize",a)}}},[]),n},Eh=Sh,Us={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function Ch(){var e=S.useState(null),t=e[0],r=e[1],n=S.useState(Us),i=n[0],a=n[1],o=S.useMemo(function(){return new window.ResizeObserver(function(s){if(s[0]){var l=s[0].contentRect,u=l.x,h=l.y,g=l.width,y=l.height,P=l.top,w=l.left,O=l.bottom,d=l.right;a({x:u,y:h,width:g,height:y,top:P,left:w,bottom:O,right:d})}})},[]);return bh(function(){if(!!t)return o.observe(t),function(){o.disconnect()}},[t]),[r,i]}var Oi=lr&&typeof window.ResizeObserver!="undefined"?Ch:function(){return[gh,Us]},Bs={exports:{}};/*!
|
|
44
44
|
Copyright (c) 2018 Jed Watson.
|
|
45
45
|
Licensed under the MIT License (MIT), see
|
|
46
46
|
http://jedwatson.github.io/classnames
|
|
47
|
-
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var s=r.apply(null,a);s&&n.push(s)}}else if(o==="object")if(a.toString===Object.prototype.toString)for(var l in a)t.call(a,l)&&a[l]&&n.push(l);else n.push(a.toString())}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Bs);var He=Bs.exports;function Ke(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lt(e){return!!e&&!!e[me]}function ft(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Lh}(e)||Array.isArray(e)||!!e[eu]||!!e.constructor[eu]||Pi(e)||xi(e))}function _t(e,t,r){r===void 0&&(r=!1),Dt(e)===0?(r?Object.keys:Lt)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Dt(e){var t=e[me];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pi(e)?2:xi(e)?3:0}function Ft(e,t){return Dt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Mh(e,t){return Dt(e)===2?e.get(t):e[t]}function Ks(e,t,r){var n=Dt(e);n===2?e.set(t,r):n===3?(e.delete(t),e.add(r)):e[t]=r}function Gs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Pi(e){return Dh&&e instanceof Map}function xi(e){return Fh&&e instanceof Set}function Ot(e){return e.o||e.t}function Ii(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=tu(e);delete t[me];for(var r=Lt(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Si(e,t){return t===void 0&&(t=!1),Ei(e)||lt(e)||!ft(e)||(Dt(e)>1&&(e.set=e.add=e.clear=e.delete=Rh),Object.freeze(e),t&&_t(e,function(r,n){return Si(n,!0)},!0)),e}function Rh(){Ke(2)}function Ei(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xe(e){var t=Fi[e];return t||Ke(18,e),t}function Ah(e,t){Fi[e]||(Fi[e]=t)}function Ci(){return fr}function Mi(e,t){t&&(Xe("Patches"),e.u=[],e.s=[],e.v=t)}function wn(e){Ri(e),e.p.forEach(Th),e.p=null}function Ri(e){e===fr&&(fr=e.l)}function ks(e){return fr={p:[],l:fr,h:e,m:!0,_:0}}function Th(e){var t=e[me];t.i===0||t.i===1?t.j():t.O=!0}function Ai(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.g||Xe("ES5").S(t,e,n),n?(r[me].P&&(wn(t),Ke(4)),ft(e)&&(e=_n(t,e),t.l||On(t,e)),t.u&&Xe("Patches").M(r[me].t,e,t.u,t.s)):e=_n(t,r,[]),wn(t),t.u&&t.v(t.u,t.s),e!==Zs?e:void 0}function _n(e,t,r){if(Ei(t))return t;var n=t[me];if(!n)return _t(t,function(a,o){return Qs(e,n,t,a,o,r)},!0),t;if(n.A!==e)return t;if(!n.P)return On(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ii(n.k):n.o;_t(n.i===3?new Set(i):i,function(a,o){return Qs(e,n,i,a,o,r)}),On(e,i,!1),r&&e.u&&Xe("Patches").R(n,r,e.u,e.s)}return n.o}function Qs(e,t,r,n,i,a){if(lt(i)){var o=_n(e,i,a&&t&&t.i!==3&&!Ft(t.D,n)?a.concat(n):void 0);if(Ks(r,n,o),!lt(o))return;e.m=!1}if(ft(i)&&!Ei(i)){if(!e.h.F&&e._<1)return;_n(e,i),t&&t.A.l||On(e,i)}}function On(e,t,r){r===void 0&&(r=!1),e.h.F&&e.m&&Si(t,r)}function Ti(e,t){var r=e[me];return(r?Ot(r):e)[t]}function qs(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function dt(e){e.P||(e.P=!0,e.l&&dt(e.l))}function $i(e){e.o||(e.o=Ii(e.t))}function Ni(e,t,r){var n=Pi(t)?Xe("MapSet").N(t,r):xi(t)?Xe("MapSet").T(t,r):e.g?function(i,a){var o=Array.isArray(i),s={i:o?1:0,A:a?a.A:Ci(),P:!1,I:!1,D:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=s,u=dr;o&&(l=[s],u=hr);var h=Proxy.revocable(l,u),g=h.revoke,y=h.proxy;return s.k=y,s.j=g,y}(t,r):Xe("ES5").J(t,r);return(r?r.A:Ci()).p.push(n),n}function $h(e){return lt(e)||Ke(22,e),function t(r){if(!ft(r))return r;var n,i=r[me],a=Dt(r);if(i){if(!i.P&&(i.i<4||!Xe("ES5").K(i)))return i.t;i.I=!0,n=Xs(r,a),i.I=!1}else n=Xs(r,a);return _t(n,function(o,s){i&&Mh(i.t,o)===s||Ks(n,o,t(s))}),a===3?new Set(n):n}(e)}function Xs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ii(e)}function Nh(){function e(a,o){var s=i[a];return s?s.enumerable=o:i[a]=s={configurable:!0,enumerable:o,get:function(){var l=this[me];return dr.get(l,a)},set:function(l){var u=this[me];dr.set(u,a,l)}},s}function t(a){for(var o=a.length-1;o>=0;o--){var s=a[o][me];if(!s.P)switch(s.i){case 5:n(s)&&dt(s);break;case 4:r(s)&&dt(s)}}}function r(a){for(var o=a.t,s=a.k,l=Lt(s),u=l.length-1;u>=0;u--){var h=l[u];if(h!==me){var g=o[h];if(g===void 0&&!Ft(o,h))return!0;var y=s[h],w=y&&y[me];if(w?w.t!==g:!Gs(y,g))return!0}}var O=!!o[me];return l.length!==Lt(o).length+(O?0:1)}function n(a){var o=a.k;if(o.length!==a.t.length)return!0;var s=Object.getOwnPropertyDescriptor(o,o.length-1);if(s&&!s.get)return!0;for(var l=0;l<o.length;l++)if(!o.hasOwnProperty(l))return!0;return!1}var i={};Ah("ES5",{J:function(a,o){var s=Array.isArray(a),l=function(h,g){if(h){for(var y=Array(g.length),w=0;w<g.length;w++)Object.defineProperty(y,""+w,e(w,!0));return y}var O=tu(g);delete O[me];for(var P=Lt(O),p=0;p<P.length;p++){var m=P[p];O[m]=e(m,h||!!O[m].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(s,a),u={i:s?5:4,A:o?o.A:Ci(),P:!1,I:!1,D:{},l:o,t:a,k:l,o:null,O:!1,C:!1};return Object.defineProperty(l,me,{value:u,writable:!0}),l},S:function(a,o,s){s?lt(o)&&o[me].A===a&&t(a.p):(a.u&&function l(u){if(u&&typeof u=="object"){var h=u[me];if(h){var g=h.t,y=h.k,w=h.D,O=h.i;if(O===4)_t(y,function(f){f!==me&&(g[f]!==void 0||Ft(g,f)?w[f]||l(y[f]):(w[f]=!0,dt(h)))}),_t(g,function(f){y[f]!==void 0||Ft(y,f)||(w[f]=!1,dt(h))});else if(O===5){if(n(h)&&(dt(h),w.length=!0),y.length<g.length)for(var P=y.length;P<g.length;P++)w[P]=!1;else for(var p=g.length;p<y.length;p++)w[p]=!0;for(var m=Math.min(y.length,g.length),c=0;c<m;c++)y.hasOwnProperty(c)||(w[c]=!0),w[c]===void 0&&l(y[c])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var Ys,fr,Di=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",Dh=typeof Map!="undefined",Fh=typeof Set!="undefined",Js=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",Zs=Di?Symbol.for("immer-nothing"):((Ys={})["immer-nothing"]=!0,Ys),eu=Di?Symbol.for("immer-draftable"):"__$immer_draftable",me=Di?Symbol.for("immer-state"):"__$immer_state",Lh=""+Object.prototype.constructor,Lt=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,tu=Object.getOwnPropertyDescriptors||function(e){var t={};return Lt(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Fi={},dr={get:function(e,t){if(t===me)return e;var r=Ot(e);if(!Ft(r,t))return function(i,a,o){var s,l=qs(a,o);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!ft(n)?n:n===Ti(e.t,t)?($i(e),e.o[t]=Ni(e.A.h,n,e)):n},has:function(e,t){return t in Ot(e)},ownKeys:function(e){return Reflect.ownKeys(Ot(e))},set:function(e,t,r){var n=qs(Ot(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Ti(Ot(e),t),a=i==null?void 0:i[me];if(a&&a.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Gs(r,i)&&(r!==void 0||Ft(e.t,t)))return!0;$i(e),dt(e)}return e.o[t]===r&&typeof r!="number"&&(r!==void 0||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Ti(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,$i(e),dt(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ot(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ke(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ke(12)}},hr={};_t(dr,function(e,t){hr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),hr.deleteProperty=function(e,t){return hr.set.call(this,e,t,void 0)},hr.set=function(e,t,r){return dr.set.call(this,e[0],t,r,e[0])};var jh=function(){function e(r){var n=this;this.g=Js,this.F=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var l=n;return function(P){var p=this;P===void 0&&(P=s);for(var m=arguments.length,c=Array(m>1?m-1:0),f=1;f<m;f++)c[f-1]=arguments[f];return l.produce(P,function(v){var b;return(b=a).call.apply(b,[p,v].concat(c))})}}var u;if(typeof a!="function"&&Ke(6),o!==void 0&&typeof o!="function"&&Ke(7),ft(i)){var h=ks(n),g=Ni(n,i,void 0),y=!0;try{u=a(g),y=!1}finally{y?wn(h):Ri(h)}return typeof Promise!="undefined"&&u instanceof Promise?u.then(function(P){return Mi(h,o),Ai(P,h)},function(P){throw wn(h),P}):(Mi(h,o),Ai(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Zs&&(u=void 0),n.F&&Si(u,!0),o){var w=[],O=[];Xe("Patches").M(i,u,w,O),o(w,O)}return u}Ke(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,g=Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(w){return i.apply(void 0,[w].concat(g))})};var o,s,l=n.produce(i,a,function(u,h){o=u,s=h});return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(u){return[u,o,s]}):[l,o,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){ft(r)||Ke(8),lt(r)&&(r=$h(r));var n=ks(this),i=Ni(this,r,void 0);return i[me].C=!0,Ri(n),i},t.finishDraft=function(r,n){var i=r&&r[me],a=i.A;return Mi(a,n),Ai(void 0,a)},t.setAutoFreeze=function(r){this.F=r},t.setUseProxies=function(r){r&&!Js&&Ke(20),this.g=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var o=Xe("Patches").$;return lt(r)?o(r,n):this.produce(r,function(s){return o(s,n)})},e}(),je=new jh,Wh=je.produce;je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var Pn=Wh;function Hh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ru(Object(r),!0).forEach(function(n){Hh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ru(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Me(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 iu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Li=function(){return Math.random().toString(36).substring(7).split("").join(".")},xn={INIT:"@@redux/INIT"+Li(),REPLACE:"@@redux/REPLACE"+Li(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Li()}};function Vh(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function au(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Me(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(Me(1));return r(au)(e,t)}if(typeof e!="function")throw new Error(Me(2));var i=e,a=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function h(){if(l)throw new Error(Me(3));return a}function g(P){if(typeof P!="function")throw new Error(Me(4));if(l)throw new Error(Me(5));var p=!0;return u(),s.push(P),function(){if(!!p){if(l)throw new Error(Me(6));p=!1,u();var c=s.indexOf(P);s.splice(c,1),o=null}}}function y(P){if(!Vh(P))throw new Error(Me(7));if(typeof P.type=="undefined")throw new Error(Me(8));if(l)throw new Error(Me(9));try{l=!0,a=i(a,P)}finally{l=!1}for(var p=o=s,m=0;m<p.length;m++){var c=p[m];c()}return P}function w(P){if(typeof P!="function")throw new Error(Me(10));i=P,y({type:xn.REPLACE})}function O(){var P,p=g;return P={subscribe:function(c){if(typeof c!="object"||c===null)throw new Error(Me(11));function f(){c.next&&c.next(h())}f();var v=p(f);return{unsubscribe:v}}},P[iu]=function(){return this},P}return y({type:xn.INIT}),n={dispatch:y,subscribe:g,getState:h,replaceReducer:w},n[iu]=O,n}function zh(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xn.INIT});if(typeof n=="undefined")throw new Error(Me(12));if(typeof r(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(Me(13))})}function Uh(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{zh(r)}catch(s){o=s}return function(l,u){if(l===void 0&&(l={}),o)throw o;for(var h=!1,g={},y=0;y<a.length;y++){var w=a[y],O=r[w],P=l[w],p=O(P,u);if(typeof p=="undefined")throw u&&u.type,new Error(Me(14));g[w]=p,h=h||p!==P}return h=h||a.length!==Object.keys(l).length,h?g:l}}function In(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Bh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Me(15))},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=t.map(function(l){return l(o)});return a=In.apply(void 0,s)(i.dispatch),nu(nu({},i),{},{dispatch:a})}}}function ou(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(o){return function(s){return typeof s=="function"?s(i,a,e):o(s)}}};return t}var su=ou();su.withExtraArgument=ou;var uu=su,Kh=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();globalThis&&globalThis.__generator;var Sn=globalThis&&globalThis.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Gh=Object.defineProperty,cu=Object.getOwnPropertySymbols,kh=Object.prototype.hasOwnProperty,Qh=Object.prototype.propertyIsEnumerable,lu=function(e,t,r){return t in e?Gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pr=function(e,t){for(var r in t||(t={}))kh.call(t,r)&&lu(e,r,t[r]);if(cu)for(var n=0,i=cu(t);n<i.length;n++){var r=i[n];Qh.call(t,r)&&lu(e,r,t[r])}return e},qh=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?In:In.apply(null,arguments)};function Xh(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Yh=function(e){Kh(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Sn([void 0],r[0].concat(this)))):new(t.bind.apply(t,Sn([void 0],r.concat(this))))},t}(Array);function Jh(e){return typeof e=="boolean"}function Zh(){return function(t){return ep(t)}}function ep(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t;e.immutableCheck,e.serializableCheck;var n=new Yh;return r&&(Jh(r)?n.push(uu):n.push(uu.withExtraArgument(r.extraArgument))),n}var tp=!0;function rp(e){var t=Zh(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,o=a===void 0?t():a,s=r.devTools,l=s===void 0?!0:s,u=r.preloadedState,h=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,w;if(typeof i=="function")w=i;else if(Xh(i))w=Uh(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=o;typeof O=="function"&&(O=O(t));var P=Bh.apply(void 0,O),p=In;l&&(p=qh(pr({trace:!tp},typeof l=="object"&&l)));var m=[P];Array.isArray(y)?m=Sn([P],y):typeof y=="function"&&(m=y(m));var c=p.apply(void 0,m);return au(w,h,c)}function gr(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return pr(pr({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function fu(e){var t={},r=[],n,i={addCase:function(a,o){var s=typeof a=="string"?a:a.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=o,i},addMatcher:function(a,o){return r.push({matcher:a,reducer:o}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function np(e){return typeof e=="function"}function ip(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?fu(t):[t,r,n],a=i[0],o=i[1],s=i[2],l;if(np(e))l=function(){return Pn(e(),function(){})};else{var u=Pn(e,function(){});l=function(){return u}}function h(g,y){g===void 0&&(g=l());var w=Sn([a[y.type]],o.filter(function(O){var P=O.matcher;return P(y)}).map(function(O){var P=O.reducer;return P}));return w.filter(function(O){return!!O}).length===0&&(w=[s]),w.reduce(function(O,P){if(P)if(lt(O)){var p=O,m=P(p,y);return typeof m=="undefined"?O:m}else{if(ft(O))return Pn(O,function(c){return P(c,y)});var m=P(O,y);if(typeof m=="undefined"){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}return O},g)}return h.getInitialState=l,h}function ap(e,t){return e+"/"+t}function Pt(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r=typeof e.initialState=="function"?e.initialState:Pn(e.initialState,function(){}),n=e.reducers||{},i=Object.keys(n),a={},o={},s={};i.forEach(function(h){var g=n[h],y=ap(t,h),w,O;"reducer"in g?(w=g.reducer,O=g.prepare):w=g,a[h]=w,o[y]=w,s[h]=O?gr(y,O):gr(y)});function l(){var h=typeof e.extraReducers=="function"?fu(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,w=h[1],O=w===void 0?[]:w,P=h[2],p=P===void 0?void 0:P,m=pr(pr({},y),o);return ip(r,m,O,p)}var u;return{name:t,reducer:function(h,g){return u||(u=l()),u(h,g)},actions:s,caseReducers:a,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var ji="listenerMiddleware";gr(ji+"/add"),gr(ji+"/removeAll"),gr(ji+"/remove"),Nh();const du=Pt({name:"menuItems",initialState:{items:[],selectedItem:null},reducers:{setMenuItems:(e,t)=>fe(ne({},e),{items:t.payload}),setSelectedItem:(e,t)=>fe(ne({},e),{selectedItem:t.payload})}}),{setMenuItems:op,setSelectedItem:En}=du.actions;var sp=du.reducer;const hu=Pt({name:"titleBar",initialState:{},reducers:{setTitleBar:(e,t)=>t.payload}}),{setTitleBar:up}=hu.actions;var cp=hu.reducer;const pu=Pt({name:"userInfo",initialState:{userId:0,username:"",hotelId:0,guideId:0,hotelGroupId:0,group:""},reducers:{setUserInfo:(e,t)=>t.payload}}),{setUserInfo:lp}=pu.actions;var fp=pu.reducer;const gu=Pt({name:"headerInfo",initialState:{isOpen:!1,isMobileOrTablet:!1,subMenus:[],i18nFeed:null},reducers:{setIsOpen:(e,t)=>fe(ne({},e),{isOpen:t.payload}),setIsMobileOrTablet:(e,t)=>fe(ne({},e),{isMobileOrTablet:t.payload<=992}),setSubMenus:(e,t)=>(e.subMenus=t.payload||[],e),addSubMenu:(e,t)=>{const r=e.subMenus.indexOf(t.payload);return r>-1&&e.subMenus.splice(r,1),e.subMenus.unshift(t.payload),e},removeSubMenu:(e,t)=>{const r=e.subMenus.indexOf(t.payload);return r>-1&&e.subMenus.splice(r,1),e},setI18nFeed:(e,t)=>fe(ne({},e),{i18nFeed:t.payload})}}),{setIsOpen:dp,setIsMobileOrTablet:hp,addSubMenu:xt,removeSubMenu:Wi,setSubMenus:pp,setI18nFeed:gp}=gu.actions;var vp=gu.reducer;const vu=Pt({name:"userLanguage",initialState:"en",reducers:{setUserLanguage:(e,t)=>t.payload}}),{setUserLanguage:mu}=vu.actions;var mp=vu.reducer,yu={exports:{}};(function(e,t){(function(r,n){n(t)})(nt,function(r){function n(x,C){x.super_=C,x.prototype=Object.create(C.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}})}function i(x,C){Object.defineProperty(this,"kind",{value:x,enumerable:!0}),C&&C.length&&Object.defineProperty(this,"path",{value:C,enumerable:!0})}function a(x,C,E){a.super_.call(this,"E",x),Object.defineProperty(this,"lhs",{value:C,enumerable:!0}),Object.defineProperty(this,"rhs",{value:E,enumerable:!0})}function o(x,C){o.super_.call(this,"N",x),Object.defineProperty(this,"rhs",{value:C,enumerable:!0})}function s(x,C){s.super_.call(this,"D",x),Object.defineProperty(this,"lhs",{value:C,enumerable:!0})}function l(x,C,E){l.super_.call(this,"A",x),Object.defineProperty(this,"index",{value:C,enumerable:!0}),Object.defineProperty(this,"item",{value:E,enumerable:!0})}function u(x,C,E){var T=x.slice((E||C)+1||x.length);return x.length=C<0?x.length+C:C,x.push.apply(x,T),x}function h(x){var C=typeof x=="undefined"?"undefined":V(x);return C!=="object"?C:x===Math?"math":x===null?"null":Array.isArray(x)?"array":Object.prototype.toString.call(x)==="[object Date]"?"date":typeof x.toString=="function"&&/^\/.*\//.test(x.toString())?"regexp":"object"}function g(x,C,E,T,D,k,j){D=D||[],j=j||[];var z=D.slice(0);if(typeof k!="undefined"){if(T){if(typeof T=="function"&&T(z,k))return;if((typeof T=="undefined"?"undefined":V(T))==="object"){if(T.prefilter&&T.prefilter(z,k))return;if(T.normalize){var F=T.normalize(z,k,x,C);F&&(x=F[0],C=F[1])}}}z.push(k)}h(x)==="regexp"&&h(C)==="regexp"&&(x=x.toString(),C=C.toString());var W=typeof x=="undefined"?"undefined":V(x),G=typeof C=="undefined"?"undefined":V(C),Q=W!=="undefined"||j&&j[j.length-1].lhs&&j[j.length-1].lhs.hasOwnProperty(k),re=G!=="undefined"||j&&j[j.length-1].rhs&&j[j.length-1].rhs.hasOwnProperty(k);if(!Q&&re)E(new o(z,C));else if(!re&&Q)E(new s(z,x));else if(h(x)!==h(C))E(new a(z,x,C));else if(h(x)==="date"&&x-C!==0)E(new a(z,x,C));else if(W==="object"&&x!==null&&C!==null)if(j.filter(function(te){return te.lhs===x}).length)x!==C&&E(new a(z,x,C));else{if(j.push({lhs:x,rhs:C}),Array.isArray(x)){var K;for(x.length,K=0;K<x.length;K++)K>=C.length?E(new l(z,K,new s(void 0,x[K]))):g(x[K],C[K],E,T,z,K,j);for(;K<C.length;)E(new l(z,K,new o(void 0,C[K++])))}else{var de=Object.keys(x),se=Object.keys(C);de.forEach(function(te,ye){var xe=se.indexOf(te);xe>=0?(g(x[te],C[te],E,T,z,te,j),se=u(se,xe)):g(x[te],void 0,E,T,z,te,j)}),se.forEach(function(te){g(void 0,C[te],E,T,z,te,j)})}j.length=j.length-1}else x!==C&&(W==="number"&&isNaN(x)&&isNaN(C)||E(new a(z,x,C)))}function y(x,C,E,T){return T=T||[],g(x,C,function(D){D&&T.push(D)},E),T.length?T:void 0}function w(x,C,E){if(E.path&&E.path.length){var T,D=x[C],k=E.path.length-1;for(T=0;T<k;T++)D=D[E.path[T]];switch(E.kind){case"A":w(D[E.path[T]],E.index,E.item);break;case"D":delete D[E.path[T]];break;case"E":case"N":D[E.path[T]]=E.rhs}}else switch(E.kind){case"A":w(x[C],E.index,E.item);break;case"D":x=u(x,C);break;case"E":case"N":x[C]=E.rhs}return x}function O(x,C,E){if(x&&C&&E&&E.kind){for(var T=x,D=-1,k=E.path?E.path.length-1:0;++D<k;)typeof T[E.path[D]]=="undefined"&&(T[E.path[D]]=typeof E.path[D]=="number"?[]:{}),T=T[E.path[D]];switch(E.kind){case"A":w(E.path?T[E.path[D]]:T,E.index,E.item);break;case"D":delete T[E.path[D]];break;case"E":case"N":T[E.path[D]]=E.rhs}}}function P(x,C,E){if(E.path&&E.path.length){var T,D=x[C],k=E.path.length-1;for(T=0;T<k;T++)D=D[E.path[T]];switch(E.kind){case"A":P(D[E.path[T]],E.index,E.item);break;case"D":D[E.path[T]]=E.lhs;break;case"E":D[E.path[T]]=E.lhs;break;case"N":delete D[E.path[T]]}}else switch(E.kind){case"A":P(x[C],E.index,E.item);break;case"D":x[C]=E.lhs;break;case"E":x[C]=E.lhs;break;case"N":x=u(x,C)}return x}function p(x,C,E){if(x&&C&&E&&E.kind){var T,D,k=x;for(D=E.path.length-1,T=0;T<D;T++)typeof k[E.path[T]]=="undefined"&&(k[E.path[T]]={}),k=k[E.path[T]];switch(E.kind){case"A":P(k[E.path[T]],E.index,E.item);break;case"D":k[E.path[T]]=E.lhs;break;case"E":k[E.path[T]]=E.lhs;break;case"N":delete k[E.path[T]]}}}function m(x,C,E){if(x&&C){var T=function(D){E&&!E(x,C,D)||O(x,C,D)};g(x,C,T)}}function c(x){return"color: "+q[x].color+"; font-weight: bold"}function f(x){var C=x.kind,E=x.path,T=x.lhs,D=x.rhs,k=x.index,j=x.item;switch(C){case"E":return[E.join("."),T,"\u2192",D];case"N":return[E.join("."),D];case"D":return[E.join(".")];case"A":return[E.join(".")+"["+k+"]",j];default:return[]}}function v(x,C,E,T){var D=y(x,C);try{T?E.groupCollapsed("diff"):E.group("diff")}catch{E.log("diff")}D?D.forEach(function(k){var j=k.kind,z=f(k);E.log.apply(E,["%c "+q[j].text,c(j)].concat(ae(z)))}):E.log("\u2014\u2014 no diff \u2014\u2014");try{E.groupEnd()}catch{E.log("\u2014\u2014 diff end \u2014\u2014 ")}}function b(x,C,E,T){switch(typeof x=="undefined"?"undefined":V(x)){case"object":return typeof x[T]=="function"?x[T].apply(x,ae(E)):x[T];case"function":return x(C);default:return x}}function I(x){var C=x.timestamp,E=x.duration;return function(T,D,k){var j=["action"];return j.push("%c"+String(T.type)),C&&j.push("%c@ "+D),E&&j.push("%c(in "+k.toFixed(2)+" ms)"),j.join(" ")}}function R(x,C){var E=C.logger,T=C.actionTransformer,D=C.titleFormatter,k=D===void 0?I(C):D,j=C.collapsed,z=C.colors,F=C.level,W=C.diff,G=typeof C.titleFormatter=="undefined";x.forEach(function(Q,re){var K=Q.started,de=Q.startedTime,se=Q.action,te=Q.prevState,ye=Q.error,xe=Q.took,Ee=Q.nextState,Fe=x[re+1];Fe&&(Ee=Fe.prevState,xe=Fe.started-K);var we=T(se),Tt=typeof j=="function"?j(function(){return Ee},se,Q):j,bt=U(de),an=z.title?"color: "+z.title(we)+";":"",st=["color: gray; font-weight: lighter;"];st.push(an),C.timestamp&&st.push("color: gray; font-weight: lighter;"),C.duration&&st.push("color: gray; font-weight: lighter;");var rt=k(we,bt,xe);try{Tt?z.title&&G?E.groupCollapsed.apply(E,["%c "+rt].concat(st)):E.groupCollapsed(rt):z.title&&G?E.group.apply(E,["%c "+rt].concat(st)):E.group(rt)}catch{E.log(rt)}var qe=b(F,we,[te],"prevState"),We=b(F,we,[we],"action"),wt=b(F,we,[ye,te],"error"),$t=b(F,we,[Ee],"nextState");if(qe)if(z.prevState){var J4="color: "+z.prevState(te)+"; font-weight: bold";E[qe]("%c prev state",J4,te)}else E[qe]("prev state",te);if(We)if(z.action){var Z4="color: "+z.action(we)+"; font-weight: bold";E[We]("%c action ",Z4,we)}else E[We]("action ",we);if(ye&&wt)if(z.error){var e5="color: "+z.error(ye,te)+"; font-weight: bold;";E[wt]("%c error ",e5,ye)}else E[wt]("error ",ye);if($t)if(z.nextState){var t5="color: "+z.nextState(Ee)+"; font-weight: bold";E[$t]("%c next state",t5,Ee)}else E[$t]("next state",Ee);W&&v(te,Ee,E,Tt);try{E.groupEnd()}catch{E.log("\u2014\u2014 log end \u2014\u2014")}})}function _(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=Object.assign({},ce,x),E=C.logger,T=C.stateTransformer,D=C.errorTransformer,k=C.predicate,j=C.logErrors,z=C.diffPredicate;if(typeof E=="undefined")return function(){return function(W){return function(G){return W(G)}}};if(x.getState&&x.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
|
|
47
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],i=0;i<arguments.length;i++){var a=arguments[i];if(!!a){var o=typeof a;if(o==="string"||o==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var s=r.apply(null,a);s&&n.push(s)}}else if(o==="object")if(a.toString===Object.prototype.toString)for(var l in a)t.call(a,l)&&a[l]&&n.push(l);else n.push(a.toString())}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Bs);var He=Bs.exports;function Ke(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function lt(e){return!!e&&!!e[me]}function ft(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var r=Object.getPrototypeOf(t);if(r===null)return!0;var n=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Lh}(e)||Array.isArray(e)||!!e[eu]||!!e.constructor[eu]||Pi(e)||xi(e))}function _t(e,t,r){r===void 0&&(r=!1),Dt(e)===0?(r?Object.keys:Lt)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Dt(e){var t=e[me];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Pi(e)?2:xi(e)?3:0}function Ft(e,t){return Dt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Mh(e,t){return Dt(e)===2?e.get(t):e[t]}function Ks(e,t,r){var n=Dt(e);n===2?e.set(t,r):n===3?(e.delete(t),e.add(r)):e[t]=r}function Gs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Pi(e){return Dh&&e instanceof Map}function xi(e){return Fh&&e instanceof Set}function Ot(e){return e.o||e.t}function Ii(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=tu(e);delete t[me];for(var r=Lt(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Si(e,t){return t===void 0&&(t=!1),Ei(e)||lt(e)||!ft(e)||(Dt(e)>1&&(e.set=e.add=e.clear=e.delete=Rh),Object.freeze(e),t&&_t(e,function(r,n){return Si(n,!0)},!0)),e}function Rh(){Ke(2)}function Ei(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Xe(e){var t=Fi[e];return t||Ke(18,e),t}function Ah(e,t){Fi[e]||(Fi[e]=t)}function Ci(){return fr}function Mi(e,t){t&&(Xe("Patches"),e.u=[],e.s=[],e.v=t)}function wn(e){Ri(e),e.p.forEach(Th),e.p=null}function Ri(e){e===fr&&(fr=e.l)}function ks(e){return fr={p:[],l:fr,h:e,m:!0,_:0}}function Th(e){var t=e[me];t.i===0||t.i===1?t.j():t.O=!0}function Ai(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.g||Xe("ES5").S(t,e,n),n?(r[me].P&&(wn(t),Ke(4)),ft(e)&&(e=_n(t,e),t.l||On(t,e)),t.u&&Xe("Patches").M(r[me].t,e,t.u,t.s)):e=_n(t,r,[]),wn(t),t.u&&t.v(t.u,t.s),e!==Zs?e:void 0}function _n(e,t,r){if(Ei(t))return t;var n=t[me];if(!n)return _t(t,function(a,o){return Qs(e,n,t,a,o,r)},!0),t;if(n.A!==e)return t;if(!n.P)return On(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ii(n.k):n.o;_t(n.i===3?new Set(i):i,function(a,o){return Qs(e,n,i,a,o,r)}),On(e,i,!1),r&&e.u&&Xe("Patches").R(n,r,e.u,e.s)}return n.o}function Qs(e,t,r,n,i,a){if(lt(i)){var o=_n(e,i,a&&t&&t.i!==3&&!Ft(t.D,n)?a.concat(n):void 0);if(Ks(r,n,o),!lt(o))return;e.m=!1}if(ft(i)&&!Ei(i)){if(!e.h.F&&e._<1)return;_n(e,i),t&&t.A.l||On(e,i)}}function On(e,t,r){r===void 0&&(r=!1),e.h.F&&e.m&&Si(t,r)}function Ti(e,t){var r=e[me];return(r?Ot(r):e)[t]}function qs(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function dt(e){e.P||(e.P=!0,e.l&&dt(e.l))}function $i(e){e.o||(e.o=Ii(e.t))}function Ni(e,t,r){var n=Pi(t)?Xe("MapSet").N(t,r):xi(t)?Xe("MapSet").T(t,r):e.g?function(i,a){var o=Array.isArray(i),s={i:o?1:0,A:a?a.A:Ci(),P:!1,I:!1,D:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=s,u=dr;o&&(l=[s],u=hr);var h=Proxy.revocable(l,u),g=h.revoke,y=h.proxy;return s.k=y,s.j=g,y}(t,r):Xe("ES5").J(t,r);return(r?r.A:Ci()).p.push(n),n}function $h(e){return lt(e)||Ke(22,e),function t(r){if(!ft(r))return r;var n,i=r[me],a=Dt(r);if(i){if(!i.P&&(i.i<4||!Xe("ES5").K(i)))return i.t;i.I=!0,n=Xs(r,a),i.I=!1}else n=Xs(r,a);return _t(n,function(o,s){i&&Mh(i.t,o)===s||Ks(n,o,t(s))}),a===3?new Set(n):n}(e)}function Xs(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ii(e)}function Nh(){function e(a,o){var s=i[a];return s?s.enumerable=o:i[a]=s={configurable:!0,enumerable:o,get:function(){var l=this[me];return dr.get(l,a)},set:function(l){var u=this[me];dr.set(u,a,l)}},s}function t(a){for(var o=a.length-1;o>=0;o--){var s=a[o][me];if(!s.P)switch(s.i){case 5:n(s)&&dt(s);break;case 4:r(s)&&dt(s)}}}function r(a){for(var o=a.t,s=a.k,l=Lt(s),u=l.length-1;u>=0;u--){var h=l[u];if(h!==me){var g=o[h];if(g===void 0&&!Ft(o,h))return!0;var y=s[h],P=y&&y[me];if(P?P.t!==g:!Gs(y,g))return!0}}var w=!!o[me];return l.length!==Lt(o).length+(w?0:1)}function n(a){var o=a.k;if(o.length!==a.t.length)return!0;var s=Object.getOwnPropertyDescriptor(o,o.length-1);if(s&&!s.get)return!0;for(var l=0;l<o.length;l++)if(!o.hasOwnProperty(l))return!0;return!1}var i={};Ah("ES5",{J:function(a,o){var s=Array.isArray(a),l=function(h,g){if(h){for(var y=Array(g.length),P=0;P<g.length;P++)Object.defineProperty(y,""+P,e(P,!0));return y}var w=tu(g);delete w[me];for(var O=Lt(w),d=0;d<O.length;d++){var m=O[d];w[m]=e(m,h||!!w[m].enumerable)}return Object.create(Object.getPrototypeOf(g),w)}(s,a),u={i:s?5:4,A:o?o.A:Ci(),P:!1,I:!1,D:{},l:o,t:a,k:l,o:null,O:!1,C:!1};return Object.defineProperty(l,me,{value:u,writable:!0}),l},S:function(a,o,s){s?lt(o)&&o[me].A===a&&t(a.p):(a.u&&function l(u){if(u&&typeof u=="object"){var h=u[me];if(h){var g=h.t,y=h.k,P=h.D,w=h.i;if(w===4)_t(y,function(f){f!==me&&(g[f]!==void 0||Ft(g,f)?P[f]||l(y[f]):(P[f]=!0,dt(h)))}),_t(g,function(f){y[f]!==void 0||Ft(y,f)||(P[f]=!1,dt(h))});else if(w===5){if(n(h)&&(dt(h),P.length=!0),y.length<g.length)for(var O=y.length;O<g.length;O++)P[O]=!1;else for(var d=g.length;d<y.length;d++)P[d]=!0;for(var m=Math.min(y.length,g.length),c=0;c<m;c++)y.hasOwnProperty(c)||(P[c]=!0),P[c]===void 0&&l(y[c])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var Ys,fr,Di=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",Dh=typeof Map!="undefined",Fh=typeof Set!="undefined",Js=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",Zs=Di?Symbol.for("immer-nothing"):((Ys={})["immer-nothing"]=!0,Ys),eu=Di?Symbol.for("immer-draftable"):"__$immer_draftable",me=Di?Symbol.for("immer-state"):"__$immer_state",Lh=""+Object.prototype.constructor,Lt=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,tu=Object.getOwnPropertyDescriptors||function(e){var t={};return Lt(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Fi={},dr={get:function(e,t){if(t===me)return e;var r=Ot(e);if(!Ft(r,t))return function(i,a,o){var s,l=qs(a,o);return l?"value"in l?l.value:(s=l.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!ft(n)?n:n===Ti(e.t,t)?($i(e),e.o[t]=Ni(e.A.h,n,e)):n},has:function(e,t){return t in Ot(e)},ownKeys:function(e){return Reflect.ownKeys(Ot(e))},set:function(e,t,r){var n=qs(Ot(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Ti(Ot(e),t),a=i==null?void 0:i[me];if(a&&a.t===r)return e.o[t]=r,e.D[t]=!1,!0;if(Gs(r,i)&&(r!==void 0||Ft(e.t,t)))return!0;$i(e),dt(e)}return e.o[t]===r&&typeof r!="number"&&(r!==void 0||t in e.o)||(e.o[t]=r,e.D[t]=!0,!0)},deleteProperty:function(e,t){return Ti(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,$i(e),dt(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=Ot(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ke(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ke(12)}},hr={};_t(dr,function(e,t){hr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),hr.deleteProperty=function(e,t){return hr.set.call(this,e,t,void 0)},hr.set=function(e,t,r){return dr.set.call(this,e[0],t,r,e[0])};var jh=function(){function e(r){var n=this;this.g=Js,this.F=!0,this.produce=function(i,a,o){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var l=n;return function(O){var d=this;O===void 0&&(O=s);for(var m=arguments.length,c=Array(m>1?m-1:0),f=1;f<m;f++)c[f-1]=arguments[f];return l.produce(O,function(v){var b;return(b=a).call.apply(b,[d,v].concat(c))})}}var u;if(typeof a!="function"&&Ke(6),o!==void 0&&typeof o!="function"&&Ke(7),ft(i)){var h=ks(n),g=Ni(n,i,void 0),y=!0;try{u=a(g),y=!1}finally{y?wn(h):Ri(h)}return typeof Promise!="undefined"&&u instanceof Promise?u.then(function(O){return Mi(h,o),Ai(O,h)},function(O){throw wn(h),O}):(Mi(h,o),Ai(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===Zs&&(u=void 0),n.F&&Si(u,!0),o){var P=[],w=[];Xe("Patches").M(i,u,P,w),o(P,w)}return u}Ke(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,g=Array(h>1?h-1:0),y=1;y<h;y++)g[y-1]=arguments[y];return n.produceWithPatches(u,function(P){return i.apply(void 0,[P].concat(g))})};var o,s,l=n.produce(i,a,function(u,h){o=u,s=h});return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(u){return[u,o,s]}):[l,o,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){ft(r)||Ke(8),lt(r)&&(r=$h(r));var n=ks(this),i=Ni(this,r,void 0);return i[me].C=!0,Ri(n),i},t.finishDraft=function(r,n){var i=r&&r[me],a=i.A;return Mi(a,n),Ai(void 0,a)},t.setAutoFreeze=function(r){this.F=r},t.setUseProxies=function(r){r&&!Js&&Ke(20),this.g=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var o=Xe("Patches").$;return lt(r)?o(r,n):this.produce(r,function(s){return o(s,n)})},e}(),je=new jh,Wh=je.produce;je.produceWithPatches.bind(je),je.setAutoFreeze.bind(je),je.setUseProxies.bind(je),je.applyPatches.bind(je),je.createDraft.bind(je),je.finishDraft.bind(je);var Pn=Wh;function Hh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ru(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function nu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ru(Object(r),!0).forEach(function(n){Hh(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ru(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Me(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 iu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Li=function(){return Math.random().toString(36).substring(7).split("").join(".")},xn={INIT:"@@redux/INIT"+Li(),REPLACE:"@@redux/REPLACE"+Li(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Li()}};function Vh(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function au(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Me(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(Me(1));return r(au)(e,t)}if(typeof e!="function")throw new Error(Me(2));var i=e,a=t,o=[],s=o,l=!1;function u(){s===o&&(s=o.slice())}function h(){if(l)throw new Error(Me(3));return a}function g(O){if(typeof O!="function")throw new Error(Me(4));if(l)throw new Error(Me(5));var d=!0;return u(),s.push(O),function(){if(!!d){if(l)throw new Error(Me(6));d=!1,u();var c=s.indexOf(O);s.splice(c,1),o=null}}}function y(O){if(!Vh(O))throw new Error(Me(7));if(typeof O.type=="undefined")throw new Error(Me(8));if(l)throw new Error(Me(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var d=o=s,m=0;m<d.length;m++){var c=d[m];c()}return O}function P(O){if(typeof O!="function")throw new Error(Me(10));i=O,y({type:xn.REPLACE})}function w(){var O,d=g;return O={subscribe:function(c){if(typeof c!="object"||c===null)throw new Error(Me(11));function f(){c.next&&c.next(h())}f();var v=d(f);return{unsubscribe:v}}},O[iu]=function(){return this},O}return y({type:xn.INIT}),n={dispatch:y,subscribe:g,getState:h,replaceReducer:P},n[iu]=w,n}function zh(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:xn.INIT});if(typeof n=="undefined")throw new Error(Me(12));if(typeof r(void 0,{type:xn.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(Me(13))})}function Uh(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{zh(r)}catch(s){o=s}return function(l,u){if(l===void 0&&(l={}),o)throw o;for(var h=!1,g={},y=0;y<a.length;y++){var P=a[y],w=r[P],O=l[P],d=w(O,u);if(typeof d=="undefined")throw u&&u.type,new Error(Me(14));g[P]=d,h=h||d!==O}return h=h||a.length!==Object.keys(l).length,h?g:l}}function In(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Bh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Me(15))},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=t.map(function(l){return l(o)});return a=In.apply(void 0,s)(i.dispatch),nu(nu({},i),{},{dispatch:a})}}}function ou(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(o){return function(s){return typeof s=="function"?s(i,a,e):o(s)}}};return t}var su=ou();su.withExtraArgument=ou;var uu=su,Kh=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();globalThis&&globalThis.__generator;var Sn=globalThis&&globalThis.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Gh=Object.defineProperty,cu=Object.getOwnPropertySymbols,kh=Object.prototype.hasOwnProperty,Qh=Object.prototype.propertyIsEnumerable,lu=function(e,t,r){return t in e?Gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},pr=function(e,t){for(var r in t||(t={}))kh.call(t,r)&&lu(e,r,t[r]);if(cu)for(var n=0,i=cu(t);n<i.length;n++){var r=i[n];Qh.call(t,r)&&lu(e,r,t[r])}return e},qh=typeof window!="undefined"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?In:In.apply(null,arguments)};function Xh(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Yh=function(e){Kh(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,Sn([void 0],r[0].concat(this)))):new(t.bind.apply(t,Sn([void 0],r.concat(this))))},t}(Array);function Jh(e){return typeof e=="boolean"}function Zh(){return function(t){return ep(t)}}function ep(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t;e.immutableCheck,e.serializableCheck;var n=new Yh;return r&&(Jh(r)?n.push(uu):n.push(uu.withExtraArgument(r.extraArgument))),n}var tp=!0;function rp(e){var t=Zh(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,o=a===void 0?t():a,s=r.devTools,l=s===void 0?!0:s,u=r.preloadedState,h=u===void 0?void 0:u,g=r.enhancers,y=g===void 0?void 0:g,P;if(typeof i=="function")P=i;else if(Xh(i))P=Uh(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var w=o;typeof w=="function"&&(w=w(t));var O=Bh.apply(void 0,w),d=In;l&&(d=qh(pr({trace:!tp},typeof l=="object"&&l)));var m=[O];Array.isArray(y)?m=Sn([O],y):typeof y=="function"&&(m=y(m));var c=d.apply(void 0,m);return au(P,h,c)}function gr(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return pr(pr({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function fu(e){var t={},r=[],n,i={addCase:function(a,o){var s=typeof a=="string"?a:a.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=o,i},addMatcher:function(a,o){return r.push({matcher:a,reducer:o}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function np(e){return typeof e=="function"}function ip(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?fu(t):[t,r,n],a=i[0],o=i[1],s=i[2],l;if(np(e))l=function(){return Pn(e(),function(){})};else{var u=Pn(e,function(){});l=function(){return u}}function h(g,y){g===void 0&&(g=l());var P=Sn([a[y.type]],o.filter(function(w){var O=w.matcher;return O(y)}).map(function(w){var O=w.reducer;return O}));return P.filter(function(w){return!!w}).length===0&&(P=[s]),P.reduce(function(w,O){if(O)if(lt(w)){var d=w,m=O(d,y);return typeof m=="undefined"?w:m}else{if(ft(w))return Pn(w,function(c){return O(c,y)});var m=O(w,y);if(typeof m=="undefined"){if(w===null)return w;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}return w},g)}return h.getInitialState=l,h}function ap(e,t){return e+"/"+t}function Pt(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r=typeof e.initialState=="function"?e.initialState:Pn(e.initialState,function(){}),n=e.reducers||{},i=Object.keys(n),a={},o={},s={};i.forEach(function(h){var g=n[h],y=ap(t,h),P,w;"reducer"in g?(P=g.reducer,w=g.prepare):P=g,a[h]=P,o[y]=P,s[h]=w?gr(y,w):gr(y)});function l(){var h=typeof e.extraReducers=="function"?fu(e.extraReducers):[e.extraReducers],g=h[0],y=g===void 0?{}:g,P=h[1],w=P===void 0?[]:P,O=h[2],d=O===void 0?void 0:O,m=pr(pr({},y),o);return ip(r,m,w,d)}var u;return{name:t,reducer:function(h,g){return u||(u=l()),u(h,g)},actions:s,caseReducers:a,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var ji="listenerMiddleware";gr(ji+"/add"),gr(ji+"/removeAll"),gr(ji+"/remove"),Nh();const du=Pt({name:"menuItems",initialState:{items:[],selectedItem:null},reducers:{setMenuItems:(e,t)=>fe(ne({},e),{items:t.payload}),setSelectedItem:(e,t)=>fe(ne({},e),{selectedItem:t.payload})}}),{setMenuItems:op,setSelectedItem:En}=du.actions;var sp=du.reducer;const hu=Pt({name:"titleBar",initialState:{},reducers:{setTitleBar:(e,t)=>t.payload}}),{setTitleBar:up}=hu.actions;var cp=hu.reducer;const pu=Pt({name:"userInfo",initialState:{userId:0,username:"",hotelId:0,guideId:0,hotelGroupId:0,group:""},reducers:{setUserInfo:(e,t)=>t.payload}}),{setUserInfo:lp}=pu.actions;var fp=pu.reducer;const gu=Pt({name:"headerInfo",initialState:{isOpen:!1,isMobileOrTablet:!1,subMenus:[],i18nFeed:null},reducers:{setIsOpen:(e,t)=>fe(ne({},e),{isOpen:t.payload}),setIsMobileOrTablet:(e,t)=>fe(ne({},e),{isMobileOrTablet:t.payload<=992}),setSubMenus:(e,t)=>(e.subMenus=t.payload||[],e),addSubMenu:(e,t)=>{const r=e.subMenus.indexOf(t.payload);return r>-1&&e.subMenus.splice(r,1),e.subMenus.unshift(t.payload),e},removeSubMenu:(e,t)=>{const r=e.subMenus.indexOf(t.payload);return r>-1&&e.subMenus.splice(r,1),e},setI18nFeed:(e,t)=>fe(ne({},e),{i18nFeed:t.payload})}}),{setIsOpen:dp,setIsMobileOrTablet:hp,addSubMenu:xt,removeSubMenu:Wi,setSubMenus:pp,setI18nFeed:gp}=gu.actions;var vp=gu.reducer;const vu=Pt({name:"userLanguage",initialState:"en",reducers:{setUserLanguage:(e,t)=>t.payload}}),{setUserLanguage:mu}=vu.actions;var mp=vu.reducer,yu={exports:{}};(function(e,t){(function(r,n){n(t)})(nt,function(r){function n(x,C){x.super_=C,x.prototype=Object.create(C.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}})}function i(x,C){Object.defineProperty(this,"kind",{value:x,enumerable:!0}),C&&C.length&&Object.defineProperty(this,"path",{value:C,enumerable:!0})}function a(x,C,E){a.super_.call(this,"E",x),Object.defineProperty(this,"lhs",{value:C,enumerable:!0}),Object.defineProperty(this,"rhs",{value:E,enumerable:!0})}function o(x,C){o.super_.call(this,"N",x),Object.defineProperty(this,"rhs",{value:C,enumerable:!0})}function s(x,C){s.super_.call(this,"D",x),Object.defineProperty(this,"lhs",{value:C,enumerable:!0})}function l(x,C,E){l.super_.call(this,"A",x),Object.defineProperty(this,"index",{value:C,enumerable:!0}),Object.defineProperty(this,"item",{value:E,enumerable:!0})}function u(x,C,E){var T=x.slice((E||C)+1||x.length);return x.length=C<0?x.length+C:C,x.push.apply(x,T),x}function h(x){var C=typeof x=="undefined"?"undefined":V(x);return C!=="object"?C:x===Math?"math":x===null?"null":Array.isArray(x)?"array":Object.prototype.toString.call(x)==="[object Date]"?"date":typeof x.toString=="function"&&/^\/.*\//.test(x.toString())?"regexp":"object"}function g(x,C,E,T,D,k,j){D=D||[],j=j||[];var z=D.slice(0);if(typeof k!="undefined"){if(T){if(typeof T=="function"&&T(z,k))return;if((typeof T=="undefined"?"undefined":V(T))==="object"){if(T.prefilter&&T.prefilter(z,k))return;if(T.normalize){var F=T.normalize(z,k,x,C);F&&(x=F[0],C=F[1])}}}z.push(k)}h(x)==="regexp"&&h(C)==="regexp"&&(x=x.toString(),C=C.toString());var W=typeof x=="undefined"?"undefined":V(x),G=typeof C=="undefined"?"undefined":V(C),Q=W!=="undefined"||j&&j[j.length-1].lhs&&j[j.length-1].lhs.hasOwnProperty(k),re=G!=="undefined"||j&&j[j.length-1].rhs&&j[j.length-1].rhs.hasOwnProperty(k);if(!Q&&re)E(new o(z,C));else if(!re&&Q)E(new s(z,x));else if(h(x)!==h(C))E(new a(z,x,C));else if(h(x)==="date"&&x-C!==0)E(new a(z,x,C));else if(W==="object"&&x!==null&&C!==null)if(j.filter(function(te){return te.lhs===x}).length)x!==C&&E(new a(z,x,C));else{if(j.push({lhs:x,rhs:C}),Array.isArray(x)){var K;for(x.length,K=0;K<x.length;K++)K>=C.length?E(new l(z,K,new s(void 0,x[K]))):g(x[K],C[K],E,T,z,K,j);for(;K<C.length;)E(new l(z,K,new o(void 0,C[K++])))}else{var de=Object.keys(x),se=Object.keys(C);de.forEach(function(te,ye){var xe=se.indexOf(te);xe>=0?(g(x[te],C[te],E,T,z,te,j),se=u(se,xe)):g(x[te],void 0,E,T,z,te,j)}),se.forEach(function(te){g(void 0,C[te],E,T,z,te,j)})}j.length=j.length-1}else x!==C&&(W==="number"&&isNaN(x)&&isNaN(C)||E(new a(z,x,C)))}function y(x,C,E,T){return T=T||[],g(x,C,function(D){D&&T.push(D)},E),T.length?T:void 0}function P(x,C,E){if(E.path&&E.path.length){var T,D=x[C],k=E.path.length-1;for(T=0;T<k;T++)D=D[E.path[T]];switch(E.kind){case"A":P(D[E.path[T]],E.index,E.item);break;case"D":delete D[E.path[T]];break;case"E":case"N":D[E.path[T]]=E.rhs}}else switch(E.kind){case"A":P(x[C],E.index,E.item);break;case"D":x=u(x,C);break;case"E":case"N":x[C]=E.rhs}return x}function w(x,C,E){if(x&&C&&E&&E.kind){for(var T=x,D=-1,k=E.path?E.path.length-1:0;++D<k;)typeof T[E.path[D]]=="undefined"&&(T[E.path[D]]=typeof E.path[D]=="number"?[]:{}),T=T[E.path[D]];switch(E.kind){case"A":P(E.path?T[E.path[D]]:T,E.index,E.item);break;case"D":delete T[E.path[D]];break;case"E":case"N":T[E.path[D]]=E.rhs}}}function O(x,C,E){if(E.path&&E.path.length){var T,D=x[C],k=E.path.length-1;for(T=0;T<k;T++)D=D[E.path[T]];switch(E.kind){case"A":O(D[E.path[T]],E.index,E.item);break;case"D":D[E.path[T]]=E.lhs;break;case"E":D[E.path[T]]=E.lhs;break;case"N":delete D[E.path[T]]}}else switch(E.kind){case"A":O(x[C],E.index,E.item);break;case"D":x[C]=E.lhs;break;case"E":x[C]=E.lhs;break;case"N":x=u(x,C)}return x}function d(x,C,E){if(x&&C&&E&&E.kind){var T,D,k=x;for(D=E.path.length-1,T=0;T<D;T++)typeof k[E.path[T]]=="undefined"&&(k[E.path[T]]={}),k=k[E.path[T]];switch(E.kind){case"A":O(k[E.path[T]],E.index,E.item);break;case"D":k[E.path[T]]=E.lhs;break;case"E":k[E.path[T]]=E.lhs;break;case"N":delete k[E.path[T]]}}}function m(x,C,E){if(x&&C){var T=function(D){E&&!E(x,C,D)||w(x,C,D)};g(x,C,T)}}function c(x){return"color: "+q[x].color+"; font-weight: bold"}function f(x){var C=x.kind,E=x.path,T=x.lhs,D=x.rhs,k=x.index,j=x.item;switch(C){case"E":return[E.join("."),T,"\u2192",D];case"N":return[E.join("."),D];case"D":return[E.join(".")];case"A":return[E.join(".")+"["+k+"]",j];default:return[]}}function v(x,C,E,T){var D=y(x,C);try{T?E.groupCollapsed("diff"):E.group("diff")}catch{E.log("diff")}D?D.forEach(function(k){var j=k.kind,z=f(k);E.log.apply(E,["%c "+q[j].text,c(j)].concat(ae(z)))}):E.log("\u2014\u2014 no diff \u2014\u2014");try{E.groupEnd()}catch{E.log("\u2014\u2014 diff end \u2014\u2014 ")}}function b(x,C,E,T){switch(typeof x=="undefined"?"undefined":V(x)){case"object":return typeof x[T]=="function"?x[T].apply(x,ae(E)):x[T];case"function":return x(C);default:return x}}function I(x){var C=x.timestamp,E=x.duration;return function(T,D,k){var j=["action"];return j.push("%c"+String(T.type)),C&&j.push("%c@ "+D),E&&j.push("%c(in "+k.toFixed(2)+" ms)"),j.join(" ")}}function R(x,C){var E=C.logger,T=C.actionTransformer,D=C.titleFormatter,k=D===void 0?I(C):D,j=C.collapsed,z=C.colors,F=C.level,W=C.diff,G=typeof C.titleFormatter=="undefined";x.forEach(function(Q,re){var K=Q.started,de=Q.startedTime,se=Q.action,te=Q.prevState,ye=Q.error,xe=Q.took,Ee=Q.nextState,Fe=x[re+1];Fe&&(Ee=Fe.prevState,xe=Fe.started-K);var we=T(se),Tt=typeof j=="function"?j(function(){return Ee},se,Q):j,bt=U(de),an=z.title?"color: "+z.title(we)+";":"",st=["color: gray; font-weight: lighter;"];st.push(an),C.timestamp&&st.push("color: gray; font-weight: lighter;"),C.duration&&st.push("color: gray; font-weight: lighter;");var rt=k(we,bt,xe);try{Tt?z.title&&G?E.groupCollapsed.apply(E,["%c "+rt].concat(st)):E.groupCollapsed(rt):z.title&&G?E.group.apply(E,["%c "+rt].concat(st)):E.group(rt)}catch{E.log(rt)}var qe=b(F,we,[te],"prevState"),We=b(F,we,[we],"action"),wt=b(F,we,[ye,te],"error"),$t=b(F,we,[Ee],"nextState");if(qe)if(z.prevState){var J4="color: "+z.prevState(te)+"; font-weight: bold";E[qe]("%c prev state",J4,te)}else E[qe]("prev state",te);if(We)if(z.action){var Z4="color: "+z.action(we)+"; font-weight: bold";E[We]("%c action ",Z4,we)}else E[We]("action ",we);if(ye&&wt)if(z.error){var e5="color: "+z.error(ye,te)+"; font-weight: bold;";E[wt]("%c error ",e5,ye)}else E[wt]("error ",ye);if($t)if(z.nextState){var t5="color: "+z.nextState(Ee)+"; font-weight: bold";E[$t]("%c next state",t5,Ee)}else E[$t]("next state",Ee);W&&v(te,Ee,E,Tt);try{E.groupEnd()}catch{E.log("\u2014\u2014 log end \u2014\u2014")}})}function _(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=Object.assign({},ce,x),E=C.logger,T=C.stateTransformer,D=C.errorTransformer,k=C.predicate,j=C.logErrors,z=C.diffPredicate;if(typeof E=="undefined")return function(){return function(W){return function(G){return W(G)}}};if(x.getState&&x.dispatch)return console.error(`[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:
|
|
48
48
|
// Logger with default options
|
|
49
49
|
import { logger } from 'redux-logger'
|
|
50
50
|
const store = createStore(
|
|
@@ -60,7 +60,7 @@ const store = createStore(
|
|
|
60
60
|
reducer,
|
|
61
61
|
applyMiddleware(logger)
|
|
62
62
|
)
|
|
63
|
-
`),function(){return function(W){return function(G){return W(G)}}};var F=[];return function(W){var G=W.getState;return function(Q){return function(re){if(typeof k=="function"&&!k(G,re))return Q(re);var K={};F.push(K),K.started=H.now(),K.startedTime=new Date,K.prevState=T(G()),K.action=re;var de=void 0;if(j)try{de=Q(re)}catch(te){K.error=D(te)}else de=Q(re);K.took=H.now()-K.started,K.nextState=T(G());var se=C.diff&&typeof z=="function"?z(G,re):C.diff;if(R(F,Object.assign({},C,{diff:se})),F.length=0,K.error)throw K.error;return de}}}}var L,A,B=function(x,C){return new Array(C+1).join(x)},
|
|
63
|
+
`),function(){return function(W){return function(G){return W(G)}}};var F=[];return function(W){var G=W.getState;return function(Q){return function(re){if(typeof k=="function"&&!k(G,re))return Q(re);var K={};F.push(K),K.started=H.now(),K.startedTime=new Date,K.prevState=T(G()),K.action=re;var de=void 0;if(j)try{de=Q(re)}catch(te){K.error=D(te)}else de=Q(re);K.took=H.now()-K.started,K.nextState=T(G());var se=C.diff&&typeof z=="function"?z(G,re):C.diff;if(R(F,Object.assign({},C,{diff:se})),F.length=0,K.error)throw K.error;return de}}}}var L,A,B=function(x,C){return new Array(C+1).join(x)},p=function(x,C){return B("0",C-x.toString().length)+x},U=function(x){return p(x.getHours(),2)+":"+p(x.getMinutes(),2)+":"+p(x.getSeconds(),2)+"."+p(x.getMilliseconds(),3)},H=typeof performance!="undefined"&&performance!==null&&typeof performance.now=="function"?performance:Date,V=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},ae=function(x){if(Array.isArray(x)){for(var C=0,E=Array(x.length);C<x.length;C++)E[C]=x[C];return E}return Array.from(x)},oe=[];L=(typeof nt=="undefined"?"undefined":V(nt))==="object"&&nt?nt:typeof window!="undefined"?window:{},A=L.DeepDiff,A&&oe.push(function(){typeof A!="undefined"&&L.DeepDiff===y&&(L.DeepDiff=A,A=void 0)}),n(a,i),n(o,i),n(s,i),n(l,i),Object.defineProperties(y,{diff:{value:y,enumerable:!0},observableDiff:{value:g,enumerable:!0},applyDiff:{value:m,enumerable:!0},applyChange:{value:w,enumerable:!0},revertChange:{value:d,enumerable:!0},isConflict:{value:function(){return typeof A!="undefined"},enumerable:!0},noConflict:{value:function(){return oe&&(oe.forEach(function(x){x()}),oe=null),y},enumerable:!0}});var q={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},ce={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(x){return x},actionTransformer:function(x){return x},errorTransformer:function(x){return x},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},ee=function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=x.dispatch,E=x.getState;return typeof C=="function"||typeof E=="function"?_()({dispatch:C,getState:E}):void console.error(`
|
|
64
64
|
[redux-logger v3] BREAKING CHANGE
|
|
65
65
|
[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.
|
|
66
66
|
[redux-logger v3] Change
|
|
@@ -80,7 +80,7 @@ const store = createStore(
|
|
|
80
80
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
81
81
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
82
82
|
PERFORMANCE OF THIS SOFTWARE.
|
|
83
|
-
***************************************************************************** */function Pu(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(h){try{u(n.next(h))}catch(g){o(g)}}function l(h){try{u(n.throw(h))}catch(g){o(g)}}function u(h){h.done?a(h.value):i(h.value).then(s,l)}u((n=n.apply(e,t||[])).next())})}function xu(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var Ye=function(){},Re=Ye(),vr=Object,Ae=function(e){return e===Re},It=function(e){return typeof e=="function"},it=function(e,t){return vr.assign({},e,t)},Hi="undefined",Vi=function(){return typeof window!=Hi},Sp=function(){return typeof document!=Hi},Ep=function(){return Vi()&&typeof window.requestAnimationFrame!=Hi},Cn=new WeakMap,Cp=0,mr=function(e){var t=typeof e,r=e&&e.constructor,n=r==Date,i,a;if(vr(e)===e&&!n&&r!=RegExp){if(i=Cn.get(e),i)return i;if(i=++Cp+"~",Cn.set(e,i),r==Array){for(i="@",a=0;a<e.length;a++)i+=mr(e[a])+",";Cn.set(e,i)}if(r==vr){i="#";for(var o=vr.keys(e).sort();!Ae(a=o.pop());)Ae(e[a])||(i+=a+":"+mr(e[a])+",");Cn.set(e,i)}}else i=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return i},zi=!0,Mp=function(){return zi},Iu=Vi(),Ui=Sp(),Bi=Iu&&window.addEventListener?window.addEventListener.bind(window):Ye,Rp=Ui?document.addEventListener.bind(document):Ye,Ki=Iu&&window.removeEventListener?window.removeEventListener.bind(window):Ye,Ap=Ui?document.removeEventListener.bind(document):Ye,Tp=function(){var e=Ui&&document.visibilityState;return Ae(e)||e!=="hidden"},$p=function(e){return Rp("visibilitychange",e),Bi("focus",e),function(){Ap("visibilitychange",e),Ki("focus",e)}},Np=function(e){var t=function(){zi=!0,e()},r=function(){zi=!1};return Bi("online",t),Bi("offline",r),function(){Ki("online",t),Ki("offline",r)}},Dp={isOnline:Mp,isVisible:Tp},Fp={initFocus:$p,initReconnect:Np},Mn=!Vi()||"Deno"in window,Lp=function(e){return Ep()?window.requestAnimationFrame(e):setTimeout(e,1)},yr=Mn?S.useEffect:S.useLayoutEffect,Gi=typeof navigator!="undefined"&&navigator.connection,Su=!Mn&&Gi&&(["slow-2g","2g"].includes(Gi.effectiveType)||Gi.saveData),Eu=function(e){if(It(e))try{e=e()}catch{e=""}var t=[].concat(e);e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?mr(e):"";var r=e?"$swr$"+e:"";return[e,t,r]},St=new WeakMap,Cu=0,Mu=1,Ru=2,br=function(e,t,r,n,i,a,o){o===void 0&&(o=!0);var s=St.get(e),l=s[0],u=s[1],h=s[3],g=l[t],y=u[t];if(o&&y)for(var w=0;w<y.length;++w)y[w](r,n,i);return a&&(delete h[t],g&&g[0])?g[0](Ru).then(function(){return e.get(t)}):e.get(t)},jp=0,ki=function(){return++jp},Au=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Pu(void 0,void 0,void 0,function(){var r,n,i,a,o,s,l,u,h,g,y,w,O,P,p,m,c,f,v,b;return xu(this,function(I){switch(I.label){case 0:if(r=e[0],n=e[1],i=e[2],a=e[3],o=typeof a=="boolean"?{revalidate:a}:a||{},s=Ae(o.populateCache)?!0:o.populateCache,l=o.revalidate!==!1,u=o.rollbackOnError!==!1,h=o.optimisticData,g=Eu(n),y=g[0],w=g[2],!y)return[2];if(O=St.get(r),P=O[2],e.length<3)return[2,br(r,y,r.get(y),Re,Re,l,!0)];if(p=i,c=ki(),P[y]=[c,0],f=!Ae(h),v=r.get(y),f&&(r.set(y,h),br(r,y,h)),It(p))try{p=p(r.get(y))}catch(R){m=R}return p&&It(p.then)?[4,p.catch(function(R){m=R})]:[3,2];case 1:if(p=I.sent(),c!==P[y][0]){if(m)throw m;return[2,p]}else m&&f&&u&&(s=!0,p=v,r.set(y,v));I.label=2;case 2:return s&&(m||(It(s)&&(p=s(p,v)),r.set(y,p)),r.set(w,it(r.get(w),{error:m}))),P[y][1]=ki(),[4,br(r,y,p,m,Re,l,!!s)];case 3:if(b=I.sent(),m)throw m;return[2,s?b:p]}})})},Tu=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},$u=function(e,t){if(!St.has(e)){var r=it(Fp,t),n={},i=Au.bind(Re,e),a=Ye;if(St.set(e,[n,{},{},{},i]),!Mn){var o=r.initFocus(setTimeout.bind(Re,Tu.bind(Re,n,Cu))),s=r.initReconnect(setTimeout.bind(Re,Tu.bind(Re,n,Mu)));a=function(){o&&o(),s&&s(),St.delete(e)}}return[e,i,a]}return[e,St.get(e)[4]]},Wp=function(e,t,r,n,i){var a=r.errorRetryCount,o=i.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;!Ae(a)&&o>a||setTimeout(n,s,i)},Nu=$u(new Map),Du=Nu[0],Hp=Nu[1],Fu=it({onLoadingSlow:Ye,onSuccess:Ye,onError:Ye,onErrorRetry:Wp,onDiscarded:Ye,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Su?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Su?5e3:3e3,compare:function(e,t){return mr(e)==mr(t)},isPaused:function(){return!1},cache:Du,mutate:Hp,fallback:{}},Dp),Lu=function(e,t){var r=it(e,t);if(t){var n=e.use,i=e.fallback,a=t.use,o=t.fallback;n&&a&&(r.use=n.concat(a)),i&&o&&(r.fallback=it(i,o))}return r},Qi=S.createContext({}),Vp=function(e){var t=e.value,r=Lu(S.useContext(Qi),t),n=t&&t.provider,i=S.useState(function(){return n?$u(n(r.cache||Du),t):Re})[0];return i&&(r.cache=i[0],r.mutate=i[1]),yr(function(){return i?i[2]:Re},[]),S.createElement(Qi.Provider,it(e,{value:r}))},zp=function(e,t){var r=S.useState({})[1],n=S.useRef(e),i=S.useRef({data:!1,error:!1,isValidating:!1}),a=S.useCallback(function(o){var s=!1,l=n.current;for(var u in o){var h=u;l[h]!==o[h]&&(l[h]=o[h],i.current[h]&&(s=!0))}s&&!t.current&&r({})},[]);return yr(function(){n.current=e}),[n,i.current,a]},Up=function(e){return It(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}]},Bp=function(){return it(Fu,S.useContext(Qi))},Kp=function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=Bp(),a=Up(r),o=a[0],s=a[1],l=a[2],u=Lu(i,l),h=e,g=u.use;if(g)for(var y=g.length;y-- >0;)h=g[y](h);return h(o,s||u.fetcher,u)}},ju=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var i=n.indexOf(r);i>=0&&(n[i]=n[n.length-1],n.pop())}},qi={dedupe:!0},Gp=function(e,t,r){var n=r.cache,i=r.compare,a=r.fallbackData,o=r.suspense,s=r.revalidateOnMount,l=r.refreshInterval,u=r.refreshWhenHidden,h=r.refreshWhenOffline,g=St.get(n),y=g[0],w=g[1],O=g[2],P=g[3],p=Eu(e),m=p[0],c=p[1],f=p[2],v=S.useRef(!1),b=S.useRef(!1),I=S.useRef(m),R=S.useRef(t),_=S.useRef(r),L=function(){return _.current},A=function(){return L().isVisible()&&L().isOnline()},B=function(j){return n.set(f,it(n.get(f),j))},d=n.get(m),U=Ae(a)?r.fallback[m]:a,H=Ae(d)?U:d,V=n.get(f)||{},ae=V.error,oe=!v.current,q=function(){return oe&&!Ae(s)?s:L().isPaused()?!1:o?!Ae(H):Ae(H)||r.revalidateIfStale},ce=function(){return!m||!t?!1:V.isValidating?!0:oe&&q()},ee=ce(),x=zp({data:H,error:ae,isValidating:ee},b),C=x[0],E=x[1],T=x[2],D=S.useCallback(function(j){return Pu(void 0,void 0,void 0,function(){var z,F,W,G,Q,re,K,de,se,te,ye,xe,Ee;return xu(this,function(Fe){switch(Fe.label){case 0:if(z=R.current,!m||!z||b.current||L().isPaused())return[2,!1];G=!0,Q=j||{},re=!P[m]||!Q.dedupe,K=function(){return!b.current&&m===I.current&&v.current},de=function(){var we=P[m];we&&we[1]===W&&delete P[m]},se={isValidating:!1},te=function(){B({isValidating:!1}),K()&&T(se)},B({isValidating:!0}),T({isValidating:!0}),Fe.label=1;case 1:return Fe.trys.push([1,3,,4]),re&&(br(n,m,C.current.data,C.current.error,!0),r.loadingTimeout&&!n.get(m)&&setTimeout(function(){G&&K()&&L().onLoadingSlow(m,r)},r.loadingTimeout),P[m]=[z.apply(void 0,c),ki()]),Ee=P[m],F=Ee[0],W=Ee[1],[4,F];case 2:return F=Fe.sent(),re&&setTimeout(de,r.dedupingInterval),!P[m]||P[m][1]!==W?(re&&K()&&L().onDiscarded(m),[2,!1]):(B({error:Re}),se.error=Re,ye=O[m],!Ae(ye)&&(W<=ye[0]||W<=ye[1]||ye[1]===0)?(te(),re&&K()&&L().onDiscarded(m),[2,!1]):(i(C.current.data,F)?se.data=C.current.data:se.data=F,i(n.get(m),F)||n.set(m,F),re&&K()&&L().onSuccess(F,m,r),[3,4]));case 3:return xe=Fe.sent(),de(),L().isPaused()||(B({error:xe}),se.error=xe,re&&K()&&(L().onError(xe,m,r),(typeof r.shouldRetryOnError=="boolean"&&r.shouldRetryOnError||It(r.shouldRetryOnError)&&r.shouldRetryOnError(xe))&&A()&&L().onErrorRetry(xe,m,r,D,{retryCount:(Q.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return G=!1,te(),K()&&re&&br(n,m,se.data,se.error,!1),[2,!0]}})})},[m]),k=S.useCallback(Au.bind(Re,n,function(){return I.current}),[]);if(yr(function(){R.current=t,_.current=r}),yr(function(){if(!!m){var j=m!==I.current,z=D.bind(Re,qi),F=function(K,de,se){T(it({error:de,isValidating:se},i(C.current.data,K)?Re:{data:K}))},W=0,G=function(K){if(K==Cu){var de=Date.now();L().revalidateOnFocus&&de>W&&A()&&(W=de+L().focusThrottleInterval,z())}else if(K==Mu)L().revalidateOnReconnect&&A()&&z();else if(K==Ru)return D()},Q=ju(m,w,F),re=ju(m,y,G);return b.current=!1,I.current=m,v.current=!0,j&&T({data:H,error:ae,isValidating:ee}),q()&&(Ae(H)||Mn?z():Lp(z)),function(){b.current=!0,Q(),re()}}},[m,D]),yr(function(){var j;function z(){var W=It(l)?l(H):l;W&&j!==-1&&(j=setTimeout(F,W))}function F(){!C.current.error&&(u||L().isVisible())&&(h||L().isOnline())?D(qi).then(z):z()}return z(),function(){j&&(clearTimeout(j),j=-1)}},[l,u,h,D]),S.useDebugValue(H),o&&Ae(H)&&m)throw R.current=t,_.current=r,b.current=!1,Ae(ae)?D(qi):ae;return{mutate:k,get data(){return E.data=!0,H},get error(){return E.error=!0,ae},get isValidating(){return E.isValidating=!0,ee}}};vr.defineProperty(Vp,"default",{value:Fu});var kp=Kp(Gp);/*! *****************************************************************************
|
|
83
|
+
***************************************************************************** */function Pu(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(h){try{u(n.next(h))}catch(g){o(g)}}function l(h){try{u(n.throw(h))}catch(g){o(g)}}function u(h){h.done?a(h.value):i(h.value).then(s,l)}u((n=n.apply(e,t||[])).next())})}function xu(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1],a=u;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(u);break}a[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var Ye=function(){},Re=Ye(),vr=Object,Ae=function(e){return e===Re},It=function(e){return typeof e=="function"},it=function(e,t){return vr.assign({},e,t)},Hi="undefined",Vi=function(){return typeof window!=Hi},Sp=function(){return typeof document!=Hi},Ep=function(){return Vi()&&typeof window.requestAnimationFrame!=Hi},Cn=new WeakMap,Cp=0,mr=function(e){var t=typeof e,r=e&&e.constructor,n=r==Date,i,a;if(vr(e)===e&&!n&&r!=RegExp){if(i=Cn.get(e),i)return i;if(i=++Cp+"~",Cn.set(e,i),r==Array){for(i="@",a=0;a<e.length;a++)i+=mr(e[a])+",";Cn.set(e,i)}if(r==vr){i="#";for(var o=vr.keys(e).sort();!Ae(a=o.pop());)Ae(e[a])||(i+=a+":"+mr(e[a])+",");Cn.set(e,i)}}else i=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return i},zi=!0,Mp=function(){return zi},Iu=Vi(),Ui=Sp(),Bi=Iu&&window.addEventListener?window.addEventListener.bind(window):Ye,Rp=Ui?document.addEventListener.bind(document):Ye,Ki=Iu&&window.removeEventListener?window.removeEventListener.bind(window):Ye,Ap=Ui?document.removeEventListener.bind(document):Ye,Tp=function(){var e=Ui&&document.visibilityState;return Ae(e)||e!=="hidden"},$p=function(e){return Rp("visibilitychange",e),Bi("focus",e),function(){Ap("visibilitychange",e),Ki("focus",e)}},Np=function(e){var t=function(){zi=!0,e()},r=function(){zi=!1};return Bi("online",t),Bi("offline",r),function(){Ki("online",t),Ki("offline",r)}},Dp={isOnline:Mp,isVisible:Tp},Fp={initFocus:$p,initReconnect:Np},Mn=!Vi()||"Deno"in window,Lp=function(e){return Ep()?window.requestAnimationFrame(e):setTimeout(e,1)},yr=Mn?S.useEffect:S.useLayoutEffect,Gi=typeof navigator!="undefined"&&navigator.connection,Su=!Mn&&Gi&&(["slow-2g","2g"].includes(Gi.effectiveType)||Gi.saveData),Eu=function(e){if(It(e))try{e=e()}catch{e=""}var t=[].concat(e);e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?mr(e):"";var r=e?"$swr$"+e:"";return[e,t,r]},St=new WeakMap,Cu=0,Mu=1,Ru=2,br=function(e,t,r,n,i,a,o){o===void 0&&(o=!0);var s=St.get(e),l=s[0],u=s[1],h=s[3],g=l[t],y=u[t];if(o&&y)for(var P=0;P<y.length;++P)y[P](r,n,i);return a&&(delete h[t],g&&g[0])?g[0](Ru).then(function(){return e.get(t)}):e.get(t)},jp=0,ki=function(){return++jp},Au=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Pu(void 0,void 0,void 0,function(){var r,n,i,a,o,s,l,u,h,g,y,P,w,O,d,m,c,f,v,b;return xu(this,function(I){switch(I.label){case 0:if(r=e[0],n=e[1],i=e[2],a=e[3],o=typeof a=="boolean"?{revalidate:a}:a||{},s=Ae(o.populateCache)?!0:o.populateCache,l=o.revalidate!==!1,u=o.rollbackOnError!==!1,h=o.optimisticData,g=Eu(n),y=g[0],P=g[2],!y)return[2];if(w=St.get(r),O=w[2],e.length<3)return[2,br(r,y,r.get(y),Re,Re,l,!0)];if(d=i,c=ki(),O[y]=[c,0],f=!Ae(h),v=r.get(y),f&&(r.set(y,h),br(r,y,h)),It(d))try{d=d(r.get(y))}catch(R){m=R}return d&&It(d.then)?[4,d.catch(function(R){m=R})]:[3,2];case 1:if(d=I.sent(),c!==O[y][0]){if(m)throw m;return[2,d]}else m&&f&&u&&(s=!0,d=v,r.set(y,v));I.label=2;case 2:return s&&(m||(It(s)&&(d=s(d,v)),r.set(y,d)),r.set(P,it(r.get(P),{error:m}))),O[y][1]=ki(),[4,br(r,y,d,m,Re,l,!!s)];case 3:if(b=I.sent(),m)throw m;return[2,s?b:d]}})})},Tu=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},$u=function(e,t){if(!St.has(e)){var r=it(Fp,t),n={},i=Au.bind(Re,e),a=Ye;if(St.set(e,[n,{},{},{},i]),!Mn){var o=r.initFocus(setTimeout.bind(Re,Tu.bind(Re,n,Cu))),s=r.initReconnect(setTimeout.bind(Re,Tu.bind(Re,n,Mu)));a=function(){o&&o(),s&&s(),St.delete(e)}}return[e,i,a]}return[e,St.get(e)[4]]},Wp=function(e,t,r,n,i){var a=r.errorRetryCount,o=i.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;!Ae(a)&&o>a||setTimeout(n,s,i)},Nu=$u(new Map),Du=Nu[0],Hp=Nu[1],Fu=it({onLoadingSlow:Ye,onSuccess:Ye,onError:Ye,onErrorRetry:Wp,onDiscarded:Ye,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Su?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Su?5e3:3e3,compare:function(e,t){return mr(e)==mr(t)},isPaused:function(){return!1},cache:Du,mutate:Hp,fallback:{}},Dp),Lu=function(e,t){var r=it(e,t);if(t){var n=e.use,i=e.fallback,a=t.use,o=t.fallback;n&&a&&(r.use=n.concat(a)),i&&o&&(r.fallback=it(i,o))}return r},Qi=S.createContext({}),Vp=function(e){var t=e.value,r=Lu(S.useContext(Qi),t),n=t&&t.provider,i=S.useState(function(){return n?$u(n(r.cache||Du),t):Re})[0];return i&&(r.cache=i[0],r.mutate=i[1]),yr(function(){return i?i[2]:Re},[]),S.createElement(Qi.Provider,it(e,{value:r}))},zp=function(e,t){var r=S.useState({})[1],n=S.useRef(e),i=S.useRef({data:!1,error:!1,isValidating:!1}),a=S.useCallback(function(o){var s=!1,l=n.current;for(var u in o){var h=u;l[h]!==o[h]&&(l[h]=o[h],i.current[h]&&(s=!0))}s&&!t.current&&r({})},[]);return yr(function(){n.current=e}),[n,i.current,a]},Up=function(e){return It(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}]},Bp=function(){return it(Fu,S.useContext(Qi))},Kp=function(e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=Bp(),a=Up(r),o=a[0],s=a[1],l=a[2],u=Lu(i,l),h=e,g=u.use;if(g)for(var y=g.length;y-- >0;)h=g[y](h);return h(o,s||u.fetcher,u)}},ju=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var i=n.indexOf(r);i>=0&&(n[i]=n[n.length-1],n.pop())}},qi={dedupe:!0},Gp=function(e,t,r){var n=r.cache,i=r.compare,a=r.fallbackData,o=r.suspense,s=r.revalidateOnMount,l=r.refreshInterval,u=r.refreshWhenHidden,h=r.refreshWhenOffline,g=St.get(n),y=g[0],P=g[1],w=g[2],O=g[3],d=Eu(e),m=d[0],c=d[1],f=d[2],v=S.useRef(!1),b=S.useRef(!1),I=S.useRef(m),R=S.useRef(t),_=S.useRef(r),L=function(){return _.current},A=function(){return L().isVisible()&&L().isOnline()},B=function(j){return n.set(f,it(n.get(f),j))},p=n.get(m),U=Ae(a)?r.fallback[m]:a,H=Ae(p)?U:p,V=n.get(f)||{},ae=V.error,oe=!v.current,q=function(){return oe&&!Ae(s)?s:L().isPaused()?!1:o?!Ae(H):Ae(H)||r.revalidateIfStale},ce=function(){return!m||!t?!1:V.isValidating?!0:oe&&q()},ee=ce(),x=zp({data:H,error:ae,isValidating:ee},b),C=x[0],E=x[1],T=x[2],D=S.useCallback(function(j){return Pu(void 0,void 0,void 0,function(){var z,F,W,G,Q,re,K,de,se,te,ye,xe,Ee;return xu(this,function(Fe){switch(Fe.label){case 0:if(z=R.current,!m||!z||b.current||L().isPaused())return[2,!1];G=!0,Q=j||{},re=!O[m]||!Q.dedupe,K=function(){return!b.current&&m===I.current&&v.current},de=function(){var we=O[m];we&&we[1]===W&&delete O[m]},se={isValidating:!1},te=function(){B({isValidating:!1}),K()&&T(se)},B({isValidating:!0}),T({isValidating:!0}),Fe.label=1;case 1:return Fe.trys.push([1,3,,4]),re&&(br(n,m,C.current.data,C.current.error,!0),r.loadingTimeout&&!n.get(m)&&setTimeout(function(){G&&K()&&L().onLoadingSlow(m,r)},r.loadingTimeout),O[m]=[z.apply(void 0,c),ki()]),Ee=O[m],F=Ee[0],W=Ee[1],[4,F];case 2:return F=Fe.sent(),re&&setTimeout(de,r.dedupingInterval),!O[m]||O[m][1]!==W?(re&&K()&&L().onDiscarded(m),[2,!1]):(B({error:Re}),se.error=Re,ye=w[m],!Ae(ye)&&(W<=ye[0]||W<=ye[1]||ye[1]===0)?(te(),re&&K()&&L().onDiscarded(m),[2,!1]):(i(C.current.data,F)?se.data=C.current.data:se.data=F,i(n.get(m),F)||n.set(m,F),re&&K()&&L().onSuccess(F,m,r),[3,4]));case 3:return xe=Fe.sent(),de(),L().isPaused()||(B({error:xe}),se.error=xe,re&&K()&&(L().onError(xe,m,r),(typeof r.shouldRetryOnError=="boolean"&&r.shouldRetryOnError||It(r.shouldRetryOnError)&&r.shouldRetryOnError(xe))&&A()&&L().onErrorRetry(xe,m,r,D,{retryCount:(Q.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return G=!1,te(),K()&&re&&br(n,m,se.data,se.error,!1),[2,!0]}})})},[m]),k=S.useCallback(Au.bind(Re,n,function(){return I.current}),[]);if(yr(function(){R.current=t,_.current=r}),yr(function(){if(!!m){var j=m!==I.current,z=D.bind(Re,qi),F=function(K,de,se){T(it({error:de,isValidating:se},i(C.current.data,K)?Re:{data:K}))},W=0,G=function(K){if(K==Cu){var de=Date.now();L().revalidateOnFocus&&de>W&&A()&&(W=de+L().focusThrottleInterval,z())}else if(K==Mu)L().revalidateOnReconnect&&A()&&z();else if(K==Ru)return D()},Q=ju(m,P,F),re=ju(m,y,G);return b.current=!1,I.current=m,v.current=!0,j&&T({data:H,error:ae,isValidating:ee}),q()&&(Ae(H)||Mn?z():Lp(z)),function(){b.current=!0,Q(),re()}}},[m,D]),yr(function(){var j;function z(){var W=It(l)?l(H):l;W&&j!==-1&&(j=setTimeout(F,W))}function F(){!C.current.error&&(u||L().isVisible())&&(h||L().isOnline())?D(qi).then(z):z()}return z(),function(){j&&(clearTimeout(j),j=-1)}},[l,u,h,D]),S.useDebugValue(H),o&&Ae(H)&&m)throw R.current=t,_.current=r,b.current=!1,Ae(ae)?D(qi):ae;return{mutate:k,get data(){return E.data=!0,H},get error(){return E.error=!0,ae},get isValidating(){return E.isValidating=!0,ee}}};vr.defineProperty(Vp,"default",{value:Fu});var kp=Kp(Gp);/*! *****************************************************************************
|
|
84
84
|
Copyright (c) Microsoft Corporation.
|
|
85
85
|
|
|
86
86
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -93,17 +93,17 @@ const store = createStore(
|
|
|
93
93
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
94
94
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
95
95
|
PERFORMANCE OF THIS SOFTWARE.
|
|
96
|
-
***************************************************************************** */var Rn=function(){return Rn=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Rn.apply(this,arguments)},Qp=function(e){return typeof e=="function"},qp=function(e){return Qp(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}]},Xp=function(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=qp(r),a=i[0],o=i[1],s=i[2],l=(s.use||[]).concat(t);return e(a,o,Rn(Rn({},s),{use:l}))}},Yp=function(e){return function(t,r,n){return n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)}},Wu=Xp(kp,Yp);const Jp=e=>fetch(e).then(t=>t.json());function Zp(e){const{data:t,error:r}=Wu(e,Jp);return{headerConfig:t,error:r}}let Xi=_r();const J=e=>wr(e,Xi);let Yi=_r();J.write=e=>wr(e,Yi);let An=_r();J.onStart=e=>wr(e,An);let Ji=_r();J.onFrame=e=>wr(e,Ji);let Zi=_r();J.onFinish=e=>wr(e,Zi);let jt=[];J.setTimeout=(e,t)=>{let r=J.now()+t,n=()=>{let a=jt.findIndex(o=>o.cancel==n);~a&&jt.splice(a,1),pt-=~a?1:0},i={time:r,handler:e,cancel:n};return jt.splice(Hu(r),0,i),pt+=1,Vu(),i};let Hu=e=>~(~jt.findIndex(t=>t.time>e)||~jt.length);J.cancel=e=>{An.delete(e),Ji.delete(e),Xi.delete(e),Yi.delete(e),Zi.delete(e)},J.sync=e=>{ta=!0,J.batchedUpdates(e),ta=!1},J.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...i){t=i,J.onStart(r)}return n.handler=e,n.cancel=()=>{An.delete(r),t=null},n};let ea=typeof window!="undefined"?window.requestAnimationFrame:()=>{};J.use=e=>ea=e,J.now=typeof performance!="undefined"?()=>performance.now():Date.now,J.batchedUpdates=e=>e(),J.catch=console.error,J.frameLoop="always",J.advance=()=>{J.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Uu()};let ht=-1,pt=0,ta=!1;function wr(e,t){ta?(t.delete(e),e(0)):(t.add(e),Vu())}function Vu(){ht<0&&(ht=0,J.frameLoop!=="demand"&&ea(zu))}function e1(){ht=-1}function zu(){~ht&&(ea(zu),J.batchedUpdates(Uu))}function Uu(){let e=ht;ht=J.now();let t=Hu(ht);t&&(Bu(jt.splice(0,t),r=>r.handler()),pt-=t),An.flush(),Xi.flush(e?Math.min(64,ht-e):16.667),Ji.flush(),Yi.flush(),Zi.flush(),pt||e1()}function _r(){let e=new Set,t=e;return{add(r){pt+=t==e&&!e.has(r)?1:0,e.add(r)},delete(r){return pt-=t==e&&e.has(r)?1:0,e.delete(r)},flush(r){t.size&&(e=new Set,pt-=t.size,Bu(t,n=>n(r)&&e.add(n)),pt+=e.size,t=e)}}}function Bu(e,t){e.forEach(r=>{try{t(r)}catch(n){J.catch(n)}})}function ra(){}const t1=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),$={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function at(e,t){if($.arr(e)){if(!$.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}const Y=(e,t)=>e.forEach(t);function Je(e,t,r){if($.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}const Te=e=>$.und(e)?[]:$.arr(e)?e:[e];function Or(e,t){if(e.size){const r=Array.from(e);e.clear(),Y(r,t)}}const Pr=(e,...t)=>Or(e,r=>r(...t)),Ku=()=>typeof window=="undefined"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let na,Gu,gt=null,ku=!1,ia=ra;var Ze=Object.freeze({__proto__:null,get createStringInterpolator(){return na},get to(){return Gu},get colors(){return gt},get skipAnimation(){return ku},get willAdvance(){return ia},assign:e=>{e.to&&(Gu=e.to),e.now&&(J.now=e.now),e.colors!==void 0&&(gt=e.colors),e.skipAnimation!=null&&(ku=e.skipAnimation),e.createStringInterpolator&&(na=e.createStringInterpolator),e.requestAnimationFrame&&J.use(e.requestAnimationFrame),e.batchedUpdates&&(J.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ia=e.willAdvance),e.frameLoop&&(J.frameLoop=e.frameLoop)}});const xr=new Set;let Ve=[],aa=[],Tn=0;const $n={get idle(){return!xr.size&&!Ve.length},start(e){Tn>e.priority?(xr.add(e),J.onStart(r1)):(Qu(e),J(oa))},advance:oa,sort(e){if(Tn)J.onFrame(()=>$n.sort(e));else{const t=Ve.indexOf(e);~t&&(Ve.splice(t,1),qu(e))}},clear(){Ve=[],xr.clear()}};function r1(){xr.forEach(Qu),xr.clear(),J(oa)}function Qu(e){Ve.includes(e)||qu(e)}function qu(e){Ve.splice(n1(Ve,t=>t.priority>e.priority),0,e)}function oa(e){const t=aa;for(let r=0;r<Ve.length;r++){const n=Ve[r];Tn=n.priority,n.idle||(ia(n),n.advance(e),n.idle||t.push(n))}return Tn=0,aa=Ve,aa.length=0,Ve=t,Ve.length>0}function n1(e,t){const r=e.findIndex(t);return r<0?e.length:r}const i1={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ge="[-+]?\\d*\\.?\\d+",Nn=Ge+"%";function Dn(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const a1=new RegExp("rgb"+Dn(Ge,Ge,Ge)),o1=new RegExp("rgba"+Dn(Ge,Ge,Ge,Ge)),s1=new RegExp("hsl"+Dn(Ge,Nn,Nn)),u1=new RegExp("hsla"+Dn(Ge,Nn,Nn,Ge)),c1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,l1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,f1=/^#([0-9a-fA-F]{6})$/,d1=/^#([0-9a-fA-F]{8})$/;function h1(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=f1.exec(e))?parseInt(t[1]+"ff",16)>>>0:gt&>[e]!==void 0?gt[e]:(t=a1.exec(e))?(Wt(t[1])<<24|Wt(t[2])<<16|Wt(t[3])<<8|255)>>>0:(t=o1.exec(e))?(Wt(t[1])<<24|Wt(t[2])<<16|Wt(t[3])<<8|Ju(t[4]))>>>0:(t=c1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=d1.exec(e))?parseInt(t[1],16)>>>0:(t=l1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=s1.exec(e))?(Xu(Yu(t[1]),Fn(t[2]),Fn(t[3]))|255)>>>0:(t=u1.exec(e))?(Xu(Yu(t[1]),Fn(t[2]),Fn(t[3]))|Ju(t[4]))>>>0:null}function sa(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Xu(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,a=sa(i,n,e+1/3),o=sa(i,n,e),s=sa(i,n,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function Wt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Yu(e){return(parseFloat(e)%360+360)%360/360}function Ju(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Fn(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Zu(e){let t=h1(e);if(t===null)return e;t=t||0;let r=(t&4278190080)>>>24,n=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${r}, ${n}, ${i}, ${a})`}const Ir=(e,t,r)=>{if($.fun(e))return e;if($.arr(e))return Ir({range:e,output:t,extrapolate:r});if($.str(e.output[0]))return na(e);const n=e,i=n.output,a=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(u=>u);return u=>{const h=g1(u,a);return p1(u,a[h],a[h+1],i[h],i[h+1],l,o,s,n.map)}};function p1(e,t,r,n,i,a,o,s,l){let u=l?l(e):e;if(u<t){if(o==="identity")return u;o==="clamp"&&(u=t)}if(u>r){if(s==="identity")return u;s==="clamp"&&(u=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?u=-u:r===1/0?u=u-t:u=(u-t)/(r-t),u=a(u),n===-1/0?u=-u:i===1/0?u=u+n:u=u*(i-n)+n,u)}function g1(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}function ua(){return ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ua.apply(this,arguments)}const Ht=Symbol.for("FluidValue.get"),Et=Symbol.for("FluidValue.observers"),ze=e=>Boolean(e&&e[Ht]),Ne=e=>e&&e[Ht]?e[Ht]():e,ec=e=>e[Et]||null;function v1(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Sr(e,t){let r=e[Et];r&&r.forEach(n=>{v1(n,t)})}class tc{constructor(t){if(this[Ht]=void 0,this[Et]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");m1(this,t)}}const m1=(e,t)=>rc(e,Ht,t);function Vt(e,t){if(e[Ht]){let r=e[Et];r||rc(e,Et,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function Er(e,t){let r=e[Et];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Et]=null,e.observerRemoved&&e.observerRemoved(n,t)}}const rc=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),Ln=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y1=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,nc=new RegExp(`(${Ln.source})(%|[a-z]+)`,"i"),b1=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,jn=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ic=e=>{const[t,r]=w1(e);if(!t||Ku())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||e}else{if(r&&jn.test(r))return ic(r);if(r)return r}return e},w1=e=>{const t=jn.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]};let ca;const _1=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,ac=e=>{ca||(ca=gt?new RegExp(`(${Object.keys(gt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>Ne(a).replace(jn,ic).replace(y1,Zu).replace(ca,Zu)),r=t.map(a=>a.match(Ln).map(Number)),i=r[0].map((a,o)=>r.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Ir(ua({},e,{output:a})));return a=>{var o;const s=!nc.test(t[0])&&((o=t.find(u=>nc.test(u)))==null?void 0:o.replace(Ln,""));let l=0;return t[0].replace(Ln,()=>`${i[l++](a)}${s||""}`).replace(b1,_1)}},la="react-spring: ",oc=e=>{const t=e;let r=!1;if(typeof t!="function")throw new TypeError(`${la}once requires a function parameter`);return(...n)=>{r||(t(...n),r=!0)}},O1=oc(console.warn);function P1(){O1(`${la}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const x1=oc(console.warn);function I1(){x1(`${la}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Wn(e){return $.str(e)&&(e[0]=="#"||/\d/.test(e)||!Ku()&&jn.test(e)||e in(gt||{}))}const Hn=e=>S.useEffect(e,S1),S1=[];function fa(){const e=S.useState()[1],t=S.useState(E1)[0];return Hn(t.unmount),()=>{t.current&&e({})}}function E1(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function C1(e,t){const[r]=S.useState(()=>({inputs:t,result:e()})),n=S.useRef(),i=n.current;let a=i;return a?Boolean(t&&a.inputs&&M1(t,a.inputs))||(a={inputs:t,result:e()}):a=r,S.useEffect(()=>{n.current=a,i==r&&(r.inputs=r.result=void 0)},[a]),a.result}function M1(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function da(e){const t=S.useRef();return S.useEffect(()=>{t.current=e}),t.current}const zt=typeof window!="undefined"&&window.document&&window.document.createElement?ut.useLayoutEffect:ut.useEffect,Cr=Symbol.for("Animated:node"),R1=e=>!!e&&e[Cr]===e,et=e=>e&&e[Cr],ha=(e,t)=>t1(e,Cr,t),Vn=e=>e&&e[Cr]&&e[Cr].getPayload();class sc{constructor(){this.payload=void 0,ha(this,this)}getPayload(){return this.payload||[]}}class Ut extends sc{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,$.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new Ut(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,r){return $.num(t)&&(this.lastPosition=t,r&&(t=Math.round(t/r)*r,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,$.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class Bt extends Ut{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Ir({output:[t,t]})}static create(t){return new Bt(t)}getValue(){let t=this._string;return t==null?this._string=this._toString(this._value):t}setValue(t){if($.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Ir({output:[this.getValue(),t]})),this._value=0,super.reset()}}const zn={dependencies:null};class Un extends sc{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const r={};return Je(this.source,(n,i)=>{R1(n)?r[i]=n.getValue(t):ze(n)?r[i]=Ne(n):t||(r[i]=n)}),r}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&Y(this.payload,t=>t.reset())}_makePayload(t){if(t){const r=new Set;return Je(t,this._addToPayload,r),Array.from(r)}}_addToPayload(t){zn.dependencies&&ze(t)&&zn.dependencies.add(t);const r=Vn(t);r&&Y(r,n=>this.add(n))}}class pa extends Un{constructor(t){super(t)}static create(t){return new pa(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const r=this.getPayload();return t.length==r.length?r.map((n,i)=>n.setValue(t[i])).some(Boolean):(super.setValue(t.map(A1)),!0)}}function A1(e){return(Wn(e)?Bt:Ut).create(e)}function ga(e){const t=et(e);return t?t.constructor:$.arr(e)?pa:Wn(e)?Bt:Ut}function Bn(){return Bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bn.apply(this,arguments)}const uc=(e,t)=>{const r=!$.fun(e)||e.prototype&&e.prototype.isReactComponent;return S.forwardRef((n,i)=>{const a=S.useRef(null),o=r&&S.useCallback(O=>{a.current=N1(i,O)},[i]),[s,l]=$1(n,t),u=fa(),h=()=>{const O=a.current;if(r&&!O)return;(O?t.applyAnimatedValues(O,s.getValue(!0)):!1)===!1&&u()},g=new T1(h,l),y=S.useRef();zt(()=>{const O=y.current;y.current=g,Y(l,P=>Vt(P,g)),O&&(Y(O.deps,P=>Er(P,O)),J.cancel(O.update))}),S.useEffect(h,[]),Hn(()=>()=>{const O=y.current;Y(O.deps,P=>Er(P,O))});const w=t.getComponentProps(s.getValue());return ut.createElement(e,Bn({},w,{ref:o}))})};class T1{constructor(t,r){this.update=t,this.deps=r}eventObserved(t){t.type=="change"&&J.write(this.update)}}function $1(e,t){const r=new Set;return zn.dependencies=r,e.style&&(e=Bn({},e,{style:t.createAnimatedStyle(e.style)})),e=new Un(e),zn.dependencies=null,[e,r]}function N1(e,t){return e&&($.fun(e)?e(t):e.current=t),t}const cc=Symbol.for("AnimatedComponent"),D1=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=i=>new Un(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},a=o=>{const s=lc(o)||"Anonymous";return $.str(o)?o=a[o]||(a[o]=uc(o,i)):o=o[cc]||(o[cc]=uc(o,i)),o.displayName=`Animated(${s})`,o};return Je(e,(o,s)=>{$.arr(e)&&(s=lc(o)),a[s]=a(o)}),{animated:a}},lc=e=>$.str(e)?e:e&&$.str(e.displayName)?e.displayName:$.fun(e)&&e.name||null;function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be.apply(this,arguments)}function De(e,...t){return $.fun(e)?e(...t):e}const Mr=(e,t)=>e===!0||!!(t&&e&&($.fun(e)?e(t):Te(e).includes(t))),fc=(e,t)=>$.obj(e)?t&&e[t]:e,dc=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,F1=e=>e,Kn=(e,t=F1)=>{let r=L1;e.default&&e.default!==!0&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const a=t(e[i],i);$.und(a)||(n[i]=a)}return n},L1=["config","onProps","onStart","onChange","onPause","onResume","onRest"],j1={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function W1(e){const t={};let r=0;if(Je(e,(n,i)=>{j1[i]||(t[i]=n,r++)}),r)return t}function va(e){const t=W1(e);if(t){const r={to:t};return Je(e,(n,i)=>i in t||(r[i]=n)),r}return be({},e)}function Rr(e){return e=Ne(e),$.arr(e)?e.map(Rr):Wn(e)?Ze.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function hc(e){for(const t in e)return!0;return!1}function ma(e){return $.fun(e)||$.arr(e)&&$.obj(e[0])}function ya(e,t){var r;(r=e.ref)==null||r.delete(e),t==null||t.delete(e)}function pc(e,t){if(t&&e.ref!==t){var r;(r=e.ref)==null||r.delete(e),t.add(e),e.ref=t}}const Kt={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Gn=1.70158,kn=Gn*1.525,gc=Gn+1,vc=2*Math.PI/3,mc=2*Math.PI/4.5,Qn=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,H1={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>gc*e*e*e-Gn*e*e,easeOutBack:e=>1+gc*Math.pow(e-1,3)+Gn*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((kn+1)*2*e-kn)/2:(Math.pow(2*e-2,2)*((kn+1)*(e*2-2)+kn)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*vc),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*vc)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*mc))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*mc)/2+1,easeInBounce:e=>1-Qn(1-e),easeOutBounce:Qn,easeInOutBounce:e=>e<.5?(1-Qn(1-2*e))/2:(1+Qn(2*e-1))/2},ba=be({},Kt.default,{mass:1,damping:1,easing:H1.linear,clamp:!1});class V1{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,ba)}}function z1(e,t,r){r&&(r=be({},r),yc(r,t),t=be({},r,t)),yc(e,t),Object.assign(e,t);for(const o in ba)e[o]==null&&(e[o]=ba[o]);let{mass:n,frequency:i,damping:a}=e;return $.und(i)||(i<.01&&(i=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/i,2)*n,e.friction=4*Math.PI*a*n/i),e}function yc(e,t){if(!$.und(t.decay))e.duration=void 0;else{const r=!$.und(t.tension)||!$.und(t.friction);(r||!$.und(t.frequency)||!$.und(t.damping)||!$.und(t.mass))&&(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}}const bc=[];class U1{constructor(){this.changed=!1,this.values=bc,this.toValues=null,this.fromValues=bc,this.to=void 0,this.from=void 0,this.config=new V1,this.immediate=!1}}function wc(e,{key:t,props:r,defaultProps:n,state:i,actions:a}){return new Promise((o,s)=>{var l;let u,h,g=Mr((l=r.cancel)!=null?l:n==null?void 0:n.cancel,t);if(g)O();else{$.und(r.pause)||(i.paused=Mr(r.pause,t));let P=n==null?void 0:n.pause;P!==!0&&(P=i.paused||Mr(P,t)),u=De(r.delay||0,t),P?(i.resumeQueue.add(w),a.pause()):(a.resume(),w())}function y(){i.resumeQueue.add(w),i.timeouts.delete(h),h.cancel(),u=h.time-J.now()}function w(){u>0&&!Ze.skipAnimation?(i.delayed=!0,h=J.setTimeout(O,u),i.pauseQueue.add(y),i.timeouts.add(h)):O()}function O(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(y),i.timeouts.delete(h),e<=(i.cancelId||0)&&(g=!0);try{a.start(be({},r,{callId:e,cancel:g}),o)}catch(P){s(P)}}})}const wa=(e,t)=>t.length==1?t[0]:t.some(r=>r.cancelled)?Gt(e.get()):t.every(r=>r.noop)?_c(e.get()):ke(e.get(),t.every(r=>r.finished)),_c=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ke=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),Gt=e=>({value:e,cancelled:!0,finished:!1});function Oc(e,t,r,n){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:l}=r;return!a&&e===s&&!t.reset?l:r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const u=Kn(t,(p,m)=>m==="onRest"?void 0:p);let h,g;const y=new Promise((p,m)=>(h=p,g=m)),w=p=>{const m=i<=(r.cancelId||0)&&Gt(n)||i!==r.asyncId&&ke(n,!1);if(m)throw p.result=m,g(p),p},O=(p,m)=>{const c=new Pc,f=new xc;return(async()=>{if(Ze.skipAnimation)throw Ar(r),f.result=ke(n,!1),g(f),f;w(c);const v=$.obj(p)?be({},p):be({},m,{to:p});v.parentId=i,Je(u,(I,R)=>{$.und(v[R])&&(v[R]=I)});const b=await n.start(v);return w(c),r.paused&&await new Promise(I=>{r.resumeQueue.add(I)}),b})()};let P;if(Ze.skipAnimation)return Ar(r),ke(n,!1);try{let p;$.arr(e)?p=(async m=>{for(const c of m)await O(c)})(e):p=Promise.resolve(e(O,n.stop.bind(n))),await Promise.all([p.then(h),y]),P=ke(n.get(),!0,!1)}catch(p){if(p instanceof Pc)P=p.result;else if(p instanceof xc)P=p.result;else throw p}finally{i==r.asyncId&&(r.asyncId=a,r.asyncTo=a?s:void 0,r.promise=a?l:void 0)}return $.fun(o)&&J.batchedUpdates(()=>{o(P,n,n.item)}),P})()}function Ar(e,t){Or(e.timeouts,r=>r.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class Pc extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class xc extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const _a=e=>e instanceof Oa;let B1=1;class Oa extends tc{constructor(...t){super(...t),this.id=B1++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=et(this);return t&&t.getValue()}to(...t){return Ze.to(this,t)}interpolate(...t){return P1(),Ze.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,r=!1){Sr(this,{type:"change",parent:this,value:t,idle:r})}_onPriorityChange(t){this.idle||$n.sort(this),Sr(this,{type:"priority",parent:this,priority:t})}}const Ct=Symbol.for("SpringPhase"),Ic=1,Pa=2,xa=4,Ia=e=>(e[Ct]&Ic)>0,vt=e=>(e[Ct]&Pa)>0,Tr=e=>(e[Ct]&xa)>0,Sc=(e,t)=>t?e[Ct]|=Pa|Ic:e[Ct]&=~Pa,Ec=(e,t)=>t?e[Ct]|=xa:e[Ct]&=~xa;class K1 extends Oa{constructor(t,r){if(super(),this.key=void 0,this.animation=new U1,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!$.und(t)||!$.und(r)){const n=$.obj(t)?be({},t):be({},r,{from:t});$.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(vt(this)||this._state.asyncTo)||Tr(this)}get goal(){return Ne(this.animation.to)}get velocity(){const t=et(this);return t instanceof Ut?t.lastVelocity||0:t.getPayload().map(r=>r.lastVelocity||0)}get hasAnimated(){return Ia(this)}get isAnimating(){return vt(this)}get isPaused(){return Tr(this)}get isDelayed(){return this._state.delayed}advance(t){let r=!0,n=!1;const i=this.animation;let{config:a,toValues:o}=i;const s=Vn(i.to);!s&&ze(i.to)&&(o=Te(Ne(i.to))),i.values.forEach((h,g)=>{if(h.done)return;const y=h.constructor==Bt?1:s?s[g].lastPosition:o[g];let w=i.immediate,O=y;if(!w){if(O=h.lastPosition,a.tension<=0){h.done=!0;return}let P=h.elapsedTime+=t;const p=i.fromValues[g],m=h.v0!=null?h.v0:h.v0=$.arr(a.velocity)?a.velocity[g]:a.velocity;let c;if($.und(a.duration))if(a.decay){const f=a.decay===!0?.998:a.decay,v=Math.exp(-(1-f)*P);O=p+m/(1-f)*(1-v),w=Math.abs(h.lastPosition-O)<.1,c=m*v}else{c=h.lastVelocity==null?m:h.lastVelocity;const f=a.precision||(p==y?.005:Math.min(1,Math.abs(y-p)*.001)),v=a.restVelocity||f/10,b=a.clamp?0:a.bounce,I=!$.und(b),R=p==y?h.v0>0:p<y;let _,L=!1;const A=1,B=Math.ceil(t/A);for(let d=0;d<B&&(_=Math.abs(c)>v,!(!_&&(w=Math.abs(y-O)<=f,w)));++d){I&&(L=O==y||O>y==R,L&&(c=-c*b,O=y));const U=-a.tension*1e-6*(O-y),H=-a.friction*.001*c,V=(U+H)/a.mass;c=c+V*A,O=O+c*A}}else{let f=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,h.durationProgress>0&&(h.elapsedTime=a.duration*h.durationProgress,P=h.elapsedTime+=t)),f=(a.progress||0)+P/this._memoizedDuration,f=f>1?1:f<0?0:f,h.durationProgress=f),O=p+a.easing(f)*(y-p),c=(O-h.lastPosition)/t,w=f==1}h.lastVelocity=c,Number.isNaN(O)&&(console.warn("Got NaN while animating:",this),w=!0)}s&&!s[g].done&&(w=!1),w?h.done=!0:r=!1,h.setValue(O,a.round)&&(n=!0)});const l=et(this),u=l.getValue();if(r){const h=Ne(i.to);(u!==h||n)&&!a.decay?(l.setValue(h),this._onChange(h)):n&&a.decay&&this._onChange(u),this._stop()}else n&&this._onChange(u)}set(t){return J.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(vt(this)){const{to:t,config:r}=this.animation;J.batchedUpdates(()=>{this._onStart(),r.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,r){let n;return $.und(t)?(n=this.queue||[],this.queue=[]):n=[$.obj(t)?t:be({},r,{to:t})],Promise.all(n.map(i=>this._update(i))).then(i=>wa(this,i))}stop(t){const{to:r}=this.animation;return this._focus(this.get()),Ar(this._state,t&&this._lastCallId),J.batchedUpdates(()=>this._stop(r,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const r=this.key||"";let{to:n,from:i}=t;n=$.obj(n)?n[r]:n,(n==null||ma(n))&&(n=void 0),i=$.obj(i)?i[r]:i,i==null&&(i=void 0);const a={to:n,from:i};return Ia(this)||(t.reverse&&([n,i]=[i,n]),i=Ne(i),$.und(i)?et(this)||this._set(n):this._set(i)),a}_update(t,r){let n=be({},t);const{key:i,defaultProps:a}=this;n.default&&Object.assign(a,Kn(n,(l,u)=>/^on/.test(u)?fc(l,i):l)),Rc(this,n,"onProps"),Dr(this,"onProps",n,this);const o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return wc(++this._lastCallId,{key:i,props:n,defaultProps:a,state:s,actions:{pause:()=>{Tr(this)||(Ec(this,!0),Pr(s.pauseQueue),Dr(this,"onPause",ke(this,$r(this,this.animation.to)),this))},resume:()=>{Tr(this)&&(Ec(this,!1),vt(this)&&this._resume(),Pr(s.resumeQueue),Dr(this,"onResume",ke(this,$r(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(l=>{if(n.loop&&l.finished&&!(r&&l.noop)){const u=Cc(n);if(u)return this._update(u,!0)}return l})}_merge(t,r,n){if(r.cancel)return this.stop(!0),n(Gt(this));const i=!$.und(t.to),a=!$.und(t.from);if(i||a)if(r.callId>this._lastToId)this._lastToId=r.callId;else return n(Gt(this));const{key:o,defaultProps:s,animation:l}=this,{to:u,from:h}=l;let{to:g=u,from:y=h}=t;a&&!i&&(!r.default||$.und(g))&&(g=y),r.reverse&&([g,y]=[y,g]);const w=!at(y,h);w&&(l.from=y),y=Ne(y);const O=!at(g,u);O&&this._focus(g);const P=ma(r.to),{config:p}=l,{decay:m,velocity:c}=p;(i||a)&&(p.velocity=0),r.config&&!P&&z1(p,De(r.config,o),r.config!==s.config?De(s.config,o):void 0);let f=et(this);if(!f||$.und(g))return n(ke(this,!0));const v=$.und(r.reset)?a&&!r.default:!$.und(y)&&Mr(r.reset,o),b=v?y:this.get(),I=Rr(g),R=$.num(I)||$.arr(I)||Wn(I),_=!P&&(!R||Mr(s.immediate||r.immediate,o));if(O){const d=ga(g);if(d!==f.constructor)if(_)f=this._set(I);else throw Error(`Cannot animate between ${f.constructor.name} and ${d.name}, as the "to" prop suggests`)}const L=f.constructor;let A=ze(g),B=!1;if(!A){const d=v||!Ia(this)&&w;(O||d)&&(B=at(Rr(b),I),A=!B),(!at(l.immediate,_)&&!_||!at(p.decay,m)||!at(p.velocity,c))&&(A=!0)}if(B&&vt(this)&&(l.changed&&!v?A=!0:A||this._stop(u)),!P&&((A||ze(u))&&(l.values=f.getPayload(),l.toValues=ze(g)?null:L==Bt?[1]:Te(I)),l.immediate!=_&&(l.immediate=_,!_&&!v&&this._set(u)),A)){const{onRest:d}=l;Y(k1,H=>Rc(this,r,H));const U=ke(this,$r(this,u));Pr(this._pendingCalls,U),this._pendingCalls.add(n),l.changed&&J.batchedUpdates(()=>{l.changed=!v,d==null||d(U,this),v?De(s.onRest,U):l.onStart==null||l.onStart(U,this)})}v&&this._set(b),P?n(Oc(r.to,r,this._state,this)):A?this._start():vt(this)&&!O?this._pendingCalls.add(n):n(_c(b))}_focus(t){const r=this.animation;t!==r.to&&(ec(this)&&this._detach(),r.to=t,ec(this)&&this._attach())}_attach(){let t=0;const{to:r}=this.animation;ze(r)&&(Vt(r,this),_a(r)&&(t=r.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;ze(t)&&Er(t,this)}_set(t,r=!0){const n=Ne(t);if(!$.und(n)){const i=et(this);if(!i||!at(n,i.getValue())){const a=ga(n);!i||i.constructor!=a?ha(this,a.create(n)):i.setValue(n),i&&J.batchedUpdates(()=>{this._onChange(n,r)})}}return et(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,Dr(this,"onStart",ke(this,$r(this,t.to)),this))}_onChange(t,r){r||(this._onStart(),De(this.animation.onChange,t,this)),De(this.defaultProps.onChange,t,this),super._onChange(t,r)}_start(){const t=this.animation;et(this).reset(Ne(t.to)),t.immediate||(t.fromValues=t.values.map(r=>r.lastPosition)),vt(this)||(Sc(this,!0),Tr(this)||this._resume())}_resume(){Ze.skipAnimation?this.finish():$n.start(this)}_stop(t,r){if(vt(this)){Sc(this,!1);const n=this.animation;Y(n.values,a=>{a.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Sr(this,{type:"idle",parent:this});const i=r?Gt(this.get()):ke(this.get(),$r(this,t!=null?t:n.to));Pr(this._pendingCalls,i),n.changed&&(n.changed=!1,Dr(this,"onRest",i,this))}}}function $r(e,t){const r=Rr(t),n=Rr(e.get());return at(n,r)}function Cc(e,t=e.loop,r=e.to){let n=De(t);if(n){const i=n!==!0&&va(n),a=(i||e).reverse,o=!i||i.reset;return Nr(be({},e,{loop:t,default:!1,pause:void 0,to:!a||ma(r)?r:void 0,from:o?e.from:void 0,reset:o},i))}}function Nr(e){const{to:t,from:r}=e=va(e),n=new Set;return $.obj(t)&&Mc(t,n),$.obj(r)&&Mc(r,n),e.keys=n.size?Array.from(n):null,e}function G1(e){const t=Nr(e);return $.und(t.default)&&(t.default=Kn(t)),t}function Mc(e,t){Je(e,(r,n)=>r!=null&&t.add(n))}const k1=["onStart","onRest","onChange","onPause","onResume"];function Rc(e,t,r){e.animation[r]=t[r]!==dc(t,r)?fc(t[r],e.key):void 0}function Dr(e,t,...r){var n,i,a,o;(n=(i=e.animation)[t])==null||n.call(i,...r),(a=(o=e.defaultProps)[t])==null||a.call(o,...r)}const Q1=["onStart","onChange","onRest"];let q1=1;class Ac{constructor(t,r){this.id=q1++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),r&&(this._flush=r),t&&this.start(be({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((r,n)=>t[n]=r.get()),t}set(t){for(const r in t){const n=t[r];$.und(n)||this.springs[r].set(n)}}update(t){return t&&this.queue.push(Nr(t)),this}start(t){let{queue:r}=this;return t?r=Te(t).map(Nr):this.queue=[],this._flush?this._flush(this,r):(Fc(this,r),Sa(this,r))}stop(t,r){if(t!==!!t&&(r=t),r){const n=this.springs;Y(Te(r),i=>n[i].stop(!!t))}else Ar(this._state,this._lastAsyncId),this.each(n=>n.stop(!!t));return this}pause(t){if($.und(t))this.start({pause:!0});else{const r=this.springs;Y(Te(t),n=>r[n].pause())}return this}resume(t){if($.und(t))this.start({pause:!1});else{const r=this.springs;Y(Te(t),n=>r[n].resume())}return this}each(t){Je(this.springs,t)}_onFrame(){const{onStart:t,onChange:r,onRest:n}=this._events,i=this._active.size>0,a=this._changed.size>0;(i&&!this._started||a&&!this._started)&&(this._started=!0,Or(t,([l,u])=>{u.value=this.get(),l(u,this,this._item)}));const o=!i&&this._started,s=a||o&&n.size?this.get():null;a&&r.size&&Or(r,([l,u])=>{u.value=s,l(u,this,this._item)}),o&&(this._started=!1,Or(n,([l,u])=>{u.value=s,l(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;J.onFrame(this._onFrame)}}function Sa(e,t){return Promise.all(t.map(r=>Tc(e,r))).then(r=>wa(e,r))}async function Tc(e,t,r){const{keys:n,to:i,from:a,loop:o,onRest:s,onResolve:l}=t,u=$.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const h=$.arr(i)||$.fun(i)?i:void 0;h?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):Y(Q1,P=>{const p=t[P];if($.fun(p)){const m=e._events[P];t[P]=({finished:c,cancelled:f})=>{const v=m.get(p);v?(c||(v.finished=!1),f&&(v.cancelled=!0)):m.set(p,{value:null,finished:c||!1,cancelled:f||!1})},u&&(u[P]=t[P])}});const g=e._state;t.pause===!g.paused?(g.paused=t.pause,Pr(t.pause?g.pauseQueue:g.resumeQueue)):g.paused&&(t.pause=!0);const y=(n||Object.keys(e.springs)).map(P=>e.springs[P].start(t)),w=t.cancel===!0||dc(t,"cancel")===!0;(h||w&&g.asyncId)&&y.push(wc(++e._lastAsyncId,{props:t,state:g,actions:{pause:ra,resume:ra,start(P,p){w?(Ar(g,e._lastAsyncId),p(Gt(e))):(P.onRest=s,p(Oc(h,P,g,e)))}}})),g.paused&&await new Promise(P=>{g.resumeQueue.add(P)});const O=wa(e,await Promise.all(y));if(o&&O.finished&&!(r&&O.noop)){const P=Cc(t,o,i);if(P)return Fc(e,[P]),Tc(e,P,!0)}return l&&J.batchedUpdates(()=>l(O,e,e.item)),O}function Ea(e,t){const r=be({},e.springs);return t&&Y(Te(t),n=>{$.und(n.keys)&&(n=Nr(n)),$.obj(n.to)||(n=be({},n,{to:void 0})),Dc(r,n,i=>Nc(i))}),$c(e,r),r}function $c(e,t){Je(t,(r,n)=>{e.springs[n]||(e.springs[n]=r,Vt(r,e))})}function Nc(e,t){const r=new K1;return r.key=e,t&&Vt(r,t),r}function Dc(e,t,r){t.keys&&Y(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function Fc(e,t){Y(t,r=>{Dc(e.springs,r,n=>Nc(n,e))})}function X1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const Y1=["children"],Fr=e=>{let{children:t}=e,r=X1(e,Y1);const n=S.useContext(qn),i=r.pause||!!n.pause,a=r.immediate||!!n.immediate;r=C1(()=>({pause:i,immediate:a}),[i,a]);const{Provider:o}=qn;return ut.createElement(o,{value:r},t)},qn=J1(Fr,{});Fr.Provider=qn.Provider,Fr.Consumer=qn.Consumer;function J1(e,t){return Object.assign(e,ut.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}const Lc=()=>{const e=[],t=function(i){I1();const a=[];return Y(e,(o,s)=>{if($.und(i))a.push(o.start());else{const l=r(i,o,s);l&&a.push(o.start(l))}}),a};t.current=e,t.add=function(n){e.includes(n)||e.push(n)},t.delete=function(n){const i=e.indexOf(n);~i&&e.splice(i,1)},t.pause=function(){return Y(e,n=>n.pause(...arguments)),this},t.resume=function(){return Y(e,n=>n.resume(...arguments)),this},t.set=function(n){Y(e,i=>i.set(n))},t.start=function(n){const i=[];return Y(e,(a,o)=>{if($.und(n))i.push(a.start());else{const s=this._getProps(n,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return Y(e,n=>n.stop(...arguments)),this},t.update=function(n){return Y(e,(i,a)=>i.update(this._getProps(n,i,a))),this};const r=function(i,a,o){return $.fun(i)?i(o,a):i};return t._getProps=r,t};function Z1(e,t,r){const n=$.fun(t)&&t;n&&!r&&(r=[]);const i=S.useMemo(()=>n||arguments.length==3?Lc():void 0,[]),a=S.useRef(0),o=fa(),s=S.useMemo(()=>({ctrls:[],queue:[],flush(m,c){const f=Ea(m,c);return a.current>0&&!s.queue.length&&!Object.keys(f).some(b=>!m.springs[b])?Sa(m,c):new Promise(b=>{$c(m,f),s.queue.push(()=>{b(Sa(m,c))}),o()})}}),[]),l=S.useRef([...s.ctrls]),u=[],h=da(e)||0;S.useMemo(()=>{Y(l.current.slice(e,h),m=>{ya(m,i),m.stop(!0)}),l.current.length=e,g(h,e)},[e]),S.useMemo(()=>{g(0,Math.min(h,e))},r);function g(m,c){for(let f=m;f<c;f++){const v=l.current[f]||(l.current[f]=new Ac(null,s.flush)),b=n?n(f,v):t[f];b&&(u[f]=G1(b))}}const y=l.current.map((m,c)=>Ea(m,u[c])),w=S.useContext(Fr),O=da(w),P=w!==O&&hc(w);zt(()=>{a.current++,s.ctrls=l.current;const{queue:m}=s;m.length&&(s.queue=[],Y(m,c=>c())),Y(l.current,(c,f)=>{i==null||i.add(c),P&&c.start({default:w});const v=u[f];v&&(pc(c,v.ref),c.ref?c.queue.push(v):c.start(v))})}),Hn(()=>()=>{Y(s.ctrls,m=>m.stop(!0))});const p=y.map(m=>be({},m));return i?[p,i]:p}function eg(e,t){const r=$.fun(e),[[n],i]=Z1(1,r?e:[e],r?t||[]:t);return r||arguments.length==2?[n,i]:n}let $e;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})($e||($e={}));function Lr(e,t,r){const n=$.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:h,config:g}=n?n():t,y=S.useMemo(()=>n||arguments.length==3?Lc():void 0,[]),w=Te(e),O=[],P=S.useRef(null),p=i?null:P.current;zt(()=>{P.current=O}),Hn(()=>()=>{Y(P.current,H=>{H.expired&&clearTimeout(H.expirationId),ya(H.ctrl,y),H.ctrl.stop(!0)})});const m=rg(w,n?n():t,p),c=i&&P.current||[];zt(()=>Y(c,({ctrl:H,item:V,key:ae})=>{ya(H,y),De(u,V,ae)}));const f=[];if(p&&Y(p,(H,V)=>{H.expired?(clearTimeout(H.expirationId),c.push(H)):(V=f[V]=m.indexOf(H.key),~V&&(O[V]=H))}),Y(w,(H,V)=>{O[V]||(O[V]={key:m[V],item:H,phase:$e.MOUNT,ctrl:new Ac},O[V].ctrl.item=H)}),f.length){let H=-1;const{leave:V}=n?n():t;Y(f,(ae,oe)=>{const q=p[oe];~ae?(H=O.indexOf(q),O[H]=be({},q,{item:w[ae]})):V&&O.splice(++H,0,q)})}$.fun(a)&&O.sort((H,V)=>a(H.item,V.item));let v=-o;const b=fa(),I=Kn(t),R=new Map,_=S.useRef(new Map),L=S.useRef(!1);Y(O,(H,V)=>{const ae=H.key,oe=H.phase,q=n?n():t;let ce,ee,x=De(q.delay||0,ae);if(oe==$e.MOUNT)ce=q.enter,ee=$e.ENTER;else{const D=m.indexOf(ae)<0;if(oe!=$e.LEAVE)if(D)ce=q.leave,ee=$e.LEAVE;else if(ce=q.update)ee=$e.UPDATE;else return;else if(!D)ce=q.enter,ee=$e.ENTER;else return}if(ce=De(ce,H.item,V),ce=$.obj(ce)?va(ce):{to:ce},!ce.config){const D=g||I.config;ce.config=De(D,H.item,V,ee)}v+=o;const C=be({},I,{delay:x+v,ref:h,immediate:q.immediate,reset:!1},ce);if(ee==$e.ENTER&&$.und(C.from)){const D=n?n():t,k=$.und(D.initial)||p?D.from:D.initial;C.from=De(k,H.item,V)}const{onResolve:E}=C;C.onResolve=D=>{De(E,D);const k=P.current,j=k.find(z=>z.key===ae);if(!!j&&!(D.cancelled&&j.phase!=$e.UPDATE)&&j.ctrl.idle){const z=k.every(F=>F.ctrl.idle);if(j.phase==$e.LEAVE){const F=De(s,j.item);if(F!==!1){const W=F===!0?0:F;if(j.expired=!0,!z&&W>0){W<=2147483647&&(j.expirationId=setTimeout(b,W));return}}}z&&k.some(F=>F.expired)&&(_.current.delete(j),l&&(L.current=!0),b())}};const T=Ea(H.ctrl,C);ee===$e.LEAVE&&l?_.current.set(H,{phase:ee,springs:T,payload:C}):R.set(H,{phase:ee,springs:T,payload:C})});const A=S.useContext(Fr),B=da(A),d=A!==B&&hc(A);zt(()=>{d&&Y(O,H=>{H.ctrl.start({default:A})})},[A]),Y(R,(H,V)=>{if(_.current.size){const ae=O.findIndex(oe=>oe.key===V.key);O.splice(ae,1)}}),zt(()=>{Y(_.current.size?_.current:R,({phase:H,payload:V},ae)=>{const{ctrl:oe}=ae;ae.phase=H,y==null||y.add(oe),d&&H==$e.ENTER&&oe.start({default:A}),V&&(pc(oe,V.ref),oe.ref&&!L.current?oe.update(V):(oe.start(V),L.current&&(L.current=!1)))})},i?void 0:r);const U=H=>ut.createElement(ut.Fragment,null,O.map((V,ae)=>{const{springs:oe}=R.get(V)||V.ctrl,q=H(be({},oe),V.item,V,ae);return q&&q.type?ut.createElement(q.type,be({},q.props,{key:$.str(V.key)||$.num(V.key)?V.key:V.ctrl.id,ref:q.ref})):q}));return y?[U,y]:U}let tg=1;function rg(e,{key:t,keys:r=t},n){if(r===null){const i=new Set;return e.map(a=>{const o=n&&n.find(s=>s.item===a&&s.phase!==$e.LEAVE&&!i.has(s));return o?(i.add(o),o.key):tg++})}return $.und(r)?e:$.fun(r)?e.map(r):Te(r)}class ng extends Oa{constructor(t,r){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Ir(...r);const n=this._get(),i=ga(n);ha(this,i.create(n))}advance(t){const r=this._get(),n=this.get();at(r,n)||(et(this).setValue(r),this._onChange(r,this.idle)),!this.idle&&jc(this._active)&&Ca(this)}_get(){const t=$.arr(this.source)?this.source.map(Ne):Te(Ne(this.source));return this.calc(...t)}_start(){this.idle&&!jc(this._active)&&(this.idle=!1,Y(Vn(this),t=>{t.done=!1}),Ze.skipAnimation?(J.batchedUpdates(()=>this.advance()),Ca(this)):$n.start(this))}_attach(){let t=1;Y(Te(this.source),r=>{ze(r)&&Vt(r,this),_a(r)&&(r.idle||this._active.add(r),t=Math.max(t,r.priority+1))}),this.priority=t,this._start()}_detach(){Y(Te(this.source),t=>{ze(t)&&Er(t,this)}),this._active.clear(),Ca(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Te(this.source).reduce((r,n)=>Math.max(r,(_a(n)?n.priority:0)+1),0))}}function ig(e){return e.idle!==!1}function jc(e){return!e.size||Array.from(e).every(ig)}function Ca(e){e.idle||(e.idle=!0,Y(Vn(e),t=>{t.done=!0}),Sr(e,{type:"idle",parent:e}))}Ze.assign({createStringInterpolator:ac,to:(e,t)=>new ng(e,t)});function Ma(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const ag=["style","children","scrollTop","scrollLeft"],Wc=/^--/;function og(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Wc.test(e)&&!(jr.hasOwnProperty(e)&&jr[e])?t+"px":(""+t).trim()}const Hc={};function sg(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",n=t,{style:i,children:a,scrollTop:o,scrollLeft:s}=n,l=Ma(n,ag),u=Object.values(l),h=Object.keys(l).map(g=>r||e.hasAttribute(g)?g:Hc[g]||(Hc[g]=g.replace(/([A-Z])/g,y=>"-"+y.toLowerCase())));a!==void 0&&(e.textContent=a);for(let g in i)if(i.hasOwnProperty(g)){const y=og(g,i[g]);Wc.test(g)?e.style.setProperty(g,y):e.style[g]=y}h.forEach((g,y)=>{e.setAttribute(g,u[y])}),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s)}let jr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const ug=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),cg=["Webkit","Ms","Moz","O"];jr=Object.keys(jr).reduce((e,t)=>(cg.forEach(r=>e[ug(r,t)]=e[t]),e),jr);const lg=["x","y","z"],fg=/^(matrix|translate|scale|rotate|skew)/,dg=/^(translate)/,hg=/^(rotate|skew)/,Ra=(e,t)=>$.num(e)&&e!==0?e+t:e,Xn=(e,t)=>$.arr(e)?e.every(r=>Xn(r,t)):$.num(e)?e===t:parseFloat(e)===t;class pg extends Un{constructor(t){let{x:r,y:n,z:i}=t,a=Ma(t,lg);const o=[],s=[];(r||n||i)&&(o.push([r||0,n||0,i||0]),s.push(l=>[`translate3d(${l.map(u=>Ra(u,"px")).join(",")})`,Xn(l,0)])),Je(a,(l,u)=>{if(u==="transform")o.push([l||""]),s.push(h=>[h,h===""]);else if(fg.test(u)){if(delete a[u],$.und(l))return;const h=dg.test(u)?"px":hg.test(u)?"deg":"";o.push(Te(l)),s.push(u==="rotate3d"?([g,y,w,O])=>[`rotate3d(${g},${y},${w},${Ra(O,h)})`,Xn(O,0)]:g=>[`${u}(${g.map(y=>Ra(y,h)).join(",")})`,Xn(g,u.startsWith("scale")?1:0)])}}),o.length&&(a.transform=new gg(o,s)),super(a)}}class gg extends tc{constructor(t,r){super(),this._value=null,this.inputs=t,this.transforms=r}get(){return this._value||(this._value=this._get())}_get(){let t="",r=!0;return Y(this.inputs,(n,i)=>{const a=Ne(n[0]),[o,s]=this.transforms[i]($.arr(a)?a:n.map(Ne));t+=" "+o,r=r&&s}),r?"none":t}observerAdded(t){t==1&&Y(this.inputs,r=>Y(r,n=>ze(n)&&Vt(n,this)))}observerRemoved(t){t==0&&Y(this.inputs,r=>Y(r,n=>ze(n)&&Er(n,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Sr(this,t)}}const vg=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],mg=["scrollTop","scrollLeft"];Ze.assign({batchedUpdates:Ce.unstable_batchedUpdates,createStringInterpolator:ac,colors:i1});const kt=D1(vg,{applyAnimatedValues:sg,createAnimatedStyle:e=>new pg(e),getComponentProps:e=>Ma(e,mg)}).animated;function yg(){const{product:e}=ie(o=>o.titleBar),{isOpen:t,isMobileOrTablet:r}=ie(o=>o.headerInfo),n=Lr(!r||!t,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0},config:Kt.stiff});if(!e)return null;const{href:i,name:a}=e;return M("div",{className:"col-auto me-auto me-lg-0 py-2 py-lg-0 order-lg-2",id:"hd-logo",children:n((o,s)=>s&&Z(kt.a,{title:"home",href:i,style:o,children:[M("span",{className:"me-1 hd-brand",children:"Bookassist"}),M("strong",{className:"hd-product",children:a})]}))})}let Wr=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,r)=>(r&=63,r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r>62?t+="-":t+="_",t),"");/*! js-cookie v3.0.1 | MIT */function Yn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var bg={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Aa(e,t){function r(i,a,o){if(typeof document!="undefined"){o=Yn({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in o)!o[l]||(s+="; "+l,o[l]!==!0&&(s+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+s}}function n(i){if(!(typeof document=="undefined"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},s=0;s<a.length;s++){var l=a[s].split("="),u=l.slice(1).join("=");try{var h=decodeURIComponent(l[0]);if(o[h]=e.read(u,h),i===h)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Yn({},a,{expires:-1}))},withAttributes:function(i){return Aa(this.converter,Yn({},this.attributes,i))},withConverter:function(i){return Aa(Yn({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Vc=Aa(bg,{path:"/"});function wg(){this.__data__=[],this.size=0}var _g=wg;function Og(e,t){return e===t||e!==e&&t!==t}var Ta=Og,Pg=Ta;function xg(e,t){for(var r=e.length;r--;)if(Pg(e[r][0],t))return r;return-1}var Jn=xg,Ig=Jn,Sg=Array.prototype,Eg=Sg.splice;function Cg(e){var t=this.__data__,r=Ig(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Eg.call(t,r,1),--this.size,!0}var Mg=Cg,Rg=Jn;function Ag(e){var t=this.__data__,r=Rg(t,e);return r<0?void 0:t[r][1]}var Tg=Ag,$g=Jn;function Ng(e){return $g(this.__data__,e)>-1}var Dg=Ng,Fg=Jn;function Lg(e,t){var r=this.__data__,n=Fg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jg=Lg,Wg=_g,Hg=Mg,Vg=Tg,zg=Dg,Ug=jg;function Qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Qt.prototype.clear=Wg,Qt.prototype.delete=Hg,Qt.prototype.get=Vg,Qt.prototype.has=zg,Qt.prototype.set=Ug;var Zn=Qt,Bg=Zn;function Kg(){this.__data__=new Bg,this.size=0}var Gg=Kg;function kg(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Qg=kg;function qg(e){return this.__data__.get(e)}var Xg=qg;function Yg(e){return this.__data__.has(e)}var Jg=Yg,Zg=typeof nt=="object"&&nt&&nt.Object===Object&&nt,zc=Zg,ev=zc,tv=typeof self=="object"&&self&&self.Object===Object&&self,rv=ev||tv||Function("return this")(),ot=rv,nv=ot,iv=nv.Symbol,ei=iv,Uc=ei,Bc=Object.prototype,av=Bc.hasOwnProperty,ov=Bc.toString,Hr=Uc?Uc.toStringTag:void 0;function sv(e){var t=av.call(e,Hr),r=e[Hr];try{e[Hr]=void 0;var n=!0}catch{}var i=ov.call(e);return n&&(t?e[Hr]=r:delete e[Hr]),i}var uv=sv,cv=Object.prototype,lv=cv.toString;function fv(e){return lv.call(e)}var dv=fv,Kc=ei,hv=uv,pv=dv,gv="[object Null]",vv="[object Undefined]",Gc=Kc?Kc.toStringTag:void 0;function mv(e){return e==null?e===void 0?vv:gv:Gc&&Gc in Object(e)?hv(e):pv(e)}var Vr=mv;function yv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zr=yv,bv=Vr,wv=zr,_v="[object AsyncFunction]",Ov="[object Function]",Pv="[object GeneratorFunction]",xv="[object Proxy]";function Iv(e){if(!wv(e))return!1;var t=bv(e);return t==Ov||t==Pv||t==_v||t==xv}var kc=Iv,Sv=ot,Ev=Sv["__core-js_shared__"],Cv=Ev,$a=Cv,Qc=function(){var e=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Mv(e){return!!Qc&&Qc in e}var Rv=Mv,Av=Function.prototype,Tv=Av.toString;function $v(e){if(e!=null){try{return Tv.call(e)}catch{}try{return e+""}catch{}}return""}var qc=$v,Nv=kc,Dv=Rv,Fv=zr,Lv=qc,jv=/[\\^$.*+?()[\]{}|]/g,Wv=/^\[object .+?Constructor\]$/,Hv=Function.prototype,Vv=Object.prototype,zv=Hv.toString,Uv=Vv.hasOwnProperty,Bv=RegExp("^"+zv.call(Uv).replace(jv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kv(e){if(!Fv(e)||Dv(e))return!1;var t=Nv(e)?Bv:Wv;return t.test(Lv(e))}var Gv=Kv;function kv(e,t){return e==null?void 0:e[t]}var Qv=kv,qv=Gv,Xv=Qv;function Yv(e,t){var r=Xv(e,t);return qv(r)?r:void 0}var Mt=Yv,Jv=Mt,Zv=ot,em=Jv(Zv,"Map"),Na=em,tm=Mt,rm=tm(Object,"create"),ti=rm,Xc=ti;function nm(){this.__data__=Xc?Xc(null):{},this.size=0}var im=nm;function am(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var om=am,sm=ti,um="__lodash_hash_undefined__",cm=Object.prototype,lm=cm.hasOwnProperty;function fm(e){var t=this.__data__;if(sm){var r=t[e];return r===um?void 0:r}return lm.call(t,e)?t[e]:void 0}var dm=fm,hm=ti,pm=Object.prototype,gm=pm.hasOwnProperty;function vm(e){var t=this.__data__;return hm?t[e]!==void 0:gm.call(t,e)}var mm=vm,ym=ti,bm="__lodash_hash_undefined__";function wm(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ym&&t===void 0?bm:t,this}var _m=wm,Om=im,Pm=om,xm=dm,Im=mm,Sm=_m;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}qt.prototype.clear=Om,qt.prototype.delete=Pm,qt.prototype.get=xm,qt.prototype.has=Im,qt.prototype.set=Sm;var Em=qt,Yc=Em,Cm=Zn,Mm=Na;function Rm(){this.size=0,this.__data__={hash:new Yc,map:new(Mm||Cm),string:new Yc}}var Am=Rm;function Tm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var $m=Tm,Nm=$m;function Dm(e,t){var r=e.__data__;return Nm(t)?r[typeof t=="string"?"string":"hash"]:r.map}var ri=Dm,Fm=ri;function Lm(e){var t=Fm(this,e).delete(e);return this.size-=t?1:0,t}var jm=Lm,Wm=ri;function Hm(e){return Wm(this,e).get(e)}var Vm=Hm,zm=ri;function Um(e){return zm(this,e).has(e)}var Bm=Um,Km=ri;function Gm(e,t){var r=Km(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var km=Gm,Qm=Am,qm=jm,Xm=Vm,Ym=Bm,Jm=km;function Xt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xt.prototype.clear=Qm,Xt.prototype.delete=qm,Xt.prototype.get=Xm,Xt.prototype.has=Ym,Xt.prototype.set=Jm;var Da=Xt,Zm=Zn,e0=Na,t0=Da,r0=200;function n0(e,t){var r=this.__data__;if(r instanceof Zm){var n=r.__data__;if(!e0||n.length<r0-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new t0(n)}return r.set(e,t),this.size=r.size,this}var i0=n0,a0=Zn,o0=Gg,s0=Qg,u0=Xg,c0=Jg,l0=i0;function Yt(e){var t=this.__data__=new a0(e);this.size=t.size}Yt.prototype.clear=o0,Yt.prototype.delete=s0,Yt.prototype.get=u0,Yt.prototype.has=c0,Yt.prototype.set=l0;var Jc=Yt,f0="__lodash_hash_undefined__";function d0(e){return this.__data__.set(e,f0),this}var h0=d0;function p0(e){return this.__data__.has(e)}var g0=p0,v0=Da,m0=h0,y0=g0;function ni(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new v0;++t<r;)this.add(e[t])}ni.prototype.add=ni.prototype.push=m0,ni.prototype.has=y0;var b0=ni;function w0(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var _0=w0;function O0(e,t){return e.has(t)}var P0=O0,x0=b0,I0=_0,S0=P0,E0=1,C0=2;function M0(e,t,r,n,i,a){var o=r&E0,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e),h=a.get(t);if(u&&h)return u==t&&h==e;var g=-1,y=!0,w=r&C0?new x0:void 0;for(a.set(e,t),a.set(t,e);++g<s;){var O=e[g],P=t[g];if(n)var p=o?n(P,O,g,t,e,a):n(O,P,g,e,t,a);if(p!==void 0){if(p)continue;y=!1;break}if(w){if(!I0(t,function(m,c){if(!S0(w,c)&&(O===m||i(O,m,r,n,a)))return w.push(c)})){y=!1;break}}else if(!(O===P||i(O,P,r,n,a))){y=!1;break}}return a.delete(e),a.delete(t),y}var Zc=M0,R0=ot,A0=R0.Uint8Array,T0=A0;function $0(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}var N0=$0;function D0(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var F0=D0,el=ei,tl=T0,L0=Ta,j0=Zc,W0=N0,H0=F0,V0=1,z0=2,U0="[object Boolean]",B0="[object Date]",K0="[object Error]",G0="[object Map]",k0="[object Number]",Q0="[object RegExp]",q0="[object Set]",X0="[object String]",Y0="[object Symbol]",J0="[object ArrayBuffer]",Z0="[object DataView]",rl=el?el.prototype:void 0,Fa=rl?rl.valueOf:void 0;function ey(e,t,r,n,i,a,o){switch(r){case Z0:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case J0:return!(e.byteLength!=t.byteLength||!a(new tl(e),new tl(t)));case U0:case B0:case k0:return L0(+e,+t);case K0:return e.name==t.name&&e.message==t.message;case Q0:case X0:return e==t+"";case G0:var s=W0;case q0:var l=n&V0;if(s||(s=H0),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;n|=z0,o.set(e,t);var h=j0(s(e),s(t),n,i,a,o);return o.delete(e),h;case Y0:if(Fa)return Fa.call(e)==Fa.call(t)}return!1}var ty=ey;function ry(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var nl=ry,ny=Array.isArray,mt=ny,iy=nl,ay=mt;function oy(e,t,r){var n=t(e);return ay(e)?n:iy(n,r(e))}var il=oy;function sy(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}var uy=sy;function cy(){return[]}var al=cy,ly=uy,fy=al,dy=Object.prototype,hy=dy.propertyIsEnumerable,ol=Object.getOwnPropertySymbols,py=ol?function(e){return e==null?[]:(e=Object(e),ly(ol(e),function(t){return hy.call(e,t)}))}:fy,sl=py;function gy(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var vy=gy;function my(e){return e!=null&&typeof e=="object"}var Ur=my,yy=Vr,by=Ur,wy="[object Arguments]";function _y(e){return by(e)&&yy(e)==wy}var Oy=_y,ul=Oy,Py=Ur,cl=Object.prototype,xy=cl.hasOwnProperty,Iy=cl.propertyIsEnumerable,Sy=ul(function(){return arguments}())?ul:function(e){return Py(e)&&xy.call(e,"callee")&&!Iy.call(e,"callee")},ll=Sy,ii={exports:{}};function Ey(){return!1}var Cy=Ey;(function(e,t){var r=ot,n=Cy,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;e.exports=u})(ii,ii.exports);var My=9007199254740991,Ry=/^(?:0|[1-9]\d*)$/;function Ay(e,t){var r=typeof e;return t=t==null?My:t,!!t&&(r=="number"||r!="symbol"&&Ry.test(e))&&e>-1&&e%1==0&&e<t}var La=Ay,Ty=9007199254740991;function $y(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ty}var ja=$y,Ny=Vr,Dy=ja,Fy=Ur,Ly="[object Arguments]",jy="[object Array]",Wy="[object Boolean]",Hy="[object Date]",Vy="[object Error]",zy="[object Function]",Uy="[object Map]",By="[object Number]",Ky="[object Object]",Gy="[object RegExp]",ky="[object Set]",Qy="[object String]",qy="[object WeakMap]",Xy="[object ArrayBuffer]",Yy="[object DataView]",Jy="[object Float32Array]",Zy="[object Float64Array]",e2="[object Int8Array]",t2="[object Int16Array]",r2="[object Int32Array]",n2="[object Uint8Array]",i2="[object Uint8ClampedArray]",a2="[object Uint16Array]",o2="[object Uint32Array]",ge={};ge[Jy]=ge[Zy]=ge[e2]=ge[t2]=ge[r2]=ge[n2]=ge[i2]=ge[a2]=ge[o2]=!0,ge[Ly]=ge[jy]=ge[Xy]=ge[Wy]=ge[Yy]=ge[Hy]=ge[Vy]=ge[zy]=ge[Uy]=ge[By]=ge[Ky]=ge[Gy]=ge[ky]=ge[Qy]=ge[qy]=!1;function s2(e){return Fy(e)&&Dy(e.length)&&!!ge[Ny(e)]}var u2=s2;function c2(e){return function(t){return e(t)}}var l2=c2,Wa={exports:{}};(function(e,t){var r=zc,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Wa,Wa.exports);var f2=u2,d2=l2,fl=Wa.exports,dl=fl&&fl.isTypedArray,h2=dl?d2(dl):f2,hl=h2,p2=vy,g2=ll,v2=mt,m2=ii.exports,y2=La,b2=hl,w2=Object.prototype,_2=w2.hasOwnProperty;function O2(e,t){var r=v2(e),n=!r&&g2(e),i=!r&&!n&&m2(e),a=!r&&!n&&!i&&b2(e),o=r||n||i||a,s=o?p2(e.length,String):[],l=s.length;for(var u in e)(t||_2.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||y2(u,l)))&&s.push(u);return s}var pl=O2,P2=Object.prototype;function x2(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||P2;return e===r}var gl=x2;function I2(e,t){return function(r){return e(t(r))}}var vl=I2,S2=vl,E2=S2(Object.keys,Object),C2=E2,M2=gl,R2=C2,A2=Object.prototype,T2=A2.hasOwnProperty;function $2(e){if(!M2(e))return R2(e);var t=[];for(var r in Object(e))T2.call(e,r)&&r!="constructor"&&t.push(r);return t}var N2=$2,D2=kc,F2=ja;function L2(e){return e!=null&&F2(e.length)&&!D2(e)}var ml=L2,j2=pl,W2=N2,H2=ml;function V2(e){return H2(e)?j2(e):W2(e)}var yl=V2,z2=il,U2=sl,B2=yl;function K2(e){return z2(e,B2,U2)}var G2=K2,bl=G2,k2=1,Q2=Object.prototype,q2=Q2.hasOwnProperty;function X2(e,t,r,n,i,a){var o=r&k2,s=bl(e),l=s.length,u=bl(t),h=u.length;if(l!=h&&!o)return!1;for(var g=l;g--;){var y=s[g];if(!(o?y in t:q2.call(t,y)))return!1}var w=a.get(e),O=a.get(t);if(w&&O)return w==t&&O==e;var P=!0;a.set(e,t),a.set(t,e);for(var p=o;++g<l;){y=s[g];var m=e[y],c=t[y];if(n)var f=o?n(c,m,y,t,e,a):n(m,c,y,e,t,a);if(!(f===void 0?m===c||i(m,c,r,n,a):f)){P=!1;break}p||(p=y=="constructor")}if(P&&!p){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!(typeof v=="function"&&v instanceof v&&typeof b=="function"&&b instanceof b)&&(P=!1)}return a.delete(e),a.delete(t),P}var Y2=X2,J2=Mt,Z2=ot,eb=J2(Z2,"DataView"),tb=eb,rb=Mt,nb=ot,ib=rb(nb,"Promise"),ab=ib,ob=Mt,sb=ot,ub=ob(sb,"Set"),cb=ub,lb=Mt,fb=ot,db=lb(fb,"WeakMap"),hb=db,Ha=tb,Va=Na,za=ab,Ua=cb,Ba=hb,wl=Vr,Jt=qc,_l="[object Map]",pb="[object Object]",Ol="[object Promise]",Pl="[object Set]",xl="[object WeakMap]",Il="[object DataView]",gb=Jt(Ha),vb=Jt(Va),mb=Jt(za),yb=Jt(Ua),bb=Jt(Ba),Rt=wl;(Ha&&Rt(new Ha(new ArrayBuffer(1)))!=Il||Va&&Rt(new Va)!=_l||za&&Rt(za.resolve())!=Ol||Ua&&Rt(new Ua)!=Pl||Ba&&Rt(new Ba)!=xl)&&(Rt=function(e){var t=wl(e),r=t==pb?e.constructor:void 0,n=r?Jt(r):"";if(n)switch(n){case gb:return Il;case vb:return _l;case mb:return Ol;case yb:return Pl;case bb:return xl}return t});var wb=Rt,Ka=Jc,_b=Zc,Ob=ty,Pb=Y2,Sl=wb,El=mt,Cl=ii.exports,xb=hl,Ib=1,Ml="[object Arguments]",Rl="[object Array]",ai="[object Object]",Sb=Object.prototype,Al=Sb.hasOwnProperty;function Eb(e,t,r,n,i,a){var o=El(e),s=El(t),l=o?Rl:Sl(e),u=s?Rl:Sl(t);l=l==Ml?ai:l,u=u==Ml?ai:u;var h=l==ai,g=u==ai,y=l==u;if(y&&Cl(e)){if(!Cl(t))return!1;o=!0,h=!1}if(y&&!h)return a||(a=new Ka),o||xb(e)?_b(e,t,r,n,i,a):Ob(e,t,l,r,n,i,a);if(!(r&Ib)){var w=h&&Al.call(e,"__wrapped__"),O=g&&Al.call(t,"__wrapped__");if(w||O){var P=w?e.value():e,p=O?t.value():t;return a||(a=new Ka),i(P,p,r,n,a)}}return y?(a||(a=new Ka),Pb(e,t,r,n,i,a)):!1}var Cb=Eb,Mb=Cb,Tl=Ur;function $l(e,t,r,n,i){return e===t?!0:e==null||t==null||!Tl(e)&&!Tl(t)?e!==e&&t!==t:Mb(e,t,r,n,$l,i)}var Nl=$l,Rb=Jc,Ab=Nl,Tb=1,$b=2;function Nb(e,t,r,n){var i=r.length,a=i,o=!n;if(e==null)return!a;for(e=Object(e);i--;){var s=r[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=r[i];var l=s[0],u=e[l],h=s[1];if(o&&s[2]){if(u===void 0&&!(l in e))return!1}else{var g=new Rb;if(n)var y=n(u,h,l,e,t,g);if(!(y===void 0?Ab(h,u,Tb|$b,n,g):y))return!1}}return!0}var Dl=Nb,Db=zr;function Fb(e){return e===e&&!Db(e)}var Fl=Fb,Lb=Fl,jb=yl;function Wb(e){for(var t=jb(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Lb(i)]}return t}var Ll=Wb;function Hb(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var jl=Hb,Vb=Dl,zb=Ll,Ub=jl;function Bb(e){var t=zb(e);return t.length==1&&t[0][2]?Ub(t[0][0],t[0][1]):function(r){return r===e||Vb(r,e,t)}}var Kb=Bb,Gb=Vr,kb=Ur,Qb="[object Symbol]";function qb(e){return typeof e=="symbol"||kb(e)&&Gb(e)==Qb}var Ga=qb,Xb=mt,Yb=Ga,Jb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zb=/^\w*$/;function ew(e,t){if(Xb(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Yb(e)?!0:Zb.test(e)||!Jb.test(e)||t!=null&&e in Object(t)}var ka=ew,Wl=Da,tw="Expected a function";function Qa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(tw);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Qa.Cache||Wl),r}Qa.Cache=Wl;var rw=Qa,nw=rw,iw=500;function aw(e){var t=nw(e,function(n){return r.size===iw&&r.clear(),n}),r=t.cache;return t}var ow=aw,sw=ow,uw=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cw=/\\(\\)?/g,lw=sw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(uw,function(r,n,i,a){t.push(i?a.replace(cw,"$1"):n||r)}),t}),fw=lw;function dw(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var Hl=dw,Vl=ei,hw=Hl,pw=mt,gw=Ga,vw=1/0,zl=Vl?Vl.prototype:void 0,Ul=zl?zl.toString:void 0;function Bl(e){if(typeof e=="string")return e;if(pw(e))return hw(e,Bl)+"";if(gw(e))return Ul?Ul.call(e):"";var t=e+"";return t=="0"&&1/e==-vw?"-0":t}var mw=Bl,yw=mw;function bw(e){return e==null?"":yw(e)}var ww=bw,_w=mt,Ow=ka,Pw=fw,xw=ww;function Iw(e,t){return _w(e)?e:Ow(e,t)?[e]:Pw(xw(e))}var oi=Iw,Sw=Ga,Ew=1/0;function Cw(e){if(typeof e=="string"||Sw(e))return e;var t=e+"";return t=="0"&&1/e==-Ew?"-0":t}var Br=Cw,Mw=oi,Rw=Br;function Aw(e,t){t=Mw(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Rw(t[r++])];return r&&r==n?e:void 0}var qa=Aw,Tw=qa;function $w(e,t,r){var n=e==null?void 0:Tw(e,t);return n===void 0?r:n}var Nw=$w;function Dw(e,t){return e!=null&&t in Object(e)}var Fw=Dw,Lw=oi,jw=ll,Ww=mt,Hw=La,Vw=ja,zw=Br;function Uw(e,t,r){t=Lw(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var o=zw(t[n]);if(!(a=e!=null&&r(e,o)))break;e=e[o]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&Vw(i)&&Hw(o,i)&&(Ww(e)||jw(e)))}var Bw=Uw,Kw=Fw,Gw=Bw;function kw(e,t){return e!=null&&Gw(e,t,Kw)}var Qw=kw,qw=Nl,Xw=Nw,Yw=Qw,Jw=ka,Zw=Fl,e_=jl,t_=Br,r_=1,n_=2;function i_(e,t){return Jw(e)&&Zw(t)?e_(t_(e),t):function(r){var n=Xw(r,e);return n===void 0&&n===t?Yw(r,e):qw(t,n,r_|n_)}}var a_=i_;function o_(e){return e}var s_=o_;function u_(e){return function(t){return t==null?void 0:t[e]}}var c_=u_,l_=qa;function f_(e){return function(t){return l_(t,e)}}var d_=f_,h_=c_,p_=d_,g_=ka,v_=Br;function m_(e){return g_(e)?h_(v_(e)):p_(e)}var y_=m_,b_=Kb,w_=a_,__=s_,O_=mt,P_=y_;function x_(e){return typeof e=="function"?e:e==null?__:typeof e=="object"?O_(e)?w_(e[0],e[1]):b_(e):P_(e)}var Kl=x_,I_="Expected a function";function S_(e){if(typeof e!="function")throw new TypeError(I_);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var E_=S_,C_=Mt,M_=function(){try{var e=C_(Object,"defineProperty");return e({},"",{}),e}catch{}}(),R_=M_,Gl=R_;function A_(e,t,r){t=="__proto__"&&Gl?Gl(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var T_=A_,$_=T_,N_=Ta,D_=Object.prototype,F_=D_.hasOwnProperty;function L_(e,t,r){var n=e[t];(!(F_.call(e,t)&&N_(n,r))||r===void 0&&!(t in e))&&$_(e,t,r)}var j_=L_,W_=j_,H_=oi,V_=La,kl=zr,z_=Br;function U_(e,t,r,n){if(!kl(e))return e;t=H_(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var l=z_(t[i]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=o){var h=s[l];u=n?n(h,l,s):void 0,u===void 0&&(u=kl(h)?h:V_(t[i+1])?[]:{})}W_(s,l,u),s=s[l]}return e}var B_=U_,K_=qa,G_=B_,k_=oi;function Q_(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=K_(e,o);r(s,o)&&G_(a,k_(o,e),s)}return a}var q_=Q_,X_=vl,Y_=X_(Object.getPrototypeOf,Object),J_=Y_,Z_=nl,eO=J_,tO=sl,rO=al,nO=Object.getOwnPropertySymbols,iO=nO?function(e){for(var t=[];e;)Z_(t,tO(e)),e=eO(e);return t}:rO,aO=iO;function oO(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var sO=oO,uO=zr,cO=gl,lO=sO,fO=Object.prototype,dO=fO.hasOwnProperty;function hO(e){if(!uO(e))return lO(e);var t=cO(e),r=[];for(var n in e)n=="constructor"&&(t||!dO.call(e,n))||r.push(n);return r}var pO=hO,gO=pl,vO=pO,mO=ml;function yO(e){return mO(e)?gO(e,!0):vO(e)}var bO=yO,wO=il,_O=aO,OO=bO;function PO(e){return wO(e,OO,_O)}var xO=PO,IO=Hl,SO=Kl,EO=q_,CO=xO;function MO(e,t){if(e==null)return{};var r=IO(CO(e),function(n){return[n]});return t=SO(t),EO(e,r,function(n,i){return t(n,i[0])})}var RO=MO,AO=Kl,TO=E_,$O=RO;function NO(e,t){return $O(e,TO(AO(t)))}var DO=NO,Pe={},Xa={};Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.ArrowAngleDown=LO;var Ql=FO(ue.default);function ql(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ql=function(){return e},e}function FO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=ql();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ya(){return Ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ya.apply(this,arguments)}function LO(e){return Ql.createElement("svg",Ya({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Ql.createElement("path",{d:"M52.8 75.1l46.1-44.9c1.5-1.4 1.5-3.8 0-5.4-1.5-1.4-4-1.4-5.5 0L50 67.1 6.6 24.8c-1.5-1.4-3.9-1.4-5.5 0-.7.7-1.1 1.8-1.1 2.7 0 .9.4 2 1.1 2.7l46.1 44.9c.7.7 1.8 1.1 2.8 1.1 1 .1 2-.4 2.8-1.1z"}))}var Ja={};Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.ArrowAngleLeft=WO;var Xl=jO(ue.default);function Yl(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Yl=function(){return e},e}function jO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Yl();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Za(){return Za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Za.apply(this,arguments)}function WO(e){return Xl.createElement("svg",Za({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Xl.createElement("path",{d:"M24.9 52.8l44.9 46.1c1.4 1.5 3.8 1.5 5.4 0 1.4-1.5 1.4-4 0-5.5L32.9 50 75.2 6.6c1.4-1.5 1.4-3.9 0-5.5C74.5.4 73.4 0 72.5 0s-2 .4-2.7 1.1L24.9 47.2c-.7.7-1.1 1.8-1.1 2.8s.4 2 1.1 2.8z"}))}var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.ArrowAngleRight=VO;var Jl=HO(ue.default);function Zl(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Zl=function(){return e},e}function HO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Zl();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function to(){return to=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},to.apply(this,arguments)}function VO(e){return Jl.createElement("svg",to({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Jl.createElement("path",{d:"M75.1 47.2l-44.9-46c-1.4-1.5-3.8-1.5-5.4 0-1.4 1.5-1.4 4 0 5.5L67.1 50 24.8 93.4c-1.4 1.5-1.4 3.9 0 5.5.7.7 1.8 1.1 2.7 1.1.9 0 2-.4 2.7-1.1l44.9-46.1c.7-.7 1.1-1.8 1.1-2.8s-.4-2-1.1-2.8z"}))}var ro={};Object.defineProperty(ro,"__esModule",{value:!0}),ro.ArrowAngleUp=UO;var ef=zO(ue.default);function tf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return tf=function(){return e},e}function zO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=tf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function no(){return no=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},no.apply(this,arguments)}function UO(e){return ef.createElement("svg",no({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),ef.createElement("path",{d:"M47.2 24.9l-46 44.9c-1.5 1.4-1.5 3.8 0 5.4 1.5 1.4 4 1.4 5.5 0L50 32.9l43.4 42.3c1.5 1.4 3.9 1.4 5.5 0 .7-.7 1.1-1.8 1.1-2.7s-.4-2-1.1-2.7L52.8 24.9c-.7-.7-1.8-1.1-2.8-1.1-1-.1-2 .4-2.8 1.1z"}))}var io={};Object.defineProperty(io,"__esModule",{value:!0}),io.ArrowDown=KO;var rf=BO(ue.default);function nf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return nf=function(){return e},e}function BO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=nf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function ao(){return ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ao.apply(this,arguments)}function KO(e){return rf.createElement("svg",ao({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),rf.createElement("path",{d:"M52.7 98.7l46-44.9c1.5-1.4 1.5-3.8 0-5.4-1.5-1.4-4-1.4-5.5 0L53.8 86.9V4.2c0-2.2-1.8-4-4-4s-4 1.8-4 4v82.6L6.5 48.4C5 47 2.6 47 1 48.4c-.7.7-1.1 1.8-1.1 2.7s.4 2 1.1 2.7l46.1 44.9c.7.7 1.8 1.1 2.8 1.1 1 .1 2-.4 2.8-1.1z"}))}var oo={};Object.defineProperty(oo,"__esModule",{value:!0}),oo.ArrowLeft=kO;var af=GO(ue.default);function of(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return of=function(){return e},e}function GO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=of();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function so(){return so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},so.apply(this,arguments)}function kO(e){return af.createElement("svg",so({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),af.createElement("path",{d:"M1.1 52.8l44.9 46c1.4 1.5 3.8 1.5 5.4 0 1.4-1.5 1.4-4 0-5.5L13 54h82.7c2.2 0 4-1.8 4-4s-1.8-4-4-4H13L51.4 6.6c1.4-1.5 1.4-3.9 0-5.5C50.7.4 49.6 0 48.7 0s-2 .4-2.7 1.1L1.1 47.2C.4 47.9 0 49 0 50c-.1 1 .4 2 1.1 2.8z"}))}var uo={};Object.defineProperty(uo,"__esModule",{value:!0}),uo.ArrowRight=qO;var sf=QO(ue.default);function uf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return uf=function(){return e},e}function QO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=uf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function co(){return co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},co.apply(this,arguments)}function qO(e){return sf.createElement("svg",co({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),sf.createElement("path",{d:"M98.6 47.2l-44.9-46c-1.4-1.5-3.8-1.5-5.4 0-1.4 1.5-1.4 4 0 5.5L86.7 46H4c-2.2 0-4 1.8-4 4s1.8 4 4 4h82.6L48.3 93.4c-1.4 1.5-1.4 3.9 0 5.5.7.7 1.8 1.1 2.7 1.1s2-.4 2.7-1.1l44.9-46.1c.7-.7 1.1-1.8 1.1-2.8.1-1-.4-2-1.1-2.8z"}))}var lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.ArrowUp=YO;var cf=XO(ue.default);function lf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return lf=function(){return e},e}function XO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=lf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function fo(){return fo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fo.apply(this,arguments)}function YO(e){return cf.createElement("svg",fo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),cf.createElement("path",{d:"M47 1.3L1 46.2C-.5 47.6-.5 50 1 51.6c1.5 1.4 4 1.4 5.5 0l39.3-38.4v82.7c0 2.2 1.8 4 4 4s4-1.8 4-4V13.2l39.4 38.4c1.5 1.4 3.9 1.4 5.5 0 .7-.7 1.1-1.8 1.1-2.7s-.4-2-1.1-2.7L52.6 1.3C51.9.6 50.8.2 49.8.2c-1-.1-2 .4-2.8 1.1z"}))}var ho={};Object.defineProperty(ho,"__esModule",{value:!0}),ho.Bell=ZO;var ff=JO(ue.default);function df(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return df=function(){return e},e}function JO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=df();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function po(){return po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},po.apply(this,arguments)}function ZO(e){return ff.createElement("svg",po({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),ff.createElement("path",{d:"M89.1 70.5c-6.3-5.3-9.9-13.1-9.9-21.4V37.5c0-14.7-10.9-26.8-25-28.8V4.2C54.2 1.9 52.3 0 50 0s-4.2 1.9-4.2 4.2v4.5c-14.1 2-25 14.2-25 28.8v11.6c0 8.2-3.6 16-10 21.4-1.6 1.4-2.5 3.4-2.5 5.5 0 4 3.3 7.3 7.3 7.3h68.8c4 0 7.3-3.3 7.3-7.3 0-2.1-1-4.1-2.6-5.5zM50 100c7.5 0 13.9-5.4 15.3-12.5H34.7C36.1 94.6 42.5 100 50 100z"}))}var go={};Object.defineProperty(go,"__esModule",{value:!0}),go.Close=t3;var hf=e3(ue.default);function pf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return pf=function(){return e},e}function e3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=pf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function vo(){return vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vo.apply(this,arguments)}function t3(e){return hf.createElement("svg",vo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),hf.createElement("path",{d:"M1 99c1.4 1.4 3.6 1.4 5.1 0L50 55.1 93.9 99c1.4 1.4 3.6 1.4 5.1 0 1.4-1.4 1.4-3.6 0-5.1L55 50 99 6.1c1.4-1.4 1.4-3.6 0-5.1-1.4-1.4-3.6-1.4-5.1 0L50 44.9 6.1 1C4.5-.2 2.4 0 1 1.5-.1 2.8-.1 4.8 1 6.1L44.9 50 1 93.9C-.3 95.3-.3 97.5 1 99z"}))}var mo={};Object.defineProperty(mo,"__esModule",{value:!0}),mo.EmojiHappy=n3;var si=r3(ue.default);function gf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return gf=function(){return e},e}function r3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=gf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function yo(){return yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yo.apply(this,arguments)}function n3(e){return si.createElement("svg",yo({xmlns:"http://www.w3.org/2000/svg",id:"prefix__Capa_1",x:0,y:0,fill:"currentColor",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em"},e),si.createElement("style",null,".prefix__st0{fill:#010101}"),si.createElement("path",{d:"M50 100c-13.4 0-25.9-5.2-35.4-14.6C5.2 75.9 0 63.4 0 50s5.2-25.9 14.6-35.4C24.1 5.2 36.7 0 50 0c10.1 0 19.8 3 28.2 8.7 1.3.9 1.7 2.7.8 4-.5.8-1.4 1.3-2.4 1.3-.6 0-1.1-.2-1.6-.5-7.4-5-16-7.7-24.9-7.7-11.8 0-22.9 4.6-31.3 13-8.4 8.3-13 19.4-13 31.2s4.6 22.9 12.9 31.3C27 89.6 38.1 94.2 50 94.2s22.9-4.6 31.3-12.9c15-15.1 17.2-38.7 5.2-56.3-.9-1.3-.6-3.1.7-4 .5-.3 1.1-.5 1.6-.5 1 0 1.8.5 2.4 1.3 13.6 19.8 11.1 46.6-5.9 63.6-9.4 9.4-22 14.6-35.3 14.6z",className:"prefix__st0"}),si.createElement("path",{d:"M83.2 20c-.6 0-1.1-.2-1.6-.5-1.1-.8-1.6-2.2-1.1-3.5.4-1.1 1.5-1.8 2.7-1.8h.2c1.2.1 2.3.9 2.6 2.1.3 1.1-.1 2.3-1 3-.6.5-1.2.7-1.8.7zM64.7 62.5c.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-4.4 4.4-10.3 6.9-16.6 6.9s-12.2-2.4-16.6-6.9c-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 3.3 3.3 7.8 5.2 12.5 5.2s9.2-1.8 12.5-5.2c.7-.5 1.4-.8 2.2-.8zM70.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9s5.1-1 6.9-2.9c.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.7 4.6-10.8 4.6zM30.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9s5.1-1 6.9-2.9c.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.6 4.6-10.8 4.6z",className:"prefix__st0"}))}var bo={};Object.defineProperty(bo,"__esModule",{value:!0}),bo.EmojiSad=a3;var ui=i3(ue.default);function vf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return vf=function(){return e},e}function i3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=vf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function wo(){return wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wo.apply(this,arguments)}function a3(e){return ui.createElement("svg",wo({xmlns:"http://www.w3.org/2000/svg",id:"prefix__Capa_1",x:0,y:0,fill:"currentColor",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em"},e),ui.createElement("style",null,".prefix__st0{fill:#010101}"),ui.createElement("path",{d:"M50 100c-13.4 0-25.9-5.2-35.4-14.6C5.2 75.9 0 63.4 0 50s5.2-25.9 14.6-35.4C24.1 5.2 36.7 0 50 0c10.1 0 19.8 3 28.2 8.7 1.3.9 1.7 2.7.8 4-.5.8-1.4 1.3-2.4 1.3-.6 0-1.1-.2-1.6-.5-7.4-5-16-7.7-24.9-7.7-11.8 0-22.9 4.6-31.3 13-8.4 8.3-13 19.4-13 31.2s4.6 22.9 12.9 31.3C27 89.6 38.1 94.2 50 94.2s22.9-4.6 31.3-12.9c15-15.1 17.2-38.7 5.2-56.3-.9-1.3-.6-3.1.7-4 .5-.3 1.1-.5 1.6-.5 1 0 1.8.5 2.4 1.3 13.6 19.8 11.1 46.6-5.9 63.6-9.4 9.4-22 14.6-35.3 14.6z",className:"prefix__st0"}),ui.createElement("path",{d:"M83.2 20c-.6 0-1.1-.2-1.6-.5-1.1-.8-1.6-2.2-1.1-3.5.4-1.1 1.5-1.8 2.7-1.8h.2c1.2.1 2.3.9 2.6 2.1.3 1.1-.1 2.3-1 3-.6.5-1.2.7-1.8.7zM35.5 74.3c-.8 0-1.5-.3-2-.8-1.1-1.1-1.1-3 0-4.1 4.4-4.4 10.3-6.9 16.6-6.9 6.3 0 12.2 2.4 16.6 6.9 1.1 1.1 1.1 3 0 4.1-.5.5-1.3.8-2 .8-.8 0-1.5-.3-2-.8-3.3-3.3-7.8-5.2-12.5-5.2s-9.2 1.8-12.5 5.2c-.7.5-1.4.8-2.2.8zM70.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9 2.6 0 5.1-1 6.9-2.9.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.7 4.6-10.8 4.6zM30.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9 2.6 0 5.1-1 6.9-2.9.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.6 4.6-10.8 4.6z",className:"prefix__st0"}))}var _o={};Object.defineProperty(_o,"__esModule",{value:!0}),_o.Filter=s3;var mf=o3(ue.default);function yf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return yf=function(){return e},e}function o3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=yf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Oo(){return Oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oo.apply(this,arguments)}function s3(e){return mf.createElement("svg",Oo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),mf.createElement("path",{d:"M96.4 17.4H42.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.6C1.6 17.4 0 19 0 21s1.7 3.6 3.6 3.6H21c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h53.7c2 0 3.6-1.7 3.6-3.6s-1.5-3.6-3.5-3.6zm-68.2 7.2v-7.2h7.2v7.2h-7.2zM96.4 46.4H71.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.7C1.6 46.4 0 48 0 50s1.7 3.6 3.6 3.6H50c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h24.7c2 0 3.6-1.7 3.6-3.6s-1.5-3.6-3.5-3.6zm-39.2 7.2v-7.2h7.2v7.2h-7.2zM96.4 75.4H42.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.6C1.6 75.4 0 77 0 79s1.7 3.6 3.6 3.6H21c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h53.7c2 0 3.6-1.7 3.6-3.6 0-2-1.5-3.6-3.5-3.6zm-68.2 7.2v-7.2h7.2v7.2h-7.2z"}))}var Po={};Object.defineProperty(Po,"__esModule",{value:!0}),Po.Help=c3;var bf=u3(ue.default);function wf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return wf=function(){return e},e}function u3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=wf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function xo(){return xo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xo.apply(this,arguments)}function c3(e){return bf.createElement("svg",xo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),bf.createElement("path",{d:"M50 6.5C74 6.5 93.5 26 93.5 50S74 93.5 50 93.5 6.5 74 6.5 50 26 6.5 50 6.5M50 0C22.4 0 0 22.4 0 50s22.4 50 50 50 50-22.4 50-50S77.6 0 50 0zm-1.4 64.1c-2.8 0-5 2.3-5 5.1 0 2.7 2.2 5.1 5 5.1s5.1-2.4 5.1-5.1c0-2.8-2.3-5.1-5.1-5.1zm.9-38.4c-8.9 0-13 5.3-13 8.8 0 2.6 2.2 3.8 3.9 3.8 3.6 0 2.1-5.1 8.8-5.1 3.3 0 5.9 1.4 5.9 4.5 0 3.6-3.7 5.6-5.9 7.4-1.9 1.6-4.4 4.3-4.4 10 0 3.4.9 4.4 3.6 4.4 3.2 0 3.9-1.4 3.9-2.7 0-3.4.1-5.4 3.7-8.2 1.8-1.4 7.4-5.9 7.4-12s-5.5-10.9-13.9-10.9z"}))}var Io={};Object.defineProperty(Io,"__esModule",{value:!0}),Io.Hotel=f3;var So=l3(ue.default);function _f(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return _f=function(){return e},e}function l3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_f();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Eo(){return Eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Eo.apply(this,arguments)}function f3(e){return So.createElement("svg",Eo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),So.createElement("path",{d:"M85 6.5c4.7 0 8.5 3.8 8.5 8.5v70c0 4.7-3.8 8.5-8.5 8.5H15c-4.7 0-8.5-3.8-8.5-8.5V15c0-4.7 3.8-8.5 8.5-8.5zM85 0H15C6.7 0 0 6.7 0 15v70c0 8.3 6.7 15 15 15h70c8.3 0 15-6.7 15-15V15c0-8.3-6.7-15-15-15z"}),So.createElement("path",{d:"M40.6 33.1v12.3h18.8V33.1c0-1.8.4-3.1 1.2-4s1.8-1.3 3.1-1.3 2.4.4 3.2 1.3 1.2 2.2 1.2 4v33.8c0 1.8-.4 3.1-1.2 4s-1.9 1.3-3.2 1.3-2.4-.4-3.1-1.3-1.2-2.2-1.2-4V52.5H40.6v14.4c0 1.8-.4 3.1-1.2 4s-1.9 1.3-3.2 1.3-2.4-.4-3.1-1.3c-.8-.9-1.2-2.2-1.2-4V33.1c0-1.8.4-3.1 1.2-4s1.8-1.3 3.1-1.3 2.4.4 3.2 1.3 1.2 2.2 1.2 4z"}))}var Co={};Object.defineProperty(Co,"__esModule",{value:!0}),Co.Info=h3;var Of=d3(ue.default);function Pf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Pf=function(){return e},e}function d3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Pf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Mo(){return Mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mo.apply(this,arguments)}function h3(e){return Of.createElement("svg",Mo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Of.createElement("path",{d:"M50 6.5C74 6.5 93.5 26 93.5 50S74 93.5 50 93.5 6.5 74 6.5 50 26 6.5 50 6.5M50 0C22.4 0 0 22.4 0 50s22.4 50 50 50 50-22.4 50-50S77.6 0 50 0zm0 41.2c-2.2 0-3.9 1.7-3.9 3.9v25.2c0 2.2 1.7 3.9 3.9 3.9s3.9-1.7 3.9-3.9V45.1c0-2.2-1.7-3.9-3.9-3.9zm0-15.3c2.9 0 5.3 2.4 5.3 5.3s-2.4 5.3-5.3 5.3-5.3-2.4-5.3-5.3 2.4-5.3 5.3-5.3z"}))}var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.List=g3;var xf=p3(ue.default);function If(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return If=function(){return e},e}function p3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=If();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ao(){return Ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ao.apply(this,arguments)}function g3(e){return xf.createElement("svg",Ao({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),xf.createElement("path",{d:"M96.2 15.1h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM96.2 43.9h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM96.2 72.8h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM-.1 15.1v7.2c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-3.9-3.2-7.2-7.2-7.2H7.1c-4 0-7.2 3.2-7.2 7.2zm14.4 7.1H7.1V15h7.2v7.2zM-.1 43.9v7.2c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-3.9-3.2-7.2-7.2-7.2H7.1c-4 0-7.2 3.2-7.2 7.2zm14.4 7.2H7.1v-7.2h7.2v7.2zM14.2 65.6H7c-3.9 0-7.2 3.2-7.2 7.2V80c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-4-3.2-7.2-7.2-7.2zm.1 14.3H7.1v-7.2h7.2v7.2z"}))}var To={};Object.defineProperty(To,"__esModule",{value:!0}),To.Lock=m3;var Sf=v3(ue.default);function Ef(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Ef=function(){return e},e}function v3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Ef();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function $o(){return $o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$o.apply(this,arguments)}function m3(e){return Sf.createElement("svg",$o({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Sf.createElement("path",{d:"M78.8 33.3H74v-9.5C74 10.7 63.3 0 50 0S26 10.7 26 23.8v9.5h-4.8c-5.3 0-9.6 4.3-9.6 9.5v47.6c0 5.2 4.3 9.5 9.6 9.5h57.7c5.3 0 9.6-4.3 9.6-9.5V42.9c0-5.3-4.4-9.6-9.7-9.6zM50 76.2c-5.3 0-9.6-4.3-9.6-9.5s4.3-9.5 9.6-9.5 9.6 4.3 9.6 9.5-4.3 9.5-9.6 9.5zm14.9-42.9H35.1v-9.5C35.1 15.7 41.8 9 50 9s14.9 6.6 14.9 14.8z"}))}var No={};Object.defineProperty(No,"__esModule",{value:!0}),No.Logout=b3;var Cf=y3(ue.default);function Mf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Mf=function(){return e},e}function y3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Mf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Do(){return Do=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Do.apply(this,arguments)}function b3(e){return Cf.createElement("svg",Do({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Cf.createElement("path",{d:"M68.3 12.1c-2.1-.9-4.6 0-5.5 2.2s0 4.6 2.2 5.5c13.6 5.9 22.5 19.3 22.5 34.4 0 20.7-16.8 37.5-37.5 37.5S12.5 74.9 12.5 54.2c0-15 8.9-28.5 22.5-34.4 2.1-.9 3.1-3.4 2.1-5.5-.9-2.1-3.4-3.1-5.5-2.1C15 19.4 4.1 35.8 4.1 54.2 4.2 79.5 24.7 100 50 100s45.8-20.5 45.8-45.8c0-18.4-10.9-34.8-27.5-42.1zM50 45.8c2.3 0 4.2-1.9 4.2-4.2V4.2C54.2 1.9 52.3 0 50 0s-4.2 1.9-4.2 4.2v37.5c0 2.3 1.9 4.1 4.2 4.1z"}))}var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.MapPin=_3;var Rf=w3(ue.default);function Af(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Af=function(){return e},e}function w3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Af();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Lo(){return Lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lo.apply(this,arguments)}function _3(e){return Rf.createElement("svg",Lo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Rf.createElement("path",{d:"M50 0C29.3 0 12.6 16.8 12.5 37.5c0 26.9 34.9 60.6 36.4 62 .6.6 1.5.6 2.2 0 1.4-1.4 36.4-35.1 36.4-62C87.4 16.8 70.7 0 50 0zm0 54.6c-9.5 0-17.2-7.7-17.2-17.2S40.5 20.2 50 20.2s17.2 7.7 17.2 17.2c0 9.6-7.7 17.2-17.2 17.2z"}))}var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.Menu=P3;var Tf=O3(ue.default);function $f(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return $f=function(){return e},e}function O3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=$f();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wo.apply(this,arguments)}function P3(e){return Tf.createElement("svg",Wo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Tf.createElement("path",{d:"M93.7 87.5H6.3c-3.5 0-6.3-2.8-6.3-6.3C0 77.8 2.8 75 6.3 75h87.5c3.5 0 6.3 2.8 6.3 6.3-.1 3.4-2.9 6.2-6.4 6.2zM93.7 56.2H6.3C2.8 56.2 0 53.5 0 50s2.8-6.3 6.3-6.3h87.5c3.5 0 6.3 2.8 6.3 6.3s-2.9 6.2-6.4 6.2zM93.7 25H6.3C2.8 25 0 22.2 0 18.7s2.8-6.3 6.3-6.3h87.5c3.5 0 6.3 2.8 6.3 6.3S97.2 25 93.7 25z"}))}var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.Minus=I3;var Nf=x3(ue.default);function Df(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Df=function(){return e},e}function x3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Df();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Vo(){return Vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vo.apply(this,arguments)}function I3(e){return Nf.createElement("svg",Vo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Nf.createElement("path",{d:"M3.6 53.6h92.8c2 0 3.5-1.6 3.6-3.6 0-2-1.6-3.5-3.6-3.6H3.6C1.7 46.4.1 48 0 50c0 2 1.6 3.5 3.6 3.6z"}))}var zo={};Object.defineProperty(zo,"__esModule",{value:!0}),zo.Plus=E3;var Ff=S3(ue.default);function Lf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Lf=function(){return e},e}function S3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Lf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Uo(){return Uo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uo.apply(this,arguments)}function E3(e){return Ff.createElement("svg",Uo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Ff.createElement("path",{d:"M0 50c0 2 1.6 3.5 3.6 3.6h42.8v42.8c0 2 1.6 3.5 3.6 3.6 2 0 3.5-1.6 3.6-3.6l-.1-42.9 42.8.1c2 0 3.5-1.6 3.6-3.6 0-2-1.6-3.5-3.6-3.6H53.6V3.3c-.3-2-1.9-3.3-4-3.3-1.7.1-3.1 1.6-3.3 3.3v43.1H3.6C1.7 46.4.1 48 0 50z"}))}var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.Search=M3;var jf=C3(ue.default);function Wf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Wf=function(){return e},e}function C3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Wf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ko(){return Ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ko.apply(this,arguments)}function M3(e){return jf.createElement("svg",Ko({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),jf.createElement("path",{d:"M98.8 92.9L70.3 64.5c5.5-6.8 8.8-15.5 8.8-24.9C79.2 17.8 61.4 0 39.6 0S0 17.8 0 39.6s17.8 39.6 39.6 39.6c9.4 0 18.1-3.3 24.9-8.8l28.4 28.4c.8.8 1.9 1.2 2.9 1.2 1.1 0 2.1-.4 2.9-1.2 1.7-1.6 1.7-4.3.1-5.9zM39.6 70.8c-17.2 0-31.2-14-31.2-31.2s14-31.2 31.2-31.2 31.2 14 31.2 31.2-14 31.2-31.2 31.2z"}))}var Go={};Object.defineProperty(Go,"__esModule",{value:!0}),Go.Tick=A3;var Hf=R3(ue.default);function Vf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Vf=function(){return e},e}function R3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Vf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function ko(){return ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ko.apply(this,arguments)}function A3(e){return Hf.createElement("svg",ko({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Hf.createElement("path",{d:"M98.5 14.7c-2-2-5.1-2-7.1 0L31.6 74.6l-23-23c-2-2-5.1-2-7.1 0s-2 5.1 0 7.1L28 85.3c2 2 5.1 2 7.1 0l63.4-63.4c2-2 2-5.2 0-7.2z"}))}var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.User=$3;var zf=T3(ue.default);function Uf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Uf=function(){return e},e}function T3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Uf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function qo(){return qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qo.apply(this,arguments)}function $3(e){return zf.createElement("svg",qo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),zf.createElement("path",{d:"M85.4 14.6C75.9 5.2 63.4 0 50 0S24.1 5.2 14.6 14.6 0 36.6 0 50s5.2 25.9 14.6 35.4S36.6 100 50 100s25.9-5.2 35.4-14.6S100 63.4 100 50s-5.2-25.9-14.6-35.4zM80 82.3c-1.6-5.6-4.7-10.7-9.1-14.7-2.7-2.4-5.8-4.4-9.1-5.7 6-3.9 9.9-10.6 9.9-18.2C71.8 31.7 62 22 50 22s-21.8 9.8-21.8 21.8c0 7.6 3.9 14.3 9.9 18.2-3.3 1.4-6.4 3.3-9.1 5.7-4.4 4-7.5 9.1-9.1 14.7-8.6-8.1-14-19.6-14-32.4C5.9 25.7 25.7 5.9 50 5.9S94.1 25.7 94.1 50c0 12.8-5.4 24.3-14.1 32.3z"}))}var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.World=D3;var Bf=N3(ue.default);function Kf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Kf=function(){return e},e}function N3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Kf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Yo(){return Yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yo.apply(this,arguments)}function D3(e){return Bf.createElement("svg",Yo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Bf.createElement("path",{d:"M50.1 100c27.5 0 50-22.5 50-50S77.6 0 50.1 0 .1 22.5.1 50s22.5 50 50 50zm14.8-8.4c2.8-3.6 5-7.9 6.6-12.3H83c-4.8 5.5-11 9.8-18.1 12.3zm22.6-18.2h-14c1.7-6.3 2.7-13.3 3-20.5h17.7c-.6 7.5-2.9 14.5-6.7 20.5zm0-46.8c3.8 6 6.2 13 6.7 20.5H76.4c-.2-7.3-1.2-14.2-3-20.5zm-4.4-5.9H71.6C70 16.4 67.8 12 65 8.4c7 2.5 13.2 6.8 18.1 12.3zM53 6.4c5.7 1.9 9.9 8.8 12.2 14.3H53zm0 20.2h14.3c1.9 6.2 3 13.2 3.2 20.5H53zm0 26.3h17.5c-.2 7.3-1.3 14.3-3.2 20.5H53zm0 26.4h12.2c-2.4 5.6-6.5 12.4-12.2 14.3zm-35.9 0h11.5c1.6 4.3 3.8 8.7 6.6 12.3-7-2.5-13.2-6.8-18.1-12.3zm30.1 14.3c-5.7-1.9-9.9-8.8-12.2-14.3h12.2zm0-20.2H32.8c-1.9-6.2-3-13.2-3.2-20.5h17.5v20.5zm0-26.3H29.6c.2-7.3 1.3-14.3 3.2-20.5h14.3v20.5zm0-40.7v14.3H34.9c2.4-5.6 6.5-12.4 12.3-14.3zm-11.9 2c-2.8 3.6-5 7.9-6.6 12.3H17.1c4.9-5.5 11.1-9.8 18.2-12.3zM12.7 26.6h14c-1.7 6.3-2.7 13.3-3 20.5H6.1c.5-7.5 2.8-14.5 6.6-20.5zM6.1 52.9h17.7c.2 7.3 1.2 14.2 3 20.5h-14c-3.9-6-6.2-13-6.7-20.5z"}))}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Xa;Object.keys(t).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===t[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return t[d]}})});var r=Ja;Object.keys(r).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===r[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return r[d]}})});var n=eo;Object.keys(n).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===n[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return n[d]}})});var i=ro;Object.keys(i).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===i[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return i[d]}})});var a=io;Object.keys(a).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===a[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return a[d]}})});var o=oo;Object.keys(o).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===o[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return o[d]}})});var s=uo;Object.keys(s).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===s[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return s[d]}})});var l=lo;Object.keys(l).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===l[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return l[d]}})});var u=ho;Object.keys(u).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===u[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return u[d]}})});var h=go;Object.keys(h).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===h[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return h[d]}})});var g=mo;Object.keys(g).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===g[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return g[d]}})});var y=bo;Object.keys(y).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===y[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return y[d]}})});var w=_o;Object.keys(w).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===w[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return w[d]}})});var O=Po;Object.keys(O).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===O[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return O[d]}})});var P=Io;Object.keys(P).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===P[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return P[d]}})});var p=Co;Object.keys(p).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===p[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return p[d]}})});var m=Ro;Object.keys(m).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===m[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return m[d]}})});var c=To;Object.keys(c).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===c[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return c[d]}})});var f=No;Object.keys(f).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===f[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return f[d]}})});var v=Fo;Object.keys(v).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===v[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return v[d]}})});var b=jo;Object.keys(b).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===b[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return b[d]}})});var I=Ho;Object.keys(I).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===I[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return I[d]}})});var R=zo;Object.keys(R).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===R[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return R[d]}})});var _=Bo;Object.keys(_).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===_[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return _[d]}})});var L=Go;Object.keys(L).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===L[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return L[d]}})});var A=Qo;Object.keys(A).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===A[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return A[d]}})});var B=Xo;Object.keys(B).forEach(function(d){d==="default"||d==="__esModule"||d in e&&e[d]===B[d]||Object.defineProperty(e,d,{enumerable:!0,get:function(){return B[d]}})})})(Pe);function F3(e,t){S.useEffect(()=>(document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}),[e])}var L3=Dl,j3=Ll;function W3(e,t){return e===t||L3(e,t,j3(t))}var H3=W3,Jo={},V3=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Gf="%[a-f0-9]{2}",kf=new RegExp(Gf,"gi"),Qf=new RegExp("("+Gf+")+","gi");function Zo(e,t){try{return decodeURIComponent(e.join(""))}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],Zo(r),Zo(n))}function z3(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(kf),r=1;r<t.length;r++)e=Zo(t,r).join(""),t=e.match(kf);return e}}function U3(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=Qf.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=z3(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Qf.exec(e)}t["%C2"]="\uFFFD";for(var i=Object.keys(t),a=0;a<i.length;a++){var o=i[a];e=e.replace(new RegExp(o,"g"),t[o])}return e}var B3=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return U3(e)}},K3=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},G3=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),a=0;a<n.length;a++){var o=n[a],s=e[o];(i?t.indexOf(o)!==-1:t(o,s,e))&&(r[o]=s)}return r};(function(e){const t=V3,r=B3,n=K3,i=G3,a=c=>c==null,o=Symbol("encodeFragmentIdentifier");function s(c){switch(c.arrayFormat){case"index":return f=>(v,b)=>{const I=v.length;return b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),"[",I,"]"].join("")]:[...v,[h(f,c),"[",h(I,c),"]=",h(b,c)].join("")]};case"bracket":return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),"[]"].join("")]:[...v,[h(f,c),"[]=",h(b,c)].join("")];case"colon-list-separator":return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),":list="].join("")]:[...v,[h(f,c),":list=",h(b,c)].join("")];case"comma":case"separator":case"bracket-separator":{const f=c.arrayFormat==="bracket-separator"?"[]=":"=";return v=>(b,I)=>I===void 0||c.skipNull&&I===null||c.skipEmptyString&&I===""?b:(I=I===null?"":I,b.length===0?[[h(v,c),f,h(I,c)].join("")]:[[b,h(I,c)].join(c.arrayFormatSeparator)])}default:return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,h(f,c)]:[...v,[h(f,c),"=",h(b,c)].join("")]}}function l(c){let f;switch(c.arrayFormat){case"index":return(v,b,I)=>{if(f=/\[(\d*)\]$/.exec(v),v=v.replace(/\[\d*\]$/,""),!f){I[v]=b;return}I[v]===void 0&&(I[v]={}),I[v][f[1]]=b};case"bracket":return(v,b,I)=>{if(f=/(\[\])$/.exec(v),v=v.replace(/\[\]$/,""),!f){I[v]=b;return}if(I[v]===void 0){I[v]=[b];return}I[v]=[].concat(I[v],b)};case"colon-list-separator":return(v,b,I)=>{if(f=/(:list)$/.exec(v),v=v.replace(/:list$/,""),!f){I[v]=b;return}if(I[v]===void 0){I[v]=[b];return}I[v]=[].concat(I[v],b)};case"comma":case"separator":return(v,b,I)=>{const R=typeof b=="string"&&b.includes(c.arrayFormatSeparator),_=typeof b=="string"&&!R&&g(b,c).includes(c.arrayFormatSeparator);b=_?g(b,c):b;const L=R||_?b.split(c.arrayFormatSeparator).map(A=>g(A,c)):b===null?b:g(b,c);I[v]=L};case"bracket-separator":return(v,b,I)=>{const R=/(\[\])$/.test(v);if(v=v.replace(/\[\]$/,""),!R){I[v]=b&&g(b,c);return}const _=b===null?[]:b.split(c.arrayFormatSeparator).map(L=>g(L,c));if(I[v]===void 0){I[v]=_;return}I[v]=[].concat(I[v],_)};default:return(v,b,I)=>{if(I[v]===void 0){I[v]=b;return}I[v]=[].concat(I[v],b)}}}function u(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function h(c,f){return f.encode?f.strict?t(c):encodeURIComponent(c):c}function g(c,f){return f.decode?r(c):c}function y(c){return Array.isArray(c)?c.sort():typeof c=="object"?y(Object.keys(c)).sort((f,v)=>Number(f)-Number(v)).map(f=>c[f]):c}function w(c){const f=c.indexOf("#");return f!==-1&&(c=c.slice(0,f)),c}function O(c){let f="";const v=c.indexOf("#");return v!==-1&&(f=c.slice(v)),f}function P(c){c=w(c);const f=c.indexOf("?");return f===-1?"":c.slice(f+1)}function p(c,f){return f.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):f.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function m(c,f){f=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},f),u(f.arrayFormatSeparator);const v=l(f),b=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return b;for(const I of c.split("&")){if(I==="")continue;let[R,_]=n(f.decode?I.replace(/\+/g," "):I,"=");_=_===void 0?null:["comma","separator","bracket-separator"].includes(f.arrayFormat)?_:g(_,f),v(g(R,f),_,b)}for(const I of Object.keys(b)){const R=b[I];if(typeof R=="object"&&R!==null)for(const _ of Object.keys(R))R[_]=p(R[_],f);else b[I]=p(R,f)}return f.sort===!1?b:(f.sort===!0?Object.keys(b).sort():Object.keys(b).sort(f.sort)).reduce((I,R)=>{const _=b[R];return Boolean(_)&&typeof _=="object"&&!Array.isArray(_)?I[R]=y(_):I[R]=_,I},Object.create(null))}e.extract=P,e.parse=m,e.stringify=(c,f)=>{if(!c)return"";f=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},f),u(f.arrayFormatSeparator);const v=_=>f.skipNull&&a(c[_])||f.skipEmptyString&&c[_]==="",b=s(f),I={};for(const _ of Object.keys(c))v(_)||(I[_]=c[_]);const R=Object.keys(I);return f.sort!==!1&&R.sort(f.sort),R.map(_=>{const L=c[_];return L===void 0?"":L===null?h(_,f):Array.isArray(L)?L.length===0&&f.arrayFormat==="bracket-separator"?h(_,f)+"[]":L.reduce(b(_),[]).join("&"):h(_,f)+"="+h(L,f)}).filter(_=>_.length>0).join("&")},e.parseUrl=(c,f)=>{f=Object.assign({decode:!0},f);const[v,b]=n(c,"#");return Object.assign({url:v.split("?")[0]||"",query:m(P(c),f)},f&&f.parseFragmentIdentifier&&b?{fragmentIdentifier:g(b,f)}:{})},e.stringifyUrl=(c,f)=>{f=Object.assign({encode:!0,strict:!0,[o]:!0},f);const v=w(c.url).split("?")[0]||"",b=e.extract(c.url),I=e.parse(b,{sort:!1}),R=Object.assign(I,c.query);let _=e.stringify(R,f);_&&(_=`?${_}`);let L=O(c.url);return c.fragmentIdentifier&&(L=`#${f[o]?h(c.fragmentIdentifier,f):c.fragmentIdentifier}`),`${v}${_}${L}`},e.pick=(c,f,v)=>{v=Object.assign({parseFragmentIdentifier:!0,[o]:!1},v);const{url:b,query:I,fragmentIdentifier:R}=e.parseUrl(c,v);return e.stringifyUrl({url:b,query:i(I,f),fragmentIdentifier:R},v)},e.exclude=(c,f,v)=>{const b=Array.isArray(f)?I=>!f.includes(I):(I,R)=>!f(I,R);return e.pick(c,b,v)}})(Jo);var es={exports:{}};/**
|
|
96
|
+
***************************************************************************** */var Rn=function(){return Rn=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Rn.apply(this,arguments)},Qp=function(e){return typeof e=="function"},qp=function(e){return Qp(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}]},Xp=function(e,t){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=qp(r),a=i[0],o=i[1],s=i[2],l=(s.use||[]).concat(t);return e(a,o,Rn(Rn({},s),{use:l}))}},Yp=function(e){return function(t,r,n){return n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)}},Wu=Xp(kp,Yp);const Jp=e=>fetch(e).then(t=>t.json());function Zp(e){const{data:t,error:r}=Wu(e,Jp);return{headerConfig:t,error:r}}let Xi=_r();const J=e=>wr(e,Xi);let Yi=_r();J.write=e=>wr(e,Yi);let An=_r();J.onStart=e=>wr(e,An);let Ji=_r();J.onFrame=e=>wr(e,Ji);let Zi=_r();J.onFinish=e=>wr(e,Zi);let jt=[];J.setTimeout=(e,t)=>{let r=J.now()+t,n=()=>{let a=jt.findIndex(o=>o.cancel==n);~a&&jt.splice(a,1),pt-=~a?1:0},i={time:r,handler:e,cancel:n};return jt.splice(Hu(r),0,i),pt+=1,Vu(),i};let Hu=e=>~(~jt.findIndex(t=>t.time>e)||~jt.length);J.cancel=e=>{An.delete(e),Ji.delete(e),Xi.delete(e),Yi.delete(e),Zi.delete(e)},J.sync=e=>{ta=!0,J.batchedUpdates(e),ta=!1},J.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...i){t=i,J.onStart(r)}return n.handler=e,n.cancel=()=>{An.delete(r),t=null},n};let ea=typeof window!="undefined"?window.requestAnimationFrame:()=>{};J.use=e=>ea=e,J.now=typeof performance!="undefined"?()=>performance.now():Date.now,J.batchedUpdates=e=>e(),J.catch=console.error,J.frameLoop="always",J.advance=()=>{J.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Uu()};let ht=-1,pt=0,ta=!1;function wr(e,t){ta?(t.delete(e),e(0)):(t.add(e),Vu())}function Vu(){ht<0&&(ht=0,J.frameLoop!=="demand"&&ea(zu))}function e1(){ht=-1}function zu(){~ht&&(ea(zu),J.batchedUpdates(Uu))}function Uu(){let e=ht;ht=J.now();let t=Hu(ht);t&&(Bu(jt.splice(0,t),r=>r.handler()),pt-=t),An.flush(),Xi.flush(e?Math.min(64,ht-e):16.667),Ji.flush(),Yi.flush(),Zi.flush(),pt||e1()}function _r(){let e=new Set,t=e;return{add(r){pt+=t==e&&!e.has(r)?1:0,e.add(r)},delete(r){return pt-=t==e&&e.has(r)?1:0,e.delete(r)},flush(r){t.size&&(e=new Set,pt-=t.size,Bu(t,n=>n(r)&&e.add(n)),pt+=e.size,t=e)}}}function Bu(e,t){e.forEach(r=>{try{t(r)}catch(n){J.catch(n)}})}function ra(){}const t1=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),$={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function at(e,t){if($.arr(e)){if(!$.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}const Y=(e,t)=>e.forEach(t);function Je(e,t,r){if($.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}const Te=e=>$.und(e)?[]:$.arr(e)?e:[e];function Or(e,t){if(e.size){const r=Array.from(e);e.clear(),Y(r,t)}}const Pr=(e,...t)=>Or(e,r=>r(...t)),Ku=()=>typeof window=="undefined"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let na,Gu,gt=null,ku=!1,ia=ra;var Ze=Object.freeze({__proto__:null,get createStringInterpolator(){return na},get to(){return Gu},get colors(){return gt},get skipAnimation(){return ku},get willAdvance(){return ia},assign:e=>{e.to&&(Gu=e.to),e.now&&(J.now=e.now),e.colors!==void 0&&(gt=e.colors),e.skipAnimation!=null&&(ku=e.skipAnimation),e.createStringInterpolator&&(na=e.createStringInterpolator),e.requestAnimationFrame&&J.use(e.requestAnimationFrame),e.batchedUpdates&&(J.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ia=e.willAdvance),e.frameLoop&&(J.frameLoop=e.frameLoop)}});const xr=new Set;let Ve=[],aa=[],Tn=0;const $n={get idle(){return!xr.size&&!Ve.length},start(e){Tn>e.priority?(xr.add(e),J.onStart(r1)):(Qu(e),J(oa))},advance:oa,sort(e){if(Tn)J.onFrame(()=>$n.sort(e));else{const t=Ve.indexOf(e);~t&&(Ve.splice(t,1),qu(e))}},clear(){Ve=[],xr.clear()}};function r1(){xr.forEach(Qu),xr.clear(),J(oa)}function Qu(e){Ve.includes(e)||qu(e)}function qu(e){Ve.splice(n1(Ve,t=>t.priority>e.priority),0,e)}function oa(e){const t=aa;for(let r=0;r<Ve.length;r++){const n=Ve[r];Tn=n.priority,n.idle||(ia(n),n.advance(e),n.idle||t.push(n))}return Tn=0,aa=Ve,aa.length=0,Ve=t,Ve.length>0}function n1(e,t){const r=e.findIndex(t);return r<0?e.length:r}const i1={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Ge="[-+]?\\d*\\.?\\d+",Nn=Ge+"%";function Dn(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const a1=new RegExp("rgb"+Dn(Ge,Ge,Ge)),o1=new RegExp("rgba"+Dn(Ge,Ge,Ge,Ge)),s1=new RegExp("hsl"+Dn(Ge,Nn,Nn)),u1=new RegExp("hsla"+Dn(Ge,Nn,Nn,Ge)),c1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,l1=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,f1=/^#([0-9a-fA-F]{6})$/,d1=/^#([0-9a-fA-F]{8})$/;function h1(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=f1.exec(e))?parseInt(t[1]+"ff",16)>>>0:gt&>[e]!==void 0?gt[e]:(t=a1.exec(e))?(Wt(t[1])<<24|Wt(t[2])<<16|Wt(t[3])<<8|255)>>>0:(t=o1.exec(e))?(Wt(t[1])<<24|Wt(t[2])<<16|Wt(t[3])<<8|Ju(t[4]))>>>0:(t=c1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=d1.exec(e))?parseInt(t[1],16)>>>0:(t=l1.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=s1.exec(e))?(Xu(Yu(t[1]),Fn(t[2]),Fn(t[3]))|255)>>>0:(t=u1.exec(e))?(Xu(Yu(t[1]),Fn(t[2]),Fn(t[3]))|Ju(t[4]))>>>0:null}function sa(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Xu(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,a=sa(i,n,e+1/3),o=sa(i,n,e),s=sa(i,n,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function Wt(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Yu(e){return(parseFloat(e)%360+360)%360/360}function Ju(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Fn(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Zu(e){let t=h1(e);if(t===null)return e;t=t||0;let r=(t&4278190080)>>>24,n=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${r}, ${n}, ${i}, ${a})`}const Ir=(e,t,r)=>{if($.fun(e))return e;if($.arr(e))return Ir({range:e,output:t,extrapolate:r});if($.str(e.output[0]))return na(e);const n=e,i=n.output,a=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(u=>u);return u=>{const h=g1(u,a);return p1(u,a[h],a[h+1],i[h],i[h+1],l,o,s,n.map)}};function p1(e,t,r,n,i,a,o,s,l){let u=l?l(e):e;if(u<t){if(o==="identity")return u;o==="clamp"&&(u=t)}if(u>r){if(s==="identity")return u;s==="clamp"&&(u=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?u=-u:r===1/0?u=u-t:u=(u-t)/(r-t),u=a(u),n===-1/0?u=-u:i===1/0?u=u+n:u=u*(i-n)+n,u)}function g1(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}function ua(){return ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ua.apply(this,arguments)}const Ht=Symbol.for("FluidValue.get"),Et=Symbol.for("FluidValue.observers"),ze=e=>Boolean(e&&e[Ht]),Ne=e=>e&&e[Ht]?e[Ht]():e,ec=e=>e[Et]||null;function v1(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Sr(e,t){let r=e[Et];r&&r.forEach(n=>{v1(n,t)})}class tc{constructor(t){if(this[Ht]=void 0,this[Et]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");m1(this,t)}}const m1=(e,t)=>rc(e,Ht,t);function Vt(e,t){if(e[Ht]){let r=e[Et];r||rc(e,Et,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function Er(e,t){let r=e[Et];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Et]=null,e.observerRemoved&&e.observerRemoved(n,t)}}const rc=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),Ln=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y1=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,nc=new RegExp(`(${Ln.source})(%|[a-z]+)`,"i"),b1=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,jn=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ic=e=>{const[t,r]=w1(e);if(!t||Ku())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||e}else{if(r&&jn.test(r))return ic(r);if(r)return r}return e},w1=e=>{const t=jn.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]};let ca;const _1=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,ac=e=>{ca||(ca=gt?new RegExp(`(${Object.keys(gt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>Ne(a).replace(jn,ic).replace(y1,Zu).replace(ca,Zu)),r=t.map(a=>a.match(Ln).map(Number)),i=r[0].map((a,o)=>r.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>Ir(ua({},e,{output:a})));return a=>{var o;const s=!nc.test(t[0])&&((o=t.find(u=>nc.test(u)))==null?void 0:o.replace(Ln,""));let l=0;return t[0].replace(Ln,()=>`${i[l++](a)}${s||""}`).replace(b1,_1)}},la="react-spring: ",oc=e=>{const t=e;let r=!1;if(typeof t!="function")throw new TypeError(`${la}once requires a function parameter`);return(...n)=>{r||(t(...n),r=!0)}},O1=oc(console.warn);function P1(){O1(`${la}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const x1=oc(console.warn);function I1(){x1(`${la}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Wn(e){return $.str(e)&&(e[0]=="#"||/\d/.test(e)||!Ku()&&jn.test(e)||e in(gt||{}))}const Hn=e=>S.useEffect(e,S1),S1=[];function fa(){const e=S.useState()[1],t=S.useState(E1)[0];return Hn(t.unmount),()=>{t.current&&e({})}}function E1(){const e={current:!0,unmount:()=>()=>{e.current=!1}};return e}function C1(e,t){const[r]=S.useState(()=>({inputs:t,result:e()})),n=S.useRef(),i=n.current;let a=i;return a?Boolean(t&&a.inputs&&M1(t,a.inputs))||(a={inputs:t,result:e()}):a=r,S.useEffect(()=>{n.current=a,i==r&&(r.inputs=r.result=void 0)},[a]),a.result}function M1(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function da(e){const t=S.useRef();return S.useEffect(()=>{t.current=e}),t.current}const zt=typeof window!="undefined"&&window.document&&window.document.createElement?ut.useLayoutEffect:ut.useEffect,Cr=Symbol.for("Animated:node"),R1=e=>!!e&&e[Cr]===e,et=e=>e&&e[Cr],ha=(e,t)=>t1(e,Cr,t),Vn=e=>e&&e[Cr]&&e[Cr].getPayload();class sc{constructor(){this.payload=void 0,ha(this,this)}getPayload(){return this.payload||[]}}class Ut extends sc{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,$.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new Ut(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,r){return $.num(t)&&(this.lastPosition=t,r&&(t=Math.round(t/r)*r,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,$.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class Bt extends Ut{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=Ir({output:[t,t]})}static create(t){return new Bt(t)}getValue(){let t=this._string;return t==null?this._string=this._toString(this._value):t}setValue(t){if($.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=Ir({output:[this.getValue(),t]})),this._value=0,super.reset()}}const zn={dependencies:null};class Un extends sc{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const r={};return Je(this.source,(n,i)=>{R1(n)?r[i]=n.getValue(t):ze(n)?r[i]=Ne(n):t||(r[i]=n)}),r}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&Y(this.payload,t=>t.reset())}_makePayload(t){if(t){const r=new Set;return Je(t,this._addToPayload,r),Array.from(r)}}_addToPayload(t){zn.dependencies&&ze(t)&&zn.dependencies.add(t);const r=Vn(t);r&&Y(r,n=>this.add(n))}}class pa extends Un{constructor(t){super(t)}static create(t){return new pa(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const r=this.getPayload();return t.length==r.length?r.map((n,i)=>n.setValue(t[i])).some(Boolean):(super.setValue(t.map(A1)),!0)}}function A1(e){return(Wn(e)?Bt:Ut).create(e)}function ga(e){const t=et(e);return t?t.constructor:$.arr(e)?pa:Wn(e)?Bt:Ut}function Bn(){return Bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bn.apply(this,arguments)}const uc=(e,t)=>{const r=!$.fun(e)||e.prototype&&e.prototype.isReactComponent;return S.forwardRef((n,i)=>{const a=S.useRef(null),o=r&&S.useCallback(w=>{a.current=N1(i,w)},[i]),[s,l]=$1(n,t),u=fa(),h=()=>{const w=a.current;if(r&&!w)return;(w?t.applyAnimatedValues(w,s.getValue(!0)):!1)===!1&&u()},g=new T1(h,l),y=S.useRef();zt(()=>{const w=y.current;y.current=g,Y(l,O=>Vt(O,g)),w&&(Y(w.deps,O=>Er(O,w)),J.cancel(w.update))}),S.useEffect(h,[]),Hn(()=>()=>{const w=y.current;Y(w.deps,O=>Er(O,w))});const P=t.getComponentProps(s.getValue());return ut.createElement(e,Bn({},P,{ref:o}))})};class T1{constructor(t,r){this.update=t,this.deps=r}eventObserved(t){t.type=="change"&&J.write(this.update)}}function $1(e,t){const r=new Set;return zn.dependencies=r,e.style&&(e=Bn({},e,{style:t.createAnimatedStyle(e.style)})),e=new Un(e),zn.dependencies=null,[e,r]}function N1(e,t){return e&&($.fun(e)?e(t):e.current=t),t}const cc=Symbol.for("AnimatedComponent"),D1=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=i=>new Un(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},a=o=>{const s=lc(o)||"Anonymous";return $.str(o)?o=a[o]||(a[o]=uc(o,i)):o=o[cc]||(o[cc]=uc(o,i)),o.displayName=`Animated(${s})`,o};return Je(e,(o,s)=>{$.arr(e)&&(s=lc(o)),a[s]=a(o)}),{animated:a}},lc=e=>$.str(e)?e:e&&$.str(e.displayName)?e.displayName:$.fun(e)&&e.name||null;function be(){return be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},be.apply(this,arguments)}function De(e,...t){return $.fun(e)?e(...t):e}const Mr=(e,t)=>e===!0||!!(t&&e&&($.fun(e)?e(t):Te(e).includes(t))),fc=(e,t)=>$.obj(e)?t&&e[t]:e,dc=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,F1=e=>e,Kn=(e,t=F1)=>{let r=L1;e.default&&e.default!==!0&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const a=t(e[i],i);$.und(a)||(n[i]=a)}return n},L1=["config","onProps","onStart","onChange","onPause","onResume","onRest"],j1={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function W1(e){const t={};let r=0;if(Je(e,(n,i)=>{j1[i]||(t[i]=n,r++)}),r)return t}function va(e){const t=W1(e);if(t){const r={to:t};return Je(e,(n,i)=>i in t||(r[i]=n)),r}return be({},e)}function Rr(e){return e=Ne(e),$.arr(e)?e.map(Rr):Wn(e)?Ze.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function hc(e){for(const t in e)return!0;return!1}function ma(e){return $.fun(e)||$.arr(e)&&$.obj(e[0])}function ya(e,t){var r;(r=e.ref)==null||r.delete(e),t==null||t.delete(e)}function pc(e,t){if(t&&e.ref!==t){var r;(r=e.ref)==null||r.delete(e),t.add(e),e.ref=t}}const Kt={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Gn=1.70158,kn=Gn*1.525,gc=Gn+1,vc=2*Math.PI/3,mc=2*Math.PI/4.5,Qn=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,H1={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>gc*e*e*e-Gn*e*e,easeOutBack:e=>1+gc*Math.pow(e-1,3)+Gn*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((kn+1)*2*e-kn)/2:(Math.pow(2*e-2,2)*((kn+1)*(e*2-2)+kn)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*vc),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*vc)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*mc))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*mc)/2+1,easeInBounce:e=>1-Qn(1-e),easeOutBounce:Qn,easeInOutBounce:e=>e<.5?(1-Qn(1-2*e))/2:(1+Qn(2*e-1))/2},ba=be({},Kt.default,{mass:1,damping:1,easing:H1.linear,clamp:!1});class V1{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,ba)}}function z1(e,t,r){r&&(r=be({},r),yc(r,t),t=be({},r,t)),yc(e,t),Object.assign(e,t);for(const o in ba)e[o]==null&&(e[o]=ba[o]);let{mass:n,frequency:i,damping:a}=e;return $.und(i)||(i<.01&&(i=.01),a<0&&(a=0),e.tension=Math.pow(2*Math.PI/i,2)*n,e.friction=4*Math.PI*a*n/i),e}function yc(e,t){if(!$.und(t.decay))e.duration=void 0;else{const r=!$.und(t.tension)||!$.und(t.friction);(r||!$.und(t.frequency)||!$.und(t.damping)||!$.und(t.mass))&&(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}}const bc=[];class U1{constructor(){this.changed=!1,this.values=bc,this.toValues=null,this.fromValues=bc,this.to=void 0,this.from=void 0,this.config=new V1,this.immediate=!1}}function wc(e,{key:t,props:r,defaultProps:n,state:i,actions:a}){return new Promise((o,s)=>{var l;let u,h,g=Mr((l=r.cancel)!=null?l:n==null?void 0:n.cancel,t);if(g)w();else{$.und(r.pause)||(i.paused=Mr(r.pause,t));let O=n==null?void 0:n.pause;O!==!0&&(O=i.paused||Mr(O,t)),u=De(r.delay||0,t),O?(i.resumeQueue.add(P),a.pause()):(a.resume(),P())}function y(){i.resumeQueue.add(P),i.timeouts.delete(h),h.cancel(),u=h.time-J.now()}function P(){u>0&&!Ze.skipAnimation?(i.delayed=!0,h=J.setTimeout(w,u),i.pauseQueue.add(y),i.timeouts.add(h)):w()}function w(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(y),i.timeouts.delete(h),e<=(i.cancelId||0)&&(g=!0);try{a.start(be({},r,{callId:e,cancel:g}),o)}catch(O){s(O)}}})}const wa=(e,t)=>t.length==1?t[0]:t.some(r=>r.cancelled)?Gt(e.get()):t.every(r=>r.noop)?_c(e.get()):ke(e.get(),t.every(r=>r.finished)),_c=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),ke=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),Gt=e=>({value:e,cancelled:!0,finished:!1});function Oc(e,t,r,n){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:l}=r;return!a&&e===s&&!t.reset?l:r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const u=Kn(t,(d,m)=>m==="onRest"?void 0:d);let h,g;const y=new Promise((d,m)=>(h=d,g=m)),P=d=>{const m=i<=(r.cancelId||0)&&Gt(n)||i!==r.asyncId&&ke(n,!1);if(m)throw d.result=m,g(d),d},w=(d,m)=>{const c=new Pc,f=new xc;return(async()=>{if(Ze.skipAnimation)throw Ar(r),f.result=ke(n,!1),g(f),f;P(c);const v=$.obj(d)?be({},d):be({},m,{to:d});v.parentId=i,Je(u,(I,R)=>{$.und(v[R])&&(v[R]=I)});const b=await n.start(v);return P(c),r.paused&&await new Promise(I=>{r.resumeQueue.add(I)}),b})()};let O;if(Ze.skipAnimation)return Ar(r),ke(n,!1);try{let d;$.arr(e)?d=(async m=>{for(const c of m)await w(c)})(e):d=Promise.resolve(e(w,n.stop.bind(n))),await Promise.all([d.then(h),y]),O=ke(n.get(),!0,!1)}catch(d){if(d instanceof Pc)O=d.result;else if(d instanceof xc)O=d.result;else throw d}finally{i==r.asyncId&&(r.asyncId=a,r.asyncTo=a?s:void 0,r.promise=a?l:void 0)}return $.fun(o)&&J.batchedUpdates(()=>{o(O,n,n.item)}),O})()}function Ar(e,t){Or(e.timeouts,r=>r.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class Pc extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class xc extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const _a=e=>e instanceof Oa;let B1=1;class Oa extends tc{constructor(...t){super(...t),this.id=B1++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=et(this);return t&&t.getValue()}to(...t){return Ze.to(this,t)}interpolate(...t){return P1(),Ze.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,r=!1){Sr(this,{type:"change",parent:this,value:t,idle:r})}_onPriorityChange(t){this.idle||$n.sort(this),Sr(this,{type:"priority",parent:this,priority:t})}}const Ct=Symbol.for("SpringPhase"),Ic=1,Pa=2,xa=4,Ia=e=>(e[Ct]&Ic)>0,vt=e=>(e[Ct]&Pa)>0,Tr=e=>(e[Ct]&xa)>0,Sc=(e,t)=>t?e[Ct]|=Pa|Ic:e[Ct]&=~Pa,Ec=(e,t)=>t?e[Ct]|=xa:e[Ct]&=~xa;class K1 extends Oa{constructor(t,r){if(super(),this.key=void 0,this.animation=new U1,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!$.und(t)||!$.und(r)){const n=$.obj(t)?be({},t):be({},r,{from:t});$.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(vt(this)||this._state.asyncTo)||Tr(this)}get goal(){return Ne(this.animation.to)}get velocity(){const t=et(this);return t instanceof Ut?t.lastVelocity||0:t.getPayload().map(r=>r.lastVelocity||0)}get hasAnimated(){return Ia(this)}get isAnimating(){return vt(this)}get isPaused(){return Tr(this)}get isDelayed(){return this._state.delayed}advance(t){let r=!0,n=!1;const i=this.animation;let{config:a,toValues:o}=i;const s=Vn(i.to);!s&&ze(i.to)&&(o=Te(Ne(i.to))),i.values.forEach((h,g)=>{if(h.done)return;const y=h.constructor==Bt?1:s?s[g].lastPosition:o[g];let P=i.immediate,w=y;if(!P){if(w=h.lastPosition,a.tension<=0){h.done=!0;return}let O=h.elapsedTime+=t;const d=i.fromValues[g],m=h.v0!=null?h.v0:h.v0=$.arr(a.velocity)?a.velocity[g]:a.velocity;let c;if($.und(a.duration))if(a.decay){const f=a.decay===!0?.998:a.decay,v=Math.exp(-(1-f)*O);w=d+m/(1-f)*(1-v),P=Math.abs(h.lastPosition-w)<.1,c=m*v}else{c=h.lastVelocity==null?m:h.lastVelocity;const f=a.precision||(d==y?.005:Math.min(1,Math.abs(y-d)*.001)),v=a.restVelocity||f/10,b=a.clamp?0:a.bounce,I=!$.und(b),R=d==y?h.v0>0:d<y;let _,L=!1;const A=1,B=Math.ceil(t/A);for(let p=0;p<B&&(_=Math.abs(c)>v,!(!_&&(P=Math.abs(y-w)<=f,P)));++p){I&&(L=w==y||w>y==R,L&&(c=-c*b,w=y));const U=-a.tension*1e-6*(w-y),H=-a.friction*.001*c,V=(U+H)/a.mass;c=c+V*A,w=w+c*A}}else{let f=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,h.durationProgress>0&&(h.elapsedTime=a.duration*h.durationProgress,O=h.elapsedTime+=t)),f=(a.progress||0)+O/this._memoizedDuration,f=f>1?1:f<0?0:f,h.durationProgress=f),w=d+a.easing(f)*(y-d),c=(w-h.lastPosition)/t,P=f==1}h.lastVelocity=c,Number.isNaN(w)&&(console.warn("Got NaN while animating:",this),P=!0)}s&&!s[g].done&&(P=!1),P?h.done=!0:r=!1,h.setValue(w,a.round)&&(n=!0)});const l=et(this),u=l.getValue();if(r){const h=Ne(i.to);(u!==h||n)&&!a.decay?(l.setValue(h),this._onChange(h)):n&&a.decay&&this._onChange(u),this._stop()}else n&&this._onChange(u)}set(t){return J.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(vt(this)){const{to:t,config:r}=this.animation;J.batchedUpdates(()=>{this._onStart(),r.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,r){let n;return $.und(t)?(n=this.queue||[],this.queue=[]):n=[$.obj(t)?t:be({},r,{to:t})],Promise.all(n.map(i=>this._update(i))).then(i=>wa(this,i))}stop(t){const{to:r}=this.animation;return this._focus(this.get()),Ar(this._state,t&&this._lastCallId),J.batchedUpdates(()=>this._stop(r,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const r=this.key||"";let{to:n,from:i}=t;n=$.obj(n)?n[r]:n,(n==null||ma(n))&&(n=void 0),i=$.obj(i)?i[r]:i,i==null&&(i=void 0);const a={to:n,from:i};return Ia(this)||(t.reverse&&([n,i]=[i,n]),i=Ne(i),$.und(i)?et(this)||this._set(n):this._set(i)),a}_update(t,r){let n=be({},t);const{key:i,defaultProps:a}=this;n.default&&Object.assign(a,Kn(n,(l,u)=>/^on/.test(u)?fc(l,i):l)),Rc(this,n,"onProps"),Dr(this,"onProps",n,this);const o=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const s=this._state;return wc(++this._lastCallId,{key:i,props:n,defaultProps:a,state:s,actions:{pause:()=>{Tr(this)||(Ec(this,!0),Pr(s.pauseQueue),Dr(this,"onPause",ke(this,$r(this,this.animation.to)),this))},resume:()=>{Tr(this)&&(Ec(this,!1),vt(this)&&this._resume(),Pr(s.resumeQueue),Dr(this,"onResume",ke(this,$r(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(l=>{if(n.loop&&l.finished&&!(r&&l.noop)){const u=Cc(n);if(u)return this._update(u,!0)}return l})}_merge(t,r,n){if(r.cancel)return this.stop(!0),n(Gt(this));const i=!$.und(t.to),a=!$.und(t.from);if(i||a)if(r.callId>this._lastToId)this._lastToId=r.callId;else return n(Gt(this));const{key:o,defaultProps:s,animation:l}=this,{to:u,from:h}=l;let{to:g=u,from:y=h}=t;a&&!i&&(!r.default||$.und(g))&&(g=y),r.reverse&&([g,y]=[y,g]);const P=!at(y,h);P&&(l.from=y),y=Ne(y);const w=!at(g,u);w&&this._focus(g);const O=ma(r.to),{config:d}=l,{decay:m,velocity:c}=d;(i||a)&&(d.velocity=0),r.config&&!O&&z1(d,De(r.config,o),r.config!==s.config?De(s.config,o):void 0);let f=et(this);if(!f||$.und(g))return n(ke(this,!0));const v=$.und(r.reset)?a&&!r.default:!$.und(y)&&Mr(r.reset,o),b=v?y:this.get(),I=Rr(g),R=$.num(I)||$.arr(I)||Wn(I),_=!O&&(!R||Mr(s.immediate||r.immediate,o));if(w){const p=ga(g);if(p!==f.constructor)if(_)f=this._set(I);else throw Error(`Cannot animate between ${f.constructor.name} and ${p.name}, as the "to" prop suggests`)}const L=f.constructor;let A=ze(g),B=!1;if(!A){const p=v||!Ia(this)&&P;(w||p)&&(B=at(Rr(b),I),A=!B),(!at(l.immediate,_)&&!_||!at(d.decay,m)||!at(d.velocity,c))&&(A=!0)}if(B&&vt(this)&&(l.changed&&!v?A=!0:A||this._stop(u)),!O&&((A||ze(u))&&(l.values=f.getPayload(),l.toValues=ze(g)?null:L==Bt?[1]:Te(I)),l.immediate!=_&&(l.immediate=_,!_&&!v&&this._set(u)),A)){const{onRest:p}=l;Y(k1,H=>Rc(this,r,H));const U=ke(this,$r(this,u));Pr(this._pendingCalls,U),this._pendingCalls.add(n),l.changed&&J.batchedUpdates(()=>{l.changed=!v,p==null||p(U,this),v?De(s.onRest,U):l.onStart==null||l.onStart(U,this)})}v&&this._set(b),O?n(Oc(r.to,r,this._state,this)):A?this._start():vt(this)&&!w?this._pendingCalls.add(n):n(_c(b))}_focus(t){const r=this.animation;t!==r.to&&(ec(this)&&this._detach(),r.to=t,ec(this)&&this._attach())}_attach(){let t=0;const{to:r}=this.animation;ze(r)&&(Vt(r,this),_a(r)&&(t=r.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;ze(t)&&Er(t,this)}_set(t,r=!0){const n=Ne(t);if(!$.und(n)){const i=et(this);if(!i||!at(n,i.getValue())){const a=ga(n);!i||i.constructor!=a?ha(this,a.create(n)):i.setValue(n),i&&J.batchedUpdates(()=>{this._onChange(n,r)})}}return et(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,Dr(this,"onStart",ke(this,$r(this,t.to)),this))}_onChange(t,r){r||(this._onStart(),De(this.animation.onChange,t,this)),De(this.defaultProps.onChange,t,this),super._onChange(t,r)}_start(){const t=this.animation;et(this).reset(Ne(t.to)),t.immediate||(t.fromValues=t.values.map(r=>r.lastPosition)),vt(this)||(Sc(this,!0),Tr(this)||this._resume())}_resume(){Ze.skipAnimation?this.finish():$n.start(this)}_stop(t,r){if(vt(this)){Sc(this,!1);const n=this.animation;Y(n.values,a=>{a.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Sr(this,{type:"idle",parent:this});const i=r?Gt(this.get()):ke(this.get(),$r(this,t!=null?t:n.to));Pr(this._pendingCalls,i),n.changed&&(n.changed=!1,Dr(this,"onRest",i,this))}}}function $r(e,t){const r=Rr(t),n=Rr(e.get());return at(n,r)}function Cc(e,t=e.loop,r=e.to){let n=De(t);if(n){const i=n!==!0&&va(n),a=(i||e).reverse,o=!i||i.reset;return Nr(be({},e,{loop:t,default:!1,pause:void 0,to:!a||ma(r)?r:void 0,from:o?e.from:void 0,reset:o},i))}}function Nr(e){const{to:t,from:r}=e=va(e),n=new Set;return $.obj(t)&&Mc(t,n),$.obj(r)&&Mc(r,n),e.keys=n.size?Array.from(n):null,e}function G1(e){const t=Nr(e);return $.und(t.default)&&(t.default=Kn(t)),t}function Mc(e,t){Je(e,(r,n)=>r!=null&&t.add(n))}const k1=["onStart","onRest","onChange","onPause","onResume"];function Rc(e,t,r){e.animation[r]=t[r]!==dc(t,r)?fc(t[r],e.key):void 0}function Dr(e,t,...r){var n,i,a,o;(n=(i=e.animation)[t])==null||n.call(i,...r),(a=(o=e.defaultProps)[t])==null||a.call(o,...r)}const Q1=["onStart","onChange","onRest"];let q1=1;class Ac{constructor(t,r){this.id=q1++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),r&&(this._flush=r),t&&this.start(be({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((r,n)=>t[n]=r.get()),t}set(t){for(const r in t){const n=t[r];$.und(n)||this.springs[r].set(n)}}update(t){return t&&this.queue.push(Nr(t)),this}start(t){let{queue:r}=this;return t?r=Te(t).map(Nr):this.queue=[],this._flush?this._flush(this,r):(Fc(this,r),Sa(this,r))}stop(t,r){if(t!==!!t&&(r=t),r){const n=this.springs;Y(Te(r),i=>n[i].stop(!!t))}else Ar(this._state,this._lastAsyncId),this.each(n=>n.stop(!!t));return this}pause(t){if($.und(t))this.start({pause:!0});else{const r=this.springs;Y(Te(t),n=>r[n].pause())}return this}resume(t){if($.und(t))this.start({pause:!1});else{const r=this.springs;Y(Te(t),n=>r[n].resume())}return this}each(t){Je(this.springs,t)}_onFrame(){const{onStart:t,onChange:r,onRest:n}=this._events,i=this._active.size>0,a=this._changed.size>0;(i&&!this._started||a&&!this._started)&&(this._started=!0,Or(t,([l,u])=>{u.value=this.get(),l(u,this,this._item)}));const o=!i&&this._started,s=a||o&&n.size?this.get():null;a&&r.size&&Or(r,([l,u])=>{u.value=s,l(u,this,this._item)}),o&&(this._started=!1,Or(n,([l,u])=>{u.value=s,l(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;J.onFrame(this._onFrame)}}function Sa(e,t){return Promise.all(t.map(r=>Tc(e,r))).then(r=>wa(e,r))}async function Tc(e,t,r){const{keys:n,to:i,from:a,loop:o,onRest:s,onResolve:l}=t,u=$.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const h=$.arr(i)||$.fun(i)?i:void 0;h?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):Y(Q1,O=>{const d=t[O];if($.fun(d)){const m=e._events[O];t[O]=({finished:c,cancelled:f})=>{const v=m.get(d);v?(c||(v.finished=!1),f&&(v.cancelled=!0)):m.set(d,{value:null,finished:c||!1,cancelled:f||!1})},u&&(u[O]=t[O])}});const g=e._state;t.pause===!g.paused?(g.paused=t.pause,Pr(t.pause?g.pauseQueue:g.resumeQueue)):g.paused&&(t.pause=!0);const y=(n||Object.keys(e.springs)).map(O=>e.springs[O].start(t)),P=t.cancel===!0||dc(t,"cancel")===!0;(h||P&&g.asyncId)&&y.push(wc(++e._lastAsyncId,{props:t,state:g,actions:{pause:ra,resume:ra,start(O,d){P?(Ar(g,e._lastAsyncId),d(Gt(e))):(O.onRest=s,d(Oc(h,O,g,e)))}}})),g.paused&&await new Promise(O=>{g.resumeQueue.add(O)});const w=wa(e,await Promise.all(y));if(o&&w.finished&&!(r&&w.noop)){const O=Cc(t,o,i);if(O)return Fc(e,[O]),Tc(e,O,!0)}return l&&J.batchedUpdates(()=>l(w,e,e.item)),w}function Ea(e,t){const r=be({},e.springs);return t&&Y(Te(t),n=>{$.und(n.keys)&&(n=Nr(n)),$.obj(n.to)||(n=be({},n,{to:void 0})),Dc(r,n,i=>Nc(i))}),$c(e,r),r}function $c(e,t){Je(t,(r,n)=>{e.springs[n]||(e.springs[n]=r,Vt(r,e))})}function Nc(e,t){const r=new K1;return r.key=e,t&&Vt(r,t),r}function Dc(e,t,r){t.keys&&Y(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function Fc(e,t){Y(t,r=>{Dc(e.springs,r,n=>Nc(n,e))})}function X1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const Y1=["children"],Fr=e=>{let{children:t}=e,r=X1(e,Y1);const n=S.useContext(qn),i=r.pause||!!n.pause,a=r.immediate||!!n.immediate;r=C1(()=>({pause:i,immediate:a}),[i,a]);const{Provider:o}=qn;return ut.createElement(o,{value:r},t)},qn=J1(Fr,{});Fr.Provider=qn.Provider,Fr.Consumer=qn.Consumer;function J1(e,t){return Object.assign(e,ut.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}const Lc=()=>{const e=[],t=function(i){I1();const a=[];return Y(e,(o,s)=>{if($.und(i))a.push(o.start());else{const l=r(i,o,s);l&&a.push(o.start(l))}}),a};t.current=e,t.add=function(n){e.includes(n)||e.push(n)},t.delete=function(n){const i=e.indexOf(n);~i&&e.splice(i,1)},t.pause=function(){return Y(e,n=>n.pause(...arguments)),this},t.resume=function(){return Y(e,n=>n.resume(...arguments)),this},t.set=function(n){Y(e,i=>i.set(n))},t.start=function(n){const i=[];return Y(e,(a,o)=>{if($.und(n))i.push(a.start());else{const s=this._getProps(n,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return Y(e,n=>n.stop(...arguments)),this},t.update=function(n){return Y(e,(i,a)=>i.update(this._getProps(n,i,a))),this};const r=function(i,a,o){return $.fun(i)?i(o,a):i};return t._getProps=r,t};function Z1(e,t,r){const n=$.fun(t)&&t;n&&!r&&(r=[]);const i=S.useMemo(()=>n||arguments.length==3?Lc():void 0,[]),a=S.useRef(0),o=fa(),s=S.useMemo(()=>({ctrls:[],queue:[],flush(m,c){const f=Ea(m,c);return a.current>0&&!s.queue.length&&!Object.keys(f).some(b=>!m.springs[b])?Sa(m,c):new Promise(b=>{$c(m,f),s.queue.push(()=>{b(Sa(m,c))}),o()})}}),[]),l=S.useRef([...s.ctrls]),u=[],h=da(e)||0;S.useMemo(()=>{Y(l.current.slice(e,h),m=>{ya(m,i),m.stop(!0)}),l.current.length=e,g(h,e)},[e]),S.useMemo(()=>{g(0,Math.min(h,e))},r);function g(m,c){for(let f=m;f<c;f++){const v=l.current[f]||(l.current[f]=new Ac(null,s.flush)),b=n?n(f,v):t[f];b&&(u[f]=G1(b))}}const y=l.current.map((m,c)=>Ea(m,u[c])),P=S.useContext(Fr),w=da(P),O=P!==w&&hc(P);zt(()=>{a.current++,s.ctrls=l.current;const{queue:m}=s;m.length&&(s.queue=[],Y(m,c=>c())),Y(l.current,(c,f)=>{i==null||i.add(c),O&&c.start({default:P});const v=u[f];v&&(pc(c,v.ref),c.ref?c.queue.push(v):c.start(v))})}),Hn(()=>()=>{Y(s.ctrls,m=>m.stop(!0))});const d=y.map(m=>be({},m));return i?[d,i]:d}function eg(e,t){const r=$.fun(e),[[n],i]=Z1(1,r?e:[e],r?t||[]:t);return r||arguments.length==2?[n,i]:n}let $e;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})($e||($e={}));function Lr(e,t,r){const n=$.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:h,config:g}=n?n():t,y=S.useMemo(()=>n||arguments.length==3?Lc():void 0,[]),P=Te(e),w=[],O=S.useRef(null),d=i?null:O.current;zt(()=>{O.current=w}),Hn(()=>()=>{Y(O.current,H=>{H.expired&&clearTimeout(H.expirationId),ya(H.ctrl,y),H.ctrl.stop(!0)})});const m=rg(P,n?n():t,d),c=i&&O.current||[];zt(()=>Y(c,({ctrl:H,item:V,key:ae})=>{ya(H,y),De(u,V,ae)}));const f=[];if(d&&Y(d,(H,V)=>{H.expired?(clearTimeout(H.expirationId),c.push(H)):(V=f[V]=m.indexOf(H.key),~V&&(w[V]=H))}),Y(P,(H,V)=>{w[V]||(w[V]={key:m[V],item:H,phase:$e.MOUNT,ctrl:new Ac},w[V].ctrl.item=H)}),f.length){let H=-1;const{leave:V}=n?n():t;Y(f,(ae,oe)=>{const q=d[oe];~ae?(H=w.indexOf(q),w[H]=be({},q,{item:P[ae]})):V&&w.splice(++H,0,q)})}$.fun(a)&&w.sort((H,V)=>a(H.item,V.item));let v=-o;const b=fa(),I=Kn(t),R=new Map,_=S.useRef(new Map),L=S.useRef(!1);Y(w,(H,V)=>{const ae=H.key,oe=H.phase,q=n?n():t;let ce,ee,x=De(q.delay||0,ae);if(oe==$e.MOUNT)ce=q.enter,ee=$e.ENTER;else{const D=m.indexOf(ae)<0;if(oe!=$e.LEAVE)if(D)ce=q.leave,ee=$e.LEAVE;else if(ce=q.update)ee=$e.UPDATE;else return;else if(!D)ce=q.enter,ee=$e.ENTER;else return}if(ce=De(ce,H.item,V),ce=$.obj(ce)?va(ce):{to:ce},!ce.config){const D=g||I.config;ce.config=De(D,H.item,V,ee)}v+=o;const C=be({},I,{delay:x+v,ref:h,immediate:q.immediate,reset:!1},ce);if(ee==$e.ENTER&&$.und(C.from)){const D=n?n():t,k=$.und(D.initial)||d?D.from:D.initial;C.from=De(k,H.item,V)}const{onResolve:E}=C;C.onResolve=D=>{De(E,D);const k=O.current,j=k.find(z=>z.key===ae);if(!!j&&!(D.cancelled&&j.phase!=$e.UPDATE)&&j.ctrl.idle){const z=k.every(F=>F.ctrl.idle);if(j.phase==$e.LEAVE){const F=De(s,j.item);if(F!==!1){const W=F===!0?0:F;if(j.expired=!0,!z&&W>0){W<=2147483647&&(j.expirationId=setTimeout(b,W));return}}}z&&k.some(F=>F.expired)&&(_.current.delete(j),l&&(L.current=!0),b())}};const T=Ea(H.ctrl,C);ee===$e.LEAVE&&l?_.current.set(H,{phase:ee,springs:T,payload:C}):R.set(H,{phase:ee,springs:T,payload:C})});const A=S.useContext(Fr),B=da(A),p=A!==B&&hc(A);zt(()=>{p&&Y(w,H=>{H.ctrl.start({default:A})})},[A]),Y(R,(H,V)=>{if(_.current.size){const ae=w.findIndex(oe=>oe.key===V.key);w.splice(ae,1)}}),zt(()=>{Y(_.current.size?_.current:R,({phase:H,payload:V},ae)=>{const{ctrl:oe}=ae;ae.phase=H,y==null||y.add(oe),p&&H==$e.ENTER&&oe.start({default:A}),V&&(pc(oe,V.ref),oe.ref&&!L.current?oe.update(V):(oe.start(V),L.current&&(L.current=!1)))})},i?void 0:r);const U=H=>ut.createElement(ut.Fragment,null,w.map((V,ae)=>{const{springs:oe}=R.get(V)||V.ctrl,q=H(be({},oe),V.item,V,ae);return q&&q.type?ut.createElement(q.type,be({},q.props,{key:$.str(V.key)||$.num(V.key)?V.key:V.ctrl.id,ref:q.ref})):q}));return y?[U,y]:U}let tg=1;function rg(e,{key:t,keys:r=t},n){if(r===null){const i=new Set;return e.map(a=>{const o=n&&n.find(s=>s.item===a&&s.phase!==$e.LEAVE&&!i.has(s));return o?(i.add(o),o.key):tg++})}return $.und(r)?e:$.fun(r)?e.map(r):Te(r)}class ng extends Oa{constructor(t,r){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=Ir(...r);const n=this._get(),i=ga(n);ha(this,i.create(n))}advance(t){const r=this._get(),n=this.get();at(r,n)||(et(this).setValue(r),this._onChange(r,this.idle)),!this.idle&&jc(this._active)&&Ca(this)}_get(){const t=$.arr(this.source)?this.source.map(Ne):Te(Ne(this.source));return this.calc(...t)}_start(){this.idle&&!jc(this._active)&&(this.idle=!1,Y(Vn(this),t=>{t.done=!1}),Ze.skipAnimation?(J.batchedUpdates(()=>this.advance()),Ca(this)):$n.start(this))}_attach(){let t=1;Y(Te(this.source),r=>{ze(r)&&Vt(r,this),_a(r)&&(r.idle||this._active.add(r),t=Math.max(t,r.priority+1))}),this.priority=t,this._start()}_detach(){Y(Te(this.source),t=>{ze(t)&&Er(t,this)}),this._active.clear(),Ca(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=Te(this.source).reduce((r,n)=>Math.max(r,(_a(n)?n.priority:0)+1),0))}}function ig(e){return e.idle!==!1}function jc(e){return!e.size||Array.from(e).every(ig)}function Ca(e){e.idle||(e.idle=!0,Y(Vn(e),t=>{t.done=!0}),Sr(e,{type:"idle",parent:e}))}Ze.assign({createStringInterpolator:ac,to:(e,t)=>new ng(e,t)});function Ma(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}const ag=["style","children","scrollTop","scrollLeft"],Wc=/^--/;function og(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Wc.test(e)&&!(jr.hasOwnProperty(e)&&jr[e])?t+"px":(""+t).trim()}const Hc={};function sg(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",n=t,{style:i,children:a,scrollTop:o,scrollLeft:s}=n,l=Ma(n,ag),u=Object.values(l),h=Object.keys(l).map(g=>r||e.hasAttribute(g)?g:Hc[g]||(Hc[g]=g.replace(/([A-Z])/g,y=>"-"+y.toLowerCase())));a!==void 0&&(e.textContent=a);for(let g in i)if(i.hasOwnProperty(g)){const y=og(g,i[g]);Wc.test(g)?e.style.setProperty(g,y):e.style[g]=y}h.forEach((g,y)=>{e.setAttribute(g,u[y])}),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s)}let jr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const ug=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),cg=["Webkit","Ms","Moz","O"];jr=Object.keys(jr).reduce((e,t)=>(cg.forEach(r=>e[ug(r,t)]=e[t]),e),jr);const lg=["x","y","z"],fg=/^(matrix|translate|scale|rotate|skew)/,dg=/^(translate)/,hg=/^(rotate|skew)/,Ra=(e,t)=>$.num(e)&&e!==0?e+t:e,Xn=(e,t)=>$.arr(e)?e.every(r=>Xn(r,t)):$.num(e)?e===t:parseFloat(e)===t;class pg extends Un{constructor(t){let{x:r,y:n,z:i}=t,a=Ma(t,lg);const o=[],s=[];(r||n||i)&&(o.push([r||0,n||0,i||0]),s.push(l=>[`translate3d(${l.map(u=>Ra(u,"px")).join(",")})`,Xn(l,0)])),Je(a,(l,u)=>{if(u==="transform")o.push([l||""]),s.push(h=>[h,h===""]);else if(fg.test(u)){if(delete a[u],$.und(l))return;const h=dg.test(u)?"px":hg.test(u)?"deg":"";o.push(Te(l)),s.push(u==="rotate3d"?([g,y,P,w])=>[`rotate3d(${g},${y},${P},${Ra(w,h)})`,Xn(w,0)]:g=>[`${u}(${g.map(y=>Ra(y,h)).join(",")})`,Xn(g,u.startsWith("scale")?1:0)])}}),o.length&&(a.transform=new gg(o,s)),super(a)}}class gg extends tc{constructor(t,r){super(),this._value=null,this.inputs=t,this.transforms=r}get(){return this._value||(this._value=this._get())}_get(){let t="",r=!0;return Y(this.inputs,(n,i)=>{const a=Ne(n[0]),[o,s]=this.transforms[i]($.arr(a)?a:n.map(Ne));t+=" "+o,r=r&&s}),r?"none":t}observerAdded(t){t==1&&Y(this.inputs,r=>Y(r,n=>ze(n)&&Vt(n,this)))}observerRemoved(t){t==0&&Y(this.inputs,r=>Y(r,n=>ze(n)&&Er(n,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Sr(this,t)}}const vg=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],mg=["scrollTop","scrollLeft"];Ze.assign({batchedUpdates:Ce.unstable_batchedUpdates,createStringInterpolator:ac,colors:i1});const kt=D1(vg,{applyAnimatedValues:sg,createAnimatedStyle:e=>new pg(e),getComponentProps:e=>Ma(e,mg)}).animated;function yg(){const{product:e}=ie(o=>o.titleBar),{isOpen:t,isMobileOrTablet:r}=ie(o=>o.headerInfo),n=Lr(!r||!t,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0},config:Kt.stiff});if(!e)return null;const{href:i,name:a}=e;return M("div",{className:"col-auto me-auto me-lg-0 py-2 py-lg-0 order-lg-2",id:"hd-logo",children:n((o,s)=>s&&Z(kt.a,{title:"home",href:i,style:o,children:[M("span",{className:"me-1 hd-brand",children:"Bookassist"}),M("strong",{className:"hd-product",children:a})]}))})}let Wr=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,r)=>(r&=63,r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r>62?t+="-":t+="_",t),"");/*! js-cookie v3.0.1 | MIT */function Yn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var bg={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Aa(e,t){function r(i,a,o){if(typeof document!="undefined"){o=Yn({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in o)!o[l]||(s+="; "+l,o[l]!==!0&&(s+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+s}}function n(i){if(!(typeof document=="undefined"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},s=0;s<a.length;s++){var l=a[s].split("="),u=l.slice(1).join("=");try{var h=decodeURIComponent(l[0]);if(o[h]=e.read(u,h),i===h)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",Yn({},a,{expires:-1}))},withAttributes:function(i){return Aa(this.converter,Yn({},this.attributes,i))},withConverter:function(i){return Aa(Yn({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Vc=Aa(bg,{path:"/"});function wg(){this.__data__=[],this.size=0}var _g=wg;function Og(e,t){return e===t||e!==e&&t!==t}var Ta=Og,Pg=Ta;function xg(e,t){for(var r=e.length;r--;)if(Pg(e[r][0],t))return r;return-1}var Jn=xg,Ig=Jn,Sg=Array.prototype,Eg=Sg.splice;function Cg(e){var t=this.__data__,r=Ig(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Eg.call(t,r,1),--this.size,!0}var Mg=Cg,Rg=Jn;function Ag(e){var t=this.__data__,r=Rg(t,e);return r<0?void 0:t[r][1]}var Tg=Ag,$g=Jn;function Ng(e){return $g(this.__data__,e)>-1}var Dg=Ng,Fg=Jn;function Lg(e,t){var r=this.__data__,n=Fg(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var jg=Lg,Wg=_g,Hg=Mg,Vg=Tg,zg=Dg,Ug=jg;function Qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Qt.prototype.clear=Wg,Qt.prototype.delete=Hg,Qt.prototype.get=Vg,Qt.prototype.has=zg,Qt.prototype.set=Ug;var Zn=Qt,Bg=Zn;function Kg(){this.__data__=new Bg,this.size=0}var Gg=Kg;function kg(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var Qg=kg;function qg(e){return this.__data__.get(e)}var Xg=qg;function Yg(e){return this.__data__.has(e)}var Jg=Yg,Zg=typeof nt=="object"&&nt&&nt.Object===Object&&nt,zc=Zg,ev=zc,tv=typeof self=="object"&&self&&self.Object===Object&&self,rv=ev||tv||Function("return this")(),ot=rv,nv=ot,iv=nv.Symbol,ei=iv,Uc=ei,Bc=Object.prototype,av=Bc.hasOwnProperty,ov=Bc.toString,Hr=Uc?Uc.toStringTag:void 0;function sv(e){var t=av.call(e,Hr),r=e[Hr];try{e[Hr]=void 0;var n=!0}catch{}var i=ov.call(e);return n&&(t?e[Hr]=r:delete e[Hr]),i}var uv=sv,cv=Object.prototype,lv=cv.toString;function fv(e){return lv.call(e)}var dv=fv,Kc=ei,hv=uv,pv=dv,gv="[object Null]",vv="[object Undefined]",Gc=Kc?Kc.toStringTag:void 0;function mv(e){return e==null?e===void 0?vv:gv:Gc&&Gc in Object(e)?hv(e):pv(e)}var Vr=mv;function yv(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var zr=yv,bv=Vr,wv=zr,_v="[object AsyncFunction]",Ov="[object Function]",Pv="[object GeneratorFunction]",xv="[object Proxy]";function Iv(e){if(!wv(e))return!1;var t=bv(e);return t==Ov||t==Pv||t==_v||t==xv}var kc=Iv,Sv=ot,Ev=Sv["__core-js_shared__"],Cv=Ev,$a=Cv,Qc=function(){var e=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Mv(e){return!!Qc&&Qc in e}var Rv=Mv,Av=Function.prototype,Tv=Av.toString;function $v(e){if(e!=null){try{return Tv.call(e)}catch{}try{return e+""}catch{}}return""}var qc=$v,Nv=kc,Dv=Rv,Fv=zr,Lv=qc,jv=/[\\^$.*+?()[\]{}|]/g,Wv=/^\[object .+?Constructor\]$/,Hv=Function.prototype,Vv=Object.prototype,zv=Hv.toString,Uv=Vv.hasOwnProperty,Bv=RegExp("^"+zv.call(Uv).replace(jv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Kv(e){if(!Fv(e)||Dv(e))return!1;var t=Nv(e)?Bv:Wv;return t.test(Lv(e))}var Gv=Kv;function kv(e,t){return e==null?void 0:e[t]}var Qv=kv,qv=Gv,Xv=Qv;function Yv(e,t){var r=Xv(e,t);return qv(r)?r:void 0}var Mt=Yv,Jv=Mt,Zv=ot,em=Jv(Zv,"Map"),Na=em,tm=Mt,rm=tm(Object,"create"),ti=rm,Xc=ti;function nm(){this.__data__=Xc?Xc(null):{},this.size=0}var im=nm;function am(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var om=am,sm=ti,um="__lodash_hash_undefined__",cm=Object.prototype,lm=cm.hasOwnProperty;function fm(e){var t=this.__data__;if(sm){var r=t[e];return r===um?void 0:r}return lm.call(t,e)?t[e]:void 0}var dm=fm,hm=ti,pm=Object.prototype,gm=pm.hasOwnProperty;function vm(e){var t=this.__data__;return hm?t[e]!==void 0:gm.call(t,e)}var mm=vm,ym=ti,bm="__lodash_hash_undefined__";function wm(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ym&&t===void 0?bm:t,this}var _m=wm,Om=im,Pm=om,xm=dm,Im=mm,Sm=_m;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}qt.prototype.clear=Om,qt.prototype.delete=Pm,qt.prototype.get=xm,qt.prototype.has=Im,qt.prototype.set=Sm;var Em=qt,Yc=Em,Cm=Zn,Mm=Na;function Rm(){this.size=0,this.__data__={hash:new Yc,map:new(Mm||Cm),string:new Yc}}var Am=Rm;function Tm(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var $m=Tm,Nm=$m;function Dm(e,t){var r=e.__data__;return Nm(t)?r[typeof t=="string"?"string":"hash"]:r.map}var ri=Dm,Fm=ri;function Lm(e){var t=Fm(this,e).delete(e);return this.size-=t?1:0,t}var jm=Lm,Wm=ri;function Hm(e){return Wm(this,e).get(e)}var Vm=Hm,zm=ri;function Um(e){return zm(this,e).has(e)}var Bm=Um,Km=ri;function Gm(e,t){var r=Km(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var km=Gm,Qm=Am,qm=jm,Xm=Vm,Ym=Bm,Jm=km;function Xt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xt.prototype.clear=Qm,Xt.prototype.delete=qm,Xt.prototype.get=Xm,Xt.prototype.has=Ym,Xt.prototype.set=Jm;var Da=Xt,Zm=Zn,e0=Na,t0=Da,r0=200;function n0(e,t){var r=this.__data__;if(r instanceof Zm){var n=r.__data__;if(!e0||n.length<r0-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new t0(n)}return r.set(e,t),this.size=r.size,this}var i0=n0,a0=Zn,o0=Gg,s0=Qg,u0=Xg,c0=Jg,l0=i0;function Yt(e){var t=this.__data__=new a0(e);this.size=t.size}Yt.prototype.clear=o0,Yt.prototype.delete=s0,Yt.prototype.get=u0,Yt.prototype.has=c0,Yt.prototype.set=l0;var Jc=Yt,f0="__lodash_hash_undefined__";function d0(e){return this.__data__.set(e,f0),this}var h0=d0;function p0(e){return this.__data__.has(e)}var g0=p0,v0=Da,m0=h0,y0=g0;function ni(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new v0;++t<r;)this.add(e[t])}ni.prototype.add=ni.prototype.push=m0,ni.prototype.has=y0;var b0=ni;function w0(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var _0=w0;function O0(e,t){return e.has(t)}var P0=O0,x0=b0,I0=_0,S0=P0,E0=1,C0=2;function M0(e,t,r,n,i,a){var o=r&E0,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e),h=a.get(t);if(u&&h)return u==t&&h==e;var g=-1,y=!0,P=r&C0?new x0:void 0;for(a.set(e,t),a.set(t,e);++g<s;){var w=e[g],O=t[g];if(n)var d=o?n(O,w,g,t,e,a):n(w,O,g,e,t,a);if(d!==void 0){if(d)continue;y=!1;break}if(P){if(!I0(t,function(m,c){if(!S0(P,c)&&(w===m||i(w,m,r,n,a)))return P.push(c)})){y=!1;break}}else if(!(w===O||i(w,O,r,n,a))){y=!1;break}}return a.delete(e),a.delete(t),y}var Zc=M0,R0=ot,A0=R0.Uint8Array,T0=A0;function $0(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}var N0=$0;function D0(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var F0=D0,el=ei,tl=T0,L0=Ta,j0=Zc,W0=N0,H0=F0,V0=1,z0=2,U0="[object Boolean]",B0="[object Date]",K0="[object Error]",G0="[object Map]",k0="[object Number]",Q0="[object RegExp]",q0="[object Set]",X0="[object String]",Y0="[object Symbol]",J0="[object ArrayBuffer]",Z0="[object DataView]",rl=el?el.prototype:void 0,Fa=rl?rl.valueOf:void 0;function ey(e,t,r,n,i,a,o){switch(r){case Z0:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case J0:return!(e.byteLength!=t.byteLength||!a(new tl(e),new tl(t)));case U0:case B0:case k0:return L0(+e,+t);case K0:return e.name==t.name&&e.message==t.message;case Q0:case X0:return e==t+"";case G0:var s=W0;case q0:var l=n&V0;if(s||(s=H0),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;n|=z0,o.set(e,t);var h=j0(s(e),s(t),n,i,a,o);return o.delete(e),h;case Y0:if(Fa)return Fa.call(e)==Fa.call(t)}return!1}var ty=ey;function ry(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var nl=ry,ny=Array.isArray,mt=ny,iy=nl,ay=mt;function oy(e,t,r){var n=t(e);return ay(e)?n:iy(n,r(e))}var il=oy;function sy(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}var uy=sy;function cy(){return[]}var al=cy,ly=uy,fy=al,dy=Object.prototype,hy=dy.propertyIsEnumerable,ol=Object.getOwnPropertySymbols,py=ol?function(e){return e==null?[]:(e=Object(e),ly(ol(e),function(t){return hy.call(e,t)}))}:fy,sl=py;function gy(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var vy=gy;function my(e){return e!=null&&typeof e=="object"}var Ur=my,yy=Vr,by=Ur,wy="[object Arguments]";function _y(e){return by(e)&&yy(e)==wy}var Oy=_y,ul=Oy,Py=Ur,cl=Object.prototype,xy=cl.hasOwnProperty,Iy=cl.propertyIsEnumerable,Sy=ul(function(){return arguments}())?ul:function(e){return Py(e)&&xy.call(e,"callee")&&!Iy.call(e,"callee")},ll=Sy,ii={exports:{}};function Ey(){return!1}var Cy=Ey;(function(e,t){var r=ot,n=Cy,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,s=o?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;e.exports=u})(ii,ii.exports);var My=9007199254740991,Ry=/^(?:0|[1-9]\d*)$/;function Ay(e,t){var r=typeof e;return t=t==null?My:t,!!t&&(r=="number"||r!="symbol"&&Ry.test(e))&&e>-1&&e%1==0&&e<t}var La=Ay,Ty=9007199254740991;function $y(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ty}var ja=$y,Ny=Vr,Dy=ja,Fy=Ur,Ly="[object Arguments]",jy="[object Array]",Wy="[object Boolean]",Hy="[object Date]",Vy="[object Error]",zy="[object Function]",Uy="[object Map]",By="[object Number]",Ky="[object Object]",Gy="[object RegExp]",ky="[object Set]",Qy="[object String]",qy="[object WeakMap]",Xy="[object ArrayBuffer]",Yy="[object DataView]",Jy="[object Float32Array]",Zy="[object Float64Array]",e2="[object Int8Array]",t2="[object Int16Array]",r2="[object Int32Array]",n2="[object Uint8Array]",i2="[object Uint8ClampedArray]",a2="[object Uint16Array]",o2="[object Uint32Array]",ge={};ge[Jy]=ge[Zy]=ge[e2]=ge[t2]=ge[r2]=ge[n2]=ge[i2]=ge[a2]=ge[o2]=!0,ge[Ly]=ge[jy]=ge[Xy]=ge[Wy]=ge[Yy]=ge[Hy]=ge[Vy]=ge[zy]=ge[Uy]=ge[By]=ge[Ky]=ge[Gy]=ge[ky]=ge[Qy]=ge[qy]=!1;function s2(e){return Fy(e)&&Dy(e.length)&&!!ge[Ny(e)]}var u2=s2;function c2(e){return function(t){return e(t)}}var l2=c2,Wa={exports:{}};(function(e,t){var r=zc,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||o&&o.binding&&o.binding("util")}catch{}}();e.exports=s})(Wa,Wa.exports);var f2=u2,d2=l2,fl=Wa.exports,dl=fl&&fl.isTypedArray,h2=dl?d2(dl):f2,hl=h2,p2=vy,g2=ll,v2=mt,m2=ii.exports,y2=La,b2=hl,w2=Object.prototype,_2=w2.hasOwnProperty;function O2(e,t){var r=v2(e),n=!r&&g2(e),i=!r&&!n&&m2(e),a=!r&&!n&&!i&&b2(e),o=r||n||i||a,s=o?p2(e.length,String):[],l=s.length;for(var u in e)(t||_2.call(e,u))&&!(o&&(u=="length"||i&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||y2(u,l)))&&s.push(u);return s}var pl=O2,P2=Object.prototype;function x2(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||P2;return e===r}var gl=x2;function I2(e,t){return function(r){return e(t(r))}}var vl=I2,S2=vl,E2=S2(Object.keys,Object),C2=E2,M2=gl,R2=C2,A2=Object.prototype,T2=A2.hasOwnProperty;function $2(e){if(!M2(e))return R2(e);var t=[];for(var r in Object(e))T2.call(e,r)&&r!="constructor"&&t.push(r);return t}var N2=$2,D2=kc,F2=ja;function L2(e){return e!=null&&F2(e.length)&&!D2(e)}var ml=L2,j2=pl,W2=N2,H2=ml;function V2(e){return H2(e)?j2(e):W2(e)}var yl=V2,z2=il,U2=sl,B2=yl;function K2(e){return z2(e,B2,U2)}var G2=K2,bl=G2,k2=1,Q2=Object.prototype,q2=Q2.hasOwnProperty;function X2(e,t,r,n,i,a){var o=r&k2,s=bl(e),l=s.length,u=bl(t),h=u.length;if(l!=h&&!o)return!1;for(var g=l;g--;){var y=s[g];if(!(o?y in t:q2.call(t,y)))return!1}var P=a.get(e),w=a.get(t);if(P&&w)return P==t&&w==e;var O=!0;a.set(e,t),a.set(t,e);for(var d=o;++g<l;){y=s[g];var m=e[y],c=t[y];if(n)var f=o?n(c,m,y,t,e,a):n(m,c,y,e,t,a);if(!(f===void 0?m===c||i(m,c,r,n,a):f)){O=!1;break}d||(d=y=="constructor")}if(O&&!d){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!(typeof v=="function"&&v instanceof v&&typeof b=="function"&&b instanceof b)&&(O=!1)}return a.delete(e),a.delete(t),O}var Y2=X2,J2=Mt,Z2=ot,eb=J2(Z2,"DataView"),tb=eb,rb=Mt,nb=ot,ib=rb(nb,"Promise"),ab=ib,ob=Mt,sb=ot,ub=ob(sb,"Set"),cb=ub,lb=Mt,fb=ot,db=lb(fb,"WeakMap"),hb=db,Ha=tb,Va=Na,za=ab,Ua=cb,Ba=hb,wl=Vr,Jt=qc,_l="[object Map]",pb="[object Object]",Ol="[object Promise]",Pl="[object Set]",xl="[object WeakMap]",Il="[object DataView]",gb=Jt(Ha),vb=Jt(Va),mb=Jt(za),yb=Jt(Ua),bb=Jt(Ba),Rt=wl;(Ha&&Rt(new Ha(new ArrayBuffer(1)))!=Il||Va&&Rt(new Va)!=_l||za&&Rt(za.resolve())!=Ol||Ua&&Rt(new Ua)!=Pl||Ba&&Rt(new Ba)!=xl)&&(Rt=function(e){var t=wl(e),r=t==pb?e.constructor:void 0,n=r?Jt(r):"";if(n)switch(n){case gb:return Il;case vb:return _l;case mb:return Ol;case yb:return Pl;case bb:return xl}return t});var wb=Rt,Ka=Jc,_b=Zc,Ob=ty,Pb=Y2,Sl=wb,El=mt,Cl=ii.exports,xb=hl,Ib=1,Ml="[object Arguments]",Rl="[object Array]",ai="[object Object]",Sb=Object.prototype,Al=Sb.hasOwnProperty;function Eb(e,t,r,n,i,a){var o=El(e),s=El(t),l=o?Rl:Sl(e),u=s?Rl:Sl(t);l=l==Ml?ai:l,u=u==Ml?ai:u;var h=l==ai,g=u==ai,y=l==u;if(y&&Cl(e)){if(!Cl(t))return!1;o=!0,h=!1}if(y&&!h)return a||(a=new Ka),o||xb(e)?_b(e,t,r,n,i,a):Ob(e,t,l,r,n,i,a);if(!(r&Ib)){var P=h&&Al.call(e,"__wrapped__"),w=g&&Al.call(t,"__wrapped__");if(P||w){var O=P?e.value():e,d=w?t.value():t;return a||(a=new Ka),i(O,d,r,n,a)}}return y?(a||(a=new Ka),Pb(e,t,r,n,i,a)):!1}var Cb=Eb,Mb=Cb,Tl=Ur;function $l(e,t,r,n,i){return e===t?!0:e==null||t==null||!Tl(e)&&!Tl(t)?e!==e&&t!==t:Mb(e,t,r,n,$l,i)}var Nl=$l,Rb=Jc,Ab=Nl,Tb=1,$b=2;function Nb(e,t,r,n){var i=r.length,a=i,o=!n;if(e==null)return!a;for(e=Object(e);i--;){var s=r[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=r[i];var l=s[0],u=e[l],h=s[1];if(o&&s[2]){if(u===void 0&&!(l in e))return!1}else{var g=new Rb;if(n)var y=n(u,h,l,e,t,g);if(!(y===void 0?Ab(h,u,Tb|$b,n,g):y))return!1}}return!0}var Dl=Nb,Db=zr;function Fb(e){return e===e&&!Db(e)}var Fl=Fb,Lb=Fl,jb=yl;function Wb(e){for(var t=jb(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Lb(i)]}return t}var Ll=Wb;function Hb(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var jl=Hb,Vb=Dl,zb=Ll,Ub=jl;function Bb(e){var t=zb(e);return t.length==1&&t[0][2]?Ub(t[0][0],t[0][1]):function(r){return r===e||Vb(r,e,t)}}var Kb=Bb,Gb=Vr,kb=Ur,Qb="[object Symbol]";function qb(e){return typeof e=="symbol"||kb(e)&&Gb(e)==Qb}var Ga=qb,Xb=mt,Yb=Ga,Jb=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zb=/^\w*$/;function ew(e,t){if(Xb(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Yb(e)?!0:Zb.test(e)||!Jb.test(e)||t!=null&&e in Object(t)}var ka=ew,Wl=Da,tw="Expected a function";function Qa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(tw);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Qa.Cache||Wl),r}Qa.Cache=Wl;var rw=Qa,nw=rw,iw=500;function aw(e){var t=nw(e,function(n){return r.size===iw&&r.clear(),n}),r=t.cache;return t}var ow=aw,sw=ow,uw=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cw=/\\(\\)?/g,lw=sw(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(uw,function(r,n,i,a){t.push(i?a.replace(cw,"$1"):n||r)}),t}),fw=lw;function dw(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var Hl=dw,Vl=ei,hw=Hl,pw=mt,gw=Ga,vw=1/0,zl=Vl?Vl.prototype:void 0,Ul=zl?zl.toString:void 0;function Bl(e){if(typeof e=="string")return e;if(pw(e))return hw(e,Bl)+"";if(gw(e))return Ul?Ul.call(e):"";var t=e+"";return t=="0"&&1/e==-vw?"-0":t}var mw=Bl,yw=mw;function bw(e){return e==null?"":yw(e)}var ww=bw,_w=mt,Ow=ka,Pw=fw,xw=ww;function Iw(e,t){return _w(e)?e:Ow(e,t)?[e]:Pw(xw(e))}var oi=Iw,Sw=Ga,Ew=1/0;function Cw(e){if(typeof e=="string"||Sw(e))return e;var t=e+"";return t=="0"&&1/e==-Ew?"-0":t}var Br=Cw,Mw=oi,Rw=Br;function Aw(e,t){t=Mw(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Rw(t[r++])];return r&&r==n?e:void 0}var qa=Aw,Tw=qa;function $w(e,t,r){var n=e==null?void 0:Tw(e,t);return n===void 0?r:n}var Nw=$w;function Dw(e,t){return e!=null&&t in Object(e)}var Fw=Dw,Lw=oi,jw=ll,Ww=mt,Hw=La,Vw=ja,zw=Br;function Uw(e,t,r){t=Lw(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var o=zw(t[n]);if(!(a=e!=null&&r(e,o)))break;e=e[o]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&Vw(i)&&Hw(o,i)&&(Ww(e)||jw(e)))}var Bw=Uw,Kw=Fw,Gw=Bw;function kw(e,t){return e!=null&&Gw(e,t,Kw)}var Qw=kw,qw=Nl,Xw=Nw,Yw=Qw,Jw=ka,Zw=Fl,e_=jl,t_=Br,r_=1,n_=2;function i_(e,t){return Jw(e)&&Zw(t)?e_(t_(e),t):function(r){var n=Xw(r,e);return n===void 0&&n===t?Yw(r,e):qw(t,n,r_|n_)}}var a_=i_;function o_(e){return e}var s_=o_;function u_(e){return function(t){return t==null?void 0:t[e]}}var c_=u_,l_=qa;function f_(e){return function(t){return l_(t,e)}}var d_=f_,h_=c_,p_=d_,g_=ka,v_=Br;function m_(e){return g_(e)?h_(v_(e)):p_(e)}var y_=m_,b_=Kb,w_=a_,__=s_,O_=mt,P_=y_;function x_(e){return typeof e=="function"?e:e==null?__:typeof e=="object"?O_(e)?w_(e[0],e[1]):b_(e):P_(e)}var Kl=x_,I_="Expected a function";function S_(e){if(typeof e!="function")throw new TypeError(I_);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var E_=S_,C_=Mt,M_=function(){try{var e=C_(Object,"defineProperty");return e({},"",{}),e}catch{}}(),R_=M_,Gl=R_;function A_(e,t,r){t=="__proto__"&&Gl?Gl(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var T_=A_,$_=T_,N_=Ta,D_=Object.prototype,F_=D_.hasOwnProperty;function L_(e,t,r){var n=e[t];(!(F_.call(e,t)&&N_(n,r))||r===void 0&&!(t in e))&&$_(e,t,r)}var j_=L_,W_=j_,H_=oi,V_=La,kl=zr,z_=Br;function U_(e,t,r,n){if(!kl(e))return e;t=H_(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var l=z_(t[i]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=o){var h=s[l];u=n?n(h,l,s):void 0,u===void 0&&(u=kl(h)?h:V_(t[i+1])?[]:{})}W_(s,l,u),s=s[l]}return e}var B_=U_,K_=qa,G_=B_,k_=oi;function Q_(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=K_(e,o);r(s,o)&&G_(a,k_(o,e),s)}return a}var q_=Q_,X_=vl,Y_=X_(Object.getPrototypeOf,Object),J_=Y_,Z_=nl,eO=J_,tO=sl,rO=al,nO=Object.getOwnPropertySymbols,iO=nO?function(e){for(var t=[];e;)Z_(t,tO(e)),e=eO(e);return t}:rO,aO=iO;function oO(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var sO=oO,uO=zr,cO=gl,lO=sO,fO=Object.prototype,dO=fO.hasOwnProperty;function hO(e){if(!uO(e))return lO(e);var t=cO(e),r=[];for(var n in e)n=="constructor"&&(t||!dO.call(e,n))||r.push(n);return r}var pO=hO,gO=pl,vO=pO,mO=ml;function yO(e){return mO(e)?gO(e,!0):vO(e)}var bO=yO,wO=il,_O=aO,OO=bO;function PO(e){return wO(e,OO,_O)}var xO=PO,IO=Hl,SO=Kl,EO=q_,CO=xO;function MO(e,t){if(e==null)return{};var r=IO(CO(e),function(n){return[n]});return t=SO(t),EO(e,r,function(n,i){return t(n,i[0])})}var RO=MO,AO=Kl,TO=E_,$O=RO;function NO(e,t){return $O(e,TO(AO(t)))}var DO=NO,Pe={},Xa={};Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.ArrowAngleDown=LO;var Ql=FO(ue.default);function ql(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return ql=function(){return e},e}function FO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=ql();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ya(){return Ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ya.apply(this,arguments)}function LO(e){return Ql.createElement("svg",Ya({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Ql.createElement("path",{d:"M52.8 75.1l46.1-44.9c1.5-1.4 1.5-3.8 0-5.4-1.5-1.4-4-1.4-5.5 0L50 67.1 6.6 24.8c-1.5-1.4-3.9-1.4-5.5 0-.7.7-1.1 1.8-1.1 2.7 0 .9.4 2 1.1 2.7l46.1 44.9c.7.7 1.8 1.1 2.8 1.1 1 .1 2-.4 2.8-1.1z"}))}var Ja={};Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.ArrowAngleLeft=WO;var Xl=jO(ue.default);function Yl(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Yl=function(){return e},e}function jO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Yl();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Za(){return Za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Za.apply(this,arguments)}function WO(e){return Xl.createElement("svg",Za({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Xl.createElement("path",{d:"M24.9 52.8l44.9 46.1c1.4 1.5 3.8 1.5 5.4 0 1.4-1.5 1.4-4 0-5.5L32.9 50 75.2 6.6c1.4-1.5 1.4-3.9 0-5.5C74.5.4 73.4 0 72.5 0s-2 .4-2.7 1.1L24.9 47.2c-.7.7-1.1 1.8-1.1 2.8s.4 2 1.1 2.8z"}))}var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.ArrowAngleRight=VO;var Jl=HO(ue.default);function Zl(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Zl=function(){return e},e}function HO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Zl();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function to(){return to=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},to.apply(this,arguments)}function VO(e){return Jl.createElement("svg",to({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Jl.createElement("path",{d:"M75.1 47.2l-44.9-46c-1.4-1.5-3.8-1.5-5.4 0-1.4 1.5-1.4 4 0 5.5L67.1 50 24.8 93.4c-1.4 1.5-1.4 3.9 0 5.5.7.7 1.8 1.1 2.7 1.1.9 0 2-.4 2.7-1.1l44.9-46.1c.7-.7 1.1-1.8 1.1-2.8s-.4-2-1.1-2.8z"}))}var ro={};Object.defineProperty(ro,"__esModule",{value:!0}),ro.ArrowAngleUp=UO;var ef=zO(ue.default);function tf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return tf=function(){return e},e}function zO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=tf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function no(){return no=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},no.apply(this,arguments)}function UO(e){return ef.createElement("svg",no({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),ef.createElement("path",{d:"M47.2 24.9l-46 44.9c-1.5 1.4-1.5 3.8 0 5.4 1.5 1.4 4 1.4 5.5 0L50 32.9l43.4 42.3c1.5 1.4 3.9 1.4 5.5 0 .7-.7 1.1-1.8 1.1-2.7s-.4-2-1.1-2.7L52.8 24.9c-.7-.7-1.8-1.1-2.8-1.1-1-.1-2 .4-2.8 1.1z"}))}var io={};Object.defineProperty(io,"__esModule",{value:!0}),io.ArrowDown=KO;var rf=BO(ue.default);function nf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return nf=function(){return e},e}function BO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=nf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function ao(){return ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ao.apply(this,arguments)}function KO(e){return rf.createElement("svg",ao({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),rf.createElement("path",{d:"M52.7 98.7l46-44.9c1.5-1.4 1.5-3.8 0-5.4-1.5-1.4-4-1.4-5.5 0L53.8 86.9V4.2c0-2.2-1.8-4-4-4s-4 1.8-4 4v82.6L6.5 48.4C5 47 2.6 47 1 48.4c-.7.7-1.1 1.8-1.1 2.7s.4 2 1.1 2.7l46.1 44.9c.7.7 1.8 1.1 2.8 1.1 1 .1 2-.4 2.8-1.1z"}))}var oo={};Object.defineProperty(oo,"__esModule",{value:!0}),oo.ArrowLeft=kO;var af=GO(ue.default);function of(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return of=function(){return e},e}function GO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=of();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function so(){return so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},so.apply(this,arguments)}function kO(e){return af.createElement("svg",so({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),af.createElement("path",{d:"M1.1 52.8l44.9 46c1.4 1.5 3.8 1.5 5.4 0 1.4-1.5 1.4-4 0-5.5L13 54h82.7c2.2 0 4-1.8 4-4s-1.8-4-4-4H13L51.4 6.6c1.4-1.5 1.4-3.9 0-5.5C50.7.4 49.6 0 48.7 0s-2 .4-2.7 1.1L1.1 47.2C.4 47.9 0 49 0 50c-.1 1 .4 2 1.1 2.8z"}))}var uo={};Object.defineProperty(uo,"__esModule",{value:!0}),uo.ArrowRight=qO;var sf=QO(ue.default);function uf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return uf=function(){return e},e}function QO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=uf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function co(){return co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},co.apply(this,arguments)}function qO(e){return sf.createElement("svg",co({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),sf.createElement("path",{d:"M98.6 47.2l-44.9-46c-1.4-1.5-3.8-1.5-5.4 0-1.4 1.5-1.4 4 0 5.5L86.7 46H4c-2.2 0-4 1.8-4 4s1.8 4 4 4h82.6L48.3 93.4c-1.4 1.5-1.4 3.9 0 5.5.7.7 1.8 1.1 2.7 1.1s2-.4 2.7-1.1l44.9-46.1c.7-.7 1.1-1.8 1.1-2.8.1-1-.4-2-1.1-2.8z"}))}var lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.ArrowUp=YO;var cf=XO(ue.default);function lf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return lf=function(){return e},e}function XO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=lf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function fo(){return fo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fo.apply(this,arguments)}function YO(e){return cf.createElement("svg",fo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),cf.createElement("path",{d:"M47 1.3L1 46.2C-.5 47.6-.5 50 1 51.6c1.5 1.4 4 1.4 5.5 0l39.3-38.4v82.7c0 2.2 1.8 4 4 4s4-1.8 4-4V13.2l39.4 38.4c1.5 1.4 3.9 1.4 5.5 0 .7-.7 1.1-1.8 1.1-2.7s-.4-2-1.1-2.7L52.6 1.3C51.9.6 50.8.2 49.8.2c-1-.1-2 .4-2.8 1.1z"}))}var ho={};Object.defineProperty(ho,"__esModule",{value:!0}),ho.Bell=ZO;var ff=JO(ue.default);function df(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return df=function(){return e},e}function JO(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=df();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function po(){return po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},po.apply(this,arguments)}function ZO(e){return ff.createElement("svg",po({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),ff.createElement("path",{d:"M89.1 70.5c-6.3-5.3-9.9-13.1-9.9-21.4V37.5c0-14.7-10.9-26.8-25-28.8V4.2C54.2 1.9 52.3 0 50 0s-4.2 1.9-4.2 4.2v4.5c-14.1 2-25 14.2-25 28.8v11.6c0 8.2-3.6 16-10 21.4-1.6 1.4-2.5 3.4-2.5 5.5 0 4 3.3 7.3 7.3 7.3h68.8c4 0 7.3-3.3 7.3-7.3 0-2.1-1-4.1-2.6-5.5zM50 100c7.5 0 13.9-5.4 15.3-12.5H34.7C36.1 94.6 42.5 100 50 100z"}))}var go={};Object.defineProperty(go,"__esModule",{value:!0}),go.Close=t3;var hf=e3(ue.default);function pf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return pf=function(){return e},e}function e3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=pf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function vo(){return vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vo.apply(this,arguments)}function t3(e){return hf.createElement("svg",vo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),hf.createElement("path",{d:"M1 99c1.4 1.4 3.6 1.4 5.1 0L50 55.1 93.9 99c1.4 1.4 3.6 1.4 5.1 0 1.4-1.4 1.4-3.6 0-5.1L55 50 99 6.1c1.4-1.4 1.4-3.6 0-5.1-1.4-1.4-3.6-1.4-5.1 0L50 44.9 6.1 1C4.5-.2 2.4 0 1 1.5-.1 2.8-.1 4.8 1 6.1L44.9 50 1 93.9C-.3 95.3-.3 97.5 1 99z"}))}var mo={};Object.defineProperty(mo,"__esModule",{value:!0}),mo.EmojiHappy=n3;var si=r3(ue.default);function gf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return gf=function(){return e},e}function r3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=gf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function yo(){return yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yo.apply(this,arguments)}function n3(e){return si.createElement("svg",yo({xmlns:"http://www.w3.org/2000/svg",id:"prefix__Capa_1",x:0,y:0,fill:"currentColor",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em"},e),si.createElement("style",null,".prefix__st0{fill:#010101}"),si.createElement("path",{d:"M50 100c-13.4 0-25.9-5.2-35.4-14.6C5.2 75.9 0 63.4 0 50s5.2-25.9 14.6-35.4C24.1 5.2 36.7 0 50 0c10.1 0 19.8 3 28.2 8.7 1.3.9 1.7 2.7.8 4-.5.8-1.4 1.3-2.4 1.3-.6 0-1.1-.2-1.6-.5-7.4-5-16-7.7-24.9-7.7-11.8 0-22.9 4.6-31.3 13-8.4 8.3-13 19.4-13 31.2s4.6 22.9 12.9 31.3C27 89.6 38.1 94.2 50 94.2s22.9-4.6 31.3-12.9c15-15.1 17.2-38.7 5.2-56.3-.9-1.3-.6-3.1.7-4 .5-.3 1.1-.5 1.6-.5 1 0 1.8.5 2.4 1.3 13.6 19.8 11.1 46.6-5.9 63.6-9.4 9.4-22 14.6-35.3 14.6z",className:"prefix__st0"}),si.createElement("path",{d:"M83.2 20c-.6 0-1.1-.2-1.6-.5-1.1-.8-1.6-2.2-1.1-3.5.4-1.1 1.5-1.8 2.7-1.8h.2c1.2.1 2.3.9 2.6 2.1.3 1.1-.1 2.3-1 3-.6.5-1.2.7-1.8.7zM64.7 62.5c.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-4.4 4.4-10.3 6.9-16.6 6.9s-12.2-2.4-16.6-6.9c-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 3.3 3.3 7.8 5.2 12.5 5.2s9.2-1.8 12.5-5.2c.7-.5 1.4-.8 2.2-.8zM70.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9s5.1-1 6.9-2.9c.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.7 4.6-10.8 4.6zM30.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9s5.1-1 6.9-2.9c.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.6 4.6-10.8 4.6z",className:"prefix__st0"}))}var bo={};Object.defineProperty(bo,"__esModule",{value:!0}),bo.EmojiSad=a3;var ui=i3(ue.default);function vf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return vf=function(){return e},e}function i3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=vf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function wo(){return wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wo.apply(this,arguments)}function a3(e){return ui.createElement("svg",wo({xmlns:"http://www.w3.org/2000/svg",id:"prefix__Capa_1",x:0,y:0,fill:"currentColor",viewBox:"0 0 100 100",xmlSpace:"preserve",width:"1em",height:"1em"},e),ui.createElement("style",null,".prefix__st0{fill:#010101}"),ui.createElement("path",{d:"M50 100c-13.4 0-25.9-5.2-35.4-14.6C5.2 75.9 0 63.4 0 50s5.2-25.9 14.6-35.4C24.1 5.2 36.7 0 50 0c10.1 0 19.8 3 28.2 8.7 1.3.9 1.7 2.7.8 4-.5.8-1.4 1.3-2.4 1.3-.6 0-1.1-.2-1.6-.5-7.4-5-16-7.7-24.9-7.7-11.8 0-22.9 4.6-31.3 13-8.4 8.3-13 19.4-13 31.2s4.6 22.9 12.9 31.3C27 89.6 38.1 94.2 50 94.2s22.9-4.6 31.3-12.9c15-15.1 17.2-38.7 5.2-56.3-.9-1.3-.6-3.1.7-4 .5-.3 1.1-.5 1.6-.5 1 0 1.8.5 2.4 1.3 13.6 19.8 11.1 46.6-5.9 63.6-9.4 9.4-22 14.6-35.3 14.6z",className:"prefix__st0"}),ui.createElement("path",{d:"M83.2 20c-.6 0-1.1-.2-1.6-.5-1.1-.8-1.6-2.2-1.1-3.5.4-1.1 1.5-1.8 2.7-1.8h.2c1.2.1 2.3.9 2.6 2.1.3 1.1-.1 2.3-1 3-.6.5-1.2.7-1.8.7zM35.5 74.3c-.8 0-1.5-.3-2-.8-1.1-1.1-1.1-3 0-4.1 4.4-4.4 10.3-6.9 16.6-6.9 6.3 0 12.2 2.4 16.6 6.9 1.1 1.1 1.1 3 0 4.1-.5.5-1.3.8-2 .8-.8 0-1.5-.3-2-.8-3.3-3.3-7.8-5.2-12.5-5.2s-9.2 1.8-12.5 5.2c-.7.5-1.4.8-2.2.8zM70.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9 2.6 0 5.1-1 6.9-2.9.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.7 4.6-10.8 4.6zM30.1 52.9c-4.2 0-8.1-1.6-11-4.6-1.1-1.1-1.1-3 0-4.1.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.8 1.8 4.3 2.9 6.9 2.9 2.6 0 5.1-1 6.9-2.9.5-.5 1.3-.8 2-.8.8 0 1.5.3 2 .8 1.1 1.1 1.1 3 0 4.1-2.7 3-6.6 4.6-10.8 4.6z",className:"prefix__st0"}))}var _o={};Object.defineProperty(_o,"__esModule",{value:!0}),_o.Filter=s3;var mf=o3(ue.default);function yf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return yf=function(){return e},e}function o3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=yf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Oo(){return Oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oo.apply(this,arguments)}function s3(e){return mf.createElement("svg",Oo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),mf.createElement("path",{d:"M96.4 17.4H42.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.6C1.6 17.4 0 19 0 21s1.7 3.6 3.6 3.6H21c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h53.7c2 0 3.6-1.7 3.6-3.6s-1.5-3.6-3.5-3.6zm-68.2 7.2v-7.2h7.2v7.2h-7.2zM96.4 46.4H71.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.7C1.6 46.4 0 48 0 50s1.7 3.6 3.6 3.6H50c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h24.7c2 0 3.6-1.7 3.6-3.6s-1.5-3.6-3.5-3.6zm-39.2 7.2v-7.2h7.2v7.2h-7.2zM96.4 75.4H42.8c0-4-3.3-7.2-7.2-7.2h-7.2c-4 0-7.2 3.3-7.2 7.2H3.6C1.6 75.4 0 77 0 79s1.7 3.6 3.6 3.6H21c0 4 3.3 7.2 7.2 7.2h7.2c4 0 7.2-3.3 7.2-7.2h53.7c2 0 3.6-1.7 3.6-3.6 0-2-1.5-3.6-3.5-3.6zm-68.2 7.2v-7.2h7.2v7.2h-7.2z"}))}var Po={};Object.defineProperty(Po,"__esModule",{value:!0}),Po.Help=c3;var bf=u3(ue.default);function wf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return wf=function(){return e},e}function u3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=wf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function xo(){return xo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xo.apply(this,arguments)}function c3(e){return bf.createElement("svg",xo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),bf.createElement("path",{d:"M50 6.5C74 6.5 93.5 26 93.5 50S74 93.5 50 93.5 6.5 74 6.5 50 26 6.5 50 6.5M50 0C22.4 0 0 22.4 0 50s22.4 50 50 50 50-22.4 50-50S77.6 0 50 0zm-1.4 64.1c-2.8 0-5 2.3-5 5.1 0 2.7 2.2 5.1 5 5.1s5.1-2.4 5.1-5.1c0-2.8-2.3-5.1-5.1-5.1zm.9-38.4c-8.9 0-13 5.3-13 8.8 0 2.6 2.2 3.8 3.9 3.8 3.6 0 2.1-5.1 8.8-5.1 3.3 0 5.9 1.4 5.9 4.5 0 3.6-3.7 5.6-5.9 7.4-1.9 1.6-4.4 4.3-4.4 10 0 3.4.9 4.4 3.6 4.4 3.2 0 3.9-1.4 3.9-2.7 0-3.4.1-5.4 3.7-8.2 1.8-1.4 7.4-5.9 7.4-12s-5.5-10.9-13.9-10.9z"}))}var Io={};Object.defineProperty(Io,"__esModule",{value:!0}),Io.Hotel=f3;var So=l3(ue.default);function _f(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return _f=function(){return e},e}function l3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=_f();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Eo(){return Eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Eo.apply(this,arguments)}function f3(e){return So.createElement("svg",Eo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),So.createElement("path",{d:"M85 6.5c4.7 0 8.5 3.8 8.5 8.5v70c0 4.7-3.8 8.5-8.5 8.5H15c-4.7 0-8.5-3.8-8.5-8.5V15c0-4.7 3.8-8.5 8.5-8.5zM85 0H15C6.7 0 0 6.7 0 15v70c0 8.3 6.7 15 15 15h70c8.3 0 15-6.7 15-15V15c0-8.3-6.7-15-15-15z"}),So.createElement("path",{d:"M40.6 33.1v12.3h18.8V33.1c0-1.8.4-3.1 1.2-4s1.8-1.3 3.1-1.3 2.4.4 3.2 1.3 1.2 2.2 1.2 4v33.8c0 1.8-.4 3.1-1.2 4s-1.9 1.3-3.2 1.3-2.4-.4-3.1-1.3-1.2-2.2-1.2-4V52.5H40.6v14.4c0 1.8-.4 3.1-1.2 4s-1.9 1.3-3.2 1.3-2.4-.4-3.1-1.3c-.8-.9-1.2-2.2-1.2-4V33.1c0-1.8.4-3.1 1.2-4s1.8-1.3 3.1-1.3 2.4.4 3.2 1.3 1.2 2.2 1.2 4z"}))}var Co={};Object.defineProperty(Co,"__esModule",{value:!0}),Co.Info=h3;var Of=d3(ue.default);function Pf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Pf=function(){return e},e}function d3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Pf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Mo(){return Mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mo.apply(this,arguments)}function h3(e){return Of.createElement("svg",Mo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Of.createElement("path",{d:"M50 6.5C74 6.5 93.5 26 93.5 50S74 93.5 50 93.5 6.5 74 6.5 50 26 6.5 50 6.5M50 0C22.4 0 0 22.4 0 50s22.4 50 50 50 50-22.4 50-50S77.6 0 50 0zm0 41.2c-2.2 0-3.9 1.7-3.9 3.9v25.2c0 2.2 1.7 3.9 3.9 3.9s3.9-1.7 3.9-3.9V45.1c0-2.2-1.7-3.9-3.9-3.9zm0-15.3c2.9 0 5.3 2.4 5.3 5.3s-2.4 5.3-5.3 5.3-5.3-2.4-5.3-5.3 2.4-5.3 5.3-5.3z"}))}var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.List=g3;var xf=p3(ue.default);function If(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return If=function(){return e},e}function p3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=If();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ao(){return Ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ao.apply(this,arguments)}function g3(e){return xf.createElement("svg",Ao({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),xf.createElement("path",{d:"M96.2 15.1h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM96.2 43.9h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM96.2 72.8h-64c-2 0-3.6 1.6-3.6 3.6s1.6 3.6 3.6 3.6h64c2 0 3.6-1.6 3.6-3.6 0-2.1-1.6-3.6-3.6-3.6zM-.1 15.1v7.2c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-3.9-3.2-7.2-7.2-7.2H7.1c-4 0-7.2 3.2-7.2 7.2zm14.4 7.1H7.1V15h7.2v7.2zM-.1 43.9v7.2c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-3.9-3.2-7.2-7.2-7.2H7.1c-4 0-7.2 3.2-7.2 7.2zm14.4 7.2H7.1v-7.2h7.2v7.2zM14.2 65.6H7c-3.9 0-7.2 3.2-7.2 7.2V80c0 3.9 3.2 7.2 7.2 7.2h7.2c3.9 0 7.2-3.2 7.2-7.2v-7.2c0-4-3.2-7.2-7.2-7.2zm.1 14.3H7.1v-7.2h7.2v7.2z"}))}var To={};Object.defineProperty(To,"__esModule",{value:!0}),To.Lock=m3;var Sf=v3(ue.default);function Ef(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Ef=function(){return e},e}function v3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Ef();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function $o(){return $o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$o.apply(this,arguments)}function m3(e){return Sf.createElement("svg",$o({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Sf.createElement("path",{d:"M78.8 33.3H74v-9.5C74 10.7 63.3 0 50 0S26 10.7 26 23.8v9.5h-4.8c-5.3 0-9.6 4.3-9.6 9.5v47.6c0 5.2 4.3 9.5 9.6 9.5h57.7c5.3 0 9.6-4.3 9.6-9.5V42.9c0-5.3-4.4-9.6-9.7-9.6zM50 76.2c-5.3 0-9.6-4.3-9.6-9.5s4.3-9.5 9.6-9.5 9.6 4.3 9.6 9.5-4.3 9.5-9.6 9.5zm14.9-42.9H35.1v-9.5C35.1 15.7 41.8 9 50 9s14.9 6.6 14.9 14.8z"}))}var No={};Object.defineProperty(No,"__esModule",{value:!0}),No.Logout=b3;var Cf=y3(ue.default);function Mf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Mf=function(){return e},e}function y3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Mf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Do(){return Do=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Do.apply(this,arguments)}function b3(e){return Cf.createElement("svg",Do({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Cf.createElement("path",{d:"M68.3 12.1c-2.1-.9-4.6 0-5.5 2.2s0 4.6 2.2 5.5c13.6 5.9 22.5 19.3 22.5 34.4 0 20.7-16.8 37.5-37.5 37.5S12.5 74.9 12.5 54.2c0-15 8.9-28.5 22.5-34.4 2.1-.9 3.1-3.4 2.1-5.5-.9-2.1-3.4-3.1-5.5-2.1C15 19.4 4.1 35.8 4.1 54.2 4.2 79.5 24.7 100 50 100s45.8-20.5 45.8-45.8c0-18.4-10.9-34.8-27.5-42.1zM50 45.8c2.3 0 4.2-1.9 4.2-4.2V4.2C54.2 1.9 52.3 0 50 0s-4.2 1.9-4.2 4.2v37.5c0 2.3 1.9 4.1 4.2 4.1z"}))}var Fo={};Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.MapPin=_3;var Rf=w3(ue.default);function Af(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Af=function(){return e},e}function w3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Af();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Lo(){return Lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Lo.apply(this,arguments)}function _3(e){return Rf.createElement("svg",Lo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Rf.createElement("path",{d:"M50 0C29.3 0 12.6 16.8 12.5 37.5c0 26.9 34.9 60.6 36.4 62 .6.6 1.5.6 2.2 0 1.4-1.4 36.4-35.1 36.4-62C87.4 16.8 70.7 0 50 0zm0 54.6c-9.5 0-17.2-7.7-17.2-17.2S40.5 20.2 50 20.2s17.2 7.7 17.2 17.2c0 9.6-7.7 17.2-17.2 17.2z"}))}var jo={};Object.defineProperty(jo,"__esModule",{value:!0}),jo.Menu=P3;var Tf=O3(ue.default);function $f(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return $f=function(){return e},e}function O3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=$f();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Wo(){return Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Wo.apply(this,arguments)}function P3(e){return Tf.createElement("svg",Wo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Tf.createElement("path",{d:"M93.7 87.5H6.3c-3.5 0-6.3-2.8-6.3-6.3C0 77.8 2.8 75 6.3 75h87.5c3.5 0 6.3 2.8 6.3 6.3-.1 3.4-2.9 6.2-6.4 6.2zM93.7 56.2H6.3C2.8 56.2 0 53.5 0 50s2.8-6.3 6.3-6.3h87.5c3.5 0 6.3 2.8 6.3 6.3s-2.9 6.2-6.4 6.2zM93.7 25H6.3C2.8 25 0 22.2 0 18.7s2.8-6.3 6.3-6.3h87.5c3.5 0 6.3 2.8 6.3 6.3S97.2 25 93.7 25z"}))}var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0}),Ho.Minus=I3;var Nf=x3(ue.default);function Df(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Df=function(){return e},e}function x3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Df();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Vo(){return Vo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vo.apply(this,arguments)}function I3(e){return Nf.createElement("svg",Vo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Nf.createElement("path",{d:"M3.6 53.6h92.8c2 0 3.5-1.6 3.6-3.6 0-2-1.6-3.5-3.6-3.6H3.6C1.7 46.4.1 48 0 50c0 2 1.6 3.5 3.6 3.6z"}))}var zo={};Object.defineProperty(zo,"__esModule",{value:!0}),zo.Plus=E3;var Ff=S3(ue.default);function Lf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Lf=function(){return e},e}function S3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Lf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Uo(){return Uo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Uo.apply(this,arguments)}function E3(e){return Ff.createElement("svg",Uo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Ff.createElement("path",{d:"M0 50c0 2 1.6 3.5 3.6 3.6h42.8v42.8c0 2 1.6 3.5 3.6 3.6 2 0 3.5-1.6 3.6-3.6l-.1-42.9 42.8.1c2 0 3.5-1.6 3.6-3.6 0-2-1.6-3.5-3.6-3.6H53.6V3.3c-.3-2-1.9-3.3-4-3.3-1.7.1-3.1 1.6-3.3 3.3v43.1H3.6C1.7 46.4.1 48 0 50z"}))}var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.Search=M3;var jf=C3(ue.default);function Wf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Wf=function(){return e},e}function C3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Wf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Ko(){return Ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ko.apply(this,arguments)}function M3(e){return jf.createElement("svg",Ko({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),jf.createElement("path",{d:"M98.8 92.9L70.3 64.5c5.5-6.8 8.8-15.5 8.8-24.9C79.2 17.8 61.4 0 39.6 0S0 17.8 0 39.6s17.8 39.6 39.6 39.6c9.4 0 18.1-3.3 24.9-8.8l28.4 28.4c.8.8 1.9 1.2 2.9 1.2 1.1 0 2.1-.4 2.9-1.2 1.7-1.6 1.7-4.3.1-5.9zM39.6 70.8c-17.2 0-31.2-14-31.2-31.2s14-31.2 31.2-31.2 31.2 14 31.2 31.2-14 31.2-31.2 31.2z"}))}var Go={};Object.defineProperty(Go,"__esModule",{value:!0}),Go.Tick=A3;var Hf=R3(ue.default);function Vf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Vf=function(){return e},e}function R3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Vf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function ko(){return ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ko.apply(this,arguments)}function A3(e){return Hf.createElement("svg",ko({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Hf.createElement("path",{d:"M98.5 14.7c-2-2-5.1-2-7.1 0L31.6 74.6l-23-23c-2-2-5.1-2-7.1 0s-2 5.1 0 7.1L28 85.3c2 2 5.1 2 7.1 0l63.4-63.4c2-2 2-5.2 0-7.2z"}))}var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0}),Qo.User=$3;var zf=T3(ue.default);function Uf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Uf=function(){return e},e}function T3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Uf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function qo(){return qo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},qo.apply(this,arguments)}function $3(e){return zf.createElement("svg",qo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),zf.createElement("path",{d:"M85.4 14.6C75.9 5.2 63.4 0 50 0S24.1 5.2 14.6 14.6 0 36.6 0 50s5.2 25.9 14.6 35.4S36.6 100 50 100s25.9-5.2 35.4-14.6S100 63.4 100 50s-5.2-25.9-14.6-35.4zM80 82.3c-1.6-5.6-4.7-10.7-9.1-14.7-2.7-2.4-5.8-4.4-9.1-5.7 6-3.9 9.9-10.6 9.9-18.2C71.8 31.7 62 22 50 22s-21.8 9.8-21.8 21.8c0 7.6 3.9 14.3 9.9 18.2-3.3 1.4-6.4 3.3-9.1 5.7-4.4 4-7.5 9.1-9.1 14.7-8.6-8.1-14-19.6-14-32.4C5.9 25.7 25.7 5.9 50 5.9S94.1 25.7 94.1 50c0 12.8-5.4 24.3-14.1 32.3z"}))}var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.World=D3;var Bf=N3(ue.default);function Kf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Kf=function(){return e},e}function N3(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Kf();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function Yo(){return Yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Yo.apply(this,arguments)}function D3(e){return Bf.createElement("svg",Yo({xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"1em",height:"1em"},e),Bf.createElement("path",{d:"M50.1 100c27.5 0 50-22.5 50-50S77.6 0 50.1 0 .1 22.5.1 50s22.5 50 50 50zm14.8-8.4c2.8-3.6 5-7.9 6.6-12.3H83c-4.8 5.5-11 9.8-18.1 12.3zm22.6-18.2h-14c1.7-6.3 2.7-13.3 3-20.5h17.7c-.6 7.5-2.9 14.5-6.7 20.5zm0-46.8c3.8 6 6.2 13 6.7 20.5H76.4c-.2-7.3-1.2-14.2-3-20.5zm-4.4-5.9H71.6C70 16.4 67.8 12 65 8.4c7 2.5 13.2 6.8 18.1 12.3zM53 6.4c5.7 1.9 9.9 8.8 12.2 14.3H53zm0 20.2h14.3c1.9 6.2 3 13.2 3.2 20.5H53zm0 26.3h17.5c-.2 7.3-1.3 14.3-3.2 20.5H53zm0 26.4h12.2c-2.4 5.6-6.5 12.4-12.2 14.3zm-35.9 0h11.5c1.6 4.3 3.8 8.7 6.6 12.3-7-2.5-13.2-6.8-18.1-12.3zm30.1 14.3c-5.7-1.9-9.9-8.8-12.2-14.3h12.2zm0-20.2H32.8c-1.9-6.2-3-13.2-3.2-20.5h17.5v20.5zm0-26.3H29.6c.2-7.3 1.3-14.3 3.2-20.5h14.3v20.5zm0-40.7v14.3H34.9c2.4-5.6 6.5-12.4 12.3-14.3zm-11.9 2c-2.8 3.6-5 7.9-6.6 12.3H17.1c4.9-5.5 11.1-9.8 18.2-12.3zM12.7 26.6h14c-1.7 6.3-2.7 13.3-3 20.5H6.1c.5-7.5 2.8-14.5 6.6-20.5zM6.1 52.9h17.7c.2 7.3 1.2 14.2 3 20.5h-14c-3.9-6-6.2-13-6.7-20.5z"}))}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Xa;Object.keys(t).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===t[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return t[p]}})});var r=Ja;Object.keys(r).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===r[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return r[p]}})});var n=eo;Object.keys(n).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===n[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return n[p]}})});var i=ro;Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===i[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return i[p]}})});var a=io;Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===a[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return a[p]}})});var o=oo;Object.keys(o).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===o[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return o[p]}})});var s=uo;Object.keys(s).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===s[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return s[p]}})});var l=lo;Object.keys(l).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===l[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return l[p]}})});var u=ho;Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===u[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return u[p]}})});var h=go;Object.keys(h).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===h[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return h[p]}})});var g=mo;Object.keys(g).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===g[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return g[p]}})});var y=bo;Object.keys(y).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===y[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return y[p]}})});var P=_o;Object.keys(P).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===P[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return P[p]}})});var w=Po;Object.keys(w).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===w[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return w[p]}})});var O=Io;Object.keys(O).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===O[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return O[p]}})});var d=Co;Object.keys(d).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===d[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return d[p]}})});var m=Ro;Object.keys(m).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===m[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return m[p]}})});var c=To;Object.keys(c).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===c[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return c[p]}})});var f=No;Object.keys(f).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===f[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return f[p]}})});var v=Fo;Object.keys(v).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===v[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return v[p]}})});var b=jo;Object.keys(b).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===b[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return b[p]}})});var I=Ho;Object.keys(I).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===I[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return I[p]}})});var R=zo;Object.keys(R).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===R[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return R[p]}})});var _=Bo;Object.keys(_).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===_[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return _[p]}})});var L=Go;Object.keys(L).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===L[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return L[p]}})});var A=Qo;Object.keys(A).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===A[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return A[p]}})});var B=Xo;Object.keys(B).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===B[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return B[p]}})})})(Pe);function F3(e,t){S.useEffect(()=>(document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}),[e])}var L3=Dl,j3=Ll;function W3(e,t){return e===t||L3(e,t,j3(t))}var H3=W3,Jo={},V3=e=>encodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),Gf="%[a-f0-9]{2}",kf=new RegExp(Gf,"gi"),Qf=new RegExp("("+Gf+")+","gi");function Zo(e,t){try{return decodeURIComponent(e.join(""))}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],Zo(r),Zo(n))}function z3(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(kf),r=1;r<t.length;r++)e=Zo(t,r).join(""),t=e.match(kf);return e}}function U3(e){for(var t={"%FE%FF":"\uFFFD\uFFFD","%FF%FE":"\uFFFD\uFFFD"},r=Qf.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch{var n=z3(r[0]);n!==r[0]&&(t[r[0]]=n)}r=Qf.exec(e)}t["%C2"]="\uFFFD";for(var i=Object.keys(t),a=0;a<i.length;a++){var o=i[a];e=e.replace(new RegExp(o,"g"),t[o])}return e}var B3=function(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch{return U3(e)}},K3=(e,t)=>{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},G3=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),a=0;a<n.length;a++){var o=n[a],s=e[o];(i?t.indexOf(o)!==-1:t(o,s,e))&&(r[o]=s)}return r};(function(e){const t=V3,r=B3,n=K3,i=G3,a=c=>c==null,o=Symbol("encodeFragmentIdentifier");function s(c){switch(c.arrayFormat){case"index":return f=>(v,b)=>{const I=v.length;return b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),"[",I,"]"].join("")]:[...v,[h(f,c),"[",h(I,c),"]=",h(b,c)].join("")]};case"bracket":return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),"[]"].join("")]:[...v,[h(f,c),"[]=",h(b,c)].join("")];case"colon-list-separator":return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,[h(f,c),":list="].join("")]:[...v,[h(f,c),":list=",h(b,c)].join("")];case"comma":case"separator":case"bracket-separator":{const f=c.arrayFormat==="bracket-separator"?"[]=":"=";return v=>(b,I)=>I===void 0||c.skipNull&&I===null||c.skipEmptyString&&I===""?b:(I=I===null?"":I,b.length===0?[[h(v,c),f,h(I,c)].join("")]:[[b,h(I,c)].join(c.arrayFormatSeparator)])}default:return f=>(v,b)=>b===void 0||c.skipNull&&b===null||c.skipEmptyString&&b===""?v:b===null?[...v,h(f,c)]:[...v,[h(f,c),"=",h(b,c)].join("")]}}function l(c){let f;switch(c.arrayFormat){case"index":return(v,b,I)=>{if(f=/\[(\d*)\]$/.exec(v),v=v.replace(/\[\d*\]$/,""),!f){I[v]=b;return}I[v]===void 0&&(I[v]={}),I[v][f[1]]=b};case"bracket":return(v,b,I)=>{if(f=/(\[\])$/.exec(v),v=v.replace(/\[\]$/,""),!f){I[v]=b;return}if(I[v]===void 0){I[v]=[b];return}I[v]=[].concat(I[v],b)};case"colon-list-separator":return(v,b,I)=>{if(f=/(:list)$/.exec(v),v=v.replace(/:list$/,""),!f){I[v]=b;return}if(I[v]===void 0){I[v]=[b];return}I[v]=[].concat(I[v],b)};case"comma":case"separator":return(v,b,I)=>{const R=typeof b=="string"&&b.includes(c.arrayFormatSeparator),_=typeof b=="string"&&!R&&g(b,c).includes(c.arrayFormatSeparator);b=_?g(b,c):b;const L=R||_?b.split(c.arrayFormatSeparator).map(A=>g(A,c)):b===null?b:g(b,c);I[v]=L};case"bracket-separator":return(v,b,I)=>{const R=/(\[\])$/.test(v);if(v=v.replace(/\[\]$/,""),!R){I[v]=b&&g(b,c);return}const _=b===null?[]:b.split(c.arrayFormatSeparator).map(L=>g(L,c));if(I[v]===void 0){I[v]=_;return}I[v]=[].concat(I[v],_)};default:return(v,b,I)=>{if(I[v]===void 0){I[v]=b;return}I[v]=[].concat(I[v],b)}}}function u(c){if(typeof c!="string"||c.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function h(c,f){return f.encode?f.strict?t(c):encodeURIComponent(c):c}function g(c,f){return f.decode?r(c):c}function y(c){return Array.isArray(c)?c.sort():typeof c=="object"?y(Object.keys(c)).sort((f,v)=>Number(f)-Number(v)).map(f=>c[f]):c}function P(c){const f=c.indexOf("#");return f!==-1&&(c=c.slice(0,f)),c}function w(c){let f="";const v=c.indexOf("#");return v!==-1&&(f=c.slice(v)),f}function O(c){c=P(c);const f=c.indexOf("?");return f===-1?"":c.slice(f+1)}function d(c,f){return f.parseNumbers&&!Number.isNaN(Number(c))&&typeof c=="string"&&c.trim()!==""?c=Number(c):f.parseBooleans&&c!==null&&(c.toLowerCase()==="true"||c.toLowerCase()==="false")&&(c=c.toLowerCase()==="true"),c}function m(c,f){f=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},f),u(f.arrayFormatSeparator);const v=l(f),b=Object.create(null);if(typeof c!="string"||(c=c.trim().replace(/^[?#&]/,""),!c))return b;for(const I of c.split("&")){if(I==="")continue;let[R,_]=n(f.decode?I.replace(/\+/g," "):I,"=");_=_===void 0?null:["comma","separator","bracket-separator"].includes(f.arrayFormat)?_:g(_,f),v(g(R,f),_,b)}for(const I of Object.keys(b)){const R=b[I];if(typeof R=="object"&&R!==null)for(const _ of Object.keys(R))R[_]=d(R[_],f);else b[I]=d(R,f)}return f.sort===!1?b:(f.sort===!0?Object.keys(b).sort():Object.keys(b).sort(f.sort)).reduce((I,R)=>{const _=b[R];return Boolean(_)&&typeof _=="object"&&!Array.isArray(_)?I[R]=y(_):I[R]=_,I},Object.create(null))}e.extract=O,e.parse=m,e.stringify=(c,f)=>{if(!c)return"";f=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},f),u(f.arrayFormatSeparator);const v=_=>f.skipNull&&a(c[_])||f.skipEmptyString&&c[_]==="",b=s(f),I={};for(const _ of Object.keys(c))v(_)||(I[_]=c[_]);const R=Object.keys(I);return f.sort!==!1&&R.sort(f.sort),R.map(_=>{const L=c[_];return L===void 0?"":L===null?h(_,f):Array.isArray(L)?L.length===0&&f.arrayFormat==="bracket-separator"?h(_,f)+"[]":L.reduce(b(_),[]).join("&"):h(_,f)+"="+h(L,f)}).filter(_=>_.length>0).join("&")},e.parseUrl=(c,f)=>{f=Object.assign({decode:!0},f);const[v,b]=n(c,"#");return Object.assign({url:v.split("?")[0]||"",query:m(O(c),f)},f&&f.parseFragmentIdentifier&&b?{fragmentIdentifier:g(b,f)}:{})},e.stringifyUrl=(c,f)=>{f=Object.assign({encode:!0,strict:!0,[o]:!0},f);const v=P(c.url).split("?")[0]||"",b=e.extract(c.url),I=e.parse(b,{sort:!1}),R=Object.assign(I,c.query);let _=e.stringify(R,f);_&&(_=`?${_}`);let L=w(c.url);return c.fragmentIdentifier&&(L=`#${f[o]?h(c.fragmentIdentifier,f):c.fragmentIdentifier}`),`${v}${_}${L}`},e.pick=(c,f,v)=>{v=Object.assign({parseFragmentIdentifier:!0,[o]:!1},v);const{url:b,query:I,fragmentIdentifier:R}=e.parseUrl(c,v);return e.stringifyUrl({url:b,query:i(I,f),fragmentIdentifier:R},v)},e.exclude=(c,f,v)=>{const b=Array.isArray(f)?I=>!f.includes(I):(I,R)=>!f(I,R);return e.pick(c,b,v)}})(Jo);var es={exports:{}};/**
|
|
97
97
|
* @preserve jed.js https://github.com/SlexAxton/Jed
|
|
98
|
-
*/(function(e,t){(function(r,n){var i=Array.prototype,a=Object.prototype,o=i.slice,s=a.hasOwnProperty,l=i.forEach,u={},h={forEach:function(p,m,c){var f,v,b;if(p!==null){if(l&&p.forEach===l)p.forEach(m,c);else if(p.length===+p.length){for(f=0,v=p.length;f<v;f++)if(f in p&&m.call(c,p[f],f,p)===u)return}else for(b in p)if(s.call(p,b)&&m.call(c,p[b],b,p)===u)return}},extend:function(p){return this.forEach(o.call(arguments,1),function(m){for(var c in m)p[c]=m[c]}),p}},g=function(p){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=h.extend({},this.defaults,p),this.textdomain(this.options.domain),p.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+p.domain+"`")};g.context_delimiter=String.fromCharCode(4);function y(p){return g.PF.compile(p||"nplurals=2; plural=(n != 1);")}function w(p,m){this._key=p,this._i18n=m}h.extend(w.prototype,{onDomain:function(p){return this._domain=p,this},withContext:function(p){return this._context=p,this},ifPlural:function(p,m){return this._val=p,this._pkey=m,this},fetch:function(p){return{}.toString.call(p)!="[object Array]"&&(p=[].slice.call(arguments,0)),(p&&p.length?g.sprintf:function(m){return m})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),p)}}),h.extend(g.prototype,{translate:function(p){return new w(p,this)},textdomain:function(p){if(!p)return this._textdomain;this._textdomain=p},gettext:function(p){return this.dcnpgettext.call(this,n,n,p)},dgettext:function(p,m){return this.dcnpgettext.call(this,p,n,m)},dcgettext:function(p,m){return this.dcnpgettext.call(this,p,n,m)},ngettext:function(p,m,c){return this.dcnpgettext.call(this,n,n,p,m,c)},dngettext:function(p,m,c,f){return this.dcnpgettext.call(this,p,n,m,c,f)},dcngettext:function(p,m,c,f){return this.dcnpgettext.call(this,p,n,m,c,f)},pgettext:function(p,m){return this.dcnpgettext.call(this,n,p,m)},dpgettext:function(p,m,c){return this.dcnpgettext.call(this,p,m,c)},dcpgettext:function(p,m,c){return this.dcnpgettext.call(this,p,m,c)},npgettext:function(p,m,c,f){return this.dcnpgettext.call(this,n,p,m,c,f)},dnpgettext:function(p,m,c,f,v){return this.dcnpgettext.call(this,p,m,c,f,v)},dcnpgettext:function(p,m,c,f,v){f=f||c,p=p||this._textdomain;var b;if(!this.options)return b=new g,b.dcnpgettext.call(b,void 0,void 0,c,f,v);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[p])throw new Error("Domain `"+p+"` was not found.");if(!this.options.locale_data[p][""])throw new Error("No locale meta information provided.");if(!c)throw new Error("No translation key found.");var I=m?m+g.context_delimiter+c:c,R=this.options.locale_data,_=R[p],L=(R.messages||this.defaults.locale_data.messages)[""],A=_[""].plural_forms||_[""]["Plural-Forms"]||_[""]["plural-forms"]||L.plural_forms||L["Plural-Forms"]||L["plural-forms"],B,d,U;if(v===void 0)U=0;else{if(typeof v!="number"&&(v=parseInt(v,10),isNaN(v)))throw new Error("The number that was passed in is not a number.");U=y(A)(v)}if(!_)throw new Error("No domain named `"+p+"` could be found.");return B=_[I],!B||U>B.length?(this.options.missing_key_callback&&this.options.missing_key_callback(I,p),d=[c,f],this.options.debug===!0&&console.log(d[y(A)(v)]),d[y()(v)]):(d=B[U],d||(d=[c,f],d[y()(v)]))}});var O=function(){function p(f){return Object.prototype.toString.call(f).slice(8,-1).toLowerCase()}function m(f,v){for(var b=[];v>0;b[--v]=f);return b.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(f,v){var b=1,I=f.length,R="",_,L=[],A,B,d,U,H,V;for(A=0;A<I;A++)if(R=p(f[A]),R==="string")L.push(f[A]);else if(R==="array"){if(d=f[A],d[2])for(_=v[b],B=0;B<d[2].length;B++){if(!_.hasOwnProperty(d[2][B]))throw O('[sprintf] property "%s" does not exist',d[2][B]);_=_[d[2][B]]}else d[1]?_=v[d[1]]:_=v[b++];if(/[^s]/.test(d[8])&&p(_)!="number")throw O("[sprintf] expecting number but found %s",p(_));switch((typeof _=="undefined"||_===null)&&(_=""),d[8]){case"b":_=_.toString(2);break;case"c":_=String.fromCharCode(_);break;case"d":_=parseInt(_,10);break;case"e":_=d[7]?_.toExponential(d[7]):_.toExponential();break;case"f":_=d[7]?parseFloat(_).toFixed(d[7]):parseFloat(_);break;case"o":_=_.toString(8);break;case"s":_=(_=String(_))&&d[7]?_.substring(0,d[7]):_;break;case"u":_=Math.abs(_);break;case"x":_=_.toString(16);break;case"X":_=_.toString(16).toUpperCase();break}_=/[def]/.test(d[8])&&d[3]&&_>=0?"+"+_:_,H=d[4]?d[4]=="0"?"0":d[4].charAt(1):" ",V=d[6]-String(_).length,U=d[6]?m(H,V):"",L.push(d[5]?_+U:U+_)}return L.join("")},c.cache={},c.parse=function(f){for(var v=f,b=[],I=[],R=0;v;){if((b=/^[^\x25]+/.exec(v))!==null)I.push(b[0]);else if((b=/^\x25{2}/.exec(v))!==null)I.push("%");else if((b=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(v))!==null){if(b[2]){R|=1;var _=[],L=b[2],A=[];if((A=/^([a-z_][a-z_\d]*)/i.exec(L))!==null)for(_.push(A[1]);(L=L.substring(A[0].length))!=="";)if((A=/^\.([a-z_][a-z_\d]*)/i.exec(L))!==null)_.push(A[1]);else if((A=/^\[(\d+)\]/.exec(L))!==null)_.push(A[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";b[2]=_}else R|=2;if(R===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";I.push(b)}else throw"[sprintf] huh?";v=v.substring(b[0].length)}return I},c}(),P=function(p,m){return m.unshift(p),O.apply(null,m)};g.parse_plural=function(p,m){return p=p.replace(/n/g,m),g.parse_expression(p)},g.sprintf=function(p,m){return{}.toString.call(m)=="[object Array]"?P(p,[].slice.call(m)):O.apply(this,[].slice.call(arguments))},g.prototype.sprintf=function(){return g.sprintf.apply(this,arguments)},g.PF={},g.PF.parse=function(p){var m=g.PF.extractPluralExpr(p);return g.PF.parser.parse.call(g.PF.parser,m)},g.PF.compile=function(p){function m(f){return f===!0?1:f||0}var c=g.PF.parse(p);return function(f){return m(g.PF.interpreter(c)(f))}},g.PF.interpreter=function(p){return function(m){switch(p.type){case"GROUP":return g.PF.interpreter(p.expr)(m);case"TERNARY":return g.PF.interpreter(p.expr)(m)?g.PF.interpreter(p.truthy)(m):g.PF.interpreter(p.falsey)(m);case"OR":return g.PF.interpreter(p.left)(m)||g.PF.interpreter(p.right)(m);case"AND":return g.PF.interpreter(p.left)(m)&&g.PF.interpreter(p.right)(m);case"LT":return g.PF.interpreter(p.left)(m)<g.PF.interpreter(p.right)(m);case"GT":return g.PF.interpreter(p.left)(m)>g.PF.interpreter(p.right)(m);case"LTE":return g.PF.interpreter(p.left)(m)<=g.PF.interpreter(p.right)(m);case"GTE":return g.PF.interpreter(p.left)(m)>=g.PF.interpreter(p.right)(m);case"EQ":return g.PF.interpreter(p.left)(m)==g.PF.interpreter(p.right)(m);case"NEQ":return g.PF.interpreter(p.left)(m)!=g.PF.interpreter(p.right)(m);case"MOD":return g.PF.interpreter(p.left)(m)%g.PF.interpreter(p.right)(m);case"VAR":return m;case"NUM":return p.val;default:throw new Error("Invalid Token found.")}}},g.PF.extractPluralExpr=function(p){p=p.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(p)||(p=p.concat(";"));var m=/nplurals\=(\d+);/,c=/plural\=(.*);/,f=p.match(m),v;if(!(f.length>1))throw new Error("nplurals not found in plural_forms string: "+p);if(p=p.replace(m,""),v=p.match(c),!(v&&v.length>1))throw new Error("`plural` expression not found: "+p);return v[1]},g.PF.parser=function(){var p={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(f,v,b,I,R,_,L){var A=_.length-1;switch(R){case 1:return{type:"GROUP",expr:_[A-1]};case 2:this.$={type:"TERNARY",expr:_[A-4],truthy:_[A-2],falsey:_[A]};break;case 3:this.$={type:"OR",left:_[A-2],right:_[A]};break;case 4:this.$={type:"AND",left:_[A-2],right:_[A]};break;case 5:this.$={type:"LT",left:_[A-2],right:_[A]};break;case 6:this.$={type:"LTE",left:_[A-2],right:_[A]};break;case 7:this.$={type:"GT",left:_[A-2],right:_[A]};break;case 8:this.$={type:"GTE",left:_[A-2],right:_[A]};break;case 9:this.$={type:"NEQ",left:_[A-2],right:_[A]};break;case 10:this.$={type:"EQ",left:_[A-2],right:_[A]};break;case 11:this.$={type:"MOD",left:_[A-2],right:_[A]};break;case 12:this.$={type:"GROUP",expr:_[A-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(f)};break}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(f,v){throw new Error(f)},parse:function(f){var v=this,b=[0],I=[null],R=[],_=this.table,L="",A=0,B=0,d=0,U=2,H=1;this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var V=this.lexer.yylloc;R.push(V),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function ae(F){b.length=b.length-2*F,I.length=I.length-F,R.length=R.length-F}function oe(){var F;return F=v.lexer.lex()||1,typeof F!="number"&&(F=v.symbols_[F]||F),F}for(var q,ce,ee,x,C,E={},T,D,k,j;;){if(ee=b[b.length-1],this.defaultActions[ee]?x=this.defaultActions[ee]:(q==null&&(q=oe()),x=_[ee]&&_[ee][q]),typeof x=="undefined"||!x.length||!x[0]){if(!d){j=[];for(T in _[ee])this.terminals_[T]&&T>2&&j.push("'"+this.terminals_[T]+"'");var z="";this.lexer.showPosition?z="Parse error on line "+(A+1)+`:
|
|
98
|
+
*/(function(e,t){(function(r,n){var i=Array.prototype,a=Object.prototype,o=i.slice,s=a.hasOwnProperty,l=i.forEach,u={},h={forEach:function(d,m,c){var f,v,b;if(d!==null){if(l&&d.forEach===l)d.forEach(m,c);else if(d.length===+d.length){for(f=0,v=d.length;f<v;f++)if(f in d&&m.call(c,d[f],f,d)===u)return}else for(b in d)if(s.call(d,b)&&m.call(c,d[b],b,d)===u)return}},extend:function(d){return this.forEach(o.call(arguments,1),function(m){for(var c in m)d[c]=m[c]}),d}},g=function(d){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=h.extend({},this.defaults,d),this.textdomain(this.options.domain),d.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+d.domain+"`")};g.context_delimiter=String.fromCharCode(4);function y(d){return g.PF.compile(d||"nplurals=2; plural=(n != 1);")}function P(d,m){this._key=d,this._i18n=m}h.extend(P.prototype,{onDomain:function(d){return this._domain=d,this},withContext:function(d){return this._context=d,this},ifPlural:function(d,m){return this._val=d,this._pkey=m,this},fetch:function(d){return{}.toString.call(d)!="[object Array]"&&(d=[].slice.call(arguments,0)),(d&&d.length?g.sprintf:function(m){return m})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),d)}}),h.extend(g.prototype,{translate:function(d){return new P(d,this)},textdomain:function(d){if(!d)return this._textdomain;this._textdomain=d},gettext:function(d){return this.dcnpgettext.call(this,n,n,d)},dgettext:function(d,m){return this.dcnpgettext.call(this,d,n,m)},dcgettext:function(d,m){return this.dcnpgettext.call(this,d,n,m)},ngettext:function(d,m,c){return this.dcnpgettext.call(this,n,n,d,m,c)},dngettext:function(d,m,c,f){return this.dcnpgettext.call(this,d,n,m,c,f)},dcngettext:function(d,m,c,f){return this.dcnpgettext.call(this,d,n,m,c,f)},pgettext:function(d,m){return this.dcnpgettext.call(this,n,d,m)},dpgettext:function(d,m,c){return this.dcnpgettext.call(this,d,m,c)},dcpgettext:function(d,m,c){return this.dcnpgettext.call(this,d,m,c)},npgettext:function(d,m,c,f){return this.dcnpgettext.call(this,n,d,m,c,f)},dnpgettext:function(d,m,c,f,v){return this.dcnpgettext.call(this,d,m,c,f,v)},dcnpgettext:function(d,m,c,f,v){f=f||c,d=d||this._textdomain;var b;if(!this.options)return b=new g,b.dcnpgettext.call(b,void 0,void 0,c,f,v);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[d])throw new Error("Domain `"+d+"` was not found.");if(!this.options.locale_data[d][""])throw new Error("No locale meta information provided.");if(!c)throw new Error("No translation key found.");var I=m?m+g.context_delimiter+c:c,R=this.options.locale_data,_=R[d],L=(R.messages||this.defaults.locale_data.messages)[""],A=_[""].plural_forms||_[""]["Plural-Forms"]||_[""]["plural-forms"]||L.plural_forms||L["Plural-Forms"]||L["plural-forms"],B,p,U;if(v===void 0)U=0;else{if(typeof v!="number"&&(v=parseInt(v,10),isNaN(v)))throw new Error("The number that was passed in is not a number.");U=y(A)(v)}if(!_)throw new Error("No domain named `"+d+"` could be found.");return B=_[I],!B||U>B.length?(this.options.missing_key_callback&&this.options.missing_key_callback(I,d),p=[c,f],this.options.debug===!0&&console.log(p[y(A)(v)]),p[y()(v)]):(p=B[U],p||(p=[c,f],p[y()(v)]))}});var w=function(){function d(f){return Object.prototype.toString.call(f).slice(8,-1).toLowerCase()}function m(f,v){for(var b=[];v>0;b[--v]=f);return b.join("")}var c=function(){return c.cache.hasOwnProperty(arguments[0])||(c.cache[arguments[0]]=c.parse(arguments[0])),c.format.call(null,c.cache[arguments[0]],arguments)};return c.format=function(f,v){var b=1,I=f.length,R="",_,L=[],A,B,p,U,H,V;for(A=0;A<I;A++)if(R=d(f[A]),R==="string")L.push(f[A]);else if(R==="array"){if(p=f[A],p[2])for(_=v[b],B=0;B<p[2].length;B++){if(!_.hasOwnProperty(p[2][B]))throw w('[sprintf] property "%s" does not exist',p[2][B]);_=_[p[2][B]]}else p[1]?_=v[p[1]]:_=v[b++];if(/[^s]/.test(p[8])&&d(_)!="number")throw w("[sprintf] expecting number but found %s",d(_));switch((typeof _=="undefined"||_===null)&&(_=""),p[8]){case"b":_=_.toString(2);break;case"c":_=String.fromCharCode(_);break;case"d":_=parseInt(_,10);break;case"e":_=p[7]?_.toExponential(p[7]):_.toExponential();break;case"f":_=p[7]?parseFloat(_).toFixed(p[7]):parseFloat(_);break;case"o":_=_.toString(8);break;case"s":_=(_=String(_))&&p[7]?_.substring(0,p[7]):_;break;case"u":_=Math.abs(_);break;case"x":_=_.toString(16);break;case"X":_=_.toString(16).toUpperCase();break}_=/[def]/.test(p[8])&&p[3]&&_>=0?"+"+_:_,H=p[4]?p[4]=="0"?"0":p[4].charAt(1):" ",V=p[6]-String(_).length,U=p[6]?m(H,V):"",L.push(p[5]?_+U:U+_)}return L.join("")},c.cache={},c.parse=function(f){for(var v=f,b=[],I=[],R=0;v;){if((b=/^[^\x25]+/.exec(v))!==null)I.push(b[0]);else if((b=/^\x25{2}/.exec(v))!==null)I.push("%");else if((b=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(v))!==null){if(b[2]){R|=1;var _=[],L=b[2],A=[];if((A=/^([a-z_][a-z_\d]*)/i.exec(L))!==null)for(_.push(A[1]);(L=L.substring(A[0].length))!=="";)if((A=/^\.([a-z_][a-z_\d]*)/i.exec(L))!==null)_.push(A[1]);else if((A=/^\[(\d+)\]/.exec(L))!==null)_.push(A[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";b[2]=_}else R|=2;if(R===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";I.push(b)}else throw"[sprintf] huh?";v=v.substring(b[0].length)}return I},c}(),O=function(d,m){return m.unshift(d),w.apply(null,m)};g.parse_plural=function(d,m){return d=d.replace(/n/g,m),g.parse_expression(d)},g.sprintf=function(d,m){return{}.toString.call(m)=="[object Array]"?O(d,[].slice.call(m)):w.apply(this,[].slice.call(arguments))},g.prototype.sprintf=function(){return g.sprintf.apply(this,arguments)},g.PF={},g.PF.parse=function(d){var m=g.PF.extractPluralExpr(d);return g.PF.parser.parse.call(g.PF.parser,m)},g.PF.compile=function(d){function m(f){return f===!0?1:f||0}var c=g.PF.parse(d);return function(f){return m(g.PF.interpreter(c)(f))}},g.PF.interpreter=function(d){return function(m){switch(d.type){case"GROUP":return g.PF.interpreter(d.expr)(m);case"TERNARY":return g.PF.interpreter(d.expr)(m)?g.PF.interpreter(d.truthy)(m):g.PF.interpreter(d.falsey)(m);case"OR":return g.PF.interpreter(d.left)(m)||g.PF.interpreter(d.right)(m);case"AND":return g.PF.interpreter(d.left)(m)&&g.PF.interpreter(d.right)(m);case"LT":return g.PF.interpreter(d.left)(m)<g.PF.interpreter(d.right)(m);case"GT":return g.PF.interpreter(d.left)(m)>g.PF.interpreter(d.right)(m);case"LTE":return g.PF.interpreter(d.left)(m)<=g.PF.interpreter(d.right)(m);case"GTE":return g.PF.interpreter(d.left)(m)>=g.PF.interpreter(d.right)(m);case"EQ":return g.PF.interpreter(d.left)(m)==g.PF.interpreter(d.right)(m);case"NEQ":return g.PF.interpreter(d.left)(m)!=g.PF.interpreter(d.right)(m);case"MOD":return g.PF.interpreter(d.left)(m)%g.PF.interpreter(d.right)(m);case"VAR":return m;case"NUM":return d.val;default:throw new Error("Invalid Token found.")}}},g.PF.extractPluralExpr=function(d){d=d.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(d)||(d=d.concat(";"));var m=/nplurals\=(\d+);/,c=/plural\=(.*);/,f=d.match(m),v;if(!(f.length>1))throw new Error("nplurals not found in plural_forms string: "+d);if(d=d.replace(m,""),v=d.match(c),!(v&&v.length>1))throw new Error("`plural` expression not found: "+d);return v[1]},g.PF.parser=function(){var d={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(f,v,b,I,R,_,L){var A=_.length-1;switch(R){case 1:return{type:"GROUP",expr:_[A-1]};case 2:this.$={type:"TERNARY",expr:_[A-4],truthy:_[A-2],falsey:_[A]};break;case 3:this.$={type:"OR",left:_[A-2],right:_[A]};break;case 4:this.$={type:"AND",left:_[A-2],right:_[A]};break;case 5:this.$={type:"LT",left:_[A-2],right:_[A]};break;case 6:this.$={type:"LTE",left:_[A-2],right:_[A]};break;case 7:this.$={type:"GT",left:_[A-2],right:_[A]};break;case 8:this.$={type:"GTE",left:_[A-2],right:_[A]};break;case 9:this.$={type:"NEQ",left:_[A-2],right:_[A]};break;case 10:this.$={type:"EQ",left:_[A-2],right:_[A]};break;case 11:this.$={type:"MOD",left:_[A-2],right:_[A]};break;case 12:this.$={type:"GROUP",expr:_[A-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(f)};break}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(f,v){throw new Error(f)},parse:function(f){var v=this,b=[0],I=[null],R=[],_=this.table,L="",A=0,B=0,p=0,U=2,H=1;this.lexer.setInput(f),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,typeof this.lexer.yylloc=="undefined"&&(this.lexer.yylloc={});var V=this.lexer.yylloc;R.push(V),typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function ae(F){b.length=b.length-2*F,I.length=I.length-F,R.length=R.length-F}function oe(){var F;return F=v.lexer.lex()||1,typeof F!="number"&&(F=v.symbols_[F]||F),F}for(var q,ce,ee,x,C,E={},T,D,k,j;;){if(ee=b[b.length-1],this.defaultActions[ee]?x=this.defaultActions[ee]:(q==null&&(q=oe()),x=_[ee]&&_[ee][q]),typeof x=="undefined"||!x.length||!x[0]){if(!p){j=[];for(T in _[ee])this.terminals_[T]&&T>2&&j.push("'"+this.terminals_[T]+"'");var z="";this.lexer.showPosition?z="Parse error on line "+(A+1)+`:
|
|
99
99
|
`+this.lexer.showPosition()+`
|
|
100
|
-
Expecting `+j.join(", ")+", got '"+this.terminals_[q]+"'":z="Parse error on line "+(A+1)+": Unexpected "+(q==1?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(z,{text:this.lexer.match,token:this.terminals_[q]||q,line:this.lexer.yylineno,loc:V,expected:j})}if(
|
|
100
|
+
Expecting `+j.join(", ")+", got '"+this.terminals_[q]+"'":z="Parse error on line "+(A+1)+": Unexpected "+(q==1?"end of input":"'"+(this.terminals_[q]||q)+"'"),this.parseError(z,{text:this.lexer.match,token:this.terminals_[q]||q,line:this.lexer.yylineno,loc:V,expected:j})}if(p==3){if(q==H)throw new Error(z||"Parsing halted.");B=this.lexer.yyleng,L=this.lexer.yytext,A=this.lexer.yylineno,V=this.lexer.yylloc,q=oe()}for(;!(U.toString()in _[ee]);){if(ee==0)throw new Error(z||"Parsing halted.");ae(1),ee=b[b.length-1]}ce=q,q=U,ee=b[b.length-1],x=_[ee]&&_[ee][U],p=3}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ee+", token: "+q);switch(x[0]){case 1:b.push(q),I.push(this.lexer.yytext),R.push(this.lexer.yylloc),b.push(x[1]),q=null,ce?(q=ce,ce=null):(B=this.lexer.yyleng,L=this.lexer.yytext,A=this.lexer.yylineno,V=this.lexer.yylloc,p>0&&p--);break;case 2:if(D=this.productions_[x[1]][1],E.$=I[I.length-D],E._$={first_line:R[R.length-(D||1)].first_line,last_line:R[R.length-1].last_line,first_column:R[R.length-(D||1)].first_column,last_column:R[R.length-1].last_column},C=this.performAction.call(E,L,B,A,this.yy,x[1],I,R),typeof C!="undefined")return C;D&&(b=b.slice(0,-1*D*2),I=I.slice(0,-1*D),R=R.slice(0,-1*D)),b.push(this.productions_[x[1]][0]),I.push(E.$),R.push(E._$),k=_[b[b.length-2]][b[b.length-1]],b.push(k);break;case 3:return!0}}return!0}},m=function(){var c={EOF:1,parseError:function(v,b){if(this.yy.parseError)this.yy.parseError(v,b);else throw new Error(v)},setInput:function(f){return this._input=f,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var f=this._input[0];this.yytext+=f,this.yyleng++,this.match+=f,this.matched+=f;var v=f.match(/\n/);return v&&this.yylineno++,this._input=this._input.slice(1),f},unput:function(f){return this._input=f+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var f=this.matched.substr(0,this.matched.length-this.match.length);return(f.length>20?"...":"")+f.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var f=this.match;return f.length<20&&(f+=this._input.substr(0,20-f.length)),(f.substr(0,20)+(f.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var f=this.pastInput(),v=new Array(f.length+1).join("-");return f+this.upcomingInput()+`
|
|
101
101
|
`+v+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var f,v,b;this._more||(this.yytext="",this.match="");for(var I=this._currentRules(),R=0;R<I.length;R++)if(v=this._input.match(this.rules[I[R]]),v)return b=v[0].match(/\n.*/g),b&&(this.yylineno+=b.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:b?b[b.length-1].length-1:this.yylloc.last_column+v[0].length},this.yytext+=v[0],this.match+=v[0],this.matches=v,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(v[0].length),this.matched+=v[0],f=this.performAction.call(this,this.yy,this,I[R],this.conditionStack[this.conditionStack.length-1]),f||void 0;if(this._input==="")return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
102
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return typeof v!="undefined"?v:this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(v){this.begin(v)}};return c.performAction=function(v,b,I,R){switch(I){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},c.rules=[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],c.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}},c}();return
|
|
102
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var v=this.next();return typeof v!="undefined"?v:this.lex()},begin:function(v){this.conditionStack.push(v)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(v){this.begin(v)}};return c.performAction=function(v,b,I,R){switch(I){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},c.rules=[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],c.conditions={INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}},c}();return d.lexer=m,d}(),e.exports&&(t=e.exports=g),t.Jed=g})()})(es,es.exports);var k3=es.exports;const Q3=e=>fetch(e).then(t=>t.json());function q3(e,t){return e.replace(/\{(\d+)\}/g,function(){return t[arguments[1]]})}function yt(){const{i18nFeed:e}=ie(i=>i.headerInfo),t=ie(i=>i.userLanguage),{data:r,error:n}=Wu(e&&t?q3(e,[t]):null,Q3);return fe(ne({},r&&{i18n:new k3({locale_data:r})}),{error:n})}function Zt(e){return e.match(/^(http|www).+/)}function ts(e){var f;const{item:t,level:r,hasChildren:n,children:i}=e,{href:a,label:o,id:s,group:l,premium:u={}}=t,{value:h=!1,locked:g=!1}=u,{i18n:y}=yt(),{isOpen:P,subMenus:w}=ie(v=>v.headerInfo),{items:O}=ie(v=>v.menuItems),d=P&&w.find(v=>v===s),m=!!l&&((f=O.find(v=>v.group===l))==null?void 0:f.id)===s,c=Be();if(!y)return null;if(h&&g)return Z("li",{className:"hd-nav-has-children",onClick:()=>{c(xt(s))},children:[M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:Z("span",{className:"px-lg-3 py-2 py-lg-1 d-block",children:[y&&y.translate("label").fetch(),M("span",{className:"float-end",children:M(Pe.Lock,{className:"hd-icon hd-icon-lock"})})]})})}),M("ul",{className:He("py-3","list-unstyled",{"hd-nav-second-level":r===1,"hd-nav-third-level":r===2,"hd-submenu-opened":d}),children:M("li",{className:"hd-premium",children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:Z("div",{className:"col p-lg-3",children:[M("span",{className:"d-lg-none mb-3",children:M(Pe.Lock,{className:"hd-icon hd-icon-lock"})}),Z("p",{children:["This premium functionality has not been activated.",M("br",{}),"Please contact us to activate this feature."]}),M("a",{className:"btn btn-sm btn-outline-primary",href:"#",target:"_blank",children:"Learn more"})]})})})})]});if(r===1)return Z("li",{className:"col-lg-auto p-0",onClick:()=>{n&&c(xt(s))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[M("div",{className:"col py-2 py-lg-0 px-0",children:a?M("a",fe(ne({className:"ps-lg-3 pe-3 py-2",href:a},Zt(a)&&{target:"_blank"}),{onClick:()=>{c(En(s))},children:y&&y.translate(o).fetch()})):M("span",{className:"ps-lg-3 pe-3 py-2",children:y&&y.translate(o).fetch()})}),n&&M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),n&&M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":d}),children:i})]});if(r===2)return Z(As,{children:[m&&M("div",{className:"row m-0 pt-3 pb-1 hd-nav-section",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("div",{className:"px-lg-3 d-block text-uppercase",children:y&&y.translate(l).fetch()})})}),Z("li",{onClick:()=>{n&&c(xt(s))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[M("div",{className:"col py-2 py-lg-0 px-0",children:a?M("a",fe(ne({className:"px-lg-3 py-2 py-lg-1 d-block",href:a},Zt(a)&&{target:"_blank"}),{onClick:()=>{c(En(s))},children:y&&y.translate(o).fetch()})):M("span",{className:"px-lg-3 py-2 py-lg-1 d-block",children:y&&y.translate(o).fetch()})}),n&&M("div",{className:"col-auto px-0",children:M("span",{className:"p-2 py-lg-1 d-lg-block",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})})]}),n&&M("ul",{className:He("py-3","ps-3","ps-lg-0","list-unstyled","hd-nav-third-level",{"hd-submenu-opened":d}),children:i})]})]});if(r===3)return M("li",{children:M("div",{className:"row m-0 py-1 py-lg-0 align-items-center",children:M("div",{className:"col p-lg-0",children:M("a",fe(ne({className:"px-lg-3 py-2 py-lg-1 d-block",href:a},Zt(a)&&{target:"_blank"}),{onClick:()=>{c(En(s))},children:y&&y.translate(o).fetch()}))})})})}const qf=X.exports.shape({id:X.exports.oneOfType([X.exports.string,X.exports.number]).isRequired,parentId:X.exports.oneOfType([X.exports.string,X.exports.number]),label:X.exports.string.isRequired,href:X.exports.string,premium:X.exports.shape({value:X.exports.bool,locked:X.exports.bool}),group:X.exports.string});ts.propTypes={item:qf.isRequired,level:X.exports.number.isRequired,hasChildren:X.exports.bool.isRequired,children:X.exports.element},ts.defaultProps={children:void 0};const Xf=Wr();function ci(e){const{menuItems:t,parentId:r=Xf,level:n=1}=e,i=t.filter(a=>(a.parentId||Xf)===r);return i.length?i.map(a=>{const o=!!t.find(h=>h.parentId===a.id),{premium:s={}}=a,{value:l=!1,locked:u=!1}=s;return M(ts,{item:a,level:n,hasChildren:o,premium:l,locked:u,children:M(ci,{menuItems:t,parentId:a.id,level:n+1})},a.id)}):null}ci.propTypes={menuItems:X.exports.arrayOf(qf).isRequired,parentId:X.exports.oneOfType([X.exports.string,X.exports.number]),level:X.exports.number},ci.defaultProps={parentId:void 0,level:void 0};function X3(){const{items:e}=ie(u=>u.menuItems),{isOpen:t,isMobileOrTablet:r,subMenus:n}=ie(u=>u.headerInfo),i=Be(),[a,{height:o}]=Oi(),s=S.useRef(null),l=Lr(!r||t,{from:{height:0},enter:{height:o},leave:{height:0},update:{height:o},config:fe(ne({},Kt.stiff),{clamp:!0})});return S.useEffect(()=>{if(e.length>0){const{origin:u,pathname:h,search:g}=new URL(window.location.href),y=Jo.parse(g),P=e.filter(m=>!!m.href).map(m=>new URL(m.href,u).pathname),w=new Set(P),O=P.filter(m=>{if(w.has(m)){w.delete(m);return}return m}),d=e.find(m=>{const{origin:c,pathname:f,search:v}=new URL(m.href,u);return O.find(b=>b===f)?c===u&&f===h&&H3(y,Jo.parse(v)):c===u&&f===h});d&&i(En(d.id))}},[e]),S.useEffect(()=>{s&&n.length>0&&(s.current.scrollTop=0)},[n.length]),l((u,h)=>h&&M(kt.div,{className:"container-xxl",id:"hd-nav-container",style:r?fe(ne({},u),{display:"block"}):{},children:M("nav",{className:"hd-nav",ref:a,children:M("ul",{ref:s,className:"row list-unstyled mb-0 hd-nav-first-level",children:M(ci,{menuItems:e})})})}))}function Yf(e){return Array.isArray(e)&&e.length>0}function li(e=new Date){const t=e.getMonth()+1,r=e.getDate();return+[e.getFullYear(),(t>9?"":"0")+t,(r>9?"":"0")+r].join("")}function Y3(){const[e,t]=S.useState([]),[r,n]=S.useState(0),[i,a]=S.useState(),[o,s]=S.useState(!0),{notifications:l}=ie(c=>c.titleBar),u=ie(c=>c.userLanguage),{isOpen:h,isMobileOrTablet:g}=ie(c=>c.headerInfo),{notifications:y,showNotifications:P}=ie(c=>c.notifications),w=g&&h,O=eg({opacity:w||e.length===0?0:1}),d=S.useRef(),m=Be();return F3(d,()=>{m(wu(!1))}),S.useEffect(()=>{(async()=>{if(l){let{type:c,items:f={}}=l;if(c==="fetch")try{f=await(await fetch(f)).json()}catch(v){console.error(v)}try{let v=new Date;v.setDate(-42),v=li(v),Object.keys(f).forEach(b=>{f[b].forEach(I=>{I.items=I.items.filter(R=>!R.date||li(new Date(R.date))>v)}),f[b]=f[b].filter(I=>I.items.length>0)}),f=DO(f,b=>b.length===0),m(yp(f))}catch(v){console.error(v)}}})()},[l]),S.useEffect(()=>{let c=y[u];u!=="en"&&!Yf(c)&&(c=y.en),Yf(c)&&(t(c),n(c.reduce((f,{items:v=[]})=>f+v.length,0)),a(Math.max(...c.reduce((f,{items:v=[]})=>[...f,...v],[]).filter(f=>{var v;return(v=f.date)==null?void 0:v.match(/^\d\d\d\d-\d\d-\d\d$/)}).map(f=>li(new Date(f.date))),19700101)))},[u,y]),S.useEffect(()=>{const c=Vc.get("ba-notif-read-date");i&&(!c||c<i?s(!1):s(!0))},[i]),M(kt.div,{className:He("col-auto","pe-lg-0","order-lg-4",{"hd-ringing":!o}),id:"hd-notifications",style:O,children:M("div",{className:"col-6 col-lg-auto p-lg-0",children:M("div",{className:"d-inline-block me-lg-3 my-1 my-lg-0",children:Z("div",{className:"hd-dropdown",children:[Z("button",{className:"btn p-2 hd-dropdown-toggle",type:"button",id:"hd-dropdown-notifications",onClick:c=>{w||(c.stopPropagation(),s(!0),Vc.set("ba-notif-read-date",li(),{expires:new Date(2147483647*1e3)}),m(wu(!P)))},children:[M(Pe.Bell,{className:"hd-icon hd-icon-bell"}),r>0&&Z(As,{children:[M("span",{className:"visually-hidden",children:"Notifications"}),M("span",{className:He("badge","rounded-pill",{"bg-danger":!o,"bg-primary":o}),children:r>=9?"9+":`${r}`})]})]}),M("ul",{className:"hd-dropdown-menu shadow",style:P?{display:"block"}:{},ref:d,children:e.map(c=>{const{title:f,items:v=[]}=c;return v.map((b,I)=>{const{title:R,url:_}=b;return Z(ue.default.Fragment,{children:[I===0&&f&&M("li",{children:M("span",{className:"hd-dropdown-header text-uppercase",children:f})}),M("li",{children:M("a",fe(ne({className:"hd-dropdown-item",href:_},Zt(_)&&{target:"_blank"}),{children:R}))})]},Wr())})})})]})})})})}function J3(e=!1){const[t,r]=S.useState(e),n=S.useCallback(()=>r(i=>!i),[]);return[t,n]}function Z3(){const[e,t]=J3(),{isOpen:r}=ie(i=>i.headerInfo),n=Be();return S.useEffect(()=>{n(dp(e)),e?document.body.style.overflow="hidden":(document.body.style.overflow="auto",n(pp()))},[e]),M("div",{className:He("col-auto","d-inline-block","d-lg-none","ms-0","ms-sm-4","me-3",{"hd-menu-opened":r}),id:"hd-menu-hamburger",onClick:t,children:M("div",{className:"d-block",children:M("div",{})})})}var pe={};/** @license React v17.0.2
|
|
103
103
|
* react-is.production.min.js
|
|
104
104
|
*
|
|
105
105
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
106
106
|
*
|
|
107
107
|
* This source code is licensed under the MIT license found in the
|
|
108
108
|
* LICENSE file in the root directory of this source tree.
|
|
109
|
-
*/var fi=60103,di=60106,Kr=60107,Gr=60108,kr=60114,Qr=60109,qr=60110,Xr=60112,Yr=60113,rs=60120,Jr=60115,Zr=60116,Jf=60121,Zf=60122,ed=60117,td=60129,rd=60131;if(typeof Symbol=="function"&&Symbol.for){var Se=Symbol.for;fi=Se("react.element"),di=Se("react.portal"),Kr=Se("react.fragment"),Gr=Se("react.strict_mode"),kr=Se("react.profiler"),Qr=Se("react.provider"),qr=Se("react.context"),Xr=Se("react.forward_ref"),Yr=Se("react.suspense"),rs=Se("react.suspense_list"),Jr=Se("react.memo"),Zr=Se("react.lazy"),Jf=Se("react.block"),Zf=Se("react.server.block"),ed=Se("react.fundamental"),td=Se("react.debug_trace_mode"),rd=Se("react.legacy_hidden")}function Qe(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fi:switch(e=e.type,e){case Kr:case kr:case Gr:case Yr:case rs:return e;default:switch(e=e&&e.$$typeof,e){case qr:case Xr:case Zr:case Jr:case Qr:return e;default:return t}}case di:return t}}}var e4=Qr,t4=fi,r4=Xr,n4=Kr,i4=Zr,a4=Jr,o4=di,s4=kr,u4=Gr,c4=Yr;pe.ContextConsumer=qr,pe.ContextProvider=e4,pe.Element=t4,pe.ForwardRef=r4,pe.Fragment=n4,pe.Lazy=i4,pe.Memo=a4,pe.Portal=o4,pe.Profiler=s4,pe.StrictMode=u4,pe.Suspense=c4,pe.isAsyncMode=function(){return!1},pe.isConcurrentMode=function(){return!1},pe.isContextConsumer=function(e){return Qe(e)===qr},pe.isContextProvider=function(e){return Qe(e)===Qr},pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fi},pe.isForwardRef=function(e){return Qe(e)===Xr},pe.isFragment=function(e){return Qe(e)===Kr},pe.isLazy=function(e){return Qe(e)===Zr},pe.isMemo=function(e){return Qe(e)===Jr},pe.isPortal=function(e){return Qe(e)===di},pe.isProfiler=function(e){return Qe(e)===kr},pe.isStrictMode=function(e){return Qe(e)===Gr},pe.isSuspense=function(e){return Qe(e)===Yr},pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kr||e===kr||e===td||e===Gr||e===Yr||e===rs||e===rd||typeof e=="object"&&e!==null&&(e.$$typeof===Zr||e.$$typeof===Jr||e.$$typeof===Qr||e.$$typeof===qr||e.$$typeof===Xr||e.$$typeof===ed||e.$$typeof===Jf||e[0]===Zf)},pe.typeOf=Qe;function nd(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function id(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function ns(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return id(r.overflowY,t)||id(r.overflowX,t)||function(n){var i=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!i&&(i.clientHeight<n.scrollHeight||i.clientWidth<n.scrollWidth)}(e)}return!1}function hi(e,t,r,n,i,a,o,s){return a<e&&o>t||a>e&&o<t?0:a<=e&&s<=r||o>=t&&s>=r?a-e-n:o>t&&s<r||a<e&&s>r?o-t+i:0}function l4(e,t){var r=window,n=t.scrollMode,i=t.block,a=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l=typeof o=="function"?o:function(W){return W!==o};if(!nd(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,h=[],g=e;nd(g)&&l(g);){if((g=g.parentElement)===u){h.push(g);break}g!=null&&g===document.body&&ns(g)&&!ns(document.documentElement)||g!=null&&ns(g,s)&&h.push(g)}for(var y=r.visualViewport?r.visualViewport.width:innerWidth,w=r.visualViewport?r.visualViewport.height:innerHeight,O=window.scrollX||pageXOffset,P=window.scrollY||pageYOffset,p=e.getBoundingClientRect(),m=p.height,c=p.width,f=p.top,v=p.right,b=p.bottom,I=p.left,R=i==="start"||i==="nearest"?f:i==="end"?b:f+m/2,_=a==="center"?I+c/2:a==="end"?v:I,L=[],A=0;A<h.length;A++){var B=h[A],d=B.getBoundingClientRect(),U=d.height,H=d.width,V=d.top,ae=d.right,oe=d.bottom,q=d.left;if(n==="if-needed"&&f>=0&&I>=0&&b<=w&&v<=y&&f>=V&&b<=oe&&I>=q&&v<=ae)return L;var ce=getComputedStyle(B),ee=parseInt(ce.borderLeftWidth,10),x=parseInt(ce.borderTopWidth,10),C=parseInt(ce.borderRightWidth,10),E=parseInt(ce.borderBottomWidth,10),T=0,D=0,k="offsetWidth"in B?B.offsetWidth-B.clientWidth-ee-C:0,j="offsetHeight"in B?B.offsetHeight-B.clientHeight-x-E:0;if(u===B)T=i==="start"?R:i==="end"?R-w:i==="nearest"?hi(P,P+w,w,x,E,P+R,P+R+m,m):R-w/2,D=a==="start"?_:a==="center"?_-y/2:a==="end"?_-y:hi(O,O+y,y,ee,C,O+_,O+_+c,c),T=Math.max(0,T+P),D=Math.max(0,D+O);else{T=i==="start"?R-V-x:i==="end"?R-oe+E+j:i==="nearest"?hi(V,oe,U,x,E+j,R,R+m,m):R-(V+U/2)+j/2,D=a==="start"?_-q-ee:a==="center"?_-(q+H/2)+k/2:a==="end"?_-ae+C+k:hi(q,ae,H,ee,C+k,_,_+c,c);var z=B.scrollLeft,F=B.scrollTop;R+=F-(T=Math.max(0,Math.min(F+T,B.scrollHeight-U+j))),_+=z-(D=Math.max(0,Math.min(z+D,B.scrollWidth-H+k)))}L.push({el:B,top:T,left:D})}return L}var f4=0;function ad(){}function d4(e,t){if(!!e){var r=l4(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach(function(n){var i=n.el,a=n.top,o=n.left;i.scrollTop=a,i.scrollLeft=o})}}function od(e,t,r){var n=e===t||t instanceof r.Node&&e.contains&&e.contains(t);return n}function sd(e,t){var r;function n(){r&&clearTimeout(r)}function i(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];n(),r=setTimeout(function(){r=null,e.apply(void 0,o)},t)}return i.cancel=n,i}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return t.some(function(s){return s&&s.apply(void 0,[n].concat(a)),n.preventDownshiftDefault||n.hasOwnProperty("nativeEvent")&&n.nativeEvent.preventDownshiftDefault})}}function en(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){typeof i=="function"?i(n):i&&(i.current=n)})}}function h4(){return String(f4++)}function p4(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?r+" result"+(r===1?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function is(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=ud(t,n)?t[n]:e[n],r},{})}function ud(e,t){return e[t]!==void 0}function g4(e){var t=e.key,r=e.keyCode;return r>=37&&r<=40&&t.indexOf("Arrow")!==0?"Arrow"+t:t}function as(e,t,r,n,i){if(i===void 0&&(i=!0),r===0)return-1;var a=r-1;(typeof t!="number"||t<0||t>=r)&&(t=e>0?-1:a+1);var o=t+e;o<0?o=i?a:0:o>a&&(o=i?0:a);var s=tn(e,o,r,n,i);return s===-1?t>=r?-1:t:s}function tn(e,t,r,n,i){var a=n(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var o=t+1;o<r;o++)if(!n(o).hasAttribute("disabled"))return o}else for(var s=t-1;s>=0;s--)if(!n(s).hasAttribute("disabled"))return s;return i?e>0?tn(1,0,r,n,!1):tn(-1,r-1,r,n,!1):-1}function cd(e,t,r,n){return n===void 0&&(n=!0),t.some(function(i){return i&&(od(i,e,r)||n&&od(i,r.document.activeElement,r))})}var v4=sd(function(e){ld(e).textContent=""},500);function m4(e,t){var r=ld(t);!e||(r.textContent=e,v4(t))}function ld(e){e===void 0&&(e=document);var t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var y4=["isInitialMount","highlightedIndex","items","environment"],fd={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function b4(e,t,r){var n=e.props,i=e.type,a={};Object.keys(t).forEach(function(o){w4(o,e,t,r),r[o]!==t[o]&&(a[o]=r[o])}),n.onStateChange&&Object.keys(a).length&&n.onStateChange(ve({type:i},a))}function w4(e,t,r,n){var i=t.props,a=t.type,o="on"+os(e)+"Change";i[o]&&n[e]!==void 0&&n[e]!==r[e]&&i[o](ve({type:a},n))}function _4(e,t){return t.changes}function O4(e){var t=e.selectedItem,r=e.itemToString;return t?r(t)+" has been selected.":""}var P4=sd(function(e,t){m4(e(),t)},200),x4=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect;function I4(e){var t=e.id,r=t===void 0?"downshift-"+h4():t,n=e.labelId,i=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId,l=S.useRef({labelId:n||r+"-label",menuId:i||r+"-menu",getItemId:a||function(u){return r+"-item-"+u},toggleButtonId:o||r+"-toggle-button",inputId:s||r+"-input"});return l.current}function S4(e,t,r){return e!==void 0?e:r.length===0?-1:r.indexOf(t)}function E4(e){return e?String(e):""}function os(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function dd(e){var t=S.useRef(e);return t.current=e,t}function C4(e,t,r){var n=S.useRef(),i=S.useRef(),a=S.useCallback(function(y,w){i.current=w,y=is(y,w.props);var O=e(y,w),P=w.props.stateReducer(y,ve({},w,{changes:O}));return P},[e]),o=S.useReducer(a,t),s=o[0],l=o[1],u=dd(r),h=S.useCallback(function(y){return l(ve({props:u.current},y))},[u]),g=i.current;return S.useEffect(function(){g&&n.current&&n.current!==s&&b4(g,is(n.current,g.props),s),n.current=s},[s,r,g]),[s,h]}var rn={itemToString:E4,stateReducer:_4,getA11ySelectionMessage:O4,scrollIntoView:d4,circularNavigation:!1,environment:typeof window=="undefined"?{}:window};function tt(e,t,r){r===void 0&&(r=fd);var n="default"+os(t);return n in e?e[n]:r[t]}function pi(e,t,r){if(r===void 0&&(r=fd),t in e)return e[t];var n="initial"+os(t);return n in e?e[n]:tt(e,t,r)}function M4(e){var t=pi(e,"selectedItem"),r=pi(e,"isOpen"),n=pi(e,"highlightedIndex"),i=pi(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:i}}function gi(e,t,r,n){var i=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,s=t.selectedItem,l=t.highlightedIndex;return i.length===0?-1:a!==void 0&&l===a?a:o!==void 0?o:s?r===0?i.indexOf(s):as(r,i.indexOf(s),i.length,n,!1):r===0?-1:r<0?i.length-1:0}function R4(e,t,r,n){var i=S.useRef({isMouseDown:!1,isTouchMove:!1});return S.useEffect(function(){var a=function(){i.current.isMouseDown=!0},o=function(g){i.current.isMouseDown=!1,e&&!cd(g.target,t.map(function(y){return y.current}),r)&&n()},s=function(){i.current.isTouchMove=!1},l=function(){i.current.isTouchMove=!0},u=function(g){e&&!i.current.isTouchMove&&!cd(g.target,t.map(function(y){return y.current}),r,!1)&&n()};return r.addEventListener("mousedown",a),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",a),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}},[e,r]),i}var A4=function(){return ad};function hd(e,t,r){var n=r.isInitialMount,i=r.highlightedIndex,a=r.items,o=r.environment,s=Nt(r,y4);S.useEffect(function(){n||P4(function(){return e(ve({highlightedIndex:i,highlightedItem:a[i],resultCount:a.length},s))},o.document)},t)}function T4(e){var t=e.highlightedIndex,r=e.isOpen,n=e.itemRefs,i=e.getItemNodeFromIndex,a=e.menuElement,o=e.scrollIntoView,s=S.useRef(!0);return x4(function(){t<0||!r||!Object.keys(n.current).length||(s.current===!1?s.current=!0:o(i(t),a))},[t]),s}var $4=ad;function N4(e,t,r){var n=t.type,i=t.props,a;switch(n){case r.ItemMouseMove:a={highlightedIndex:t.index};break;case r.MenuMouseLeave:a={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:gi(i,e,0)};break;case r.FunctionOpenMenu:a={isOpen:!0,highlightedIndex:gi(i,e,0)};break;case r.FunctionCloseMenu:a={isOpen:!1};break;case r.FunctionSetHighlightedIndex:a={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:a={inputValue:t.inputValue};break;case r.FunctionReset:a={highlightedIndex:tt(i,"highlightedIndex"),isOpen:tt(i,"isOpen"),selectedItem:tt(i,"selectedItem"),inputValue:tt(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return ve({},e,a)}N.array.isRequired,N.func,N.func,N.func,N.bool,N.number,N.number,N.number,N.bool,N.bool,N.bool,N.any,N.any,N.any,N.string,N.string,N.string,N.func,N.string,N.func,N.func,N.func,N.func,N.func,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})});function D4(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?r+" result"+(r===1?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}bn(bn({},rn),{getA11yStatusMessage:D4});var ss=0,us=1,cs=2,ls=3,fs=4,ds=5,hs=6,vi=7,pd=8,gd=9,ps=10,vd=11,md=12,yd=13,bd=14,wd=15,gs=16,_d=17,Od=18,vs=19,Pd=Object.freeze({__proto__:null,InputKeyDownArrowDown:ss,InputKeyDownArrowUp:us,InputKeyDownEscape:cs,InputKeyDownHome:ls,InputKeyDownEnd:fs,InputKeyDownEnter:ds,InputChange:hs,InputBlur:vi,MenuMouseLeave:pd,ItemMouseMove:gd,ItemClick:ps,ToggleButtonClick:vd,FunctionToggleMenu:md,FunctionOpenMenu:yd,FunctionCloseMenu:bd,FunctionSetHighlightedIndex:wd,FunctionSelectItem:gs,FunctionSetInputValue:_d,FunctionReset:Od,ControlledPropUpdatedSelectedItem:vs});function F4(e){var t=M4(e),r=t.selectedItem,n=t.inputValue;return n===""&&r&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(n=e.itemToString(r)),ve({},t,{inputValue:n})}N.array.isRequired,N.func,N.func,N.func,N.bool,N.number,N.number,N.number,N.bool,N.bool,N.bool,N.any,N.any,N.any,N.string,N.string,N.string,N.string,N.string,N.string,N.func,N.string,N.string,N.func,N.func,N.func,N.func,N.func,N.func,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})});function L4(e,t,r){var n=S.useRef(),i=C4(e,t,r),a=i[0],o=i[1];return S.useEffect(function(){ud(r,"selectedItem")&&(n.current!==r.selectedItem&&o({type:vs,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)}),[is(a,r),o]}var j4=ve({},rn,{getA11yStatusMessage:p4,circularNavigation:!0});function W4(e,t){var r=t.type,n=t.props,i=t.shiftKey,a;switch(r){case ps:a={isOpen:tt(n,"isOpen"),highlightedIndex:tt(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case ss:e.isOpen?a={highlightedIndex:as(i?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:a={highlightedIndex:gi(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case us:e.isOpen?a={highlightedIndex:as(i?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:a={highlightedIndex:gi(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ds:a=ve({},e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:tt(n,"isOpen"),highlightedIndex:tt(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])});break;case cs:a=ve({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case ls:a={highlightedIndex:tn(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case fs:a={highlightedIndex:tn(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case vi:a=ve({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])});break;case hs:a={isOpen:!0,highlightedIndex:tt(n,"highlightedIndex"),inputValue:t.inputValue};break;case gs:a={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case vs:a={inputValue:t.inputValue};break;default:return N4(e,t,Pd)}return ve({},e,a)}var H4=["onMouseLeave","refKey","ref"],V4=["item","index","refKey","ref","onMouseMove","onClick","onPress"],z4=["onClick","onPress","refKey","ref"],U4=["onKeyDown","onChange","onInput","onBlur","onChangeText","refKey","ref"],B4=["refKey","ref"];xd.stateChangeTypes=Pd;function xd(e){e===void 0&&(e={});var t=ve({},j4,e),r=t.initialIsOpen,n=t.defaultIsOpen,i=t.items,a=t.scrollIntoView,o=t.environment,s=t.getA11yStatusMessage,l=t.getA11ySelectionMessage,u=t.itemToString,h=F4(t),g=L4(W4,h,t),y=g[0],w=g[1],O=y.isOpen,P=y.highlightedIndex,p=y.selectedItem,m=y.inputValue,c=S.useRef(null),f=S.useRef({}),v=S.useRef(null),b=S.useRef(null),I=S.useRef(null),R=S.useRef(!0),_=I4(t),L=S.useRef(),A=dd({state:y,props:t}),B=S.useCallback(function(F){return f.current[_.getItemId(F)]},[_]);hd(s,[O,P,m,i],ve({isInitialMount:R.current,previousResultCount:L.current,items:i,environment:o,itemToString:u},y)),hd(l,[p],ve({isInitialMount:R.current,previousResultCount:L.current,items:i,environment:o,itemToString:u},y));var d=T4({menuElement:c.current,highlightedIndex:P,isOpen:O,itemRefs:f,scrollIntoView:a,getItemNodeFromIndex:B});$4({isInitialMount:R.current,props:t,state:y}),S.useEffect(function(){var F=r||n||O;F&&v.current&&v.current.focus()},[]),S.useEffect(function(){R.current||(L.current=i.length)});var U=R4(O,[I,c,b],o,function(){w({type:vi,selectItem:!1})}),H=A4();S.useEffect(function(){R.current=!1},[]),S.useEffect(function(){O||(f.current={})},[O]);var V=S.useMemo(function(){return{ArrowDown:function(W){W.preventDefault(),w({type:ss,shiftKey:W.shiftKey,getItemNodeFromIndex:B})},ArrowUp:function(W){W.preventDefault(),w({type:us,shiftKey:W.shiftKey,getItemNodeFromIndex:B})},Home:function(W){!A.current.state.isOpen||(W.preventDefault(),w({type:ls,getItemNodeFromIndex:B}))},End:function(W){!A.current.state.isOpen||(W.preventDefault(),w({type:fs,getItemNodeFromIndex:B}))},Escape:function(){var W=A.current.state;(W.isOpen||W.inputValue||W.selectedItem||W.highlightedIndex>-1)&&w({type:cs})},Enter:function(W){var G=A.current.state;!G.isOpen||G.highlightedIndex<0||W.which===229||(W.preventDefault(),w({type:ds,getItemNodeFromIndex:B}))}}},[w,A,B]),ae=S.useCallback(function(F){return ve({id:_.labelId,htmlFor:_.inputId},F)},[_]),oe=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.onMouseLeave,K=Q.refKey,de=K===void 0?"ref":K,se=Q.ref,te=Nt(Q,H4),ye=W===void 0?{}:W;return ye.suppressRefError,ve((G={},G[de]=en(se,function(xe){c.current=xe}),G.id=_.menuId,G.role="listbox",G["aria-labelledby"]=_.labelId,G.onMouseLeave=At(re,function(){w({type:pd})}),G),te)},[w,H,_]),q=S.useCallback(function(F){var W,G,Q=F===void 0?{}:F,re=Q.item,K=Q.index,de=Q.refKey,se=de===void 0?"ref":de,te=Q.ref,ye=Q.onMouseMove,xe=Q.onClick;Q.onPress;var Ee=Nt(Q,V4),Fe=A.current,we=Fe.props,Tt=Fe.state,bt=S4(K,re,we.items);if(bt<0)throw new Error("Pass either item or item index in getItemProps!");var an="onClick",st=xe,rt=function(){K!==Tt.highlightedIndex&&(d.current=!1,w({type:gd,index:K}))},qe=function(){w({type:ps,index:K}),v.current&&v.current.focus()};return ve((W={},W[se]=en(te,function(We){We&&(f.current[_.getItemId(bt)]=We)}),W.role="option",W["aria-selected"]=""+(bt===Tt.highlightedIndex),W.id=_.getItemId(bt),W),!Ee.disabled&&(G={onMouseMove:At(ye,rt)},G[an]=At(st,qe),G),Ee)},[w,A,d,_]),ce=S.useCallback(function(F){var W,G=F===void 0?{}:F,Q=G.onClick;G.onPress;var re=G.refKey,K=re===void 0?"ref":re,de=G.ref,se=Nt(G,z4),te=function(){w({type:vd}),!A.current.state.isOpen&&v.current&&v.current.focus()};return ve((W={},W[K]=en(de,function(ye){b.current=ye}),W.id=_.toggleButtonId,W.tabIndex=-1,W),!se.disabled&&ve({},{onClick:At(Q,te)}),se)},[w,A,_]),ee=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.onKeyDown,K=Q.onChange,de=Q.onInput,se=Q.onBlur;Q.onChangeText;var te=Q.refKey,ye=te===void 0?"ref":te,xe=Q.ref,Ee=Nt(Q,U4),Fe=W===void 0?{}:W;Fe.suppressRefError;var we=A.current.state,Tt=function(wt){var $t=g4(wt);$t&&V[$t]&&V[$t](wt)},bt=function(wt){w({type:hs,inputValue:wt.target.value})},an=function(){we.isOpen&&!U.current.isMouseDown&&w({type:vi,selectItem:!0})},st="onChange",rt={};if(!Ee.disabled){var qe;rt=(qe={},qe[st]=At(K,de,bt),qe.onKeyDown=At(re,Tt),qe.onBlur=At(se,an),qe)}return ve((G={},G[ye]=en(xe,function(We){v.current=We}),G.id=_.inputId,G["aria-autocomplete"]="list",G["aria-controls"]=_.menuId,G),we.isOpen&&we.highlightedIndex>-1&&{"aria-activedescendant":_.getItemId(we.highlightedIndex)},{"aria-labelledby":_.labelId,autoComplete:"off",value:we.inputValue},rt,Ee)},[w,V,A,U,H,_]),x=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.refKey,K=re===void 0?"ref":re,de=Q.ref,se=Nt(Q,B4),te=W===void 0?{}:W;return te.suppressRefError,ve((G={},G[K]=en(de,function(ye){I.current=ye}),G.role="combobox",G["aria-haspopup"]="listbox",G["aria-owns"]=_.menuId,G["aria-expanded"]=A.current.state.isOpen,G),se)},[A,H,_]),C=S.useCallback(function(){w({type:md})},[w]),E=S.useCallback(function(){w({type:bd})},[w]),T=S.useCallback(function(){w({type:yd})},[w]),D=S.useCallback(function(F){w({type:wd,highlightedIndex:F})},[w]),k=S.useCallback(function(F){w({type:gs,selectedItem:F})},[w]),j=S.useCallback(function(F){w({type:_d,inputValue:F})},[w]),z=S.useCallback(function(){w({type:Od})},[w]);return{getItemProps:q,getLabelProps:ae,getMenuProps:oe,getInputProps:ee,getComboboxProps:x,getToggleButtonProps:ce,toggleMenu:C,openMenu:T,closeMenu:E,setHighlightedIndex:D,setInputValue:j,selectItem:k,reset:z,highlightedIndex:P,isOpen:O,selectedItem:p,inputValue:m}}function K4(e){var t=e.removedSelectedItem,r=e.itemToString;return r(t)+" has been removed."}N.array,N.array,N.array,N.func,N.func,N.func,N.number,N.number,N.number,N.func,N.func,N.string,N.string,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})}),rn.itemToString,rn.stateReducer,rn.environment;function ms(e){let t,r,n;try{t=e[0],[r,n]=e[1].split("_").map(i=>+i)}catch{}return{name:t,hotelId:r,guideId:n}}const nn=["0_0"];function ys(e){const{hotels:t,defaultHotel:r,selectedHotel:n,handleHotelChange:i,subMenuItem:a}=e,{i18n:o}=yt();o&&nn.length===1&&nn.unshift(o.translate("header.no_matches_please_try_again").fetch());const[s,l]=S.useState([]),[u,h]=S.useState(r&&r[0]||""),{subMenus:g}=ie(I=>I.headerInfo),y=Be(),w=g.find(I=>I===a),O=I=>I?I[0]:"",{isOpen:P,getMenuProps:p,getInputProps:m,getComboboxProps:c,highlightedIndex:f,getItemProps:v,closeMenu:b}=xd({items:s,itemToString:O,initialSelectedItem:r,selectedItem:n,initialInputValue:r&&r[0]||"",onSelectedItemChange:({selectedItem:I})=>{Ce.unstable_batchedUpdates(()=>{I&&I!==nn&&y(Ou(I)),y(Wi(a))}),typeof i=="function"&&I&&I!==nn&&i(ms(I)),document.querySelector("#hd-property-input").blur()},onInputValueChange:({inputValue:I})=>{const R=I.toLowerCase(),_=t.filter(L=>R?O(L).toLowerCase().trim().match(`(^|\\s)${R}`):!1);_.length>0?l(_):R?l([nn]):(l([]),b()),h(I)}});return M("ul",{className:He("col-12","col-lg","py-3","px-lg-0","py-lg-0","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":w}),children:M("li",{children:Z("div",{id:"hd-property-search",children:[M("label",{htmlFor:"hd-property-input",className:"form-label d-lg-none visually-hidden",children:"Select property"}),Z("div",fe(ne({id:"hd-property-input-container"},c()),{children:[M("input",fe(ne({},m({onChange:I=>{const R=I.target.selectionStart;setTimeout(()=>{I.target.setSelectionRange(R,R)},0)},onFocus:I=>{document.querySelector("#hd-property-search").classList.add("hd-active")},onBlur:I=>{document.querySelector("#hd-property-search").classList.remove("hd-active");const{name:R}=ms(n);I.target.value!==R&&h(R)}})),{type:"text",className:"form-control",placeholder:o&&o.translate("header.type_property_name").fetch(),id:"hd-property-input",value:u})),M("ul",fe(ne({className:"mb-0 list-unstyled shadow"},p()),{children:P&&s.map((I,R)=>Z("li",fe(ne({className:He("px-3","py-3","py-lg-2",{"hd-active":f===R})},v({hotel:I,index:R})),{children:[I[0],I===n&&M(Pe.Tick,{className:"hd-icon hd-icon-tick float-end"})]}),I[1]))})),M(Pe.Search,{className:"hd-icon hd-icon-search"}),M(Pe.Close,{className:"hd-icon hd-icon-close",onClick:()=>{h(""),b()},onMouseDown:I=>{I.preventDefault()}})]}))]})})})}ys.propTypes={hotels:X.exports.arrayOf(X.exports.arrayOf(X.exports.string)).isRequired,defaultHotel:X.exports.arrayOf(X.exports.string),selectedHotel:X.exports.arrayOf(X.exports.string),handleHotelChange:X.exports.func,subMenuItem:X.exports.oneOfType([X.exports.string,X.exports.number]).isRequired},ys.defaultProps={defaultHotel:void 0,selectedHotel:void 0,handleHotelChange:void 0};function G4(e){const{handleHotelChange:t}=e,[r,n]=S.useState(""),i=ie(c=>c.userInfo),{isOpen:a,isMobileOrTablet:o}=ie(c=>c.headerInfo),{propertySelector:s}=ie(c=>c.titleBar),{items:l,defaultHotel:u,selectedHotel:h}=ie(c=>c.hotels),[g,{height:y}]=Oi(),w=Lr(!o||a,{from:{height:0},enter:{height:y},leave:{height:0},update:{height:y},config:fe(ne({},Kt.stiff),{clamp:!0})}),{i18n:O}=yt(),P=Be();S.useEffect(()=>{(async()=>{if(s){let{type:c,items:f=[]}=s;if(c==="fetch")try{f=await(await fetch(f)).json()}catch(b){console.error(b)}const v=f.find(b=>{const[I,R]=b[1].split("_").map(_=>+_);return i.hotelId===I&&i.guideId===R});Ce.unstable_batchedUpdates(()=>{P(wp(f)),v&&(P(_p(v)),P(Ou(v)))})}})()},[s]),S.useEffect(()=>{if(i.group)n(i.group);else if(h){const{name:c}=ms(h);n(c)}},[i,h]);const{label:p}=s||{},m=i.group&&l.length>1;return w((c,f)=>f&&M(kt.div,{className:"col-12 col-lg me-lg-auto px-0 order-lg-3",id:"hd-property",style:o?fe(ne({},c),{display:"block"}):{},children:M("ul",{ref:g,className:"row list-unstyled mx-0 mb-0 hd-nav-first-level",children:M("li",{className:"col-lg-auto align-items-center",onClick:()=>{m&&P(xt(p))},children:Z("div",{className:"row py-lg-0 align-items-center",children:[Z("div",{className:"col col-lg-auto py-2 py-lg-0",id:i.group?"hd-group-property-name":"hd-hotel-property-name",children:[M("span",{className:"ps-lg-3 py-3 py-lg-0 d-block",id:i.group?"hd-group-name":"hd-hotel-name",children:r}),m&&Z("div",{className:"row me-0 d-lg-none align-items-center",children:[Z("div",{className:"col",children:[M("small",{className:"pt-2",children:O&&O.translate(p).fetch()}),M("span",{className:"d-block",id:"hd-property-name",children:h&&h[0]||u&&u[0]})]}),M("div",{className:"col-auto p-2 d-block",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]})]}),m&&M(ys,{hotels:l,defaultHotel:u,selectedHotel:h,handleHotelChange:t,subMenuItem:p})]})})})}))}function k4(){const{i18n:e}=yt(),{subMenus:t}=ie(s=>s.headerInfo),{help:r}=ie(s=>s.titleBar),n=Be();if(!r)return null;const{label:i,children:a}=r,o=t.find(s=>s===i);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{n(xt(i))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[M("div",{className:"col py-2 py-lg-0 px-0",children:Z("span",{className:"ps-lg-3 pe-3 py-2 d-block",children:[M("span",{className:"ps-lg-2",children:e&&e.translate(i).fetch()}),M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":o}),children:a.map(({href:s,label:l})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",fe(ne({className:"px-lg-4 py-2 d-block",href:s},Zt(s)&&{target:"_blank"}),{children:e&&e.translate(l).fetch()}))})})},Wr()))})]})}function Q4(){const{i18n:e}=yt(),{subMenus:t}=ie(l=>l.headerInfo),{user:r}=ie(l=>l.titleBar),{username:n}=ie(l=>l.userInfo),i=Be();if(!r)return null;const{label:a,children:o}=r,s=t.find(l=>l===a);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{i(xt(a))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[Z("div",{className:"col py-2 py-lg-0 px-0",children:[M("small",{className:"pt-2 d-lg-none",children:e&&e.translate(a).fetch()}),Z("span",{className:"ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",children:[M("span",{className:"d-none d-lg-inline",children:M(Pe.User,{className:"hd-icon hd-icon-user"})}),M("span",{className:"ps-lg-2",children:n}),M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})]}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":s}),children:o.map(({href:l,label:u})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",fe(ne({className:"px-lg-4 py-2 d-block",href:l},Zt(l)&&{target:"_blank"}),{children:e&&e.translate(u).fetch()}))})})},Wr()))})]})}function bs(e){const{handleLanguageChange:t}=e,[r,n]=S.useState(),[i,a]=S.useState([]),o=ie(w=>w.userLanguage),{languageSelector:s}=ie(w=>w.titleBar),{subMenus:l}=ie(w=>w.headerInfo),u=Be(),{i18n:h}=yt();if(S.useEffect(()=>{if(s){const{children:w}=s;if(Array.isArray(w)){const O=w.map(({code:P,label:p})=>{const m=new Intl.DisplayNames([P],{type:"language"});return{code:P,name:p||m.of(P)}});O.length>0&&a(O)}}},[s]),S.useEffect(()=>{var w;if(o){const O=(w=i.find(({code:P})=>P===o))==null?void 0:w.name;O&&n(O)}},[o,i]),!s)return null;const{label:g}=s,y=l.find(w=>w===g);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{u(xt(g))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[Z("div",{className:"col py-2 py-lg-0 px-0",children:[M("small",{className:"pt-2 d-lg-none",children:h&&h.translate(g).fetch()}),Z("span",{className:"ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",children:[r,M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})]}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":y}),children:i.map(({code:w,name:O})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",{className:"px-lg-4 py-2 d-block",href:"#",onClick:P=>{P.preventDefault(),P.stopPropagation(),w!==o&&(u(mu(w)),typeof t=="function"&&t(w)),u(Wi(g))},children:O},w)})})},Wr()))})]})}bs.propTypes={handleLanguageChange:X.exports.func},bs.defaultProps={handleLanguageChange:void 0};function q4(){const[e,t]=S.useState(),{isOpen:r,subMenus:n,isMobileOrTablet:i}=ie(u=>u.headerInfo),{items:a}=ie(u=>u.menuItems),o=Lr(n.length>0,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0},config:Kt.stiff}),s=Be(),{i18n:l}=yt();return S.useEffect(()=>{var h;const u=((h=a.find(g=>g.id===n[n.length-1]))==null?void 0:h.label)||n[n.length-1];u&&t(u)},[a,n]),!i||!r?null:o((u,h)=>h&&Z(kt.div,{className:"col py-2 py-lg-0",id:"hd-submenu-title-container",style:u,children:[M("span",{id:"hd-submenu-back",onClick:()=>{s(Wi(n[n.length-1]))},children:M(Pe.ArrowLeft,{className:"hd-icon hd-icon-arrow-left"})}),M("span",{className:"ms-3",id:"hd-submenu-title",children:e&&l&&l.translate(e).fetch()})]}))}function ws(e){const{handleHotelChange:t,handleLanguageChange:r}=e,{isOpen:n,isMobileOrTablet:i}=ie(l=>l.headerInfo),[a,{height:o}]=Oi(),s=Lr(!i||n,{from:{height:0},enter:{height:o},leave:{height:0},update:{height:o},config:fe(ne({},Kt.stiff),{clamp:!0})});return M("div",{className:"container-xxl",id:"hd-top-container",children:Z("div",{className:"row align-items-center pb-lg-2",id:"hd-header-container",children:[M(q4,{}),M(yg,{}),M(Y3,{}),M(Z3,{}),M(G4,{handleHotelChange:t}),s((l,u)=>u&&M(kt.div,{className:"col-12 col-lg-auto ps-lg-0 align-middle order-lg-5",id:"hd-nav-container-top",style:i?fe(ne({},l),{display:"block"}):{},children:M("nav",{ref:a,id:"hd-top-nav",children:Z("ul",{className:"row list-unstyled mb-0 hd-nav-first-level",children:[M(k4,{}),M(bs,{handleLanguageChange:r}),M(Q4,{})]})})}))]})})}ws.propTypes={handleHotelChange:X.exports.func,handleLanguageChange:X.exports.func},ws.defaultProps={handleHotelChange:void 0,handleLanguageChange:void 0};function X4(){const[e,t]=S.useState([]),{items:r,selectedItem:n}=ie(a=>a.menuItems),{i18n:i}=yt();return S.useEffect(()=>{if(n){const a=[];let o=r.find(s=>s.id===n);do a.push(o),o=r.find(s=>s.id===o.parentId);while(o);t(a.reverse())}},[n]),e.length===0?null:M("div",{className:"container-xxl mb-3",children:M("nav",{"aria-label":"breadcrumb",id:"hd-breadcrumb",children:Z("ol",{className:"breadcrumb mb-0",children:[M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[0].label).fetch()}),e.length>=2&&M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[1].label).fetch()}),e.length===3&&M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[2].label).fetch()})]})})})}function _s(e){const{config:t,userInfo:r,userLanguage:n,i18nFeed:i}=e,{isOpen:a,subMenus:o,isMobileOrTablet:s}=ie(p=>p.headerInfo),{showNotifications:l}=ie(p=>p.notifications),u=S.useRef(null),h=Be();S.useEffect(()=>{n&&h(mu(n)),r&&h(lp(r)),i&&h(gp(i))},[]);const{width:g}=Eh();S.useEffect(()=>{g&&h(hp(g))},[g]);const{headerConfig:y={},error:w}=Zp(t),{titleBar:O,menuBar:P}=y;return S.useEffect(()=>{O&&h(up(O))},[O]),S.useEffect(()=>{P&&h(op(P))},[P]),S.useEffect(()=>{u&&o.length>0&&(u.current.scrollTop=0)},[o.length]),w?(console.error(w),null):Z("div",{children:[Z("div",{ref:u,id:"hd-container",className:He("container-fluid","px-0 fixed-top",{"hd-menu-opened":a,"hd-overflow-hidden":o.length>0}),style:fe(ne(ne({},s&&!a&&{overflow:"hidden"}),l&&{overflow:"visible"}),{maxWidth:"none"}),children:[M(ws,ne({},e)),M(X3,{})]}),M(X4,{})]})}_s.propTypes={userInfo:X.exports.shape({username:X.exports.string,hotelId:X.exports.number,guideId:X.exports.number}),userLanguage:X.exports.string,config:X.exports.string.isRequired,i18nFeed:X.exports.string},_s.defaultProps={userInfo:void 0,userLanguage:"en",i18nFeed:void 0};const Id=Ip(_s);function Y4(e,t){Ce.render(M(Id,ne({},t)),e)}_e.Header=Id,_e.renderHeader=Y4,Object.defineProperties(_e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
109
|
+
*/var fi=60103,di=60106,Kr=60107,Gr=60108,kr=60114,Qr=60109,qr=60110,Xr=60112,Yr=60113,rs=60120,Jr=60115,Zr=60116,Jf=60121,Zf=60122,ed=60117,td=60129,rd=60131;if(typeof Symbol=="function"&&Symbol.for){var Se=Symbol.for;fi=Se("react.element"),di=Se("react.portal"),Kr=Se("react.fragment"),Gr=Se("react.strict_mode"),kr=Se("react.profiler"),Qr=Se("react.provider"),qr=Se("react.context"),Xr=Se("react.forward_ref"),Yr=Se("react.suspense"),rs=Se("react.suspense_list"),Jr=Se("react.memo"),Zr=Se("react.lazy"),Jf=Se("react.block"),Zf=Se("react.server.block"),ed=Se("react.fundamental"),td=Se("react.debug_trace_mode"),rd=Se("react.legacy_hidden")}function Qe(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fi:switch(e=e.type,e){case Kr:case kr:case Gr:case Yr:case rs:return e;default:switch(e=e&&e.$$typeof,e){case qr:case Xr:case Zr:case Jr:case Qr:return e;default:return t}}case di:return t}}}var e4=Qr,t4=fi,r4=Xr,n4=Kr,i4=Zr,a4=Jr,o4=di,s4=kr,u4=Gr,c4=Yr;pe.ContextConsumer=qr,pe.ContextProvider=e4,pe.Element=t4,pe.ForwardRef=r4,pe.Fragment=n4,pe.Lazy=i4,pe.Memo=a4,pe.Portal=o4,pe.Profiler=s4,pe.StrictMode=u4,pe.Suspense=c4,pe.isAsyncMode=function(){return!1},pe.isConcurrentMode=function(){return!1},pe.isContextConsumer=function(e){return Qe(e)===qr},pe.isContextProvider=function(e){return Qe(e)===Qr},pe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fi},pe.isForwardRef=function(e){return Qe(e)===Xr},pe.isFragment=function(e){return Qe(e)===Kr},pe.isLazy=function(e){return Qe(e)===Zr},pe.isMemo=function(e){return Qe(e)===Jr},pe.isPortal=function(e){return Qe(e)===di},pe.isProfiler=function(e){return Qe(e)===kr},pe.isStrictMode=function(e){return Qe(e)===Gr},pe.isSuspense=function(e){return Qe(e)===Yr},pe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kr||e===kr||e===td||e===Gr||e===Yr||e===rs||e===rd||typeof e=="object"&&e!==null&&(e.$$typeof===Zr||e.$$typeof===Jr||e.$$typeof===Qr||e.$$typeof===qr||e.$$typeof===Xr||e.$$typeof===ed||e.$$typeof===Jf||e[0]===Zf)},pe.typeOf=Qe;function nd(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function id(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function ns(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return id(r.overflowY,t)||id(r.overflowX,t)||function(n){var i=function(a){if(!a.ownerDocument||!a.ownerDocument.defaultView)return null;try{return a.ownerDocument.defaultView.frameElement}catch{return null}}(n);return!!i&&(i.clientHeight<n.scrollHeight||i.clientWidth<n.scrollWidth)}(e)}return!1}function hi(e,t,r,n,i,a,o,s){return a<e&&o>t||a>e&&o<t?0:a<=e&&s<=r||o>=t&&s>=r?a-e-n:o>t&&s<r||a<e&&s>r?o-t+i:0}function l4(e,t){var r=window,n=t.scrollMode,i=t.block,a=t.inline,o=t.boundary,s=t.skipOverflowHiddenElements,l=typeof o=="function"?o:function(W){return W!==o};if(!nd(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,h=[],g=e;nd(g)&&l(g);){if((g=g.parentElement)===u){h.push(g);break}g!=null&&g===document.body&&ns(g)&&!ns(document.documentElement)||g!=null&&ns(g,s)&&h.push(g)}for(var y=r.visualViewport?r.visualViewport.width:innerWidth,P=r.visualViewport?r.visualViewport.height:innerHeight,w=window.scrollX||pageXOffset,O=window.scrollY||pageYOffset,d=e.getBoundingClientRect(),m=d.height,c=d.width,f=d.top,v=d.right,b=d.bottom,I=d.left,R=i==="start"||i==="nearest"?f:i==="end"?b:f+m/2,_=a==="center"?I+c/2:a==="end"?v:I,L=[],A=0;A<h.length;A++){var B=h[A],p=B.getBoundingClientRect(),U=p.height,H=p.width,V=p.top,ae=p.right,oe=p.bottom,q=p.left;if(n==="if-needed"&&f>=0&&I>=0&&b<=P&&v<=y&&f>=V&&b<=oe&&I>=q&&v<=ae)return L;var ce=getComputedStyle(B),ee=parseInt(ce.borderLeftWidth,10),x=parseInt(ce.borderTopWidth,10),C=parseInt(ce.borderRightWidth,10),E=parseInt(ce.borderBottomWidth,10),T=0,D=0,k="offsetWidth"in B?B.offsetWidth-B.clientWidth-ee-C:0,j="offsetHeight"in B?B.offsetHeight-B.clientHeight-x-E:0;if(u===B)T=i==="start"?R:i==="end"?R-P:i==="nearest"?hi(O,O+P,P,x,E,O+R,O+R+m,m):R-P/2,D=a==="start"?_:a==="center"?_-y/2:a==="end"?_-y:hi(w,w+y,y,ee,C,w+_,w+_+c,c),T=Math.max(0,T+O),D=Math.max(0,D+w);else{T=i==="start"?R-V-x:i==="end"?R-oe+E+j:i==="nearest"?hi(V,oe,U,x,E+j,R,R+m,m):R-(V+U/2)+j/2,D=a==="start"?_-q-ee:a==="center"?_-(q+H/2)+k/2:a==="end"?_-ae+C+k:hi(q,ae,H,ee,C+k,_,_+c,c);var z=B.scrollLeft,F=B.scrollTop;R+=F-(T=Math.max(0,Math.min(F+T,B.scrollHeight-U+j))),_+=z-(D=Math.max(0,Math.min(z+D,B.scrollWidth-H+k)))}L.push({el:B,top:T,left:D})}return L}var f4=0;function ad(){}function d4(e,t){if(!!e){var r=l4(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});r.forEach(function(n){var i=n.el,a=n.top,o=n.left;i.scrollTop=a,i.scrollLeft=o})}}function od(e,t,r){var n=e===t||t instanceof r.Node&&e.contains&&e.contains(t);return n}function sd(e,t){var r;function n(){r&&clearTimeout(r)}function i(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];n(),r=setTimeout(function(){r=null,e.apply(void 0,o)},t)}return i.cancel=n,i}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return t.some(function(s){return s&&s.apply(void 0,[n].concat(a)),n.preventDownshiftDefault||n.hasOwnProperty("nativeEvent")&&n.nativeEvent.preventDownshiftDefault})}}function en(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){t.forEach(function(i){typeof i=="function"?i(n):i&&(i.current=n)})}}function h4(){return String(f4++)}function p4(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?r+" result"+(r===1?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function is(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=ud(t,n)?t[n]:e[n],r},{})}function ud(e,t){return e[t]!==void 0}function g4(e){var t=e.key,r=e.keyCode;return r>=37&&r<=40&&t.indexOf("Arrow")!==0?"Arrow"+t:t}function as(e,t,r,n,i){if(i===void 0&&(i=!0),r===0)return-1;var a=r-1;(typeof t!="number"||t<0||t>=r)&&(t=e>0?-1:a+1);var o=t+e;o<0?o=i?a:0:o>a&&(o=i?0:a);var s=tn(e,o,r,n,i);return s===-1?t>=r?-1:t:s}function tn(e,t,r,n,i){var a=n(t);if(!a||!a.hasAttribute("disabled"))return t;if(e>0){for(var o=t+1;o<r;o++)if(!n(o).hasAttribute("disabled"))return o}else for(var s=t-1;s>=0;s--)if(!n(s).hasAttribute("disabled"))return s;return i?e>0?tn(1,0,r,n,!1):tn(-1,r-1,r,n,!1):-1}function cd(e,t,r,n){return n===void 0&&(n=!0),t.some(function(i){return i&&(od(i,e,r)||n&&od(i,r.document.activeElement,r))})}var v4=sd(function(e){ld(e).textContent=""},500);function m4(e,t){var r=ld(t);!e||(r.textContent=e,v4(t))}function ld(e){e===void 0&&(e=document);var t=e.getElementById("a11y-status-message");return t||(t=e.createElement("div"),t.setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var y4=["isInitialMount","highlightedIndex","items","environment"],fd={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function b4(e,t,r){var n=e.props,i=e.type,a={};Object.keys(t).forEach(function(o){w4(o,e,t,r),r[o]!==t[o]&&(a[o]=r[o])}),n.onStateChange&&Object.keys(a).length&&n.onStateChange(ve({type:i},a))}function w4(e,t,r,n){var i=t.props,a=t.type,o="on"+os(e)+"Change";i[o]&&n[e]!==void 0&&n[e]!==r[e]&&i[o](ve({type:a},n))}function _4(e,t){return t.changes}function O4(e){var t=e.selectedItem,r=e.itemToString;return t?r(t)+" has been selected.":""}var P4=sd(function(e,t){m4(e(),t)},200),x4=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect;function I4(e){var t=e.id,r=t===void 0?"downshift-"+h4():t,n=e.labelId,i=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId,l=S.useRef({labelId:n||r+"-label",menuId:i||r+"-menu",getItemId:a||function(u){return r+"-item-"+u},toggleButtonId:o||r+"-toggle-button",inputId:s||r+"-input"});return l.current}function S4(e,t,r){return e!==void 0?e:r.length===0?-1:r.indexOf(t)}function E4(e){return e?String(e):""}function os(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function dd(e){var t=S.useRef(e);return t.current=e,t}function C4(e,t,r){var n=S.useRef(),i=S.useRef(),a=S.useCallback(function(y,P){i.current=P,y=is(y,P.props);var w=e(y,P),O=P.props.stateReducer(y,ve({},P,{changes:w}));return O},[e]),o=S.useReducer(a,t),s=o[0],l=o[1],u=dd(r),h=S.useCallback(function(y){return l(ve({props:u.current},y))},[u]),g=i.current;return S.useEffect(function(){g&&n.current&&n.current!==s&&b4(g,is(n.current,g.props),s),n.current=s},[s,r,g]),[s,h]}var rn={itemToString:E4,stateReducer:_4,getA11ySelectionMessage:O4,scrollIntoView:d4,circularNavigation:!1,environment:typeof window=="undefined"?{}:window};function tt(e,t,r){r===void 0&&(r=fd);var n="default"+os(t);return n in e?e[n]:r[t]}function pi(e,t,r){if(r===void 0&&(r=fd),t in e)return e[t];var n="initial"+os(t);return n in e?e[n]:tt(e,t,r)}function M4(e){var t=pi(e,"selectedItem"),r=pi(e,"isOpen"),n=pi(e,"highlightedIndex"),i=pi(e,"inputValue");return{highlightedIndex:n<0&&t&&r?e.items.indexOf(t):n,isOpen:r,selectedItem:t,inputValue:i}}function gi(e,t,r,n){var i=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,s=t.selectedItem,l=t.highlightedIndex;return i.length===0?-1:a!==void 0&&l===a?a:o!==void 0?o:s?r===0?i.indexOf(s):as(r,i.indexOf(s),i.length,n,!1):r===0?-1:r<0?i.length-1:0}function R4(e,t,r,n){var i=S.useRef({isMouseDown:!1,isTouchMove:!1});return S.useEffect(function(){var a=function(){i.current.isMouseDown=!0},o=function(g){i.current.isMouseDown=!1,e&&!cd(g.target,t.map(function(y){return y.current}),r)&&n()},s=function(){i.current.isTouchMove=!1},l=function(){i.current.isTouchMove=!0},u=function(g){e&&!i.current.isTouchMove&&!cd(g.target,t.map(function(y){return y.current}),r,!1)&&n()};return r.addEventListener("mousedown",a),r.addEventListener("mouseup",o),r.addEventListener("touchstart",s),r.addEventListener("touchmove",l),r.addEventListener("touchend",u),function(){r.removeEventListener("mousedown",a),r.removeEventListener("mouseup",o),r.removeEventListener("touchstart",s),r.removeEventListener("touchmove",l),r.removeEventListener("touchend",u)}},[e,r]),i}var A4=function(){return ad};function hd(e,t,r){var n=r.isInitialMount,i=r.highlightedIndex,a=r.items,o=r.environment,s=Nt(r,y4);S.useEffect(function(){n||P4(function(){return e(ve({highlightedIndex:i,highlightedItem:a[i],resultCount:a.length},s))},o.document)},t)}function T4(e){var t=e.highlightedIndex,r=e.isOpen,n=e.itemRefs,i=e.getItemNodeFromIndex,a=e.menuElement,o=e.scrollIntoView,s=S.useRef(!0);return x4(function(){t<0||!r||!Object.keys(n.current).length||(s.current===!1?s.current=!0:o(i(t),a))},[t]),s}var $4=ad;function N4(e,t,r){var n=t.type,i=t.props,a;switch(n){case r.ItemMouseMove:a={highlightedIndex:t.index};break;case r.MenuMouseLeave:a={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:gi(i,e,0)};break;case r.FunctionOpenMenu:a={isOpen:!0,highlightedIndex:gi(i,e,0)};break;case r.FunctionCloseMenu:a={isOpen:!1};break;case r.FunctionSetHighlightedIndex:a={highlightedIndex:t.highlightedIndex};break;case r.FunctionSetInputValue:a={inputValue:t.inputValue};break;case r.FunctionReset:a={highlightedIndex:tt(i,"highlightedIndex"),isOpen:tt(i,"isOpen"),selectedItem:tt(i,"selectedItem"),inputValue:tt(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return ve({},e,a)}N.array.isRequired,N.func,N.func,N.func,N.bool,N.number,N.number,N.number,N.bool,N.bool,N.bool,N.any,N.any,N.any,N.string,N.string,N.string,N.func,N.string,N.func,N.func,N.func,N.func,N.func,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})});function D4(e){var t=e.isOpen,r=e.resultCount,n=e.previousResultCount;return t?r?r!==n?r+" result"+(r===1?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select.":"":"No results are available.":""}bn(bn({},rn),{getA11yStatusMessage:D4});var ss=0,us=1,cs=2,ls=3,fs=4,ds=5,hs=6,vi=7,pd=8,gd=9,ps=10,vd=11,md=12,yd=13,bd=14,wd=15,gs=16,_d=17,Od=18,vs=19,Pd=Object.freeze({__proto__:null,InputKeyDownArrowDown:ss,InputKeyDownArrowUp:us,InputKeyDownEscape:cs,InputKeyDownHome:ls,InputKeyDownEnd:fs,InputKeyDownEnter:ds,InputChange:hs,InputBlur:vi,MenuMouseLeave:pd,ItemMouseMove:gd,ItemClick:ps,ToggleButtonClick:vd,FunctionToggleMenu:md,FunctionOpenMenu:yd,FunctionCloseMenu:bd,FunctionSetHighlightedIndex:wd,FunctionSelectItem:gs,FunctionSetInputValue:_d,FunctionReset:Od,ControlledPropUpdatedSelectedItem:vs});function F4(e){var t=M4(e),r=t.selectedItem,n=t.inputValue;return n===""&&r&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(n=e.itemToString(r)),ve({},t,{inputValue:n})}N.array.isRequired,N.func,N.func,N.func,N.bool,N.number,N.number,N.number,N.bool,N.bool,N.bool,N.any,N.any,N.any,N.string,N.string,N.string,N.string,N.string,N.string,N.func,N.string,N.string,N.func,N.func,N.func,N.func,N.func,N.func,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})});function L4(e,t,r){var n=S.useRef(),i=C4(e,t,r),a=i[0],o=i[1];return S.useEffect(function(){ud(r,"selectedItem")&&(n.current!==r.selectedItem&&o({type:vs,inputValue:r.itemToString(r.selectedItem)}),n.current=a.selectedItem===n.current?r.selectedItem:a.selectedItem)}),[is(a,r),o]}var j4=ve({},rn,{getA11yStatusMessage:p4,circularNavigation:!0});function W4(e,t){var r=t.type,n=t.props,i=t.shiftKey,a;switch(r){case ps:a={isOpen:tt(n,"isOpen"),highlightedIndex:tt(n,"highlightedIndex"),selectedItem:n.items[t.index],inputValue:n.itemToString(n.items[t.index])};break;case ss:e.isOpen?a={highlightedIndex:as(i?5:1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:a={highlightedIndex:gi(n,e,1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case us:e.isOpen?a={highlightedIndex:as(i?-5:-1,e.highlightedIndex,n.items.length,t.getItemNodeFromIndex,n.circularNavigation)}:a={highlightedIndex:gi(n,e,-1,t.getItemNodeFromIndex),isOpen:n.items.length>=0};break;case ds:a=ve({},e.isOpen&&e.highlightedIndex>=0&&{selectedItem:n.items[e.highlightedIndex],isOpen:tt(n,"isOpen"),highlightedIndex:tt(n,"highlightedIndex"),inputValue:n.itemToString(n.items[e.highlightedIndex])});break;case cs:a=ve({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case ls:a={highlightedIndex:tn(1,0,n.items.length,t.getItemNodeFromIndex,!1)};break;case fs:a={highlightedIndex:tn(-1,n.items.length-1,n.items.length,t.getItemNodeFromIndex,!1)};break;case vi:a=ve({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.selectItem&&{selectedItem:n.items[e.highlightedIndex],inputValue:n.itemToString(n.items[e.highlightedIndex])});break;case hs:a={isOpen:!0,highlightedIndex:tt(n,"highlightedIndex"),inputValue:t.inputValue};break;case gs:a={selectedItem:t.selectedItem,inputValue:n.itemToString(t.selectedItem)};break;case vs:a={inputValue:t.inputValue};break;default:return N4(e,t,Pd)}return ve({},e,a)}var H4=["onMouseLeave","refKey","ref"],V4=["item","index","refKey","ref","onMouseMove","onClick","onPress"],z4=["onClick","onPress","refKey","ref"],U4=["onKeyDown","onChange","onInput","onBlur","onChangeText","refKey","ref"],B4=["refKey","ref"];xd.stateChangeTypes=Pd;function xd(e){e===void 0&&(e={});var t=ve({},j4,e),r=t.initialIsOpen,n=t.defaultIsOpen,i=t.items,a=t.scrollIntoView,o=t.environment,s=t.getA11yStatusMessage,l=t.getA11ySelectionMessage,u=t.itemToString,h=F4(t),g=L4(W4,h,t),y=g[0],P=g[1],w=y.isOpen,O=y.highlightedIndex,d=y.selectedItem,m=y.inputValue,c=S.useRef(null),f=S.useRef({}),v=S.useRef(null),b=S.useRef(null),I=S.useRef(null),R=S.useRef(!0),_=I4(t),L=S.useRef(),A=dd({state:y,props:t}),B=S.useCallback(function(F){return f.current[_.getItemId(F)]},[_]);hd(s,[w,O,m,i],ve({isInitialMount:R.current,previousResultCount:L.current,items:i,environment:o,itemToString:u},y)),hd(l,[d],ve({isInitialMount:R.current,previousResultCount:L.current,items:i,environment:o,itemToString:u},y));var p=T4({menuElement:c.current,highlightedIndex:O,isOpen:w,itemRefs:f,scrollIntoView:a,getItemNodeFromIndex:B});$4({isInitialMount:R.current,props:t,state:y}),S.useEffect(function(){var F=r||n||w;F&&v.current&&v.current.focus()},[]),S.useEffect(function(){R.current||(L.current=i.length)});var U=R4(w,[I,c,b],o,function(){P({type:vi,selectItem:!1})}),H=A4();S.useEffect(function(){R.current=!1},[]),S.useEffect(function(){w||(f.current={})},[w]);var V=S.useMemo(function(){return{ArrowDown:function(W){W.preventDefault(),P({type:ss,shiftKey:W.shiftKey,getItemNodeFromIndex:B})},ArrowUp:function(W){W.preventDefault(),P({type:us,shiftKey:W.shiftKey,getItemNodeFromIndex:B})},Home:function(W){!A.current.state.isOpen||(W.preventDefault(),P({type:ls,getItemNodeFromIndex:B}))},End:function(W){!A.current.state.isOpen||(W.preventDefault(),P({type:fs,getItemNodeFromIndex:B}))},Escape:function(){var W=A.current.state;(W.isOpen||W.inputValue||W.selectedItem||W.highlightedIndex>-1)&&P({type:cs})},Enter:function(W){var G=A.current.state;!G.isOpen||G.highlightedIndex<0||W.which===229||(W.preventDefault(),P({type:ds,getItemNodeFromIndex:B}))}}},[P,A,B]),ae=S.useCallback(function(F){return ve({id:_.labelId,htmlFor:_.inputId},F)},[_]),oe=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.onMouseLeave,K=Q.refKey,de=K===void 0?"ref":K,se=Q.ref,te=Nt(Q,H4),ye=W===void 0?{}:W;return ye.suppressRefError,ve((G={},G[de]=en(se,function(xe){c.current=xe}),G.id=_.menuId,G.role="listbox",G["aria-labelledby"]=_.labelId,G.onMouseLeave=At(re,function(){P({type:pd})}),G),te)},[P,H,_]),q=S.useCallback(function(F){var W,G,Q=F===void 0?{}:F,re=Q.item,K=Q.index,de=Q.refKey,se=de===void 0?"ref":de,te=Q.ref,ye=Q.onMouseMove,xe=Q.onClick;Q.onPress;var Ee=Nt(Q,V4),Fe=A.current,we=Fe.props,Tt=Fe.state,bt=S4(K,re,we.items);if(bt<0)throw new Error("Pass either item or item index in getItemProps!");var an="onClick",st=xe,rt=function(){K!==Tt.highlightedIndex&&(p.current=!1,P({type:gd,index:K}))},qe=function(){P({type:ps,index:K}),v.current&&v.current.focus()};return ve((W={},W[se]=en(te,function(We){We&&(f.current[_.getItemId(bt)]=We)}),W.role="option",W["aria-selected"]=""+(bt===Tt.highlightedIndex),W.id=_.getItemId(bt),W),!Ee.disabled&&(G={onMouseMove:At(ye,rt)},G[an]=At(st,qe),G),Ee)},[P,A,p,_]),ce=S.useCallback(function(F){var W,G=F===void 0?{}:F,Q=G.onClick;G.onPress;var re=G.refKey,K=re===void 0?"ref":re,de=G.ref,se=Nt(G,z4),te=function(){P({type:vd}),!A.current.state.isOpen&&v.current&&v.current.focus()};return ve((W={},W[K]=en(de,function(ye){b.current=ye}),W.id=_.toggleButtonId,W.tabIndex=-1,W),!se.disabled&&ve({},{onClick:At(Q,te)}),se)},[P,A,_]),ee=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.onKeyDown,K=Q.onChange,de=Q.onInput,se=Q.onBlur;Q.onChangeText;var te=Q.refKey,ye=te===void 0?"ref":te,xe=Q.ref,Ee=Nt(Q,U4),Fe=W===void 0?{}:W;Fe.suppressRefError;var we=A.current.state,Tt=function(wt){var $t=g4(wt);$t&&V[$t]&&V[$t](wt)},bt=function(wt){P({type:hs,inputValue:wt.target.value})},an=function(){we.isOpen&&!U.current.isMouseDown&&P({type:vi,selectItem:!0})},st="onChange",rt={};if(!Ee.disabled){var qe;rt=(qe={},qe[st]=At(K,de,bt),qe.onKeyDown=At(re,Tt),qe.onBlur=At(se,an),qe)}return ve((G={},G[ye]=en(xe,function(We){v.current=We}),G.id=_.inputId,G["aria-autocomplete"]="list",G["aria-controls"]=_.menuId,G),we.isOpen&&we.highlightedIndex>-1&&{"aria-activedescendant":_.getItemId(we.highlightedIndex)},{"aria-labelledby":_.labelId,autoComplete:"off",value:we.inputValue},rt,Ee)},[P,V,A,U,H,_]),x=S.useCallback(function(F,W){var G,Q=F===void 0?{}:F,re=Q.refKey,K=re===void 0?"ref":re,de=Q.ref,se=Nt(Q,B4),te=W===void 0?{}:W;return te.suppressRefError,ve((G={},G[K]=en(de,function(ye){I.current=ye}),G.role="combobox",G["aria-haspopup"]="listbox",G["aria-owns"]=_.menuId,G["aria-expanded"]=A.current.state.isOpen,G),se)},[A,H,_]),C=S.useCallback(function(){P({type:md})},[P]),E=S.useCallback(function(){P({type:bd})},[P]),T=S.useCallback(function(){P({type:yd})},[P]),D=S.useCallback(function(F){P({type:wd,highlightedIndex:F})},[P]),k=S.useCallback(function(F){P({type:gs,selectedItem:F})},[P]),j=S.useCallback(function(F){P({type:_d,inputValue:F})},[P]),z=S.useCallback(function(){P({type:Od})},[P]);return{getItemProps:q,getLabelProps:ae,getMenuProps:oe,getInputProps:ee,getComboboxProps:x,getToggleButtonProps:ce,toggleMenu:C,openMenu:T,closeMenu:E,setHighlightedIndex:D,setInputValue:j,selectItem:k,reset:z,highlightedIndex:O,isOpen:w,selectedItem:d,inputValue:m}}function K4(e){var t=e.removedSelectedItem,r=e.itemToString;return r(t)+" has been removed."}N.array,N.array,N.array,N.func,N.func,N.func,N.number,N.number,N.number,N.func,N.func,N.string,N.string,N.shape({addEventListener:N.func,removeEventListener:N.func,document:N.shape({getElementById:N.func,activeElement:N.any,body:N.any})}),rn.itemToString,rn.stateReducer,rn.environment;function ms(e){let t,r,n;try{t=e[0],[r,n]=e[1].split("_").map(i=>+i)}catch{}return{name:t,hotelId:r,guideId:n}}const nn=["0_0"];function ys(e){const{hotels:t,defaultHotel:r,selectedHotel:n,handleHotelChange:i,subMenuItem:a}=e,{i18n:o}=yt();o&&nn.length===1&&nn.unshift(o.translate("header.no_matches_please_try_again").fetch());const[s,l]=S.useState([]),[u,h]=S.useState(r&&r[0]||""),{subMenus:g}=ie(I=>I.headerInfo),y=Be(),P=g.find(I=>I===a),w=I=>I?I[0]:"",{isOpen:O,getMenuProps:d,getInputProps:m,getComboboxProps:c,highlightedIndex:f,getItemProps:v,closeMenu:b}=xd({items:s,itemToString:w,initialSelectedItem:r,selectedItem:n,initialInputValue:r&&r[0]||"",onSelectedItemChange:({selectedItem:I})=>{Ce.unstable_batchedUpdates(()=>{I&&I!==nn&&y(Ou(I)),y(Wi(a))}),typeof i=="function"&&I&&I!==nn&&i(ms(I)),document.querySelector("#hd-property-input").blur()},onInputValueChange:({inputValue:I})=>{const R=I.toLowerCase(),_=t.filter(L=>R?w(L).toLowerCase().trim().match(`(^|\\s)${R}`):!1);_.length>0?l(_):R?l([nn]):(l([]),b()),h(I)}});return M("ul",{className:He("col-12","col-lg","py-3","px-lg-0","py-lg-0","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":P}),children:M("li",{children:Z("div",{id:"hd-property-search",children:[M("label",{htmlFor:"hd-property-input",className:"form-label d-lg-none visually-hidden",children:"Select property"}),Z("div",fe(ne({id:"hd-property-input-container"},c()),{children:[M("input",fe(ne({},m({onChange:I=>{const R=I.target.selectionStart;setTimeout(()=>{I.target.setSelectionRange(R,R)},0)},onFocus:I=>{document.querySelector("#hd-property-search").classList.add("hd-active")},onBlur:I=>{document.querySelector("#hd-property-search").classList.remove("hd-active");const{name:R}=ms(n);I.target.value!==R&&h(R)}})),{type:"text",className:"form-control",placeholder:o&&o.translate("header.type_property_name").fetch(),id:"hd-property-input",value:u})),M("ul",fe(ne({className:"mb-0 list-unstyled shadow"},d()),{children:O&&s.map((I,R)=>Z("li",fe(ne({className:He("px-3","py-3","py-lg-2",{"hd-active":f===R})},v({hotel:I,index:R})),{children:[I[0],I===n&&M(Pe.Tick,{className:"hd-icon hd-icon-tick float-end"})]}),I[1]))})),M(Pe.Search,{className:"hd-icon hd-icon-search"}),M(Pe.Close,{className:"hd-icon hd-icon-close",onClick:()=>{h(""),b()},onMouseDown:I=>{I.preventDefault()}})]}))]})})})}ys.propTypes={hotels:X.exports.arrayOf(X.exports.arrayOf(X.exports.string)).isRequired,defaultHotel:X.exports.arrayOf(X.exports.string),selectedHotel:X.exports.arrayOf(X.exports.string),handleHotelChange:X.exports.func,subMenuItem:X.exports.oneOfType([X.exports.string,X.exports.number]).isRequired},ys.defaultProps={defaultHotel:void 0,selectedHotel:void 0,handleHotelChange:void 0};function G4(e){const{handleHotelChange:t}=e,[r,n]=S.useState(""),i=ie(c=>c.userInfo),{isOpen:a,isMobileOrTablet:o}=ie(c=>c.headerInfo),{propertySelector:s}=ie(c=>c.titleBar),{items:l,defaultHotel:u,selectedHotel:h}=ie(c=>c.hotels),[g,{height:y}]=Oi(),P=Lr(!o||a,{from:{height:0},enter:{height:y},leave:{height:0},update:{height:y},config:fe(ne({},Kt.stiff),{clamp:!0})}),{i18n:w}=yt(),O=Be();S.useEffect(()=>{(async()=>{if(s){let{type:c,items:f=[]}=s;if(c==="fetch")try{f=await(await fetch(f)).json()}catch(b){console.error(b)}const v=f.find(b=>{const[I,R]=b[1].split("_").map(_=>+_);return i.hotelId===I&&i.guideId===R});Ce.unstable_batchedUpdates(()=>{O(wp(f)),v&&(O(_p(v)),O(Ou(v)))})}})()},[s]),S.useEffect(()=>{if(i.group)n(i.group);else if(h){const{name:c}=ms(h);n(c)}},[i,h]);const{label:d}=s||{},m=i.group&&l.length>1;return P((c,f)=>f&&M(kt.div,{className:"col-12 col-lg me-lg-auto px-0 order-lg-3",id:"hd-property",style:o?fe(ne({},c),{display:"block"}):{},children:M("ul",{ref:g,className:"row list-unstyled mx-0 mb-0 hd-nav-first-level",children:M("li",{className:"col-lg-auto align-items-center",onClick:()=>{m&&O(xt(d))},children:Z("div",{className:"row py-lg-0 align-items-center",children:[Z("div",{className:"col col-lg-auto py-2 py-lg-0",id:i.group?"hd-group-property-name":"hd-hotel-property-name",children:[M("span",{className:"ps-lg-3 py-3 py-lg-0 d-block",id:i.group?"hd-group-name":"hd-hotel-name",children:r}),m&&Z("div",{className:"row me-0 d-lg-none align-items-center",children:[Z("div",{className:"col",children:[M("small",{className:"pt-2",children:w&&w.translate(d).fetch()}),M("span",{className:"d-block",id:"hd-property-name",children:h&&h[0]||u&&u[0]})]}),M("div",{className:"col-auto p-2 d-block",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]})]}),m&&M(ys,{hotels:l,defaultHotel:u,selectedHotel:h,handleHotelChange:t,subMenuItem:d})]})})})}))}function k4(){const{i18n:e}=yt(),{subMenus:t}=ie(s=>s.headerInfo),{help:r}=ie(s=>s.titleBar),n=Be();if(!r)return null;const{label:i,children:a}=r,o=t.find(s=>s===i);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{n(xt(i))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[M("div",{className:"col py-2 py-lg-0 px-0",children:Z("span",{className:"ps-lg-3 pe-3 py-2 d-block",children:[M("span",{className:"ps-lg-2",children:e&&e.translate(i).fetch()}),M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":o}),children:a.map(({href:s,label:l})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",fe(ne({className:"px-lg-4 py-2 d-block",href:s},Zt(s)&&{target:"_blank"}),{children:e&&e.translate(l).fetch()}))})})},Wr()))})]})}function Q4(){const{i18n:e}=yt(),{subMenus:t}=ie(l=>l.headerInfo),{user:r}=ie(l=>l.titleBar),{username:n}=ie(l=>l.userInfo),i=Be();if(!r)return null;const{label:a,children:o}=r,s=t.find(l=>l===a);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{i(xt(a))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[Z("div",{className:"col py-2 py-lg-0 px-0",children:[M("small",{className:"pt-2 d-lg-none",children:e&&e.translate(a).fetch()}),Z("span",{className:"ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",children:[M("span",{className:"d-none d-lg-inline",children:M(Pe.User,{className:"hd-icon hd-icon-user"})}),M("span",{className:"ps-lg-2",children:n}),M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})]}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":s}),children:o.map(({href:l,label:u})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",fe(ne({className:"px-lg-4 py-2 d-block",href:l},Zt(l)&&{target:"_blank"}),{children:e&&e.translate(u).fetch()}))})})},Wr()))})]})}function bs(e){const{handleLanguageChange:t,onLanguageChange:r}=e,[n,i]=S.useState(),[a,o]=S.useState([]),s=ie(w=>w.userLanguage),{languageSelector:l}=ie(w=>w.titleBar),{subMenus:u}=ie(w=>w.headerInfo),h=Be(),{i18n:g}=yt();if(S.useEffect(()=>{if(l){const{children:w}=l;if(Array.isArray(w)){const O=w.map(({code:d,label:m})=>{const c=new Intl.DisplayNames([d],{type:"language"});return{code:d,name:m||c.of(d)}});O.length>0&&o(O)}}},[l]),S.useEffect(()=>{var w;if(s){const O=(w=a.find(({code:d})=>d===s))==null?void 0:w.name;O&&i(O)}},[s,a]),!l)return null;const{label:y}=l,P=u.find(w=>w===y);return Z("li",{className:"col-lg-auto p-0",onClick:()=>{h(xt(y))},children:[Z("div",{className:"row m-0 py-lg-0 align-items-center",children:[Z("div",{className:"col py-2 py-lg-0 px-0",children:[M("small",{className:"pt-2 d-lg-none",children:g&&g.translate(y).fetch()}),Z("span",{className:"ps-lg-3 pe-3 pt-lg-2 pb-2 d-block",children:[n,M("span",{className:"d-none d-lg-inline ms-2",children:M(Pe.ArrowAngleDown,{className:"hd-icon hd-icon-arrow-angle-down"})})]})]}),M("div",{className:"col-auto p-2 d-block d-lg-none",children:M(Pe.ArrowAngleRight,{className:"hd-icon hd-icon-arrow-angle-right"})})]}),M("ul",{className:He("py-3","list-unstyled","hd-nav-second-level",{"hd-submenu-opened":P}),children:a.map(({code:w,name:O})=>M("li",{children:M("div",{className:"row m-0 py-lg-0 align-items-center",children:M("div",{className:"col py-2 py-lg-0 px-0",children:M("a",{className:"px-lg-4 py-2 d-block",href:"#",onClick:d=>{d.preventDefault(),d.stopPropagation(),w!==s&&(typeof t=="function"?t(w):typeof r=="function"&&(h(mu(w)),r(w))),h(Wi(y))},children:O},w)})})},Wr()))})]})}bs.propTypes={handleLanguageChange:X.exports.func,onLanguageChange:X.exports.func},bs.defaultProps={handleLanguageChange:void 0,onLanguageChange:void 0};function q4(){const[e,t]=S.useState(),{isOpen:r,subMenus:n,isMobileOrTablet:i}=ie(u=>u.headerInfo),{items:a}=ie(u=>u.menuItems),o=Lr(n.length>0,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0},config:Kt.stiff}),s=Be(),{i18n:l}=yt();return S.useEffect(()=>{var h;const u=((h=a.find(g=>g.id===n[n.length-1]))==null?void 0:h.label)||n[n.length-1];u&&t(u)},[a,n]),!i||!r?null:o((u,h)=>h&&Z(kt.div,{className:"col py-2 py-lg-0",id:"hd-submenu-title-container",style:u,children:[M("span",{id:"hd-submenu-back",onClick:()=>{s(Wi(n[n.length-1]))},children:M(Pe.ArrowLeft,{className:"hd-icon hd-icon-arrow-left"})}),M("span",{className:"ms-3",id:"hd-submenu-title",children:e&&l&&l.translate(e).fetch()})]}))}function ws(e){const{handleHotelChange:t,handleLanguageChange:r,onLanguageChange:n}=e,{isOpen:i,isMobileOrTablet:a}=ie(u=>u.headerInfo),[o,{height:s}]=Oi(),l=Lr(!a||i,{from:{height:0},enter:{height:s},leave:{height:0},update:{height:s},config:fe(ne({},Kt.stiff),{clamp:!0})});return M("div",{className:"container-xxl",id:"hd-top-container",children:Z("div",{className:"row align-items-center pb-lg-2",id:"hd-header-container",children:[M(q4,{}),M(yg,{}),M(Y3,{}),M(Z3,{}),M(G4,{handleHotelChange:t}),l((u,h)=>h&&M(kt.div,{className:"col-12 col-lg-auto ps-lg-0 align-middle order-lg-5",id:"hd-nav-container-top",style:a?fe(ne({},u),{display:"block"}):{},children:M("nav",{ref:o,id:"hd-top-nav",children:Z("ul",{className:"row list-unstyled mb-0 hd-nav-first-level",children:[M(k4,{}),M(bs,{handleLanguageChange:r,onLanguageChange:n}),M(Q4,{})]})})}))]})})}ws.propTypes={handleHotelChange:X.exports.func,handleLanguageChange:X.exports.func,onLanguageChange:X.exports.func},ws.defaultProps={handleHotelChange:void 0,handleLanguageChange:void 0,onLanguageChange:void 0};function X4(){const[e,t]=S.useState([]),{items:r,selectedItem:n}=ie(a=>a.menuItems),{i18n:i}=yt();return S.useEffect(()=>{if(n){const a=[];let o=r.find(s=>s.id===n);do a.push(o),o=r.find(s=>s.id===o.parentId);while(o);t(a.reverse())}},[n]),e.length===0?null:M("div",{className:"container-xxl mb-3",children:M("nav",{"aria-label":"breadcrumb",id:"hd-breadcrumb",children:Z("ol",{className:"breadcrumb mb-0",children:[M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[0].label).fetch()}),e.length>=2&&M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[1].label).fetch()}),e.length===3&&M("li",{className:"breadcrumb-item active",children:i&&i.translate(e[2].label).fetch()})]})})})}function _s(e){const{config:t,userInfo:r,userLanguage:n,i18nFeed:i}=e,{isOpen:a,subMenus:o,isMobileOrTablet:s}=ie(d=>d.headerInfo),{showNotifications:l}=ie(d=>d.notifications),u=S.useRef(null),h=Be();S.useEffect(()=>{n&&h(mu(n)),r&&h(lp(r)),i&&h(gp(i))},[]);const{width:g}=Eh();S.useEffect(()=>{g&&h(hp(g))},[g]);const{headerConfig:y={},error:P}=Zp(t),{titleBar:w,menuBar:O}=y;return S.useEffect(()=>{w&&h(up(w))},[w]),S.useEffect(()=>{O&&h(op(O))},[O]),S.useEffect(()=>{u&&o.length>0&&(u.current.scrollTop=0)},[o.length]),P?(console.error(P),null):Z("div",{children:[Z("div",{ref:u,id:"hd-container",className:He("container-fluid","px-0 fixed-top",{"hd-menu-opened":a,"hd-overflow-hidden":o.length>0}),style:fe(ne(ne({},s&&!a&&{overflow:"hidden"}),l&&{overflow:"visible"}),{maxWidth:"none"}),children:[M(ws,ne({},e)),M(X3,{})]}),M(X4,{})]})}_s.propTypes={userInfo:X.exports.shape({username:X.exports.string,hotelId:X.exports.number,guideId:X.exports.number}),userLanguage:X.exports.string,config:X.exports.string.isRequired,i18nFeed:X.exports.string},_s.defaultProps={userInfo:void 0,userLanguage:"en",i18nFeed:void 0};const Id=Ip(_s);function Y4(e,t){Ce.render(M(Id,ne({},t)),e)}_e.Header=Id,_e.renderHeader=Y4,Object.defineProperties(_e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|