vendor: 8,375 bytes, lines 1-9
1var Mb=Object.defineProperty;var sp=e=>{throw TypeError(e)};var jb=(e,t,n)=>t in e?Mb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var sn=(e,t,n)=>jb(e,typeof t!="symbol"?t+"":t,n),wu=(e,t,n)=>t.has(e)||sp("Cannot "+n);var A=(e,t,n)=>(wu(e,t,"read from private field"),n?n.call(e):t.get(e)),ee=(e,t,n)=>t.has(e)?sp("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),G=(e,t,n,r)=>(wu(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(wu(e,t,"access private method"),n);var _s=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return A(e,t,r)}});function Fb(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Cs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var My={exports:{}},Ll={},jy={exports:{}},X={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Ps=Symbol.for("react.element"),Lb=Symbol.for("react.portal"),Db=Symbol.for("react.fragment"),Ob=Symbol.for("react.strict_mode"),Ib=Symbol.for("react.profiler"),Bb=Symbol.for("react.provider"),Hb=Symbol.for("react.context"),Vb=Symbol.for("react.forward_ref"),_b=Symbol.for("react.suspense"),Wb=Symbol.for("react.memo"),zb=Symbol.for("react.lazy"),ap=Symbol.iterator;function $b(e){return e===null||typeof e!="object"?null:(e=ap&&e[ap]||e["@@iterator"],typeof e=="function"?e:null)}var Fy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ly=Object.assign,Dy={};function eo(e,t,n){this.props=e,this.context=t,this.refs=Dy,this.updater=n||Fy}eo.prototype.isReactComponent={};eo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};eo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Oy(){}Oy.prototype=eo.prototype;function ah(e,t,n){this.props=e,this.context=t,this.refs=Dy,this.updater=n||Fy}var lh=ah.prototype=new Oy;lh.constructor=ah;Ly(lh,eo.prototype);lh.isPureReactComponent=!0;var lp=Array.isArray,Iy=Object.prototype.hasOwnProperty,uh={current:null},By={key:!0,ref:!0,__self:!0,__source:!0};function Hy(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)Iy.call(t,r)&&!By.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Ps,type:e,key:o,ref:s,props:i,_owner:uh.current}}function Ub(e,t){return{$$typeof:Ps,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ch(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ps}function Gb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var up=/\/+/g;function xu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Gb(""+e.key):t.toString(36)}function ka(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ps:case Lb:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+xu(s,0):r,lp(i)?(n="",e!=null&&(n=e.replace(up,"$&/")+"/"),ka(i,t,n,"",function(u){return u})):i!=null&&(ch(i)&&(i=Ub(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(up,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",lp(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+xu(o,a);s+=ka(o,t,n,l,i)}else if(l=$b(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+xu(o,a++),s+=ka(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ws(e,t,n){if(e==null)return e;var r=[],i=0;return ka(e,r,"","",function(o){return t.call(n,o,i++)}),r}function Kb(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var qe={current:null},Sa={transition:null},qb={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:Sa,ReactCurrentOwner:uh};function Vy(){throw Error("act(...) is not supported in production builds of React.")}X.Children={map:Ws,forEach:function(e,t,n){Ws(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ws(e,function(){t++}),t},toArray:function(e){return Ws(e,function(t){return t})||[]},only:function(e){if(!ch(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};X.Component=eo;X.Fragment=Db;X.Profiler=Ib;X.PureComponent=ah;X.StrictMode=Ob;X.Suspense=_b;X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qb;X.act=Vy;X.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Ly({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=uh.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Iy.call(t,l)&&!By.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ps,type:e.type,key:i,ref:o,props:r,_owner:s}};X.createContext=function(e){return e={$$typeof:Hb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Bb,_context:e},e.Consumer=e};X.createElement=Hy;X.createFactory=function(e){var t=Hy.bind(null,e);return t.type=e,t};X.createRef=function(){return{current:null}};X.forwardRef=function(e){return{$$typeof:Vb,render:e}};X.isValidElement=ch;X.lazy=function(e){return{$$typeof:zb,_payload:{_status:-1,_result:e},_init:Kb}};X.memo=function(e,t){return{$$typeof:Wb,type:e,compare:t===void 0?null:t}};X.startTransition=function(e){var t=Sa.transition;Sa.transition={};try{e()}finally{Sa.transition=t}};X.unstable_act=Vy;X.useCallback=function(e,t){return qe.current.useCallback(e,t)};X.useContext=function(e){return qe.current.useContext(e)};X.useDebugValue=function(){};X.useDeferredValue=function(e){return qe.current.useDeferredValue(e)};X.useEffect=function(e,t){return qe.current.useEffect(e,t)};X.useId=function(){return qe.current.useId()};X.useImperativeHandle=function(e,t,n){return qe.current.useImperativeHandle(e,t,n)};X.useInsertionEffect=function(e,t){return qe.current.useInsertionEffect(e,t)};X.useLayoutEffect=function(e,t){return qe.current.useLayoutEffect(e,t)};X.useMemo=function(e,t){return qe.current.useMemo(e,t)};X.useReducer=function(e,t,n){return qe.current.useReducer(e,t,n)};X.useRef=function(e){return qe.current.useRef(e)};
vendor: 4,888 bytes, lines 9-25
9X.useState=function(e){return qe.current.useState(e)};X.useSyncExternalStore=function(e,t,n){return qe.current.useSyncExternalStore(e,t,n)};X.useTransition=function(){return qe.current.useTransition()};X.version="18.3.1";jy.exports=X;var b=jy.exports;const j=Cs(b),_y=Fb({__proto__:null,default:j},[b]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Yb=b,Qb=Symbol.for("react.element"),Xb=Symbol.for("react.fragment"),Jb=Object.prototype.hasOwnProperty,Zb=Yb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ek={key:!0,ref:!0,__self:!0,__source:!0};function Wy(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Jb.call(t,r)&&!ek.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Qb,type:e,key:o,ref:s,props:i,_owner:Zb.current}}Ll.Fragment=Xb;Ll.jsx=Wy;Ll.jsxs=Wy;My.exports=Ll;var p=My.exports,zy={exports:{}},dt={},$y={exports:{}},Uy={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(E,R){var O=E.length;E.push(R);e:for(;0<O;){var W=O-1>>>1,_=E[W];if(0<i(_,R))E[W]=R,E[O]=_,O=W;else break e}}function n(E){return E.length===0?null:E[0]}function r(E){if(E.length===0)return null;var R=E[0],O=E.pop();if(O!==R){E[0]=O;e:for(var W=0,_=E.length,Q=_>>>1;W<Q;){var J=2*(W+1)-1,xe=E[J],De=J+1,te=E[De];if(0>i(xe,O))De<_&&0>i(te,xe)?(E[W]=te,E[De]=O,W=De):(E[W]=xe,E[J]=O,W=J);else if(De<_&&0>i(te,O))E[W]=te,E[De]=O,W=De;else break e}}return R}function i(E,R){var O=E.sortIndex-R.sortIndex;return O!==0?O:E.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,h=3,f=!1,w=!1,y=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(E){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=E)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function k(E){if(y=!1,v(E),!w)if(n(l)!==null)w=!0,V(S);else{var R=n(u);R!==null&&K(k,R.startTime-E)}}function S(E,R){w=!1,y&&(y=!1,g(P),P=-1),f=!0;var O=h;try{for(v(R),d=n(l);d!==null&&(!(d.expirationTime>R)||E&&!I());){var W=d.callback;if(typeof W=="function"){d.callback=null,h=d.priorityLevel;var _=W(d.expirationTime<=R);R=e.unstable_now(),typeof _=="function"?d.callback=_:d===n(l)&&r(l),v(R)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var J=n(u);J!==null&&K(k,J.startTime-R),Q=!1}return Q}finally{d=null,h=O,f=!1}}var T=!1,C=null,P=-1,M=5,N=-1;function I(){return!(e.unstable_now()-N<M)}function D(){if(C!==null){var E=e.unstable_now();N=E;var R=!0;try{R=C(!0,E)}finally{R?z():(T=!1,C=null)}}else T=!1}var z;if(typeof m=="function")z=function(){m(D)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,$=L.port2;L.port1.onmessage=D,z=function(){$.postMessage(null)}}else z=function(){x(D,0)};function V(E){C=E,T||(T=!0,z())}function K(E,R){P=x(function(){E(e.unstable_now())},R)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.unstable_continueExecution=function(){w||f||(w=!0,V(S))},e.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(E){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var O=h;h=R;try{return E()}finally{h=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(E,R){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var O=h;h=E;try{return R()}finally{h=O}},e.unstable_scheduleCallback=function(E,R,O){var W=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?W+O:W):O=W,E){case 1:var _=-1;break;case 2:_=250;break;case 5:_=1073741823;break;case 4:_=1e4;break;default:_=5e3}
vendor: 4,614 bytes, lines 25-33
25return _=O+_,E={id:c++,callback:R,priorityLevel:E,startTime:O,expirationTime:_,sortIndex:-1},O>W?(E.sortIndex=O,t(u,E),n(l)===null&&E===n(u)&&(y?(g(P),P=-1):y=!0,K(k,O-W))):(E.sortIndex=_,t(l,E),w||f||(w=!0,V(S))),E},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(E){var R=h;return function(){var O=h;h=R;try{return E.apply(this,arguments)}finally{h=O}}}})(Uy);$y.exports=Uy;var tk=$y.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var nk=b,ct=tk;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Gy=new Set,Qo={};function Yr(e,t){Wi(e,t),Wi(e+"Capture",t)}function Wi(e,t){for(Qo[e]=t,e=0;e<t.length;e++)Gy.add(t[e])}var gn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kc=Object.prototype.hasOwnProperty,rk=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,cp={},dp={};function ik(e){return kc.call(dp,e)?!0:kc.call(cp,e)?!1:rk.test(e)?dp[e]=!0:(cp[e]=!0,!1)}function ok(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function sk(e,t,n,r){if(t===null||typeof t>"u"||ok(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ye(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var Le={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Le[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Le[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Le[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Le[e]=new Ye(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Le[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Le[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Le[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Le[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Le[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var dh=/[\-:]([a-z])/g;function hh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(dh,hh);Le[t]=new Ye(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(dh,hh);Le[t]=new Ye(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(dh,hh);Le[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Le[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});Le.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Le[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function fh(e,t,n,r){var i=Le.hasOwnProperty(t)?Le[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(sk(t,n,i,r)&&(n=null),r||i===null?ik(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var kn=nk.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,zs=Symbol.for("react.element"),ui=Symbol.for("react.portal"),ci=Symbol.for("react.fragment"),ph=Symbol.for("react.strict_mode"),Sc=Symbol.for("react.profiler"),Ky=Symbol.for("react.provider"),qy=Symbol.for("react.context"),mh=Symbol.for("react.forward_ref"),Tc=Symbol.for("react.suspense"),Cc=Symbol.for("react.suspense_list"),gh=Symbol.for("react.memo"),On=Symbol.for("react.lazy"),Yy=Symbol.for("react.offscreen"),hp=Symbol.iterator;function mo(e){return e===null||typeof e!="object"?null:(e=hp&&e[hp]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,bu;function Ro(e){if(bu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);bu=t&&t[1]||""}return` 34`+bu+e}var ku=!1;function Su(e,t){if(!e||ku)return"";ku=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(` 35`),o=r.stack.split(` 36`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=` 37`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{ku=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ro(e):""}function ak(e){switch(e.tag){case 5:return Ro(e.type);case 16:return Ro("Lazy");case 13:return Ro("Suspense");case 19:return Ro("SuspenseList");case 0:case 2:case 15:return e=Su(e.type,!1),e;case 11:return e=Su(e.type.render,!1),e;case 1:return e=Su(e.type,!0),e;default:return""}}function Pc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ci:return"Fragment";case ui:return"Portal";case Sc:return"Profiler";case ph:return"StrictMode";case Tc:return"Suspense";case Cc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qy:return(e.displayName||"Context")+".Consumer";case Ky:return(e._context.displayName||"Context")+".Provider";case mh:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case gh:return t=e.displayName||null,t!==null?t:Pc(e.type)||"Memo";case On:t=e._payload,e=e._init;try{return Pc(e(t))}catch{}}return null}function lk(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Pc(t);case 8:return t===ph?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ir(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function uk(e){var t=Qy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $s(e){e._valueTracker||(e._valueTracker=uk(e))}function Xy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function qa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ec(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ir(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}
vendor: 4,651 bytes, line 37
37function Jy(e,t){t=t.checked,t!=null&&fh(e,"checked",t,!1)}function Nc(e,t){Jy(e,t);var n=ir(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Rc(e,t.type,n):t.hasOwnProperty("defaultValue")&&Rc(e,t.type,ir(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function pp(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Rc(e,t,n){(t!=="number"||qa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ao=Array.isArray;function Ti(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ir(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ac(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mp(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(Ao(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ir(n)}}function Zy(e,t){var n=ir(t.value),r=ir(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function gp(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ev(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Mc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ev(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Us,tv=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Us=Us||document.createElement("div"),Us.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Us.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Do={animationIterationCount:!0,aspectRatio:!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,gridArea:!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},ck=["Webkit","ms","Moz","O"];Object.keys(Do).forEach(function(e){ck.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Do[t]=Do[e]})});function nv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Do.hasOwnProperty(e)&&Do[e]?(""+t).trim():t+"px"}function rv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=nv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var dk=me({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jc(e,t){if(t){if(dk[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Fc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Lc=null;function yh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Dc=null,Ci=null,Pi=null;function yp(e){if(e=Rs(e)){if(typeof Dc!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Hl(t),Dc(e.stateNode,e.type,t))}}function iv(e){Ci?Pi?Pi.push(e):Pi=[e]:Ci=e}function ov(){if(Ci){var e=Ci,t=Pi;if(Pi=Ci=null,yp(e),t)for(e=0;e<t.length;e++)yp(t[e])}}function sv(e,t){return e(t)}function av(){}var Tu=!1;function lv(e,t,n){if(Tu)return e(t,n);Tu=!0;try{return sv(e,t,n)}finally{Tu=!1,(Ci!==null||Pi!==null)&&(av(),ov())}}function Jo(e,t){var n=e.stateNode;if(n===null)return null;var r=Hl(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(F(231,t,typeof n));return n}var Oc=!1;if(gn)try{var go={};Object.defineProperty(go,"passive",{get:function(){Oc=!0}}),window.addEventListener("test",go,go),window.removeEventListener("test",go,go)}catch{Oc=!1}function hk(e,t,n,r,i,o,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Oo=!1,Ya=null,Qa=!1,Ic=null,fk={onError:function(e){Oo=!0,Ya=e}};function pk(e,t,n,r,i,o,s,a,l){Oo=!1,Ya=null,hk.apply(fk,arguments)}function mk(e,t,n,r,i,o,s,a,l){if(pk.apply(this,arguments),Oo){if(Oo){var u=Ya;Oo=!1,Ya=null}else throw Error(F(198));Qa||(Qa=!0,Ic=u)}}function Qr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function uv(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vp(e){if(Qr(e)!==e)throw Error(F(188))}function gk(e){var t=e.alternate;if(!t){if(t=Qr(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return vp(i),e;if(o===r)return vp(i),t;o=o.sibling}throw Error(F(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s){for(a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function cv(e){return e=gk(e),e!==null?dv(e):null}function dv(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dv(e);if(t!==null)return t;e=e.sibling}return null}var hv=ct.unstable_scheduleCallback,wp=ct.unstable_cancelCallback,yk=ct.unstable_shouldYield,vk=ct.unstable_requestPaint,ve=ct.unstable_now,wk=ct.unstable_getCurrentPriorityLevel,vh=ct.unstable_ImmediatePriority,fv=ct.unstable_UserBlockingPriority,Xa=ct.unstable_NormalPriority,xk=ct.unstable_LowPriority,pv=ct.unstable_IdlePriority,Dl=null,Zt=null;function bk(e){if(Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(Dl,e,void 0,(e.current.flags&128)===128)}catch{}}var Bt=Math.clz32?Math.clz32:Tk,kk=Math.log,Sk=Math.LN2;function Tk(e){return e>>>=0,e===0?32:31-(kk(e)/Sk|0)|0}var Gs=64,Ks=4194304;function Mo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ja(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Mo(a):(o&=s,o!==0&&(r=Mo(o)))}else s=n&~i,s!==0?r=Mo(s):o!==0&&(r=Mo(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Bt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ck(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pk(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var s=31-Bt(o),a=1<<s,l=i[s];l===-1?(!(a&n)||a&r)&&(i[s]=Ck(a,t)):l<=t&&(e.expiredLanes|=a),o&=~a}}function Bc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function mv(){var e=Gs;return Gs<<=1,!(Gs&4194240)&&(Gs=64),e}function Cu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Es(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Bt(t),e[t]=n}function Ek(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Bt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function wh(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Bt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ne=0;
vendor: 7,937 bytes, line 37
37function gv(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var yv,xh,vv,wv,xv,Hc=!1,qs=[],Yn=null,Qn=null,Xn=null,Zo=new Map,es=new Map,Bn=[],Nk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function xp(e,t){switch(e){case"focusin":case"focusout":Yn=null;break;case"dragenter":case"dragleave":Qn=null;break;case"mouseover":case"mouseout":Xn=null;break;case"pointerover":case"pointerout":Zo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":es.delete(t.pointerId)}}function yo(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Rs(t),t!==null&&xh(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Rk(e,t,n,r,i){switch(t){case"focusin":return Yn=yo(Yn,e,t,n,r,i),!0;case"dragenter":return Qn=yo(Qn,e,t,n,r,i),!0;case"mouseover":return Xn=yo(Xn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Zo.set(o,yo(Zo.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,es.set(o,yo(es.get(o)||null,e,t,n,r,i)),!0}return!1}function bv(e){var t=Er(e.target);if(t!==null){var n=Qr(t);if(n!==null){if(t=n.tag,t===13){if(t=uv(n),t!==null){e.blockedOn=t,xv(e.priority,function(){vv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ta(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Lc=r,n.target.dispatchEvent(r),Lc=null}else return t=Rs(n),t!==null&&xh(t),e.blockedOn=n,!1;t.shift()}return!0}function bp(e,t,n){Ta(e)&&n.delete(t)}function Ak(){Hc=!1,Yn!==null&&Ta(Yn)&&(Yn=null),Qn!==null&&Ta(Qn)&&(Qn=null),Xn!==null&&Ta(Xn)&&(Xn=null),Zo.forEach(bp),es.forEach(bp)}function vo(e,t){e.blockedOn===t&&(e.blockedOn=null,Hc||(Hc=!0,ct.unstable_scheduleCallback(ct.unstable_NormalPriority,Ak)))}function ts(e){function t(i){return vo(i,e)}if(0<qs.length){vo(qs[0],e);for(var n=1;n<qs.length;n++){var r=qs[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Yn!==null&&vo(Yn,e),Qn!==null&&vo(Qn,e),Xn!==null&&vo(Xn,e),Zo.forEach(t),es.forEach(t),n=0;n<Bn.length;n++)r=Bn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Bn.length&&(n=Bn[0],n.blockedOn===null);)bv(n),n.blockedOn===null&&Bn.shift()}var Ei=kn.ReactCurrentBatchConfig,Za=!0;function Mk(e,t,n,r){var i=ne,o=Ei.transition;Ei.transition=null;try{ne=1,bh(e,t,n,r)}finally{ne=i,Ei.transition=o}}function jk(e,t,n,r){var i=ne,o=Ei.transition;Ei.transition=null;try{ne=4,bh(e,t,n,r)}finally{ne=i,Ei.transition=o}}function bh(e,t,n,r){if(Za){var i=Vc(e,t,n,r);if(i===null)Du(e,t,r,el,n),xp(e,r);else if(Rk(i,e,t,n,r))r.stopPropagation();else if(xp(e,r),t&4&&-1<Nk.indexOf(e)){for(;i!==null;){var o=Rs(i);if(o!==null&&yv(o),o=Vc(e,t,n,r),o===null&&Du(e,t,r,el,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Du(e,t,r,null,n)}}var el=null;function Vc(e,t,n,r){if(el=null,e=yh(r),e=Er(e),e!==null)if(t=Qr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=uv(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return el=e,null}function kv(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(wk()){case vh:return 1;case fv:return 4;case Xa:case xk:return 16;case pv:return 536870912;default:return 16}default:return 16}}var Un=null,kh=null,Ca=null;function Sv(){if(Ca)return Ca;var e,t=kh,n=t.length,r,i="value"in Un?Un.value:Un.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[o-r];r++);return Ca=i.slice(e,1<r?1-r:void 0)}function Pa(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ys(){return!0}function kp(){return!1}function ht(e){function t(n,r,i,o,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ys:kp,this.isPropagationStopped=kp,this}return me(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ys)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ys)},persist:function(){},isPersistent:Ys}),t}var to={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sh=ht(to),Ns=me({},to,{view:0,detail:0}),Fk=ht(Ns),Pu,Eu,wo,Ol=me({},Ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Th,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==wo&&(wo&&e.type==="mousemove"?(Pu=e.screenX-wo.screenX,Eu=e.screenY-wo.screenY):Eu=Pu=0,wo=e),Pu)},movementY:function(e){return"movementY"in e?e.movementY:Eu}}),Sp=ht(Ol),Lk=me({},Ol,{dataTransfer:0}),Dk=ht(Lk),Ok=me({},Ns,{relatedTarget:0}),Nu=ht(Ok),Ik=me({},to,{animationName:0,elapsedTime:0,pseudoElement:0}),Bk=ht(Ik),Hk=me({},to,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Vk=ht(Hk),_k=me({},to,{data:0}),Tp=ht(_k),Wk={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zk={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},$k={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uk(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$k[e])?!!t[e]:!1}function Th(){return Uk}var Gk=me({},Ns,{key:function(e){if(e.key){var t=Wk[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,028 bytes, line 37
37return e.type==="keypress"?(e=Pa(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zk[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Th,charCode:function(e){return e.type==="keypress"?Pa(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Pa(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kk=ht(Gk),qk=me({},Ol,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Cp=ht(qk),Yk=me({},Ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Th}),Qk=ht(Yk),Xk=me({},to,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jk=ht(Xk),Zk=me({},Ol,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),eS=ht(Zk),tS=[9,13,27,32],Ch=gn&&"CompositionEvent"in window,Io=null;gn&&"documentMode"in document&&(Io=document.documentMode);var nS=gn&&"TextEvent"in window&&!Io,Tv=gn&&(!Ch||Io&&8<Io&&11>=Io),Pp=" ",Ep=!1;function Cv(e,t){switch(e){case"keyup":return tS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pv(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var di=!1;function rS(e,t){switch(e){case"compositionend":return Pv(t);case"keypress":return t.which!==32?null:(Ep=!0,Pp);case"textInput":return e=t.data,e===Pp&&Ep?null:e;default:return null}}function iS(e,t){if(di)return e==="compositionend"||!Ch&&Cv(e,t)?(e=Sv(),Ca=kh=Un=null,di=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tv&&t.locale!=="ko"?null:t.data;default:return null}}var oS={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Np(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!oS[e.type]:t==="textarea"}function Ev(e,t,n,r){iv(r),t=tl(t,"onChange"),0<t.length&&(n=new Sh("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Bo=null,ns=null;function sS(e){Bv(e,0)}function Il(e){var t=pi(e);if(Xy(t))return e}function aS(e,t){if(e==="change")return t}var Nv=!1;if(gn){var Ru;if(gn){var Au="oninput"in document;if(!Au){var Rp=document.createElement("div");Rp.setAttribute("oninput","return;"),Au=typeof Rp.oninput=="function"}Ru=Au}else Ru=!1;Nv=Ru&&(!document.documentMode||9<document.documentMode)}function Ap(){Bo&&(Bo.detachEvent("onpropertychange",Rv),ns=Bo=null)}function Rv(e){if(e.propertyName==="value"&&Il(ns)){var t=[];Ev(t,ns,e,yh(e)),lv(sS,t)}}function lS(e,t,n){e==="focusin"?(Ap(),Bo=t,ns=n,Bo.attachEvent("onpropertychange",Rv)):e==="focusout"&&Ap()}function uS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Il(ns)}function cS(e,t){if(e==="click")return Il(t)}function dS(e,t){if(e==="input"||e==="change")return Il(t)}function hS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var _t=typeof Object.is=="function"?Object.is:hS;function rs(e,t){if(_t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!kc.call(t,i)||!_t(e[i],t[i]))return!1}return!0}function Mp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jp(e,t){var n=Mp(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Mp(n)}}function Av(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Av(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mv(){for(var e=window,t=qa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=qa(e.document)}return t}function Ph(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fS(e){var t=Mv(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Av(n.ownerDocument.documentElement,n)){if(r!==null&&Ph(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=jp(n,o);var s=jp(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var pS=gn&&"documentMode"in document&&11>=document.documentMode,hi=null,_c=null,Ho=null,Wc=!1;function Fp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wc||hi==null||hi!==qa(r)||(r=hi,"selectionStart"in r&&Ph(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Ho&&rs(Ho,r)||(Ho=r,r=tl(_c,"onSelect"),0<r.length&&(t=new Sh("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hi)))}function Qs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var fi={animationend:Qs("Animation","AnimationEnd"),animationiteration:Qs("Animation","AnimationIteration"),animationstart:Qs("Animation","AnimationStart"),transitionend:Qs("Transition","TransitionEnd")},Mu={},jv={};gn&&(jv=document.createElement("div").style,"AnimationEvent"in window||(delete fi.animationend.animation,delete fi.animationiteration.animation,delete fi.animationstart.animation),"TransitionEvent"in window||delete fi.transitionend.transition);function Bl(e){if(Mu[e])return Mu[e];if(!fi[e])return e;var t=fi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in jv)return Mu[e]=t[n];return e}var Fv=Bl("animationend"),Lv=Bl("animationiteration"),Dv=Bl("animationstart"),Ov=Bl("transitionend"),Iv=new Map,Lp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function pr(e,t){Iv.set(e,t),Yr(t,[e])}for(var ju=0;ju<Lp.length;ju++){var Fu=Lp[ju],mS=Fu.toLowerCase(),gS=Fu[0].toUpperCase()+Fu.slice(1);pr(mS,"on"+gS)}pr(Fv,"onAnimationEnd");pr(Lv,"onAnimationIteration");pr(Dv,"onAnimationStart");pr("dblclick","onDoubleClick");pr("focusin","onFocus");pr("focusout","onBlur");pr(Ov,"onTransitionEnd");Wi("onMouseEnter",["mouseout","mouseover"]);Wi("onMouseLeave",["mouseout","mouseover"]);Wi("onPointerEnter",["pointerout","pointerover"]);Wi("onPointerLeave",["pointerout","pointerover"]);Yr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Yr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Yr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Yr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Yr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Yr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),yS=new Set("cancel close invalid load scroll toggle".split(" ").concat(jo));function Dp(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,mk(r,t,void 0,e),e.currentTarget=null}function Bv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==o&&i.isPropagationStopped())break e;Dp(i,a,u),o=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==o&&i.isPropagationStopped())break e;Dp(i,a,u),o=l}}}if(Qa)throw e=Ic,Qa=!1,Ic=null,e}function ae(e,t){var n=t[Kc];n===void 0&&(n=t[Kc]=new Set);var r=e+"__bubble";n.has(r)||(Hv(t,e,2,!1),n.add(r))}function Lu(e,t,n){var r=0;t&&(r|=4),Hv(n,e,r,t)}var Xs="_reactListening"+Math.random().toString(36).slice(2);function is(e){if(!e[Xs]){e[Xs]=!0,Gy.forEach(function(n){n!=="selectionchange"&&(yS.has(n)||Lu(n,!1,e),Lu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xs]||(t[Xs]=!0,Lu("selectionchange",!1,t))}}function Hv(e,t,n,r){switch(kv(t)){case 1:var i=Mk;break;case 4:i=jk;break;default:i=bh}n=i.bind(null,t,n,e),i=void 0,!Oc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Du(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 37-38
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;a!==null;){if(s=Er(a),s===null)return;if(l=s.tag,l===5||l===6){r=o=s;continue e}a=a.parentNode}}r=r.return}lv(function(){var u=o,c=yh(n),d=[];e:{var h=Iv.get(e);if(h!==void 0){var f=Sh,w=e;switch(e){case"keypress":if(Pa(n)===0)break e;case"keydown":case"keyup":f=Kk;break;case"focusin":w="focus",f=Nu;break;case"focusout":w="blur",f=Nu;break;case"beforeblur":case"afterblur":f=Nu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=Sp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=Dk;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=Qk;break;case Fv:case Lv:case Dv:f=Bk;break;case Ov:f=Jk;break;case"scroll":f=Fk;break;case"wheel":f=eS;break;case"copy":case"cut":case"paste":f=Vk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Cp}var y=(t&4)!==0,x=!y&&e==="scroll",g=y?h!==null?h+"Capture":null:h;y=[];for(var m=u,v;m!==null;){v=m;var k=v.stateNode;if(v.tag===5&&k!==null&&(v=k,g!==null&&(k=Jo(m,g),k!=null&&y.push(os(m,k,v)))),x)break;m=m.return}0<y.length&&(h=new f(h,w,null,n,c),d.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",h&&n!==Lc&&(w=n.relatedTarget||n.fromElement)&&(Er(w)||w[yn]))break e;if((f||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,f?(w=n.relatedTarget||n.toElement,f=u,w=w?Er(w):null,w!==null&&(x=Qr(w),w!==x||w.tag!==5&&w.tag!==6)&&(w=null)):(f=null,w=u),f!==w)){if(y=Sp,k="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(y=Cp,k="onPointerLeave",g="onPointerEnter",m="pointer"),x=f==null?h:pi(f),v=w==null?h:pi(w),h=new y(k,m+"leave",f,n,c),h.target=x,h.relatedTarget=v,k=null,Er(c)===u&&(y=new y(g,m+"enter",w,n,c),y.target=v,y.relatedTarget=x,k=y),x=k,f&&w)t:{for(y=f,g=w,m=0,v=y;v;v=si(v))m++;for(v=0,k=g;k;k=si(k))v++;for(;0<m-v;)y=si(y),m--;for(;0<v-m;)g=si(g),v--;for(;m--;){if(y===g||g!==null&&y===g.alternate)break t;y=si(y),g=si(g)}y=null}else y=null;f!==null&&Op(d,h,f,y,!1),w!==null&&x!==null&&Op(d,x,w,y,!0)}}e:{if(h=u?pi(u):window,f=h.nodeName&&h.nodeName.toLowerCase(),f==="select"||f==="input"&&h.type==="file")var S=aS;else if(Np(h))if(Nv)S=dS;else{S=uS;var T=lS}else(f=h.nodeName)&&f.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=cS);if(S&&(S=S(e,u))){Ev(d,S,n,c);break e}T&&T(e,h,u),e==="focusout"&&(T=h._wrapperState)&&T.controlled&&h.type==="number"&&Rc(h,"number",h.value)}switch(T=u?pi(u):window,e){case"focusin":(Np(T)||T.contentEditable==="true")&&(hi=T,_c=u,Ho=null);break;case"focusout":Ho=_c=hi=null;break;case"mousedown":Wc=!0;break;case"contextmenu":case"mouseup":case"dragend":Wc=!1,Fp(d,n,c);break;case"selectionchange":if(pS)break;case"keydown":case"keyup":Fp(d,n,c)}var C;if(Ch)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else di?Cv(e,n)&&(P="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(P="onCompositionStart");P&&(Tv&&n.locale!=="ko"&&(di||P!=="onCompositionStart"?P==="onCompositionEnd"&&di&&(C=Sv()):(Un=c,kh="value"in Un?Un.value:Un.textContent,di=!0)),T=tl(u,P),0<T.length&&(P=new Tp(P,e,null,n,c),d.push({event:P,listeners:T}),C?P.data=C:(C=Pv(n),C!==null&&(P.data=C)))),(C=nS?rS(e,n):iS(e,n))&&(u=tl(u,"onBeforeInput"),0<u.length&&(c=new Tp("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=C))}Bv(d,t)})}function os(e,t,n){return{instance:e,listener:t,currentTarget:n}}function tl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Jo(e,n),o!=null&&r.unshift(os(e,o,i)),o=Jo(e,t),o!=null&&r.push(os(e,o,i))),e=e.return}return r}function si(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Op(e,t,n,r,i){for(var o=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,i?(l=Jo(n,o),l!=null&&s.unshift(os(n,l,a))):i||(l=Jo(n,o),l!=null&&s.push(os(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var vS=/\r\n?/g,wS=/\u0000|\uFFFD/g;function Ip(e){return(typeof e=="string"?e:""+e).replace(vS,` 38`).replace(wS,"")}
vendor: 3,489 bytes, line 38
38function Js(e,t,n){if(t=Ip(t),Ip(e)!==t&&n)throw Error(F(425))}function nl(){}var zc=null,$c=null;function Uc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Gc=typeof setTimeout=="function"?setTimeout:void 0,xS=typeof clearTimeout=="function"?clearTimeout:void 0,Bp=typeof Promise=="function"?Promise:void 0,bS=typeof queueMicrotask=="function"?queueMicrotask:typeof Bp<"u"?function(e){return Bp.resolve(null).then(e).catch(kS)}:Gc;function kS(e){setTimeout(function(){throw e})}function Ou(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),ts(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);ts(t)}function Jn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Hp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var no=Math.random().toString(36).slice(2),Jt="__reactFiber$"+no,ss="__reactProps$"+no,yn="__reactContainer$"+no,Kc="__reactEvents$"+no,SS="__reactListeners$"+no,TS="__reactHandles$"+no;function Er(e){var t=e[Jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yn]||n[Jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Hp(e);e!==null;){if(n=e[Jt])return n;e=Hp(e)}return t}e=n,n=e.parentNode}return null}function Rs(e){return e=e[Jt]||e[yn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function pi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function Hl(e){return e[ss]||null}var qc=[],mi=-1;function mr(e){return{current:e}}function ue(e){0>mi||(e.current=qc[mi],qc[mi]=null,mi--)}function oe(e,t){mi++,qc[mi]=e.current,e.current=t}var or={},_e=mr(or),Ze=mr(!1),zr=or;function zi(e,t){var n=e.type.contextTypes;if(!n)return or;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function et(e){return e=e.childContextTypes,e!=null}function rl(){ue(Ze),ue(_e)}function Vp(e,t,n){if(_e.current!==or)throw Error(F(168));oe(_e,t),oe(Ze,n)}function Vv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,lk(e)||"Unknown",i));return me({},n,r)}function il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,zr=_e.current,oe(_e,e),oe(Ze,Ze.current),!0}function _p(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=Vv(e,t,zr),r.__reactInternalMemoizedMergedChildContext=e,ue(Ze),ue(_e),oe(_e,e)):ue(Ze),oe(Ze,n)}var dn=null,Vl=!1,Iu=!1;function _v(e){dn===null?dn=[e]:dn.push(e)}function CS(e){Vl=!0,_v(e)}function gr(){if(!Iu&&dn!==null){Iu=!0;var e=0,t=ne;try{var n=dn;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}dn=null,Vl=!1}catch(i){throw dn!==null&&(dn=dn.slice(e+1)),hv(vh,gr),i}finally{ne=t,Iu=!1}}return null}var gi=[],yi=0,ol=null,sl=0,gt=[],yt=0,$r=null,fn=1,pn="";function Tr(e,t){gi[yi++]=sl,gi[yi++]=ol,ol=e,sl=t}
vendor: 24,728 bytes, lines 38-40
38function Wv(e,t,n){gt[yt++]=fn,gt[yt++]=pn,gt[yt++]=$r,$r=e;var r=fn;e=pn;var i=32-Bt(r)-1;r&=~(1<<i),n+=1;var o=32-Bt(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,fn=1<<32-Bt(t)+i|n<<i|r,pn=o+e}else fn=1<<o|n<<i|r,pn=e}function Eh(e){e.return!==null&&(Tr(e,1),Wv(e,1,0))}function Nh(e){for(;e===ol;)ol=gi[--yi],gi[yi]=null,sl=gi[--yi],gi[yi]=null;for(;e===$r;)$r=gt[--yt],gt[yt]=null,pn=gt[--yt],gt[yt]=null,fn=gt[--yt],gt[yt]=null}var lt=null,at=null,de=!1,Ot=null;function zv(e,t){var n=vt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Wp(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,lt=e,at=Jn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,lt=e,at=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=$r!==null?{id:fn,overflow:pn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,lt=e,at=null,!0):!1;default:return!1}}function Yc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qc(e){if(de){var t=at;if(t){var n=t;if(!Wp(e,t)){if(Yc(e))throw Error(F(418));t=Jn(n.nextSibling);var r=lt;t&&Wp(e,t)?zv(r,n):(e.flags=e.flags&-4097|2,de=!1,lt=e)}}else{if(Yc(e))throw Error(F(418));e.flags=e.flags&-4097|2,de=!1,lt=e}}}function zp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;lt=e}function Zs(e){if(e!==lt)return!1;if(!de)return zp(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Uc(e.type,e.memoizedProps)),t&&(t=at)){if(Yc(e))throw $v(),Error(F(418));for(;t;)zv(e,t),t=Jn(t.nextSibling)}if(zp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){at=Jn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}at=null}}else at=lt?Jn(e.stateNode.nextSibling):null;return!0}function $v(){for(var e=at;e;)e=Jn(e.nextSibling)}function $i(){at=lt=null,de=!1}function Rh(e){Ot===null?Ot=[e]:Ot.push(e)}var PS=kn.ReactCurrentBatchConfig;function xo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(s){var a=i.refs;s===null?delete a[o]:a[o]=s},t._stringRef=o,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function ea(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function $p(e){var t=e._init;return t(e._payload)}function Uv(e){function t(g,m){if(e){var v=g.deletions;v===null?(g.deletions=[m],g.flags|=16):v.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function i(g,m){return g=nr(g,m),g.index=0,g.sibling=null,g}function o(g,m,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<m?(g.flags|=2,m):v):(g.flags|=2,m)):(g.flags|=1048576,m)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,v,k){return m===null||m.tag!==6?(m=$u(v,g.mode,k),m.return=g,m):(m=i(m,v),m.return=g,m)}function l(g,m,v,k){var S=v.type;return S===ci?c(g,m,v.props.children,k,v.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===On&&$p(S)===m.type)?(k=i(m,v.props),k.ref=xo(g,m,v),k.return=g,k):(k=Fa(v.type,v.key,v.props,null,g.mode,k),k.ref=xo(g,m,v),k.return=g,k)}function u(g,m,v,k){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Uu(v,g.mode,k),m.return=g,m):(m=i(m,v.children||[]),m.return=g,m)}function c(g,m,v,k,S){return m===null||m.tag!==7?(m=Vr(v,g.mode,k,S),m.return=g,m):(m=i(m,v),m.return=g,m)}function d(g,m,v){if(typeof m=="string"&&m!==""||typeof m=="number")return m=$u(""+m,g.mode,v),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case zs:return v=Fa(m.type,m.key,m.props,null,g.mode,v),v.ref=xo(g,null,m),v.return=g,v;case ui:return m=Uu(m,g.mode,v),m.return=g,m;case On:var k=m._init;return d(g,k(m._payload),v)}if(Ao(m)||mo(m))return m=Vr(m,g.mode,v,null),m.return=g,m;ea(g,m)}return null}function h(g,m,v,k){var S=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return S!==null?null:a(g,m,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case zs:return v.key===S?l(g,m,v,k):null;case ui:return v.key===S?u(g,m,v,k):null;case On:return S=v._init,h(g,m,S(v._payload),k)}if(Ao(v)||mo(v))return S!==null?null:c(g,m,v,k,null);ea(g,v)}return null}function f(g,m,v,k,S){if(typeof k=="string"&&k!==""||typeof k=="number")return g=g.get(v)||null,a(m,g,""+k,S);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case zs:return g=g.get(k.key===null?v:k.key)||null,l(m,g,k,S);case ui:return g=g.get(k.key===null?v:k.key)||null,u(m,g,k,S);case On:var T=k._init;return f(g,m,v,T(k._payload),S)}if(Ao(k)||mo(k))return g=g.get(v)||null,c(m,g,k,S,null);ea(m,k)}return null}function w(g,m,v,k){for(var S=null,T=null,C=m,P=m=0,M=null;C!==null&&P<v.length;P++){C.index>P?(M=C,C=null):M=C.sibling;var N=h(g,C,v[P],k);if(N===null){C===null&&(C=M);break}e&&C&&N.alternate===null&&t(g,C),m=o(N,m,P),T===null?S=N:T.sibling=N,T=N,C=M}if(P===v.length)return n(g,C),de&&Tr(g,P),S;if(C===null){for(;P<v.length;P++)C=d(g,v[P],k),C!==null&&(m=o(C,m,P),T===null?S=C:T.sibling=C,T=C);return de&&Tr(g,P),S}for(C=r(g,C);P<v.length;P++)M=f(C,g,P,v[P],k),M!==null&&(e&&M.alternate!==null&&C.delete(M.key===null?P:M.key),m=o(M,m,P),T===null?S=M:T.sibling=M,T=M);return e&&C.forEach(function(I){return t(g,I)}),de&&Tr(g,P),S}function y(g,m,v,k){var S=mo(v);if(typeof S!="function")throw Error(F(150));if(v=S.call(v),v==null)throw Error(F(151));for(var T=S=null,C=m,P=m=0,M=null,N=v.next();C!==null&&!N.done;P++,N=v.next()){C.index>P?(M=C,C=null):M=C.sibling;var I=h(g,C,N.value,k);if(I===null){C===null&&(C=M);break}e&&C&&I.alternate===null&&t(g,C),m=o(I,m,P),T===null?S=I:T.sibling=I,T=I,C=M}if(N.done)return n(g,C),de&&Tr(g,P),S;if(C===null){for(;!N.done;P++,N=v.next())N=d(g,N.value,k),N!==null&&(m=o(N,m,P),T===null?S=N:T.sibling=N,T=N);return de&&Tr(g,P),S}for(C=r(g,C);!N.done;P++,N=v.next())N=f(C,g,P,N.value,k),N!==null&&(e&&N.alternate!==null&&C.delete(N.key===null?P:N.key),m=o(N,m,P),T===null?S=N:T.sibling=N,T=N);return e&&C.forEach(function(D){return t(g,D)}),de&&Tr(g,P),S}function x(g,m,v,k){if(typeof v=="object"&&v!==null&&v.type===ci&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case zs:e:{for(var S=v.key,T=m;T!==null;){if(T.key===S){if(S=v.type,S===ci){if(T.tag===7){n(g,T.sibling),m=i(T,v.props.children),m.return=g,g=m;break e}}else if(T.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===On&&$p(S)===T.type){n(g,T.sibling),m=i(T,v.props),m.ref=xo(g,T,v),m.return=g,g=m;break e}n(g,T);break}else t(g,T);T=T.sibling}v.type===ci?(m=Vr(v.props.children,g.mode,k,v.key),m.return=g,g=m):(k=Fa(v.type,v.key,v.props,null,g.mode,k),k.ref=xo(g,m,v),k.return=g,g=k)}return s(g);case ui:e:{for(T=v.key;m!==null;){if(m.key===T)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=i(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Uu(v,g.mode,k),m.return=g,g=m}return s(g);case On:return T=v._init,x(g,m,T(v._payload),k)}if(Ao(v))return w(g,m,v,k);if(mo(v))return y(g,m,v,k);ea(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=i(m,v),m.return=g,g=m):(n(g,m),m=$u(v,g.mode,k),m.return=g,g=m),s(g)):n(g,m)}return x}var Ui=Uv(!0),Gv=Uv(!1),al=mr(null),ll=null,vi=null,Ah=null;function Mh(){Ah=vi=ll=null}function jh(e){var t=al.current;ue(al),e._currentValue=t}function Xc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ni(e,t){ll=e,Ah=vi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Je=!0),e.firstContext=null)}function kt(e){var t=e._currentValue;if(Ah!==e)if(e={context:e,memoizedValue:t,next:null},vi===null){if(ll===null)throw Error(F(308));vi=e,ll.dependencies={lanes:0,firstContext:e}}else vi=vi.next=e;return t}var Nr=null;function Fh(e){Nr===null?Nr=[e]:Nr.push(e)}function Kv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Fh(t)):(n.next=i.next,i.next=n),t.interleaved=n,vn(e,r)}function vn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var In=!1;function Lh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qv(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function mn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,vn(e,n)}return i=r.interleaved,i===null?(t.next=t,Fh(r)):(t.next=i.next,i.next=t),r.interleaved=t,vn(e,n)}function Ea(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wh(e,n)}}function Up(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=s:o=o.next=s,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ul(e,t,n,r){var i=e.updateQueue;In=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?o=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;s=0,c=u=l=null,a=o;do{var h=a.lane,f=a.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,y=a;switch(h=t,f=n,y.tag){case 1:if(w=y.payload,typeof w=="function"){d=w.call(f,d,h);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=y.payload,h=typeof w=="function"?w.call(f,d,h):w,h==null)break e;d=me({},d,h);break e;case 2:In=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=i.effects,h===null?i.effects=[a]:h.push(a))}else f={eventTime:f,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=f,l=d):c=c.next=f,s|=h;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;h=a,a=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Gr|=s,e.lanes=s,e.memoizedState=d}}function Gp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(F(191,i));i.call(r)}}}var As={},en=mr(As),as=mr(As),ls=mr(As);function Rr(e){if(e===As)throw Error(F(174));return e}function Dh(e,t){switch(oe(ls,t),oe(as,e),oe(en,As),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Mc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Mc(t,e)}ue(en),oe(en,t)}function Gi(){ue(en),ue(as),ue(ls)}function Yv(e){Rr(ls.current);var t=Rr(en.current),n=Mc(t,e.type);t!==n&&(oe(as,e),oe(en,n))}function Oh(e){as.current===e&&(ue(en),ue(as))}var fe=mr(0);function cl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Bu=[];function Ih(){for(var e=0;e<Bu.length;e++)Bu[e]._workInProgressVersionPrimary=null;Bu.length=0}var Na=kn.ReactCurrentDispatcher,Hu=kn.ReactCurrentBatchConfig,Ur=0,pe=null,Ce=null,Ne=null,dl=!1,Vo=!1,us=0,ES=0;function Ie(){throw Error(F(321))}function Bh(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!_t(e[n],t[n]))return!1;return!0}function Hh(e,t,n,r,i,o){if(Ur=o,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Na.current=e===null||e.memoizedState===null?MS:jS,e=n(r,i),Vo){o=0;do{if(Vo=!1,us=0,25<=o)throw Error(F(301));o+=1,Ne=Ce=null,t.updateQueue=null,Na.current=FS,e=n(r,i)}while(Vo)}if(Na.current=hl,t=Ce!==null&&Ce.next!==null,Ur=0,Ne=Ce=pe=null,dl=!1,t)throw Error(F(300));return e}function Vh(){var e=us!==0;return us=0,e}function Gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ne===null?pe.memoizedState=Ne=e:Ne=Ne.next=e,Ne}function St(){if(Ce===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Ne===null?pe.memoizedState:Ne.next;if(t!==null)Ne=t,Ce=e;else{if(e===null)throw Error(F(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Ne===null?pe.memoizedState=Ne=e:Ne=Ne.next=e}return Ne}function cs(e,t){return typeof t=="function"?t(e):t}function Vu(e){var t=St(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=Ce,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=s=null,l=null,u=o;do{var c=u.lane;if((Ur&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,pe.lanes|=c,Gr|=c}u=u.next}while(u!==null&&u!==o);l===null?s=r:l.next=a,_t(r,t.memoizedState)||(Je=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,pe.lanes|=o,Gr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function _u(e){var t=St(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do o=e(o,s.action),s=s.next;while(s!==i);_t(o,t.memoizedState)||(Je=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Qv(){}function Xv(e,t){var n=pe,r=St(),i=t(),o=!_t(r.memoizedState,i);if(o&&(r.memoizedState=i,Je=!0),r=r.queue,_h(e0.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||Ne!==null&&Ne.memoizedState.tag&1){if(n.flags|=2048,ds(9,Zv.bind(null,n,r,i,t),void 0,null),Re===null)throw Error(F(349));Ur&30||Jv(n,t,i)}return i}function Jv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zv(e,t,n,r){t.value=n,t.getSnapshot=r,t0(t)&&n0(e)}function e0(e,t,n){return n(function(){t0(t)&&n0(e)})}function t0(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!_t(e,n)}catch{return!0}}function n0(e){var t=vn(e,1);t!==null&&Ht(t,e,1,-1)}function Kp(e){var t=Gt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:cs,lastRenderedState:e},t.queue=e,e=e.dispatch=AS.bind(null,pe,e),[t.memoizedState,e]}function ds(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function r0(){return St().memoizedState}function Ra(e,t,n,r){var i=Gt();pe.flags|=e,i.memoizedState=ds(1|t,n,void 0,r===void 0?null:r)}function _l(e,t,n,r){var i=St();r=r===void 0?null:r;var o=void 0;if(Ce!==null){var s=Ce.memoizedState;if(o=s.destroy,r!==null&&Bh(r,s.deps)){i.memoizedState=ds(t,n,o,r);return}}pe.flags|=e,i.memoizedState=ds(1|t,n,o,r)}function qp(e,t){return Ra(8390656,8,e,t)}function _h(e,t){return _l(2048,8,e,t)}function i0(e,t){return _l(4,2,e,t)}function o0(e,t){return _l(4,4,e,t)}function s0(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function a0(e,t,n){return n=n!=null?n.concat([e]):null,_l(4,4,s0.bind(null,t,e),n)}function Wh(){}function l0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bh(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function u0(e,t){var n=St();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bh(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function c0(e,t,n){return Ur&21?(_t(n,t)||(n=mv(),pe.lanes|=n,Gr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Je=!0),e.memoizedState=n)}function NS(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=Hu.transition;Hu.transition={};try{e(!1),t()}finally{ne=n,Hu.transition=r}}function d0(){return St().memoizedState}function RS(e,t,n){var r=tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},h0(e))f0(t,n);else if(n=Kv(e,t,n,r),n!==null){var i=Ke();Ht(n,e,r,i),p0(n,t,r)}}function AS(e,t,n){var r=tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(h0(e))f0(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var s=t.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,_t(a,s)){var l=t.interleaved;l===null?(i.next=i,Fh(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Kv(e,t,i,r),n!==null&&(i=Ke(),Ht(n,e,r,i),p0(n,t,r))}}function h0(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function f0(e,t){Vo=dl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function p0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wh(e,n)}}var hl={readContext:kt,useCallback:Ie,useContext:Ie,useEffect:Ie,useImperativeHandle:Ie,useInsertionEffect:Ie,useLayoutEffect:Ie,useMemo:Ie,useReducer:Ie,useRef:Ie,useState:Ie,useDebugValue:Ie,useDeferredValue:Ie,useTransition:Ie,useMutableSource:Ie,useSyncExternalStore:Ie,useId:Ie,unstable_isNewReconciler:!1},MS={readContext:kt,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:qp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ra(4194308,4,s0.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ra(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ra(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Gt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=RS.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:Kp,useDebugValue:Wh,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=Kp(!1),t=e[0];return e=NS.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,i=Gt();if(de){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Re===null)throw Error(F(349));Ur&30||Jv(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,qp(e0.bind(null,r,o,e),[e]),r.flags|=2048,ds(9,Zv.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Gt(),t=Re.identifierPrefix;if(de){var n=pn,r=fn;n=(r&~(1<<32-Bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=us++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ES++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},jS={readContext:kt,useCallback:l0,useContext:kt,useEffect:_h,useImperativeHandle:a0,useInsertionEffect:i0,useLayoutEffect:o0,useMemo:u0,useReducer:Vu,useRef:r0,useState:function(){return Vu(cs)},useDebugValue:Wh,useDeferredValue:function(e){var t=St();return c0(t,Ce.memoizedState,e)},useTransition:function(){var e=Vu(cs)[0],t=St().memoizedState;return[e,t]},useMutableSource:Qv,useSyncExternalStore:Xv,useId:d0,unstable_isNewReconciler:!1},FS={readContext:kt,useCallback:l0,useContext:kt,useEffect:_h,useImperativeHandle:a0,useInsertionEffect:i0,useLayoutEffect:o0,useMemo:u0,useReducer:_u,useRef:r0,useState:function(){return _u(cs)},useDebugValue:Wh,useDeferredValue:function(e){var t=St();return Ce===null?t.memoizedState=e:c0(t,Ce.memoizedState,e)},useTransition:function(){var e=_u(cs)[0],t=St().memoizedState;return[e,t]},useMutableSource:Qv,useSyncExternalStore:Xv,useId:d0,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Jc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Wl={isMounted:function(e){return(e=e._reactInternals)?Qr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=tr(e),o=mn(r,i);o.payload=t,n!=null&&(o.callback=n),t=Zn(e,o,i),t!==null&&(Ht(t,e,i,r),Ea(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ke(),i=tr(e),o=mn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Zn(e,o,i),t!==null&&(Ht(t,e,i,r),Ea(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ke(),r=tr(e),i=mn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zn(e,i,r),t!==null&&(Ht(t,e,r,n),Ea(t,e,r))}};function Yp(e,t,n,r,i,o,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,s):t.prototype&&t.prototype.isPureReactComponent?!rs(n,r)||!rs(i,o):!0}function m0(e,t,n){var r=!1,i=or,o=t.contextType;return typeof o=="object"&&o!==null?o=kt(o):(i=et(t)?zr:_e.current,r=t.contextTypes,o=(r=r!=null)?zi(e,i):or),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Wl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Qp(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wl.enqueueReplaceState(t,t.state,null)}function Zc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Lh(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=kt(o):(o=et(t)?zr:_e.current,i.context=zi(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Jc(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Wl.enqueueReplaceState(i,i.state,null),ul(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ki(e,t){try{var n="",r=t;do n+=ak(r),r=r.return;while(r);var i=n}catch(o){i=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Wu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ed(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var LS=typeof WeakMap=="function"?WeakMap:Map;
vendor: 10,977 bytes, line 40
40function g0(e,t,n){n=mn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){pl||(pl=!0,cd=r),ed(e,t)},n}function y0(e,t,n){n=mn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ed(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ed(e,t),typeof r!="function"&&(er===null?er=new Set([this]):er.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Xp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new LS;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=qS.bind(null,e,t,n),t.then(e,e))}function Jp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=mn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var DS=kn.ReactCurrentOwner,Je=!1;function ze(e,t,n,r){t.child=e===null?Gv(t,null,n,r):Ui(t,e.child,n,r)}function em(e,t,n,r,i){n=n.render;var o=t.ref;return Ni(t,i),r=Hh(e,t,n,r,o,i),n=Vh(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(de&&n&&Eh(t),t.flags|=1,ze(e,t,r,i),t.child)}function tm(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Qh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,v0(e,t,o,r,i)):(e=Fa(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:rs,n(s,r)&&e.ref===t.ref)return wn(e,t,i)}return t.flags|=1,e=nr(o,r),e.ref=t.ref,e.return=t,t.child=e}function v0(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(rs(o,r)&&e.ref===t.ref)if(Je=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Je=!0);else return t.lanes=e.lanes,wn(e,t,i)}return td(e,t,n,r,i)}function w0(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(xi,ot),ot|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(xi,ot),ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,oe(xi,ot),ot|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,oe(xi,ot),ot|=r;return ze(e,t,i,n),t.child}function x0(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function td(e,t,n,r,i){var o=et(n)?zr:_e.current;return o=zi(t,o),Ni(t,i),n=Hh(e,t,n,r,o,i),r=Vh(),e!==null&&!Je?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,wn(e,t,i)):(de&&r&&Eh(t),t.flags|=1,ze(e,t,n,i),t.child)}function nm(e,t,n,r,i){if(et(n)){var o=!0;il(t)}else o=!1;if(Ni(t,i),t.stateNode===null)Aa(e,t),m0(t,n,r),Zc(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=kt(u):(u=et(n)?zr:_e.current,u=zi(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Qp(t,s,r,u),In=!1;var h=t.memoizedState;s.state=h,ul(t,r,s,i),l=t.memoizedState,a!==r||h!==l||Ze.current||In?(typeof c=="function"&&(Jc(t,n,c,r),l=t.memoizedState),(a=In||Yp(t,n,a,r,h,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,qv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),s.props=u,d=t.pendingProps,h=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=kt(l):(l=et(n)?zr:_e.current,l=zi(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||h!==l)&&Qp(t,s,r,l),In=!1,h=t.memoizedState,s.state=h,ul(t,r,s,i);var w=t.memoizedState;a!==d||h!==w||Ze.current||In?(typeof f=="function"&&(Jc(t,n,f,r),w=t.memoizedState),(u=In||Yp(t,n,u,r,h,w,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return nd(e,t,n,r,o,i)}function nd(e,t,n,r,i,o){x0(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&_p(t,n,!1),wn(e,t,o);r=t.stateNode,DS.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ui(t,e.child,null,o),t.child=Ui(t,null,a,o)):ze(e,t,a,o),t.memoizedState=r.state,i&&_p(t,n,!0),t.child}function b0(e){var t=e.stateNode;t.pendingContext?Vp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vp(e,t.context,!1),Dh(e,t.containerInfo)}function rm(e,t,n,r,i){return $i(),Rh(i),t.flags|=256,ze(e,t,n,r),t.child}var rd={dehydrated:null,treeContext:null,retryLane:0};function id(e){return{baseLanes:e,cachePool:null,transitions:null}}function k0(e,t,n){var r=t.pendingProps,i=fe.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),oe(fe,i&1),e===null)return Qc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Ul(s,r,0,null),e=Vr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=id(n),t.memoizedState=rd,e):zh(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return OS(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=nr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=nr(a,o):(o=Vr(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?id(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=rd,r}return o=e.child,e=o.sibling,r=nr(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function zh(e,t){return t=Ul({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ta(e,t,n,r){return r!==null&&Rh(r),Ui(t,e.child,null,n),e=zh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function OS(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=Wu(Error(F(422))),ta(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ul({mode:"visible",children:r.children},i,0,null),o=Vr(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ui(t,e.child,null,s),t.child.memoizedState=id(s),t.memoizedState=rd,o);if(!(t.mode&1))return ta(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(F(419)),r=Wu(o,r,void 0),ta(e,t,s,r)}if(a=(s&e.childLanes)!==0,Je||a){if(r=Re,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,vn(e,i),Ht(r,e,i,-1))}return Yh(),r=Wu(Error(F(421))),ta(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=YS.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,at=Jn(i.nextSibling),lt=t,de=!0,Ot=null,e!==null&&(gt[yt++]=fn,gt[yt++]=pn,gt[yt++]=$r,fn=e.id,pn=e.overflow,$r=t),t=zh(t,r.children),t.flags|=4096,t)}function im(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Xc(e.return,t,n)}function zu(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function S0(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ze(e,t,r.children,n),r=fe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&im(e,n,t);else if(e.tag===19)im(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oe(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&cl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),zu(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&cl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}zu(t,!0,n,null,o);break;case"together":zu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Aa(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function wn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));
vendor: 4,746 bytes, line 40
40if(t.child!==null){for(e=t.child,n=nr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=nr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function IS(e,t,n){switch(t.tag){case 3:b0(t),$i();break;case 5:Yv(t);break;case 1:et(t.type)&&il(t);break;case 4:Dh(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;oe(al,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?k0(e,t,n):(oe(fe,fe.current&1),e=wn(e,t,n),e!==null?e.sibling:null);oe(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return S0(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),oe(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,w0(e,t,n)}return wn(e,t,n)}var T0,od,C0,P0;T0=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};od=function(){};C0=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Rr(en.current);var o=null;switch(n){case"input":i=Ec(e,i),r=Ec(e,r),o=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),o=[];break;case"textarea":i=Ac(e,i),r=Ac(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=nl)}jc(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Qo.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Qo.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};P0=function(e,t,n,r){n!==r&&(t.flags|=4)};function bo(e,t){if(!de)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Be(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function BS(e,t,n){var r=t.pendingProps;switch(Nh(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Be(t),null;case 1:return et(t.type)&&rl(),Be(t),null;case 3:return r=t.stateNode,Gi(),ue(Ze),ue(_e),Ih(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Zs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(fd(Ot),Ot=null))),od(e,t),Be(t),null;case 5:Oh(t);var i=Rr(ls.current);if(n=t.type,e!==null&&t.stateNode!=null)C0(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Be(t),null}if(e=Rr(en.current),Zs(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Jt]=t,r[ss]=o,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(i=0;i<jo.length;i++)ae(jo[i],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":fp(r,o),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ae("invalid",r);break;case"textarea":mp(r,o),ae("invalid",r)}jc(n,o),i=null;for(var s in o)if(o.hasOwnProperty(s)){var a=o[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Js(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Js(r.textContent,a,e),i=["children",""+a]):Qo.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ae("scroll",r)}switch(n){case"input":$s(r),pp(r,o,!0);break;case"textarea":$s(r),gp(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=nl)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ev(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Jt]=t,e[ss]=r,T0(e,t,!1,!1),t.stateNode=e;e:{switch(s=Fc(n,r),n){case"dialog":ae("cancel",e),ae("close",e),i=r;break;case"iframe":case"object":case"embed":ae("load",e),i=r;break;case"video":case"audio":for(i=0;i<jo.length;i++)ae(jo[i],e);i=r;break;case"source":ae("error",e),i=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),i=r;break;case"details":ae("toggle",e),i=r;break;case"input":fp(e,r),i=Ec(e,r),ae("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),ae("invalid",e);break;case"textarea":mp(e,r),i=Ac(e,r),ae("invalid",e);break;default:i=r}jc(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var l=a[o];o==="style"?rv(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&tv(e,l)):o==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Xo(e,l):typeof l=="number"&&Xo(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Qo.hasOwnProperty(o)?l!=null&&o==="onScroll"&&ae("scroll",e):l!=null&&fh(e,o,l,s))}switch(n){case"input":$s(e),pp(e,r,!1);break;case"textarea":$s(e),gp(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ir(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Ti(e,!!r.multiple,o,!1):r.defaultValue!=null&&Ti(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=nl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Be(t),null;case 6:if(e&&t.stateNode!=null)P0(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=Rr(ls.current),Rr(en.current),Zs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Jt]=t,(o=r.nodeValue!==n)&&(e=lt,e!==null))switch(e.tag){case 3:Js(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Js(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Jt]=t,t.stateNode=r}return Be(t),null;case 13:if(ue(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&at!==null&&t.mode&1&&!(t.flags&128))$v(),$i(),t.flags|=98560,o=!1;else if(o=Zs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(F(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(F(317));o[Jt]=t}else $i(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Be(t),o=!1}else Ot!==null&&(fd(Ot),Ot=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||fe.current&1?Ee===0&&(Ee=3):Yh())),t.updateQueue!==null&&(t.flags|=4),Be(t),null);case 4:return Gi(),od(e,t),e===null&&is(t.stateNode.containerInfo),Be(t),null;case 10:return jh(t.type._context),Be(t),null;case 17:return et(t.type)&&rl(),Be(t),null;case 19:if(ue(fe),o=t.memoizedState,o===null)return Be(t),null;if(r=(t.flags&128)!==0,s=o.rendering,s===null)if(r)bo(o,!1);else{if(Ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=cl(e),s!==null){for(t.flags|=128,bo(o,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,s=o.alternate,s===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=s.childLanes,o.lanes=s.lanes,o.child=s.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=s.memoizedProps,o.memoizedState=s.memoizedState,o.updateQueue=s.updateQueue,o.type=s.type,e=s.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(fe,fe.current&1|2),t.child}e=e.sibling}o.tail!==null&&ve()>qi&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304)}else{if(!r)if(e=cl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),bo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!de)return Be(t),null}else 2*ve()-o.renderingStartTime>qi&&n!==1073741824&&(t.flags|=128,r=!0,bo(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ve(),t.sibling=null,n=fe.current,oe(fe,r?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return qh(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ot&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function HS(e,t){switch(Nh(t),t.tag){case 1:return et(t.type)&&rl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Gi(),ue(Ze),ue(_e),Ih(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oh(t),null;case 13:if(ue(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));$i()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(fe),null;case 4:return Gi(),null;case 10:return jh(t.type._context),null;case 22:case 23:return qh(),null;case 24:return null;default:return null}}var na=!1,Ve=!1,VS=typeof WeakSet=="function"?WeakSet:Set,B=null;function wi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function sd(e,t,n){try{n()}catch(r){ye(e,t,r)}}var om=!1;function _S(e,t){if(zc=Za,e=Mv(),Ph(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var f;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(f=d.firstChild)!==null;)h=d,d=f;for(;;){if(d===e)break t;if(h===n&&++u===i&&(a=s),h===o&&++c===r&&(l=s),(f=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=f}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for($c={focusedElem:e,selectionRange:n},Za=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var y=w.memoizedProps,x=w.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:Mt(t.type,y),x);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(k){ye(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return w=om,om=!1,w}function _o(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&sd(t,n,o)}i=i.next}while(i!==r)}}function zl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ad(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function E0(e){var t=e.alternate;t!==null&&(e.alternate=null,E0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Jt],delete t[ss],delete t[Kc],delete t[SS],delete t[TS])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function N0(e){return e.tag===5||e.tag===3||e.tag===4}function sm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||N0(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ld(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=nl));else if(r!==4&&(e=e.child,e!==null))for(ld(e,t,n),e=e.sibling;e!==null;)ld(e,t,n),e=e.sibling}function ud(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ud(e,t,n),e=e.sibling;e!==null;)ud(e,t,n),e=e.sibling}var Ae=null,Dt=!1;function An(e,t,n){for(n=n.child;n!==null;)R0(e,t,n),n=n.sibling}function R0(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Dl,n)}catch{}switch(n.tag){case 5:Ve||wi(n,t);case 6:var r=Ae,i=Dt;Ae=null,An(e,t,n),Ae=r,Dt=i,Ae!==null&&(Dt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(Dt?(e=Ae,n=n.stateNode,e.nodeType===8?Ou(e.parentNode,n):e.nodeType===1&&Ou(e,n),ts(e)):Ou(Ae,n.stateNode));break;case 4:r=Ae,i=Dt,Ae=n.stateNode.containerInfo,Dt=!0,An(e,t,n),Ae=r,Dt=i;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&sd(n,t,s),i=i.next}while(i!==r)}An(e,t,n);break;case 1:if(!Ve&&(wi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}An(e,t,n);break;case 21:An(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,An(e,t,n),Ve=r):An(e,t,n);break;default:An(e,t,n)}}function am(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new VS),t.forEach(function(r){var i=QS.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Ae=a.stateNode,Dt=!1;break e;case 3:Ae=a.stateNode.containerInfo,Dt=!0;break e;case 4:Ae=a.stateNode.containerInfo,Dt=!0;break e}a=a.return}if(Ae===null)throw Error(F(160));R0(o,s,i),Ae=null,Dt=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){ye(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)A0(t,e),t=t.sibling}function A0(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),Ut(e),r&4){try{_o(3,e,e.return),zl(3,e)}catch(y){ye(e,e.return,y)}try{_o(5,e,e.return)}catch(y){ye(e,e.return,y)}}break;case 1:Et(t,e),Ut(e),r&512&&n!==null&&wi(n,n.return);break;case 5:if(Et(t,e),Ut(e),r&512&&n!==null&&wi(n,n.return),e.flags&32){var i=e.stateNode;try{Xo(i,"")}catch(y){ye(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,s=n!==null?n.memoizedProps:o,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&Jy(i,o),Fc(a,s);var u=Fc(a,o);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?rv(i,d):c==="dangerouslySetInnerHTML"?tv(i,d):c==="children"?Xo(i,d):fh(i,c,d,u)}switch(a){case"input":Nc(i,o);break;case"textarea":Zy(i,o);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var f=o.value;f!=null?Ti(i,!!o.multiple,f,!1):h!==!!o.multiple&&(o.defaultValue!=null?Ti(i,!!o.multiple,o.defaultValue,!0):Ti(i,!!o.multiple,o.multiple?[]:"",!1))}i[ss]=o}catch(y){ye(e,e.return,y)}}break;case 6:if(Et(t,e),Ut(e),r&4){if(e.stateNode===null)throw Error(F(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(y){ye(e,e.return,y)}}break;case 3:if(Et(t,e),Ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ts(t.containerInfo)}catch(y){ye(e,e.return,y)}break;case 4:Et(t,e),Ut(e);break;case 13:Et(t,e),Ut(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Gh=ve())),r&4&&am(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ve=(u=Ve)||c,Et(t,e),Ve=u):Et(t,e),Ut(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(B=e,c=e.child;c!==null;){for(d=B=c;B!==null;){switch(h=B,f=h.child,h.tag){case 0:case 11:case 14:case 15:_o(4,h,h.return);break;case 1:wi(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(y){ye(r,n,y)}}break;case 5:wi(h,h.return);break;case 22:if(h.memoizedState!==null){um(d);continue}}f!==null?(f.return=h,B=f):um(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=nv("display",s))}catch(y){ye(e,e.return,y)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){ye(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Et(t,e),Ut(e),r&4&&am(e);break;case 21:break;default:Et(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(N0(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Xo(i,""),r.flags&=-33);var o=sm(e);ud(e,o,i);break;case 3:case 4:var s=r.stateNode.containerInfo,a=sm(e);ld(e,a,s);break;default:throw Error(F(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function WS(e,t,n){B=e,M0(e)}function M0(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var i=B,o=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||na;if(!s){var a=i.alternate,l=a!==null&&a.memoizedState!==null||Ve;a=na;var u=Ve;if(na=s,(Ve=l)&&!u)for(B=i;B!==null;)s=B,l=s.child,s.tag===22&&s.memoizedState!==null?cm(i):l!==null?(l.return=s,B=l):cm(i);for(;o!==null;)B=o,M0(o),o=o.sibling;B=i,na=a,Ve=u}lm(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,B=o):lm(e)}}function lm(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ve||zl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ve)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Gp(t,o,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Gp(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&ts(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}Ve||t.flags&512&&ad(t)}catch(h){ye(t,t.return,h)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function um(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function cm(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{zl(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){ye(t,i,l)}}var o=t.return;try{ad(t)}catch(l){ye(t,o,l)}break;case 5:var s=t.return;try{ad(t)}catch(l){ye(t,s,l)}}}catch(l){ye(t,t.return,l)}if(t===e){B=null;break}var a=t.sibling;if(a!==null){a.return=t.return,B=a;break}B=t.return}}var zS=Math.ceil,fl=kn.ReactCurrentDispatcher,$h=kn.ReactCurrentOwner,xt=kn.ReactCurrentBatchConfig,Z=0,Re=null,ke=null,Fe=0,ot=0,xi=mr(0),Ee=0,hs=null,Gr=0,$l=0,Uh=0,Wo=null,Xe=null,Gh=0,qi=1/0,cn=null,pl=!1,cd=null,er=null,ra=!1,Gn=null,ml=0,zo=0,dd=null,Ma=-1,ja=0;function Ke(){return Z&6?ve():Ma!==-1?Ma:Ma=ve()}function tr(e){return e.mode&1?Z&2&&Fe!==0?Fe&-Fe:PS.transition!==null?(ja===0&&(ja=mv()),ja):(e=ne,e!==0||(e=window.event,e=e===void 0?16:kv(e.type)),e):1}function Ht(e,t,n,r){if(50<zo)throw zo=0,dd=null,Error(F(185));Es(e,n,r),(!(Z&2)||e!==Re)&&(e===Re&&(!(Z&2)&&($l|=n),Ee===4&&Hn(e,Fe)),tt(e,r),n===1&&Z===0&&!(t.mode&1)&&(qi=ve()+500,Vl&&gr()))}function tt(e,t){var n=e.callbackNode;Pk(e,t);var r=Ja(e,e===Re?Fe:0);if(r===0)n!==null&&wp(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&wp(n),t===1)e.tag===0?CS(dm.bind(null,e)):_v(dm.bind(null,e)),bS(function(){!(Z&6)&&gr()}),n=null;else{switch(gv(r)){case 1:n=vh;break;case 4:n=fv;break;case 16:n=Xa;break;case 536870912:n=pv;break;default:n=Xa}n=H0(n,j0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function j0(e,t){if(Ma=-1,ja=0,Z&6)throw Error(F(327));var n=e.callbackNode;if(Ri()&&e.callbackNode!==n)return null;var r=Ja(e,e===Re?Fe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=gl(e,r);else{t=r;var i=Z;Z|=2;var o=L0();(Re!==e||Fe!==t)&&(cn=null,qi=ve()+500,Hr(e,t));do try{GS();break}catch(a){F0(e,a)}while(!0);Mh(),fl.current=o,Z=i,ke!==null?t=0:(Re=null,Fe=0,t=Ee)}if(t!==0){if(t===2&&(i=Bc(e),i!==0&&(r=i,t=hd(e,i))),t===1)throw n=hs,Hr(e,0),Hn(e,r),tt(e,ve()),n;if(t===6)Hn(e,r);else{if(i=e.current.alternate,!(r&30)&&!$S(i)&&(t=gl(e,r),t===2&&(o=Bc(e),o!==0&&(r=o,t=hd(e,o))),t===1))throw n=hs,Hr(e,0),Hn(e,r),tt(e,ve()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:Cr(e,Xe,cn);break;case 3:if(Hn(e,r),(r&130023424)===r&&(t=Gh+500-ve(),10<t)){if(Ja(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Ke(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Gc(Cr.bind(null,e,Xe,cn),t);break}Cr(e,Xe,cn);break;case 4:if(Hn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-Bt(r);o=1<<s,s=t[s],s>i&&(i=s),r&=~o}if(r=i,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zS(r/1960))-r,10<r){e.timeoutHandle=Gc(Cr.bind(null,e,Xe,cn),r);break}Cr(e,Xe,cn);break;case 5:Cr(e,Xe,cn);break;default:throw Error(F(329))}}}return tt(e,ve()),e.callbackNode===n?j0.bind(null,e):null}function hd(e,t){var n=Wo;return e.current.memoizedState.isDehydrated&&(Hr(e,t).flags|=256),e=gl(e,t),e!==2&&(t=Xe,Xe=n,t!==null&&fd(t)),e}function fd(e){Xe===null?Xe=e:Xe.push.apply(Xe,e)}function $S(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!_t(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Hn(e,t){for(t&=~Uh,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Bt(t),r=1<<n;e[n]=-1,t&=~r}}function dm(e){if(Z&6)throw Error(F(327));Ri();var t=Ja(e,0);if(!(t&1))return tt(e,ve()),null;var n=gl(e,t);if(e.tag!==0&&n===2){var r=Bc(e);r!==0&&(t=r,n=hd(e,r))}if(n===1)throw n=hs,Hr(e,0),Hn(e,t),tt(e,ve()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Cr(e,Xe,cn),tt(e,ve()),null}function Kh(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(qi=ve()+500,Vl&&gr())}}function Kr(e){Gn!==null&&Gn.tag===0&&!(Z&6)&&Ri();var t=Z;Z|=1;var n=xt.transition,r=ne;try{if(xt.transition=null,ne=1,e)return e()}finally{ne=r,xt.transition=n,Z=t,!(Z&6)&&gr()}}function qh(){ot=xi.current,ue(xi)}function Hr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,xS(n)),ke!==null)for(n=ke.return;n!==null;){var r=n;switch(Nh(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&rl();break;case 3:Gi(),ue(Ze),ue(_e),Ih();break;case 5:Oh(r);break;case 4:Gi();break;case 13:ue(fe);break;case 19:ue(fe);break;case 10:jh(r.type._context);break;case 22:case 23:qh()}n=n.return}if(Re=e,ke=e=nr(e.current,null),Fe=ot=t,Ee=0,hs=null,Uh=$l=Gr=0,Xe=Wo=null,Nr!==null){for(t=0;t<Nr.length;t++)if(n=Nr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var s=o.next;o.next=i,r.next=s}n.pending=r}Nr=null}return e}function F0(e,t){do{var n=ke;try{if(Mh(),Na.current=hl,dl){for(var r=pe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}dl=!1}if(Ur=0,Ne=Ce=pe=null,Vo=!1,us=0,$h.current=null,n===null||n.return===null){Ee=1,hs=t,ke=null;break}e:{var o=e,s=n.return,a=n,l=t;if(t=Fe,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var f=Jp(s);if(f!==null){f.flags&=-257,Zp(f,s,a,o,t),f.mode&1&&Xp(o,u,t),t=f,l=u;var w=t.updateQueue;if(w===null){var y=new Set;y.add(l),t.updateQueue=y}else w.add(l);break e}else{if(!(t&1)){Xp(o,u,t),Yh();break e}l=Error(F(426))}}else if(de&&a.mode&1){var x=Jp(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Zp(x,s,a,o,t),Rh(Ki(l,a));break e}}o=l=Ki(l,a),Ee!==4&&(Ee=2),Wo===null?Wo=[o]:Wo.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var g=g0(o,l,t);Up(o,g);break e;case 1:a=l;var m=o.type,v=o.stateNode;if(!(o.flags&128)&&(typeof m.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(er===null||!er.has(v)))){o.flags|=65536,t&=-t,o.lanes|=t;var k=y0(o,a,t);Up(o,k);break e}}o=o.return}while(o!==null)}O0(n)}catch(S){t=S,ke===n&&n!==null&&(ke=n=n.return);continue}break}while(!0)}function L0(){var e=fl.current;return fl.current=hl,e===null?hl:e}function Yh(){(Ee===0||Ee===3||Ee===2)&&(Ee=4),Re===null||!(Gr&268435455)&&!($l&268435455)||Hn(Re,Fe)}function gl(e,t){var n=Z;Z|=2;var r=L0();(Re!==e||Fe!==t)&&(cn=null,Hr(e,t));do try{US();break}catch(i){F0(e,i)}while(!0);if(Mh(),Z=n,fl.current=r,ke!==null)throw Error(F(261));return Re=null,Fe=0,Ee}function US(){for(;ke!==null;)D0(ke)}function GS(){for(;ke!==null&&!yk();)D0(ke)}function D0(e){var t=B0(e.alternate,e,ot);e.memoizedProps=e.pendingProps,t===null?O0(e):ke=t,$h.current=null}function O0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=HS(n,t),n!==null){n.flags&=32767,ke=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ee=6,ke=null;return}}else if(n=BS(n,t,ot),n!==null){ke=n;return}if(t=t.sibling,t!==null){ke=t;return}ke=t=e}while(t!==null);Ee===0&&(Ee=5)}function Cr(e,t,n){var r=ne,i=xt.transition;try{xt.transition=null,ne=1,KS(e,t,n,r)}finally{xt.transition=i,ne=r}return null}function KS(e,t,n,r){do Ri();while(Gn!==null);if(Z&6)throw Error(F(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ek(e,o),e===Re&&(ke=Re=null,Fe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ra||(ra=!0,H0(Xa,function(){return Ri(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=xt.transition,xt.transition=null;var s=ne;ne=1;var a=Z;Z|=4,$h.current=null,_S(e,n),A0(n,e),fS($c),Za=!!zc,$c=zc=null,e.current=n,WS(n),vk(),Z=a,ne=s,xt.transition=o}else e.current=n;if(ra&&(ra=!1,Gn=e,ml=i),o=e.pendingLanes,o===0&&(er=null),bk(n.stateNode),tt(e,ve()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(pl)throw pl=!1,e=cd,cd=null,e;return ml&1&&e.tag!==0&&Ri(),o=e.pendingLanes,o&1?e===dd?zo++:(zo=0,dd=e):zo=0,gr(),null}function Ri(){if(Gn!==null){var e=gv(ml),t=xt.transition,n=ne;try{if(xt.transition=null,ne=16>e?16:e,Gn===null)var r=!1;else{if(e=Gn,Gn=null,ml=0,Z&6)throw Error(F(331));var i=Z;for(Z|=4,B=e.current;B!==null;){var o=B,s=o.child;if(B.flags&16){var a=o.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(B=u;B!==null;){var c=B;switch(c.tag){case 0:case 11:case 15:_o(8,c,o)}var d=c.child;if(d!==null)d.return=c,B=d;else for(;B!==null;){c=B;var h=c.sibling,f=c.return;if(E0(c),c===u){B=null;break}if(h!==null){h.return=f,B=h;break}B=f}}}var w=o.alternate;if(w!==null){var y=w.child;if(y!==null){w.child=null;do{var x=y.sibling;y.sibling=null,y=x}while(y!==null)}}B=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,B=s;else e:for(;B!==null;){if(o=B,o.flags&2048)switch(o.tag){case 0:case 11:case 15:_o(9,o,o.return)}var g=o.sibling;if(g!==null){g.return=o.return,B=g;break e}B=o.return}}var m=e.current;for(B=m;B!==null;){s=B;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,B=v;else e:for(s=m;B!==null;){if(a=B,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:zl(9,a)}}catch(S){ye(a,a.return,S)}if(a===s){B=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,B=k;break e}B=a.return}}if(Z=i,gr(),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(Dl,e)}catch{}r=!0}return r}finally{ne=n,xt.transition=t}}return!1}function hm(e,t,n){t=Ki(n,t),t=g0(e,t,1),e=Zn(e,t,1),t=Ke(),e!==null&&(Es(e,1,t),tt(e,t))}function ye(e,t,n){if(e.tag===3)hm(e,e,n);else for(;t!==null;){if(t.tag===3){hm(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(er===null||!er.has(r))){e=Ki(n,e),e=y0(t,e,1),t=Zn(t,e,1),e=Ke(),t!==null&&(Es(t,1,e),tt(t,e));break}}t=t.return}}function qS(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ke(),e.pingedLanes|=e.suspendedLanes&n,Re===e&&(Fe&n)===n&&(Ee===4||Ee===3&&(Fe&130023424)===Fe&&500>ve()-Gh?Hr(e,0):Uh|=n),tt(e,t)}function I0(e,t){t===0&&(e.mode&1?(t=Ks,Ks<<=1,!(Ks&130023424)&&(Ks=4194304)):t=1);var n=Ke();e=vn(e,t),e!==null&&(Es(e,t,n),tt(e,n))}function YS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),I0(e,n)}function QS(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),I0(e,n)}var B0;B0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ze.current)Je=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Je=!1,IS(e,t,n);Je=!!(e.flags&131072)}else Je=!1,de&&t.flags&1048576&&Wv(t,sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Aa(e,t),e=t.pendingProps;var i=zi(t,_e.current);Ni(t,n),i=Hh(null,t,r,e,i,n);var o=Vh();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,et(r)?(o=!0,il(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Lh(t),i.updater=Wl,t.stateNode=i,i._reactInternals=t,Zc(t,r,e,n),t=nd(null,t,r,!0,o,n)):(t.tag=0,de&&o&&Eh(t),ze(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Aa(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=JS(r),e=Mt(r,e),i){case 0:t=td(null,t,r,e,n);break e;case 1:t=nm(null,t,r,e,n);break e;case 11:t=em(null,t,r,e,n);break e;case 14:t=tm(null,t,r,Mt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),td(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),nm(e,t,r,i,n);case 3:e:{if(b0(t),e===null)throw Error(F(387));
vendor: 2,306 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,i=o.element,qv(e,t),ul(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Ki(Error(F(423)),t),t=rm(e,t,r,n,i);break e}else if(r!==i){i=Ki(Error(F(424)),t),t=rm(e,t,r,n,i);break e}else for(at=Jn(t.stateNode.containerInfo.firstChild),lt=t,de=!0,Ot=null,n=Gv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($i(),r===i){t=wn(e,t,n);break e}ze(e,t,r,n)}t=t.child}return t;case 5:return Yv(t),e===null&&Qc(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Uc(r,i)?s=null:o!==null&&Uc(r,o)&&(t.flags|=32),x0(e,t),ze(e,t,s,n),t.child;case 6:return e===null&&Qc(t),null;case 13:return k0(e,t,n);case 4:return Dh(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ui(t,null,r,n):ze(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),em(e,t,r,i,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,oe(al,r._currentValue),r._currentValue=s,o!==null)if(_t(o.value,s)){if(o.children===i.children&&!Ze.current){t=wn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=mn(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Xc(o.return,n,t),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Xc(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}ze(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Ni(t,n),i=kt(i),r=r(i),t.flags|=1,ze(e,t,r,n),t.child;
vendor: 8,058 bytes, line 40
40case 14:return r=t.type,i=Mt(r,t.pendingProps),i=Mt(r.type,i),tm(e,t,r,i,n);case 15:return v0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Aa(e,t),t.tag=1,et(r)?(e=!0,il(t)):e=!1,Ni(t,n),m0(t,r,i),Zc(t,r,i,n),nd(null,t,r,!0,e,n);case 19:return S0(e,t,n);case 22:return w0(e,t,n)}throw Error(F(156,t.tag))};function H0(e,t){return hv(e,t)}function XS(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function vt(e,t,n,r){return new XS(e,t,n,r)}function Qh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function JS(e){if(typeof e=="function")return Qh(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mh)return 11;if(e===gh)return 14}return 2}function nr(e,t){var n=e.alternate;return n===null?(n=vt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fa(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")Qh(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case ci:return Vr(n.children,i,o,t);case ph:s=8,i|=8;break;case Sc:return e=vt(12,n,t,i|2),e.elementType=Sc,e.lanes=o,e;case Tc:return e=vt(13,n,t,i),e.elementType=Tc,e.lanes=o,e;case Cc:return e=vt(19,n,t,i),e.elementType=Cc,e.lanes=o,e;case Yy:return Ul(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ky:s=10;break e;case qy:s=9;break e;case mh:s=11;break e;case gh:s=14;break e;case On:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=vt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Vr(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function Ul(e,t,n,r){return e=vt(22,e,r,t),e.elementType=Yy,e.lanes=n,e.stateNode={isHidden:!1},e}function $u(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function Uu(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZS(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cu(0),this.expirationTimes=Cu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cu(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Xh(e,t,n,r,i,o,s,a,l){return e=new ZS(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=vt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lh(o),e}function eT(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ui,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function V0(e){if(!e)return or;e=e._reactInternals;e:{if(Qr(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(et(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(et(n))return Vv(e,n,t)}return t}function _0(e,t,n,r,i,o,s,a,l){return e=Xh(n,r,!0,e,i,o,s,a,l),e.context=V0(null),n=e.current,r=Ke(),i=tr(n),o=mn(r,i),o.callback=t??null,Zn(n,o,i),e.current.lanes=i,Es(e,i,r),tt(e,r),e}function Gl(e,t,n,r){var i=t.current,o=Ke(),s=tr(i);return n=V0(n),t.context===null?t.context=n:t.pendingContext=n,t=mn(o,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zn(i,t,s),e!==null&&(Ht(e,i,s,o),Ea(e,i,s)),s}function yl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function fm(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Jh(e,t){fm(e,t),(e=e.alternate)&&fm(e,t)}function tT(){return null}var W0=typeof reportError=="function"?reportError:function(e){console.error(e)};function Zh(e){this._internalRoot=e}Kl.prototype.render=Zh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));Gl(e,t,null,null)};Kl.prototype.unmount=Zh.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Kr(function(){Gl(null,e,null,null)}),t[yn]=null}};function Kl(e){this._internalRoot=e}Kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=wv();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Bn.length&&t!==0&&t<Bn[n].priority;n++);Bn.splice(n,0,e),n===0&&bv(e)}};function ef(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ql(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function pm(){}function nT(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=yl(s);o.call(u)}}var s=_0(t,r,e,0,null,!1,!1,"",pm);return e._reactRootContainer=s,e[yn]=s.current,is(e.nodeType===8?e.parentNode:e),Kr(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=yl(l);a.call(u)}}var l=Xh(e,0,!1,null,null,!1,!1,"",pm);return e._reactRootContainer=l,e[yn]=l.current,is(e.nodeType===8?e.parentNode:e),Kr(function(){Gl(t,l,n,r)}),l}function Yl(e,t,n,r,i){var o=n._reactRootContainer;if(o){var s=o;if(typeof i=="function"){var a=i;i=function(){var l=yl(s);a.call(l)}}Gl(t,s,e,i)}else s=nT(n,t,e,i,r);return yl(s)}yv=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Mo(t.pendingLanes);n!==0&&(wh(t,n|1),tt(t,ve()),!(Z&6)&&(qi=ve()+500,gr()))}break;case 13:Kr(function(){var r=vn(e,1);if(r!==null){var i=Ke();Ht(r,e,1,i)}}),Jh(e,1)}};xh=function(e){if(e.tag===13){var t=vn(e,134217728);if(t!==null){var n=Ke();Ht(t,e,134217728,n)}Jh(e,134217728)}};vv=function(e){if(e.tag===13){var t=tr(e),n=vn(e,t);if(n!==null){var r=Ke();Ht(n,e,t,r)}Jh(e,t)}};wv=function(){return ne};xv=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};Dc=function(e,t,n){switch(t){case"input":if(Nc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Hl(r);if(!i)throw Error(F(90));Xy(r),Nc(r,i)}}}break;case"textarea":Zy(e,n);break;case"select":t=n.value,t!=null&&Ti(e,!!n.multiple,t,!1)}};sv=Kh;av=Kr;var rT={usingClientEntryPoint:!1,Events:[Rs,pi,Hl,iv,ov,Kh]},ko={findFiberByHostInstance:Er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},iT={bundleType:ko.bundleType,version:ko.version,rendererPackageName:ko.rendererPackageName,rendererConfig:ko.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cv(e),e===null?null:e.stateNode},findFiberByHostInstance:ko.findFiberByHostInstance||tT,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ia=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ia.isDisabled&&ia.supportsFiber)try{Dl=ia.inject(iT),Zt=ia}catch{}}dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=rT;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ef(t))throw Error(F(200));return eT(e,t,null,n)};dt.createRoot=function(e,t){if(!ef(e))throw Error(F(299));var n=!1,r="",i=W0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Xh(e,1,!1,null,null,n,!1,r,i),e[yn]=t.current,is(e.nodeType===8?e.parentNode:e),new Zh(t)};dt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=cv(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return Kr(e)};dt.hydrate=function(e,t,n){if(!ql(t))throw Error(F(200));return Yl(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!ef(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",s=W0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=_0(t,null,e,1,n??null,i,!1,o,s),e[yn]=t.current,is(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Kl(t)};dt.render=function(e,t,n){if(!ql(t))throw Error(F(200));return Yl(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!ql(e))throw Error(F(40));return e._reactRootContainer?(Kr(function(){Yl(null,null,e,!1,function(){e._reactRootContainer=null,e[yn]=null})}),!0):!1};dt.unstable_batchedUpdates=Kh;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ql(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return Yl(e,t,n,!1,r)};dt.version="18.3.1-next-f1338f8080-20240426";function z0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(z0)}catch(e){console.error(e)}}z0(),zy.exports=dt;var Ms=zy.exports;const $0=Cs(Ms);var U0,mm=Ms;U0=mm.createRoot,mm.hydrateRoot;var oT=typeof Element<"u",sT=typeof Map=="function",aT=typeof Set=="function",lT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function La(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!La(e[r],t[r]))return!1;return!0}var o;if(sT&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!La(r.value[1],t.get(r.value[0])))return!1;return!0}if(aT&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(lT&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(oT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!La(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var uT=function(t,n){try{return La(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const cT=Cs(uT);var dT=function(e,t,n,r,i,o,s,a){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,s,a],c=0;
40l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},hT=dT;const gm=Cs(hT);var fT=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var s=Object.keys(t),a=Object.keys(n);if(s.length!==a.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<s.length;u++){var c=s[u];if(!l(c))return!1;var d=t[c],h=n[c];if(o=r?r.call(i,d,h,c):void 0,o===!1||o===void 0&&d!==h)return!1}return!0};const pT=Cs(fT);var G0=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(G0||{}),Gu={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},ym=Object.values(G0),Ql={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},K0=Object.entries(Ql).reduce((e,[t,n])=>(e[n]=t,e),{}),It="data-rh",Ai={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Mi=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},mT=e=>{let t=Mi(e,"title");const n=Mi(e,Ai.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Mi(e,Ai.DEFAULT_TITLE);return t||r||void 0},gT=e=>Mi(e,Ai.ON_CHANGE_CLIENT_STATE)||(()=>{}),Ku=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),yT=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;o<i.length;o+=1){const a=i[o].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}}return n},[]),vT=e=>console&&typeof console.warn=="function"&&console.warn(e),So=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&vT(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const s={};o.filter(l=>{let u;const c=Object.keys(l);for(let h=0;h<c.length;h+=1){const f=c[h],w=f.toLowerCase();t.indexOf(w)!==-1&&!(u==="rel"&&l[u].toLowerCase()==="canonical")&&!(w==="rel"&&l[w].toLowerCase()==="stylesheet")&&(u=w),t.indexOf(f)!==-1&&(f==="innerHTML"||f==="cssText"||f==="itemprop")&&(u=f)}if(!u||!l[u])return!1;const d=l[u].toLowerCase();return r[u]||(r[u]={}),s[u]||(s[u]={}),r[u][d]?!1:(s[u][d]=!0,!0)}).reverse().forEach(l=>i.push(l));const a=Object.keys(s);for(let l=0;l<a.length;l+=1){const u=a[l],c={...r[u],...s[u]};r[u]=c}return i},[]).reverse()},wT=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},xT=e=>({baseTag:yT(["href"],e),bodyAttributes:Ku("bodyAttributes",e),defer:Mi(e,Ai.DEFER),encode:Mi(e,Ai.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ku("htmlAttributes",e),linkTags:So("link",["rel","href"],e),metaTags:So("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:So("noscript",["innerHTML"],e),onChangeClientState:gT(e),scriptTags:So("script",["src","innerHTML"],e),styleTags:So("style",["cssText"],e),title:mT(e),titleAttributes:Ku("titleAttributes",e),prioritizeSeoTags:wT(e,Ai.PRIORITIZE_SEO_TAGS)}),q0=e=>Array.isArray(e)?e.join(""):e,bT=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},qu=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(bT(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},vm=(e,t)=>({...e,[t]:void 0}),kT=["noscript","script","style"],pd=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),Y0=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),ST=(e,t,n,r)=>{const i=Y0(n),o=q0(t);return i?`<${e} ${It}="true" ${i}>${pd(o,r)}</${e}>`:`<${e} ${It}="true">${pd(o,r)}</${e}>`},TT=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,s=Object.keys(o).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const d=typeof o[c]>"u"?c:`${c}="${pd(o[c],n)}"`;return u?`${u} ${d}`:d},""),a=o.innerHTML||o.cssText||"",l=kT.indexOf(e)===-1;return`${r}<${e} ${It}="true" ${s}${l?"/>":`>${a}</${e}>`}`},""),Q0=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=Ql[r];return n[i||r]=e[r],n},t),CT=(e,t,n)=>{const r={key:t,[It]:!0},i=Q0(n,r);return[j.createElement("title",i,t)]},Da=(e,t)=>t.map((n,r)=>{const i={key:r,[It]:!0};
40return Object.keys(n).forEach(o=>{const a=Ql[o]||o;if(a==="innerHTML"||a==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[a]=n[o]}),j.createElement(e,i)}),pt=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>CT(e,t.title,t.titleAttributes),toString:()=>ST(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Q0(t),toString:()=>Y0(t)};default:return{toComponent:()=>Da(e,t),toString:()=>TT(e,t,n)}}},PT=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=qu(e,Gu.meta),o=qu(t,Gu.link),s=qu(n,Gu.script);return{priorityMethods:{toComponent:()=>[...Da("meta",i.priority),...Da("link",o.priority),...Da("script",s.priority)],toString:()=>`${pt("meta",i.priority,r)} ${pt("link",o.priority,r)} ${pt("script",s.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:s.default}},ET=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:s,title:a="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:d,scriptTags:h}=e,f={toComponent:()=>[],toString:()=>""};return u&&({priorityMethods:f,linkTags:c,metaTags:d,scriptTags:h}=PT(e)),{priority:f,base:pt("base",t,r),bodyAttributes:pt("bodyAttributes",n,r),htmlAttributes:pt("htmlAttributes",i,r),link:pt("link",c,r),meta:pt("meta",d,r),noscript:pt("noscript",o,r),script:pt("script",h,r),style:pt("style",s,r),title:pt("title",{title:a,titleAttributes:l},r)}},md=ET,oa=[],tf=!!(typeof window<"u"&&window.document&&window.document.createElement),gd=class{constructor(e,t){sn(this,"instances",[]);sn(this,"canUseDOM",tf);sn(this,"context");sn(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?oa:this.instances,add:e=>{(this.canUseDOM?oa:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?oa:this.instances).indexOf(e);(this.canUseDOM?oa:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=md({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},NT=parseInt(j.version.split(".")[0],10),yd=NT>=19,RT={},X0=j.createContext(RT),jr,J0=(jr=class extends b.Component{constructor(n){super(n);sn(this,"helmetData");yd?this.helmetData=null:this.helmetData=new gd(this.props.context||{},jr.canUseDOM)}render(){return yd?j.createElement(j.Fragment,null,this.props.children):j.createElement(X0.Provider,{value:this.helmetData.value},this.props.children)}},sn(jr,"canUseDOM",tf),jr),ai=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${It}]`),i=[].slice.call(r),o=[];let s;return t&&t.length&&t.forEach(a=>{const l=document.createElement(e);for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u))if(u==="innerHTML")l.innerHTML=a.innerHTML;else if(u==="cssText"){const c=a.cssText;l.appendChild(document.createTextNode(c))}else{const c=u,d=typeof a[c]>"u"?"":a[c];l.setAttribute(u,d)}l.setAttribute(It,"true"),i.some((u,c)=>(s=c,l.isEqualNode(u)))?i.splice(s,1):o.push(l)}),i.forEach(a=>{var l;return(l=a.parentNode)==null?void 0:l.removeChild(a)}),o.forEach(a=>n.appendChild(a)),{oldTags:i,newTags:o}},vd=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(It),i=r?r.split(","):[],o=[...i],s=Object.keys(t);for(const a of s){const l=t[a]||"";n.getAttribute(a)!==l&&n.setAttribute(a,l),i.indexOf(a)===-1&&i.push(a);const u=o.indexOf(a);u!==-1&&o.splice(u,1)}for(let a=o.length-1;a>=0;a-=1)n.removeAttribute(o[a]);i.length===o.length?n.removeAttribute(It):n.getAttribute(It)!==s.join(",")&&n.setAttribute(It,s.join(","))},AT=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=q0(e)),vd("title",t)},wm=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:s,noscriptTags:a,onChangeClientState:l,scriptTags:u,styleTags:c,title:d,titleAttributes:h}=e;vd("body",r),vd("html",i),AT(d,h);const f={baseTag:ai("base",n),linkTags:ai("link",o),metaTags:ai("meta",s),noscriptTags:ai("noscript",a),scriptTags:ai("script",u),styleTags:ai("style",c)},w={},y={};Object.keys(f).forEach(x=>{const{newTags:g,oldTags:m}=f[x];g.length&&(w[x]=g),m.length&&(y[x]=f[x].oldTags)}),t&&t(),l(e,w,y)},To=null,MT=e=>{To&&cancelAnimationFrame(To),e.defer?To=requestAnimationFrame(()=>{wm(e,()=>{To=null})}):(wm(e),To=null)},jT=MT,xm=class extends b.Component{constructor(){super(...arguments);sn(this,"rendered",!1)}shouldComponentUpdate(t){return!pT(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=xT(t.get().map(o=>{const{context:s,...a}=o.props;return a}));
40J0.canUseDOM?jT(i):md&&(r=md(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Oa=[],bm=e=>{const t={};for(const n of Object.keys(e))t[K0[n]||n]=e[n];return t},kr=e=>{const t={};for(const n of Object.keys(e)){const r=Ql[n];t[r||n]=e[n]}return t},km=(e,t)=>{if(!tf)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",i=n.getAttribute(r),o=i?i.split(","):[],s=Object.keys(t);for(const a of o)s.includes(a)||n.removeAttribute(a);for(const a of s){const l=t[a];l==null||l===!1?n.removeAttribute(a):l===!0?n.setAttribute(a,""):n.setAttribute(a,String(l))}s.length>0?n.setAttribute(r,s.join(",")):n.removeAttribute(r)},Yu=()=>{const e={},t={};for(const n of Oa){const{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,bm(r)),i&&Object.assign(t,bm(i))}km("html",e),km("body",t)},FT=class extends b.Component{componentDidMount(){Oa.push(this),Yu()}componentDidUpdate(){Yu()}componentWillUnmount(){const e=Oa.indexOf(this);e!==-1&&Oa.splice(e,1),Yu()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return j.createElement("title",kr(t),e)}renderBase(){const{base:e}=this.props;return e?j.createElement("base",kr(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>j.createElement("meta",{key:n,...kr(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>j.createElement("link",{key:n,...kr(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=kr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),j.createElement("script",{key:n,...o})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...i}=t,o=kr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),j.createElement("style",{key:n,...o})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...i}=t,o=kr(i);return r&&(o.dangerouslySetInnerHTML={__html:r}),j.createElement("noscript",{key:n,...o})})}render(){return j.createElement(j.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},bc,nf=(bc=class extends b.Component{shouldComponentUpdate(e){return!cT(vm(this.props,"helmetData"),vm(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return gm(ym.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${ym.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),gm(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return j.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,s=Object.keys(o).reduce((l,u)=>(l[K0[u]||u]=o[u],l),{});let{type:a}=r;
40switch(typeof a=="symbol"?a=a.toString():this.warnOnInvalidChildren(r,i),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,s,i);break;default:t=this.mapObjectTypeChildren(r,t,s,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof gd)){const i=r;r=new gd(i.context,!0),delete n.helmetData}return yd?j.createElement(FT,{...n}):r?j.createElement(xm,{...n,context:r.value}):j.createElement(X0.Consumer,null,i=>j.createElement(xm,{...n,context:i}))}},sn(bc,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),bc);const LT=1,DT=1e6;let Qu=0;function OT(){return Qu=(Qu+1)%Number.MAX_SAFE_INTEGER,Qu.toString()}const Xu=new Map,Sm=e=>{if(Xu.has(e))return;const t=setTimeout(()=>{Xu.delete(e),$o({type:"REMOVE_TOAST",toastId:e})},DT);Xu.set(e,t)},IT=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,LT)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Sm(n):e.toasts.forEach(r=>{Sm(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Ia=[];let Ba={toasts:[]};function $o(e){Ba=IT(Ba,e),Ia.forEach(t=>{t(Ba)})}function BT({...e}){const t=OT(),n=i=>$o({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>$o({type:"DISMISS_TOAST",toastId:t});return $o({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function HT(){const[e,t]=b.useState(Ba);return b.useEffect(()=>(Ia.push(t),()=>{const n=Ia.indexOf(t);n>-1&&Ia.splice(n,1)}),[e]),{...e,toast:BT,dismiss:n=>$o({type:"DISMISS_TOAST",toastId:n})}}function Pe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Tm(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Z0(...e){return t=>{let n=!1;const r=e.map(i=>{const o=Tm(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():Tm(e[i],null)}}}}function Wt(...e){return b.useCallback(Z0(...e),e)}function Xl(e,t=[]){let n=[];function r(o,s){const a=b.createContext(s),l=n.length;n=[...n,s];const u=d=>{var g;const{scope:h,children:f,...w}=d,y=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,x=b.useMemo(()=>w,Object.values(w));return p.jsx(y.Provider,{value:x,children:f})};u.displayName=o+"Provider";function c(d,h){var y;const f=((y=h==null?void 0:h[e])==null?void 0:y[l])||a,w=b.useContext(f);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(s=>b.createContext(s));return function(a){const l=(a==null?void 0:a[e])||o;return b.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,VT(i,...t)]}function VT(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...a,...d}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function wd(e){const t=_T(e),n=b.forwardRef((r,i)=>{const{children:o,...s}=r,a=b.Children.toArray(o),l=a.find(zT);if(l){const u=l.props.children,c=a.map(d=>d===l?b.Children.count(u)>1?b.Children.only(null):b.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...s,ref:i,children:b.isValidElement(u)?b.cloneElement(u,void 0,c):null})}return p.jsx(t,{...s,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function _T(e){const t=b.forwardRef((n,r)=>{const{children:i,...o}=n;if(b.isValidElement(i)){const s=UT(i),a=$T(o,i.props);return i.type!==b.Fragment&&(a.ref=r?Z0(r,s):s),b.cloneElement(i,a)}return b.Children.count(i)>1?b.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ew=Symbol("radix.slottable");function WT(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=ew,t}function zT(e){return b.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ew}function $T(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...a)=>{const l=o(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}
vendor: 9,308 bytes, line 40
40:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function UT(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function GT(e){const t=e+"CollectionProvider",[n,r]=Xl(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:x,children:g}=y,m=j.useRef(null),v=j.useRef(new Map).current;return p.jsx(i,{scope:x,itemMap:v,collectionRef:m,children:g})};s.displayName=t;const a=e+"CollectionSlot",l=wd(a),u=j.forwardRef((y,x)=>{const{scope:g,children:m}=y,v=o(a,g),k=Wt(x,v.collectionRef);return p.jsx(l,{ref:k,children:m})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",h=wd(c),f=j.forwardRef((y,x)=>{const{scope:g,children:m,...v}=y,k=j.useRef(null),S=Wt(x,k),T=o(c,g);return j.useEffect(()=>(T.itemMap.set(k,{ref:k,...v}),()=>void T.itemMap.delete(k))),p.jsx(h,{[d]:"",ref:S,children:m})});f.displayName=c;function w(y){const x=o(e+"CollectionConsumer",y);return j.useCallback(()=>{const m=x.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((T,C)=>v.indexOf(T.ref.current)-v.indexOf(C.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:f},w,r]}var KT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],it=KT.reduce((e,t)=>{const n=wd(`Primitive.${t}`),r=b.forwardRef((i,o)=>{const{asChild:s,...a}=i,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function tw(e,t){e&&Ms.flushSync(()=>e.dispatchEvent(t))}function sr(e){const t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function qT(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e);b.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var YT="DismissableLayer",xd="dismissableLayer.update",QT="dismissableLayer.pointerDownOutside",XT="dismissableLayer.focusOutside",Cm,nw=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),rf=b.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:s,onDismiss:a,...l}=e,u=b.useContext(nw),[c,d]=b.useState(null),h=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=b.useState({}),w=Wt(t,C=>d(C)),y=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=y.indexOf(x),m=c?y.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,k=m>=g,S=ZT(C=>{const P=C.target,M=[...u.branches].some(N=>N.contains(P));!k||M||(i==null||i(C),s==null||s(C),C.defaultPrevented||a==null||a())},h),T=eC(C=>{const P=C.target;[...u.branches].some(N=>N.contains(P))||(o==null||o(C),s==null||s(C),C.defaultPrevented||a==null||a())},h);return qT(C=>{m===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&a&&(C.preventDefault(),a()))},h),b.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Cm=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Pm(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Cm)}},[c,h,n,u]),b.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Pm())},[c,u]),b.useEffect(()=>{const C=()=>f({});return document.addEventListener(xd,C),()=>document.removeEventListener(xd,C)},[]),p.jsx(it.div,{...l,ref:w,style:{pointerEvents:v?k?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,S.onPointerDownCapture)})});rf.displayName=YT;var JT="DismissableLayerBranch",rw=b.forwardRef((e,t)=>{const n=b.useContext(nw),r=b.useRef(null),i=Wt(t,r);return b.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),p.jsx(it.div,{...e,ref:i})});rw.displayName=JT;function ZT(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=b.useRef(!1),i=b.useRef(()=>{});return b.useEffect(()=>{const o=a=>{if(a.target&&!r.current){let l=function(){iw(QT,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function eC(e,t=globalThis==null?void 0:globalThis.document){const n=sr(e),r=b.useRef(!1);return b.useEffect(()=>{const i=o=>{o.target&&!r.current&&iw(XT,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Pm(){const e=new CustomEvent(xd);document.dispatchEvent(e)}function iw(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?tw(i,o):i.dispatchEvent(o)}var tC=rf,nC=rw,ar=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},rC="Portal",ow=b.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,o]=b.useState(!1);ar(()=>o(!0),[]);const s=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?$0.createPortal(p.jsx(it.div,{...r,ref:t}),s):null});ow.displayName=rC;function iC(e,t){return b.useReducer((n,r)=>t[n][r]??n,e)}var of=e=>{const{present:t,children:n}=e,r=oC(t),i=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),o=Wt(r.ref,sC(i));return typeof n=="function"||r.isPresent?b.cloneElement(i,{ref:o}):null};of.displayName="Presence";function oC(e){const[t,n]=b.useState(),r=b.useRef(null),i=b.useRef(e),o=b.useRef("none"),s=e?"mounted":"unmounted",[a,l]=iC(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const u=sa(r.current);o.current=a==="mounted"?u:"none"},[a]),ar(()=>{const u=r.current,c=i.current;if(c!==e){const h=o.current,f=sa(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&h!==f?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),ar(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const y=sa(r.current).includes(f.animationName);if(f.target===t&&y&&(l("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},h=f=>{f.target===t&&(o.current=sa(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:b.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function sa(e){return(e==null?void 0:e.animationName)||"none"}function sC(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var aC=_y[" useInsertionEffect ".trim().toString()]||ar;function lC({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,s]=uC({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=b.useRef(e!==void 0);b.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=b.useCallback(c=>{var d;if(a){const h=cC(c)?c(e):c;h!==e&&((d=s.current)==null||d.call(s,h))}else o(c)},[a,e,o,s]);return[l,u]}function uC({defaultProp:e,onChange:t}){const[n,r]=b.useState(e),i=b.useRef(n),o=b.useRef(t);return aC(()=>{o.current=t},[t]),b.useEffect(()=>{var s;i.current!==n&&((s=o.current)==null||s.call(o,n),i.current=n)},[n,i]),[n,r,o]}function cC(e){return typeof e=="function"}var dC=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),hC="VisuallyHidden",Jl=b.forwardRef((e,t)=>
40p.jsx(it.span,{...e,ref:t,style:{...dC,...e.style}}));Jl.displayName=hC;var fC=Jl,sf="ToastProvider",[af,pC,mC]=GT("Toast"),[sw,xD]=Xl("Toast",[mC]),[gC,Zl]=sw(sf),aw=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:s}=e,[a,l]=b.useState(null),[u,c]=b.useState(0),d=b.useRef(!1),h=b.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${sf}\`. Expected non-empty \`string\`.`),p.jsx(af.Provider,{scope:t,children:p.jsx(gC,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:b.useCallback(()=>c(f=>f+1),[]),onToastRemove:b.useCallback(()=>c(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:s})})};aw.displayName=sf;var lw="ToastViewport",yC=["F8"],bd="toast.viewportPause",kd="toast.viewportResume",uw=b.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=yC,label:i="Notifications ({hotkey})",...o}=e,s=Zl(lw,n),a=pC(n),l=b.useRef(null),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),h=Wt(t,d,s.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;b.useEffect(()=>{const x=g=>{var v;r.length!==0&&r.every(k=>g[k]||g.code===k)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),b.useEffect(()=>{const x=l.current,g=d.current;if(w&&x&&g){const m=()=>{if(!s.isClosePausedRef.current){const T=new CustomEvent(bd);g.dispatchEvent(T),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const T=new CustomEvent(kd);g.dispatchEvent(T),s.isClosePausedRef.current=!1}},k=T=>{!x.contains(T.relatedTarget)&&v()},S=()=>{x.contains(document.activeElement)||v()};return x.addEventListener("focusin",m),x.addEventListener("focusout",k),x.addEventListener("pointermove",m),x.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{x.removeEventListener("focusin",m),x.removeEventListener("focusout",k),x.removeEventListener("pointermove",m),x.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[w,s.isClosePausedRef]);const y=b.useCallback(({tabbingDirection:x})=>{const m=a().map(v=>{const k=v.ref.current,S=[k,...AC(k)];return x==="forwards"?S:S.reverse()});return(x==="forwards"?m.reverse():m).flat()},[a]);return b.useEffect(()=>{const x=d.current;if(x){const g=m=>{var S,T,C;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const P=document.activeElement,M=m.shiftKey;if(m.target===x&&M){(S=u.current)==null||S.focus();return}const D=y({tabbingDirection:M?"backwards":"forwards"}),z=D.findIndex(L=>L===P);Ju(D.slice(z+1))?m.preventDefault():M?(T=u.current)==null||T.focus():(C=c.current)==null||C.focus()}};return x.addEventListener("keydown",g),()=>x.removeEventListener("keydown",g)}},[a,y]),p.jsxs(nC,{ref:l,role:"region","aria-label":i.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&p.jsx(Sd,{ref:u,onFocusFromOutsideViewport:()=>{const x=y({tabbingDirection:"forwards"});Ju(x)}}),p.jsx(af.Slot,{scope:n,children:p.jsx(it.ol,{tabIndex:-1,...o,ref:h})}),w&&p.jsx(Sd,{ref:c,onFocusFromOutsideViewport:()=>{const x=y({tabbingDirection:"backwards"});Ju(x)}})]})});uw.displayName=lw;var cw="ToastFocusProxy",Sd=b.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=Zl(cw,n);return p.jsx(Jl,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=o.viewport)!=null&&u.contains(a))&&r()}})});Sd.displayName=cw;var js="Toast",vC="toast.swipeStart",wC="toast.swipeMove",xC="toast.swipeCancel",bC="toast.swipeEnd",dw=b.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...s}=e,[a,l]=lC({prop:r,defaultProp:i??!0,onChange:o,caller:js});return p.jsx(of,{present:n||a,children:p.jsx(TC,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:sr(e.onPause),onResume:sr(e.onResume),onSwipeStart:Pe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Pe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Pe(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});dw.displayName=js;var[kC,SC]=sw(js,{onClose(){}}),TC=b.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:f,...w}=e,y=Zl(js,n),[x,g]=b.useState(null),m=Wt(t,L=>g(L)),v=b.useRef(null),k=b.useRef(null),S=i||y.duration,T=b.useRef(0),C=b.useRef(S),P=b.useRef(0),{onToastAdd:M,onToastRemove:N}=y,I=sr(()=>{var $;(x==null?void 0:x.contains(document.activeElement))&&(($=y.viewport)==null||$.focus()),s()}),D=b.useCallback(L=>{!L||L===1/0||(window.clearTimeout(P.current),T.current=new Date().getTime(),P.current=window.setTimeout(I,L))},[I]);b.useEffect(()=>{const L=y.viewport;if(L){const $=()=>{D(C.current),u==null||u()},V=()=>{const K=new Date().getTime()-T.current;C.current=C.current-K,window.clearTimeout(P.current),l==null||l()};return L.addEventListener(bd,V),L.addEventListener(kd,$),()=>{L.removeEventListener(bd,V),L.removeEventListener(kd,$)}}},[y.viewport,S,l,u,D]),b.useEffect(()=>{o&&!y.isClosePausedRef.current&&D(S)},[o,S,y.isClosePausedRef,D]),b.useEffect(()=>(M(),()=>N()),[M,N]);const z=b.useMemo(()=>x?vw(x):null,[x]);return y.viewport?p.jsxs(p.Fragment,{children:[z&&p.jsx(CC,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:z}),p.jsx(kC,{scope:n,onClose:I,children:Ms.createPortal(p.jsx(af.ItemSlot,{scope:n,children:p.jsx(tC,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{y.isFocusedToastEscapeKeyDownRef.current||I(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(it.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":y.swipeDirection,...w,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:Pe(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:Pe(e.onPointerMove,L=>{if(!v.current)return;const $=L.clientX-v.current.x,V=L.clientY-v.current.y,K=!!k.current,E=["left","right"].includes(y.swipeDirection),R=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,O=E?R(0,$):0,W=E?0:R(0,V),_=L.pointerType==="touch"?10:2,Q={x:O,y:W},J={originalEvent:L,delta:Q};K?(k.current=Q,aa(wC,d,J,{discrete:!1})):Em(Q,y.swipeDirection,_)?(k.current=Q,aa(vC,c,J,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs($)>_||Math.abs(V)>_)&&(v.current=null)}),onPointerUp:Pe(e.onPointerUp,L=>{const $=k.current,V=L.target;if(V.hasPointerCapture(L.pointerId)&&V.releasePointerCapture(L.pointerId),k.current=null,v.current=null,$){const K=L.currentTarget,E={originalEvent:L,delta:$};Em($,y.swipeDirection,y.swipeThreshold)?aa(bC,f,E,{discrete:!0}):aa(xC,h,E,{discrete:!0}),K.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),CC=e=>{const{__scopeToast:t,children:n,...r}=e,i=Zl(js,t),[o,s]=b.useState(!1),[a,l]=b.useState(!1);return NC(()=>s(!0)),b.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(ow,{asChild:!0,children:p.jsx(Jl,{...r,children:o&&p.jsxs(p.Fragment,{children:[i.label," ",n]})})})},PC="ToastTitle",hw=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(it.div,{...r,ref:t})});hw.displayName=PC;var EC="ToastDescription",fw=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(it.div,{...r,ref:t})});fw.displayName=EC;var pw="ToastAction",mw=b.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(yw,{altText:n,asChild:!0,children:p.jsx(lf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${pw}\`. Expected non-empty \`string\`.`),null)});mw.displayName=pw;var gw="ToastClose",lf=b.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=SC(gw,n);return p.jsx(yw,{asChild:!0,children:p.jsx(it.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,i.onClose)})})});lf.displayName=gw;var yw=b.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return p.jsx(it.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function vw(e){const t=[];
vendor: 6,163 bytes, lines 40-90
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),RC(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...vw(r))}}),t}function aa(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?tw(i,o):i.dispatchEvent(o)}var Em=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function NC(e=()=>{}){const t=sr(e);ar(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function RC(e){return e.nodeType===e.ELEMENT_NODE}function AC(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ju(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var MC=aw,ww=uw,xw=dw,bw=hw,kw=fw,Sw=mw,Tw=lf;function Cw(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Cw(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pw(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Cw(e))&&(r&&(r+=" "),r+=t);return r}const Nm=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Rm=Pw,jC=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Rm(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const h=Nm(c)||Nm(d);return i[u][h]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,h]=c;return h===void 0||(u[d]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:h,...f}=c;return Object.entries(f).every(w=>{let[y,x]=w;return Array.isArray(x)?x.includes({...o,...a}[y]):{...o,...a}[y]===x})?[...u,d,h]:u},[]);return Rm(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/** 41 * @license lucide-react v0.462.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const FC=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ew=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 46 * @license lucide-react v0.462.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var LC={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.462.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const DC=b.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:s,...a},l)=>b.createElement("svg",{ref:l,...LC,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ew("lucide",i),...a},[...s.map(([u,c])=>b.createElement(u,c)),...Array.isArray(o)?o:[o]]));/** 56 * @license lucide-react v0.462.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const Se=(e,t)=>{const n=b.forwardRef(({className:r,...i},o)=>b.createElement(DC,{ref:o,iconNode:t,className:Ew(`lucide-${FC(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 61 * @license lucide-react v0.462.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const OC=Se("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** 66 * @license lucide-react v0.462.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const la=Se("Bath",[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]]);/** 71 * @license lucide-react v0.462.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const ua=Se("Bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);/** 76 * @license lucide-react v0.462.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const IC=Se("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 81 * @license lucide-react v0.462.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const BC=Se("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 86 * @license lucide-react v0.462.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const Am=Se("Flower2",[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}
90],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]]);/** 91 * @license lucide-react v0.462.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const HC=Se("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 96 * @license lucide-react v0.462.0 - ISC 97 * 98 * This source code is licensed under the ISC license. 99 * See the LICENSE file in the root directory of this source tree. 100 */const VC=Se("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 101 * @license lucide-react v0.462.0 - ISC 102 * 103 * This source code is licensed under the ISC license. 104 * See the LICENSE file in the root directory of this source tree. 105 */const _C=Se("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/** 106 * @license lucide-react v0.462.0 - ISC 107 * 108 * This source code is licensed under the ISC license. 109 * See the LICENSE file in the root directory of this source tree. 110 */const WC=Se("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 111 * @license lucide-react v0.462.0 - ISC 112 * 113 * This source code is licensed under the ISC license. 114 * See the LICENSE file in the root directory of this source tree. 115 */const Nw=Se("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** 116 * @license lucide-react v0.462.0 - ISC 117 * 118 * This source code is licensed under the ISC license. 119 * See the LICENSE file in the root directory of this source tree. 120 */const zC=Se("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 121 * @license lucide-react v0.462.0 - ISC 122 * 123 * This source code is licensed under the ISC license. 124 * See the LICENSE file in the root directory of this source tree. 125 */const Fo=Se("Mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]]);/** 126 * @license lucide-react v0.462.0 - ISC 127 * 128 * This source code is licensed under the ISC license. 129 * See the LICENSE file in the root directory of this source tree. 130 */const ca=Se("PawPrint",[["circle",{cx:"11",cy:"4",r:"2",key:"vol9p0"}],["circle",{cx:"18",cy:"8",r:"2",key:"17gozi"}],["circle",{cx:"20",cy:"16",r:"2",key:"1v9bxh"}],["path",{d:"M9 10a5 5 0 0 1 5 5v3.5a3.5 3.5 0 0 1-6.84 1.045Q6.52 17.48 4.46 16.84A3.5 3.5 0 0 1 5.5 10Z",key:"1ydw1z"}]]);/** 131 * @license lucide-react v0.462.0 - ISC 132 * 133 * This source code is licensed under the ISC license. 134 * See the LICENSE file in the root directory of this source tree. 135 */const $C=Se("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 136 * @license lucide-react v0.462.0 - ISC 137 * 138 * This source code is licensed under the ISC license. 139 * See the LICENSE file in the root directory of this source tree. 140 */const da=Se("Tv",[["rect",{width:"20",height:"15",x:"2",y:"7",rx:"2",ry:"2",key:"10ag99"}],["polyline",{points:"17 2 12 7 7 2",key:"11pgbg"}]]);/** 141 * @license lucide-react v0.462.0 - ISC 142 * 143 * This source code is licensed under the ISC license. 144 * See the LICENSE file in the root directory of this source tree. 145 */const UC=Se("Waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]]);/** 146 * @license lucide-react v0.462.0 - ISC 147 * 148 * This source code is licensed under the ISC license. 149 * See the LICENSE file in the root directory of this source tree. 150 */const ha=Se("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}
vendor: 6,114 bytes, lines 150-160
150],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/** 151 * @license lucide-react v0.462.0 - ISC 152 * 153 * This source code is licensed under the ISC license. 154 * See the LICENSE file in the root directory of this source tree. 155 */const fa=Se("Wind",[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]]);/** 156 * @license lucide-react v0.462.0 - ISC 157 * 158 * This source code is licensed under the ISC license. 159 * See the LICENSE file in the root directory of this source tree. 160 */const Rw=Se("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),uf="-",GC=e=>{const t=qC(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(uf);return a[0]===""&&a.length!==1&&a.shift(),Aw(a,t)||KC(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},Aw=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Aw(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(uf);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId},Mm=/^\[(.+)\]$/,KC=e=>{if(Mm.test(e)){const t=Mm.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},qC=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return QC(Object.entries(e.classGroups),n).forEach(([o,s])=>{Td(s,r,o,t)}),r},Td=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:jm(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(YC(i)){Td(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Td(s,jm(t,o),n,r)})})},jm=(e,t)=>{let n=e;return t.split(uf).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},YC=e=>e.isThemeGetter,QC=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e,XC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,s)=>{n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}},Mw="!",JC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let g=a[x];if(u===0){if(g===i&&(r||a.slice(x,x+o)===t)){l.push(a.slice(c,x)),c=x+o;continue}if(g==="/"){d=x;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(c),f=h.startsWith(Mw),w=f?h.substring(1):h,y=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:w,maybePostfixModifierPosition:y}};return n?a=>n({className:a,parseClassName:s}):s},ZC=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},eP=e=>({cache:XC(e.cacheSize),parseClassName:JC(e),...GC(e)}),tP=/\s+/,nP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(tP);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:f}=n(u);let w=!!f,y=r(w?h.substring(0,f):h);if(!y){if(!w){a=u+(a.length>0?" "+a:a);continue}if(y=r(h),!y){a=u+(a.length>0?" "+a:a);continue}w=!1}const x=ZC(c).join(":"),g=d?x+Mw:x,m=g+y;if(o.includes(m))continue;o.push(m);const v=i(y,w);for(let k=0;k<v.length;++k){const S=v[k];o.push(g+S)}a=u+(a.length>0?" "+a:a)}return a};function rP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=jw(t))&&(r&&(r+=" "),r+=n);return r}const jw=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=jw(e[r]))&&(n&&(n+=" "),n+=t);return n};function iP(e,...t){let n,r,i,o=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=eP(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=nP(l,n);return i(l,c),c}return function(){return o(rP.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Fw=/^\[(?:([a-z-]+):)?(.+)\]$/i,oP=/^\d+\/\d+$/,sP=new Set(["px","full","screen"]),aP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lP=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,uP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,cP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,dP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>ji(e)||sP.has(e)||oP.test(e),Mn=e=>ro(e,"length",wP),ji=e=>!!e&&!Number.isNaN(Number(e)),Zu=e=>ro(e,"number",ji),Co=e=>!!e&&Number.isInteger(Number(e)),hP=e=>e.endsWith("%")&&ji(e.slice(0,-1)),q=e=>Fw.test(e),jn=e=>aP.test(e),fP=new Set(["length","size","percentage"]),pP=e=>ro(e,fP,Lw),mP=e=>ro(e,"position",Lw),gP=new Set(["image","url"]),yP=e=>ro(e,gP,bP),vP=e=>ro(e,"",xP),Po=()=>!0,ro=(e,t,n)=>{const r=Fw.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},wP=e=>lP.test(e)&&!uP.test(e),Lw=()=>!1,xP=e=>cP.test(e),bP=e=>dP.test(e),kP=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),i=se("borderColor"),o=se("borderRadius"),s=se("borderSpacing"),a=se("borderWidth"),l=se("contrast"),u=se("grayscale"),c=se("hueRotate"),d=se("invert"),h=se("gap"),f=se("gradientColorStops"),w=se("gradientColorStopPositions"),y=se("inset"),x=se("margin"),g=se("opacity"),m=se("padding"),v=se("saturate"),k=se("scale"),S=se("sepia"),T=se("skew"),C=se("space"),P=se("translate"),M=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",q,t],D=()=>[q,t],z=()=>["",an,Mn],L=()=>["auto",ji,q],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],
vendor: 12,034 bytes, line 160
160V=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],E=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",q],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[ji,q];return{cacheSize:500,separator:":",theme:{colors:[Po],spacing:[an,Mn],blur:["none","",jn,q],brightness:W(),borderColor:[e],borderRadius:["none","","full",jn,q],borderSpacing:D(),borderWidth:z(),contrast:W(),grayscale:R(),hueRotate:W(),invert:R(),gap:D(),gradientColorStops:[e],gradientColorStopPositions:[hP,Mn],inset:I(),margin:I(),opacity:W(),padding:D(),saturate:W(),scale:W(),sepia:R(),skew:W(),space:D(),translate:D()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[jn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...$(),q]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Co,q]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Co,q]}],"grid-cols":[{"grid-cols":[Po]}],"col-start-end":[{col:["auto",{span:["full",Co,q]},q]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Po]}],"row-start-end":[{row:["auto",{span:[Co,q]},q]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...E()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...E(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...E(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,t]}],"min-w":[{"min-w":[q,t,"min","max","fit"]}],"max-w":[{"max-w":[q,t,"none","full","min","max","fit","prose",{screen:[jn]},jn]}],h:[{h:[q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",jn,Mn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Zu]}],"font-family":[{font:[Po]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",q]}],"line-clamp":[{"line-clamp":["none",ji,Zu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...V(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,Mn]}],"underline-offset":[{"underline-offset":["auto",an,q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),mP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",pP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},yP]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...V(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:V()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...V()]}],"outline-offset":[{"outline-offset":[an,q]}],"outline-w":[{outline:[an,Mn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[an,Mn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",jn,vP]}],"shadow-color":[{shadow:[Po]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",jn,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",q]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Co,q]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[T]}],"skew-y":[{"skew-y":[T]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 160
160],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,Mn,Zu]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},SP=iP(kP);function Xr(...e){return SP(Pw(e))}const TP=MC,Dw=b.forwardRef(({className:e,...t},n)=>p.jsx(ww,{ref:n,className:Xr("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Dw.displayName=ww.displayName;const CP=jC("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Ow=b.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(xw,{ref:r,className:Xr(CP({variant:t}),e),...n}));Ow.displayName=xw.displayName;const PP=b.forwardRef(({className:e,...t},n)=>p.jsx(Sw,{ref:n,className:Xr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));PP.displayName=Sw.displayName;const Iw=b.forwardRef(({className:e,...t},n)=>p.jsx(Tw,{ref:n,className:Xr("absolute right-2 top-2 rounded-md p-1 text-foreground
160/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:p.jsx(Rw,{className:"h-4 w-4"})}));Iw.displayName=Tw.displayName;const Bw=b.forwardRef(({className:e,...t},n)=>p.jsx(bw,{ref:n,className:Xr("text-sm font-semibold",e),...t}));Bw.displayName=bw.displayName;const Hw=b.forwardRef(({className:e,...t},n)=>p.jsx(kw,{ref:n,className:Xr("text-sm opacity-90",e),...t}));Hw.displayName=kw.displayName;function EP(){const{toasts:e}=HT();return p.jsxs(TP,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return p.jsxs(Ow,{...o,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(Bw,{children:n}),r&&p.jsx(Hw,{children:r})]}),i,p.jsx(Iw,{})]},t)}),p.jsx(Dw,{})]})}var Fm=["light","dark"],NP="(prefers-color-scheme: dark)",RP=b.createContext(void 0),AP={setTheme:e=>{},themes:[]},MP=()=>{var e;return(e=b.useContext(RP))!=null?e:AP};b.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:s,attrs:a,nonce:l})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?Fm.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(w,y=!1,x=!0)=>{let g=s?s[w]:w,m=y?w+"|| ''":`'${g}'`,v="";return i&&x&&!y&&Fm.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?y||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},f=e?`!function(){${c}${h(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${NP}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${u?"":"else{"+h(o,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(o,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var jP=e=>{switch(e){case"success":return DP;case"info":return IP;case"warning":return OP;case"error":return BP;default:return null}},FP=Array(12).fill(0),LP=({visible:e,className:t})=>j.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},j.createElement("div",{className:"sonner-spinner"},FP.map((n,r)=>j.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),DP=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),OP=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),IP=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),BP=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},j.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),HP=j.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},j.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),j.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),VP=()=>{let[e,t]=j.useState(document.hidden);return j.useEffect(()=>{let n=()=>{t(document.hidden)};
160return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Cd=1,_P=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Cd++,o=this.toasts.find(a=>a.id===i),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
160this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,o,s=r.then(async l=>{if(o=["resolve",l],j.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(zP(l)&&!l.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(o=["reject",l],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>o[0]==="reject"?u(o[1]):l(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Cd++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Qe=new _P,WP=(e,t)=>{let n=(t==null?void 0:t.id)||Cd++;return Qe.addToast({title:e,...t,id:n}),n},zP=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",$P=WP,UP=()=>Qe.toasts,GP=()=>Qe.getActiveToasts();Object.assign($P,{success:Qe.success,info:Qe.info,warning:Qe.warning,error:Qe.error,custom:Qe.custom,message:Qe.message,promise:Qe.promise,dismiss:Qe.dismiss,loading:Qe.loading},{getHistory:UP,getToasts:GP});function KP(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}KP(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
160left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
160:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
160--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 161`);function pa(e){return e.label!==void 0}var qP=3,YP="32px",QP="16px",Lm=4e3,XP=356,JP=14,ZP=20,eE=200;function Nt(...e){return e.filter(Boolean).join(" ")}function tE(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var nE=e=>{var t,n,r,i,o,s,a,l,u,c,d;let{invert:h,toast:f,unstyled:w,interacting:y,setHeights:x,visibleToasts:g,heights:m,index:v,toasts:k,expanded:S,removeToast:T,defaultRichColors:C,closeButton:P,style:M,cancelButtonStyle:N,actionButtonStyle:I,className:D="",descriptionClassName:z="",duration:L,position:$,gap:V,loadingIcon:K,expandByDefault:E,classNames:R,icons:O,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:_}=e,[Q,J]=j.useState(null),[xe,De]=j.useState(null),[te,ei]=j.useState(!1),[Tn,wr]=j.useState(!1),[Cn,ti]=j.useState(!1),[Pn,Bs]=j.useState(!1),[mu,Hs]=j.useState(!1),[gu,fo]=j.useState(0),[ni,ep]=j.useState(0),po=j.useRef(f.duration||L||Lm),tp=j.useRef(null),xr=j.useRef(null),kb=v===0,Sb=v+1<=g,ft=f.type,ri=f.dismissible!==!1,Tb=f.className||"",Cb=f.descriptionClassName||"",Vs=j.useMemo(()=>m.findIndex(U=>U.toastId===f.id)||0,[m,f.id]),Pb=j.useMemo(()=>{var U;return(U=f.closeButton)!=null?U:P},[f.closeButton,P]),np=j.useMemo(()=>f.duration||L||Lm,[f.duration,L]),yu=j.useRef(0),ii=j.useRef(0),rp=j.useRef(0),oi=j.useRef(null),[Eb,Nb]=$.split("-"),ip=j.useMemo(()=>m.reduce((U,re,ce)=>ce>=Vs?U:U+re.height,0),[m,Vs]),op=VP(),Rb=f.invert||h,vu=ft==="loading";ii.current=j.useMemo(()=>Vs*V+ip,[Vs,ip]),j.useEffect(()=>{po.current=np},[np]),j.useEffect(()=>{ei(!0)},[]),j.useEffect(()=>{let U=xr.current;if(U){let re=U.getBoundingClientRect().height;return ep(re),x(ce=>[{toastId:f.id,height:re,position:f.position},...ce]),()=>x(ce=>ce.filter(Tt=>Tt.toastId!==f.id))}},[x,f.id]),j.useLayoutEffect(()=>{if(!te)return;let U=xr.current,re=U.style.height;U.style.height="auto";let ce=U.getBoundingClientRect().height;U.style.height=re,ep(ce),x(Tt=>Tt.find(Ct=>Ct.toastId===f.id)?Tt.map(Ct=>Ct.toastId===f.id?{...Ct,height:ce}:Ct):[{toastId:f.id,height:ce,position:f.position},...Tt])},[te,f.title,f.description,x,f.id]);let En=j.useCallback(()=>{wr(!0),fo(ii.current),x(U=>U.filter(re=>re.toastId!==f.id)),setTimeout(()=>{T(f)},eE)},[f,T,x,ii]);j.useEffect(()=>{if(f.promise&&ft==="loading"||f.duration===1/0||f.type==="loading")return;let U;return S||y||_&&op?(()=>{if(rp.current<yu.current){let re=new Date().getTime()-yu.current;po.current=po.current-re}
161rp.current=new Date().getTime()})():po.current!==1/0&&(yu.current=new Date().getTime(),U=setTimeout(()=>{var re;(re=f.onAutoClose)==null||re.call(f,f),En()},po.current)),()=>clearTimeout(U)},[S,y,f,ft,_,op,En]),j.useEffect(()=>{f.delete&&En()},[En,f.delete]);function Ab(){var U,re,ce;return O!=null&&O.loading?j.createElement("div",{className:Nt(R==null?void 0:R.loader,(U=f==null?void 0:f.classNames)==null?void 0:U.loader,"sonner-loader"),"data-visible":ft==="loading"},O.loading):K?j.createElement("div",{className:Nt(R==null?void 0:R.loader,(re=f==null?void 0:f.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":ft==="loading"},K):j.createElement(LP,{className:Nt(R==null?void 0:R.loader,(ce=f==null?void 0:f.classNames)==null?void 0:ce.loader),visible:ft==="loading"})}return j.createElement("li",{tabIndex:0,ref:xr,className:Nt(D,Tb,R==null?void 0:R.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[ft],(n=f==null?void 0:f.classNames)==null?void 0:n[ft]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:C,"data-styled":!(f.jsx||f.unstyled||w),"data-mounted":te,"data-promise":!!f.promise,"data-swiped":mu,"data-removed":Tn,"data-visible":Sb,"data-y-position":Eb,"data-x-position":Nb,"data-index":v,"data-front":kb,"data-swiping":Cn,"data-dismissible":ri,"data-type":ft,"data-invert":Rb,"data-swipe-out":Pn,"data-swipe-direction":xe,"data-expanded":!!(S||E&&te),style:{"--index":v,"--toasts-before":v,"--z-index":k.length-v,"--offset":`${Tn?gu:ii.current}px`,"--initial-height":E?"auto":`${ni}px`,...M,...f.style},onDragEnd:()=>{ti(!1),J(null),oi.current=null},onPointerDown:U=>{vu||!ri||(tp.current=new Date,fo(ii.current),U.target.setPointerCapture(U.pointerId),U.target.tagName!=="BUTTON"&&(ti(!0),oi.current={x:U.clientX,y:U.clientY}))},onPointerUp:()=>{var U,re,ce,Tt;if(Pn||!ri)return;oi.current=null;let Ct=Number(((U=xr.current)==null?void 0:U.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Nn=Number(((re=xr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),br=new Date().getTime()-((ce=tp.current)==null?void 0:ce.getTime()),Pt=Q==="x"?Ct:Nn,Rn=Math.abs(Pt)/br;if(Math.abs(Pt)>=ZP||Rn>.11){fo(ii.current),(Tt=f.onDismiss)==null||Tt.call(f,f),De(Q==="x"?Ct>0?"right":"left":Nn>0?"down":"up"),En(),Bs(!0),Hs(!1);return}ti(!1),J(null)},onPointerMove:U=>{var re,ce,Tt,Ct;if(!oi.current||!ri||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let Nn=U.clientY-oi.current.y,br=U.clientX-oi.current.x,Pt=(ce=e.swipeDirections)!=null?ce:tE($);!Q&&(Math.abs(br)>1||Math.abs(Nn)>1)&&J(Math.abs(br)>Math.abs(Nn)?"x":"y");let Rn={x:0,y:0};Q==="y"?(Pt.includes("top")||Pt.includes("bottom"))&&(Pt.includes("top")&&Nn<0||Pt.includes("bottom")&&Nn>0)&&(Rn.y=Nn):Q==="x"&&(Pt.includes("left")||Pt.includes("right"))&&(Pt.includes("left")&&br<0||Pt.includes("right")&&br>0)&&(Rn.x=br),(Math.abs(Rn.x)>0||Math.abs(Rn.y)>0)&&Hs(!0),(Tt=xr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${Rn.x}px`),(Ct=xr.current)==null||Ct.style.setProperty("--swipe-amount-y",`${Rn.y}px`)}},Pb&&!f.jsx?j.createElement("button",{"aria-label":W,"data-disabled":vu,"data-close-button":!0,onClick:vu||!ri?()=>{}:()=>{var U;En(),(U=f.onDismiss)==null||U.call(f,f)},className:Nt(R==null?void 0:R.closeButton,(i=f==null?void 0:f.classNames)==null?void 0:i.closeButton)},(o=O==null?void 0:O.close)!=null?o:HP):null,f.jsx||b.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:j.createElement(j.Fragment,null,ft||f.icon||f.promise?j.createElement("div",{"data-icon":"",className:Nt(R==null?void 0:R.icon,(s=f==null?void 0:f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||Ab():null,f.type!=="loading"?f.icon||(O==null?void 0:O[ft])||jP(ft):null):null,j.createElement("div",{"data-content":"",className:Nt(R==null?void 0:R.content,(a=f==null?void 0:f.classNames)==null?void 0:a.content)},j.createElement("div",{"data-title":"",className:Nt(R==null?void 0:R.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?j.createElement("div",{"data-description":"",className:Nt(z,Cb,R==null?void 0:R.description,(u=f==null?void 0:f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),b.isValidElement(f.cancel)?f.cancel:f.cancel&&pa(f.cancel)?j.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||N,onClick:U=>{var re,ce;pa(f.cancel)&&ri&&((ce=(re=f.cancel).onClick)==null||ce.call(re,U),En())},className:Nt(R==null?void 0:R.cancelButton,(c=f==null?void 0:f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,b.isValidElement(f.action)?f.action:f.action&&pa(f.action)?j.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||I,onClick:U=>{var re,ce;pa(f.action)&&((ce=(re=f.action).onClick)==null||ce.call(re,U),!U.defaultPrevented&&En())},className:Nt(R==null?void 0:R.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function Dm(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function rE(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,s=o?"--mobile-offset":"--offset",a=o?QP:YP;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var iE=b.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:h,style:f,visibleToasts:w=qP,toastOptions:y,dir:x=Dm(),gap:g=JP,loadingIcon:m,icons:v,containerAriaLabel:k="Notifications",pauseWhenPageIsHidden:S}=e,[T,C]=j.useState([]),P=j.useMemo(()=>Array.from(new Set([r].concat(T.filter(_=>_.position).map(_=>_.position)))),[T,r]),[M,N]=j.useState([]),[I,D]=j.useState(!1),[z,L]=j.useState(!1),[$,V]=j.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
161k":"light"),K=j.useRef(null),E=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=j.useRef(null),O=j.useRef(!1),W=j.useCallback(_=>{C(Q=>{var J;return(J=Q.find(xe=>xe.id===_.id))!=null&&J.delete||Qe.dismiss(_.id),Q.filter(({id:xe})=>xe!==_.id)})},[]);return j.useEffect(()=>Qe.subscribe(_=>{if(_.dismiss){C(Q=>Q.map(J=>J.id===_.id?{...J,delete:!0}:J));return}setTimeout(()=>{$0.flushSync(()=>{C(Q=>{let J=Q.findIndex(xe=>xe.id===_.id);return J!==-1?[...Q.slice(0,J),{...Q[J],..._},...Q.slice(J+1)]:[_,...Q]})})})}),[]),j.useEffect(()=>{if(c!=="system"){V(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?V("dark"):V("light")),typeof window>"u")return;let _=window.matchMedia("(prefers-color-scheme: dark)");try{_.addEventListener("change",({matches:Q})=>{V(Q?"dark":"light")})}catch{_.addListener(({matches:J})=>{try{V(J?"dark":"light")}catch(xe){console.error(xe)}})}},[c]),j.useEffect(()=>{T.length<=1&&D(!1)},[T]),j.useEffect(()=>{let _=Q=>{var J,xe;i.every(De=>Q[De]||Q.code===De)&&(D(!0),(J=K.current)==null||J.focus()),Q.code==="Escape"&&(document.activeElement===K.current||(xe=K.current)!=null&&xe.contains(document.activeElement))&&D(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[i]),j.useEffect(()=>{if(K.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,O.current=!1)}},[K.current]),j.createElement("section",{ref:t,"aria-label":`${k} ${E}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},P.map((_,Q)=>{var J;let[xe,De]=_.split("-");return T.length?j.createElement("ol",{key:_,dir:x==="auto"?Dm():x,tabIndex:-1,ref:K,className:a,"data-sonner-toaster":!0,"data-theme":$,"data-y-position":xe,"data-lifted":I&&T.length>1&&!o,"data-x-position":De,style:{"--front-toast-height":`${((J=M[0])==null?void 0:J.height)||0}px`,"--width":`${XP}px`,"--gap":`${g}px`,...f,...rE(l,u)},onBlur:te=>{O.current&&!te.currentTarget.contains(te.relatedTarget)&&(O.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O.current||(O.current=!0,R.current=te.relatedTarget)},onMouseEnter:()=>D(!0),onMouseMove:()=>D(!0),onMouseLeave:()=>{z||D(!1)},onDragEnd:()=>D(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},T.filter(te=>!te.position&&Q===0||te.position===_).map((te,ei)=>{var Tn,wr;return j.createElement(nE,{key:te.id,icons:v,index:ei,toast:te,defaultRichColors:d,duration:(Tn=y==null?void 0:y.duration)!=null?Tn:h,className:y==null?void 0:y.className,descriptionClassName:y==null?void 0:y.descriptionClassName,invert:n,visibleToasts:w,closeButton:(wr=y==null?void 0:y.closeButton)!=null?wr:s,interacting:z,position:_,style:y==null?void 0:y.style,unstyled:y==null?void 0:y.unstyled,classNames:y==null?void 0:y.classNames,cancelButtonStyle:y==null?void 0:y.cancelButtonStyle,actionButtonStyle:y==null?void 0:y.actionButtonStyle,removeToast:W,toasts:T.filter(Cn=>Cn.position==te.position),heights:M.filter(Cn=>Cn.position==te.position),setHeights:N,expandByDefault:o,gap:g,loadingIcon:m,expanded:I,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const oE=({...e})=>{const{theme:t="system"}=MP();return p.jsx(iE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},sE=["top","right","bottom","left"],lr=Math.min,st=Math.max,vl=Math.round,ma=Math.floor,ur=e=>({x:e,y:e}),aE={left:"right",right:"left",bottom:"top",top:"bottom"},lE={start:"end",end:"start"};function Pd(e,t,n){return st(e,lr(t,n))}function xn(e,t){return typeof e=="function"?e(t):e}function bn(e){return e.split("-")[0]}function io(e){return e.split("-")[1]}function cf(e){return e==="x"?"y":"x"}function df(e){return e==="y"?"height":"width"}function cr(e){return["top","bottom"].includes(bn(e))?"y":"x"}function hf(e){return cf(cr(e))}
vendor: 1,847 bytes, line 161
161function uE(e,t,n){n===void 0&&(n=!1);const r=io(e),i=hf(e),o=df(i);let s=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(s=wl(s)),[s,wl(s)]}function cE(e){const t=wl(e);return[Ed(e),t,Ed(t)]}function Ed(e){return e.replace(/start|end/g,t=>lE[t])}function dE(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:s;default:return[]}}function hE(e,t,n,r){const i=io(e);let o=dE(bn(e),n==="start",r);return i&&(o=o.map(s=>s+"-"+i),t&&(o=o.concat(o.map(Ed)))),o}function wl(e){return e.replace(/left|right|bottom|top/g,t=>aE[t])}function fE(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vw(e){return typeof e!="number"?fE(e):{top:e,right:e,bottom:e,left:e}}function xl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Om(e,t,n){let{reference:r,floating:i}=e;const o=cr(t),s=hf(t),a=df(s),l=bn(t),u=o==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,h=r[a]/2-i[a]/2;let f;switch(l){case"top":f={x:c,y:r.y-i.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-i.width,y:d};break;default:f={x:r.x,y:r.y}}switch(io(t)){case"start":f[s]-=h*(n&&u?-1:1);break;case"end":f[s]+=h*(n&&u?-1:1);break}return f}const pE=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:s}=n,a=o.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=Om(u,r,l),h=r,f={},w=0;for(let y=0;y<a.length;y++){const{name:x,fn:g}=a[y],{x:m,y:v,data:k,reset:S}=await g({x:c,y:d,initialPlacement:r,placement:h,strategy:i,middlewareData:f,re
vendor: 9,374 bytes, line 161
161cts:u,platform:s,elements:{reference:e,floating:t}});c=m??c,d=v??d,f={...f,[x]:{...f[x],...k}},S&&w<=50&&(w++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:c,y:d}=Om(u,h,l)),y=-1)}return{x:c,y:d,placement:h,strategy:i,middlewareData:f}};async function fs(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:h=!1,padding:f=0}=xn(t,e),w=Vw(f),x=a[h?d==="floating"?"reference":"floating":d],g=xl(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),m=d==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),k=await(o.isElement==null?void 0:o.isElement(v))?await(o.getScale==null?void 0:o.getScale(v))||{x:1,y:1}:{x:1,y:1},S=xl(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:v,strategy:l}):m);return{top:(g.top-S.top+w.top)/k.y,bottom:(S.bottom-g.bottom+w.bottom)/k.y,left:(g.left-S.left+w.left)/k.x,right:(S.right-g.right+w.right)/k.x}}const mE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=xn(e,t)||{};if(u==null)return{};const d=Vw(c),h={x:n,y:r},f=hf(i),w=df(f),y=await s.getDimensions(u),x=f==="y",g=x?"top":"left",m=x?"bottom":"right",v=x?"clientHeight":"clientWidth",k=o.reference[w]+o.reference[f]-h[f]-o.floating[w],S=h[f]-o.reference[f],T=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let C=T?T[v]:0;(!C||!await(s.isElement==null?void 0:s.isElement(T)))&&(C=a.floating[v]||o.floating[w]);const P=k/2-S/2,M=C/2-y[w]/2-1,N=lr(d[g],M),I=lr(d[m],M),D=N,z=C-y[w]-I,L=C/2-y[w]/2+P,$=Pd(D,L,z),V=!l.arrow&&io(i)!=null&&L!==$&&o.reference[w]/2-(L<D?N:I)-y[w]/2<0,K=V?L<D?L-D:L-z:0;return{[f]:h[f]+K,data:{[f]:$,centerOffset:L-$-K,...V&&{alignmentOffset:K}},reset:V}}}),gE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:y=!0,...x}=xn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const g=bn(i),m=cr(a),v=bn(a)===a,k=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=h||(v||!y?[wl(a)]:cE(a)),T=w!=="none";!h&&T&&S.push(...hE(a,y,w,k));const C=[a,...S],P=await fs(t,x),M=[];let N=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&M.push(P[g]),d){const L=uE(i,s,k);M.push(P[L[0]],P[L[1]])}if(N=[...N,{placement:i,overflows:M}],!M.every(L=>L<=0)){var I,D;const L=(((I=o.flip)==null?void 0:I.index)||0)+1,$=C[L];if($)return{data:{index:L,overflows:N},reset:{placement:$}};let V=(D=N.filter(K=>K.overflows[0]<=0).sort((K,E)=>K.overflows[1]-E.overflows[1])[0])==null?void 0:D.placement;if(!V)switch(f){case"bestFit":{var z;const K=(z=N.filter(E=>{if(T){const R=cr(E.placement);return R===m||R==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(R=>R>0).reduce((R,O)=>R+O,0)]).sort((E,R)=>E[1]-R[1])[0])==null?void 0:z[0];K&&(V=K);break}case"initialPlacement":V=a;break}if(i!==V)return{reset:{placement:V}}}return{}}}};function Im(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Bm(e){return sE.some(t=>e[t]>=0)}const yE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=xn(e,t);switch(r){case"referenceHidden":{const o=await fs(t,{...i,elementContext:"reference"}),s=Im(o,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Bm(s)}}}case"escaped":{const o=await fs(t,{...i,altBoundary:!0}),s=Im(o,n.floating);return{data:{escapedOffsets:s,escaped:Bm(s)}}}default:return{}}}}};async function vE(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=bn(n),a=io(n),l=cr(n)==="y",u=["left","top"].includes(s)?-1:1,c=o&&l?-1:1,d=xn(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof w=="number"&&(f=a==="end"?w*-1:w),l?{x:f*c,y:h*u}:{x:h*u,y:f*c}}const wE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:s,middlewareData:a}=t,l=await vE(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:o+l.y,data:{...l,placement:s}}}}},xE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:g,y:m}=x;return{x:g,y:m}}},...l}=xn(e,t),u={x:n,y:r},c=await fs(t,l),d=cr(bn(i)),h=cf(d);let f=u[h],w=u[d];if(o){const x=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=f+c[x],v=f-c[g];f=Pd(m,f,v)}if(s){const x=d==="y"?"top":"left",g=d==="y"?"bottom":"right",m=w+c[x],v=w-c[g];w=Pd(m,w,v)}const y=a.fn({...t,[h]:f,[d]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:o,[d]:s}}}}}},bE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=xn(e,t),c={x:n,y:r},d=cr(i),h=cf(d);let f=c[h],w=c[d];const y=xn(a,t),x=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(l){const v=h==="y"?"height":"width",k=o.reference[h]-o.floating[v]+x.mainAxis,S=o.reference[h]+o.reference[v]-x.mainAxis;f<k?f=k:f>S&&(f=S)}if(u){var g,m;const v=h==="y"?"width":"height",k=["top","left"].includes(bn(i)),S=o.reference[d]-o.floating[v]+(k&&((g=s.offset)==null?void 0:g[d])||0)+(k?0:x.crossAxis),T=o.reference[d]+o.reference[v]+(k?0:((m=s.offset)==null?void 0:m[d])||0)-(k?x.crossAxis:0);w<S?w=S:w>T&&(w=T)}return{[h]:f,[d]:w}}}},kE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:s,elements:a}=t,{apply:l=()=>{},...u}=xn(e,t),c=await fs(t,u),d=bn(i),h=io(i),f=cr(i)==="y",{width:w,height:y}=o.floating;let x,g;d==="top"||d==="bottom"?(x=d,g=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=d,x=h==="end"?"top":"bottom");const m=y-c.top-c.bottom,v=w-c.left-c.right,k=lr(y-c[x],m),S=lr(w-c[g],v),T=!t.middlewareData.shift;let C=k,P=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(P=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=m),T&&!h){const N=st(c.left,0),I=st(c.right,0),D=st(c.top,0),z=st(c.bottom,0);f?P=w-2*(N!==0||I!==0?N+I:st(c.left,c.right)):C=y-2*(D!==0||z!==0?D+z:st(c.top,c.bottom))}await l({...t,availableWidth:P,availableHeight:C});const M=await s.getDimensions(a.floating);return w!==M.width||y!==M.height?{reset:{rects:!0}}:{}}}};function eu(){return typeof window<"u"}function oo(e){return _w(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function on(e){var t;return(t=(_w(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function _w(e){return eu()?e instanceof Node||e instanceof ut(e).Node:!1}function zt(e){return eu()?e instanceof Element||e instanceof ut(e).Element:!1}function nn(e){return eu()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function Hm(e){return!eu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}function Fs(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=$t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function SE(e){return["table","td","th"].includes(oo(e))}function tu(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ff(e){const t=pf(),n=zt(e)?$t(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function TE(e){let t=dr(e);for(;nn(t)&&!Yi(t);){if(ff(t))return t;if(tu(t))return null;t=dr(t)}return null}function pf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yi(e){return["html","body","#document"].includes(oo(e))}function $t(e){return ut(e).getComputedStyle(e)}function nu(e){return zt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function dr(e){if(oo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Hm(e)&&e.host||on(e);return Hm(t)?t.host:t}function Ww(e){const t=dr(e);return Yi(t)?e.ownerDocument?e.ownerDocument.body:e.body:nn(t)&&Fs(t)?t:Ww(t)}function ps(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ww(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=ut(i);if(o){const a=Nd(s);
vendor: 5,525 bytes, line 161
161return t.concat(s,s.visualViewport||[],Fs(i)?i:[],a&&n?ps(a):[])}return t.concat(i,ps(i,[],n))}function Nd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zw(e){const t=$t(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=nn(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=vl(n)!==o||vl(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function mf(e){return zt(e)?e:e.contextElement}function Fi(e){const t=mf(e);if(!nn(t))return ur(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=zw(t);let s=(o?vl(n.width):n.width)/r,a=(o?vl(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const CE=ur(0);function $w(e){const t=ut(e);return!pf()||!t.visualViewport?CE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function PE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function qr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=mf(e);let s=ur(1);t&&(r?zt(r)&&(s=Fi(r)):s=Fi(e));const a=PE(o,n,r)?$w(o):ur(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const h=ut(o),f=r&&zt(r)?ut(r):r;let w=h,y=Nd(w);for(;y&&r&&f!==w;){const x=Fi(y),g=y.getBoundingClientRect(),m=$t(y),v=g.left+(y.clientLeft+parseFloat(m.paddingLeft))*x.x,k=g.top+(y.clientTop+parseFloat(m.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=v,u+=k,w=ut(y),y=Nd(w)}}return xl({width:c,height:d,x:l,y:u})}function EE(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",s=on(r),a=t?tu(t.floating):!1;if(r===s||a&&o)return n;let l={scrollLeft:0,scrollTop:0},u=ur(1);const c=ur(0),d=nn(r);if((d||!d&&!o)&&((oo(r)!=="body"||Fs(s))&&(l=nu(r)),nn(r))){const h=qr(r);u=Fi(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function NE(e){return Array.from(e.getClientRects())}function Rd(e,t){const n=nu(e).scrollLeft;return t?t.left+n:qr(on(e)).left+n}function RE(e){const t=on(e),n=nu(e),r=e.ownerDocument.body,i=st(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=st(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Rd(e);const a=-n.scrollTop;return $t(r).direction==="rtl"&&(s+=st(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:s,y:a}}function AE(e,t){const n=ut(e),r=on(e),i=n.visualViewport;let o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;const u=pf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a,y:l}}function ME(e,t){const n=qr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=nn(e)?Fi(e):ur(1),s=e.clientWidth*o.x,a=e.clientHeight*o.y,l=i*o.x,u=r*o.y;return{width:s,height:a,x:l,y:u}}function Vm(e,t,n){let r;if(t==="viewport")r=AE(e,n);else if(t==="document")r=RE(on(e));else if(zt(t))r=ME(t,n);else{const i=$w(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return xl(r)}function Uw(e,t){const n=dr(e);return n===t||!zt(n)||Yi(n)?!1:$t(n).position==="fixed"||Uw(n,t)}function jE(e,t){const n=t.get(e);if(n)return n;let r=ps(e,[],!1).filter(a=>zt(a)&&oo(a)!=="body"),i=null;const o=$t(e).position==="fixed";let s=o?dr(e):e;for(;zt(s)&&!Yi(s);){const a=$t(s),l=ff(s);!l&&a.position==="fixed"&&(i=null),(o?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Fs(s)&&!l&&Uw(e,s))?r=r.filter(c=>c!==s):i=a,s=dr(s)}return t.set(e,r),r}function FE(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const s=[...n==="clippingAncestors"?tu(t)?[]:jE(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=Vm(t,c,i);return u.top=st(d.top,u.top),u.right=lr(d.right,u.right),u.bottom=lr(d.bottom,u.bottom),u.left=st(d.left,u.left),u},Vm(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function LE(e){const{width:t,height:n}=zw(e);return{width:t,height:n}}function DE(e,t,n){const r=nn(t),i=on(t),o=n==="fixed",s=qr(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=ur(0);if(r||!r&&!o)if((oo(t)!=="body"||Fs(i))&&(a=nu(t)),r){const f=qr(t,!0,o,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else i&&(l.x=Rd(i));let u=0,c=0;if(i&&!r&&!o){const f=i.getBoundingClientRect();c=f.top+a.scrollTop,u=f.left+a.scrollLeft-Rd(i,f)}const d=s.left+a.scrollLeft-l.x-u,h=s.top+a.scrollTop-l.y-c;return{x:d,y:h,width:s.width,height:s.height}}function ec(e){return $t(e).position==="static"}function _m(e,t){if(!nn(e)||$t(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return on(e)===n&&(n=n.ownerDocument.body),n}function Gw(e,t){const n=ut(e);if(tu(e))return n;if(!nn(e)){let i=dr(e);for(;i&&!Yi(i);){if(zt(i)&&!ec(i))return i;i=dr(i)}return n}let r=_m(e,t);for(;r&&SE(r)&&ec(r);)r=_m(r,t);return r&&Yi(r)&&ec(r)&&!ff(r)?n:r||TE(e)||n}const OE=async function(e){const t=this.getOffsetParent||Gw,n=this.getDimensions,r=await n(e.floating);return{reference:DE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function IE(e){return $t(e).direction==="rtl"}const BE={convertOffsetParentRelativeRectToViewportRelativeRect:EE,getDocumentElement:on,getClippingRect:FE,getOffsetParent:Gw,getElementRects:OE,getClientRects:NE,getDimensions:LE,getScale:Fi,isElement:zt,isRTL:IE};function HE(e,t){let n=null,r;const i=on(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const{left:u,top:c,width:d,height:h}=e.getBoundingClientRect();if(a||t(),!d||!h)return;
vendor: 9,220 bytes, line 161
161const f=ma(c),w=ma(i.clientWidth-(u+d)),y=ma(i.clientHeight-(c+h)),x=ma(u),m={rootMargin:-f+"px "+-w+"px "+-y+"px "+-x+"px",threshold:st(0,lr(1,l))||1};let v=!0;function k(S){const T=S[0].intersectionRatio;if(T!==l){if(!v)return s();T?s(!1,T):r=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(k,{...m,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,m)}n.observe(e)}return s(!0),o}function VE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=mf(e),c=i||o?[...u?ps(u):[],...ps(t)]:[];c.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),o&&g.addEventListener("resize",n)});const d=u&&a?HE(u,n):null;let h=-1,f=null;s&&(f=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let w,y=l?qr(e):null;l&&x();function x(){const g=qr(e);y&&(g.x!==y.x||g.y!==y.y||g.width!==y.width||g.height!==y.height)&&n(),y=g,w=requestAnimationFrame(x)}return n(),()=>{var g;c.forEach(m=>{i&&m.removeEventListener("scroll",n),o&&m.removeEventListener("resize",n)}),d==null||d(),(g=f)==null||g.disconnect(),f=null,l&&cancelAnimationFrame(w)}}const _E=wE,WE=xE,zE=gE,$E=kE,UE=yE,Wm=mE,GE=bE,KE=(e,t,n)=>{const r=new Map,i={platform:BE,...n},o={...i.platform,_c:r};return pE(e,t,{...i,platform:o})};var Ha=typeof document<"u"?b.useLayoutEffect:b.useEffect;function bl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!bl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!bl(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Kw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zm(e,t){const n=Kw(e);return Math.round(t*n)/n}function tc(e){const t=b.useRef(e);return Ha(()=>{t.current=e}),t}function qE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=b.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=b.useState(r);bl(h,r)||f(r);const[w,y]=b.useState(null),[x,g]=b.useState(null),m=b.useCallback(E=>{E!==T.current&&(T.current=E,y(E))},[]),v=b.useCallback(E=>{E!==C.current&&(C.current=E,g(E))},[]),k=o||w,S=s||x,T=b.useRef(null),C=b.useRef(null),P=b.useRef(c),M=l!=null,N=tc(l),I=tc(i),D=tc(u),z=b.useCallback(()=>{if(!T.current||!C.current)return;const E={placement:t,strategy:n,middleware:h};I.current&&(E.platform=I.current),KE(T.current,C.current,E).then(R=>{const O={...R,isPositioned:D.current!==!1};L.current&&!bl(P.current,O)&&(P.current=O,Ms.flushSync(()=>{d(O)}))})},[h,t,n,I,D]);Ha(()=>{u===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,d(E=>({...E,isPositioned:!1})))},[u]);const L=b.useRef(!1);Ha(()=>(L.current=!0,()=>{L.current=!1}),[]),Ha(()=>{if(k&&(T.current=k),S&&(C.current=S),k&&S){if(N.current)return N.current(k,S,z);z()}},[k,S,z,N,M]);const $=b.useMemo(()=>({reference:T,floating:C,setReference:m,setFloating:v}),[m,v]),V=b.useMemo(()=>({reference:k,floating:S}),[k,S]),K=b.useMemo(()=>{const E={position:n,left:0,top:0};if(!V.floating)return E;const R=zm(V.floating,c.x),O=zm(V.floating,c.y);return a?{...E,transform:"translate("+R+"px, "+O+"px)",...Kw(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:O}},[n,a,V.floating,c.x,c.y]);return b.useMemo(()=>({...c,update:z,refs:$,elements:V,floatingStyles:K}),[c,z,$,V,K])}const YE=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Wm({element:r.current,padding:i}).fn(n):{}:r?Wm({element:r,padding:i}).fn(n):{}}}},QE=(e,t)=>({..._E(e),options:[e,t]}),XE=(e,t)=>({...WE(e),options:[e,t]}),JE=(e,t)=>({...GE(e),options:[e,t]}),ZE=(e,t)=>({...zE(e),options:[e,t]}),eN=(e,t)=>({...$E(e),options:[e,t]}),tN=(e,t)=>({...UE(e),options:[e,t]}),nN=(e,t)=>({...YE(e),options:[e,t]});var rN="Arrow",qw=b.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return p.jsx(it.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});qw.displayName=rN;var iN=qw;function oN(e){const[t,n]=b.useState(void 0);return ar(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let s,a;if("borderBoxSize"in o){const l=o.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Yw="Popper",[Qw,Xw]=Xl(Yw),[bD,Jw]=Qw(Yw),Zw="PopperAnchor",ex=b.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Jw(Zw,n),s=b.useRef(null),a=Wt(t,s);return b.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:p.jsx(it.div,{...i,ref:a})});ex.displayName=Zw;var gf="PopperContent",[sN,aN]=Qw(gf),tx=b.forwardRef((e,t)=>{var te,ei,Tn,wr,Cn,ti;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:f="optimized",onPlaced:w,...y}=e,x=Jw(gf,n),[g,m]=b.useState(null),v=Wt(t,Pn=>m(Pn)),[k,S]=b.useState(null),T=oN(k),C=(T==null?void 0:T.width)??0,P=(T==null?void 0:T.height)??0,M=r+(o!=="center"?"-"+o:""),N=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},I=Array.isArray(u)?u:[u],D=I.length>0,z={padding:N,boundary:I.filter(uN),altBoundary:D},{refs:L,floatingStyles:$,placement:V,isPositioned:K,middlewareData:E}=qE({strategy:"fixed",placement:M,whileElementsMounted:(...Pn)=>VE(...Pn,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[QE({mainAxis:i+P,alignmentAxis:s}),l&&XE({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?JE():void 0,...z}),l&&ZE({...z}),eN({...z,apply:({elements:Pn,rects:Bs,availableWidth:mu,availableHeight:Hs})=>{const{width:gu,height:fo}=Bs.reference,ni=Pn.floating.style;ni.setProperty("--radix-popper-available-width",`${mu}px`),ni.setProperty("--radix-popper-available-height",`${Hs}px`),ni.setProperty("--radix-popper-anchor-width",`${gu}px`),ni.setProperty("--radix-popper-anchor-height",`${fo}px`)}}),k&&nN({element:k,padding:a}),cN({arrowWidth:C,arrowHeight:P}),h&&tN({strategy:"referenceHidden",...z})]}),[R,O]=ix(V),W=sr(w);ar(()=>{K&&(W==null||W())},[K,W]);const _=(te=E.arrow)==null?void 0:te.x,Q=(ei=E.arrow)==null?void 0:ei.y,J=((Tn=E.arrow)==null?void 0:Tn.centerOffset)!==0,[xe,De]=b.useState();return ar(()=>{g&&De(window.getComputedStyle(g).zIndex)},[g]),p.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:K?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(wr=E.transformOrigin)==null?void 0:wr.x,(Cn=E.transformOrigin)==null?void 0:Cn.y].join(" "),...((ti=E.hide)==null?void 0:ti.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(sN,{scope:n,placedSide:R,onArrowChange:S,arrowX:_,arrowY:Q,shouldHideArrow:J,children:p.jsx(it.div,{"data-side":R,"data-align":O,...y,ref:v,style:{...y.style,animation:K?void 0:"none"}})})})});tx.displayName=gf;var nx="PopperArrow",lN={top:"bottom",right:"left",bottom:"top",left:"right"},rx=b.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=aN(nx,r),s=lN[o.placedSide];return p.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:p.jsx(iN,{...i,ref:n,style:{...i.style,display:"block"}})})});rx.displayName=nx;function uN(e){return e!==null}var cN=e=>({name:"transformOrigin",options:e,fn(t){var x,g,m;const{placement:n,rects:r,middlewareData:i}=t,s=((x=i.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=ix(n),d={start:"0%",center:"50%",end:"100%"}[c],h=(((g=i.arrow)==null?void 0:g.x)??0)+a/2,f=(((m=i.arrow)==null?void 0:m.y)??0)+l/2;let w="",y="";return u==="bottom"?(w=s?d:`${h}px`,y=`${-l}px`):u==="top"?(w=s?d:`${h}px`,y=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,y=s?d:`${f}px`):u==="left"&&(w=`${r.floating.width+l}px`,y=s?d:`${f}px`),{data:{x:w,y}}}});function ix(e){const[t,n="center"]=e.split("-");return[t,n]}
vendor: 4,380 bytes, line 161
161var dN=ex,hN=tx,fN=rx,[ru,kD]=Xl("Tooltip",[Xw]),yf=Xw(),ox="TooltipProvider",pN=700,$m="tooltip.open",[mN,sx]=ru(ox),ax=e=>{const{__scopeTooltip:t,delayDuration:n=pN,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,s=b.useRef(!0),a=b.useRef(!1),l=b.useRef(0);return b.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),p.jsx(mN,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:b.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:b.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:b.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:o})};ax.displayName=ox;var lx="Tooltip",[SD,iu]=ru(lx),Ad="TooltipTrigger",gN=b.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=iu(Ad,n),o=sx(Ad,n),s=yf(n),a=b.useRef(null),l=Wt(t,a,i.onTriggerChange),u=b.useRef(!1),c=b.useRef(!1),d=b.useCallback(()=>u.current=!1,[]);return b.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),p.jsx(dN,{asChild:!0,...s,children:p.jsx(it.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,h=>{h.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Pe(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Pe(e.onBlur,i.onClose),onClick:Pe(e.onClick,i.onClose)})})});gN.displayName=Ad;var yN="TooltipPortal",[TD,vN]=ru(yN,{forceMount:void 0}),Qi="TooltipContent",ux=b.forwardRef((e,t)=>{const n=vN(Qi,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,s=iu(Qi,e.__scopeTooltip);return p.jsx(of,{present:r||s.open,children:s.disableHoverableContent?p.jsx(cx,{side:i,...o,ref:t}):p.jsx(wN,{side:i,...o,ref:t})})}),wN=b.forwardRef((e,t)=>{const n=iu(Qi,e.__scopeTooltip),r=sx(Qi,e.__scopeTooltip),i=b.useRef(null),o=Wt(t,i),[s,a]=b.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,h=b.useCallback(()=>{a(null),d(!1)},[d]),f=b.useCallback((w,y)=>{const x=w.currentTarget,g={x:w.clientX,y:w.clientY},m=TN(g,x.getBoundingClientRect()),v=CN(g,m),k=PN(y.getBoundingClientRect()),S=NN([...v,...k]);a(S),d(!0)},[d]);return b.useEffect(()=>()=>h(),[h]),b.useEffect(()=>{if(l&&c){const w=x=>f(x,c),y=x=>f(x,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",y),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",y)}}},[l,c,f,h]),b.useEffect(()=>{if(s){const w=y=>{const x=y.target,g={x:y.clientX,y:y.clientY},m=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),v=!EN(g,s);m?h():v&&(h(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,s,u,h]),p.jsx(cx,{...e,ref:o})}),[xN,bN]=ru(lx,{isInside:!1}),kN=WT("TooltipContent"),cx=b.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:s,...a}=e,l=iu(Qi,n),u=yf(n),{onClose:c}=l;return b.useEffect(()=>(document.addEventListener($m,c),()=>document.removeEventListener($m,c)),[c]),b.useEffect(()=>{if(l.trigger){const d=h=>{const f=h.target;f!=null&&f.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),p.jsx(rf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:p.jsxs(hN,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(kN,{children:r}),p.jsx(xN,{scope:n,isInside:!0,children:p.jsx(fC,{id:l.contentId,role:"tooltip",children:i||r})})]})})});ux.displayName=Qi;var dx="TooltipArrow",SN=b.forwardRef((e,t)=>
161{const{__scopeTooltip:n,...r}=e,i=yf(n);return bN(dx,n).isInside?null:p.jsx(fN,{...i,...r,ref:t})});SN.displayName=dx;function TN(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function CN(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function PN(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function EN(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,s=t.length-1;o<t.length;s=o++){const a=t[o],l=t[s],u=a.x,c=a.y,d=l.x,h=l.y;c>r!=h>r&&n<(d-u)*(r-c)/(h-c)+u&&(i=!i)}return i}function NN(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),RN(t)}function RN(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],s=t[t.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],s=n[n.length-2];if((o.x-s.x)*(i.y-s.y)>=(o.y-s.y)*(i.x-s.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var AN=ax,hx=ux;const MN=AN,jN=b.forwardRef(({className:e,sideOffset:t=4,...n},r)=>p.jsx(hx,{ref:r,sideOffset:t,className:Xr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));jN.displayName=hx.displayName;var ou=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},su=typeof window>"u"||"Deno"in globalThis;function jt(){}function FN(e,t){return typeof e=="function"?e(t):e}function LN(e){return typeof e=="number"&&e>=0&&e!==1/0}function DN(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Md(e,t){return typeof e=="function"?e(t):e}function ON(e,t){return typeof e=="function"?e(t):e}function Um(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==vf(s,t.options))return!1}else if(!gs(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function Gm(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(ms(t.options.mutationKey)!==ms(o))return!1}else if(!gs(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function vf(e,t){return((t==null?void 0:t.queryKeyHashFn)||ms)(e)}function ms(e){return JSON.stringify(e,(t,n)=>jd(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function gs(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>gs(e[n],t[n])):!1}function fx(e,t){if(e===t)return e;const n=Km(e)&&Km(t);if(n||jd(e)&&jd(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:o[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=fx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===s&&u===i?e:a}return t}function Km(e){return Array.isArray(e)&&e.length===Object.keys(e).length}
vendor: 21,668 bytes, line 161
161function jd(e){if(!qm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!qm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function qm(e){return Object.prototype.toString.call(e)==="[object Object]"}function IN(e){return new Promise(t=>{setTimeout(t,e)})}function BN(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?fx(e,t):t}function HN(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function VN(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wf=Symbol();function px(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===wf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Fr,Vn,Li,Sy,_N=(Sy=class extends ou{constructor(){super();ee(this,Fr);ee(this,Vn);ee(this,Li);G(this,Li,t=>{if(!su&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,Vn)||this.setEventListener(A(this,Li))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,Vn))==null||t.call(this),G(this,Vn,void 0))}setEventListener(t){var n;G(this,Li,t),(n=A(this,Vn))==null||n.call(this),G(this,Vn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Fr)!==t&&(G(this,Fr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Fr)=="boolean"?A(this,Fr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Fr=new WeakMap,Vn=new WeakMap,Li=new WeakMap,Sy),mx=new _N,Di,_n,Oi,Ty,WN=(Ty=class extends ou{constructor(){super();ee(this,Di,!0);ee(this,_n);ee(this,Oi);G(this,Oi,t=>{if(!su&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,_n)||this.setEventListener(A(this,Oi))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,_n))==null||t.call(this),G(this,_n,void 0))}setEventListener(t){var n;G(this,Oi,t),(n=A(this,_n))==null||n.call(this),G(this,_n,t(this.setOnline.bind(this)))}setOnline(t){A(this,Di)!==t&&(G(this,Di,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Di)}},Di=new WeakMap,_n=new WeakMap,Oi=new WeakMap,Ty),kl=new WN;function zN(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function $N(e){return Math.min(1e3*2**e,3e4)}function gx(e){return(e??"online")==="online"?kl.isOnline():!0}var yx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function nc(e){return e instanceof yx}function vx(e){let t=!1,n=0,r=!1,i;const o=zN(),s=y=>{var x;r||(h(new yx(y)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>mx.isFocused()&&(e.networkMode==="always"||kl.isOnline())&&e.canRun(),c=()=>gx(e.networkMode)&&e.canRun(),d=y=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,y),i==null||i(),o.resolve(y))},h=y=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,y),i==null||i(),o.reject(y))},f=()=>new Promise(y=>{var x;i=g=>{(r||u())&&y(g)},(x=e.onPause)==null||x.call(e)}).then(()=>{var y;i=void 0,r||(y=e.onContinue)==null||y.call(e)}),w=()=>{if(r)return;let y;const x=n===0?e.initialPromise:void 0;try{y=x??e.fn()}catch(g){y=Promise.reject(g)}Promise.resolve(y).then(d).catch(g=>{var T;if(r)return;const m=e.retry??(su?0:3),v=e.retryDelay??$N,k=typeof v=="function"?v(n,g):v,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!S){h(g);return}n++,(T=e.onFail)==null||T.call(e,n,g),IN(k).then(()=>u()?void 0:f()).then(()=>{t?h(g):w()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():f().then(w),o)}}var UN=e=>setTimeout(e,0);function GN(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=UN;const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var $e=GN(),Lr,Cy,wx=(Cy=class{constructor(){ee(this,Lr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),LN(this.gcTime)&&G(this,Lr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(su?1/0:5*60*1e3))}clearGcTimeout(){A(this,Lr)&&(clearTimeout(A(this,Lr)),G(this,Lr,void 0))}},Lr=new WeakMap,Cy),Ii,Dr,mt,Or,He,Ss,Ir,Ft,ln,Py,KN=(Py=class extends wx{constructor(t){super();ee(this,Ft);ee(this,Ii);ee(this,Dr);ee(this,mt);ee(this,Or);ee(this,He);ee(this,Ss);ee(this,Ir);G(this,Ir,!1),G(this,Ss,t.defaultOptions),this.setOptions(t.options),this.observers=[],G(this,Or,t.client),G(this,mt,A(this,Or).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,Ii,YN(this.options)),this.state=t.state??A(this,Ii),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,He))==null?void 0:t.promise}setOptions(t){this.options={...A(this,Ss),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,mt).remove(this)}setData(t,n){const r=BN(this.state.data,t,this.options);return Oe(this,Ft,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Ft,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=A(this,He))==null?void 0:r.promise;return(i=A(this,He))==null||i.cancel(t),n?n.then(jt).catch(jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Ii))}isActive(){return this.observers.some(t=>ON(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Md(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!DN(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,He))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,He))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,mt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,He)&&(A(this,Ir)?A(this,He).cancel({revert:!0}):A(this,He).cancelRetry()),this.scheduleGc()),A(this,mt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Ft,ln).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,He))return A(this,He).continueRetry(),A(this,He).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(f=>f.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(G(this,Ir,!0),r.signal)})},o=()=>{const h=px(this.options,n),w=(()=>{const y={client:A(this,Or),queryKey:this.queryKey,meta:this.meta};return i(y),y})();return G(this,Ir,!1),this.options.persister?this.options.persister(h,w,this):h(w)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Or),state:this.state,fetchFn:o};return i(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Dr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Oe(this,Ft,ln).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=h=>{var f,w,y,x;nc(h)&&h.silent||Oe(this,Ft,ln).call(this,{type:"error",error:h}),nc(h)||((w=(f=A(this,mt).config).onError)==null||w.call(f,h,this),(x=(y=A(this,mt).config).onSettled)==null||x.call(y,this.state.data,h,this)),this.scheduleGc()};return G(this,He,vx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var f,w,y,x;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(w=(f=A(this,mt).config).onSuccess)==null||w.call(f,h,this),(x=(y=A(this,mt).config).onSettled)==null||x.call(y,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,f)=>{Oe(this,Ft,ln).call(this,{type:"failed",failureCount:h,error:f})},onPause:()=>{Oe(this,Ft,ln).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Ft,ln).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),A(this,He).start()}},Ii=new WeakMap,Dr=new WeakMap,mt=new WeakMap,Or=new WeakMap,He=new WeakMap,Ss=new WeakMap,Ir=new WeakMap,Ft=new WeakSet,ln=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...qN(r.data,this.options),fetchMeta:t.meta??null};case"success":return G(this,Dr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return nc(i)&&i.revert&&A(this,Dr)?{...A(this,Dr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,mt).notify({query:this,type:"updated",action:t})})},Py);function qN(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:gx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function YN(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var qt,Ey,QN=(Ey=class extends ou{constructor(t={}){super();ee(this,qt);this.config=t,G(this,qt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??vf(i,n);let s=this.get(o);return s||(s=new KN({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){A(this,qt).has(t.queryHash)||(A(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,qt).get(t)}getAll(){return[...A(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Um(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Um(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,Ey),Yt,We,Br,Qt,Fn,Ny,XN=(Ny=class extends wx{constructor(t){super();ee(this,Qt);ee(this,Yt);ee(this,We);ee(this,Br);this.mutationId=t.mutationId,G(this,We,t.mutationCache),G(this,Yt,[]),this.state=t.state||JN(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Yt).includes(t)||(A(this,Yt).push(t),this.clearGcTimeout(),A(this,We).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Yt,A(this,Yt).filter(n=>n!==t)),this.scheduleGc(),A(this,We).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Yt).length||(this.state.status==="pending"?this.scheduleGc():A(this,We).remove(this))}continue(){var t;return((t=A(this,Br))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,s,a,l,u,c,d,h,f,w,y,x,g,m,v,k,S,T,C,P;const n=()=>{Oe(this,Qt,Fn).call(this,{type:"continue"})};G(this,Br,vx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,N)=>{Oe(this,Qt,Fn).call(this,{type:"failed",failureCount:M,error:N})},onPause:()=>{Oe(this,Qt,Fn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,We).canRun(this)}));const r=this.state.status==="pending",i=!A(this,Br).canStart();try{if(r)n();else{Oe(this,Qt,Fn).call(this,{type:"pending",variables:t,isPaused:i}),await((s=(o=A(this,We).config).onMutate)==null?void 0:s.call(o,t,this));const N=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));N!==this.state.context&&Oe(this,Qt,Fn).call(this,{type:"pending",context:N,variables:t,isPaused:i})}const M=await A(this,Br).start();return await((c=(u=A(this,We).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,M,t,this.state.context)),await((w=(f=A(this,We).config).onSettled)==null?void 0:w.call(f,M,null,this.state.variables,this.state.context,this)),await((x=(y=this.options).onSettled)==null?void 0:x.call(y,M,null,t,this.state.context)),Oe(this,Qt,Fn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((m=(g=A(this,We).config).onError)==null?void 0:m.call(g,M,t,this.state.context,this)),await((k=(v=this.options).onError)==null?void 0:k.call(v,M,t,this.state.context)),await((T=(S=A(this,We).config).onSettled)==null?void 0:T.call(S,void 0,M,this.state.variables,this.state.context,this)),await((P=(C=this.options).onSettled)==null?void 0:P.call(C,void 0,M,t,this.state.context)),M}finally{Oe(this,Qt,Fn).call(this,{type:"error",error:M})}}finally{A(this,We).runNext(this)}}},Yt=new WeakMap,We=new WeakMap,Br=new WeakMap,Qt=new WeakSet,Fn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$e.batch(()=>{A(this,Yt).forEach(r=>{r.onMutationUpdate(t)}),A(this,We).notify({mutation:this,type:"updated",action:t})})},Ny);function JN(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Lt,Ts,Ry,ZN=(Ry=class extends ou{constructor(t={}){super();ee(this,hn);ee(this,Lt);ee(this,Ts);this.config=t,G(this,hn,new Set),G(this,Lt,new Map),G(this,Ts,0)}build(t,n,r){const i=new XN({mutationCache:this,mutationId:++_s(this,Ts)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){A(this,hn).add(t);const n=ga(t);if(typeof n=="string"){const r=A(this,Lt).get(n);r?r.push(t):A(this,Lt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,hn).delete(t)){const n=ga(t);if(typeof n=="string"){const r=A(this,Lt).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&A(this,Lt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ga(t);if(typeof n=="string"){const r=A(this,Lt).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=ga(t);if(typeof n=="string"){const i=(r=A(this,Lt).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{A(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,hn).clear(),A(this,Lt).clear()})}getAll(){return Array.from(A(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Gm(n,r))}findAll(t={}){return this.getAll().filter(n=>Gm(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(jt))))}},hn=new WeakMap,Lt=new WeakMap,Ts=new WeakMap,Ry);function ga(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ym(e){return{onFetch:(t,n)=>{var c,d,h,f,w;const r=t.options,i=(h=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,o=((f=t.state.data)==null?void 0:f.pages)||[],s=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let y=!1;const x=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},g=px(t.options,t.fetchOptions),m=async(v,k,S)=>{if(y)return Promise.reject();if(k==null&&v.pages.length)return Promise.resolve(v);const C=(()=>{const I={client:t.client,queryKey:t.queryKey,pageParam:k,direction:S?"backward":"forward",meta:t.options.meta};return x(I),I})(),P=await g(C),{maxPages:M}=t.options,N=S?VN:HN;return{pages:N(v.pages,P,M),pageParams:N(v.pageParams,k,M)}};if(i&&o.length){const v=i==="backward",k=v?e2:Qm,S={pages:o,pageParams:s},T=k(r,S);a=await m(S,T,v)}else{const v=e??o.length;do{const k=l===0?s[0]??r.initialPageParam:Qm(r,a);if(l>0&&k==null)break;a=await m(a,k),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var y,x;return(x=(y=t.options).persister)==null?void 0:x.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Qm(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function e2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ge,Wn,zn,Bi,Hi,$n,Vi,_i,Ay,t2=(Ay=class{constructor(e={}){ee(this,ge);ee(this,Wn);ee(this,zn);ee(this,Bi);ee(this,Hi);ee(this,$n);ee(this,Vi);ee(this,_i);G(this,ge,e.queryCache||new QN),G(this,Wn,e.mutationCache||new ZN),G(this,zn,e.defaultOptions||{}),G(this,Bi,new Map),G(this,Hi,new Map),G(this,$n,0)}mount(){_s(this,$n)._++,A(this,$n)===1&&(G(this,Vi,mx.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onFocus())})),G(this,_i,kl.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,ge).onOnline())})))}unmount(){var e,t;_s(this,$n)._--,A(this,$n)===0&&((e=A(this,Vi))==null||e.call(this),G(this,Vi,void 0),(t=A(this,_i))==null||t.call(this),G(this,_i,void 0))}isFetching(e){return A(this,ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,Wn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,ge).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Md(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=A(this,ge).get(r.queryHash),o=i==null?void 0:i.state.data,s=FN(t,o);if(s!==void 0)return A(this,ge).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return $e.batch(()=>A(this,ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,ge);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,ge);return $e.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=$e.batch(()=>A(this,ge).findAll(e).map(i=>i.cancel(n)));
161return Promise.all(r).then(jt).catch(jt)}invalidateQueries(e,t={}){return $e.batch(()=>(A(this,ge).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=$e.batch(()=>A(this,ge).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(jt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(jt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,ge).build(this,t);return n.isStaleByTime(Md(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(jt).catch(jt)}fetchInfiniteQuery(e){return e.behavior=Ym(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(jt).catch(jt)}ensureInfiniteQueryData(e){return e.behavior=Ym(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return kl.isOnline()?A(this,Wn).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,ge)}getMutationCache(){return A(this,Wn)}getDefaultOptions(){return A(this,zn)}setDefaultOptions(e){G(this,zn,e)}setQueryDefaults(e,t){A(this,Bi).set(ms(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Bi).values()],n={};return t.forEach(r=>{gs(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Hi).set(ms(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Hi).values()],n={};return t.forEach(r=>{gs(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,zn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=vf(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===wf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,zn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,ge).clear(),A(this,Wn).clear()}},ge=new WeakMap,Wn=new WeakMap,zn=new WeakMap,Bi=new WeakMap,Hi=new WeakMap,$n=new WeakMap,Vi=new WeakMap,_i=new WeakMap,Ay),n2=b.createContext(void 0),r2=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(n2.Provider,{value:e,children:t}));/** 162 * @remix-run/router v1.23.0 163 * 164 * Copyright (c) Remix Software Inc. 165 * 166 * This source code is licensed under the MIT license found in the 167 * LICENSE.md file in the root directory of this source tree. 168 * 169 * @license MIT 170 */function ys(){return ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ys.apply(this,arguments)}var Kn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Kn||(Kn={}));const Xm="popstate";function i2(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:s,hash:a}=r.location;return Fd("",{pathname:o,search:s,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:Sl(i)}return s2(t,n,null,e)}function we(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xx(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function o2(){return Math.random().toString(36).substr(2,8)}function Jm(e,t){return{usr:e.state,key:e.key,idx:t}}function Fd(e,t,n,r){return n===void 0&&(n=null),ys({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?so(t):t,{state:n,key:t&&t.key||r||o2()})}function Sl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function so(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function s2(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=Kn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ys({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Kn.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:a,location:y.location,delta:g})}function h(x,g){a=Kn.Push;let m=Fd(y.location,x,g);u=c()+1;let v=Jm(m,u),k=y.createHref(m);try{s.pushState(v,"",k)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(k)}o&&l&&l({action:a,location:y.location,delta:1})}function f(x,g){a=Kn.Replace;let m=Fd(y.location,x,g);u=c();let v=Jm(m,u),k=y.createHref(m);s.replaceState(v,"",k),o&&l&&l({action:a,location:y.location,delta:0})}function w(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,m=typeof x=="str
170ing"?x:Sl(x);return m=m.replace(/ $/,"%20"),we(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let y={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Xm,d),l=x,()=>{i.removeEventListener(Xm,d),l=null}},createHref(x){return t(i,x)},createURL:w,encodeLocation(x){let g=w(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:f,go(x){return s.go(x)}};return y}var Zm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Zm||(Zm={}));function a2(e,t,n){return n===void 0&&(n="/"),l2(e,t,n,!1)}function l2(e,t,n,r){let i=typeof t=="string"?so(t):t,o=xf(i.pathname||"/",n);if(o==null)return null;let s=bx(e);u2(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=x2(o);a=v2(s[l],u,r)}return a}function bx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,s,a)=>{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(we(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=rr([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(we(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),bx(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:g2(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of kx(o.path))i(o,s,l)}),t}function kx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=kx(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function u2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:y2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const c2=/^:[\w-]+$/,d2=3,h2=2,f2=1,p2=10,m2=-2,eg=e=>e==="*";function g2(e,t){let n=e.split("/"),r=n.length;return n.some(eg)&&(r+=m2),t&&(r+=h2),n.filter(i=>!eg(i)).reduce((i,o)=>i+(c2.test(o)?d2:o===""?f2:p2),r)}function y2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function v2(e,t,n){let{routesMeta:r}=e,i={},o="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",d=tg({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),h=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=tg({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 9,263 bytes, lines 170-179
170Object.assign(i,d.params),s.push({params:i,pathname:rr([o,d.pathname]),pathnameBase:T2(rr([o,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(o=rr([o,d.pathnameBase]))}return s}function tg(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=w2(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],s=o.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:h,isOptional:f}=c;if(h==="*"){let y=a[d]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const w=a[d];return f&&!w?u[h]=void 0:u[h]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function w2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),xx(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function x2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xx(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function xf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function b2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?so(e):e;return{pathname:n?n.startsWith("/")?n:k2(n,t):t,search:C2(r),hash:P2(i)}}function k2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function rc(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function S2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function bf(e,t){let n=S2(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kf(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=so(e):(i=ys({},e),we(!i.pathname||!i.pathname.includes("?"),rc("?","pathname","search",i)),we(!i.pathname||!i.pathname.includes("#"),rc("#","pathname","hash",i)),we(!i.search||!i.search.includes("#"),rc("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;i.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=b2(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const rr=e=>e.join("/").replace(/\/\/+/g,"/"),T2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),C2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,P2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function E2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Sx=["post","put","patch","delete"];new Set(Sx);const N2=["get",...Sx];new Set(N2);/** 171 * React Router v6.30.1 172 * 173 * Copyright (c) Remix Software Inc. 174 * 175 * This source code is licensed under the MIT license found in the 176 * LICENSE.md file in the root directory of this source tree. 177 * 178 * @license MIT 179 */function vs(){return vs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vs.apply(this,arguments)}const Sf=b.createContext(null),R2=b.createContext(null),yr=b.createContext(null),au=b.createContext(null),Sn=b.createContext({outlet:null,matches:[],isDataRoute:!1}),Tx=b.createContext(null);function A2(e,t){let{relative:n}=t===void 0?{}:t;ao()||we(!1);let{basename:r,navigator:i}=b.useContext(yr),{hash:o,pathname:s,search:a}=Nx(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:rr([r,s])),i.createHref({pathname:l,search:a,hash:o})}function ao(){return b.useContext(au)!=null}function lo(){return ao()||we(!1),b.useContext(au).location}function Cx(e){b.useContext(yr).static||b.useLayoutEffect(e)}function Px(){let{isDataRoute:e}=b.useContext(Sn);return e?z2():M2()}function M2(){ao()||we(!1);let e=b.useContext(Sf),{basename:t,future:n,navigator:r}=b.useContext(yr),{matches:i}=b.useContext(Sn),{pathname:o}=lo(),s=JSON.stringify(bf(i,n.v7_relativeSplatPath)),a=b.useRef(!1);return Cx(()=>{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=kf(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:rr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}function Ex(){let{matches:e}=b.useContext(Sn),t=e[e.length-1];return t?t.params:{}}function Nx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(yr),{matches:i}=b.useContext(Sn),{pathname:o}=lo(),s=JSON.stringify(bf(i,r.v7_relativeSplatPath));return b.useMemo(()=>kf(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function j2(e,t){return F2(e,t)}function F2(e,t,n,r){ao()||we(!1);let{navigator:i}=b.useContext(yr),{matches:o}=b.useContext(Sn),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=lo(),c;if(t){var d;let x=typeof t=="string"?so(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||we(!1),c=x}else c=u;let h=c.pathname||"/",f=h;if(l!=="/"){let x=l.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=a2(e,{pathname:f}),y=B2(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:rr([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:rr([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&y?b.createElement(au.Provider,{value:{location:vs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Kn.Pop}},y):y}function L2(){let e=W2(),t=E2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const D2=b.createElement(L2,null);class O2 extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Sn.Provider,{value:this.props.routeContext},b.createElement(Tx.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function I2(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(Sf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Sn.Provider,{value:t},r)}function B2(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||we(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:h,errors:f}=n,w=d.route.loader&&h[d.route.id]===void 0&&(!f||f[d.route.id]===void 0);if(d.route.lazy||w){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,h)=>{let f,w=!1,y=null,x=null;n&&(f=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||D2,l&&(u<0&&h===0?(w=!0,x=null):u===h&&(w=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,h+1)),m=()=>{let v;return f?v=y:w?v=x:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(I2,{match:d,routeC
179ontext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?b.createElement(O2,{location:n.location,revalidation:n.revalidation,component:y,error:f,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Rx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Rx||{}),Tl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Tl||{});function H2(e){let t=b.useContext(Sf);return t||we(!1),t}function V2(e){let t=b.useContext(R2);return t||we(!1),t}function _2(e){let t=b.useContext(Sn);return t||we(!1),t}function Ax(e){let t=_2(),n=t.matches[t.matches.length-1];return n.route.id||we(!1),n.route.id}function W2(){var e;let t=b.useContext(Tx),n=V2(Tl.UseRouteError),r=Ax(Tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function z2(){let{router:e}=H2(Rx.UseNavigateStable),t=Ax(Tl.UseNavigateStable),n=b.useRef(!1);return Cx(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,vs({fromRouteId:t},o)))},[e,t])}function $2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function U2(e){let{to:t,replace:n,state:r,relative:i}=e;ao()||we(!1);let{future:o,static:s}=b.useContext(yr),{matches:a}=b.useContext(Sn),{pathname:l}=lo(),u=Px(),c=kf(t,bf(a,o.v7_relativeSplatPath),l,i==="path"),d=JSON.stringify(c);return b.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:i}),[u,d,i,n,r]),null}function un(e){we(!1)}function G2(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Kn.Pop,navigator:o,static:s=!1,future:a}=e;ao()&&we(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:vs({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=so(r));let{pathname:c="/",search:d="",hash:h="",state:f=null,key:w="default"}=r,y=b.useMemo(()=>{let x=xf(c,l);return x==null?null:{location:{pathname:x,search:d,hash:h,state:f,key:w},navigationType:i}},[l,c,d,h,f,w,i]);return y==null?null:b.createElement(yr.Provider,{value:u},b.createElement(au.Provider,{children:n,value:y}))}function K2(e){let{children:t,location:n}=e;return j2(Ld(t),n)}new Promise(()=>{});function Ld(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let o=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Ld(r.props.children,o));return}r.type!==un&&we(!1),!r.props.index||!r.props.children||we(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Ld(r.props.children,o)),n.push(s)}),n}/** 180 * React Router DOM v6.30.1 181 * 182 * Copyright (c) Remix Software Inc. 183 * 184 * This source code is licensed under the MIT license found in the 185 * LICENSE.md file in the root directory of this source tree. 186 * 187 * @license MIT 188 */function Dd(){return Dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dd.apply(this,arguments)}function q2(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Y2(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Q2(e,t){return e.button===0&&(!t||t==="_self")&&!Y2(e)}const X2=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],J2="6";try{window.__reactRouterVersion=J2}catch{}const Z2="startTransition",ng=_y[Z2];function eR(e){let{basename:t,children:n,future:r,window:i}=e,o=b.useRef();o.current==null&&(o.current=i2({window:i,v5Compat:!0}));let s=o.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&ng?ng(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.useEffect(()=>$2(r),[r]),b.createElement(G2,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const tR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,nt=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}
188=t,h=q2(t,X2),{basename:f}=b.useContext(yr),w,y=!1;if(typeof u=="string"&&nR.test(u)&&(w=u,tR))try{let v=new URL(window.location.href),k=u.startsWith("//")?new URL(v.protocol+u):new URL(u),S=xf(k.pathname,f);k.origin===v.origin&&S!=null?u=S+k.search+k.hash:y=!0}catch{}let x=A2(u,{relative:i}),g=rR(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function m(v){r&&r(v),v.defaultPrevented||g(v)}return b.createElement("a",Dd({},h,{href:w||x,onClick:y||o?r:m,ref:n,target:l}))});var rg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rg||(rg={}));var ig;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ig||(ig={}));function rR(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,viewTransition:a}=t===void 0?{}:t,l=Px(),u=lo(),c=Nx(e,{relative:s});return b.useCallback(d=>{if(Q2(d,n)){d.preventDefault();let h=r!==void 0?r:Sl(u)===Sl(c);l(e,{replace:h,state:i,preventScrollReset:o,relative:s,viewTransition:a})}},[u,l,c,r,i,n,e,o,s,a])}const Tf=b.createContext({});function Cf(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const iR=typeof window<"u",Mx=iR?b.useLayoutEffect:b.useEffect,lu=b.createContext(null);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function Cl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const rn=(e,t,n)=>n>t?t:n<e?e:n;let uu=()=>{},Xi=()=>{};const hr={},jx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Fx(e){return typeof e=="object"&&e!==null}const Lx=e=>/^0[^.\s]+$/u.test(e);function Dx(e){let t;return()=>(t===void 0&&(t=e()),t)}const bt=e=>e,oR=(e,t)=>n=>t(e(n)),Ls=(...e)=>e.reduce(oR),ws=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Ef{constructor(){this.subscriptions=[]}add(t){return Pf(this.subscriptions,t),()=>Cl(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o<i;o++){const s=this.subscriptions[o];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const rt=e=>e*1e3,wt=e=>e/1e3;function Ox(e,t){return t?e*(1e3/t):0}const Ix=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,sR=1e-7,aR=12;function lR(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=Ix(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>sR&&++a<aR);return s}function Ds(e,t,n,r){if(e===t&&n===r)return bt;const i=o=>lR(o,0,1,e,n);return o=>o===0||o===1?o:Ix(i(o),t,r)}const Bx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hx=e=>t=>1-e(1-t),Vx=Ds(.33,1.53,.69,.99),Nf=Hx(Vx),_x=Bx(Nf),Wx=e=>e>=1?1:(e*=2)<1?.5*Nf(e):.5*(2-Math.pow(2,-10*(e-1))),Rf=e=>1-Math.sin(Math.acos(e)),zx=Hx(Rf),$x=Bx(Rf),uR=Ds(.42,0,1,1),cR=Ds(0,0,.58,1),Ux=Ds(.42,0,.58,1),dR=e=>Array.isArray(e)&&typeof e[0]!="number",Gx=e=>Array.isArray(e)&&typeof e[0]=="number",og={linear:bt,easeIn:uR,easeInOut:Ux,easeOut:cR,circIn:Rf,circInOut:$x,circOut:zx,backIn:Nf,backInOut:_x,backOut:Vx,anticipate:Wx},hR=e=>typeof e=="string",sg=e=>{if(Gx(e)){Xi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return Ds(t,n,r,i)}else if(hR(e))return Xi(og[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),og[e];return e},ya=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ag={value:null,addProjectionMetrics:null};function fR(e,t){let n=new Set,r=new Set,i=!1,o=!1;const s=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){s.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,h=!1,f=!1)=>{const y=f&&i?n:r;return h&&s.add(d),y.add(d),d},cancel:d=>{r.delete(d),s.delete(d)},process:d=>{if(a=d,i){o=!0;return}i=!0;const h=n;n=r,r=h,n.forEach(u),t&&ag.value&&ag.value.frameloop[t].push(l),l=0,n.clear(),i=!1,o&&(o=!1,c.process(d))}};return c}const pR=40;function Kx(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=ya.reduce((v,k)=>(v[k]=fR(o,t?k:void 0),v),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:h,render:f,postRender:w}=s,y=()=>{const v=hr.useManualTiming,k=v?i.timestamp:performance.now();n=!1,v||(i.delta=r?1e3/60:Math.max(Math.min(k-i.timestamp,pR),1)),i.timestamp=k,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),h.process(i),f.process(i),w.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(y))},x=()=>{n=!0,r=!0,i.isProcessing||e(y)};return{schedule:ya.reduce((v,k)=>{const S=s[k];return v[k]=(T,C=!1,P=!1)=>(n||x(),S.schedule(T,C,P)),v},{}),cancel:v=>{for(let k=0;k<ya.length;k++)s[ya[k]].cancel(v)},state:i,steps:s}}const{schedule:ie,cancel:fr,state:Me,steps:ic}=Kx(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0);let Va;function mR(){Va=void 0}const Ue={now:()=>(Va===void 0&&Ue.set(Me.isProcessing||hr.useManualTiming?Me.timestamp:performance.now()),Va),set:e=>{Va=e,queueMicrotask(mR)}},qx=e=>t=>typeof t=="string"&&t.startsWith(e),Yx=qx("--"),gR=qx("var(--"),Af=e=>gR(e)?yR.test(e.split("/*")[0].trim()):!1,yR=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function lg(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const uo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},xs={...uo,transform:e=>rn(0,1,e)},va={...uo,default:1},Uo=e=>Math.round(e*1e5)/1e5,Mf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function vR(e){return e==null}const wR=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jf=(e,t)=>
vendor: 24,842 bytes, line 188
188n=>!!(typeof n=="string"&&wR.test(n)&&n.startsWith(e)||t&&!vR(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qx=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,o,s,a]=r.match(Mf);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},xR=e=>rn(0,255,e),oc={...uo,transform:e=>Math.round(xR(e))},Ar={test:jf("rgb","red"),parse:Qx("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+oc.transform(e)+", "+oc.transform(t)+", "+oc.transform(n)+", "+Uo(xs.transform(r))+")"};function bR(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const Od={test:jf("#"),parse:bR,transform:Ar.transform},Os=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ln=Os("deg"),tn=Os("%"),H=Os("px"),kR=Os("vh"),SR=Os("vw"),ug={...tn,parse:e=>tn.parse(e)/100,transform:e=>tn.transform(e*100)},bi={test:jf("hsl","hue"),parse:Qx("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+tn.transform(Uo(t))+", "+tn.transform(Uo(n))+", "+Uo(xs.transform(r))+")"},be={test:e=>Ar.test(e)||Od.test(e)||bi.test(e),parse:e=>Ar.test(e)?Ar.parse(e):bi.test(e)?bi.parse(e):Od.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Ar.transform(e):bi.transform(e),getAnimatableNone:e=>{const t=be.parse(e);return t.alpha=0,be.transform(t)}},TR=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function CR(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Mf))==null?void 0:t.length)||0)+(((n=e.match(TR))==null?void 0:n.length)||0)>0}const Xx="number",Jx="color",PR="var",ER="var(",cg="${}",NR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ji(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(NR,l=>(be.test(l)?(r.color.push(o),i.push(Jx),n.push(be.parse(l))):l.startsWith(ER)?(r.var.push(o),i.push(PR),n.push(l)):(r.number.push(o),i.push(Xx),n.push(parseFloat(l))),++o,cg)).split(cg);return{values:n,split:a,indexes:r,types:i}}function RR(e){return Ji(e).values}function Zx({split:e,types:t}){const n=e.length;return r=>{let i="";for(let o=0;o<n;o++)if(i+=e[o],r[o]!==void 0){const s=t[o];s===Xx?i+=Uo(r[o]):s===Jx?i+=be.transform(r[o]):i+=r[o]}return i}}function AR(e){return Zx(Ji(e))}const MR=e=>typeof e=="number"?0:be.test(e)?be.getAnimatableNone(e):e,jR=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:MR(e);function FR(e){const t=Ji(e);return Zx(t)(t.values.map((r,i)=>jR(r,t.split[i])))}const Vt={test:CR,parse:RR,createTransformer:AR,getAnimatableNone:FR};function sc(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function LR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,o=0,s=0;if(!t)i=o=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=sc(l,a,e+1/3),o=sc(l,a,e),s=sc(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}function Pl(e,t){return n=>n>0?t:e}const le=(e,t,n)=>e+(t-e)*n,ac=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},DR=[Od,Ar,bi],OR=e=>DR.find(t=>t.test(e));function dg(e){const t=OR(e);if(uu(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===bi&&(n=LR(n)),n}const hg=(e,t)=>{const n=dg(e),r=dg(t);if(!n||!r)return Pl(e,t);const i={...n};return o=>(i.red=ac(n.red,r.red,o),i.green=ac(n.green,r.green,o),i.blue=ac(n.blue,r.blue,o),i.alpha=le(n.alpha,r.alpha,o),Ar.transform(i))},Id=new Set(["none","hidden"]);function IR(e,t){return Id.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function BR(e,t){return n=>le(e,t,n)}function Ff(e){return typeof e=="number"?BR:typeof e=="string"?Af(e)?Pl:be.test(e)?hg:_R:Array.isArray(e)?e1:typeof e=="object"?be.test(e)?hg:HR:Pl}function e1(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Ff(o)(o,t[s]));return o=>{for(let s=0;s<r;s++)n[s]=i[s](o);return n}}function HR(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Ff(e[i])(e[i],t[i]));return i=>{for(const o in r)n[o]=r[o](i);return n}}function VR(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],s=e.indexes[o][r[o]],a=e.values[s]??0;n[i]=a,r[o]++}return n}const _R=(e,t)=>{const n=Vt.createTransformer(t),r=Ji(e),i=Ji(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Id.has(e)&&!i.values.length||Id.has(t)&&!r.values.length?IR(e,t):Ls(e1(VR(r,i),i.values),n):(uu(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Pl(e,t))};function t1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?le(e,t,n):Ff(e)(e,t)}const WR=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ie.update(t,n),stop:()=>fr(t),now:()=>Me.isProcessing?Me.timestamp:Ue.now()}},n1=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let o=0;o<i;o++)r+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},El=2e4;function Lf(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<El;)t+=n,r=e.next(t);return t>=El?1/0:t}function zR(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(Lf(r),El);return{type:"keyframes",ease:o=>r.next(i*o).value/t,duration:wt(i)}}const he={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Bd(e,t){return e*Math.sqrt(1-t*t)}const $R=12;function UR(e,t,n){let r=n;for(let i=1;i<$R;i++)r=r-e(r)/t(r);return r}const lc=.001;function GR({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:r=he.mass}){let i,o;uu(e<=rt(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=rn(he.minDamping,he.maxDamping,s),e=rn(he.minDuration,he.maxDuration,wt(e)),s<1?(i=u=>{const c=u*s,d=c*e,h=c-n,f=Bd(u,s),w=Math.exp(-d);return lc-h/f*w},o=u=>{const d=u*s*e,h=d*n+n,f=Math.pow(s,2)*Math.pow(u,2)*e,w=Math.exp(-d),y=Bd(Math.pow(u,2),s);return(-i(u)+lc>0?-1:1)*((h-f)*w)/y}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-lc+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=UR(i,o,a);if(e=rt(e),isNaN(l))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const KR=["duration","bounce"],qR=["stiffness","damping","mass"];function fg(e,t){return t.some(n=>e[n]!==void 0)}function YR(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!fg(e,qR)&&fg(e,KR))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,o=2*rn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:he.mass,stiffness:i,damping:o}}else{const n=GR({...e,velocity:0});t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function Nl(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:h,isResolvedFromDuration:f}=YR({...n,velocity:-wt(n.velocity||0)}),w=h||0,y=u/(2*Math.sqrt(l*c)),x=s-o,g=wt(Math.sqrt(l/c)),m=Math.abs(x)<5;r||(r=m?he.restSpeed.granular:he.restSpeed.default),i||(i=m?he.restDelta.granular:he.restDelta.default);let v,k,S,T,C,P;if(y<1)S=Bd(g,y),T=(w+y*g*x)/S,v=N=>{const I=Math.exp(-y*g*N);return s-I*(T*Math.sin(S*N)+x*Math.cos(S*N))},C=y*g*T+x*S,P=y*g*x-T*S,k=N=>Math.exp(-y*g*N)*(C*Math.sin(S*N)+P*Math.cos(S*N));else if(y===1){v=I=>s-Math.exp(-g*I)*(x+(w+g*x)*I);const N=w+g*x;k=I=>Math.exp(-g*I)*(g*N*I-w)}else{const N=g*Math.sqrt(y*y-1);v=L=>{const $=Math.exp(-y*g*L),V=Math.min(N*L,300);return s-$*((w+y*g*x)*Math.sinh(V)+N*x*Math.cosh(V))/N};const I=(w+y*g*x)/N,D=y*g*I-x*N,z=y*g*x-I*N;k=L=>{const $=Math.exp(-y*g*L),V=Math.min(N*L,300);return $*(D*Math.sinh(V)+z*Math.cosh(V))}}const M={calculatedDuration:f&&d||null,velocity:N=>rt(k(N)),next:N=>{if(!f&&y<1){const D=Math.exp(-y*g*N),z=Math.sin(S*N),L=Math.cos(S*N),$=s-D*(T*z+x*L),V=rt(D*(C*z+P*L));return a.done=Math.abs(V)<=r&&Math.abs(s-$)<=i,a.value=a.done?s:$,a}const I=v(N);if(f)a.done=N>=d;else{const D=rt(k(N));a.done=Math.abs(D)<=r&&Math.abs(s-I)<=i}return a.value=a.done?s:I,a},toString:()=>{const N=Math.min(Lf(M),El),I=n1(D=>M.next(N*D).value,N,30);return N+"ms "+I},toTransition:()=>{}};return M}Nl.applyToOptions=e=>{const t=zR(e,100,Nl);return e.ease=t.ease,e.duration=rt(t.duration),e.type="keyframes",e};const QR=5;function r1(e,t,n){const r=Math.max(t-QR,0);return Ox(n-e(r),t-r)}function Hd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},f=P=>a!==void 0&&P<a||l!==void 0&&P>l,w=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let y=n*t;const x=d+y,g=s===void 0?x:s(x);g!==x&&(y=g-d);const m=P=>-y*Math.exp(-P/r),v=P=>g+m(P),k=P=>{const M=m(P),N=v(P);h.done=Math.abs(M)<=u,h.value=h.done?g:N};let S,T;const C=P=>{f(h.value)&&(S=P,T=Nl({keyframes:[h.value,w(h.value)],velocity:r1(v,P,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:P=>{let M=!1;return!T&&S===void 0&&(M=!0,k(P),C(P)),S!==void 0&&P>=S?T.next(P-S):(!M&&k(P),h)}}}function XR(e,t,n){const r=[],i=n||hr.mix||t1,o=e.length-1;for(let s=0;s<o;s++){let a=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||bt:t;a=Ls(l,a)}r.push(a)}return r}function JR(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Xi(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=XR(t,r,i),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const h=ws(e[d],e[d+1],c);return a[d](h)};return n?c=>u(rn(e[0],e[o-1],c)):u}function ZR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ws(0,t,r);e.push(le(n,1,i))}}function eA(e){const t=[0];return ZR(t,e.length-1),t}function tA(e,t){return e.map(n=>n*t)}function nA(e,t){return e.map(()=>t||Ux).splice(0,e.length-1)}function Go({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=dR(r)?r.map(sg):sg(r),o={done:!1,value:t[0]},s=tA(n&&n.length===t.length?n:eA(t),e),a=JR(s,t,{ease:Array.isArray(i)?i:nA(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const rA=e=>e!==null;function cu(e,{repeat:t,repeatType:n="loop"},r,i=1){const o=e.filter(rA),a=i<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!a||r===void 0?o[a]:r}const iA={decay:Hd,inertia:Hd,tween:Go,keyframes:Go,spring:Nl};function i1(e){typeof e.type=="string"&&(e.type=iA[e.type])}class Df{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const oA=e=>e/100;class Rl extends Df{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Ue.now()&&this.tick(Ue.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;i1(t);const{type:n=Go,repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=t;let{keyframes:a}=t;const l=n||Go;l!==Go&&typeof a[0]!="number"&&(this.mixKeyframes=Ls(oA,t1(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),u.calculatedDuration===null&&(u.calculatedDuration=Lf(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:o,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:f,type:w,onUpdate:y,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),m=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let v=this.currentTime,k=r;if(d){const P=Math.min(this.currentTime,i)/a;let M=Math.floor(P),N=P%1;!N&&P>=1&&(N=1),N===1&&M--,M=Math.min(M,d+1),!!(M%2)&&(h==="reverse"?(N=1-N,f&&(N-=f/a)):h==="mirror"&&(k=s)),v=rn(0,1,N)*a}let S;m?(this.delayState.value=c[0],S=this.delayState):S=k.next(v),o&&!m&&(S.value=o(S.value));let{done:T}=S;!m&&l!==null&&(T=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);return C&&w!==Hd&&(S.value=cu(c,this.options,x,this.speed)),y&&y(S.value),C&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return wt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+wt(t)}get time(){return wt(this.currentTime)}set time(t){t=rt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return r1(r=>this.generator.next(r).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(Ue.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=wt(this.currentTime))}play(){var i,o;if(this.isStopped)return;const{driver:t=WR,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(o=(i=this.options).onPlay)==null||o.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ue.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function sA(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Mr=e=>e*180/Math.PI,Vd=e=>{const t=Mr(Math.atan2(e[1],e[0]));return _d(t)},aA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vd,rotateZ:Vd,skewX:e=>Mr(Math.atan(e[1])),skewY:e=>Mr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},_d=e=>(e=e%360,e<0&&(e+=360),e),pg=Vd,mg=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),gg=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),lA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:mg,scaleY:gg,scale:e=>(mg(e)+gg(e))/2,rotateX:e=>_d(Mr(Math.atan2(e[6],e[5]))),rotateY:e=>_d(Mr(Math.atan2(-e[2],e[0]))),rotateZ:pg,rotate:pg,skewX:e=>Mr(Math.atan(e[4])),skewY:e=>Mr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Wd(e){return e.includes("scale")?1:0}function zd(e,t){if(!e||e==="none")return Wd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=lA,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=aA,i=a}if(!i)return Wd(t);const o=r[t],s=i[1].split(",").map(cA);return typeof o=="function"?o(s):s[o]}const uA=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return zd(n,t)};function cA(e){return parseFloat(e.trim())}const co=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ho=new Set(co),yg=e=>e===uo||e===H,dA=new Set(["x","y","z"]),hA=co.filter(e=>!dA.has(e));function fA(e){const t=[];return hA.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const qn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:r})=>{const i=e.max-e.min;return r==="border-box"?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zd(t,"x"),y:(e,{transform:t})=>zd(t,"y")};qn.translateX=qn.x;qn.translateY=qn.y;const _r=new Set;let $d=!1,Ud=!1,Gd=!1;function o1(){if(Ud){const e=Array.from(_r).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=fA(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);i&&i.forEach(([o,s])=>{var a;(a=r.getValue(o))==null||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ud=!1,$d=!1,_r.forEach(e=>e.complete(Gd)),_r.clear()}function s1(){_r.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ud=!0)})}function pA(){Gd=!0,s1(),o1(),Gd=!1}class Of{constructor(t,n,r,i,o,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(_r.add(this),$d||($d=!0,ie.read(s1),ie.resolveKeyframes(o1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const o=i==null?void 0:i.get(),s=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const a=r.readValue(n,s);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=s),i&&o===void 0&&i.set(t[0])}sA(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),_r.delete(this)}cancel(){this.state==="scheduled"&&(_r.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const mA=e=>e.startsWith("--");function a1(e,t,n){mA(t)?e.style.setProperty(t,n):e.style[t]=n}const gA={};function l1(e,t){const n=Dx(e);return()=>gA[t]??n()}const yA=l1(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),u1=l1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Lo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,vg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Lo([0,.65,.55,1]),circOut:Lo([.55,0,1,.45]),backIn:Lo([.31,.01,.66,-.59]),backOut:Lo([.33,1.53,.69,.99])};function c1(e,t){if(e)return typeof e=="function"?u1()?n1(e,t):"ease-out":Gx(e)?Lo(e):Array.isArray(e)?e.map(n=>c1(n,t)||vg.easeOut):vg[e]}function vA(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=c1(a,i);Array.isArray(d)&&(c.easing=d);const h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}function d1(e){return typeof e=="function"&&"applyToOptions"in e}function wA({type:e,...t}){return d1(e)&&u1()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class h1 extends Df{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:o,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!o,this.allowFlatten=s,this.options=t,Xi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=wA(t);this.animation=vA(n,r,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=cu(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),a1(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return wt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+wt(t)}get time(){return wt(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=rt(t),n&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:n,rangeEnd:r,observe:i}){var o;return this.allowFlatten&&((o=this.animation.effect)==null||o.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&yA()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),r&&(this.animation.rangeEnd=r),bt):i(this)}}const f1={anticipate:Wx,backInOut:_x,circInOut:$x};function xA(e){return e in f1}function bA(e){typeof e.ease=="string"&&xA(e.ease)&&(e.ease=f1[e.ease])}const uc=10;class kA extends h1{constructor(t){bA(t),i1(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:o,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new Rl({...s,autoplay:!1}),l=Math.max(uc,Ue.now()-this.startTime),u=rn(0,uc,l-uc),c=a.sample(l).value,{name:d}=this.options;o&&d&&a1(o,d,c),n.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const wg=(e,t)=>
188t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function SA(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function TA(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],s=wg(i,t),a=wg(o,t);return uu(s===a,`You are trying to animate ${t} from "${i}" to "${o}". "${s?o:i}" is not an animatable value.`,"value-not-animatable"),!s||!a?!1:SA(e)||(n==="spring"||d1(n))&&r}function Kd(e){e.duration=0,e.type="keyframes"}const p1=new Set(["opacity","clipPath","filter","transform"]),CA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function PA(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&CA.test(e[t]))return!0;return!1}const EA=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),NA=Dx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function RA(e){var d;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:s,keyframes:a}=e;if(!(((d=t==null?void 0:t.owner)==null?void 0:d.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=t.owner.getProps();return NA()&&n&&(p1.has(n)||EA.has(n)&&PA(a))&&(n!=="transform"||!c)&&!u&&!r&&i!=="mirror"&&o!==0&&s!=="inertia"}const AA=40;class MA extends Df{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var w;super(),this.stop=()=>{var y,x;this._animation&&(this._animation.stop(),(y=this.stopTimeline)==null||y.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=Ue.now();const h={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:o,repeatType:s,name:l,motionValue:u,element:c,...d},f=(c==null?void 0:c.KeyframeResolver)||Of;this.keyframeResolver=new f(a,(y,x,g)=>this.onKeyframesResolved(y,x,h,!g),l,u,c),(w=this.keyframeResolver)==null||w.scheduleResolve()}onKeyframesResolved(t,n,r,i){var g,m;this.keyframeResolver=void 0;const{name:o,type:s,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Ue.now();let d=!0;TA(t,o,s,a)||(d=!1,(hr.instantAnimations||!l)&&(c==null||c(cu(t,r,n))),t[0]=t[t.length-1],Kd(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>AA?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},w=d&&!u&&RA(f),y=(m=(g=f.motionValue)==null?void 0:g.owner)==null?void 0:m.current;let x;if(w)try{x=new kA({...f,element:y})}catch{x=new Rl(f)}else x=new Rl(f);x.finished.then(()=>{this.notifyFinished()}).catch(bt),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),pA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function m1(e,t,n,r=0,i=1){const o=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),s=e.size,a=(s-1)*r;return typeof n=="function"?n(o,s):i===1?o*r:a-o*r}const jA=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FA(e){const t=jA.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const LA=4;function g1(e,t,n=1){Xi(n<=LA,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=FA(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return jx(s)?parseFloat(s):s}return Af(i)?g1(i,t,n+1):i}const DA={type:"spring",stiffness:500,damping:25,restSpeed:10},OA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),IA={type:"keyframes",duration:.8},BA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},HA=(e,{keyframes:t})=>t.length>2?IA:ho.has(e)?e.startsWith("scale")?OA(t[1]):DA:BA;function y1(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function If(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?y1(n,e):n}const VA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function _A(e){for(const t in e)if(!VA.has(t))return!0;return!1}const Bf=(e,t,n,r={},i,o)=>s=>{const a=If(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-rt(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:h=>{t.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};_A(a)||Object.assign(c,HA(e,c)),c.duration&&(c.duration=rt(c.duration)),c.repeatDelay&&(c.repeatDelay=rt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Kd(c),c.delay===0&&(
vendor: 35,070 bytes, line 188
188d=!0)),(hr.instantAnimations||hr.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,Kd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&t.get()!==void 0){const h=cu(c.keyframes,a);if(h!==void 0){ie.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new Rl(c):new MA(c)};function xg(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Hf(e,t,n,r){if(typeof t=="function"){const[i,o]=xg(r);t=t(n!==void 0?n:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=xg(r);t=t(n!==void 0?n:e.custom,i,o)}return t}function Wr(e,t,n){const r=e.getProps();return Hf(r,t,n!==void 0?n:r.custom,e)}const v1=new Set(["width","height","top","left","right","bottom",...co]),bg=30,WA=e=>!isNaN(parseFloat(e));class zA{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var o;const i=Ue.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((o=this.events.change)==null||o.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ue.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=WA(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Ef);const r=this.events[t].add(n);return t==="change"?()=>{r(),ie.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Ue.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>bg)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,bg);return Ox(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Zi(e,t){return new zA(e,t)}const qd=e=>Array.isArray(e);function $A(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Zi(n))}function UA(e){return qd(e)?e[e.length-1]||0:e}function GA(e,t){const n=Wr(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=UA(o[s]);$A(e,s,a)}}const je=e=>!!(e&&e.getVelocity);function KA(e){return!!(je(e)&&e.add)}function Yd(e,t){const n=e.getValue("willChange");if(KA(n))return n.add(t);if(!n&&hr.WillChange){const r=new hr.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Vf(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const qA="framerAppearId",w1="data-"+Vf(qA);function x1(e){return e.props[w1]}function YA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function b1(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o,transitionEnd:s,...a}=t;const l=e.getDefaultTransition();o=o?y1(o,l):l;const u=o==null?void 0:o.reduceMotion;r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const h in a){const f=e.getValue(h,e.latestValues[h]??null),w=a[h];if(w===void 0||d&&YA(d,h))continue;const y={delay:n,...If(o||{},h)},x=f.get();if(x!==void 0&&!f.isAnimating()&&!Array.isArray(w)&&w===x&&!y.velocity){ie.update(()=>f.set(w));continue}let g=!1;if(window.MotionHandoffAnimation){const k=x1(e);if(k){const S=window.MotionHandoffAnimation(k,h,ie);S!==null&&(y.startTime=S,g=!0)}}Yd(e,h);const m=u??e.shouldReduceMotion;f.start(Bf(h,f,w,m&&v1.has(h)?{type:!1}:y,e,g));const v=f.animation;v&&c.push(v)}if(s){const h=()=>ie.update(()=>{s&&GA(e,s)});c.length?Promise.all(c).then(h):h()}return c}function Qd(e,t,n={}){var l;const r=Wr(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(b1(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:h}=i;return QA(e,t,u,c,d,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[o,s]:[s,o];return u().then(()=>c())}else return Promise.all([o(),s(n.delay)])}function QA(e,t,n=0,r=0,i=0,o=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Qd(l,t,{...s,delay:n+(typeof r=="function"?0:r)+m1(e.variantChildren,l,r,i,o)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function XA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>Qd(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=Qd(e,t,n);else{const i=typeof t=="function"?Wr(e,t,n.custom):t;r=Promise.all(b1(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const JA={test:e=>e==="auto",parse:e=>e},k1=e=>t=>t.test(e),S1=[uo,H,tn,Ln,SR,kR,JA],kg=e=>S1.find(k1(e));function ZA(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Lx(e):!0}const eM=new Set(["brightness","contrast","saturate","opacity"]);function tM(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Mf)||[];if(!r)return e;const i=n.replace(r,"");let o=eM.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const nM=/\b([a-z-]*)\(.*?\)/gu,Xd={...Vt,getAnimatableNone:e=>{const t=e.match(nM);return t?t.map(tM).join(" "):e}},Jd={...Vt,getAnimatableNone:e=>{const t=Vt.parse(e);return Vt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Sg={...uo,transform:Math.round},rM={rotate:Ln,rotateX:Ln,rotateY:Ln,rotateZ:Ln,scale:va,scaleX:va,scaleY:va,scaleZ:va,skew:Ln,skewX:Ln,skewY:Ln,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:xs,originX:ug,originY:ug,originZ:H},_f={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,inset:H,insetBlock:H,insetBlockStart:H,insetBlockEnd:H,insetInline:H,insetInlineStart:H,insetInlineEnd:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,paddingBlock:H,paddingBlockStart:H,paddingBlockEnd:H,paddingInline:H,paddingInlineStart:H,paddingInlineEnd:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,marginBlock:H,marginBlockStart:H,marginBlockEnd:H,marginInline:H,marginInlineStart:H,marginInlineEnd:H,fontSize:H,backgroundPositionX:H,backgroundPositionY:H,...rM,zIndex:Sg,fillOpacity:xs,strokeOpacity:xs,numOctaves:Sg},iM={..._f,color:be,backgroundColor:be,outlineColor:be,fill:be,stroke:be,borderColor:be,borderTopColor:be,borderRightColor:be,borderBottomColor:be,borderLeftColor:be,filter:Xd,WebkitFilter:Xd,mask:Jd,WebkitMask:Jd},T1=e=>iM[e],oM=new Set([Xd,Jd]);function C1(e,t){let n=T1(e);return oM.has(n)||(n=Vt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const sM=new Set(["auto","none","0"]);function aM(e,t,n){let r=0,i;for(;r<e.length&&!i;){const o=e[r];typeof o=="string"&&!sM.has(o)&&Ji(o).values.length&&(i=e[r]),r++}if(i&&n)for(const o of t)e[o]=C1(n,i)}class lM extends Of{constructor(t,n,r,i,o){super(t,n,r,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),Af(d))){const h=g1(d,n.current);h!==void 0&&(t[c]=h),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!v1.has(r)||t.length!==2)return;const[i,o]=t,s=kg(i),a=kg(o),l=lg(i),u=lg(o);if(l!==u&&qn[r]){this.needsMeasurement=!0;return}if(s!==a)if(yg(s)&&yg(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else qn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||ZA(t[i]))&&r.push(i);r.length&&aM(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const o=r.length-1,s=r[o];r[o]=qn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function Wf(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const P1=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function _a(e){return Fx(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:zf,cancel:CD}=Kx(queueMicrotask,!1),At={x:!1,y:!1};function E1(){return At.x||At.y}function uM(e){return e==="x"||e==="y"?At[e]?null:(At[e]=!0,()=>{At[e]=!1}):At.x||At.y?null:(At.x=At.y=!0,()=>{At.x=At.y=!1})}function N1(e,t){const n=Wf(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function cM(e){return!(e.pointerType==="touch"||E1())}function dM(e,t,n={}){const[r,i,o]=N1(e,n);return r.forEach(s=>{let a=!1,l=!1,u;const c=()=>{s.removeEventListener("pointerleave",w)},d=x=>{u&&(u(x),u=void 0),c()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,d(x))},f=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},w=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}d(x)}},y=x=>{if(!cM(x))return;l=!1;const g=t(s,x);typeof g=="function"&&(u=g,s.addEventListener("pointerleave",w,i))};s.addEventListener("pointerenter",y,i),s.addEventListener("pointerdown",f,i)}),o}const R1=(e,t)=>t?e===t?!0:R1(e,t.parentElement):!1,$f=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,hM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function fM(e){return hM.has(e.tagName)||e.isContentEditable===!0}const pM=new Set(["INPUT","SELECT","TEXTAREA"]);function mM(e){return pM.has(e.tagName)||e.isContentEditable===!0}const Wa=new WeakSet;function Tg(e){return t=>{t.key==="Enter"&&e(t)}}function cc(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const gM=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Tg(()=>{if(Wa.has(n))return;cc(n,"down");const i=Tg(()=>{cc(n,"up")}),o=()=>cc(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Cg(e){return $f(e)&&!E1()}const Pg=new WeakSet;function yM(e,t,n={}){const[r,i,o]=N1(e,n),s=a=>{const l=a.currentTarget;if(!Cg(a)||Pg.has(a))return;Wa.add(l),n.stopPropagation&&Pg.add(a);const u=t(l,a),c=(f,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),Wa.has(l)&&Wa.delete(l),Cg(f)&&typeof u=="function"&&u(f,{success:w})},d=f=>{c(f,l===window||l===document||n.useGlobalTarget||R1(l,f.target))},h=f=>{c(f,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",h,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,i),_a(a)&&(a.addEventListener("focus",u=>gM(u,i)),!fM(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Uf(e){return Fx(e)&&"ownerSVGElement"in e}const za=new WeakMap;let Dn;const A1=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:Uf(r)&&"getBBox"in r?r.getBBox()[t]:r[n],vM=A1("inline","width","offsetWidth"),wM=A1("block","height","offsetHeight");function xM({target:e,borderBoxSize:t}){var n;(n=za.get(e))==null||n.forEach(r=>{r(e,{get width(){return vM(e,t)},get height(){return wM(e,t)}})})}function bM(e){e.forEach(xM)}function kM(){typeof ResizeObserver>"u"||(Dn=new ResizeObserver(bM))}function SM(e,t){Dn||kM();const n=Wf(e);return n.forEach(r=>{let i=za.get(r);i||(i=new Set,za.set(r,i)),i.add(t),Dn==null||Dn.observe(r)}),()=>{n.forEach(r=>{const i=za.get(r);i==null||i.delete(t),i!=null&&i.size||Dn==null||Dn.unobserve(r)})}}const $a=new Set;let ki;function TM(){ki=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};$a.forEach(t=>t(e))},window.addEventListener("resize",ki)}function CM(e){return $a.add(e),ki||TM(),()=>{$a.delete(e),!$a.size&&typeof ki=="function"&&(window.removeEventListener("resize",ki),ki=void 0)}}function Eg(e,t){return typeof e=="function"?CM(e):SM(e,t)}function PM(e){return Uf(e)&&e.tagName==="svg"}const EM=[...S1,be,Vt],NM=e=>EM.find(k1(e)),Ng=()=>({translate:0,scale:1,origin:0,originPoint:0}),Si=()=>({x:Ng(),y:Ng()}),Rg=()=>({min:0,max:0}),Te=()=>({x:Rg(),y:Rg()}),RM=new WeakMap;function du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function bs(e){return typeof e=="string"||Array.isArray(e)}const Gf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kf=["initial",...Gf];function hu(e){return du(e.animate)||Kf.some(t=>bs(e[t]))}function M1(e){return!!(hu(e)||e.variants)}function AM(e,t,n){for(const r in t){const i=t[r],o=n[r];if(je(i))e.addValue(r,i);else if(je(o))e.addValue(r,Zi(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(r);e.addValue(r,Zi(s!==void 0?s:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Zd={current:null},j1={current:!1},MM=typeof window<"u";function jM(){if(j1.current=!0,!!MM)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Zd.current=e.matches;e.addEventListener("change",t),t()}else Zd.current=!1}const Ag=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Al={};function F1(e){Al=e}function FM(){return Al}class LM{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:s,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Of,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=Ue.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,ie.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=hu(n),this.isVariantNode=M1(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const w=h[f];u[f]!==void 0&&je(w)&&w.set(u[f])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,RM.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,o)=>this.bindToMotionValue(o,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(j1.current||jM(),this.shouldReduceMotion=Zd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),fr(this.notifyUpdate),fr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&p1.has(t)&&this.current instanceof HTMLElement){const{factory:s,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new h1({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:rt(c)}),h=s(d);this.valueSubscriptions.set(t,()=>{h(),d.cancel()});return}const r=ho.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ie.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Al){const n=Al[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Te()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Ag.length;r++){const i=Ag[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,s=t[o];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=AM(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Zi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(jx(r)||Lx(r))?r=parseFloat(r):!NM(r)&&Vt.test(n)&&(r=C1(t,n)),this.setBaseTarget(t,je(r)?r.get():r)),je(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var o;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const s=Hf(this.props,n,(o=this.presenceContext)==null?void 0:o.custom);s&&(r=s[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!je(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ef),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){zf.render(this.render)}}class L1 extends LM{constructor(){super(...arguments),this.KeyframeResolver=lM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;je(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class vr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function D1({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function DM({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OM(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function dc(e){return e===void 0||e===1}function eh({scale:e,scaleX:t,scaleY:n}){return!dc(e)||!dc(t)||!dc(n)}function Pr(e){return eh(e)||O1(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function O1(e){return Mg(e.x)||Mg(e.y)}function Mg(e){return e&&e!=="0%"}function Ml(e,t,n){const r=e-n,i=t*r;return n+i}function jg(e,t,n,r,i){return i!==void 0&&(e=Ml(e,i,r)),Ml(e,n,r)+t}function th(e,t=0,n=1,r,i){e.min=jg(e.min,t,n,r,i),e.max=jg(e.max,t,n,r,i)}function I1(e,{x:t,y:n}){th(e.x,t.translate,t.scale,t.originPoint),th(e.y,n.translate,n.scale,n.originPoint)}const Fg=.999999999999,Lg=1.0000000000001;function IM(e,t,n,r=!1){var a;const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let l=0;l<i;l++){o=n[l],s=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(Xt(e.x,-o.scroll.offset.x),Xt(e.y,-o.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,I1(e,s)),r&&Pr(o.latestValues)&&Ua(e,o.latestValues,(a=o.layout)==null?void 0:a.layoutBox))}t.x<Lg&&t.x>Fg&&(t.x=1),t.y<Lg&&t.y>Fg&&(t.y=1)}function Xt(e,t){e.min+=t,e.max+=t}function Dg(e,t,n,r,i=.5){const o=le(e.min,e.max,i);th(e,t,n,o,r)}function Og(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Ua(e,t,n){const r=n??e;Dg(e.x,Og(t.x,r.x),t.scaleX,t.scale,t.originX),Dg(e.y,Og(t.y,r.y),t.scaleY,t.scale,t.originY)}function B1(e,t){return D1(OM(e.getBoundingClientRect(),t))}function BM(e,t,n){const r=B1(e,n),{scroll:i}=t;return i&&(Xt(r.x,i.offset.x),Xt(r.y,i.offset.y)),r}const HM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},VM=co.length;function _M(e,t,n){let r="",i=!0;for(let o=0;o<VM;o++){const s=co[o],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(s.startsWith("scale")?1:0);else{const u=parseFloat(a);l=s.startsWith("scale")?u===1:u===0}if(!l||n){const u=P1(a,_f[s]);if(!l){i=!1;const c=HM[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}function qf(e,t,n){const{style:r,vars:i,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if(ho.has(l)){s=!0;continue}else if(Yx(l)){i[l]=u;continue}else{const c=P1(u,_f[l]);l.startsWith("origin")?(a=!0,o[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=_M(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;r.transformOrigin=`${l} ${u} ${c}`}}function H1(e,{style:t,vars:n},r,i){const o=e.style;let s;for(s in t)o[s]=t[s];i==null||i.applyProjectionStyles(o,r);for(s in n)o.setProperty(s,n[s])}function Ig(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Eo={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(H.test(e))e=parseFloat(e);else return e;const n=Ig(e,t.target.x),r=Ig(e,t.target.y);return`${n}% ${r}%`}},WM={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Vt.parse(e);if(i.length>5)return r;const o=Vt.createTransformer(e),s=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const u=le(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}},nh={borderRadius:{...Eo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:WM};function V1(e,{layout:t,layoutId:n}){return ho.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!nh[e]||e==="opacity")}function Yf(e,t,n){var s;const r=e.style,i=t==null?void 0:t.style,o={};if(!r)return o;for(const a in r)(je(r[a])||i&&je(i[a])||V1(a,e)||((s=n==null?void 0:n.getValue(a))==null?void 0:s.liveStyle)!==void 0)&&(o[a]=r[a]);return o}function zM(e){return window.getComputedStyle(e)}class $M extends L1{constructor(){super(...arguments),this.type="html",this.renderInstance=H1}readValueFromInstance(t,n){var r;if(ho.has(n))return(r=this.projection)!=null&&r.isProjecting?Wd(n):uA(t,n);{const i=zM(t),o=(Yx(n)?i.getPropertyValue(n):i[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return B1(t,n)}build(t,n,r){qf(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Yf(t,n,r)}}const UM={offset:"stroke-dashoffset",array:"stroke-dasharray"},GM={offset:"strokeDashoffset",array:"strokeDasharray"};function KM(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?UM:GM;e[o.offset]=`${-r}`,e[o.array]=`${t} ${n}`}const qM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function _1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:s=0,...a},l,u,c){if(qf(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const f of qM)d[f]!==void 0&&(h[f]=d[f],delete d[f]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&KM(d,i,o,s,!1)}const W1=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),z1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function YM(e,t,n,r){H1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(W1.has(i)?i:Vf(i),t.attrs[i])}function $1(e,t,n){const r=Yf(e,t,n);for(const i in e)if(je(e[i])||je(t[i])){const o=co.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}class QM extends L1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Te}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ho.has(n)){const r=T1(n);return r&&r.default||0}return n=W1.has(n)?n:Vf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return $1(t,n,r)}build(t,n,r){_1(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,i){YM(t,n,r,i)}mount(t){this.isSVGTag=z1(t.tagName),super.mount(t)}}const XM=Kf.length;function U1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?U1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<XM;n++){const r=Kf[n],i=e.props[r];(bs(i)||i===!1)&&(t[r]=i)}return t}function G1(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const JM=[...Gf].reverse(),ZM=Gf.length;function ej(e){return t=>Promise.all(t.map(({animation:n,options:r})=>XA(e,n,r)))}function tj(e){let t=ej(e),n=Bg(),r=!0,i=!1;const o=u=>(c,d)=>{var f;const h=Wr(e,d,u==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:w,transitionEnd:y,...x}=h;c={...c,...x,...y}}return c};function s(u){t=u(e)}function a(u){const{props:c}=e,d=U1(e.parent)||{},h=[],f=new Set;let w={},y=1/0;for(let g=0;g<ZM;g++){const m=JM[g],v=n[m],k=c[m]!==void 0?c[m]:d[m],S=bs(k),T=m===u?v.isActive:null;T===!1&&(y=g);let C=k===d[m]&&k!==c[m]&&S;if(C&&(r||i)&&e.manuallyAnimateOnMount&&(C=!1),v.protectedKeys={...w},!v.isActive&&T===null||!k&&!v.prevProp||du(k)||typeof k=="boolean")continue;if(m==="exit"&&v.isActive&&T!==!0){v.prevResolvedValues&&(w={...w,...v.prevResolvedValues});continue}const P=nj(v.prevProp,k);let M=P||m===u&&v.isActive&&!C&&S||g>y&&S,N=!1;const I=Array.isArray(k)?k:[k];let D=I.reduce(o(m),{});T===!1&&(D={});const{prevResolvedValues:z={}}=v,L={...z,...D},$=E=>{M=!0,f.has(E)&&(N=!0,f.delete(E)),v.needsAnimating[E]=!0;const R=e.getValue(E);R&&(R.liveStyle=!1)};for(const E in L){const R=D[E],O=z[E];if(w.hasOwnProperty(E))continue;let W=!1;qd(R)&&qd(O)?W=!G1(R,O):W=R!==O,W?R!=null?$(E):f.add(E):R!==void 0&&f.has(E)?$(E):v.protectedKeys[E]=!0}v.prevProp=k,v.prevResolvedValues=D,v.isActive&&(w={...w,...D}),(r||i)&&e.blockInitialAnimation&&(M=!1);const V=C&&P;M&&(!V||N)&&h.push(...I.map(E=>{const R={type:m};if(typeof E=="string"&&(r||i)&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:O}=e,W=Wr(O,E);if(O.enteringChildren&&W){const{delayChildren:_}=W.transition||{};R.delay=m1(O.enteringChildren,e,_)}}return{animation:E,options:R}}))}if(f.size){const g={};if(typeof c.initial!="boolean"){const m=Wr(e,Array.isArray(c.initial)?c.initial[0]:c.initial);m&&m.transition&&(g.transition=m.transition)}f.forEach(m=>{const v=e.getBaseTarget(m),k=e.getValue(m);k&&(k.liveStyle=!0),g[m]=v??null}),h.push({animation:g})}let x=!!h.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,i=!1,x?t(h):Promise.resolve()}function l(u,c){var h;if(n[u].isActive===c)return Promise.resolve();(h=e.variantChildren)==null||h.forEach(f=>{var w;return(w=f.animationState)==null?void 0:w.setActive(u,c)}),n[u].isActive=c;const d=a(u);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:s,getState:()=>n,reset:()=>{n=Bg(),i=!0}}}function nj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!G1(t,e):!1}function Sr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Bg(){return{animate:Sr(!0),whileInView:Sr(),whileHover:Sr(),whileTap:Sr(),whileDrag:Sr(),whileFocus:Sr(),exit:Sr()}}function rh(e,t){e.min=t.min,e.max=t.max}function Rt(e,t){rh(e.x,t.x),rh(e.y,t.y)}function Hg(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const K1=1e-4,rj=1-K1,ij=1+K1,q1=.01,oj=0-q1,sj=0+q1;function Ge(e){return e.max-e.min}function aj(e,t,n){return Math.abs(e-t)<=n}function Vg(e,t,n,r=.5){e.origin=r,e.originPoint=le(t.min,t.max,e.origin),e.scale=Ge(n)/Ge(t),e.translate=le(n.min,n.max,e.origin)-e.originPoint,(e.scale>=rj&&e.scale<=ij||isNaN(e.scale))&&(e.scale=1),(e.translate>=oj&&e.translate<=sj||isNaN(e.translate))&&(e.translate=0)}function Ko(e,t,n,r){Vg(e.x,t.x,n.x,r?r.originX:void 0),Vg(e.y,t.y,n.y,r?r.originY:void 0)}function _g(e,t,n,r=0){const i=r?le(n.min,n.max,r):n.min;e.min=i+t.min,e.max=e.min+Ge(t)}function lj(e,t,n,r){_g(e.x,t.x,n.x,r==null?void 0:r.x),_g(e.y,t.y,n.y,r==null?void 0:r.y)}function Wg(e,t,n,r=0){const i=r?le(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Ge(t)}function jl(e,t,n,r){Wg(e.x,t.x,n.x,r==null?void 0:r.x),Wg(e.y,t.y,n.y,r==null?void 0:r.y)}function zg(e,t,n,r,i){return e-=t,e=Ml(e,1/n,r),i!==void 0&&(e=Ml(e,1/i,r)),e}function uj(e,t=0,n=1,r=.5,i,o=e,s=e){if(tn.test(t)&&(t=parseFloat(t),t=le(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=le(o.min,o.max,r);e===o&&(a-=t),e.min=zg(e.min,t,n,a,i),e.max=zg(e.max,t,n,a,i)}function $g(e,t,[n,r,i],o,s){uj(e,t[n],t[r],t[i],t.scale,o,s)}const cj=["x","scaleX","originX"],dj=["y","scaleY","originY"];function Ug(e,t,n,r){$g(e.x,t,cj,n?n.x:void 0,r?r.x:void 0),$g(e.y,t,dj,n?n.y:void 0,r?r.y:void 0)}function Gg(e){return e.translate===0&&e.scale===1}function Y1(e){return Gg(e.x)&&Gg(e.y)}function Kg(e,t){return e.min===t.min&&e.max===t.max}function hj(e,t){return Kg(e.x,t.x)&&Kg(e.y,t.y)}function qg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Q1(e,t){return qg(e.x,t.x)&&qg(e.y,t.y)}function Yg(e){return Ge(e.x)/Ge(e.y)}function Qg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Kt(e){return[e("x"),e("y")]}function fj(e,t,n){let r="";
vendor: 1,310 bytes, line 188
188const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((i||o||s)&&(r=`translate3d(${i}px, ${o}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:h,skewX:f,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}deg) `),f&&(r+=`skewX(${f}deg) `),w&&(r+=`skewY(${w}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const X1=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],pj=X1.length,Xg=e=>typeof e=="string"?parseFloat(e):e,Jg=e=>typeof e=="number"||H.test(e);function mj(e,t,n,r,i,o){i?(e.opacity=le(0,n.opacity??1,gj(r)),e.opacityExit=le(t.opacity??1,0,yj(r))):o&&(e.opacity=le(t.opacity??1,n.opacity??1,r));for(let s=0;s<pj;s++){const a=X1[s];let l=Zg(t,a),u=Zg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Jg(l)===Jg(u)?(e[a]=Math.max(le(Xg(l),Xg(u),r),0),(tn.test(u)||tn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=le(t.rotate||0,n.rotate||0,r))}function Zg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const gj=J1(0,.5,zx),yj=J1(.5,.95,bt);function J1(e,t,n){return r=>r<e?0:r>t?1:n(ws(e,t,r))}
vendor: 24,338 bytes, line 188
188function vj(e,t,n){const r=je(e)?e:Zi(e);return r.start(Bf("",r,t,n)),r.animation}function ks(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const wj=(e,t)=>e.depth-t.depth;class xj{constructor(){this.children=[],this.isDirty=!1}add(t){Pf(this.children,t),this.isDirty=!0}remove(t){Cl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(wj),this.isDirty=!1,this.children.forEach(t)}}function bj(e,t){const n=Ue.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(fr(r),e(o-t))};return ie.setup(r,!0),()=>fr(r)}function Ga(e){return je(e)?e.get():e}class kj{constructor(){this.members=[]}add(t){Pf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;(!i||i.isConnected===!1)&&!r.snapshot&&(Cl(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(Cl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let r=this.members.indexOf(t)-1;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();const{layoutDependency:o}=r.options,{layoutDependency:s}=t.options;(o===void 0||o!==s)&&(t.resumeFrom=r,n&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,r,i,o,s;(r=(n=t.options).onExitComplete)==null||r.call(n),(s=(i=t.resumingFrom)==null?void 0:(o=i.options).onExitComplete)==null||s.call(o)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const Ka={hasAnimatedSinceResize:!0,hasEverUpdated:!1},hc=["","X","Y","Z"],Sj=1e3;let Tj=0;function fc(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Z1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=x1(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ie,!(i||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Z1(r)}function eb({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=Tj++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ej),this.nodes.forEach(Fj),this.nodes.forEach(Lj),this.nodes.forEach(Nj)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new xj)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Ef),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=Uf(s)&&!PM(s),this.instance=s;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const h=()=>this.root.updateBlockedByResize=!1;ie.read(()=>{d=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==d&&(d=f,this.root.updateBlockedByResize=!0,c&&c(),c=bj(h,250),Ka.hasAnimatedSinceResize&&(Ka.hasAnimatedSinceResize=!1,this.nodes.forEach(ny)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||u.getDefaultTransition()||Hj,{onLayoutAnimationStart:y,onLayoutAnimationComplete:x}=u.getProps(),g=!this.targetLayout||!Q1(this.targetLayout,f),m=!d&&h;if(this.options.layoutRoot||this.resumeFrom||m||d&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...If(w,"layout"),onPlay:y,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(c,m)}else d||ny(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),fr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Dj),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Z1(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,(typeof d.latestValues.x=="string"||typeof d.latestValues.y=="string")&&(d.isLayoutDirty=!0),d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Aj),this.nodes.forEach(ey);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ty);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Mj),this.nodes.forEach(jj),this.nodes.forEach(Cj),this.nodes.forEach(Pj)):this.nodes.forEach(ty),this.clearAllSnapshots();const a=Ue.now();Me.delta=rn(0,1e3/60,a-Me.timestamp),Me.timestamp=a,Me.isProcessing=!0,ic.update.process(Me),ic.preRender.process(Me),ic.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zf.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Rj),this.sharedNodes.forEach(Oj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ie.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ie.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ge(this.snapshot.measuredBox.x)&&!Ge(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Te()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Y1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&this.instance&&(a||Pr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),Vj(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:s}=this.options;if(!s)return Te();const a=s.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(_j))){const{scroll:c}=this.root;c&&(Xt(a.x,c.offset.x),Xt(a.y,c.offset.y))}return a}removeElementScroll(s){var l;const a=Te();if(Rt(a,s),(l=this.scroll)!=null&&l.wasRoot)return a;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:h}=c;c!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&Rt(a,s),Xt(a.x,d.offset.x),Xt(a.y,d.offset.y))}return a}applyTransform(s,a=!1,l){var c,d;const u=l||Te();Rt(u,s);for(let h=0;h<this.path.length;h++){const f=this.path[h];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(Xt(u.x,-f.scroll.offset.x),Xt(u.y,-f.scroll.offset.y)),Pr(f.latestValues)&&Ua(u,f.latestValues,(c=f.layout)==null?void 0:c.layoutBox)}return Pr(this.latestValues)&&Ua(u,this.latestValues,(d=this.layout)==null?void 0:d.layoutBox),u}removeTransform(s){var l;const a=Te();Rt(a,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];if(!Pr(c.latestValues))continue;let d;c.instance&&(eh(c.latestValues)&&c.updateSnapshot(),d=Te(),Rt(d,c.measurePageBox())),Ug(a,c.latestValues,(l=c.snapshot)==null?void 0:l.layoutBox,d)}return Pr(this.latestValues)&&Ug(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Me.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var f;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=Me.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Te(),this.targetWithTransforms=Te()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),lj(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Rt(this.target,this.layout.layoutBox),I1(this.target,this.targetDelta)):Rt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||eh(this.parent.latestValues)||O1(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(s,a,l){this.relativeParent=s,this.linkedParentVersion=s.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Te(),this.relativeTargetOrigin=Te(),jl(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),Rt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var w;const s=this.getLead(),a=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(w=this.parent)!=null&&w.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===Me.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Rt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;IM(this.layoutCorrected,this.treeScale,this.path,a),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=Te());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Hg(this.prevProjectionDelta.x,this.projectionDelta.x),Hg(this.prevProjectionDelta.y,this.projectionDelta.y)),Ko(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!Qg(this.projectionDelta.x,this.prevProjectionDelta.x)||!Qg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Si(),this.projectionDelta=Si(),this.projectionDeltaWithTransform=Si()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=Si();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const h=Te(),f=l?l.source:void 0,w=this.layout?this.layout.source:void 0,y=f!==w,x=this.getStack(),g=!x||x.members.length<=1,m=!!(y&&!g&&this.options.crossfade===!0&&!this.path.some(Bj));this.animationProgress=0;let v;this.mixTargetDelta=k=>{const S=k/1e3;ry(d.x,s.x,S),ry(d.y,s.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jl(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ij(this.relativeTarget,this.relativeTargetOrigin,h,S),v&&hj(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Te()),Rt(v,this.relativeTarget)),y&&(this.animationValues=c,mj(c,u,this.latestValues,S,m,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(fr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ie.update(()=>{Ka.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Zi(0)),this.motionValue.jump(0,!1),this.currentAnimation=vj(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),s.onUpdate&&s.onUpdate(c)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Sj),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&tb(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Te();const d=Ge(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const h=Ge(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}Rt(a,l),Ua(a,c),Ko(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new kj),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var a;const{layoutId:s}=this.options;return s?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:s}=this.options;return s?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&fc("z",s,u,this.animationValues);for(let c=0;c<hc.length;c++)fc(`rotate${hc[c]}`,s,u,this.animationValues),fc(`skew${hc[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}applyProjectionStyles(s,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Ga(a==null?void 0:a.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Ga(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Pr(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=fj(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),s.transform=d;const{x:h,y:f}=this.projectionDelta;s.transformOrigin=`${h.origin*100}% ${f.origin*100}% 0`,u.animationValues?s.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:s.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const w in nh){if(c[w]===void 0)continue;const{correct:y,applyTo:x,isCSSVariable:g}=nh[w],m=d==="none"?c[w]:y(c[w],u);if(x){const v=x.length;for(let k=0;k<v;k++)s[x[k]]=m}else g?this.options.visualElement.renderState.vars[w]=m:s[w]=m}this.options.layoutId&&(s.pointerEvents=u===this?Ga(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(ey),this.root.sharedNodes.clear()}}}function Cj(e){e.updateLayout()}function Pj(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=t.source!==e.layout.source;if(o==="size")Kt(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],f=Ge(h);h.min=r[d].min,h.max=h.min+f});else if(o==="x"||o==="y"){const d=o==="x"?"y":"x";rh(s?t.measuredBox[d]:t.layoutBox[d],r[d])}else tb(o,t.layoutBox,r)&&Kt(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],f=Ge(r[d]);h.max=h.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+f)});const a=Si();Ko(a,r,t.layoutBox);const l=Si();s?Ko(l,e.applyTransform(i,!0),t.measuredBox):Ko(l,r,t.layoutBox);const u=!Y1(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:f}=d;if(h&&f){const w=e.options.layoutAnchor||void 0,y=Te();jl(y,t.layoutBox,h.layoutBox,w);const x=Te();jl(x,r,f.layoutBox,w),Q1(y,x)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=y,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function Ej(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Nj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Rj(e){e.clearSnapshot()}function ey(e){e.clearMeasurements()}function Aj(e){e.isLayoutDirty=!0,e.updateLayout()}function ty(e){e.isLayoutDirty=!1}function Mj(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function jj(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ny(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Fj(e){e.resolveTargetDelta()}function Lj(e){e.calcProjection()}
188function Dj(e){e.resetSkewAndRotation()}function Oj(e){e.removeLeadSnapshot()}function ry(e,t,n){e.translate=le(t.translate,0,n),e.scale=le(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function iy(e,t,n,r){e.min=le(t.min,n.min,r),e.max=le(t.max,n.max,r)}function Ij(e,t,n,r){iy(e.x,t.x,n.x,r),iy(e.y,t.y,n.y,r)}function Bj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Hj={duration:.45,ease:[.4,0,.1,1]},oy=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sy=oy("applewebkit/")&&!oy("chrome/")?Math.round:bt;function ay(e){e.min=sy(e.min),e.max=sy(e.max)}function Vj(e){ay(e.x),ay(e.y)}function tb(e,t,n){return e==="position"||e==="preserve-aspect"&&!aj(Yg(t),Yg(n),.2)}function _j(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const Wj=eb({attachResizeListener:(e,t)=>ks(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),pc={current:void 0},nb=eb({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!pc.current){const e=new Wj({});e.mount(window),e.setOptions({layoutScroll:!0}),pc.current=e}return pc.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Qf=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ly(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function zj(...e){return t=>{let n=!1;const r=e.map(i=>{const o=ly(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():ly(e[i],null)}}}}function $j(...e){return b.useCallback(zj(...e),e)}class Uj extends b.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(_a(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=_a(r)&&r.offsetWidth||0,o=_a(r)&&r.offsetHeight||0,s=getComputedStyle(n),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=n.offsetTop,a.left=n.offsetLeft,a.right=i-a.width-a.left,a.bottom=o-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Gj({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:o}){var h;const s=b.useId(),a=b.useRef(null),l=b.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=b.useContext(Qf),c=((h=e.props)==null?void 0:h.ref)??(e==null?void 0:e.ref),d=$j(a,c);return b.useInsertionEffect(()=>{const{width:f,height:w,top:y,left:x,right:g,bottom:m}=l.current;if(t||o===!1||!a.current||!f||!w)return;const v=n==="left"?`left: ${x}`:`right: ${g}`,k=r==="bottom"?`bottom: ${m}`:`top: ${y}`;a.current.dataset.motionPopId=s;const S=document.createElement("style");u&&(S.nonce=u);const T=i??document.head;return T.appendChild(S),S.sheet&&S.sheet.insertRule(` 189 [data-motion-pop-id="${s}"] { 190 position: absolute !important; 191 width: ${f}px !important; 192 height: ${w}px !important; 193 ${v}px !important; 194 ${k}px !important; 195 } 196 `),()=>{var C;(C=a.current)==null||C.removeAttribute("data-motion-pop-id"),T.contains(S)&&T.removeChild(S)}},[t]),p.jsx(Uj,{isPresent:t,childRef:a,sizeRef:l,pop:o,children:o===!1?e:b.cloneElement(e,{ref:d})})}const Kj=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:s,anchorX:a,anchorY:l,root:u})=>{const c=Cf(qj),d=b.useId();let h=!0,f=b.useMemo(()=>(h=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:w=>{c.set(w,!0);for(const y of c.values())if(!y)return;r&&r()},register:w=>(c.set(w,!1),()=>c.delete(w))}),[n,c,r]);return o&&h&&(f={...f}),b.useMemo(()=>{c.forEach((w,y)=>c.set(y,!1))},[n]),b.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=p.jsx(Gj,{pop:s==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),p.jsx(lu.Provider,{value:f,children:e})};function qj(){return new Map}function rb(e=!0){const t=b.useContext(lu);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,o=b.useId();b.useEffect(()=>{if(e)return i(o)},[e]);const s=b.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,s]:[!0]}const wa=e=>e.key||"";function uy(e){const t=[];
vendor: 5,276 bytes, line 196
196return b.Children.forEach(e,n=>{b.isValidElement(n)&&t.push(n)}),t}const Yj=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:o="sync",propagate:s=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=rb(s),h=b.useMemo(()=>uy(e),[e]),f=s&&!c?[]:h.map(wa),w=b.useRef(!0),y=b.useRef(h),x=Cf(()=>new Map),g=b.useRef(new Set),[m,v]=b.useState(h),[k,S]=b.useState(h);Mx(()=>{w.current=!1,y.current=h;for(let P=0;P<k.length;P++){const M=wa(k[P]);f.includes(M)?(x.delete(M),g.current.delete(M)):x.get(M)!==!0&&x.set(M,!1)}},[k,f.length,f.join("-")]);const T=[];if(h!==m){let P=[...h];for(let M=0;M<k.length;M++){const N=k[M],I=wa(N);f.includes(I)||(P.splice(M,0,N),T.push(N))}return o==="wait"&&T.length&&(P=T),S(uy(P)),v(h),null}const{forceRender:C}=b.useContext(Tf);return p.jsx(p.Fragment,{children:k.map(P=>{const M=wa(P),N=s&&!c?!1:h===k||f.includes(M),I=()=>{if(g.current.has(M))return;if(x.has(M))g.current.add(M),x.set(M,!0);else return;let D=!0;x.forEach(z=>{z||(D=!1)}),D&&(C==null||C(),S(y.current),s&&(d==null||d()),r&&r())};return p.jsx(Kj,{isPresent:N,initial:!w.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:u,onExitComplete:N?void 0:I,anchorX:a,anchorY:l,children:P},M)})})},ib=b.createContext({strict:!1}),cy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let dy=!1;function Qj(){if(dy)return;const e={};for(const t in cy)e[t]={isEnabled:n=>cy[t].some(r=>!!n[r])};F1(e),dy=!0}function ob(){return Qj(),FM()}function Xj(e){const t=ob();for(const n in e)t[n]={...t[n],...e[n]};F1(t)}const Jj=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Fl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Jj.has(e)}let sb=e=>!Fl(e);function Zj(e){typeof e=="function"&&(sb=t=>t.startsWith("on")?!Fl(t):e(t))}try{Zj(require("@emotion/is-prop-valid").default)}catch{}function eF(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||je(e[i])||(sb(i)||n===!0&&Fl(i)||!t&&!Fl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const fu=b.createContext({});function tF(e,t){if(hu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||bs(n)?n:void 0,animate:bs(r)?r:void 0}}return e.inherit!==!1?t:{}}function nF(e){const{initial:t,animate:n}=tF(e,b.useContext(fu));return b.useMemo(()=>({initial:t,animate:n}),[hy(t),hy(n)])}function hy(e){return Array.isArray(e)?e.join(" "):e}const Xf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ab(e,t,n){for(const r in t)!je(t[r])&&!V1(r,n)&&(e[r]=t[r])}function rF({transformTemplate:e},t){return b.useMemo(()=>{const n=Xf();return qf(n,t,e),Object.assign({},n.vars,n.style)},[t])}function iF(e,t){const n=e.style||{},r={};return ab(r,n,e),Object.assign(r,rF(e,t)),r}function oF(e,t){const n={},r=iF(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const lb=()=>({...Xf(),attrs:{}});function sF(e,t,n,r){const i=b.useMemo(()=>{const o=lb();return _1(o,t,z1(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};ab(o,e.style,e),i.style={...o,...i.style}}return i}const aF=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Jf(e){return typeof e!="string"||e.includes("-")?!1:!!(aF.indexOf(e)>-1||/[A-Z]/u.test(e))}function lF(e,t,n,{latestValues:r},i,o=!1,s){const l=(s??Jf(e)?sF:oF)(t,r,i,e),u=eF(t,typeof e=="string",o),c=e!==b.Fragment?{...u,...l,ref:n}:{},{children:d}=t,h=b.useMemo(()=>je(d)?d.get():d,[d]);return b.createElement(e,{...c,children:h})}function uF({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:cF(n,r,i,e),renderState:t()}}function cF(e,t,n,r){const i={},o=r(e,{});for(const h in o)i[h]=Ga(o[h]);let{initial:s,animate:a}=e;const l=hu(e),u=M1(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!du(d)){const h=Array.isArray(d)?d:[d];for(let f=0;f<h.length;f++){const w=Hf(e,h[f]);if(w){const{transitionEnd:y,transition:x,...g}=w;for(const m in g){let v=g[m];
vendor: 22,062 bytes, line 196
196if(Array.isArray(v)){const k=c?v.length-1:0;v=v[k]}v!==null&&(i[m]=v)}for(const m in y)i[m]=y[m]}}}return i}const ub=e=>(t,n)=>{const r=b.useContext(fu),i=b.useContext(lu),o=()=>uF(e,t,r,i);return n?o():Cf(o)},dF=ub({scrapeMotionValuesFromProps:Yf,createRenderState:Xf}),hF=ub({scrapeMotionValuesFromProps:$1,createRenderState:lb}),fF=Symbol.for("motionComponentSymbol");function pF(e,t,n){const r=b.useRef(n);b.useInsertionEffect(()=>{r.current=n});const i=b.useRef(null);return b.useCallback(o=>{var a;o&&((a=e.onMount)==null||a.call(e,o));const s=r.current;if(typeof s=="function")if(o){const l=s(o);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):s(o);else s&&(s.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const cb=b.createContext({});function li(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function mF(e,t,n,r,i,o){var v,k;const{visualElement:s}=b.useContext(fu),a=b.useContext(ib),l=b.useContext(lu),u=b.useContext(Qf),c=u.reducedMotion,d=u.skipAnimations,h=b.useRef(null),f=b.useRef(!1);r=r||a.renderer,!h.current&&r&&(h.current=r(e,{visualState:t,parent:s,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:o}),f.current&&h.current&&(h.current.manuallyAnimateOnMount=!0));const w=h.current,y=b.useContext(cb);w&&!w.projection&&i&&(w.type==="html"||w.type==="svg")&&gF(h.current,n,i,y);const x=b.useRef(!1);b.useInsertionEffect(()=>{w&&x.current&&w.update(n,l)});const g=n[w1],m=b.useRef(!!g&&typeof window<"u"&&!((v=window.MotionHandoffIsComplete)!=null&&v.call(window,g))&&((k=window.MotionHasOptimisedAnimation)==null?void 0:k.call(window,g)));return Mx(()=>{f.current=!0,w&&(x.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),m.current&&w.animationState&&w.animationState.animateChanges())}),b.useEffect(()=>{w&&(!m.current&&w.animationState&&w.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,g)}),m.current=!1),w.enteringChildren=void 0)}),w}function gF(e,t,n,r){const{layoutId:i,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:db(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!s||a&&li(a),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}function db(e){if(e)return e.options.allowProjection!==!1?e.projection:db(e.parent)}function mc(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Xj(r);const o=n?n==="svg":Jf(e),s=o?hF:dF;function a(u,c){let d;const h={...b.useContext(Qf),...u,layoutId:yF(u)},{isStatic:f}=h,w=nF(u),y=s(u,f);if(!f&&typeof window<"u"){vF();const x=wF(h);d=x.MeasureLayout,w.visualElement=mF(e,y,h,i,x.ProjectionNode,o)}return p.jsxs(fu.Provider,{value:w,children:[d&&w.visualElement?p.jsx(d,{visualElement:w.visualElement,...h}):null,lF(e,u,pF(y,w.visualElement,c),y,f,t,o)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=b.forwardRef(a);return l[fF]=e,l}function yF({layoutId:e}){const t=b.useContext(Tf).id;return t&&e!==void 0?t+"-"+e:e}function vF(e,t){b.useContext(ib).strict}function wF(e){const t=ob(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function xF(e,t){if(typeof Proxy>"u")return mc;const n=new Map,r=(o,s)=>mc(o,s,e,t),i=(o,s)=>r(o,s);return new Proxy(i,{get:(o,s)=>s==="create"?r:(n.has(s)||n.set(s,mc(s,void 0,e,t)),n.get(s))})}const bF=(e,t)=>t.isSVG??Jf(e)?new QM(t):new $M(t,{allowProjection:e!==b.Fragment});class kF extends vr{constructor(t){super(t),t.animationState||(t.animationState=tj(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();du(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let SF=0;class TF extends vr{constructor(){super(...arguments),this.id=SF++,this.isExitComplete=!1}update(){var o;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){const{initial:s,custom:a}=this.node.getProps();if(typeof s=="string"){const l=Wr(this.node,s,a);if(l){const{transition:u,transitionEnd:c,...d}=l;for(const h in d)(o=this.node.getValue(h))==null||o.jump(d[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const CF={animation:{Feature:kF},exit:{Feature:TF}};function Is(e){return{point:{x:e.pageX,y:e.pageY}}}const PF=e=>t=>$f(t)&&e(t,Is(t));function qo(e,t,n,r){return ks(e,t,PF(n),r)}const hb=({current:e})=>e?e.ownerDocument.defaultView:null,fy=(e,t)=>Math.abs(e-t);function EF(e,t){const n=fy(e.x,t.x),r=fy(e.y,t.y);return Math.sqrt(n**2+r**2)}const py=new Set(["auto","scroll"]);class fb{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=xa(this.lastRawMoveEventInfo,this.transformPagePoint));const f=gc(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,y=EF(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!y)return;const{point:x}=f,{timestamp:g}=Me;this.history.push({...x,timestamp:g});const{onStart:m,onMove:v}=this.handlers;w||(m&&m(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,f)},this.handlePointerMove=(f,w)=>{this.lastMoveEvent=f,this.lastRawMoveEventInfo=w,this.lastMoveEventInfo=xa(w,this.transformPagePoint),ie.update(this.updatePoint,!0)},this.handlePointerUp=(f,w)=>{this.end();const{onEnd:y,onSessionEnd:x,resumeAnimation:g}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const m=gc(f.type==="pointercancel"?this.lastMoveEventInfo:xa(w,this.transformPagePoint),this.history);this.startEvent&&y&&y(f,m),x&&x(f,m)},!$f(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const l=Is(t),u=xa(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=Me;this.history=[{...c,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,gc(u,this.history)),this.removeListeners=Ls(qo(this.contextWindow,"pointermove",this.handlePointerMove),qo(this.contextWindow,"pointerup",this.handlePointerUp),qo(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(py.has(r.overflowX)||py.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:i.x-n.x,y:i.y-n.y};o.x===0&&o.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,i),ie.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),fr(this.updatePoint)}}function xa(e,t){return t?{point:t(e.point)}:e}function my(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gc({point:e},t){return{point:e,delta:my(e,pb(t)),offset:my(e,NF(t)),velocity:RF(t,.1)}}function NF(e){return e[0]}function pb(e){return e[e.length-1]}function RF(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=pb(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>rt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>rt(t)*2&&(r=e[1]);const o=wt(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function AF(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?le(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?le(n,e,r.max):Math.min(e,n)),e}function gy(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function MF(e,{top:t,left:n,bottom:r,right:i}){return{x:gy(e.x,n,i),y:gy(e.y,t,r)}}function yy(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function jF(e,t){return{x:yy(e.x,t.x),y:yy(e.y,t.y)}}function FF(e,t){let n=.5;const r=Ge(e),i=Ge(t);return i>r?n=ws(t.min,t.max-r,e.min):r>i&&(n=ws(e.min,e.max-i,t.min)),rn(0,1,n)}function LF(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ih=.35;function DF(e=ih){return e===!1?e=0:e===!0&&(e=ih),{x:vy(e,"left","right"),y:vy(e,"top","bottom")}}function vy(e,t,n){return{min:wy(e,t),max:wy(e,n)}}function wy(e,t){return typeof e=="number"?e:e[t]||0}const OF=new WeakMap;class IF{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Te(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=d=>{n&&this.snapToCursor(Is(d).point),this.stopAnimation()},s=(d,h)=>{const{drag:f,dragPropagation:w,onDragStart:y}=this.getProps();if(f&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=uM(f),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Kt(g=>{let m=this.getAxisMotionValue(g).get()||0;if(tn.test(m)){const{projection:v}=this.visualElement;if(v&&v.layout){const k=v.layout.layoutBox[g];k&&(m=Ge(k)*(parseFloat(m)/100))}}this.originPoint[g]=m}),y&&ie.update(()=>y(d,h),!1,!0),Yd(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:f,dragDirectionLock:w,onDirectionLock:y,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:g}=h;if(w&&this.currentDirection===null){this.currentDirection=HF(g),this.currentDirection!==null&&y&&y(this.currentDirection);return}this.updateAxis("x",h.point,g),this.updateAxis("y",h.point,g),this.visualElement.render(),x&&ie.update(()=>x(d,h),!1,!0)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new fb(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:hb(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!r)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&ie.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!ba(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=AF(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var o;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(o=this.visualElement.projection)==null?void 0:o.layout,i=this.constraints;t&&li(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=MF(r.layoutBox,t):this.constraints=!1,this.elastic=DF(n),i!==this.constraints&&!li(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Kt(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=LF(r.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!li(t))return!1;const r=t.current;Xi(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=BM(r,i.root,this.visualElement.getTransformPagePoint());let s=jF(i.layout.layoutBox,o);if(n){const a=n(DM(s));this.hasMutatedConstraints=!!a,a&&(s=D1(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Kt(c=>{if(!ba(c,n,this.currentDirection))return;let d=l&&l[c]||{};(s===!0||s===c)&&(d={min:0,max:0});const h=i?200:1e6,f=i?40:1e7,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Yd(this.visualElement,t),r.start(Bf(t,r,0,n,this.visualElement,!1))}stopAnimation(){Kt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Kt(n=>{const{drag:r}=this.getProps();if(!ba(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n],l=o.get()||0;o.set(t[n]-le(s,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!li(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Kt(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=FF({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Kt(s=>{if(!ba(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(le(l,u,i[s]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;OF.set(this.visualElement,this);const t=this.visualElement.current,n=qo(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),h=u.target,f=h!==t&&mM(h);c&&d&&!f&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();li(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=BF(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,s=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),ie.read(i);const a=ks(window,"resize",()=>this.scalePositionWithinConstraints()),l=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Kt(d=>{const h=this.getAxisMotionValue(d);h&&(this.originPoint[d]+=u[d].translate,h.set(h.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=ih,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function xy(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function BF(e,t,n){const r=Eg(e,xy(n)),i=Eg(t,xy(n));return()=>{r(),i()}}function ba(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function HF(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class VF extends vr{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new IF(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const yc=e=>(t,n)=>{e&&ie.update(()=>e(t,n),!1,!0)};class _F extends vr{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new fb(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hb(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:yc(t),onStart:yc(n),onMove:yc(r),onEnd:(o,s)=>{delete this.session,i&&ie.postRender(()=>i(o,s))}}}mount(){this.removePointerDownListener=qo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let vc=!1;class WF extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),vc&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ka.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,{projection:s}=r;return s&&(s.isPresent=o,t.layoutDependency!==n&&s.setOptions({...s.options,layoutDependency:n}),vc=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==o?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||ie.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:n}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=n,r.root.didUpdate(),zf.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;vc=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function mb(e){const[t,n]=rb(),r=b.useContext(Tf);return p.jsx(WF,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(cb),isPresent:t,safeToRemove:n})}const zF={pan:{Feature:_F},drag:{Feature:VF,ProjectionNode:nb,MeasureLayout:mb}};function by(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,o=r[i];o&&ie.postRender(()=>o(t,Is(t)))}class $F extends vr{mount(){const{current:t}=this.node;t&&(this.unmount=dM(t,(n,r)=>(by(this.node,r,"Start"),i=>by(this.node,i,"End"))))}unmount(){}}class UF extends vr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ls(ks(this.node.current,"focus",()=>this.onFocus()),ks(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ky(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),o=r[i];o&&ie.postRender(()=>o(t,Is(t)))}class GF extends vr{mount(){const{current:t}=this.node;if(!t)return;
196const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=yM(t,(i,o)=>(ky(this.node,o,"Start"),(s,{success:a})=>ky(this.node,s,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const oh=new WeakMap,wc=new WeakMap,KF=e=>{const t=oh.get(e.target);t&&t(e)},qF=e=>{e.forEach(KF)};function YF({root:e,...t}){const n=e||document;wc.has(n)||wc.set(n,{});const r=wc.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(qF,{root:e,...t})),r[i]}function QF(e,t,n){const r=YF(t);return oh.set(e,n),r.observe(e),()=>{oh.delete(e),r.unobserve(e)}}const XF={some:0,all:1};class JF extends vr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var l;(l=this.stopObserver)==null||l.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:XF[i]},a=u=>{const{isIntersecting:c}=u;if(this.isInView===c||(this.isInView=c,o&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:d,onViewportLeave:h}=this.node.getProps(),f=c?d:h;f&&f(u)};this.stopObserver=QF(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ZF(t,n))&&this.startObserver()}unmount(){var t;(t=this.stopObserver)==null||t.call(this),this.hasEnteredView=!1,this.isInView=!1}}function ZF({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const eL={inView:{Feature:JF},tap:{Feature:GF},focus:{Feature:UF},hover:{Feature:$F}},tL={layout:{ProjectionNode:nb,MeasureLayout:mb}},nL={...CF,...eL,...zF,...tL},Y=xF(nL,bF),rL={some:0,all:1};function iL(e,t,{root:n,margin:r,amount:i="some"}={}){const o=Wf(e),s=new WeakMap,a=u=>{u.forEach(c=>{const d=s.get(c.target);if(c.isIntersecting!==!!d)if(c.isIntersecting){const h=t(c.target,c);typeof h=="function"?s.set(c.target,h):l.unobserve(c.target)}else typeof d=="function"&&(d(c),s.delete(c.target))})},l=new IntersectionObserver(a,{root:n,rootMargin:r,threshold:typeof i=="number"?i:rL[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}function Zf(e,{root:t,margin:n,amount:r,once:i=!1,initial:o=!1}={}){const[s,a]=b.useState(o);return b.useEffect(()=>{if(!e.current||i&&s)return;const l=()=>(a(!0),i?void 0:()=>a(!1)),u={root:t&&t.current||void 0,margin:n,amount:r};return iL(e.current,l,u)},[t,e,n,i,r]),s}const gb="/assets/logo-light-rH4mykvt.png",xc=[{label:"Home",href:"/",isRoute:!0},{label:"Accommodations",href:"/accommodations",isRoute:!0},{label:"Journal",href:"/journal",isRoute:!0}],Jr=()=>{const[e,t]=b.useState(!1),[n,r]=b.useState(!1);b.useEffect(()=>{const o=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",o),()=>window.removeEventListener("scroll",o)},[]);const i=({item:o})=>o.isRoute?p.jsx(nt,{to:o.href,className:"nav-link",children:o.label}):p.jsx("a",{href:o.href,className:"nav-link",children:o.label});return p.jsxs(p.Fragment,{children:[p.jsx(Y.header,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.6},className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 ${e?"bg-espresso/95 backdrop-blur-sm py-3":"bg-transparent py-6"}`,children:p.jsxs("div",{className:"container mx-auto px-6 flex items-center justify-between",children:[p.jsx(nt,{to:"/",className:"flex items-center",children:p.jsx("img",{src:gb,alt:"Gale River House",className:"h-12 md:h-16 w-auto"})}),p.jsx("nav",{className:"hidden lg:flex items-center gap-10",children:xc.map(o=>p.jsx(i,{item:o},o.label))}),p.jsxs("div",{className:"flex items-center gap-4",children:[p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"hidden sm:block px-8 py-3.5 text-sm uppercase tracking-[0.2em] font-semibold bg-cream text-espresso hover:bg-beige transition-all duration-300 shadow-md",children:"Reserve"}),p.jsx("button",{onClick:()=>r(!n),className:"lg:hidden p-2 text-cream","aria-label":"Toggle menu",children:n?p.jsx(Rw,{size:24}):p.jsx(zC,{size:24})})]})]})}),p.jsx(Yj,{children:n&&p.jsx(Y.div,{initial:{opacity:0,y:-10}
196,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3},className:"fixed inset-0 z-40 bg-espresso pt-24",children:p.jsxs("nav",{className:"flex flex-col items-center gap-8 p-8",children:[xc.map((o,s)=>p.jsx(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:s*.1},onClick:()=>r(!1),children:o.isRoute?p.jsx(nt,{to:o.href,className:"text-2xl font-display text-cream hover:text-beige transition-colors",children:o.label}):p.jsx("a",{href:o.href,className:"text-2xl font-display text-cream hover:text-beige transition-colors",children:o.label})},o.label)),p.jsx(Y.a,{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:xc.length*.1},onClick:()=>r(!1),className:"mt-4 btn-primary",children:"Reserve Your Stay"})]})})})]})},oL="/assets/hero-inn-summer-AGfuli7w.jpg",sL="/assets/symbol-flower-light-COoy_f69.png",aL=()=>p.jsxs("section",{id:"home",className:"relative h-screen min-h-[700px] overflow-hidden",children:[p.jsxs("div",{className:"absolute inset-0",children:[p.jsx("img",{src:oL,alt:"Gale River House interior",className:"w-full h-full object-cover",style:{objectPosition:"center 60%",transform:"scale(1.15)",transformOrigin:"center 60%"}}),p.jsx("div",{className:"image-overlay"})]}),p.jsx(Y.img,{src:sL,alt:"",className:"absolute bottom-24 left-8 w-16 h-24 object-contain opacity-20 hidden lg:block",initial:{opacity:0,y:20},animate:{opacity:.2,y:0},transition:{duration:1,delay:1.2}}),p.jsxs("div",{className:"relative z-10 h-full flex flex-col items-center justify-center px-6",children:[p.jsxs(Y.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1,delay:.3},className:"text-center",children:[p.jsx("img",{src:gb,alt:"Gale River House",className:"h-48 md:h-64 lg:h-80 w-auto mb-4"}),p.jsx("p",{className:"font-display text-xl md:text-2xl text-beige mt-6 italic",children:"Warmth & Mountain Charm"})]}),p.jsx(Y.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},className:"mt-12",children:p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-primary",children:"Book Now"})})]})]}),lL="/assets/room-interior-DU5TVIzo.jpg",uL="/assets/symbol-bird-olive-Bx8lyq3q.png",cL=()=>{const e=b.useRef(null),t=Zf(e,{once:!0,margin:"-100px"});return p.jsx("section",{id:"about",className:"py-24 md:py-32 bg-background",children:p.jsx("div",{className:"container mx-auto px-6",children:p.jsxs("div",{ref:e,className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[p.jsxs(Y.div,{initial:{opacity:0,x:-50},animate:t?{opacity:1,x:0}:{},transition:{duration:.8},className:"relative",children:[p.jsx("img",{src:lL,alt:"Gale River House room",className:"w-full h-[500px] object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-espresso/20 to-transparent"}),p.jsx(Y.img,{src:uL,alt:"Bird symbol",className:"absolute -bottom-6 -right-6 w-24 h-24 object-contain opacity-70 hidden lg:block",initial:{opacity:0,scale:.8},animate:t?{opacity:.7,scale:1}:{},transition:{duration:.8,delay:.4}})]}),p.jsxs(Y.div,{initial:{opacity:0,x:50},animate:t?{opacity:1,x:0}:{},transition:{duration:.8,delay:.2},children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Welcome"}),p.jsxs("h2",{className:"section-title mb-6",children:["Welcome to",p.jsx("br",{}),"Gale River House"]}),p.jsx("div",{className:"elegant-divider mb-8 mx-0"}),p.jsx("p",{className:"text-foreground/80 leading-relaxed mb-6 font-body",children:"Nestled along the quiet bends of the Gale River, the Gale River House invites travelers to pause, breathe, and rediscover the wonder of wandering. Once a simple roadside motel, the house has been reimagined as a cozy hideaway for modern explorers."}),p.jsx("p",{className:"text-foreground/80 leading-relaxed mb-8 font-body",children:"Each room whispers a story â a pressed flower in a drawer, a journal sketch by the window, a map tracing forgotten trails. The Gale River House is more than a place to stay; it's a gentle invitation to slow down, explore deeply, and feel part of the landscape itself."}),p.jsx(nt,{to:"/accommodations",className:"btn-primary inline-block",children:"Explore Rooms"})]})]})})})},dL="/assets/symbol-flower-olive-DXcurAAb.png",hL=[{icon:HC,title:"Rooms and Cottages",description:"Cozy cottages and rooms with queen beds, offering simple c
196omfort and New England charm for a restful stay."},{icon:_C,title:"Self Check-In",description:"As a staff-lite property without a front desk, we offer seamless self check-in so you can arrive and settle in on your own schedule, day or night."},{icon:Fo,title:"Mountain Views & Local Experiences",description:"Take in the Franconia Notch mountain backdrop and explore nearby experiences like hiking Cannon Mountain, Franconia Notch State Park, and charming New England towns."},{icon:UC,title:"Outdoor Pool with Franconia Notch Views",description:"Cool off in our seasonal outdoor pool while taking in sweeping views of Franconia Notch â a refreshing mountain escape on warm summer days."}],fL=()=>{const e=b.useRef(null),t=Zf(e,{once:!0,margin:"-100px"});return p.jsxs("section",{id:"stay",className:"py-24 md:py-32 bg-secondary relative overflow-hidden",children:[p.jsx(Y.img,{src:dL,alt:"",className:"absolute top-12 right-8 w-20 h-28 object-contain opacity-20 hidden lg:block",initial:{opacity:0},whileInView:{opacity:.2},transition:{duration:1},viewport:{once:!0}}),p.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[p.jsxs(Y.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.8},className:"text-center mb-16",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Experience"}),p.jsx("h2",{className:"section-title",children:"Amenities & Experiences"}),p.jsx("div",{className:"elegant-divider mt-6"})]}),p.jsx("div",{ref:e,className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:hL.map((n,r)=>p.jsxs(Y.div,{initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.6,delay:r*.15},className:"feature-card text-center",children:[p.jsx(n.icon,{className:"w-10 h-10 mx-auto mb-6 text-olive",strokeWidth:1.5}),p.jsx("h3",{className:"font-display text-xl text-espresso mb-3",children:n.title}),p.jsx("p",{className:"text-foreground/70 font-body text-sm leading-relaxed",children:n.description})]},n.title))})]})]})},pL="/assets/logo-dark-Ceuyy4Gq.png",Zr=()=>p.jsx("footer",{id:"reserve",className:"bg-cream-dark py-20 md:py-28",children:p.jsxs("div",{className:"container mx-auto px-6",children:[p.jsxs("div",{className:"grid lg:grid-cols-3 gap-12 lg:gap-20 mb-16",children:[p.jsxs(Y.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},children:[p.jsx("img",{src:pL,alt:"Gale River House",className:"h-20 w-auto mb-6"}),p.jsx("p",{className:"text-foreground/70 font-body text-sm leading-relaxed max-w-xs",children:"A boutique house along the Gale River in the heart of New Hampshire's White Mountains. Cozy cottages and mountain view rooms for one unforgettable experience."})]}),p.jsxs(Y.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.1},viewport:{once:!0},children:[p.jsx("h4",{className:"font-display text-xl text-espresso mb-6",children:"Contact"}),p.jsxs("div",{className:"space-y-4",children:[p.jsxs("a",{className:"flex items-center gap-3 text-foreground/70 hover:text-espresso transition-colors font-body text-sm",href:"",children:[p.jsx($C,{size:16,strokeWidth:1.5}),"(603) 823-5655"]}),p.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 text-foreground/70 hover:text-espresso transition-colors font-body text-sm",children:[p.jsx(WC,{size:16,strokeWidth:1.5}),"[email protected]"]}),p.jsxs("div",{className:"flex items-start gap-3 text-foreground/70 font-body text-sm",children:[p.jsx(Nw,{size:16,strokeWidth:1.5,className:"mt-1 flex-shrink-0"}),p.jsxs("span",{children:["1 Main Street",p.jsx("br",{}),"Franconia, NH 03580"]})]})]})]}),p.jsxs(Y.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.2},viewport:{once:!0},children:[p.jsx("h4",{className:"font-display text-xl text-espresso mb-6",children:"Reserve Your Stay"}),p.jsx("p",{className:"text-foreground/70 font-body text-sm leading-relaxed mb-6",children:"Book directly for our best available rates."}),p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-primary inline-block mb-8",children:"Check Availability"}),p.jsx("div",{className:"flex gap-4",children:p.jsx("a",{href:"https://www.instagram.com/galeriverhouse/",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 flex items-center justify-center border border-espresso/30 text-espresso hover:bg-espresso hover:text-cream transition-all duration-300","aria-label":"Instagram",children:p.jsx(VC,{size:18,strokeWidth:1.5})})})]})]}),p.jsx("div",{className:"pt-8 border-t border-espresso/10 flex flex-col md:flex-row justify-between items-center gap-4",children:p.jsxs("p",{className:"text-foreground
196/50 font-body text-xs",children:["© 2024 Gale River House. All rights reserved. ·"," ",p.jsx("a",{href:"/terms",className:"hover:text-espresso underline underline-offset-2",children:"Terms & Conditions"})]})})]})}),mL=()=>p.jsxs("main",{className:"overflow-x-hidden",children:[p.jsx(Jr,{}),p.jsx(aL,{}),p.jsx(cL,{}),p.jsx(fL,{}),p.jsx(Zr,{})]}),gL="/assets/room-standard-BxmW5NyH.webp",yb="/assets/room-mountain-view-vxQRfCa2.jpg",vb="/assets/room-summit-view-lIR4FAsT.jpg",wb="/assets/room-heritage-view-Bj1V2FDa.jpg",yL=1,vL="fb210dbb-c666-4a14-b47b-7b75237f7a0e",wL="366f5723-b53b-4d30-806f-4116e654919a",xL="/__l5e/assets-v1/fb210dbb-c666-4a14-b47b-7b75237f7a0e/cottage-cover.avif",bL="a/v1/366f5723-b53b-4d30-806f-4116e654919a/fb210dbb-c666-4a14-b47b-7b75237f7a0e/cottage-cover.avif",kL="cottage-cover.avif",SL=66394,TL="image/avif",CL="2026-08-20T19:54:58Z",xb={version:yL,asset_id:vL,project_id:wL,url:xL,r2_key:bL,original_filename:kL,size:SL,content_type:TL,created_at:CL},PL=[{id:"cottages",name:"Summit Keeper's Cottage",description:"Our standalone Summit Keeper's Cottage offers privacy and space with all the comforts of home. Perfect for families or couples seeking a cozy New England retreat surrounded by nature, with a fully equipped kitchen, two bedrooms, a covered porch, and a fire pit on the lawn.",image:xb.url,amenities:["Queen Bed","Private Entrance","Full Kitchen","Free WiFi","Heating & Cooling","Flat Screen TV","Pet Friendly"],slug:"/accommodations/cottages"}
196,{id:"mountain-view-room",name:"Ridgeline Mountain View Room",description:"Wake up to stunning views of the White Mountains in our Mountain View rooms. These rooms offer all the comfort of our standard rooms with the added bonus of breathtaking mountain vistas.",image:yb,amenities:["Queen Bed","Mountain Views","Private Bathroom","Free WiFi","Air Conditioning","Flat Screen TV","Pet Friendly"],slug:"/accommodations/mountain-view-room"},{id:"mountain-view-room-2",name:"Summit Mountain View Room",description:"Our most spacious retreat, the Summit room pairs a plush king bed with sweeping views of the surrounding peaks. Thoughtfully appointed with hand-picked botanical art, vintage finds, and a cozy sitting area â the perfect base camp after a day in the White Mountains.",image:vb,amenities:["King Bed","Mountain Views","Sitting Area","Private Bathroom","Free WiFi","Air Conditioning","Pet Friendly"],slug:"/accommodations/summit-mountain-view-room"},{id:"mountain-view-room-3",name:"Heritage Mountain View Room",description:"A spacious double-bed retreat perfect for families or friends, the Heritage room blends vintage White Mountain charm with modern comfort. Cozy quilts, curated wall art, and a sunlit window nook make this a welcoming home base for your stay.",image:wb,amenities:["Two Queen Beds","Mountain Vie
196ws","Sitting Nook","Private Bathroom","Free WiFi","Air Conditioning","Pet Friendly"],slug:"/accommodations/heritage-mountain-view-room"}],EL=({room:e,index:t})=>{const n=b.useRef(null),r=Zf(n,{once:!0,margin:"-100px"});return p.jsxs(Y.div,{ref:n,initial:{opacity:0,y:50},animate:r?{opacity:1,y:0}:{},transition:{duration:.8,delay:t*.2},className:`grid md:grid-cols-2 gap-8 lg:gap-16 items-center ${t%2===1?"md:flex-row-reverse":""}`,children:[p.jsx("div",{className:`${t%2===1?"md:order-2":""}`,children:p.jsx("div",{className:"overflow-hidden",children:p.jsx("img",{src:e.image,alt:e.name,className:"w-full h-[400px] object-cover object-top translate-y-8 scale-[1.08] hover:scale-[1.13] transition-transform duration-700"})})}),p.jsxs("div",{className:`space-y-6 ${t%2===1?"md:order-1":""}`,children:[p.jsx("h2",{className:"font-display text-3xl lg:text-4xl text-espresso",children:e.name}),p.jsx("p",{className:"text-espresso/80 leading-relaxed",children:e.description}),p.jsx("div",{className:"flex flex-wrap gap-3",children:e.amenities.map(i=>p.jsx("span",{className:"px-4 py-2 bg-sage/20 text-olive text-sm",children:i},i))}),p.jsxs("div",{className:"flex gap-4 pt-4",children:[p.jsx(nt,{to:e.slug,className:"btn-primary",children:"View Details"}),p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-secondary",children:"Book Now"})]})]})]})},NL=()=>p.jsxs("div",{className:"min-h-screen bg-beige",children:[p.jsx(Jr,{}),p.jsxs("section",{className:"relative h-[50vh] flex items-center justify-center",children:[p.jsxs("div",{className:"absolute inset-0",children:[p.jsx("img",{src:gL,alt:"Accommodations",className:"w-full h-full object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-espresso/50"})]}),p.jsxs(Y.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center",children:[p.jsx("p",{className:"text-cream/80 uppercase tracking-[0.3em] text-sm mb-4",children:"Your Stay Awaits"}),p.jsx("h1",{className:"hero-title text-cream",children:"Accommodations"}),p.jsx("p",{className:"mt-6 text-cream/90 font-body max-w-2xl mx-auto",children:"Pet friendly, always. Every room welcomes your dog â with miles of trails, quiet country roads, and the Gale River just steps away."})]})]}),p.jsx("section",{className:"py-20 lg:py-32",children:p.jsx("div",{className:"container mx-auto px-6",children:p.jsx("div",{className:"space-y-24 lg:space-y-32",children:PL.map((e,t)=>p.jsx(EL,{room:e,index:t},e.id))})})}),p.jsx(Zr,{})]}),RL="/assets/room-ridgeline-bath-BmS2iDej.jpg",AL="/assets/room-ridgeline-beds-Bk8B_erm.jpg",ML="/assets/room-ridgeline-decor-BGvoYJ6n.jpg",jL="/assets/cottage-exterior-BFQ8GuEx.jpg",FL="/assets/cottage-living-Bod4In6W.jpg",LL="/assets/cottage-bedroom-C3a6eW_H.jpg",DL="/assets/cottage-bedroom-2-CvPg-XUu.jpg",OL="/assets/cottage-kitchen-D4vJzqoD.jpg",IL="/assets/cottage-porch-BEbbcS3G.jpg",BL="/assets/cottage-firepit-C5NIEVVz.jpg",HL="/assets/cottage-lawn-B_8XAMGa.jpg",VL={cottages:{name:"Summit Keeper's Cottage",tagline:"Your Private Retreat",description:"Our standalone Summit Keeper's Cottage offers privacy and space with all the comforts of home. Perfect for families or couples seeking a cozy New England retreat surrounded by nature.",longDescription:"Escape to your own private cottage nestled among the trees. The Summit Keeper's Cottage features a fully equipped kitchen, a comfortable living room, two bedrooms, and a covered porch made for slow mornings. Outside you'll find a stone fire pit, lounge chairs, and a lawn set up for croquet. Enjoy the freedom of your own schedule with self check-in.",images:[xb.url,FL,jL,IL,OL,LL,DL,BL,HL],amenities:[{icon:ua,label:"Queen Bed"},{icon:Fo,label:"Private Entrance"},{icon:la,label:"Full Kitchen"},{icon:ha,label:"Free WiFi"},{icon:fa,label:"Heating & Cooling"},{icon:da,label:"Flat Screen TV"},{icon:ca,label:"Pet Friendly"}],bookingUrl:"https://us2.cloudbeds.com/reservation/3oudQI"}
196,"mountain-view-room":{name:"Ridgeline Mountain View Room",tagline:"Wake Up to the Mountains",description:"Wake up to stunning views of the White Mountains in our Mountain View rooms. These rooms offer all the comfort of our standard rooms with the added bonus of breathtaking mountain vistas right from your window.",longDescription:"Experience the magic of the White Mountains from the comfort of your room. Our Mountain View rooms feature large windows that frame the stunning Franconia Notch landscape, allowing you to enjoy the natural beauty from the moment you wake. Complete with premium amenities and our signature New England charm.",images:[yb,AL,ML,RL],amenities:[{icon:ua,label:"Queen Bed"},{icon:Fo,label:"Mountain Views"},{icon:la,label:"Private Bathroom"},{icon:ha,label:"Free WiFi"},{icon:fa,label:"Air Conditioning"},{icon:da,label:"Flat Screen TV"},{icon:ca,label:"Pet Friendly"}],bookingUrl:"https://us2.cloudbeds.com/reservation/3oudQI"},"summit-mountain-view-room":{name:"Summit Mountain View Room",tagline:"Our Most Spacious Retreat",description:"Our most spacious retreat, the Summit room pairs a plush king bed with sweeping views of the surrounding peaks. The perfect base camp after a day in the White Mountains.",longDescription:"Thoughtfully appointed with hand-picked botanical art, vintage finds, and a cozy sitting area, the Summit Mountain Vie
196w Room offers room to spread out and unwind. Wake to soft morning light through the window, enjoy coffee at the bistro table, and end the day curled up beneath layers of locally inspired linens.",images:[vb],amenities:[{icon:ua,label:"King Bed"},{icon:Fo,label:"Mountain Views"},{icon:la,label:"Private Bathroom"},{icon:ha,label:"Free WiFi"},{icon:fa,label:"Air Conditioning"},{icon:da,label:"Sitting Area"},{icon:ca,label:"Pet Friendly"}],bookingUrl:"https://us2.cloudbeds.com/reservation/3oudQI"},"heritage-mountain-view-room":{name:"Heritage Mountain View Room",tagline:"Vintage Charm, Modern Comfort",description:"A spacious double-bed retreat perfect for families or friends, the Heritage room blends vintage White Mountain charm with modern comfort.",longDescription:"Two queen beds dressed in botanical quilts, a sunlit window nook with cane chairs, and curated vintage maps and prints honor the heritage of the White Mountains. Spread out, settle in, and let the soft sage walls and warm wood tones welcome you home after a day exploring Franconia Notch.",images:[wb],amenities:[{icon:ua,label:"Two Queen Beds"}
196,{icon:Fo,label:"Mountain Views"},{icon:la,label:"Private Bathroom"},{icon:ha,label:"Free WiFi"},{icon:fa,label:"Air Conditioning"},{icon:da,label:"Sitting Nook"},{icon:ca,label:"Pet Friendly"}],bookingUrl:"https://us2.cloudbeds.com/reservation/3oudQI"}},_L=()=>{const{roomSlug:e}=Ex(),t=VL[e];return t?p.jsxs("div",{className:"min-h-screen bg-beige",children:[p.jsx(Jr,{}),p.jsxs("section",{className:"relative h-[60vh] flex items-end",children:[p.jsxs("div",{className:"absolute inset-0",children:[p.jsx("img",{src:t.images[0],alt:t.name,className:"w-full h-full object-cover"}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-espresso/70 via-espresso/30 to-transparent"})]}),p.jsxs(Y.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 container mx-auto px-6 pb-12",children:[p.jsxs(nt,{to:"/accommodations",className:"inline-flex items-center gap-2 text-cream/80 hover:text-cream mb-6 transition-colors",children:[p.jsx(OC,{size:20}),p.jsx("span",{className:"text-sm uppercase tracking-wider",children:"Back to Accommodations"})]}),p.jsx("p",{className:"text-cream/80 uppercase tracking-[0.3em] text-sm mb-2",children:t.tagline}),p.jsx("h1",{className:"hero-title text-cream",children:t.name})]})]}),p.jsx("section",{className:"py-16 lg:py-24",children:p.jsx("div",{className:"container mx-auto px-6",children:p.jsxs("div",{className:"grid lg:grid-cols-3 gap-12 lg:gap-16",children:[p.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[p.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:[p.jsx("h2",{className:"section-title mb-6",children:"About This Room"}),p.jsx("p",{className:"text-espresso/80 leading-relaxed text-lg mb-6",children:t.description}),p.jsx("p",{className:"text-espresso/70 leading-relaxed",children:t.longDescription})]}),p.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},className:"pt-8 border-t border-espresso/10",children:[p.jsx("h3",{className:"font-display text-2xl text-espresso mb-6",children:"Room Amenities"}),p.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-6",children:t.amenities.map(n=>p.jsxs("div",{className:"flex items-center gap-3",children:[p.jsx(n.icon,{className:"w-5 h-5 text-rust"}),p.jsx("span",{className:"text-espresso/80",children:n.label})]},n.label))})]}),t.images.length>1&&p.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.5},className:"pt-8 border-t border-espresso/10",children:[p.jsx("h3",{className:"font-display text-2xl text-espresso mb-6",children:"Photo Gallery"}),p.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:t.images.map((n,r)=>p.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"block overflow-hidden aspect-[4/3] group",children:p.jsx("img",{src:n,alt:`${t.name} photo ${r+1}`,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})},r))})]})]}),p.jsx(Y.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.6,delay:.3},className:"lg:col-span-1",children:p.jsxs("div",{className:"bg-cream p-8 sticky top-32",children:[p.jsx("h3",{className:"font-display text-2xl text-espresso mb-4",children:"Book Your Stay"}),p.jsxs("p",{className:"text-espresso/70 mb-6",children:["Ready to experience the ",t.name,"? Reserve your room today."]}),p.jsx("a",{href:t.bookingUrl,target:"_blank",rel:"noopener noreferrer",className:"btn-primary w-full text-center block",children:"Check Availability"}),p.jsx("p",{className:"text-espresso/50 text-sm mt-4 text-center",children:"Best rates guaranteed when booking direct"})]})})]})})}),p.jsx(Zr,{})]}):p.jsx("div",{className:"min-h-screen bg-beige flex items-center justify-center",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"font-display text-4xl text-espresso mb-4",children:"Room Not Found"}),p.jsx(nt,{to:"/accommodations",className:"btn-primary",children:"View All Rooms"})]})})},WL="/assets/lupine-festival-hero-rkFEWCT_.jpg",zL="/assets/lupine-closeup-BcjZmHHE.jpg",$L="/assets/lupine-meadow-BIk5jS_o.jpg",UL=["Comfortable walking shoes","A light jacket for cool mountain breezes","Sunscreen and a wide-brim hat","Bug repellent (June is also tick season)","A camera or phone â the photo ops are endless","A picnic lunch and snacks for the drive"],GL=[{title:"St. Matthew's Chapel",description:"A storybook white-steepled chapel at the corner of Route 117 and The Birches Road â one of the most photographed spots in Sugar Hill."},{title:"Polly's Pancake Parlor",description:"A New Hampshire institution since 1938. Fluffy, fully-customizable pancakes with maple syrup tapped from the surrounding hills."},{title:"Chutters of Littleton",description:"Home of the world's longest candy counter â just 15 minutes from Sugar Hill and a guaranteed hit with kids of every age."},{title:"Franconia Notch State Park",description:"Hike, swim, or simply drive the Notch on your way back to Gale River House. The Flume Gorge and Cannon Mountain tramway are both nearby."}],bb=[{q:"When is the New Hampshire Lupine Festival?",a:"The Sugar Hill Lupine Festival runs throughout the month of June each year. Peak bloom typically falls between the second and third weeks of June, though exact timing shifts with the spring weather."},{q:"Where are the best lupine fields in Sugar Hill, NH?",a:"Drive Route 117 into Sugar Hill and watch for cluster
196s of parked cars â most fields are open to respectful visitors. Sunset Hill Road and the meadows around St. Matthew's Chapel are perennial favorites."},{q:"How far is Sugar Hill from Gale River House?",a:"Gale River House in Franconia is roughly a 15-minute drive from the lupine fields of Sugar Hill â the perfect base camp for a long weekend chasing the bloom."},{q:"Is the Lupine Festival free?",a:"Yes. Walking the public fields and scenic drives is free. Some guided tours, garden parties, and craft fairs hosted during the festival may charge a small admission."}],KL={"@context":"https://schema.org","@type":"Event",name:"New Hampshire Lupine Festival",description:"A month-long celebration of the wild lupines blooming across the meadows of Sugar Hill and Franconia, New Hampshire.",startDate:"2026-06-01",endDate:"2026-06-30",eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:"Sugar Hill, New Hampshire",address:{"@type":"PostalAddress",addressLocality:"Sugar Hill",addressRegion:"NH",addressCountry:"US"}},image:"https://galeriverhouse.com/lupine-festival-hero.jpg",organizer:{"@type":"Organization",name:"Sugar Hill, NH"}},qL={"@context":"https://schema.org","@type":"FAQPage",mainEntity:bb.map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},YL=()=>p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsxs(nf,{children:[p.jsx("title",{children:"NH Lupine Festival 2026 | Sugar Hill Lupines Guide | Gale River House"}),p.jsx("meta",{name:"description",content:"Your complete guide to the New Hampshire Lupine Festival in Sugar Hill. When to visit, where to find the best lupine fields, what to pack, and where to stay in the White Mountains."}),p.jsx("meta",{name:"keywords",content:"lupine festival, NH lupine festival, Sugar Hill lupines, lupine fields New Hampshire, White Mountains lupines, Franconia lupines, June in New Hampshire"}),p.jsx("link",{rel:"canonical",href:"https://galeriverhouse.com/lupine-festival"}),p.jsx("meta",{property:"og:title",content:"NH Lupine Festival Guide â Sugar Hill, New Hampshire"}),p.jsx("meta",{property:"og:description",content:"Sweeping meadows of blue, pink, purple, and white lupines bloom every June in Sugar Hill, NH. Plan your visit with the Gale River House guide."}),p.jsx("meta",{property:"og:type",content:"article"}),p.jsx("meta",{property:"og:url",content:"https://galeriverhouse.com/lupine-festival"}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify(KL)}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify(qL)})]}),p.jsx(Jr,{}),p.jsxs("section",{className:"relative h-[90vh] min-h-[600px] overflow-hidden",children:[p.jsx("img",{src:WL,alt:"Fields of purple and pink lupines blooming in Sugar Hill, New Hampshire with the White Mountains in the background",className:"absolute inset-0 w-full h-full object-cover",width:1920,height:1080}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-espresso/30 via-espresso/20 to-espresso/70"}),p.jsxs("div",{className:"relative z-10 h-full flex flex-col items-center justify-center text-center px-6",children:[p.jsx(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-cream/90 uppercase tracking-[0.4em] text-xs md:text-sm mb-6",children:"June in the White Mountains"}),p.jsxs(Y.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,delay:.2},className:"hero-title max-w-5xl",children:["The New Hampshire",p.jsx("br",{}),"Lupine Festival"]}),p.jsx(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display italic text-cream/90 text-lg md:text-2xl mt-6 max-w-2xl",children:"A month-long celebration of wild beauty in Sugar Hill â just minutes from Gale River House."}),p.jsxs(Y.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.8},className:"mt-10 flex flex-wrap gap-4 justify-center",children:[p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-primary",children:"Book Your Lupine Stay"}),p.jsx(nt,{to:"/accommodations",className:"btn-secondary border-cream text-cream hover:bg-cream hover:text-espresso",children:"View Rooms"})]})]})]}),p.jsx("section",{className:"py-24 md:py-32",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-4xl text-center",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Welcome to Lupine Season"}),p.jsx("h2",{className:"section-title mb-8",children:"A Pilgrimage of Wildflowers"}),p.jsx("div",{className:"elegant-divider mb-10"}
196),p.jsx("p",{className:"text-foreground/80 text-lg leading-relaxed font-body mb-6",children:"Every June, the rolling meadows of Sugar Hill, New Hampshire come alive with sweeping vistas of blue, pink, purple, and white lupines waving in the late-spring breeze. A small community of flower devotees has spent decades planting and preserving these fields â and they warmly welcome visitors to walk among them, photograph them, and simply pause in their beauty."}),p.jsx("p",{className:"text-foreground/80 text-lg leading-relaxed font-body",children:"From our porch at Gale River House, the lupine fields are just a fifteen-minute drive. Wake up to mountain mist, sip coffee on a quiet morning, and arrive at the meadows before the day-trippers â there's no better base camp for the bloom."})]})}),p.jsx("section",{className:"py-16 bg-card",children:p.jsx("div",{className:"container mx-auto px-6",children:p.jsx("div",{className:"grid md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:[{icon:IC,title:"When",text:"Throughout June â peak bloom is typically the second and third weeks."},{icon:Nw,title:"Where",text:"Sugar Hill & Franconia, NH along Route 117 in the White Mountains."},{icon:Am,title:"What",text:"Free, open meadows of wild lupines plus guided tours and craft fairs."}].map(e=>p.jsxs("div",{className:"text-center",children:[p.jsx(e.icon,{className:"w-10 h-10 mx-auto mb-4 text-accent",strokeWidth:1.5}),p.jsx("h3",{className:"font-display text-2xl text-espresso mb-3",children:e.title}),p.jsx("p",{className:"text-foreground/75 font-body leading-relaxed",children:e.text})]},e.title))})})}),p.jsx("section",{className:"py-24 md:py-32",children:p.jsx("div",{className:"container mx-auto px-6",children:p.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center max-w-6xl mx-auto",children:[p.jsx(Y.img,{src:zL,alt:"Close-up of pink and purple lupine spikes in a sunny New Hampshire meadow",className:"w-full h-[500px] object-cover",loading:"lazy",width:1280,height:896,initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0}}),p.jsxs(Y.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsx("p",{className:"section-subtitle mb-4",children:"The Tradition"}),p.jsx("h2",{className:"section-title mb-6",children:"A June Ritual in the White Mountains"}),p.jsx("div",{className:"elegant-divider mb-8 mx-0"}),p.jsx("p",{className:"text-foreground/80 leading-relaxed mb-6 font-body",children:"As you come into Sugar Hill along Route 117, start to watch for the lupine fields. You'll spot clusters of cars parked at the popular meadows â take your place among them and walk out into the towering blue, pink, purple, and white lupine spires."}),p.jsx("p",{className:"text-foreground/80 leading-relaxed font-body",children:"Part of the joy is the thrill of discovery. Turn down unknown roads, pause at every new field, and chat with other flower-peepers to find the best blooms. Just be respectful of private property, where you park, and how you treat the flowers."})]})]})})}),p.jsx("section",{className:"py-24 bg-card",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-5xl",children:[p.jsxs("div",{className:"text-center mb-16",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Plan Ahead"}),p.jsx("h2",{className:"section-title mb-6",children:"What to Pack for the Lupine Fields"}),p.jsx("div",{className:"elegant-divider"})]}),p.jsx("div",{className:"grid sm:grid-cols-2 gap-4 max-w-3xl mx-auto",children:UL.map(e=>p.jsxs("div",{className:"flex items-start gap-4 p-5 bg-background border-l-2 border-accent",children:[p.jsx(Am,{className:"w-5 h-5 text-accent mt-0.5 shrink-0",strokeWidth:1.5}),p.jsx("span",{className:"font-body text-foreground/85",children:e})]},e))})]})}),p.jsxs("section",{className:"relative h-[60vh] min-h-[400px] overflow-hidden",children:[p.jsx("img",{src:$L,alt:"A rolling New England meadow of multicolored lupines with a red barn in the distance",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",width:1280,height:896}),p.jsx("div",{className:"absolute inset-0 bg-espresso/40"}),p.jsx("div",{className:"relative z-10 h-full flex items-center justify-center text-center px-6",children:p.jsx("blockquote",{className:"max-w-3xl",children:p.jsx("p",{className:"font-display italic text-2xl md:text-4xl text-cream leading-snug",children:`"There's something sweetly simple in the purpose of the trip being the sheer enjoyment of flowers."`})})})]}),p.jsx("section",{className:"py-24 md:py-32",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[p.jsxs("div",{className:"text-center mb-16",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Make a Day of It"}),p.jsx("h2",{className:"section-title mb-6",children:"More to Love Near Sugar Hill"}),p.jsx("div",{className:"elegant-divider"})]}),p.jsx("div",{className:"grid md:grid-cols-2 gap-8",children:GL.map((e,t)=>p.jsxs(Y.article,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:t*.1},viewport:{once:!0},className:"feature-card",children:[p.jsx(BC,{className:"w-6 h-6 text-accent mb-4",strokeWidth:1.5}),p.jsx("h3",{className:"font-display text-2xl text-espresso mb-3",children:e.title}
196),p.jsx("p",{className:"text-foreground/75 font-body leading-relaxed",children:e.description})]},e.title))})]})}),p.jsx("section",{className:"py-24 bg-card",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-3xl",children:[p.jsxs("div",{className:"text-center mb-16",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Good to Know"}),p.jsx("h2",{className:"section-title mb-6",children:"Lupine Festival FAQs"}),p.jsx("div",{className:"elegant-divider"})]}),p.jsx("div",{className:"space-y-6",children:bb.map(e=>p.jsxs("details",{className:"group bg-background p-6 border-l-2 border-accent",children:[p.jsxs("summary",{className:"cursor-pointer font-display text-xl text-espresso list-none flex justify-between items-center",children:[e.q,p.jsx("span",{className:"text-accent text-2xl group-open:rotate-45 transition-transform",children:"+"})]}),p.jsx("p",{className:"mt-4 text-foreground/75 font-body leading-relaxed",children:e.a})]},e.q))})]})}),p.jsx("section",{className:"py-24 md:py-32 bg-espresso",children:p.jsxs("div",{className:"container mx-auto px-6 text-center max-w-3xl",children:[p.jsx("p",{className:"text-beige uppercase tracking-[0.3em] text-sm mb-6",children:"Your Lupine Basecamp"}),p.jsx("h2",{className:"font-display text-4xl md:text-5xl text-cream mb-6 leading-tight",children:"Stay Steps from the Bloom"}),p.jsx("p",{className:"text-cream/80 font-body text-lg mb-10 leading-relaxed",children:"Gale River House is a quiet, charming inn in Franconia â just 15 minutes from the lupine fields of Sugar Hill. Book a June stay and wake up to mountain views, fresh coffee, and flowers as far as the eye can see."}),p.jsxs("div",{className:"flex flex-wrap gap-4 justify-center",children:[p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-primary bg-cream text-espresso hover:bg-beige",children:"Reserve Your Stay"}),p.jsx(nt,{to:"/accommodations",className:"btn-secondary border-cream text-cream hover:bg-cream hover:text-espresso",children:"Explore Rooms"})]})]})}),p.jsx(Zr,{})]}),QL="/assets/journal-franconia-fall-D-34kZZk.jpg",XL="/assets/journal-dining-Lzwt2aog.jpg",JL="/assets/journal-hikes-B55afRnN.jpg",ZL="/assets/journal-white-mountains-DTe7TYSp.jpg",eD="/assets/journal-franconia-things-to-do-B3aLB0Fi.jpg",tD="/assets/journal-pet-friendly-Da01GOAW.jpg",nD="/assets/journal-fall-weekend-73_FyuEg.jpg",rD="/assets/journal-fall-hikes-CRX7x5kK.jpg",iD="/assets/journal-skiing-D5d90Sfx.jpg",oD="/assets/journal-breweries-BPqhvR9X.jpg",sD="/assets/journal-eat-franconia-D6VpeY4s.jpg",aD="/assets/journal-pollys-pancakes-D1Dpo0Bv.jpg",lD="/assets/journal-covered-bridges-DP6D4m1q.jpg",pu=[{slug:"fall-weekend-itinerary-franconia-nh",title:"3-Day Fall Foliage Weekend in Franconia, NH: A Complete Itinerary",excerpt:"A leaf-peeper's itinerary for a perfect autumn weekend in Franconia â scenic drives, fall hikes, Polly's Pancakes, and where to stay near the notch.",metaDescription:"Plan a 3-day fall foliage weekend in Franconia, NH. Scenic drives, hikes, restaurants, and where to stay near Franconia Notch for peak leaf-peeping season.",keywords:"fall weekend Franconia NH, fall foliage itinerary White Mountains, 3 days Franconia Notch, leaf peeping weekend New Hampshire, Franconia fall trip, where to stay fall foliage NH",category:"Seasonal Guides",author:"Gale River House",publishedAt:"2026-08-20",readTime:"8 min read",heroImage:nD,heroAlt:"A rocking chair on a country inn porch overlooking crimson and gold fall foliage in Franconia Notch, New Hampshire",sections:[{paragraphs:["There is a short window every year when the White Mountains become almost unbearably beautiful â when the maples along the Gale River turn scarlet, the birches on Cannon Mountain glow gold, and the air smells like wood smoke and dried leaves. That window is fall in Franconia, New Hampshire, and it is the reason so many travelers plan their entire year around a single October weekend.","This three-day itinerary is built for first-time leaf peepers and returning autumn addicts alike. Every stop is within 25 minutes of Gale River House, and the pace leaves room for the two things that make a fall weekend memorable: unplanned scenic detours and long evenings on the porch."]},{heading:"Day 1: Arrive, settle in, and chase the late light",paragraphs:["Check in at Gale River House in the early afternoon. Our self check-in means you can arrive whenever the road brings
196you â no front desk, no rush. Drop your bags, pour a cup of something warm, and walk the village for twenty minutes. The Frost Place, Robert Frost's Franconia farmhouse, is a quiet prelude to the weekend, with a poetry trail looping through woods that will be turning by late September.","In the late afternoon, drive the Sugar Hill loop on Route 117. This is the locals' favorite sunset drive: rolling meadows, white farmhouses, and long views back toward the Franconia Ridge. Stop at Sugar Hill Sunset Hill Road for the golden-hour photograph everyone will ask about later. Dinner at Sunset Hill House lets you eat with the same mountain view still fading outside the windows."]},{heading:"Day 2: The Notch at peak color",paragraphs:["Start early. The Franconia Notch Parkway is quietest before 9 a.m., and the morning mist on Profile Lake is worth setting an alarm for. Drive south through the notch, pulling off at the Old Man of the Mountain Historic Site and the Basin for short, easy walks.","By mid-morning, hike Artist's Bluff. The 1.5-mile loop climbs to one of the most photographed overlooks in New England â Echo Lake below, Cannon Mountain to one side, and the notch spilling south in a riot of color. It takes about an hour, and the trailhead is just off the parkway."],list:["Sunrise coffee on the Gale River House porch","Old Man of the Mountain Historic Site and Profile Lake","The Basin â a short walk to a glacier-carved granite bowl","Artist's Bluff Loop â the best view-to-effort ratio in the notch","Lunch at the Iron Furnace Brewing in Franconia village","Afternoon paddle or walk at Echo Lake"]},{heading:"Day 3: A slow morning and a famous breakfast",paragraphs:["Sleep in. Fall weekends are not about rushing. When you are ready, drive 15 minutes to Polly's Pancake Parlor in Sugar Hill. Since 1938, Polly's has served made-to-order pancakes with house-tapped maple syrup, and the dining room looks out across Sugar Hill toward the Presidential Range. Put your name in, walk the meadows out back, and treat the wait as part of the morning.","After breakfast, choose your final adventure. If you want one more big view, drive the Kancamagus Highway from Lincoln to Conway, stopping at Sabbaday Falls and the overlooks. If you prefer a quieter farewell, walk the Franconia Notch Recreation Path for a flat, forested stretch with the mountains overhead. Either way, end the weekend back on the porch with a sweater and a view of the ridge turning red."]},{heading:"Where to stay for fall foliage in Franconia",paragraphs:["Gale River House sits in the center of this itinerary â a five-minute drive from Franconia Notch, a short walk from the village, and close enough to the Kancamagus that you can make a morning drive and still be back for lunch. Our rooms and the Summit Keeper's Cottage are pet friendly, our check-in is seamless, and the porch was built specifically for afternoons like these.","Peak foliage weekends in the second week of October often book nine to twelve months in advance. If you are reading this before autumn, now is the time to reserve your room."]}],faq:[{q:"When should I plan a fall foliage weekend in Franconia, NH?",a:"Peak color in Franconia Notch typically falls between October 5 and October 15. For the best combination of full color and manageable crowds, plan for a Sunday-through-Thursday stay in the second week of October."},{q:"How many days do I need for a fall trip to Franconia?",a:"Three days is ideal for a fall foliage trip to Franconia: one day for the notch and a short hike, one day for a scenic drive, and one slow day for breakfast at Polly's and the porch."},{q:"What is the best scenic drive near Franconia for fall foliage?",a:"The Franconia Notch Parkway, the Kancamagus Highway, and the Sugar Hill loop on Route 117 are the three best fall foliage drives near Franconia. Each offers a different angle on the White Mountains."},{q:"Is Gale River House close to Franconia Notch State Park?",a:"Yes â Gale River House is about a five-minute drive from the northern entrance to Franconia Notch State Park, making it one of the closest places to
196stay for leaf peeping in the notch."}]},{slug:"best-fall-hikes-franconia-nh",title:"Best Fall Hikes in Franconia, NH: 6 Trails with Leaf-Peeping Views",excerpt:"From easy overlooks to a classic ridge traverse â six Franconia hikes that deliver unforgettable autumn color in the White Mountains.",metaDescription:"The best fall hikes near Franconia, NH â easy, moderate, and strenuous trails with peak foliage views in the White Mountains and Franconia Notch.",keywords:"fall hikes Franconia NH, best autumn hikes White Mountains, leaf peeping hikes Franconia Notch, Artist's Bluff fall foliage, Franconia Ridge Loop fall, easy fall hikes New Hampshire",category:"Seasonal Guides",author:"Gale River House",publishedAt:"2026-08-20",readTime:"9 min read",heroImage:rD,heroAlt:"A hiker on a rocky White Mountains trail surrounded by peak autumn foliage and distant mountain ridges",sections:[{paragraphs:["Fall is the most dramatic season to hike in Franconia. The trails that are green and quiet in July become corridors of red, orange, and yellow in October, and the overlooks that already earned their fame become genuinely unforgettable. The catch is that everyone else knows it too â so the right trail at the right time of day makes the difference between a transcendent morning and a crowded parking lot.","These six fall hikes near Franconia, NH are arranged from easiest to hardest. All of them put you inside the foliage rather than just looking at it, and every one is within a 20-minute drive of Gale River House."]},{heading:"1. Artist's Bluff Loop â easy, 1 hour",paragraphs:["Artist's Bluff is the classic short fall hike in Franconia Notch. The 1.5-mile loop climbs quickly to a granite ledge with a view that needs no filter: Echo Lake in the foreground, Cannon Mountain rising to the left, and the notch dropping away in a cascade of autumn color. It is the most photographed view in the park for good reason.","Go at sunrise for the best light and the fewest people. The trailhead is at the Peabody Slopes lot off Route 18, and the whole hike takes about an hour."]},{heading:"2. Mount Pemigewasset (Indian Head) â moderate, 3 hours",paragraphs:["This 3.4-mile round-trip hike climbs to a south-facing cliff with one of the best lunch views in the notch. In fall, the view looks straight down the Franconia Notch Parkway toward the southern Presidential Range, with the road threading through a valley of color. It is a local favorite for good reason."]},{heading:"3. Lonesome Lake Trail â moderate, 3 hours",paragraphs:["A steady 1,000-foot climb from Lafayette Place Campground leads to a glacial pond framed by the Franconia Ridge. In autumn, the reflection of Mount Lafayette and Little Haystack in the still water is one of the quiet wonders of the White Mountains. The AMC hut at the far shore usually has hot drinks and fresh bread in season."]},{heading:"4. WelchâDickey Loop â moderate, 4 hours",paragraphs:["The 4.4-mile WelchâDickey Loop crosses two open ledge summits with 360-degree views of the Sandwich Range. Because much of the trail is exposed granite, the fall color feels endless â you are walking through the canopy rather than under it. It is sunny and dry, which makes it an excellent choice for a crisp October afternoon."]},{heading:"5. Mount Willard â moderate, 3.5 hours",paragraphs:["Just south in Crawford Notch, Mount Willard rewards a 2.8-mile climb with a dramatic view straight down the notch toward the Saco River valley. The trail is well-graded and the summit ledge is open, making it one of the best fall foliage hikes for families with older kids who want a real summit without a full day on the trail."]},{heading:"6. Franconia Ridge Loop â strenuous, 8 to 9 hours",paragraphs:["The bucket-list fall hike in the White Mountains. The 9-mile loop over Little Haystack, Mount Lincoln, and Mount Lafayette includes more than a mile of above-treeline ridgeline with views in every direction. In peak foliage, you look down on oceans of red and gold from a granite spine that feels like the roof of New England.","Start at sunrise, bring layers, and check the weather the night before. The ridge is fully exposed and the October wind can be fierce. This is a hike for fit, experienced walkers with a full day to give it."]},{heading:"Fall hiking tips from the innkeepers",list:["Start early â parking lots at Artist's Bluff and Lafayette Place fill by 9 a.m. on peak weekends.","Bring a headlamp â October daylight fades faster than summer hikers expect.","Pack layers â mornings start near freezing and afternoons can reach the 60s.","Wear traction â wet granite and fallen leaves are slicker than they look.","Book lodging months ahead â fall foliage weekends are the busiest weeks of the year in Franconia."]},{heading:"Where to stay after the trail",paragraphs:["Gale River House is five minutes from the northern trailheads of Franconia Notch and a short drive from WelchâDickey, Mount Willard, and the Kancamagus. After a long day on the ridge, the porch, a hot shower, and a quiet room are exactly what the trail ordered. Every room is pet friendly too, so your hiking partner can have four legs if you prefer."]}],faq:[{q:"What is the best easy fall hike in Franconia, NH?",a:"Artist's Bluff Loop is the best easy fall hike near Franconia â a 1.5-mile loop with one of the most photographed autumn views in New England."},{q:"When is peak fall foliage for hiking in Franconia Notch?",a:"Peak fall foliage in Franconia Notch typically falls between October 5 and October 15, with higher elevations turning first."},{q:"How hard is the Franconia Ridge Loop in fall?",a:"The Franconia Ridge Loop is a strenuous 8 to 9 hour hike covering 9 miles and 4,000 feet of elevation gain. It is best for experienced hikers, especially in exposed and windy October conditions."},{q:"Can I bring my dog on fall hikes near Franconia?",a:"Many trails near Franconia allow leashed dogs, including the Franconia Notch Recreation Path and lower sections of the Gale River Trail. State park rules require dogs to be leashed."}]},{slug:"pet-friendly-inn-franconia-nh",title:"Pet Friendly, Always: Bring Your Dog to Gale River House",excerpt:"Gale River House has always been pet friendly. Every room welcomes dogs, and Franconia is packed with trails, rivers, and quiet roads made for wagging tails.",metaDescription:"Pet friendly inn in Franconia, NH â Gale River House has always welcomed dogs in every room. Discover the best dog-friendly hikes, walks, and swimming spots in the White Mountains.",keywords:"pet friendly inn Franconia NH, dog friendly hotel White Mountains, dog friendly Franconia Notch, pet friendly lodging New Hampshire, dog walking Franconia NH, dog friendly hikes White Mountains, bring dog to White Mountains",category:"Stay With Us",author:"Gale River House",publishedAt:"2026-07-18",readTime:"6 min read",heroImage:tD,heroAlt:"A golden retriever on the wraparound porch of Gale River House with the autumn White Mountains behind",sections:[{paragraphs:["Gale River House has always been pet friendly â and we mean always. Since the day we opened our doors, dogs have been welcome guests in every one of our rooms. There are no pet-only wings, no restricted floors, and no awkward workarounds. If you're bringing a dog, you're bringing family, and family stays with you.","Franconia, New Hampshire happens to be one of the most dog-friendly corners of the White Mountains. Miles of trails, quiet country roads, cold clear rivers, and villages where every shop keeper keeps a jar of biscuits by the door â it's a place made for four-legged travelers."]},{heading:"Every Room Welcomes Your Dog",paragraphs:["The Ridgeline, Summit, and Heritage Mountain Vie
196w Rooms are all pet friendly. Bring your bed, bring your leash, bring your favorite chewed-up tennis ball. We keep the check-in simple, and we're happy to point you toward the nearest trailhead, swimming hole, or patio that welcomes dogs.","A few gentle house notes: we ask that dogs are housebroken, quiet when left alone, and kept on leash in shared spaces. That's it. No weight limits, no breed restrictions, no complicated paperwork."]},{heading:"The Best Places to Walk Your Dog in Franconia",paragraphs:["You'll find a walk for every energy level within a few minutes of the property. The Franconia Notch Recreation Path is a paved 8.8-mile ribbon that runs the length of the state park â flat, shaded, and perfect for a long leash walk. For something wilder, the trails around Bridal Veil Falls and the lower stretches of the Gale River Trail wind through pine forest and along cool, clear water.","Closer to town, the country roads through Sugar Hill and Easton offer wide grassy shoulders, mountain views in every direction, and almost no traffic. In summer, dogs love the shallow gravel bars along the Gale River just a short walk from the inn â a natural cold plunge after a hot afternoon."],list:["Franconia Notch Recreation Path â paved, flat, 8.8 miles end to end","Gale River Trail (lower section) â riverside forest walk, shaded and cool","Bridal Veil Falls trail â a longer out-and-back to a picture-book waterfall","Sugar Hill back roads â quiet paved and dirt roads with sweeping mountain views","Artist's Bluff loop â short, rewarding climb with a big overlook (leash required)","The Gale River itself â shallow, cold swimming spots minutes from the inn"]},{heading:"Dog-Friendly Stops in Town",paragraphs:["Franconia and neighboring Littleton are unusually welcoming to dogs. Several downtown Littleton shops keep water bowls out front, and patios at local breweries and cafes are dog-friendly in the warmer months. Ask us at check-in â we keep a current list of who's welcoming pups this season."]},{heading:"What to Pack",list:["A leash (required on all state park trails and in the village)","A towel or two â the Gale River is irresistible","Your dog's bed or a favorite blanket for the room","Food, bowls, and any medications","Poop bags for the trails and village walks","A rain layer in shoulder seasons â mountain weather turns fast"]}],faq:[{q:"Is Gale River House really pet friendly?",a:"Yes. Every room at Gale River House is pet friendly and always has been. There are no pet-only rooms â dogs are welcome throughout the property."},{q:"Are there weight or breed restrictions?",a:"No. We ask that dogs are housebroken, quiet when left alone in the room, and kept on leash in shared spaces. Beyond that, all sizes and breeds are welcome."},{q:"Is there a pet fee?",a:"We charge a modest cleaning fee per stay to cover the extra care our housekeeping team gives pet-friendly rooms. The current fee is listed at booking."},{q:"Where can I walk my dog near the inn?",a:"The Franconia Notch Recreation Path, the Gale River Trail, Bridal Veil Falls, Artist's Bluff, and the quiet back roads of Sugar Hill are all within a short drive. The Gale River itself is a favorite summer swimming spot for dogs."},{q:"Can I leave my dog in the room while I hike?",a:"You may, provided your dog is quiet when left alone and comfortable in unfamiliar spaces. We're a small property, so a calm dog is essential to keeping the stay peaceful for other guests."}]},{slug:"10-best-things-to-do-franconia-nh",title:"10 Best Things to Do in Franconia, NH in Every Season",excerpt:"From Flume Gorge and Cannon Mountain to swimming holes, leaf peeping, and Polly's Pancake Parlor â a year-round local guide to Franconia, New Hampshire.",metaDescription:"The 10 best things to do in Franconia, NH year-round â Franconia Notch State Park, Flume Gorge, Cannon Mountain, Artist's Bluff, Echo Lake, skiing, leaf peeping, swimming holes, and Polly's Pancake Parlor.",keywords:"things to do Franconia NH, Franconia Notch State Park, Flume Gorge, Cannon Mountain, Artist's Bluff, Echo Lake, skiing Franconia, leaf peeping New Hampshire, swimming holes White Mountains, Polly's Pancake Parlor, Franconia attractions, White Mountains things to do",category:"Things To Do",author:"Gale River House",publishedAt:"2026-06-02",readTime:"12 min read",heroImage:eD,heroAlt:"The village of Franconia, New Hampshire with a covered bridge over the Gale River and the White Mountains in the background",sections:[{paragraphs:["Franconia, New Hampshire is one of those rare mountain towns that has something genuinely worth doing in every season. In a single calendar year you can ski Cannon Mountain in February, paddle Echo Lake in July, watch the Franconia Range turn crimson in October, and snowshoe to a frozen waterfall in January â all from the same wraparound porch.","This is our local, innkeeper-curated list of the 10 best things to do in Franconia, NH. Every stop on the list is within a 20-minute drive of Gale River House, and we have arranged them roughly from the must-see anchors to the seasonal experiences that change with the calendar."]},{heading:"1. Franconia Notch State Park",paragraphs:["If you do only one thing in Franconia, do this. Franconia Notch State Park is the 6,700-acre glacial pass between Cannon Mountain and the Franconia Ridge â the dramatic spine of the western White Mountains and the reason most travelers come here in the first place.","Inside the park you'll find the Flume Gorge, Echo Lake, Cannon Mountain, the Old Man of the Mountain Memorial, the Basin, and the trailheads for some of the most celebrated hikes in the Northeast. The 8.8-mile Franconia Notch Recreation Path runs the length of the park and is perfect for cycling, an early-morning run, or a flat family walk.","Plan a full day. Pack water, bring layers (mountain weather changes by the hour), and start early in summer and fall to beat the parking lots. The northern entrance is five minutes from Gale River House."]},{heading:"2. The Flume Gorge",paragraphs:["The Flume is the signature short walk of Franconia Notch â an 800-foot natural granite chasm with walls rising 70 to 90 feet on either side and a wooden boardwalk that takes you right through the heart of it. Avalanche Falls thunders at the upper end, and the whole 2-mile loop takes about an hour and a half at an easy pace.","Buy tickets online in advance from early May through late October; weekend mid-day slots sell out in foliage season. Wear shoes with grip â the boardwalk is often misted by spray â and bring a jacket even on warm days. The gorge stays remarkably cool inside."]},{heading:"3. Cannon Mountain",paragraphs:["Cannon Mountain rises 4,080 feet on the western wall of the Notch and is one of the most historic ski areas in America â home to the first aerial tramway in North America (1938) and the training mountain of Olympic legend Bode Miller. In winter it is a serious skier's hill, with long fall-line trails, real New England ice, and far fewer crowds than the destination resorts further south.","In summer and fall the Aerial Tramway runs to the summit in eight minutes, where a short walk on the Rim Trail delivers four-state views â Maine, Vermont, Massachusetts, and New York on a clear day. The Cannon Mountain Aerial Tramway is one of the easiest big-view experiences in the White Mountains, and a favorite of guests traveling with grandparents or small children."]},{heading:"4. Artist's Bluff",paragraphs:["Artist's Bluff is the small hike with the biggest payoff in the Notch. The loop is only 1.5 miles and takes most people about an hour, but the granite ledge at the top opens onto a postcard view: Echo Lake in the foreground, Cannon Mountain on the right, and the green tumble of the Notch falling away to the south.","It is the most photographed view in the park for good reason. We send guests here for sunrise in October â the first light on the Franconia Ridge is unforgettable â and for the last hour before sunset on summer evenings. Park at the Peabody Slopes lot off Route 18."]},{heading:"5. Echo Lake",paragraphs:["At the foot of Cannon Mountain, Echo Lake is a small, clear glacial pond with a sandy swimming beach, a bathhouse, and kayak and paddleboard rentals from late June through Labor Day. The water is cold and clean, the mountain rises straight up from the far shore, and the whole scene feels closer to Switzerland than New Hampshire.","Mornings are glassy and quiet â bring coffee and a paddle. Afternoons are family-friendly, with a lifeguarded beach and shallow water. There is a small day-use fee in season."]},{heading:"6. Skiing in Winter â Cannon, Bretton Woods, and Beyond",paragraphs:["Franconia is one of the great winter bases in the East. Cannon Mountain is 10 minutes away. Bretton Woods, the largest ski area in New Hampshire, is 35 minutes east. Loon Mountain is 20 minutes south in Lincoln. For backcountry skiers and Nordic travelers, the Franconia Inn cross-country center and the Bretton Woods Nordic Center offer hundreds of kilometers of groomed trails through quiet forest.","Beyond downhill, winter in Franconia means snowshoeing the Notch when the crowds are gone, ice climb
196ing on Cannon Cliff (one of the largest cliffs in the East), and snowmobiling on the regional Corridor 11 trail. Come back to the porch at Gale River House for hot cider after."]},{heading:"7. Leaf Peeping in Fall",paragraphs:['There is a reason "New England fall foliage" is on every travel list in the world, and Franconia sits at the center of it. Peak color in Franconia Notch typically falls between October 5 and October 15, with higher elevations turning first and valley color holding through the third week of October.',"Our favorite foliage routes: the Franconia Notch Parkway through the heart of the park, the 34-mile Kancamagus Highway from Lincoln to Conway, the quiet Sugar Hill loop on Route 117 at sunset, and Bear Notch Road for less-traveled vistas. Book the second weekend of October as far in advance as you can â most local inns are full nine to twelve months ahead."]},{heading:"8. Swimming Holes in Summer",paragraphs:["Summer in the White Mountains means swimming holes â and Franconia has some of the best. The Basin, just off the parkway in Franconia Notch, is a glacier-carved granite bowl with smooth walls and a deep swimming hole fed by the Pemigewasset River. Franconia Falls, a short hike from the Lincoln Woods trailhead on the Kancamagus, is a series of cascading slides into clear swimming holes.","Closer to the inn, Coppermine Brook and the Gale River itself offer quiet, locals-only swimming holes that almost nobody on a guidebook itinerary finds. Ask us at check-in and we'll point you to our current favorite."]},{heading:"9. Polly's Pancake Parlor",paragraphs:["Polly's Pancake Parlor in Sugar Hill has been serving made-to-order pancakes with house-tapped maple syrup since 1938, and it is â without exaggeration â one of the great New England breakfast institutions. The view from the dining room sweeps across Sugar Hill toward the Presidential Range, and the cottage cheese pancakes with walnuts and Polly's own maple syrup are the order.","Expect a wait on weekends, especially in foliage season. Put your name in, walk the meadows out back, and the wait is part of the morning. It is a 15-minute drive from Gale River House and worth every minute."]},{heading:"10. The Quiet Side of Franconia Village",paragraphs:["After the headline attractions, leave time for the slower version of Franconia. Walk to Iron Furnace Brewing for espresso and a pastry in a beautifully restored 19th-century building. Visit the Frost Place, the farmhouse where Robert Frost wrote some of his best-known poems, with a quiet poetry trail looping through the woods. Browse the small shops along Main Street, or drive 20 minutes to Littleton for a longer afternoon.","This is the version of Franconia that most one-day visitors miss â and the version most guests remember most after they go home."]},{heading:"Planning your visit",paragraphs:["Gale River House is open year-round and sits within a 20-minute drive of every stop on this list. Three nights is the minimum we recommend to do Franconia properly: one day in the Notch, one day for a seasonal experience (skiing, foliage drive, or swimming hole hopping), and one slow day for breakfast at Polly's, a short hike, and the porch.","If you tell us
196your interests when you book, we are happy to leave a custom map in your room with our current favorites marked."]}],faq:[{q:"What are the best things to do in Franconia, NH?",a:"The top attractions in Franconia, NH are Franconia Notch State Park, the Flume Gorge, Cannon Mountain, Artist's Bluff, and Echo Lake â all within a 10-minute drive of one another. Seasonal highlights include skiing at Cannon in winter, leaf peeping in October, swimming holes in summer, and breakfast at Polly's Pancake Parlor in Sugar Hill."},{q:"Is Franconia, NH worth visiting?",a:"Yes â Franconia is one of the most-visited mountain destinations in New England. It sits at the entrance to Franconia Notch State Park, offers year-round outdoor activities, and is within an hour of the Presidential Range, Mount Washington, and the Kancamagus Highway."},{q:"When is the best time to visit Franconia, NH?",a:"Franconia is rewarding in every season. Late September through mid-October is peak fall foliage. July and August are best for swimming, paddling, and hiking. January through March is prime ski season at nearby Cannon Mountain and Bretton Woods."},{q:"How long should I spend in Franconia, NH?",a:"Plan a minimum of three nights to see the main attractions of Franconia Notch State Park, take a scenic drive, and enjoy a slower morning in the village. Four to five nights lets you add hiking, a Mount Washington day trip, and time to explore Sugar Hill and Littleton."}]},{slug:"white-mountains-new-hampshire-guide",title:"The White Mountains: A Complete Guide from Gale River House",excerpt:"A pillar guide to New Hampshire's White Mountains â the regions, the seasons, and the experiences worth planning a trip around.",metaDescription:"The complete guide to New Hampshire's White Mountains â Franconia Notch, the Presidential Range, and Mount Washington Valley â by the innkeepers at Gale River House.",keywords:"White Mountains New Hampshire, White Mountains guide, Franconia Notch, Presidential Range, Mount Washington Valley, things to do White Mountains, where to stay White Mountains",category:"Region Guides",author:"Gale River House",publishedAt:"2026-06-01",readTime:"10 min read",heroImage:ZL,heroAlt:"Layered ridges of New Hampshire's White Mountains at sunrise with mist settling into the valleys",sections:[{paragraphs:["The White Mountains of New Hampshire are the oldest mountain destination in America â a million-acre national forest of granite peaks, glacial notches, and quiet villages that has drawn travelers since the 1820s. From the wraparound porch of Gale River House, the Franconia Range fills the horizon and three of the most storied corners of the range are within an easy morning's drive.","This guide is our long-form orientation for first-time visitors: the three sub-regions we send guests to, what each one is known for, and how to build a trip that uses Franconia as your base."]},{heading:"1. Franconia Notch and the Franconia Range",paragraphs:["Franconia Notch is the dramatic glacial pass at the heart of the western White Mountains, carved between Cannon Mountain and the Franconia Ridge. It is the most photographed corridor in the state â home to the Old Man of the Mountain site, the Flume Gorge, Echo Lake, and the bucket-list Franconia Ridge Loop.","Gale River House sits five minutes from the northern entrance to Franconia Notch State Park. Most guests spend at least one full day inside the Notch: a sunrise hike up Artist's Bluff, a midday walk through the Flume, and a late-afternoon paddle on Echo Lake. In autumn, this is where the leaf-peeping crowds gather â and rightly so."]},{heading:"2. The Presidential Range and Mount Washington",paragraphs:["An hour east of Franconia, the Presidential Range rises into the highest peaks in the Northeast. Mount Washington â 6,288 feet, with the most violent recorded weather on the planet â anchors the range, accessible by the historic Cog Railway, the Mount Washington Auto Road, or a full day on foot from Pinkham Notch.","Around it sit Mount Adams, Mount Jefferson, and Mount Madison: above-treeline hikes for experienced walkers, and views, on a clear day, from Vermont to the Atlantic. Even if you don't summit, the drive over Crawford Notch on Route 302 is one of the great New England road trips."]},{heading:"3. Mount Washington Valley and the Kancamagus",paragraphs:["South and east of the Presidentials, the Mount Washington Valley stretches from C
196onway to Jackson â a softer landscape of covered bridges, swimming holes, and the small mountain town of North Conway. The Kancamagus Highway, the 34-mile scenic byway that crosses the national forest from Lincoln to Conway, is the connecting thread.","Plan a full day on the Kanc: stop at Sabbaday Falls, swim at Lower Falls, and finish with dinner in North Conway before driving back to Franconia at dusk. In winter, this same valley holds the densest concentration of ski areas in New England â Cannon, Bretton Woods, Attitash, and Wildcat are all within an hour."]},{heading:"How to plan your White Mountains trip",paragraphs:["A three-night stay is the minimum we recommend: one day in Franconia Notch, one day east toward Mount Washington or the Kancamagus, and one slower day for the village, the porch, and a long breakfast. Five nights lets you add a quiet hike, a brewery afternoon in Littleton, and a sunset drive on Sugar Hill.","Gale River House is open year-round and we are always happy to help you shape an itinerary. If you tell us when you book, we will leave a printed map of the region in your room with our current favorites marked."]}],faq:[{q:"Where are the White Mountains in New Hampshire?",a:"The White Mountains cover the northern third of New Hampshire and a small portion of western Maine, centered on the 800,000-acre White Mountain National Forest. Franconia, where Gale River House is located, sits on the western edge of the range."},{q:"What is the best base for exploring the White Mountains?",a:"Franconia, NH is one of the best bases for first-time visitors: it sits at the entrance to Franconia Notch State Park and is within an hour of the Presidential Range, the Kancamagus Highway, and Mount Washington Valley."},{q:"How many days do you need in the White Mountains?",a:"Three nights is the minimum to see the main highlights â Franconia Notch, the Kancamagus, and a Presidential Range drive. Four to five nights lets you add hiking, dining, and quieter time in the villages."}]},{slug:"fall-foliage-franconia-notch-guide",title:"A Local's Guide to Fall Foliage in Franconia Notch",excerpt:"When to come, where to drive, and which overlooks deliver the most jaw-dropping color in the White Mountains.",metaDescription:"Plan the perfect fall foliage trip to Franconia Notch, NH. Peak weeks, scenic drives, overlooks, and where to stay near the White Mountains.",keywords:"fall foliage New Hampshire, Franconia Notch foliage, White Mountains leaf peeping, peak foliage NH, scenic drives White Mountains, where to stay Franconia",category:"Seasonal Guides",author:"Gale River House",publishedAt:"2026-05-20",readTime:"7 min read",heroImage:QL,heroAlt:"Sunlight streaming across the autumn-colored mountains of Franconia Notch in New Hampshire",sections:[{paragraphs:["Every September, the White Mountains begin a quiet transformation. By the first weekend of October, Franconia Notch is a corridor of crimson maple, golden birch, and the deep amber of beech â a four-week show that draws photographers, hikers, and slow drivers from around the world.","From our porch at Gale River House, you are five minutes from the entrance to Franconia Notch State Park and a short drive from the most spectacular overlooks in New England. Here is how we tell guests to plan it."]},{heading:"When is peak fall foliage in Franconia Notch?",paragraphs:["In a typical year, color begins turning in the higher elevations during the last week of September and reaches its peak between October 5 and October 15. Lower elevations along the Gale River and Franconia village hold color through the third week of October.","If you are planning a leaf-peeping trip from out of state, book the second weekend of October for the highest probability of full color. Mid-week stays (Sunday through Thursday) avoid weekend traffic on the Kancamagus Highway and let you have the overlooks nearly to yourself."]},{heading:"The scenic drives worth your morning",list:["Franconia Notch Parkway (I-93) â the classic. Pull off at the Old Man Historic Site and Profile Lake for mirror reflections of Cannon Mountain.","The Kancamagus Highway â 34 miles of uninterrupted forest from Lincoln to Conway. Stop at Sabbaday Falls and the Sugar Hill Overlook.","Sugar Hill loop on Route 117 â pastoral, quieter, and a beautiful sunset drive with views back toward the Presidentials.","Bear Notch Road â
196connects the Kancamagus to Bartlett with broad, less-traveled vistas."]},{heading:"The overlooks we send guests to first",paragraphs:["Artist's Bluff is a quick 30-minute round-trip hike from Echo Lake with one of the most photographed views in the state â Cannon Mountain on the left, the Notch tumbling away to the right. Sunrise here in October is unforgettable.","Sugar Hill Sunset Hill Road gives you the long view: the Franconia Range, Mount Lafayette, and on clear days a glimpse of the Presidentials in the distance. Bring coffee and a blanket."]},{heading:"Where to stay for fall foliage near Franconia Notch",paragraphs:["Gale River House sits in Franconia, NH â minutes from the Notch and walking distance to local coffee, the Iron Furnace, and the Gale River itself. Our historic rooms, wraparound porch, and morning breakfast are designed for the kind of slow autumn weekend that foliage season demands.","Foliage weekends book up nine to twelve months in advance. If you are reading this in spring or summer, now is the time to reserve."]}],faq:[{q:"When is peak fall foliage in New Hampshire?",a:"Peak fall foliage in the White Mountains and Franconia Notch typically falls between October 5 and October 15. Higher elevations turn first; valley color holds through the third week of October."},{q:"How far is Gale River House from Franconia Notch State Park?",a:"Gale River House is a five-minute drive from the northern entrance to Franconia Notch State Park, making it one of the closest historic inns to the park."},{q:"Do I need a reservation for the Franconia Notch overlooks?",a:"No reservation is needed for roadside overlooks. The Flume Gorge and Cannon Mountain tramway do recommend advance tickets during October weekends."}]},{slug:"best-hikes-near-franconia-nh",title:"The Best Hikes Within 20 Minutes of Gale River House",excerpt:"From easy waterfall walks to a summit on the Presidential Range â six trails our guests come back for.",metaDescription:"Six of the best hikes near Franconia, NH â easy waterfall walks, family-friendly trails, and bucket-list summits, all within 20 minutes of Gale River House.",keywords:"best hikes Franconia NH, White Mountains hikes, easy hikes near Franconia, Franconia Ridge hike, family hikes White Mountains, Lonesome Lake trail",category:"Things To Do",author:"Gale River House",publishedAt:"2026-05-12",readTime:"9 min read",heroImage:JL,heroAlt:"A sunny White Mountains hiking trail in summer with mossy boulders and tall evergreens",sections:[{paragraphs:["Guests often ask us for one hike to do during their stay. The honest answer is: pick three. Within twenty minutes of Gale River House you can stand at the foot of a waterfall, walk a flat loop with a stroller, or set off on one of the most celebrated ridge walks in the Northeast.","Below are six trails we send guests to most often, sorted from easiest to most ambitious."]},{heading:"1. The Basin and Cascade Brook â easy, 30 minutes",paragraphs:["A short walk from a roadside parking area to a granite bowl carved smooth by centuries of glacial meltwater. Family-friendly, stroller-accessible from the parking lot, and a perfect first stop on arrival day."]},{heading:"2. Artist's Bluff Loop â easy, 1 hour",paragraphs:["A 1.5-mile loop from Echo Lake beach to a granite ledge with a sweeping view of the Notch. The climb is short but rocky; the view is worth every step. Best at sunrise or in the last hour of light."]},{heading:"3. Lonesome Lake Trail â moderate, 3 hours",paragraphs:["A steady 1,000-foot climb from Lafayette Place Campground brings you to a glacial pond with a postcard view of the Franconia Ridge across the water. The AMC hut at the far shore sells lemonade and fresh-baked bread."]},{heading:"4. WelchâDickey Loop â moderate, 4 hours",paragraphs:["A 4.4-mile loop over two open ledge summits with 360-degree views of the Sandwich Range. Sunny, exposed, and excellent on a clear fall day."]},{heading:"5. Mount Pemigewasset â moderate, 3 hours",paragraphs:["Known locally as Indian Head, this 3.4-mile round-trip climbs to a
196south-facing cliff with one of the best lunch views in the Notch."]},{heading:"6. The Franconia Ridge Loop â strenuous, 8 hours",paragraphs:["The bucket-list day hike: Mount Lafayette, Mount Lincoln, and Little Haystack via the Falling Waters and Old Bridle Path trails. Nine miles, 4,000 vertical feet, and a mile-and-a-half of above-treeline ridgeline. Start at sunrise, pack layers, and return to the porch by dinner."]}],faq:[{q:"What is the best easy hike near Franconia, NH?",a:"The Basin and Cascade Brook walk is the easiest scenic hike near Franconia â a flat, ten-minute stroll from a roadside parking area to a glacier-carved granite swimming hole."},{q:"How long does the Franconia Ridge Loop take?",a:"Most fit hikers complete the Franconia Ridge Loop in seven to nine hours. Plan for an early start, full water, and a weather check the night before."}]},{slug:"where-to-eat-franconia-nh",title:"Where to Eat Near Gale River House: Our Favorite Restaurants",excerpt:"Breakfast spots, brewpubs, and quiet dinner tables â a current list of the places our innkeepers actually visit.",metaDescription:"A current, locally-loved guide to the best restaurants near Franconia, NH and Gale River House â breakfast, lunch, dinner, and a great pint.",keywords:"restaurants Franconia NH, where to eat White Mountains, best breakfast Franconia, Polly's Pancake Parlor, dining near Gale River House, Lincoln NH restaurants",category:"Food & Drink",author:"Gale River House",publishedAt:"2026-04-28",readTime:"5 min read",heroImage:XL,heroAlt:"A candle-lit New England farm-to-table restaurant interior with a plated dish in the foreground",sections:[{paragraphs:["We are asked about restaurants more than anything else. This is the short, honest list â the places we send our parents to, where we celebrate birthdays, and where we go on a quiet Tuesday."]},{heading:"Breakfast",list:["Polly's Pancake Parlor (Sugar Hill) â a 1938 institution, with house-tapped maple syrup and a 30-minute wait that is always worth it.","The Iron Furnace Brewing (Franconia) â espresso and pastries from a beautifully restored historic building, two minutes from our door.","Cold Mountain Café (Bethlehem) â bright, local, and the place to fuel up before a long hike."]},{heading:"Lunch and casual dinners",list:["Gypsy Café (Lincoln) â globally-inspired small plates and one of the more interesting menus in the valley.","Schilling Beer Co. (Littleton) â wood-fired pizza on the banks of the Ammonoosuc River, with a rotating tap list.","Black Mtn. Burger (Lincoln) â exactly what you want after eight miles on the Franconia Ridge."]},{heading:"A special dinner",list:["Sunset Hill House (Sugar Hill) â a refined dinner with one of the great mountain views in New Hampshire.","Tim-Bir Alley (Bethlehem) â chef-driven, intimate, and a long-standing favorite for anniversaries.","The Common Man (Lincoln) â reliable, comfortable, and a good place for a larger group."]},{heading:"A note from our innkeepers",paragraphs:["Reservations are a good idea on weekends from late June through October and again in February. If you tell us when you're booking, we are happy to call ahead on your behalf."]}],faq:[{q:"What is the best breakfast near Franconia, NH?",a:"Polly's Pancake Parlor in Sugar Hill is the most beloved breakfast spot in the area, serving house-tapped maple syrup and made-to-order pancakes since 1938."},{q:"Are restaurants near Gale River House walkable?",a:"Yes â Iron Furnace Brewing and several Franconia village spots are within a five-minute walk of Gale River House. Lincoln and Sugar Hill restaurants are a short drive."}]},{slug:"best-breweries-near-franconia-nh",title:"3 Best Breweries Near Franconia, NH (and Why We Walk to Iron Furnace)",excerpt:"Three White Mountains breweries worth a pint â starting with Iron Furnace Brewing, a short walk down the sidewalk from Gale River House.",metaDescription:"The 3 best breweries near Franconia, NH â Iron Furnace Brewing, Schilling Beer Co., and Woodstock Inn Brewery. Taproom notes, history, and walking distance from Gale River House.",keywords:"breweries near Franconia NH, Iron Furnace Brewing Franconia, Schilling Beer Co Littleton, Woodstock Inn Brewery, White Mountains breweries, craft beer Franconia Notch",category:"Food & Drink",author:"Gale River House",publishedAt:"2026-09-03",readTime:"6 min read",heroImage:oD,heroAlt:"A warm brewery taproom in a historic New England brick building with taps and pint glasses on a wooden bar",sections:[{paragraphs:["The White Mountains have quietly become one of New England's better beer regions. Small breweries here tend to live inside old buildings â mills, iron works, and 19th-century inns â and the beer usually tastes like the place it comes from: clean water, cold winters, and no particular hurry.","These are the three breweries we send guests to most often. One of them you can reach on foot from our porch."]},{heading:"1. Iron Furnace Brewing â Franconia (walking distance)",paragraphs:["Iron Furnace Brewing is our neighborhood brewery, and it is the reason many of our guests never move their car on the first night. From the front steps of Gale River House it is a few minutes on foot along the paved sidewalk into Franconia village â no shuttle, no parking, no designated driver required.","The name is local history, not marketing. Franconia's iron works, founded in the early 1800s, smelted ore from nearby Sugar Hill and Lisbon using charcoal from the surrounding forests. The stone blast furnace that gave the operation its name still stands beside the Gale River just south of the village â one of the last surviving iron furnaces in New England and a New Hampshire historic site you can walk right up to. The brewery takes its name and its identity from that furnace: the same river, the same valley, the same stubborn industry of making something useful out of what the mountains provide.","Inside, it is a comfortable taproom in a restored village building, with a rotating list that usually spans a crisp lager, a couple of New England IPAs, and something dark and malty when the weather turns. There is coffee and pastry in the morning, food and live music on many evenings, and a crowd that is roughly half hikers and half neighbors."],list:["Walk: a few minutes on the paved sidewalk from Gale River House","Best for: a first-night pint, coffee before a hike, live music weekends","Local note: the historic Franconia iron furnace itself is a short drive south, beside the Gale River"]},{heading:"2. Schilling Beer Co. â Littleton (about 20 minutes)",paragraphs:["Schilling brews European-style beer inside a restored 18th-century grist mill on the bank of the Ammonoosuc River in downtown Littleton. The riverside deck is one of the best places to
196sit in the North Country, and the wood-fired pizza is genuinely good rather than merely convenient.","Expect Czech pilsners, German lagers, Belgian farmhouse ales, and a few hop-forward outliers. If you have been drinking hazy IPAs all week, this is the reset."]},{heading:"3. Woodstock Inn Brewery â North Woodstock (about 20 minutes)",paragraphs:["One of New Hampshire's original craft breweries, Woodstock Inn Brewery has been pouring since the mid-1990s in a rambling Victorian inn at the southern end of Franconia Notch. It is the most family-friendly of the three: big menu, big portions, and a brewery tour that has entertained two generations of ski families.","Pair it with a day at Loon Mountain or a drive up the Kancamagus â it sits almost exactly at the turn."]},{heading:"Making a brewery day of it",paragraphs:["The tidy version: hike in the notch in the morning, lunch and a pint at Woodstock Inn Brewery, an afternoon drive north to Schilling for the river deck, and back to Franconia for a nightcap you can walk to at Iron Furnace. Gale River House sits in the middle of that loop, and our self check-in means it does not matter what time you roll back in."]}],faq:[{q:"Is there a brewery in Franconia, NH?",a:"Yes â Iron Furnace Brewing is in Franconia village, a few minutes' walk along the paved sidewalk from Gale River House."},{q:"Can you walk to a brewery from Gale River House?",a:"Yes. Iron Furnace Brewing is walkable from Gale River House along a paved sidewalk into Franconia village, so no driving is needed."},{q:"What is the Franconia iron furnace?",a:"The Franconia iron furnace is an early 1800s stone blast furnace beside the Gale River, one of the last surviving iron furnaces in New England and the namesake of Iron Furnace Brewing."},{q:"What are the best breweries in the White Mountains?",a:"Iron Furnace Brewing in Franconia, Schilling Beer Co. in Littleton, and Woodstock Inn Brewery in North Woodstock are the three best breweries near Franconia Notch."}]},{slug:"5-places-to-eat-franconia-nh",title:"5 Places to Eat in Franconia, NH (Local Picks for 2026)",excerpt:"Five restaurants near Franconia we recommend every week â from pancakes in Sugar Hill to a walkable pint in the village.",metaDescription:"Five of the best places to eat in Franconia, NH â breakfast, casual dinners, and a special night out, with distances from Gale River House.",keywords:"places to eat Franconia NH, best restaurants Franconia New Hampshire, where to eat near Franconia Notch, Polly's Pancake Parlor, Sunset Hill House dining, Franconia NH food",category:"Food & Drink",author:"Gale River House",publishedAt:"2026-09-03",readTime:"6 min read",heroImage:sD,heroAlt:"A rustic New England restaurant dining room with warm lamplight and a plated dinner in the foreground",sections:[{paragraphs:["Franconia is a small town, which is good news for eating: the list of places worth your time is short, and almost all of them are within fifteen minutes of Gale River House. These five cover the whole trip â the morning after a long drive, the night after a long hike, and the dinner you plan the weekend around."]}
196,{heading:"1. Polly's Pancake Parlor â Sugar Hill (3-minute drive)",paragraphs:["The most famous breakfast in New Hampshire, and the closest one to us. Polly's has been serving made-to-order pancakes with syrup tapped from its own sugarbush since 1938, with a dining room that looks across Sugar Hill toward the Presidential Range. Put your name in early, walk the meadow while you wait, and order the sampler so you can try the cornmeal and buckwheat."]},{heading:"2. Iron Furnace Brewing â Franconia village (walkable)",paragraphs:["Coffee and pastry in the morning, beer and a casual dinner at night, and close enough to walk to along the paved sidewalk from our porch. It is the easiest good meal of your stay, and the taproom is where you will hear what the trail conditions actually are."]},{heading:"3. Sunset Hill House â Sugar Hill (7-minute drive)",paragraphs:["This is where we send guests celebrating something. A classic ridge-top dining room with a long view west toward Vermont and east toward the Franconia Range, a refined but unfussy menu, and a sunset that does most of the work. Reserve ahead in foliage season."]},{heading:"4. Schilling Beer Co. â Littleton (20-minute drive)",paragraphs:["Wood-fired pizza and European-style beer in a restored grist mill on the Ammonoosuc River. The riverside deck in summer is worth the drive on its own, and downtown Littleton is a pleasant hour of browsing before or after."]},{heading:"5. Gypsy Café â Lincoln (20-minute drive)",paragraphs:["The most interesting menu in the valley: globally-inspired small plates, generous vegetarian options, and a room that feels nothing like a ski-town restaurant. A good choice when the group cannot agree on what it wants."]},{heading:"Planning your meals",paragraphs:["From late June through October and again in February, reserve dinner ahead â especially on Saturdays. Breakfast at Polly's is first-come, first-served, so aim for before 8:30 a.m. or after 1 p.m. If you are staying with us and want a recommendation for a specific night, just ask."]}],faq:[{q:"What are the best places to eat in Franconia, NH?",a:"Polly's Pancake Parlor, Iron Furnace Brewing, Sunset Hill House, Schilling Beer Co., and Gypsy Café are five of the best places to eat in and near Franconia, NH."},{q:"How far is Polly's Pancake Parlor from Gale River House?",a:"Polly's Pancake Parlor in Sugar Hill is about a three-minute drive from Gale River House."},{q:"Are there restaurants within walking distance in Franconia?",a:"Yes â Iron Furnace Brewing and several village spots are a short walk from Gale River House along a paved sidewalk."}]},{slug:"pollys-pancake-parlor-history",title:"Polly's Pancake Parlor: The History of a New Hampshire Institution",excerpt:"Since 1938, Polly's has turned a Sugar Hill sugarhouse into one of New England's most beloved breakfasts â three minutes from our door.",metaDescription:"The history of Polly's Pancake Parlor in Sugar Hill, NH â how a 1938 maple sugarhouse became a New Hampshire institution, and how to visit from Franconia.",keywords:"Polly's Pancake Parlor history, Sugar Hill NH pancakes, best breakfast New Hampshire, Polly's Pancake Parlor Franconia, New Hampshire maple syrup, where to eat Sugar Hill NH",category:"Food & Drink",author:"Gale River House",publishedAt:"2026-09-03",readTime:"6 min read",heroImage:aD,heroAlt:"A stack of golden pancakes with maple syrup poured over them on a farmhouse table with a view of rolling New Hampshire hills",sections:[{paragraphs:["Ask anyone in the White Mountains where to eat breakfast and you will get one answer before you finish the question. Polly's Pancake Parlor, on a hillside in Sugar Hill with a view across the valley toward the Presidential Range, has been serving pancakes since 1938 â which makes it older than most of the ski areas, most of the highways, and nearly everything else people drive up here for.","It is a three-minute drive from Gale River House, and in our experience it is the single stop our guests talk about most on their way home."]},{heading:"How it started: a Depression-era maple experiment",paragraphs:['The Dexter family had been making maple syrup on this hillside for generations. In the 1930s, with the Depression flattening syrup prices, Wilfred "Sugar Bill" Dexter and his wife Polly had an idea that was equal parts marketing and hospital
196ity: invite people into the sugarhouse, cook pancakes on a griddle, and let the syrup sell itself.',"They charged a modest sum for all you could eat. Visitors came for the novelty and returned for the food. What began as a way to move maple product during hard years turned into a restaurant that has now fed four generations of New Englanders, leaf peepers, and thru-hikers."]},{heading:"Why it became a New Hampshire institution",paragraphs:["Three things kept Polly's from becoming a roadside curiosity. First, the batters are still ground and mixed in house â buckwheat, cornmeal, whole wheat, and oatmeal buttermilk among them â and cooked to order in small stacks so nothing sits. Second, the maple products are the family's own, still made from the surrounding sugarbush, so the syrup on the table has a provenance you can see out the window. Third, the family never franchised it, never scaled it, and never moved it off the hill.","The restaurant has outgrown its original sugarhouse â a newer building opened in 2015 with the same view and a lot more seating â but the operation is recognizably the one Polly Dexter ran. It has been written up by nearly every food and travel publication that covers New England, and it remains, more than anything, a local place that happens to be famous."],list:["Founded: 1938, in the family's Sugar Hill maple sugarhouse","Signature: made-to-order pancakes in multiple house-ground batters","Syrup: tapped and boiled from the family's own sugarbush","View: across Sugar Hill toward the Presidential Range","From Gale River House: about a 3-minute drive"]},{heading:"How our guests do it",paragraphs:["Polly's does not take reservations for most parties, so timing matters. Our guests have the best luck arriving before 8:30 a.m. or after 1 p.m., especially on fall weekends when the wait can stretch past an hour. The good news is that waiting at Polly's is genuinely pleasant â there are meadows to walk, a shop full of maple products, and the view is the reason half the people are there.","Order the pancake sampler if it is your first visit: you get a taste of several batters and can decide what you are loyal to for the rest of your life. Add the maple cream on toast. Buy a jug of syrup on the way out; every guest who does not regrets it.","Being three minutes away is one of the quiet advantages of staying with us. You can be first in line, come back, and still have your whole day in Franconia Notch ahead of you."]}],faq:[{q:"How old is Polly's Pancake Parlor?",a:"Polly's Pancake Parlor opened in 1938 in the Dexter family's maple sugarhouse in Sugar Hill, New Hampshire, and has operated on the same hillside ever since."},{q:"Why is Polly's Pancake Parlor famous?",a:"Polly's is famous for made-to-order pancakes in house-ground batters, maple syrup from the family's own sugarbush, and a hillside view toward the Presidential Range â all served continuously since 1938."},{q:"How far is Polly's Pancake Parlor from Franconia, NH?",a:"Polly's Pancake Parlor is about a three-minute drive from Franconia village and from Gale River House."},{q:"Does Polly's Pancake Parlor take reservations?",a:"Polly's generally seats on a first-come basis for most parties. Arriving before 8:30 a.m. or after 1 p.m. is the best way to avoid a long wait, especially in fall foliage season."}]},{slug:"5-covered-bridges-near-franconia-nh",title:"5 Most Beautiful Covered Bridges Near Franconia, NH",excerpt:"New Hampshire has more than 50 historic covered bridges â five of the most scenic sit right outside Franconia's door. Here's how to see them in a single scenic loop.",metaDescription:"Discover the 5 most beautiful covered bridges near Franconia, NH â the Flume, Sentinel Pine, Blair, Bath, and Albany bridges. Driving times, history, and where to stay.",keywords:"covered bridges near Franconia NH, covered bridges White Mountains NH, Flume covered bridge, Sentinel Pine bridge, Blair bridge Campton NH, Albany covered bridge Kancamagus, Bath NH covered bridge, scenic drives Franconia Notch",category:"Things to Do",author:"Gale River House",publishedAt:"2026-09-14",readTime:"7 min read",heroImage:lD,heroAlt:"A red covered wooden bridge crossing a river surrounded by brilliant fall foliage in the White Mountains of New Hampshire",sections:[{paragraphs:["New Hampshire is covered-bridge country. The White Mountains hold some of the oldest and most photogenic wooden bridges in America, and Franconia sits right in the middle of them â five of the state's most beautiful crossings are within an easy, scenic drive of our front door. Some you can drive through, some you can only walk, and each one frames the mountains in a way no parking-lot overlook can.","Make a day of it: start in the notch, loop down the Pemigewasset River, and finish on the Kancamagus Highway. Along the way you'll pass swimming holes, general stores, and enough mountain views to fill a memory card."]},{heading:"1. Flume Covered Bridge â Franconia Notch State Park",paragraphs:["The closest covered bridge to Gale River House â and arguably the most photographed in New Hampshire â is the Flume Covered Bridge, built in 1886. Red-painted timber, a classic pitched roof, and the Pemigewasset River chattering beneath it: this is the postcard image of a New England covered bridge. It sits at the entrance to the Flume Gorge, where a two-mile boardwalk trail leads you between 90-foot granite walls.","The bridge is walkable only in the warmer months, when the Flume Gorge is o
196pen. Visit in early morning or at golden hour for the best light and the fewest crowds."]},{heading:"2. Sentinel Pine Covered Bridge â Franconia Notch",paragraphs:["Just upstream from the Flume, the Sentinel Pine Covered Bridge crosses the Pemigewasset River above The Pool, a deep basin carved by glacial meltwater. Built in 1939 by the Society for the Protection of New Hampshire Forests, this pedestrian-only footbridge stands on the site of an enormous â and enormously old â white pine that once watched over the gorge until a storm felled it.","A walk across takes two minutes. Give it twenty. The view down into The Pool, framed by the bridge's covered sides, is one of the quietest places in Franconia Notch."]},{heading:"3. Blair Covered Bridge â Campton",paragraphs:["Twenty minutes south of Franconia, the Blair Covered Bridge crosses the Pemigewasset River in Campton. It has spanned the river in one form or another since the 1820s, and its long, graceful trusses and views up the river valley make it a favorite of photographers â especially in fall, when the hillsides behind it catch fire with color.","Unlike the Flume bridges, you can drive straight through it. Roll the windows down and listen to the wooden deck rumble. The Farm to Table restaurant next door makes an easy lunch stop."]},{heading:"4. Bath Village Bridge â Bath",paragraphs:["Northwest of Franconia, the village of Bath holds not one but two historic covered bridges over the Ammonoosuc River. The Bath Village Bridge, built in 1832, is one of the oldest in the state â a hand-hewn timber structure that has carried teams, carts, and cars for nearly two centuries. The nearby Bath Bridge crosses the river just west of town.","Bath itself is worth the detour: a perfectly preserved 19th-century main street, a general store that has operated since 1793, and a church steeple that anchors the whole valley. It's about a 40-minute drive from Gale River House, most of it along the scenic Ammonoosuc River corridor."]},{heading:"5. Albany Covered Bridge â Kancamagus Highway",paragraphs:["South of Franconia, the Kancamagus Highway â America's most famous scenic byway â hides the Albany Covered Bridge just off the road, deep in the White Mountain National Forest. Built in 1858, the Albany Bridge spans the Swift River among towering pines, and the surrounding area offers some of the best foliage viewing in New England.","Pair it with a stop at Lower Falls or Sabbaday Falls and you have a perfect half-day loop from Franconia. In peak foliage season, arrive before 10 a.m. â the Kanc is no secret."]},{heading:"Plan your covered bridge loop from Franconia",paragraphs:["All five bridges make an easy day trip from Gale River House: the Flume and Sentinel Pine bridges are minutes from the notch, Blair Bridge is a 20-minute drive, Albany Bridge about 40 minutes down the Kancamagus, and the Bath bridges a scenic 40 minutes to the north. Stop back in Franconia village for dinner at Iron Furnace Brewing and tell us which one was your favorite.","Gale River House is pet friendly â the bridges, rivers, and trails along this loop are all great walks with a dog. Book your stay and make the covered bridge loop part of your White Mountains trip."]}],faq:[{q:"How many covered bridges are near Franconia, NH?",a:"Five of New Hampshire's most scenic covered bridges are within about 40 minutes of Franconia: the Flume Covered Bridge and Sentinel Pine Bridge in Franconia Notch, the Blair Bridge in Campton, the Bath Village and Bath bridges in Bath, and the Albany Covered Bridge on the Kancamagus Highway."},{q:"Can you drive through the covered bridges near Franconia?",a:"The Blair, Bath, and Albany covered bridges are open to cars. The Flume Covered Bridge is within the Flume Gorge visitor area, and the Sentinel Pine Bridge is pedestrian-only â a short, beautiful walk."},{q:"What is the oldest covered bridge near Franconia?",a:"The Bath Village Bridge, built in 1832 over the Ammonoosuc River, is the oldest of the five. The Albany Covered Bridge dates to 1858."},{q:"When is the best time to see covered bridges in the White Mountains?",a:"Late September through mid-October, when fall foliage peaks, is the most popular â and most photogenic â time. Early morning visits beat the crowds, especially on the Kancamagus Highway."}]},{slug:"skiing-near-franconia-nh-best-resorts",title:"Skiing Near Franconia, NH: 3 White Mountains Resorts Worth the Trip",excerpt:"From steep expert terrain to family-friendly cruisers â the three best ski resorts near Franconia, NH, all within an easy drive of Gale River House.",metaDescription:"Discover the best skiing near Franconia, NH â Cannon Mountain, Loon Mountain, and Bretton Woods. Compare terrain, highlights, and where to stay in the White Mountains.",keywords:"skiing near Franconia NH, best ski resorts White Mountains, Cannon Mountain skiing, Loon Mountain resort, Bretton Woods skiing, where to ski Franconia Notch, New Hampshire ski vacation",category:"Seasonal Guides",author:"Gale River House",publishedAt:"2026-08-20",readTime:"7 min read",heroImage:iD,heroAlt:"A skier on a groomed trail surrounded by snow-covered evergreen trees and distant White Mountains peaks",sections:[{paragraphs:["Winter in the White Mountains is a different kind of beautiful. The ridges that glow green in summer and burn red in autumn turn silent and white, and the valleys fill with the particular hush that only comes after a fresh snowfall. For skiers and snowboarders, Franconia, New Hampshire sits in one of the best locations in New England â three major resorts are within a half-hour drive, each with its own personality.","Whether you want thigh-burning expert pitches, wide groomers for the family, or long tree-lined cruisers with a view of Mount Washington, the ski areas near Gale River House deliver. Here are the three resorts our innkeepers send guests to most often, and what makes each one worth a powder day."]},{heading:"Cannon Mountain â steep, storied, and five minutes away",paragraphs:["Cannon Mountain is the closest ski area to Gale River House and one of the most respected in the East. Located inside Franconia Notch State Park, this state-owned mountain is famous for its steep, fall-line terrain and old-school New England character. A 2,180-foot vertical drop, 98 trails, and the iconic aerial tram make it a destination for confident intermediates and experts who like the
196ir skiing honest.","The highlights here are the views and the challenge. From the summit, you can see across the notch toward the Franconia Ridge, and trails like Tramway and Zoomer reward strong skiers with fast, direct descents. Cannon also tends to hold natural snow better than many southern New England resorts, which means mid-winter storms can turn the mountain into a powder playground."],list:["Vertical drop: 2,180 feet across 285 acres","98 trails served by 9 lifts, including the aerial tram","Best for: strong intermediates, advanced skiers, and powder hounds","Signature experience: riding the tram on a clear morning for ridge-line views","Distance from Gale River House: about 5 minutes"]},{heading:"Loon Mountain â family-friendly variety in Lincoln",paragraphs:["Loon Mountain Resort in Lincoln is the go-to choice for families and groups who want variety without complexity. With more than 400 skiable acres spread across three peaks, Loon offers everything from gentle learning terrain to the South Peak expansion's advanced glades and terrain parks. The snowmaking system is extensive, and the base village has enough restaurants, shops, and après spots that non-skiers have plenty to do.","The South Peak expansion added more than 30 acres of intermediate and advanced terrain, along with a high-speed quad that keeps lift lines moving. Loon's cruisers are long and well-groomed, and the mountain's location in a natural snow pocket means conditions often exceed expectations. It is also an easy drive from Gale River House, straight down Route 93."],list:["400+ acres across three peaks with 61 trails","South Peak expansion adds glades, cruisers, and a high-speed quad","Best for: families, mixed-ability groups, and terrain-park riders","Signature experience: a long top-to-bottom cruiser ending at the base village","Distance from Gale River House: about 20 minutes"]},{heading:"Bretton Woods â New Hampshire's largest ski area",paragraphs:["Bretton Woods sits on the other side of the notch from Cannon, with the Presidential Range as a dramatic backdrop. It is the largest ski area in New Hampshire, with 468 acres, 104 trails, and some of the most consistent grooming in the region. The terrain is skewed toward intermediates, but there is enough advanced skiing on the Rosebrook Canyon side and in the trees to keep experienced riders happy for multiple days.","What sets Bretton Woods apart is the scenery. On a clear day, the summit looks straight across at Mount Washington, and the long, winding trails through open glades feel more western than typical New England. The resort also has a well-earned reputation for reliable snow and a polished base-area experience, with the historic Omni Mount Washington Resort just steps away."],list:["468 acres and 104 trails â the largest ski area in New Hampshire","92% snowmaking coverage for reliable conditions","Best for: intermediates, scenic cruisers, and resort-style amenities","Signature experience: a morning run with Mount Washington in the background","Distance from Gale River House: about 25 minutes"]},{heading:"Where to stay for a ski trip to Franconia, NH",paragraphs:["Gale River House puts you at the center of these three resorts. Cannon is close enough for first tracks and a mid-morning coffee break back at the inn. Loon and Bretton Woods are easy day trips, and our self check-in means you can roll in late after a long day on the mountain without waiting at a front desk.","Every room is pet friendly, so your dog can hold down the cottage while you are out chasing powder. After the lifts close, the porch, a hot shower, and a quiet evening in the village are exactly what a ski day calls for."]}],faq:[{q:"What is the closest ski resort to Franconia, NH?",a:"Cannon Mountain is the closest ski resort to Franconia, NH â about a five-minute drive from Gale River House and located inside Franconia Notch State Park."},{q:"Is Cannon Mountain good for beginners?",a:"Cannon Mountain has beginner terrain, but it is best known for steep, challenging fall-line skiing. Beginners and cautious intermediates may be more comfortable at Loon Mountain or Bretton Woods."},{q:"Which White Mountains ski resort is best for families?",a:"Loon Mountain Resort is the most family-friendly of the three, with a wide range of terrain, a large base village, and extensive learning areas. Bretton Woods is also excellent for families who prefer groomed cruisers and resort amenities."},{q:"How far is Bretton Woods from Franconia, NH?",a:"Bretton Woods is about a 25-m
196inute drive from Franconia, NH, on the other side of Franconia Notch from Cannon Mountain."}]}],uD=e=>pu.find(t=>t.slug===e),sh=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),cD="/assets/journal-hero-BENpiB1B.jpg",Yo="https://galeriverhouse.com",dD={"@context":"https://schema.org","@type":"Blog",name:"The Gale River Journal",description:"Stories, guides, and seasonal dispatches from Gale River House in Franconia, New Hampshire.",url:`${Yo}/journal`,publisher:{"@type":"LodgingBusiness",name:"Gale River House",url:Yo},blogPost:pu.map(e=>({"@type":"BlogPosting",headline:e.title,description:e.excerpt,datePublished:e.publishedAt,url:`${Yo}/journal/${e.slug}`,author:{"@type":"Organization",name:e.author}}))},hD=()=>{const[e,...t]=pu;return p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsxs(nf,{children:[p.jsx("title",{children:"The Gale River Journal | White Mountains Stories & Travel Guides"}),p.jsx("meta",{name:"description",content:"Seasonal guides, hiking tips, and local stories from Franconia, NH and the White Mountains â by the innkeepers at Gale River House."}),p.jsx("meta",{name:"keywords",content:"Franconia NH blog, White Mountains travel guide, things to do Franconia, NH inn journal, White Mountains stories"}),p.jsx("link",{rel:"canonical",href:`${Yo}/journal`}),p.jsx("meta",{property:"og:title",content:"The Gale River Journal"}),p.jsx("meta",{property:"og:description",content:"Seasonal guides and local stories from the innkeepers at Gale River House in Franconia, NH."}),p.jsx("meta",{property:"og:type",content:"website"}),p.jsx("meta",{property:"og:url",content:`${Yo}/journal`}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify(dD)})]}),p.jsx(Jr,{}),p.jsxs("section",{className:"relative h-[60vh] min-h-[420px] overflow-hidden",children:[p.jsx("img",{src:cD,alt:"An open journal with a pen on a
196sunlit windowsill",className:"absolute inset-0 w-full h-full object-cover",width:1600,height:900}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-espresso/40 via-espresso/30 to-espresso/80"}),p.jsxs("div",{className:"relative z-10 h-full flex flex-col items-center justify-center text-center px-6",children:[p.jsx(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},className:"text-cream/90 uppercase tracking-[0.4em] text-xs md:text-sm mb-6",children:"Dispatches from Franconia"}),p.jsx(Y.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,delay:.2},className:"hero-title max-w-4xl",children:"The Gale River Journal"}),p.jsx(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},className:"font-display italic text-cream/90 text-lg md:text-2xl mt-6 max-w-2xl",children:"Seasonal guides, quiet stories, and a slow look at the White Mountains."})]})]}),p.jsx("section",{className:"py-20 md:py-28",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[p.jsx("p",{className:"section-subtitle mb-4",children:"Featured"}),p.jsxs(nt,{to:`/journal/${e.slug}`,className:"group grid md:grid-cols-2 gap-10 items-center",children:[p.jsx("div",{className:"overflow-hidden",children:p.jsx("img",{src:e.heroImage,alt:e.heroAlt,loading:"lazy",width:1600,height:1024,className:"w-full h-[360px] md:h-[480px] object-cover transition-transform duration-700 group-hover:scale-105"})}),p.jsxs("div",{children:[p.jsxs("p",{className:"text-xs uppercase tracking-[0.3em] text-accent mb-4",children:[e.category," · ",e.readTime]}),p.jsx("h2",{className:"font-display text-3xl md:text-5xl text-foreground mb-6 leading-tight group-hover:text-accent transition-colors",children:e.title}),p.jsx("p",{className:"text-foreground/75 text-lg leading-relaxed font-body mb-6",children:e.excerpt}),p.jsxs("p",{className:"text-sm text-muted-foreground",children:[sh(e.publishedAt)," · ",e.author]}),p.jsx("span",{className:"inline-block mt-8 text-xs uppercase tracking-[0.3em] border-b border-accent pb-1 text-accent",children:"Read the story"})]})]})]})}),t.length>0&&p.jsx("section",{className:"pb-28",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[p.jsx("div",{className:"elegant-divider mb-16"}),p.jsx("div",{className:"grid md:grid-cols-2 gap-x-10 gap-y-16",children:t.map(n=>p.jsx("article",{children:p.jsxs(nt,{to:`/journal/${n.slug}`,className:"group block",children:[p.jsx("div",{className:"overflow-hidden mb-6",children:p.jsx("img",{src:n.heroImage,alt:n.heroAlt,loading:"lazy",width:1600,height:1024,className:"w-full h-[280px] object-cover transition-transform duration-700 group-hover:scale-105"})}),p.jsxs("p",{className:"text-xs uppercase tracking-[0.3em] text-accent mb-3",children:[n.category," · ",n.readTime]}),p.jsx("h3",{className:"font-display text-2xl md:text-3xl text-foreground mb-3 leading-tight group-hover:text-accent transition-colors",children:n.title}),p.jsx("p",{className:"text-foreground/70 font-body mb-4",children:n.excerpt}),p.jsx("p",{className:"text-sm text-muted-foreground",children:sh(n.publishedAt)})]})},n.slug))})]})}),p.jsx(Zr,{})]})},No="https://galeriverhouse.com",fD=()=>{const{slug:e}=Ex(),t=e?uD(e):void 0;if(b.useEffect(()=>{window.scrollTo({top:0,behavior:"instant"})},[e]),!t)return p.jsx(U2,{to:"/journal",replace:!0});const n=`${No}/journal/${t.slug}`,r=pu.filter(a=>a.slug!==t.slug).slice(0,2),i={"@context":"https://schema.org","@type":"BlogPosting",headline:t.title,description:t.metaDescription,image:`${No}${t.heroImage}`,datePublished:t.publishedAt,dateModified:t.publishedAt,author:{"@type":"Organization",name:t.author},publisher:{"@type":"LodgingBusiness",name:"Gale River House",url:No},mainEntityOfPage:{"@type":"WebPage","@id":n},keywords:t.keywords},o={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:No},{"@type":"ListItem",position:2,name:"Journal",item:`${No}/journal`},{"@type":"ListItem",position:3,name:t.title,item:n}]},s=t.faq&&t.faq.length?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:t.faq.map(a=>
196({"@type":"Question",name:a.q,acceptedAnswer:{"@type":"Answer",text:a.a}}))}:null;return p.jsxs("div",{className:"min-h-screen bg-background",children:[p.jsxs(nf,{children:[p.jsxs("title",{children:[t.title," | Gale River Journal"]}),p.jsx("meta",{name:"description",content:t.metaDescription}),p.jsx("meta",{name:"keywords",content:t.keywords}),p.jsx("meta",{name:"author",content:t.author}),p.jsx("link",{rel:"canonical",href:n}),p.jsx("meta",{property:"og:type",content:"article"}),p.jsx("meta",{property:"og:title",content:t.title}),p.jsx("meta",{property:"og:description",content:t.metaDescription}),p.jsx("meta",{property:"og:url",content:n}),p.jsx("meta",{property:"article:published_time",content:t.publishedAt}),p.jsx("meta",{property:"article:section",content:t.category}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify(i)}),p.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)}),s&&p.jsx("script",{type:"application/ld+json",children:JSON.stringify(s)})]}),p.jsx(Jr,{}),p.jsxs("section",{className:"relative h-[70vh] min-h-[480px] overflow-hidden",children:[p.jsx("img",{src:t.heroImage,alt:t.heroAlt,className:"absolute inset-0 w-full h-full object-cover",width:1600,height:1024}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-espresso/30 via-espresso/40 to-espresso/85"}),p.jsxs("div",{className:"relative z-10 h-full flex flex-col items-center justify-end text-center px-6 pb-20",children:[p.jsxs(Y.nav,{initial:{opacity:0}
196,animate:{opacity:1},transition:{duration:.6},"aria-label":"Breadcrumb",className:"text-cream/80 text-xs uppercase tracking-[0.3em] mb-6",children:[p.jsx(nt,{to:"/journal",className:"hover:text-cream",children:"Journal"}),p.jsx("span",{className:"mx-3",children:"·"}),p.jsx("span",{children:t.category})]}),p.jsx(Y.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:1,delay:.15},className:"hero-title max-w-4xl",children:t.title}),p.jsxs(Y.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.4},className:"text-cream/85 text-sm tracking-wider mt-8",children:[sh(t.publishedAt)," · ",t.author," · ",t.readTime]})]})]}),p.jsx("article",{className:"py-20 md:py-28",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-3xl",children:[p.jsx("p",{className:"font-display italic text-foreground/80 text-xl md:text-2xl leading-relaxed mb-12 border-l-2 border-accent pl-6",children:t.excerpt}),t.sections.map((a,l)=>{var u;return p.jsxs("section",{className:"mb-12",children:[a.heading&&p.jsx("h2",{className:"font-display text-2xl md:text-3xl text-foreground mb-6",children:a.heading}),(u=a.paragraphs)==null?void 0:u.map((c,d)=>p.jsx("p",{className:"text-foreground/80 text-lg leading-relaxed font-body mb-5",children:c},d)),a.list&&p.jsx("ul",{className:"space-y-3 mt-4",children:a.list.map((c,d)=>p.jsxs("li",{className:"text-foreground/80 font-body pl-6 relative leading-relaxed",children:[p.jsx("span",{className:"absolute left-0 top-3 w-2 h-2 bg-accent rounded-full"}),c]},d))})]},l)}),t.faq&&t.faq.length>0&&p.jsxs("section",{className:"mt-20 pt-12 border-t border-border",children:[p.jsx("h2",{className:"font-display text-2xl md:text-3xl text-foreground mb-8",children:"Frequently Asked Questions"}),p.jsx("div",{className:"space-y-4",children:t.faq.map((a,l)=>p.jsxs("details",{className:"group border border-border bg-card p-6 transition-colors hover:border-accent/40",children:[p.jsxs("summary",{className:"cursor-pointer font-display text-lg text-foreground list-none flex justify-between items-center",children:[a.q,p.jsx("span",{className:"text-accent transition-transform group-open:rotate-45 text-2xl leading-none",children:"+"})]}),p.jsx("p",{className:"mt-4 text-foreground/75 font-body leading-relaxed",children:a.a})]},l))})]})]})}),p.jsx("section",{className:"bg-espresso text-cream py-20",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-3xl text-center",children:[p.jsx("p",{className:"uppercase tracking-[0.4em] text-xs text-cream/70 mb-4",children:"Stay With Us"}),p.jsx("h2",{className:"font-display text-3xl md:text-4xl mb-6",children:"Make Gale River House your basecamp."}),p.jsx("p",{className:"font-body text-cream/80 mb-10 max-w-xl mx-auto",children:"Historic rooms, a wraparound porch, and the White Mountains at the end of the driveway."}),p.jsx("a",{href:"https://us2.cloudbeds.com/reservation/3oudQI",target:"_blank",rel:"noopener noreferrer",className:"btn-primary",children:"Check Availability"})]})}),r.length>0&&p.jsx("section",{className:"py-20 md:py-28",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-6xl",children:[p.jsx("p",{className:"section-subtitle mb-4 text-center",children:"Keep Reading"}),p.jsx("h2",{className:"section-title mb-16 text-center",children:"More from the Journal"}),p.jsx("div",{className:"grid md:grid-cols-2 gap-10",children:r.map(a=>p.jsxs(nt,{to:`/journal/${a.slug}`,className:"group block",children:[p.jsx("div",{className:"overflow-hidden mb-5",children:p.jsx("img",{src:a.heroImage,alt:a.heroAlt,loading:"lazy",width:1600,height:1024,className:"w-full h-[260px] object-cover transition-transform duration-700 group-hover:scale-105"})}),p.jsx("p",{className:"text-xs uppercase tracking-[0.3em] text-accent mb-2",children:a.category}),p.jsx("h3",{className:"font-display text-2xl text-foreground group-hover:text-accent transition-colors",children:a.title})]},a.slug))})]})}),p.jsx(Zr,{})]})},pD=[{title:"Pet Policy & Pet Fees",body:["Gale River House is a pet-friendly property â and always has been. Well-behaved dogs are welcome in all of our rooms and in the Summit Keeper's Cottage, with miles of trails, quiet country roads, and the Gale River just steps away for walking your dog.","A non-refundable pet fee of $50 per stay will be charged separately from the booking total. This fee is not included in the rate quoted at the time of reservation and will be collected at check-in.","Guests must notify hotel management in advance that they are bringing a pet. Please contact us before your arrival â or at the time of booking â so we can register your pet and prepare for your stay."]},{title:"Reservations & Payment",body:["Room rates are quoted in U.S. dollars and exclude applicable taxes and fees. All reservations are processed through our secure online booking engine.","Best rates are guaranteed when booking directly through our website or booking engine."]},{title:"Self Check-In",body:["Gale River House is a staff-lite property with no front desk. Check-in is completed through our seamless self check-in process, allowing you to arrive and settle in on your own schedule, day or night."]},{title:"Cancellations & Changes",body:["Cancellation and modification policies vary by rate and are shown at the time of booking. Please review the terms presented during the reservation process, or contact us directly for assistance with an existing reservation."]},{title:"Contact",body:["For questions about these terms, our pet policy, or your reservation, please reach out to us at [email protected] or (603) 823-5655."]}],mD=()=>p.jsxs("div",{className:"min-h-screen bg-beige",children:[p.jsx(Jr,{}),p.jsx("section",{className:"relative h-[40vh] flex items-center justify-center bg-espresso",children:p.jsxs(Y.div,{initial:{opacity:0,y:30}
196,animate:{opacity:1,y:0},transition:{duration:.8},className:"relative z-10 text-center",children:[p.jsx("p",{className:"text-cream/80 uppercase tracking-[0.3em] text-sm mb-4",children:"Gale River House"}),p.jsx("h1",{className:"hero-title text-cream",children:"Terms & Conditions"})]})}),p.jsx("section",{className:"py-16 lg:py-24",children:p.jsxs("div",{className:"container mx-auto px-6 max-w-3xl space-y-12",children:[pD.map((e,t)=>p.jsxs(Y.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:t*.05},children:[p.jsx("h2",{className:"font-display text-2xl lg:text-3xl text-espresso mb-4",children:e.title}),p.jsx("div",{className:"space-y-4",children:e.body.map((n,r)=>p.jsx("p",{className:"text-espresso/80 leading-relaxed",children:n},r))})]},e.title)),p.jsx("div",{className:"pt-8 border-t border-espresso/10 text-center",children:p.jsx(nt,{to:"/",className:"btn-primary inline-block",children:"Back to Home"})})]})}),p.jsx(Zr,{})]}),gD=()=>{const e=lo();return b.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),p.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:p.jsxs("div",{className:"text-center",children:[p.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),p.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),p.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},yD=new t2,vD=()=>p.jsx(r2,{client:yD,children:p.jsxs(MN,{children:[p.jsx(EP,{}),p.jsx(oE,{}),p.jsx(eR,{children:p.jsxs(K2,{children:[p.jsx(un,{path:"/",element:p.jsx(mL,{})}),p.jsx(un,{path:"/accommodations",element:p.jsx(NL,{})}),p.jsx(un,{path:"/accommodations/:roomSlug",element:p.jsx(_L,{})}),p.jsx(un,{path:"/lupine-festival",element:p.jsx(YL,{})}),p.jsx(un,{path:"/journal",element:p.jsx(hD,{})}),p.jsx(un,{path:"/journal/:slug",element:p.jsx(fD,{})}),p.jsx(un,{path:"/terms",element:p.jsx(mD,{})}),p.jsx(un,{path:"*",element:p.jsx(gD,{})})]})})]})});U0(document.getElementById("root")).render(p.jsx(J0,{children:p.jsx(vD,{})}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.