function yy(e,t){for(var n=0;nr[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var If={exports:{}},ds={},_f={exports:{}},z={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Mo=Symbol.for("react.element"),vy=Symbol.for("react.portal"),xy=Symbol.for("react.fragment"),wy=Symbol.for("react.strict_mode"),Sy=Symbol.for("react.profiler"),Ty=Symbol.for("react.provider"),Cy=Symbol.for("react.context"),Ey=Symbol.for("react.forward_ref"),Py=Symbol.for("react.suspense"),ky=Symbol.for("react.memo"),Ny=Symbol.for("react.lazy"),ac=Symbol.iterator;function jy(e){return e===null||typeof e!="object"?null:(e=ac&&e[ac]||e["@@iterator"],typeof e=="function"?e:null)}var Ff={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zf=Object.assign,Bf={};function Er(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||Ff}Er.prototype.isReactComponent={};Er.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")};Er.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Uf(){}Uf.prototype=Er.prototype;function Bl(e,t,n){this.props=e,this.context=t,this.refs=Bf,this.updater=n||Ff}var Ul=Bl.prototype=new Uf;Ul.constructor=Bl;zf(Ul,Er.prototype);Ul.isPureReactComponent=!0;var lc=Array.isArray,$f=Object.prototype.hasOwnProperty,$l={current:null},Hf={key:!0,ref:!0,__self:!0,__source:!0};function Wf(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)$f.call(t,r)&&!Hf.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,$=j[D];if(0>>1;Do(zn,I))$e<$&&0>o(pn,zn)?(j[D]=pn,j[$e]=I,D=$e):(j[D]=zn,j[Ue]=I,D=Ue);else if($e<$&&0>o(pn,I))j[D]=pn,j[$e]=I,D=$e;else break e}}return R}function o(j,R){var I=j.sortIndex-R.sortIndex;return I!==0?I:j.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,m=!1,x=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(j){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=j)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function w(j){if(v=!1,g(j),!x)if(n(l)!==null)x=!0,U(C);else{var R=n(u);R!==null&&fe(w,R.startTime-j)}}function C(j,R){x=!1,v&&(v=!1,y(k),k=-1),m=!0;var I=f;try{for(g(R),d=n(l);d!==null&&(!(d.expirationTime>R)||j&&!G());){var D=d.callback;if(typeof D=="function"){d.callback=null,f=d.priorityLevel;var $=D(d.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),g(R)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var Ue=n(u);Ue!==null&&fe(w,Ue.startTime-R),Y=!1}return Y}finally{d=null,f=I,m=!1}}var P=!1,E=null,k=-1,M=5,L=-1;function G(){return!(e.unstable_now()-Lj||125D?(j.sortIndex=I,t(u,j),n(l)===null&&j===n(u)&&(v?(y(k),k=-1):v=!0,fe(w,I-D))):(j.sortIndex=$,t(l,j),x||m||(x=!0,U(C))),j},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(j){var R=f;return function(){var I=f;f=R;try{return j.apply(this,arguments)}finally{f=I}}}})(Xf);Qf.exports=Xf;var zy=Qf.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var By=T,Ye=zy;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pa=Object.prototype.hasOwnProperty,Uy=/^[: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]*$/,cc={},dc={};function $y(e){return Pa.call(dc,e)?!0:Pa.call(cc,e)?!1:Uy.test(e)?dc[e]=!0:(cc[e]=!0,!1)}function Hy(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 Wy(e,t,n,r){if(t===null||typeof t>"u"||Hy(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 Le(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Le(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){Te[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var Wl=/[\-:]([a-z])/g;function Gl(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-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(Wl,Gl);Te[t]=new Le(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(Wl,Gl);Te[t]=new Le(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(Wl,Gl);Te[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kl(e,t,n,r){var o=Te.hasOwnProperty(t)?Te[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=` `+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Fs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Br(e):""}function Gy(e){switch(e.tag){case 5:return Br(e.type);case 16:return Br("Lazy");case 13:return Br("Suspense");case 19:return Br("SuspenseList");case 0:case 2:case 15:return e=zs(e.type,!1),e;case 11:return e=zs(e.type.render,!1),e;case 1:return e=zs(e.type,!0),e;default:return""}}function ba(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 Hn:return"Fragment";case $n:return"Portal";case ka:return"Profiler";case Yl:return"StrictMode";case Na:return"Suspense";case ja:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jf:return(e.displayName||"Context")+".Consumer";case Zf:return(e._context.displayName||"Context")+".Provider";case Ql:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xl:return t=e.displayName||null,t!==null?t:ba(e.type)||"Memo";case Bt:t=e._payload,e=e._init;try{return ba(e(t))}catch{}}return null}function Ky(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 ba(t);case 8:return t===Yl?"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 on(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function tp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yy(e){var t=tp(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.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 Wo(e){e._valueTracker||(e._valueTracker=Yy(e))}function np(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=tp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bi(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 Aa(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=on(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}}function rp(e,t){t=t.checked,t!=null&&Kl(e,"checked",t,!1)}function Ra(e,t){rp(e,t);var n=on(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")?Ma(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ma(e,t.type,on(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hc(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 Ma(e,t,n){(t!=="number"||bi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ur=Array.isArray;function ir(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Go.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function so(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Gr={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},Qy=["Webkit","ms","Moz","O"];Object.keys(Gr).forEach(function(e){Qy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gr[t]=Gr[e]})});function ap(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Gr.hasOwnProperty(e)&&Gr[e]?(""+t).trim():t+"px"}function lp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ap(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Xy=le({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 Oa(e,t){if(t){if(Xy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function Va(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Ia=null;function ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _a=null,sr=null,ar=null;function yc(e){if(e=Oo(e)){if(typeof _a!="function")throw Error(N(280));var t=e.stateNode;t&&(t=gs(t),_a(e.stateNode,e.type,t))}}function up(e){sr?ar?ar.push(e):ar=[e]:sr=e}function cp(){if(sr){var e=sr,t=ar;if(ar=sr=null,yc(e),t)for(e=0;e>>=0,e===0?32:31-(av(e)/lv|0)|0}var Ko=64,Yo=4194304;function $r(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 Li(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=$r(a):(i&=s,i!==0&&(r=$r(i)))}else s=n&~o,s!==0?r=$r(s):i!==0&&(r=$r(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Lo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ft(t),e[t]=n}function fv(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=Yr),kc=String.fromCharCode(32),Nc=!1;function Ap(e,t){switch(e){case"keyup":return zv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Wn=!1;function Uv(e,t){switch(e){case"compositionend":return Rp(t);case"keypress":return t.which!==32?null:(Nc=!0,kc);case"textInput":return e=t.data,e===kc&&Nc?null:e;default:return null}}function $v(e,t){if(Wn)return e==="compositionend"||!iu&&Ap(e,t)?(e=jp(),gi=nu=Gt=null,Wn=!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)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=Rc(n)}}function Op(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Op(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vp(){for(var e=window,t=bi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bi(e.document)}return t}function su(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 Zv(e){var t=Vp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Op(n.ownerDocument.documentElement,n)){if(r!==null&&su(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Mc(n,i);var s=Mc(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>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=document.documentMode,Gn=null,Ha=null,Xr=null,Wa=!1;function Lc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wa||Gn==null||Gn!==bi(r)||(r=Gn,"selectionStart"in r&&su(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Xr&&po(Xr,r)||(Xr=r,r=Vi(Ha,"onSelect"),0Qn||(e.current=qa[Qn],qa[Qn]=null,Qn--)}function Q(e,t){Qn++,qa[Qn]=e.current,e.current=t}var sn={},Ne=cn(sn),_e=cn(!1),jn=sn;function pr(e,t){var n=e.type.contextTypes;if(!n)return sn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fe(e){return e=e.childContextTypes,e!=null}function _i(){Z(_e),Z(Ne)}function zc(e,t,n){if(Ne.current!==sn)throw Error(N(168));Q(Ne,t),Q(_e,n)}function Wp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(N(108,Ky(e)||"Unknown",o));return le({},n,r)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,jn=Ne.current,Q(Ne,e),Q(_e,_e.current),!0}function Bc(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Wp(e,t,jn),r.__reactInternalMemoizedMergedChildContext=e,Z(_e),Z(Ne),Q(Ne,e)):Z(_e),Q(_e,n)}var Et=null,ys=!1,ea=!1;function Gp(e){Et===null?Et=[e]:Et.push(e)}function c0(e){ys=!0,Gp(e)}function dn(){if(!ea&&Et!==null){ea=!0;var e=0,t=K;try{var n=Et;for(K=1;e>=s,o-=s,Pt=1<<32-ft(t)+o|n<k?(M=E,E=null):M=E.sibling;var L=f(y,E,g[k],w);if(L===null){E===null&&(E=M);break}e&&E&&L.alternate===null&&t(y,E),h=i(L,h,k),P===null?C=L:P.sibling=L,P=L,E=M}if(k===g.length)return n(y,E),re&&gn(y,k),C;if(E===null){for(;kk?(M=E,E=null):M=E.sibling;var G=f(y,E,L.value,w);if(G===null){E===null&&(E=M);break}e&&E&&G.alternate===null&&t(y,E),h=i(G,h,k),P===null?C=G:P.sibling=G,P=G,E=M}if(L.done)return n(y,E),re&&gn(y,k),C;if(E===null){for(;!L.done;k++,L=g.next())L=d(y,L.value,w),L!==null&&(h=i(L,h,k),P===null?C=L:P.sibling=L,P=L);return re&&gn(y,k),C}for(E=r(y,E);!L.done;k++,L=g.next())L=m(E,y,k,L.value,w),L!==null&&(e&&L.alternate!==null&&E.delete(L.key===null?k:L.key),h=i(L,h,k),P===null?C=L:P.sibling=L,P=L);return e&&E.forEach(function(O){return t(y,O)}),re&&gn(y,k),C}function S(y,h,g,w){if(typeof g=="object"&&g!==null&&g.type===Hn&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ho:e:{for(var C=g.key,P=h;P!==null;){if(P.key===C){if(C=g.type,C===Hn){if(P.tag===7){n(y,P.sibling),h=o(P,g.props.children),h.return=y,y=h;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Bt&&Hc(C)===P.type){n(y,P.sibling),h=o(P,g.props),h.ref=Mr(y,P,g),h.return=y,y=h;break e}n(y,P);break}else t(y,P);P=P.sibling}g.type===Hn?(h=kn(g.props.children,y.mode,w,g.key),h.return=y,y=h):(w=Ei(g.type,g.key,g.props,null,y.mode,w),w.ref=Mr(y,h,g),w.return=y,y=w)}return s(y);case $n:e:{for(P=g.key;h!==null;){if(h.key===P)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(y,h.sibling),h=o(h,g.children||[]),h.return=y,y=h;break e}else{n(y,h);break}else t(y,h);h=h.sibling}h=la(g,y.mode,w),h.return=y,y=h}return s(y);case Bt:return P=g._init,S(y,h,P(g._payload),w)}if(Ur(g))return x(y,h,g,w);if(Nr(g))return v(y,h,g,w);ti(y,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(y,h.sibling),h=o(h,g),h.return=y,y=h):(n(y,h),h=aa(g,y.mode,w),h.return=y,y=h),s(y)):n(y,h)}return S}var mr=Xp(!0),qp=Xp(!1),Ui=cn(null),$i=null,Zn=null,cu=null;function du(){cu=Zn=$i=null}function fu(e){var t=Ui.current;Z(Ui),e._currentValue=t}function el(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 ur(e,t){$i=e,cu=Zn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function ot(e){var t=e._currentValue;if(cu!==e)if(e={context:e,memoizedValue:t,next:null},Zn===null){if($i===null)throw Error(N(308));Zn=e,$i.dependencies={lanes:0,firstContext:e}}else Zn=Zn.next=e;return t}var Sn=null;function pu(e){Sn===null?Sn=[e]:Sn.push(e)}function Zp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,pu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Dt(e,r)}function Dt(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 Ut=!1;function hu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jp(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 jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Dt(e,n)}return o=r.interleaved,o===null?(t.next=t,pu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Dt(e,n)}function vi(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,Jl(e,n)}}function Wc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=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};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,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 Hi(e,t,n,r){var o=e.updateQueue;Ut=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=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(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,m=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:m,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(f=t,m=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(m,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,f=typeof x=="function"?x.call(m,d,f):x,f==null)break e;d=le({},d,f);break e;case 2:Ut=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else m={eventTime:m,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=m,l=d):c=c.next=m,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(1);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Rn|=s,e.lanes=s,e.memoizedState=d}}function Gc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=na.transition;na.transition={};try{e(!1),t()}finally{K=n,na.transition=r}}function gh(){return it().memoizedState}function h0(e,t,n){var r=en(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},yh(e))vh(t,n);else if(n=Zp(e,t,n,r),n!==null){var o=Re();pt(n,e,r,o),xh(n,t,r)}}function m0(e,t,n){var r=en(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(yh(e))vh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,ht(a,s)){var l=t.interleaved;l===null?(o.next=o,pu(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Zp(e,t,o,r),n!==null&&(o=Re(),pt(n,e,r,o),xh(n,t,r))}}function yh(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function vh(e,t){qr=Gi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Jl(e,n)}}var Ki={readContext:ot,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},g0={readContext:ot,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:ot,useEffect:Yc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,wi(4194308,4,dh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return wi(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=h0.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:Kc,useDebugValue:Tu,useDeferredValue:function(e){return gt().memoizedState=e},useTransition:function(){var e=Kc(!1),t=e[0];return e=p0.bind(null,e[1]),gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,o=gt();if(re){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),xe===null)throw Error(N(349));An&30||rh(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Yc(ih.bind(null,r,i,e),[e]),r.flags|=2048,So(9,oh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gt(),t=xe.identifierPrefix;if(re){var n=kt,r=Pt;n=(r&~(1<<32-ft(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xo++,0<\/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[yt]=t,e[go]=r,bh(e,t,!1,!1),t.stateNode=e;e:{switch(s=Va(n,r),n){case"dialog":q("cancel",e),q("close",e),o=r;break;case"iframe":case"object":case"embed":q("load",e),o=r;break;case"video":case"audio":for(o=0;ovr&&(t.flags|=128,r=!0,Lr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Wi(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Lr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!re)return Ee(t),null}else 2*pe()-i.renderingStartTime>vr&&n!==1073741824&&(t.flags|=128,r=!0,Lr(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=pe(),t.sibling=null,n=ie.current,Q(ie,r?n&1|2:n&1),t):(Ee(t),null);case 22:case 23:return ju(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?He&1073741824&&(Ee(t),t.subtreeFlags&6&&(t.flags|=8192)):Ee(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function E0(e,t){switch(lu(t),t.tag){case 1:return Fe(t.type)&&_i(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return gr(),Z(_e),Z(Ne),yu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return gu(t),null;case 13:if(Z(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ie),null;case 4:return gr(),null;case 10:return fu(t.type._context),null;case 22:case 23:return ju(),null;case 24:return null;default:return null}}var ri=!1,ke=!1,P0=typeof WeakSet=="function"?WeakSet:Set,b=null;function Jn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function ul(e,t,n){try{n()}catch(r){ce(e,t,r)}}var id=!1;function k0(e,t){if(Ga=Di,e=Vp(),su(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var m;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(m=d.firstChild)!==null;)f=d,d=m;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(m=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=m}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ka={focusedElem:e,selectionRange:n},Di=!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 x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,S=x.memoizedState,y=t.stateNode,h=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:lt(t.type,v),S);y.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(w){ce(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,b=e;break}b=t.return}return x=id,id=!1,x}function Zr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ul(t,n,i)}o=o.next}while(o!==r)}}function ws(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 cl(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 Mh(e){var t=e.alternate;t!==null&&(e.alternate=null,Mh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[go],delete t[Xa],delete t[l0],delete t[u0])),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 Lh(e){return e.tag===5||e.tag===3||e.tag===4}function sd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lh(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 dl(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=Ii));else if(r!==4&&(e=e.child,e!==null))for(dl(e,t,n),e=e.sibling;e!==null;)dl(e,t,n),e=e.sibling}function fl(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(fl(e,t,n),e=e.sibling;e!==null;)fl(e,t,n),e=e.sibling}var we=null,ut=!1;function _t(e,t,n){for(n=n.child;n!==null;)Dh(e,t,n),n=n.sibling}function Dh(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(fs,n)}catch{}switch(n.tag){case 5:ke||Jn(n,t);case 6:var r=we,o=ut;we=null,_t(e,t,n),we=r,ut=o,we!==null&&(ut?(e=we,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):we.removeChild(n.stateNode));break;case 18:we!==null&&(ut?(e=we,n=n.stateNode,e.nodeType===8?Js(e.parentNode,n):e.nodeType===1&&Js(e,n),co(e)):Js(we,n.stateNode));break;case 4:r=we,o=ut,we=n.stateNode.containerInfo,ut=!0,_t(e,t,n),we=r,ut=o;break;case 0:case 11:case 14:case 15:if(!ke&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&ul(n,t,s),o=o.next}while(o!==r)}_t(e,t,n);break;case 1:if(!ke&&(Jn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ce(n,t,a)}_t(e,t,n);break;case 21:_t(e,t,n);break;case 22:n.mode&1?(ke=(r=ke)||n.memoizedState!==null,_t(e,t,n),ke=r):_t(e,t,n);break;default:_t(e,t,n)}}function ad(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new P0),t.forEach(function(r){var o=O0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function st(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*j0(r/1960))-r,10e?16:e,Kt===null)var r=!1;else{if(e=Kt,Kt=null,Xi=0,H&6)throw Error(N(331));var o=H;for(H|=4,b=e.current;b!==null;){var i=b,s=i.child;if(b.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lpe()-ku?Pn(e,0):Pu|=n),ze(e,t)}function Uh(e,t){t===0&&(e.mode&1?(t=Yo,Yo<<=1,!(Yo&130023424)&&(Yo=4194304)):t=1);var n=Re();e=Dt(e,t),e!==null&&(Lo(e,t,n),ze(e,n))}function D0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Uh(e,n)}function O0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),Uh(e,n)}var $h;$h=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Ie=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ie=!1,T0(e,t,n);Ie=!!(e.flags&131072)}else Ie=!1,re&&t.flags&1048576&&Kp(t,Bi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Si(e,t),e=t.pendingProps;var o=pr(t,Ne.current);ur(t,n),o=xu(null,t,r,e,o,n);var i=wu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Fe(r)?(i=!0,Fi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,hu(t),o.updater=xs,t.stateNode=o,o._reactInternals=t,nl(t,r,e,n),t=il(null,t,r,!0,i,n)):(t.tag=0,re&&i&&au(t),Ae(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Si(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=I0(r),e=lt(r,e),o){case 0:t=ol(null,t,r,e,n);break e;case 1:t=nd(null,t,r,e,n);break e;case 11:t=ed(null,t,r,e,n);break e;case 14:t=td(null,t,r,lt(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),ol(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),nd(e,t,r,o,n);case 3:e:{if(kh(t),e===null)throw Error(N(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Jp(e,t),Hi(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=yr(Error(N(423)),t),t=rd(e,t,r,n,o);break e}else if(r!==o){o=yr(Error(N(424)),t),t=rd(e,t,r,n,o);break e}else for(Ge=qt(t.stateNode.containerInfo.firstChild),Ke=t,re=!0,ct=null,n=qp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(hr(),r===o){t=Ot(e,t,n);break e}Ae(e,t,r,n)}t=t.child}return t;case 5:return eh(t),e===null&&Ja(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Ya(r,o)?s=null:i!==null&&Ya(r,i)&&(t.flags|=32),Ph(e,t),Ae(e,t,s,n),t.child;case 6:return e===null&&Ja(t),null;case 13:return Nh(e,t,n);case 4:return mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=mr(t,null,r,n):Ae(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),ed(e,t,r,o,n);case 7:return Ae(e,t,t.pendingProps,n),t.child;case 8:return Ae(e,t,t.pendingProps.children,n),t.child;case 12:return Ae(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Q(Ui,r._currentValue),r._currentValue=s,i!==null)if(ht(i.value,s)){if(i.children===o.children&&!_e.current){t=Ot(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=jt(-1,n&-n),l.tag=2;var u=i.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}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),el(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(N(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),el(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ae(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ur(t,n),o=ot(o),r=r(o),t.flags|=1,Ae(e,t,r,n),t.child;case 14:return r=t.type,o=lt(r,t.pendingProps),o=lt(r.type,o),td(e,t,r,o,n);case 15:return Ch(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:lt(r,o),Si(e,t),t.tag=1,Fe(r)?(e=!0,Fi(t)):e=!1,ur(t,n),wh(t,r,o),nl(t,r,o,n),il(null,t,r,!0,e,n);case 19:return jh(e,t,n);case 22:return Eh(e,t,n)}throw Error(N(156,t.tag))};function Hh(e,t){return yp(e,t)}function V0(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 nt(e,t,n,r){return new V0(e,t,n,r)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I0(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ql)return 11;if(e===Xl)return 14}return 2}function tn(e,t){var n=e.alternate;return n===null?(n=nt(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 Ei(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Au(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Hn:return kn(n.children,o,i,t);case Yl:s=8,o|=8;break;case ka:return e=nt(12,n,t,o|2),e.elementType=ka,e.lanes=i,e;case Na:return e=nt(13,n,t,o),e.elementType=Na,e.lanes=i,e;case ja:return e=nt(19,n,t,o),e.elementType=ja,e.lanes=i,e;case ep:return Ts(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Zf:s=10;break e;case Jf:s=9;break e;case Ql:s=11;break e;case Xl:s=14;break e;case Bt:s=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=nt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function kn(e,t,n,r){return e=nt(7,e,r,t),e.lanes=n,e}function Ts(e,t,n,r){return e=nt(22,e,r,t),e.elementType=ep,e.lanes=n,e.stateNode={isHidden:!1},e}function aa(e,t,n){return e=nt(6,e,null,t),e.lanes=n,e}function la(e,t,n){return t=nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _0(e,t,n,r,o){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=Us(0),this.expirationTimes=Us(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Us(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ru(e,t,n,r,o,i,s,a,l){return e=new _0(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=nt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(i),e}function F0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yh)}catch(e){console.error(e)}}Yh(),Yf.exports=Xe;var Ns=Yf.exports;const H0=Cr(Ns);var md=Ns;Ea.createRoot=md.createRoot,Ea.hydrateRoot=md.hydrateRoot;var Qh={exports:{}},W0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",G0=W0,K0=G0;function Xh(){}function qh(){}qh.resetWarningCache=Xh;var Y0=function(){function e(r,o,i,s,a,l){if(l!==K0){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:qh,resetWarningCache:Xh};return n.PropTypes=n,n};Qh.exports=Y0();var Q0=Qh.exports;const te=Cr(Q0);function X0(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Zh=T,q0=X0(Zh);function gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var J0=!!(typeof window<"u"&&window.document&&window.document.createElement);function ex(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var s=[],a;function l(){a=e(s.map(function(c){return c.props})),u.canUseDOM?t(a):n&&(a=n(a))}var u=function(c){Z0(d,c);function d(){return c.apply(this,arguments)||this}d.peek=function(){return a},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var x=a;return a=void 0,s=[],x};var f=d.prototype;return f.UNSAFE_componentWillMount=function(){s.push(this),l()},f.componentDidUpdate=function(){l()},f.componentWillUnmount=function(){var x=s.indexOf(this);s.splice(x,1),l()},f.render=function(){return q0.createElement(i,this.props)},d}(Zh.PureComponent);return gd(u,"displayName","SideEffect("+r(i)+")"),gd(u,"canUseDOM",J0),u}}var tx=ex;const nx=Cr(tx);var rx=typeof Element<"u",ox=typeof Map=="function",ix=typeof Set=="function",sx=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Pi(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,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!Pi(e[r],t[r]))return!1;return!0}var i;if(ox&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!Pi(r.value[1],t.get(r.value[0])))return!1;return!0}if(ix&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(sx&&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(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(rx&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!Pi(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var ax=function(t,n){try{return Pi(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 lx=Cr(ax);/* object-assign (c) Sindre Sorhus @license MIT */var yd=Object.getOwnPropertySymbols,ux=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable;function dx(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function fx(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var px=fx()?Object.assign:function(e,t){for(var n,r=dx(e),o,i=1;i=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},Sx=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},yl=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Tx=function(t){var n=dr(t,_.TITLE),r=dr(t,Co.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=dr(t,Co.DEFAULT_TITLE);return n||o||void 0},Cx=function(t){return dr(t,Co.ON_CHANGE_CLIENT_STATE)||function(){}},ua=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return Oe({},r,o)},{})},Ex=function(t,n){return n.filter(function(r){return typeof r[_.BASE]<"u"}).map(function(r){return r[_.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),s=0;s=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},Px=function(t){return{baseTag:Ex([ne.HREF,ne.TARGET],t),bodyAttributes:ua(Nn.BODY,t),defer:dr(t,Co.DEFER),encode:dr(t,Co.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:ua(Nn.HTML,t),linkTags:Or(_.LINK,[ne.REL,ne.HREF],t),metaTags:Or(_.META,[ne.NAME,ne.CHARSET,ne.HTTPEQUIV,ne.PROPERTY,ne.ITEM_PROP],t),noscriptTags:Or(_.NOSCRIPT,[ne.INNER_HTML],t),onChangeClientState:Cx(t),scriptTags:Or(_.SCRIPT,[ne.SRC,ne.INNER_HTML],t),styleTags:Or(_.STYLE,[ne.CSS_TEXT],t),title:Tx(t),titleAttributes:ua(Nn.TITLE,t)}},vl=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){vl(t)},0)}}(),xd=function(t){return clearTimeout(t)},kx=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||vl:global.requestAnimationFrame||vl,Nx=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||xd:global.cancelAnimationFrame||xd,jx=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},Vr=null,bx=function(t){Vr&&Nx(Vr),t.defer?Vr=kx(function(){wd(t,function(){Vr=null})}):(wd(t),Vr=null)},wd=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,f=t.title,m=t.titleAttributes;xl(_.BODY,o),xl(_.HTML,i),Ax(f,m);var x={baseTag:Un(_.BASE,r),linkTags:Un(_.LINK,s),metaTags:Un(_.META,a),noscriptTags:Un(_.NOSCRIPT,l),scriptTags:Un(_.SCRIPT,c),styleTags:Un(_.STYLE,d)},v={},S={};Object.keys(x).forEach(function(y){var h=x[y],g=h.newTags,w=h.oldTags;g.length&&(v[y]=g),w.length&&(S[y]=x[y].oldTags)}),n&&n(),u(t,v,S)},Jh=function(t){return Array.isArray(t)?t.join(""):t},Ax=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Jh(t)),xl(_.TITLE,n)},xl=function(t,n){var r=document.getElementsByTagName(t)[0];if(r){for(var o=r.getAttribute(dt),i=o?o.split(","):[],s=[].concat(i),a=Object.keys(n),l=0;l=0;f--)r.removeAttribute(s[f]);i.length===s.length?r.removeAttribute(dt):r.getAttribute(dt)!==a.join(",")&&r.setAttribute(dt,a.join(","))}},Un=function(t,n){var r=document.head||document.querySelector(_.HEAD),o=r.querySelectorAll(t+"["+dt+"]"),i=Array.prototype.slice.call(o),s=[],a=void 0;return n&&n.length&&n.forEach(function(l){var u=document.createElement(t);for(var c in l)if(l.hasOwnProperty(c))if(c===ne.INNER_HTML)u.innerHTML=l.innerHTML;else if(c===ne.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{var d=typeof l[c]>"u"?"":l[c];u.setAttribute(c,d)}u.setAttribute(dt,"true"),i.some(function(f,m){return a=m,u.isEqualNode(f)})?i.splice(a,1):s.push(u)}),i.forEach(function(l){return l.parentNode.removeChild(l)}),s.forEach(function(l){return r.appendChild(l)}),{oldTags:i,newTags:s}},em=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},Rx=function(t,n,r,o){var i=em(r),s=Jh(n);return i?"<"+t+" "+dt+'="true" '+i+">"+yl(s,o)+"":"<"+t+" "+dt+'="true">'+yl(s,o)+""},Mx=function(t,n,r){return n.reduce(function(o,i){var s=Object.keys(i).filter(function(u){return!(u===ne.INNER_HTML||u===ne.CSS_TEXT)}).reduce(function(u,c){var d=typeof i[c]>"u"?c:c+'="'+yl(i[c],r)+'"';return u?u+" "+d:d},""),a=i.innerHTML||i.cssText||"",l=gx.indexOf(t)===-1;return o+"<"+t+" "+dt+'="true" '+s+(l?"/>":">"+a+"")},"")},tm=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Ji[o]||o]=t[o],r},n)},Lx=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[mx[o]||o]=t[o],r},n)},Dx=function(t,n,r){var o,i=(o={key:n},o[dt]=!0,o),s=tm(r,i);return[W.createElement(_.TITLE,s,n)]},Ox=function(t,n){return n.map(function(r,o){var i,s=(i={key:o},i[dt]=!0,i);return Object.keys(r).forEach(function(a){var l=Ji[a]||a;if(l===ne.INNER_HTML||l===ne.CSS_TEXT){var u=r.innerHTML||r.cssText;s.dangerouslySetInnerHTML={__html:u}}else s[l]=r[a]}),W.createElement(t,s)})},Tt=function(t,n,r){switch(t){case _.TITLE:return{toComponent:function(){return Dx(t,n.title,n.titleAttributes)},toString:function(){return Rx(t,n.title,n.titleAttributes,r)}};case Nn.BODY:case Nn.HTML:return{toComponent:function(){return tm(n)},toString:function(){return em(n)}};default:return{toComponent:function(){return Ox(t,n)},toString:function(){return Mx(t,n,r)}}}},nm=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,s=t.linkTags,a=t.metaTags,l=t.noscriptTags,u=t.scriptTags,c=t.styleTags,d=t.title,f=d===void 0?"":d,m=t.titleAttributes;return{base:Tt(_.BASE,n,o),bodyAttributes:Tt(Nn.BODY,r,o),htmlAttributes:Tt(Nn.HTML,i,o),link:Tt(_.LINK,s,o),meta:Tt(_.META,a,o),noscript:Tt(_.NOSCRIPT,l,o),script:Tt(_.SCRIPT,u,o),style:Tt(_.STYLE,c,o),title:Tt(_.TITLE,{title:f,titleAttributes:m},o)}},Vx=function(t){var n,r;return r=n=function(o){wx(i,o);function i(){return vx(this,i),Sx(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(a){return!lx(this.props,a)},i.prototype.mapNestedChildrenToProps=function(a,l){if(!l)return null;switch(a.type){case _.SCRIPT:case _.NOSCRIPT:return{innerHTML:l};case _.STYLE:return{cssText:l}}throw new Error("<"+a.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(a){var l,u=a.child,c=a.arrayTypeChildren,d=a.newChildProps,f=a.nestedChildren;return Oe({},c,(l={},l[u.type]=[].concat(c[u.type]||[],[Oe({},d,this.mapNestedChildrenToProps(u,f))]),l))},i.prototype.mapObjectTypeChildren=function(a){var l,u,c=a.child,d=a.newProps,f=a.newChildProps,m=a.nestedChildren;switch(c.type){case _.TITLE:return Oe({},d,(l={},l[c.type]=m,l.titleAttributes=Oe({},f),l));case _.BODY:return Oe({},d,{bodyAttributes:Oe({},f)});case _.HTML:return Oe({},d,{htmlAttributes:Oe({},f)})}return Oe({},d,(u={},u[c.type]=Oe({},f),u))},i.prototype.mapArrayTypeChildrenToProps=function(a,l){var u=Oe({},l);return Object.keys(a).forEach(function(c){var d;u=Oe({},u,(d={},d[c]=a[c],d))}),u},i.prototype.warnOnInvalidChildren=function(a,l){return!0},i.prototype.mapChildrenToProps=function(a,l){var u=this,c={};return W.Children.forEach(a,function(d){if(!(!d||!d.props)){var f=d.props,m=f.children,x=vd(f,["children"]),v=Lx(x);switch(u.warnOnInvalidChildren(d,m),d.type){case _.LINK:case _.META:case _.NOSCRIPT:case _.SCRIPT:case _.STYLE:c=u.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:v,nestedChildren:m});break;default:l=u.mapObjectTypeChildren({child:d,newProps:l,newChildProps:v,nestedChildren:m});break}}}),l=this.mapArrayTypeChildrenToProps(c,l),l},i.prototype.render=function(){var a=this.props,l=a.children,u=vd(a,["children"]),c=Oe({},u);return l&&(c=this.mapChildrenToProps(l,c)),W.createElement(t,c)},xx(i,null,[{key:"canUseDOM",set:function(a){t.canUseDOM=a}}]),i}(W.Component),n.propTypes={base:te.object,bodyAttributes:te.object,children:te.oneOfType([te.arrayOf(te.node),te.node]),defaultTitle:te.string,defer:te.bool,encodeSpecialCharacters:te.bool,htmlAttributes:te.object,link:te.arrayOf(te.object),meta:te.arrayOf(te.object),noscript:te.arrayOf(te.object),onChangeClientState:te.func,script:te.arrayOf(te.object),style:te.arrayOf(te.object),title:te.string,titleAttributes:te.object,titleTemplate:te.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=nm({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},Ix=function(){return null},_x=nx(Px,bx,nm)(Ix),wl=Vx(_x);wl.renderStatic=wl.rewind;const rm=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),js=T.createContext({}),Ou=T.createContext(null),bs=typeof document<"u",Fx=bs?T.useLayoutEffect:T.useEffect,om=T.createContext({strict:!1}),Vu=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),zx="framerAppearId",im="data-"+Vu(zx);function Bx(e,t,n,r){const{visualElement:o}=T.useContext(js),i=T.useContext(om),s=T.useContext(Ou),a=T.useContext(rm).reducedMotion,l=T.useRef();r=r||i.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:o,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;T.useInsertionEffect(()=>{u&&u.update(n,s)});const c=T.useRef(!!(n[im]&&!window.HandoffComplete));return Fx(()=>{u&&(u.render(),c.current&&u.animationState&&u.animationState.animateChanges())}),T.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function tr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Ux(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):tr(n)&&(n.current=r))},[t])}function Eo(e){return typeof e=="string"||Array.isArray(e)}function As(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Iu=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_u=["initial",...Iu];function Rs(e){return As(e.animate)||_u.some(t=>Eo(e[t]))}function sm(e){return!!(Rs(e)||e.variants)}function $x(e,t){if(Rs(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Eo(n)?n:void 0,animate:Eo(r)?r:void 0}}return e.inherit!==!1?t:{}}function Hx(e){const{initial:t,animate:n}=$x(e,T.useContext(js));return T.useMemo(()=>({initial:t,animate:n}),[Sd(t),Sd(n)])}function Sd(e){return Array.isArray(e)?e.join(" "):e}const Td={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"]},Po={};for(const e in Td)Po[e]={isEnabled:t=>Td[e].some(n=>!!t[n])};function Wx(e){for(const t in e)Po[t]={...Po[t],...e[t]}}const am=T.createContext({}),lm=T.createContext({}),Gx=Symbol.for("motionComponentSymbol");function Kx({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&Wx(e);function i(a,l){let u;const c={...T.useContext(rm),...a,layoutId:Yx(a)},{isStatic:d}=c,f=Hx(a),m=r(a,d);if(!d&&bs){f.visualElement=Bx(o,m,c,t);const x=T.useContext(lm),v=T.useContext(om).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,v,e,x))}return T.createElement(js.Provider,{value:f},u&&f.visualElement?T.createElement(u,{visualElement:f.visualElement,...c}):null,n(o,a,Ux(m,f.visualElement,l),m,d,f.visualElement))}const s=T.forwardRef(i);return s[Gx]=o,s}function Yx({layoutId:e}){const t=T.useContext(am).id;return t&&e!==void 0?t+"-"+e:e}function Qx(e){function t(r,o={}){return Kx(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const Xx=["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 Fu(e){return typeof e!="string"||e.includes("-")?!1:!!(Xx.indexOf(e)>-1||/[A-Z]/.test(e))}const es={};function qx(e){Object.assign(es,e)}const Io=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],In=new Set(Io);function um(e,{layout:t,layoutId:n}){return In.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!es[e]||e==="opacity")}const Be=e=>!!(e&&e.getVelocity),Zx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Jx=Io.length;function e1(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),dm=cm("--"),Sl=cm("var(--"),t1=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,n1=(e,t)=>t&&typeof e=="number"?t.transform(e):e,an=(e,t,n)=>Math.min(Math.max(n,e),t),_n={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},to={..._n,transform:e=>an(0,1,e)},si={..._n,default:1},no=e=>Math.round(e*1e5)/1e5,Ms=/(-)?([\d]*\.?[\d])+/g,fm=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,r1=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function _o(e){return typeof e=="string"}const Fo=e=>({test:t=>_o(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),zt=Fo("deg"),wt=Fo("%"),V=Fo("px"),o1=Fo("vh"),i1=Fo("vw"),Cd={...wt,parse:e=>wt.parse(e)/100,transform:e=>wt.transform(e*100)},Ed={..._n,transform:Math.round},pm={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,radius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,size:V,top:V,right:V,bottom:V,left:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,rotate:zt,rotateX:zt,rotateY:zt,rotateZ:zt,scale:si,scaleX:si,scaleY:si,scaleZ:si,skew:zt,skewX:zt,skewY:zt,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:to,originX:Cd,originY:Cd,originZ:V,zIndex:Ed,fillOpacity:to,strokeOpacity:to,numOctaves:Ed};function zu(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(dm(d)){i[d]=f;continue}const m=pm[d],x=n1(f,m);if(In.has(d)){if(l=!0,s[d]=x,!c)continue;f!==(m.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=x):o[d]=x}if(t.transform||(l||r?o.transform=e1(e.transform,n,c,r):o.transform&&(o.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:m=0}=a;o.transformOrigin=`${d} ${f} ${m}`}}const Bu=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function hm(e,t,n){for(const r in t)!Be(t[r])&&!um(r,n)&&(e[r]=t[r])}function s1({transformTemplate:e},t,n){return T.useMemo(()=>{const r=Bu();return zu(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function a1(e,t,n){const r=e.style||{},o={};return hm(o,r,e),Object.assign(o,s1(e,t,n)),e.transformValues?e.transformValues(o):o}function l1(e,t,n){const r={},o=a1(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const u1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ts(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||u1.has(e)}let mm=e=>!ts(e);function c1(e){e&&(mm=t=>t.startsWith("on")?!ts(t):e(t))}try{c1(require("@emotion/is-prop-valid").default)}catch{}function d1(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(mm(o)||n===!0&&ts(o)||!t&&!ts(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Pd(e,t,n){return typeof e=="string"?e:V.transform(t+n*e)}function f1(e,t,n){const r=Pd(t,e.x,e.width),o=Pd(n,e.y,e.height);return`${r} ${o}`}const p1={offset:"stroke-dashoffset",array:"stroke-dasharray"},h1={offset:"strokeDashoffset",array:"strokeDasharray"};function m1(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?p1:h1;e[i.offset]=V.transform(-r);const s=V.transform(t),a=V.transform(n);e[i.array]=`${s} ${a}`}function Uu(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(zu(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:x,dimensions:v}=e;m.transform&&(v&&(x.transform=m.transform),delete m.transform),v&&(o!==void 0||i!==void 0||x.transform)&&(x.transformOrigin=f1(v,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),s!==void 0&&m1(m,s,a,l,!1)}const gm=()=>({...Bu(),attrs:{}}),$u=e=>typeof e=="string"&&e.toLowerCase()==="svg";function g1(e,t,n,r){const o=T.useMemo(()=>{const i=gm();return Uu(i,t,{enableHardwareAcceleration:!1},$u(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};hm(i,e.style,e),o.style={...i,...o.style}}return o}function y1(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(Fu(n)?g1:l1)(r,i,s,n),c={...d1(r,typeof n=="string",e),...l,ref:o},{children:d}=r,f=T.useMemo(()=>Be(d)?d.get():d,[d]);return T.createElement(n,{...c,children:f})}}function ym(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const vm=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"]);function xm(e,t,n,r){ym(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(vm.has(o)?o:Vu(o),t.attrs[o])}function Hu(e,t){const{style:n}=e,r={};for(const o in n)(Be(n[o])||t.style&&Be(t.style[o])||um(o,e))&&(r[o]=n[o]);return r}function wm(e,t){const n=Hu(e,t);for(const r in e)if(Be(e[r])||Be(t[r])){const o=Io.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function Wu(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function v1(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const ns=e=>Array.isArray(e),x1=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),w1=e=>ns(e)?e[e.length-1]||0:e;function ki(e){const t=Be(e)?e.get():e;return x1(t)?t.toValue():t}function S1({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:T1(r,o,i,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const Sm=e=>(t,n)=>{const r=T.useContext(js),o=T.useContext(Ou),i=()=>S1(e,t,r,o);return n?i():v1(i)};function T1(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=ki(i[f]);let{initial:s,animate:a}=e;const l=Rs(e),u=sm(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;return d&&typeof d!="boolean"&&!As(d)&&(Array.isArray(d)?d:[d]).forEach(m=>{const x=Wu(e,m);if(!x)return;const{transitionEnd:v,transition:S,...y}=x;for(const h in y){let g=y[h];if(Array.isArray(g)){const w=c?g.length-1:0;g=g[w]}g!==null&&(o[h]=g)}for(const h in v)o[h]=v[h]}),o}const de=e=>e;class kd{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function C1(e){let t=new kd,n=new kd,r=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&o,f=d?t:n;return u&&s.add(l),f.add(l)&&d&&o&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=C1(()=>n=!0),d),{}),s=d=>i[d].process(o),a=()=>{const d=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(d-o.timestamp,E1),1),o.timestamp=d,o.isProcessing=!0,ai.forEach(s),o.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,o.isProcessing||e(a)};return{schedule:ai.reduce((d,f)=>{const m=i[f];return d[f]=(x,v=!1,S=!1)=>(n||l(),m.schedule(x,v,S)),d},{}),cancel:d=>ai.forEach(f=>i[f].cancel(d)),state:o,steps:i}}const{schedule:J,cancel:Vt,state:Pe,steps:ca}=P1(typeof requestAnimationFrame<"u"?requestAnimationFrame:de,!0),k1={useVisualState:Sm({scrapeMotionValuesFromProps:wm,createRenderState:gm,onMount:(e,t,{renderState:n,latestValues:r})=>{J.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),J.render(()=>{Uu(n,r,{enableHardwareAcceleration:!1},$u(t.tagName),e.transformTemplate),xm(t,n)})}})},N1={useVisualState:Sm({scrapeMotionValuesFromProps:Hu,createRenderState:Bu})};function j1(e,{forwardMotionProps:t=!1},n,r){return{...Fu(e)?k1:N1,preloadedFeatures:n,useRender:y1(t),createVisualElement:r,Component:e}}function Nt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Tm=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Ls(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const b1=e=>t=>Tm(t)&&e(t,Ls(t));function bt(e,t,n,r){return Nt(e,t,b1(n),r)}const A1=(e,t)=>n=>t(e(n)),nn=(...e)=>e.reduce(A1);function Cm(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Nd=Cm("dragHorizontal"),jd=Cm("dragVertical");function Em(e){let t=!1;if(e==="y")t=jd();else if(e==="x")t=Nd();else{const n=Nd(),r=jd();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Pm(){const e=Em(!0);return e?(e(),!1):!0}class fn{constructor(t){this.isMounted=!1,this.node=t}update(){}}function bd(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(i,s)=>{if(i.pointerType==="touch"||Pm())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t),a[r]&&J.update(()=>a[r](i,s))};return bt(e.current,n,o,{passive:!e.getProps()[r]})}class R1 extends fn{mount(){this.unmount=nn(bd(this.node,!0),bd(this.node,!1))}unmount(){}}class M1 extends fn{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=nn(Nt(this.node.current,"focus",()=>this.onFocus()),Nt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const km=(e,t)=>t?e===t?!0:km(e,t.parentElement):!1;function da(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ls(n))}class L1 extends fn{constructor(){super(...arguments),this.removeStartListeners=de,this.removeEndListeners=de,this.removeAccessibleListeners=de,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),i=bt(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();J.update(()=>{!d&&!km(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)})},{passive:!(r.onTap||r.onPointerUp)}),s=bt(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=nn(i,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=i=>{if(i.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||da("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&J.update(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=Nt(this.node.current,"keyup",s),da("down",(a,l)=>{this.startPress(a,l)})},n=Nt(this.node.current,"keydown",t),r=()=>{this.isPressing&&da("cancel",(i,s)=>this.cancelPress(i,s))},o=Nt(this.node.current,"blur",r);this.removeAccessibleListeners=nn(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&J.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Pm()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&J.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=bt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Nt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=nn(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Tl=new WeakMap,fa=new WeakMap,D1=e=>{const t=Tl.get(e.target);t&&t(e)},O1=e=>{e.forEach(D1)};function V1({root:e,...t}){const n=e||document;fa.has(n)||fa.set(n,{});const r=fa.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(O1,{root:e,...t})),r[o]}function I1(e,t,n){const r=V1(t);return Tl.set(e,n),r.observe(e),()=>{Tl.delete(e),r.unobserve(e)}}const _1={some:0,all:1};class F1 extends fn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:_1[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return I1(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(z1(t,n))&&this.startObserver()}unmount(){}}function z1({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const B1={inView:{Feature:F1},tap:{Feature:L1},focus:{Feature:M1},hover:{Feature:R1}};function Nm(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function $1(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Ds(e,t,n){const r=e.getProps();return Wu(r,t,n!==void 0?n:r.custom,U1(e),$1(e))}let H1=de,Gu=de;const rn=e=>e*1e3,At=e=>e/1e3,W1={current:!1},jm=e=>Array.isArray(e)&&typeof e[0]=="number";function bm(e){return!!(!e||typeof e=="string"&&Am[e]||jm(e)||Array.isArray(e)&&e.every(bm))}const Wr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Am={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wr([0,.65,.55,1]),circOut:Wr([.55,0,1,.45]),backIn:Wr([.31,.01,.66,-.59]),backOut:Wr([.33,1.53,.69,.99])};function Rm(e){if(e)return jm(e)?Wr(e):Array.isArray(e)?e.map(Rm):Am[e]}function G1(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=Rm(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}function K1(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const Mm=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Y1=1e-7,Q1=12;function X1(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=Mm(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>Y1&&++aX1(i,0,1,e,n);return i=>i===0||i===1?i:Mm(o(i),t,r)}const q1=zo(.42,0,1,1),Z1=zo(0,0,.58,1),Lm=zo(.42,0,.58,1),J1=e=>Array.isArray(e)&&typeof e[0]!="number",Dm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Om=e=>t=>1-e(1-t),Ku=e=>1-Math.sin(Math.acos(e)),Vm=Om(Ku),ew=Dm(Ku),Im=zo(.33,1.53,.69,.99),Yu=Om(Im),tw=Dm(Yu),nw=e=>(e*=2)<1?.5*Yu(e):.5*(2-Math.pow(2,-10*(e-1))),rw={linear:de,easeIn:q1,easeInOut:Lm,easeOut:Z1,circIn:Ku,circInOut:ew,circOut:Vm,backIn:Yu,backInOut:tw,backOut:Im,anticipate:nw},Ad=e=>{if(Array.isArray(e)){Gu(e.length===4);const[t,n,r,o]=e;return zo(t,n,r,o)}else if(typeof e=="string")return rw[e];return e},Qu=(e,t)=>n=>!!(_o(n)&&r1.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),_m=(e,t,n)=>r=>{if(!_o(r))return r;const[o,i,s,a]=r.match(Ms);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},ow=e=>an(0,255,e),pa={..._n,transform:e=>Math.round(ow(e))},Cn={test:Qu("rgb","red"),parse:_m("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+pa.transform(e)+", "+pa.transform(t)+", "+pa.transform(n)+", "+no(to.transform(r))+")"};function iw(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Cl={test:Qu("#"),parse:iw,transform:Cn.transform},nr={test:Qu("hsl","hue"),parse:_m("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wt.transform(no(t))+", "+wt.transform(no(n))+", "+no(to.transform(r))+")"},je={test:e=>Cn.test(e)||Cl.test(e)||nr.test(e),parse:e=>Cn.test(e)?Cn.parse(e):nr.test(e)?nr.parse(e):Cl.parse(e),transform:e=>_o(e)?e:e.hasOwnProperty("red")?Cn.transform(e):nr.transform(e)},se=(e,t,n)=>-n*e+n*t+e;function ha(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 sw({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=ha(l,a,e+1/3),i=ha(l,a,e),s=ha(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}const ma=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},aw=[Cl,Cn,nr],lw=e=>aw.find(t=>t.test(e));function Rd(e){const t=lw(e);let n=t.parse(e);return t===nr&&(n=sw(n)),n}const Fm=(e,t)=>{const n=Rd(e),r=Rd(t),o={...n};return i=>(o.red=ma(n.red,r.red,i),o.green=ma(n.green,r.green,i),o.blue=ma(n.blue,r.blue,i),o.alpha=se(n.alpha,r.alpha,i),Cn.transform(o))};function uw(e){var t,n;return isNaN(e)&&_o(e)&&(((t=e.match(Ms))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(fm))===null||n===void 0?void 0:n.length)||0)>0}const zm={regex:t1,countKey:"Vars",token:"${v}",parse:de},Bm={regex:fm,countKey:"Colors",token:"${c}",parse:je.parse},Um={regex:Ms,countKey:"Numbers",token:"${n}",parse:_n.parse};function ga(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function rs(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ga(n,zm),ga(n,Bm),ga(n,Um),n}function $m(e){return rs(e).values}function Hm(e){const{values:t,numColors:n,numVars:r,tokenised:o}=rs(e),i=t.length;return s=>{let a=o;for(let l=0;ltypeof e=="number"?0:e;function dw(e){const t=$m(e);return Hm(e)(t.map(cw))}const ln={test:uw,parse:$m,createTransformer:Hm,getAnimatableNone:dw},Wm=(e,t)=>n=>`${n>0?t:e}`;function Gm(e,t){return typeof e=="number"?n=>se(e,t,n):je.test(e)?Fm(e,t):e.startsWith("var(")?Wm(e,t):Ym(e,t)}const Km=(e,t)=>{const n=[...e],r=n.length,o=e.map((i,s)=>Gm(i,t[s]));return i=>{for(let s=0;s{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Gm(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}},Ym=(e,t)=>{const n=ln.createTransformer(t),r=rs(e),o=rs(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?nn(Km(r.values,o.values),n):Wm(e,t)},ko=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Md=(e,t)=>n=>se(e,t,n);function pw(e){return typeof e=="number"?Md:typeof e=="string"?je.test(e)?Fm:Ym:Array.isArray(e)?Km:typeof e=="object"?fw:Md}function hw(e,t,n){const r=[],o=n||pw(e[0]),i=e.length-1;for(let s=0;st[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=hw(t,r,o),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(an(e[0],e[i-1],u)):l}function mw(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=ko(0,t,r);e.push(se(n,1,o))}}function gw(e){const t=[0];return mw(t,e.length-1),t}function yw(e,t){return e.map(n=>n*t)}function vw(e,t){return e.map(()=>t||Lm).splice(0,e.length-1)}function os({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=J1(r)?r.map(Ad):Ad(r),i={done:!1,value:t[0]},s=yw(n&&n.length===t.length?n:gw(t),e),a=Qm(s,t,{ease:Array.isArray(o)?o:vw(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}function Xm(e,t){return t?e*(1e3/t):0}const xw=5;function qm(e,t,n){const r=Math.max(t-xw,0);return Xm(n-e(r),t-r)}const ya=.001,ww=.01,Ld=10,Sw=.05,Tw=1;function Cw({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;H1(e<=rn(Ld));let s=1-t;s=an(Sw,Tw,s),e=an(ww,Ld,At(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,m=El(u,s),x=Math.exp(-d);return ya-f/m*x},i=u=>{const d=u*s*e,f=d*n+n,m=Math.pow(s,2)*Math.pow(u,2)*e,x=Math.exp(-d),v=El(Math.pow(u,2),s);return(-o(u)+ya>0?-1:1)*((f-m)*x)/v}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-ya+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=Pw(o,i,a);if(e=rn(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const Ew=12;function Pw(e,t,n){let r=n;for(let o=1;oe[n]!==void 0)}function jw(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Dd(e,Nw)&&Dd(e,kw)){const n=Cw(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Zm({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=jw({...r,velocity:-At(r.velocity||0)}),m=d||0,x=l/(2*Math.sqrt(a*u)),v=i-o,S=At(Math.sqrt(a/u)),y=Math.abs(v)<5;n||(n=y?.01:2),t||(t=y?.005:.5);let h;if(x<1){const g=El(S,x);h=w=>{const C=Math.exp(-x*S*w);return i-C*((m+x*S*v)/g*Math.sin(g*w)+v*Math.cos(g*w))}}else if(x===1)h=g=>i-Math.exp(-S*g)*(v+(m+S*v)*g);else{const g=S*Math.sqrt(x*x-1);h=w=>{const C=Math.exp(-x*S*w),P=Math.min(g*w,300);return i-C*((m+x*S*v)*Math.sinh(P)+g*v*Math.cosh(P))/g}}return{calculatedDuration:f&&c||null,next:g=>{const w=h(g);if(f)s.done=g>=c;else{let C=m;g!==0&&(x<1?C=qm(h,g,w):C=0);const P=Math.abs(C)<=n,E=Math.abs(i-w)<=t;s.done=P&&E}return s.value=s.done?i:w,s}}}function Od({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},m=k=>a!==void 0&&kl,x=k=>a===void 0?l:l===void 0||Math.abs(a-k)-v*Math.exp(-k/r),g=k=>y+h(k),w=k=>{const M=h(k),L=g(k);f.done=Math.abs(M)<=u,f.value=f.done?y:L};let C,P;const E=k=>{m(f.value)&&(C=k,P=Zm({keyframes:[f.value,x(f.value)],velocity:qm(g,k,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:k=>{let M=!1;return!P&&C===void 0&&(M=!0,w(k),E(k)),C!==void 0&&k>C?P.next(k-C):(!M&&w(k),f)}}}const bw=e=>{const t=({timestamp:n})=>e(n);return{start:()=>J.update(t,!0),stop:()=>Vt(t),now:()=>Pe.isProcessing?Pe.timestamp:performance.now()}},Vd=2e4;function Id(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Vd?1/0:t}const Aw={decay:Od,inertia:Od,tween:os,keyframes:os,spring:Zm};function is({autoplay:e=!0,delay:t=0,driver:n=bw,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:d,...f}){let m=1,x=!1,v,S;const y=()=>{S=new Promise(D=>{v=D})};y();let h;const g=Aw[o]||os;let w;g!==os&&typeof r[0]!="number"&&(w=Qm([0,100],r,{clamp:!1}),r=[0,100]);const C=g({...f,keyframes:r});let P;a==="mirror"&&(P=g({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let E="idle",k=null,M=null,L=null;C.calculatedDuration===null&&i&&(C.calculatedDuration=Id(C));const{calculatedDuration:G}=C;let O=1/0,oe=1/0;G!==null&&(O=G+s,oe=O*(i+1)-s);let A=0;const ee=D=>{if(M===null)return;m>0&&(M=Math.min(M,D)),m<0&&(M=Math.min(D-oe/m,M)),k!==null?A=k:A=Math.round(D-M)*m;const $=A-t*(m>=0?1:-1),Y=m>=0?$<0:$>oe;A=Math.max($,0),E==="finished"&&k===null&&(A=oe);let Ue=A,zn=C;if(i){const Vs=Math.min(A,oe)/O;let Uo=Math.floor(Vs),hn=Vs%1;!hn&&Vs>=1&&(hn=1),hn===1&&Uo--,Uo=Math.min(Uo,i+1),!!(Uo%2)&&(a==="reverse"?(hn=1-hn,s&&(hn-=s/O)):a==="mirror"&&(zn=P)),Ue=an(0,1,hn)*O}const $e=Y?{done:!1,value:r[0]}:zn.next(Ue);w&&($e.value=w($e.value));let{done:pn}=$e;!Y&&G!==null&&(pn=m>=0?A>=oe:A<=0);const gy=k===null&&(E==="finished"||E==="running"&&pn);return d&&d($e.value),gy&&j(),$e},U=()=>{h&&h.stop(),h=void 0},fe=()=>{E="idle",U(),v(),y(),M=L=null},j=()=>{E="finished",c&&c(),U(),v()},R=()=>{if(x)return;h||(h=n(ee));const D=h.now();l&&l(),k!==null?M=D-k:(!M||E==="finished")&&(M=D),E==="finished"&&y(),L=M,k=null,E="running",h.start()};e&&R();const I={then(D,$){return S.then(D,$)},get time(){return At(A)},set time(D){D=rn(D),A=D,k!==null||!h||m===0?k=D:M=h.now()-D/m},get duration(){const D=C.calculatedDuration===null?Id(C):C.calculatedDuration;return At(D)},get speed(){return m},set speed(D){D===m||!h||(m=D,I.time=At(A))},get state(){return E},play:R,pause:()=>{E="paused",k=A},stop:()=>{x=!0,E!=="idle"&&(E="idle",u&&u(),fe())},cancel:()=>{L!==null&&ee(L),fe()},complete:()=>{E="finished"},sample:D=>(M=0,ee(D))};return I}function Rw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Mw=Rw(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Lw=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),li=10,Dw=2e4,Ow=(e,t)=>t.type==="spring"||e==="backgroundColor"||!bm(t.ease);function Vw(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Mw()&&Lw.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let s=!1,a,l,u=!1;const c=()=>{l=new Promise(g=>{a=g})};c();let{keyframes:d,duration:f=300,ease:m,times:x}=o;if(Ow(t,o)){const g=is({...o,repeat:0,delay:0});let w={done:!1,value:d[0]};const C=[];let P=0;for(;!w.done&&P{u=!1,v.cancel()},y=()=>{u=!0,J.update(S),a(),c()};return v.onfinish=()=>{u||(e.set(K1(d,o)),r&&r(),y())},{then(g,w){return l.then(g,w)},attachTimeline(g){return v.timeline=g,v.onfinish=null,de},get time(){return At(v.currentTime||0)},set time(g){v.currentTime=rn(g)},get speed(){return v.playbackRate},set speed(g){v.playbackRate=g},get duration(){return At(f)},play:()=>{s||(v.play(),Vt(S))},pause:()=>v.pause(),stop:()=>{if(s=!0,v.playState==="idle")return;const{currentTime:g}=v;if(g){const w=is({...o,autoplay:!1});e.setWithVelocity(w.sample(g-li).value,w.sample(g).value,li)}y()},complete:()=>{u||v.finish()},cancel:y}}function Iw({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:de,pause:de,stop:de,then:i=>(i(),Promise.resolve()),cancel:de,complete:de});return t?is({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const _w={type:"spring",stiffness:500,damping:25,restSpeed:10},Fw=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),zw={type:"keyframes",duration:.8},Bw={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Uw=(e,{keyframes:t})=>t.length>2?zw:In.has(e)?e.startsWith("scale")?Fw(t[1]):_w:Bw,Pl=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ln.test(t)||t==="0")&&!t.startsWith("url(")),$w=new Set(["brightness","contrast","saturate","opacity"]);function Hw(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ms)||[];if(!r)return e;const o=n.replace(r,"");let i=$w.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Ww=/([a-z-]*)\(.*?\)/g,kl={...ln,getAnimatableNone:e=>{const t=e.match(Ww);return t?t.map(Hw).join(" "):e}},Gw={...pm,color:je,backgroundColor:je,outlineColor:je,fill:je,stroke:je,borderColor:je,borderTopColor:je,borderRightColor:je,borderBottomColor:je,borderLeftColor:je,filter:kl,WebkitFilter:kl},Xu=e=>Gw[e];function Jm(e,t){let n=Xu(e);return n!==kl&&(n=ln),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const eg=e=>/^0[^.\s]+$/.test(e);function Kw(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||eg(e)}function Yw(e,t,n,r){const o=Pl(t,n);let i;Array.isArray(n)?i=[...n]:i=[null,n];const s=r.from!==void 0?r.from:e.get();let a;const l=[];for(let u=0;uo=>{const i=qu(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a=a-rn(s);const l=Yw(t,e,n,i),u=l[0],c=l[l.length-1],d=Pl(e,u),f=Pl(e,c);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:x=>{t.set(x),i.onUpdate&&i.onUpdate(x)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(Qw(i)||(m={...m,...Uw(e,m)}),m.duration&&(m.duration=rn(m.duration)),m.repeatDelay&&(m.repeatDelay=rn(m.repeatDelay)),!d||!f||W1.current||i.type===!1||Xw.skipAnimations)return Iw(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const x=Vw(t,e,m);if(x)return x}return is(m)};function ss(e){return!!(Be(e)&&e.add)}const tg=e=>/^\-?\d*\.?\d+$/.test(e);function Ju(e,t){e.indexOf(t)===-1&&e.push(t)}function ec(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class tc{constructor(){this.subscriptions=[]}add(t){return Ju(this.subscriptions,t),()=>ec(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class Zw{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:i,timestamp:s}=Pe;this.lastUpdated!==s&&(this.timeDelta=i,this.lastUpdated=s,J.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>J.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=qw(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new tc);const r=this.events[t].add(n);return t==="change"?()=>{r(),J.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,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?Xm(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}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(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function xr(e,t){return new Zw(e,t)}const ng=e=>t=>t.test(e),Jw={test:e=>e==="auto",parse:e=>e},rg=[_n,V,wt,zt,i1,o1,Jw],Ir=e=>rg.find(ng(e)),eS=[...rg,je,ln],tS=e=>eS.find(ng(e));function nS(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,xr(n))}function rS(e,t){const n=Ds(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const s in i){const a=w1(i[s]);nS(e,s,a)}}function oS(e,t,n){var r,o;const i=Object.keys(t).filter(a=>!e.hasValue(a)),s=i.length;if(s)for(let a=0;al.remove(d))),u.push(S)}return s&&Promise.all(u).then(()=>{s&&rS(e,s)}),u}function Nl(e,t,n={}){const r=Ds(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(og(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:d}=o;return uS(e,t,u+l,c,d,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[l,u]=a==="beforeChildren"?[i,s]:[s,i];return l().then(()=>u())}else return Promise.all([i(),s(n.delay)])}function uS(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(cS).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(Nl(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function cS(e,t){return e.sortNodePosition(t)}function dS(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Nl(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Nl(e,t,n);else{const o=typeof t=="function"?Ds(e,t,n.custom):t;r=Promise.all(og(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const fS=[...Iu].reverse(),pS=Iu.length;function hS(e){return t=>Promise.all(t.map(({animation:n,options:r})=>dS(e,n,r)))}function mS(e){let t=hS(e);const n=yS();let r=!0;const o=(l,u)=>{const c=Ds(e,u);if(c){const{transition:d,transitionEnd:f,...m}=c;l={...l,...m,...f}}return l};function i(l){t=l(e)}function s(l,u){const c=e.getProps(),d=e.getVariantContext(!0)||{},f=[],m=new Set;let x={},v=1/0;for(let y=0;yv&&C,L=!1;const G=Array.isArray(w)?w:[w];let O=G.reduce(o,{});P===!1&&(O={});const{prevResolvedValues:oe={}}=g,A={...oe,...O},ee=U=>{M=!0,m.has(U)&&(L=!0,m.delete(U)),g.needsAnimating[U]=!0};for(const U in A){const fe=O[U],j=oe[U];if(x.hasOwnProperty(U))continue;let R=!1;ns(fe)&&ns(j)?R=!Nm(fe,j):R=fe!==j,R?fe!==void 0?ee(U):m.add(U):fe!==void 0&&m.has(U)?ee(U):g.protectedKeys[U]=!0}g.prevProp=w,g.prevResolvedValues=O,g.isActive&&(x={...x,...O}),r&&e.blockInitialAnimation&&(M=!1),M&&(!E||L)&&f.push(...G.map(U=>({animation:U,options:{type:h,...l}})))}if(m.size){const y={};m.forEach(h=>{const g=e.getBaseTarget(h);g!==void 0&&(y[h]=g)}),f.push({animation:y})}let S=!!f.length;return r&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(S=!1),r=!1,S?t(f):Promise.resolve()}function a(l,u,c){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)===null||d===void 0||d.forEach(m=>{var x;return(x=m.animationState)===null||x===void 0?void 0:x.setActive(l,u)}),n[l].isActive=u;const f=s(c,l);for(const m in n)n[m].protectedKeys={};return f}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n}}function gS(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Nm(t,e):!1}function mn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function yS(){return{animate:mn(!0),whileInView:mn(),whileHover:mn(),whileTap:mn(),whileDrag:mn(),whileFocus:mn(),exit:mn()}}class vS extends fn{constructor(t){super(t),t.animationState||(t.animationState=mS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),As(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let xS=0;class wS extends fn{constructor(){super(...arguments),this.id=xS++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const SS={animation:{Feature:vS},exit:{Feature:wS}},_d=(e,t)=>Math.abs(e-t);function TS(e,t){const n=_d(e.x,t.x),r=_d(e.y,t.y);return Math.sqrt(n**2+r**2)}class ig{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=xa(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,m=TS(d.offset,{x:0,y:0})>=3;if(!f&&!m)return;const{point:x}=d,{timestamp:v}=Pe;this.history.push({...x,timestamp:v});const{onStart:S,onMove:y}=this.handlers;f||(S&&S(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=va(f,this.transformPagePoint),J.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:m,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=xa(d.type==="pointercancel"?this.lastMoveEventInfo:va(f,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,S),x&&x(d,S)},!Tm(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=Ls(t),a=va(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=Pe;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,xa(a,this.history)),this.removeListeners=nn(bt(this.contextWindow,"pointermove",this.handlePointerMove),bt(this.contextWindow,"pointerup",this.handlePointerUp),bt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Vt(this.updatePoint)}}function va(e,t){return t?{point:t(e.point)}:e}function Fd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xa({point:e},t){return{point:e,delta:Fd(e,sg(t)),offset:Fd(e,CS(t)),velocity:ES(t,.1)}}function CS(e){return e[0]}function sg(e){return e[e.length-1]}function ES(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=sg(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>rn(t)));)n--;if(!r)return{x:0,y:0};const i=At(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Qe(e){return e.max-e.min}function jl(e,t=0,n=.01){return Math.abs(e-t)<=n}function zd(e,t,n,r=.5){e.origin=r,e.originPoint=se(t.min,t.max,e.origin),e.scale=Qe(n)/Qe(t),(jl(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=se(n.min,n.max,e.origin)-e.originPoint,(jl(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ro(e,t,n,r){zd(e.x,t.x,n.x,r?r.originX:void 0),zd(e.y,t.y,n.y,r?r.originY:void 0)}function Bd(e,t,n){e.min=n.min+t.min,e.max=e.min+Qe(t)}function PS(e,t,n){Bd(e.x,t.x,n.x),Bd(e.y,t.y,n.y)}function Ud(e,t,n){e.min=t.min-n.min,e.max=e.min+Qe(t)}function oo(e,t,n){Ud(e.x,t.x,n.x),Ud(e.y,t.y,n.y)}function kS(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?se(n,e,r.max):Math.min(e,n)),e}function $d(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 NS(e,{top:t,left:n,bottom:r,right:o}){return{x:$d(e.x,n,o),y:$d(e.y,t,r)}}function Hd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=ko(t.min,t.max-r,e.min):r>o&&(n=ko(e.min,e.max-o,t.min)),an(0,1,n)}function AS(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 bl=.35;function RS(e=bl){return e===!1?e=0:e===!0&&(e=bl),{x:Wd(e,"left","right"),y:Wd(e,"top","bottom")}}function Wd(e,t,n){return{min:Gd(e,t),max:Gd(e,n)}}function Gd(e,t){return typeof e=="number"?e:e[t]||0}const Kd=()=>({translate:0,scale:1,origin:0,originPoint:0}),rr=()=>({x:Kd(),y:Kd()}),Yd=()=>({min:0,max:0}),he=()=>({x:Yd(),y:Yd()});function Je(e){return[e("x"),e("y")]}function ag({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function MS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function LS(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 wa(e){return e===void 0||e===1}function Al({scale:e,scaleX:t,scaleY:n}){return!wa(e)||!wa(t)||!wa(n)}function vn(e){return Al(e)||lg(e)||e.z||e.rotate||e.rotateX||e.rotateY}function lg(e){return Qd(e.x)||Qd(e.y)}function Qd(e){return e&&e!=="0%"}function as(e,t,n){const r=e-n,o=t*r;return n+o}function Xd(e,t,n,r,o){return o!==void 0&&(e=as(e,o,r)),as(e,n,r)+t}function Rl(e,t=0,n=1,r,o){e.min=Xd(e.min,t,n,r,o),e.max=Xd(e.max,t,n,r,o)}function ug(e,{x:t,y:n}){Rl(e.x,t.translate,t.scale,t.originPoint),Rl(e.y,n.translate,n.scale,n.originPoint)}function DS(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function $t(e,t){e.min=e.min+t,e.max=e.max+t}function Zd(e,t,[n,r,o]){const i=t[o]!==void 0?t[o]:.5,s=se(e.min,e.max,i);Rl(e,t[n],t[r],s,t.scale)}const OS=["x","scaleX","originX"],VS=["y","scaleY","originY"];function or(e,t){Zd(e.x,t,OS),Zd(e.y,t,VS)}function cg(e,t){return ag(LS(e.getBoundingClientRect(),t))}function IS(e,t,n){const r=cg(e,n),{scroll:o}=t;return o&&($t(r.x,o.offset.x),$t(r.y,o.offset.y)),r}const dg=({current:e})=>e?e.ownerDocument.defaultView:null,_S=new WeakMap;class FS{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=he(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Ls(c,"page").point)},i=(c,d)=>{const{drag:f,dragPropagation:m,onDragStart:x}=this.getProps();if(f&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Em(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Je(S=>{let y=this.getAxisMotionValue(S).get()||0;if(wt.test(y)){const{projection:h}=this.visualElement;if(h&&h.layout){const g=h.layout.layoutBox[S];g&&(y=Qe(g)*(parseFloat(y)/100))}}this.originPoint[S]=y}),x&&J.update(()=>x(c,d),!1,!0);const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:m,onDirectionLock:x,onDrag:v}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:S}=d;if(m&&this.currentDirection===null){this.currentDirection=zS(S),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",d.point,S),this.updateAxis("y",d.point,S),this.visualElement.render(),v&&v(c,d)},a=(c,d)=>this.stop(c,d),l=()=>Je(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new ig(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:dg(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&J.update(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!ui(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=kS(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&tr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=NS(o.layoutBox,n):this.constraints=!1,this.elastic=RS(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Je(s=>{this.getAxisMotionValue(s)&&(this.constraints[s]=AS(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!tr(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=IS(r,o.root,this.visualElement.getTransformPagePoint());let s=jS(o.layout.layoutBox,i);if(n){const a=n(MS(s));this.hasMutatedConstraints=!!a,a&&(s=ag(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Je(c=>{if(!ui(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,m=o?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Zu(t,r,0,n))}stopAnimation(){Je(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Je(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Je(n=>{const{drag:r}=this.getProps();if(!ui(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-se(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!tr(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Je(s=>{const a=this.getAxisMotionValue(s);if(a){const l=a.get();o[s]=bS({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Je(s=>{if(!ui(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(se(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;_S.set(this.visualElement,this);const t=this.visualElement.current,n=bt(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();tr(l)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const s=Nt(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(Je(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=bl,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function ui(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function zS(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class BS extends fn{constructor(t){super(t),this.removeGroupControls=de,this.removeListeners=de,this.controls=new FS(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||de}unmount(){this.removeGroupControls(),this.removeListeners()}}const Jd=e=>(t,n)=>{e&&J.update(()=>e(t,n))};class US extends fn{constructor(){super(...arguments),this.removePointerDownListener=de}onPointerDown(t){this.session=new ig(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:dg(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Jd(t),onStart:Jd(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&J.update(()=>o(i,s))}}}mount(){this.removePointerDownListener=bt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function $S(){const e=T.useContext(Ou);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=T.useId();return T.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const Ni={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ef(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const _r={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=ef(e,t.target.x),r=ef(e,t.target.y);return`${n}% ${r}%`}},HS={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=ln.parse(e);if(o.length>5)return r;const i=ln.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=se(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};class WS extends W.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;qx(GS),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Ni.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||J.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function fg(e){const[t,n]=$S(),r=T.useContext(am);return W.createElement(WS,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(lm),isPresent:t,safeToRemove:n})}const GS={borderRadius:{..._r,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:_r,borderTopRightRadius:_r,borderBottomLeftRadius:_r,borderBottomRightRadius:_r,boxShadow:HS},pg=["TopLeft","TopRight","BottomLeft","BottomRight"],KS=pg.length,tf=e=>typeof e=="string"?parseFloat(e):e,nf=e=>typeof e=="number"||V.test(e);function YS(e,t,n,r,o,i){o?(e.opacity=se(0,n.opacity!==void 0?n.opacity:1,QS(r)),e.opacityExit=se(t.opacity!==void 0?t.opacity:1,0,XS(r))):i&&(e.opacity=se(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(ko(e,t,r))}function of(e,t){e.min=t.min,e.max=t.max}function Ze(e,t){of(e.x,t.x),of(e.y,t.y)}function sf(e,t,n,r,o){return e-=t,e=as(e,1/n,r),o!==void 0&&(e=as(e,1/o,r)),e}function qS(e,t=0,n=1,r=.5,o,i=e,s=e){if(wt.test(t)&&(t=parseFloat(t),t=se(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=se(i.min,i.max,r);e===i&&(a-=t),e.min=sf(e.min,t,n,a,o),e.max=sf(e.max,t,n,a,o)}function af(e,t,[n,r,o],i,s){qS(e,t[n],t[r],t[o],t.scale,i,s)}const ZS=["x","scaleX","originX"],JS=["y","scaleY","originY"];function lf(e,t,n,r){af(e.x,t,ZS,n?n.x:void 0,r?r.x:void 0),af(e.y,t,JS,n?n.y:void 0,r?r.y:void 0)}function uf(e){return e.translate===0&&e.scale===1}function mg(e){return uf(e.x)&&uf(e.y)}function eT(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function gg(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function cf(e){return Qe(e.x)/Qe(e.y)}class tT{constructor(){this.members=[]}add(t){Ju(this.members,t),t.scheduleRender()}remove(t){if(ec(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){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function df(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:u,rotateY:c}=n;l&&(r+=`rotate(${l}deg) `),u&&(r+=`rotateX(${u}deg) `),c&&(r+=`rotateY(${c}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return(s!==1||a!==1)&&(r+=`scale(${s}, ${a})`),r||"none"}const nT=(e,t)=>e.depth-t.depth;class rT{constructor(){this.children=[],this.isDirty=!1}add(t){Ju(this.children,t),this.isDirty=!0}remove(t){ec(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nT),this.isDirty=!1,this.children.forEach(t)}}function oT(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Vt(r),e(i-t))};return J.read(r,!0),()=>Vt(r)}function iT(e){window.MotionDebug&&window.MotionDebug.record(e)}function sT(e){return e instanceof SVGElement&&e.tagName!=="svg"}function aT(e,t,n){const r=Be(e)?e:xr(e);return r.start(Zu("",r,t,n)),r.animation}const ff=["","X","Y","Z"],lT={visibility:"hidden"},pf=1e3;let uT=0;const xn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function yg({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=uT++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,xn.totalNodes=xn.resolvedTargetDeltas=xn.recalculatedProjection=0,this.nodes.forEach(fT),this.nodes.forEach(yT),this.nodes.forEach(vT),this.nodes.forEach(pT),iT(xn)},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;lthis.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=oT(f,250),Ni.hasAnimatedSinceResize&&(Ni.hasAnimatedSinceResize=!1,this.nodes.forEach(mf))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:m,layout:x})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||c.getDefaultTransition()||CT,{onLayoutAnimationStart:S,onLayoutAnimationComplete:y}=c.getProps(),h=!this.targetLayout||!gg(this.targetLayout,x)||m,g=!f&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||f&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,g);const w={...qu(v,"layout"),onPlay:S,onComplete:y};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||mf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=x})}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,Vt(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(xT),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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(hT),this.sharedNodes.forEach(wT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,J.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){J.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}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{const C=w/1e3;gf(d.x,s.x,C),gf(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(oo(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ST(this.relativeTarget,this.relativeTargetOrigin,f,C),g&&eT(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=he()),Ze(g,this.relativeTarget)),v&&(this.animationValues=c,YS(c,u,this.latestValues,C,h,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Vt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=J.update(()=>{Ni.hasAnimatedSinceResize=!0,this.currentAnimation=aT(0,pf,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},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(pf),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&&vg(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||he();const d=Qe(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=Qe(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}Ze(a,l),or(a,c),ro(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new tT),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 s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.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}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;const u={};for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(hf),this.root.sharedNodes.clear()}}}function cT(e){e.updateLayout()}function dT(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?Je(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Qe(f);f.min=r[d].min,f.max=f.min+m}):vg(i,n.layoutBox,r)&&Je(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],m=Qe(r[d]);f.max=f.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+m)});const a=rr();ro(a,r,n.layoutBox);const l=rr();s?ro(l,e.applyTransform(o,!0),n.measuredBox):ro(l,r,n.layoutBox);const u=!mg(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:m}=d;if(f&&m){const x=he();oo(x,n.layoutBox,f.layoutBox);const v=he();oo(v,r,m.layoutBox),gg(x,v)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function fT(e){xn.totalNodes++,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 pT(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function hT(e){e.clearSnapshot()}function hf(e){e.clearMeasurements()}function mT(e){e.isLayoutDirty=!1}function gT(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function mf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yT(e){e.resolveTargetDelta()}function vT(e){e.calcProjection()}function xT(e){e.resetRotation()}function wT(e){e.removeLeadSnapshot()}function gf(e,t,n){e.translate=se(t.translate,0,n),e.scale=se(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function yf(e,t,n,r){e.min=se(t.min,n.min,r),e.max=se(t.max,n.max,r)}function ST(e,t,n,r){yf(e.x,t.x,n.x,r),yf(e.y,t.y,n.y,r)}function TT(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const CT={duration:.45,ease:[.4,0,.1,1]},vf=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),xf=vf("applewebkit/")&&!vf("chrome/")?Math.round:de;function wf(e){e.min=xf(e.min),e.max=xf(e.max)}function ET(e){wf(e.x),wf(e.y)}function vg(e,t,n){return e==="position"||e==="preserve-aspect"&&!jl(cf(t),cf(n),.2)}const PT=yg({attachResizeListener:(e,t)=>Nt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Sa={current:void 0},xg=yg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Sa.current){const e=new PT({});e.mount(window),e.setOptions({layoutScroll:!0}),Sa.current=e}return Sa.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),kT={pan:{Feature:US},drag:{Feature:BS,ProjectionNode:xg,MeasureLayout:fg}},NT=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function jT(e){const t=NT.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Ml(e,t,n=1){const[r,o]=jT(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return tg(s)?parseFloat(s):s}else return Sl(o)?Ml(o,t,n+1):o}function bT(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const i=o.get();if(!Sl(i))return;const s=Ml(i,r);s&&o.set(s)});for(const o in t){const i=t[o];if(!Sl(i))continue;const s=Ml(i,r);s&&(t[o]=s,n||(n={}),n[o]===void 0&&(n[o]=i))}return{target:t,transitionEnd:n}}const AT=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),wg=e=>AT.has(e),RT=e=>Object.keys(e).some(wg),Sf=e=>e===_n||e===V,Tf=(e,t)=>parseFloat(e.split(", ")[t]),Cf=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Tf(o[1],t);{const i=r.match(/^matrix\((.+)\)$/);return i?Tf(i[1],e):0}},MT=new Set(["x","y","z"]),LT=Io.filter(e=>!MT.has(e));function DT(e){const t=[];return LT.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const wr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-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:Cf(4,13),y:Cf(5,14)};wr.translateX=wr.x;wr.translateY=wr.y;const OT=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(u=>{a[u]=wr[u](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(u=>{const c=t.getValue(u);c&&c.jump(a[u]),e[u]=wr[u](l,i)}),e},VT=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(wg);let i=[],s=!1;const a=[];if(o.forEach(l=>{const u=e.getValue(l);if(!e.hasValue(l))return;let c=n[l],d=Ir(c);const f=t[l];let m;if(ns(f)){const x=f.length,v=f[0]===null?1:0;c=f[v],d=Ir(c);for(let S=v;S=0?window.pageYOffset:null,u=OT(t,e,a);return i.length&&i.forEach(([c,d])=>{e.getValue(c).set(d)}),e.render(),bs&&l!==null&&window.scrollTo({top:l}),{target:u,transitionEnd:r}}else return{target:t,transitionEnd:r}};function IT(e,t,n,r){return RT(t)?VT(e,t,n,r):{target:t,transitionEnd:r}}const _T=(e,t,n,r)=>{const o=bT(e,t,r);return t=o.target,r=o.transitionEnd,IT(e,t,n,r)},Ll={current:null},Sg={current:!1};function FT(){if(Sg.current=!0,!!bs)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ll.current=e.matches;e.addListener(t),t()}else Ll.current=!1}function zT(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],s=n[o];if(Be(i))e.addValue(o,i),ss(r)&&r.add(o);else if(Be(s))e.addValue(o,xr(i,{owner:e})),ss(r)&&r.remove(o);else if(s!==i)if(e.hasValue(o)){const a=e.getValue(o);!a.hasAnimated&&a.set(i)}else{const a=e.getStaticValue(o);e.addValue(o,xr(a!==void 0?a:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const Ef=new WeakMap,Tg=Object.keys(Po),BT=Tg.length,Pf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],UT=_u.length;class $T{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:i},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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.scheduleRender=()=>J.render(this.render,!1,!0);const{latestValues:a,renderState:l}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=n.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=s,this.isControllingVariants=Rs(n),this.isVariantNode=sm(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(n,{});for(const d in c){const f=c[d];a[d]!==void 0&&Be(f)&&(f.set(a[d],!1),ss(u)&&u.add(d))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Ef.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((n,r)=>this.bindToMotionValue(r,n)),Sg.current||FT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ll.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ef.delete(this.current),this.projection&&this.projection.unmount(),Vt(this.notifyUpdate),Vt(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=In.has(t),o=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&J.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),i()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,i){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:i,layoutScroll:f,layoutRoot:m})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):he()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,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;rn.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(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=xr(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=Wu(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Be(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new tc),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Cg extends $T{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},i){let s=sS(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),s&&(s=o(s))),i){oS(this,r,s);const a=_T(this,r,s,n);n=a.transitionEnd,r=a.target}return{transition:t,transitionEnd:n,...r}}}function HT(e){return window.getComputedStyle(e)}class WT extends Cg{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(In.has(n)){const r=Xu(n);return r&&r.default||0}else{const r=HT(t),o=(dm(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return cg(t,n)}build(t,n,r,o){zu(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Hu(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Be(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){ym(t,n,r,o)}}class GT extends Cg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(In.has(n)){const r=Xu(n);return r&&r.default||0}return n=vm.has(n)?n:Vu(n),t.getAttribute(n)}measureInstanceViewportBox(){return he()}scrapeMotionValuesFromProps(t,n){return wm(t,n)}build(t,n,r,o){Uu(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){xm(t,n,r,o)}mount(t){this.isSVGTag=$u(t.tagName),super.mount(t)}}const KT=(e,t)=>Fu(e)?new GT(t,{enableHardwareAcceleration:!1}):new WT(t,{enableHardwareAcceleration:!0}),YT={layout:{ProjectionNode:xg,MeasureLayout:fg}},QT={...SS,...B1,...kT,...YT},F=Qx((e,t)=>j1(e,t,QT,KT));var XT={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"};const qT=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ue=(e,t)=>{const n=T.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:s,children:a,...l},u)=>T.createElement("svg",{ref:u,...XT,width:o,height:o,stroke:r,strokeWidth:s?Number(i)*24/Number(o):i,className:`lucide lucide-${qT(e)}`,...l},[...t.map(([c,d])=>T.createElement(c,d)),...(Array.isArray(a)?a:[a])||[]]));return n.displayName=`${e}`,n},kf=ue("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),ZT=ue("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]),Nf=ue("Banknote",[["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M6 12h.01M18 12h.01",key:"113zkx"}]]),JT=ue("Briefcase",[["rect",{width:"20",height:"14",x:"2",y:"7",rx:"2",ry:"2",key:"eto64e"}],["path",{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"zwj3tp"}]]),eC=ue("CheckCircle2",[["path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z",key:"14v8dr"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),tC=ue("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),nC=ue("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]),rC=ue("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),Eg=ue("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"}],["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"}]]),No=ue("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),Pg=ue("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"}]]),kg=ue("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),oC=ue("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"}]]),iC=ue("MessageCircle",[["path",{d:"m3 21 1.9-5.7a8.5 8.5 0 1 1 3.8 3.8z",key:"v2veuj"}]]),sC=ue("PartyPopper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12v0c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"bpx1uq"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11v0c-.11.7-.72 1.22-1.43 1.22H17",key:"1pd0s7"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98v0C9.52 4.9 9 5.52 9 6.23V7",key:"zq5xbz"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]]),Dl=ue("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"}]]),aC=ue("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]]),lC=ue("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]),uC=ue("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]),ls=ue("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]]),cC=ue("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]),dC=ue("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]),Ng=ue("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function jg(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;te&&(t=0,r=n,n=new Map)}return{get:function(s){var a=n.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return o(s,a),a},set:function(s,a){n.has(s)?n.set(s,a):o(s,a)}}}var Mg="!";function xC(e){var t=e.separator||":",n=t.length===1,r=t[0],o=t.length;return function(s){for(var a=[],l=0,u=0,c,d=0;du?c-u:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:v,maybePostfixModifierPosition:S}}}function wC(e){if(e.length<=1)return e;var t=[],n=[];return e.forEach(function(r){var o=r[0]==="[";o?(t.push.apply(t,n.sort().concat([r])),n=[]):n.push(r)}),t.push.apply(t,n.sort()),t}function SC(e){return{cache:vC(e.cacheSize),splitModifiers:xC(e),...pC(e)}}var TC=/\s+/;function CC(e,t){var n=t.splitModifiers,r=t.getClassGroupId,o=t.getConflictingClassGroupIds,i=new Set;return e.trim().split(TC).map(function(s){var a=n(s),l=a.modifiers,u=a.hasImportantModifier,c=a.baseClassName,d=a.maybePostfixModifierPosition,f=r(d?c.substring(0,d):c),m=!!d;if(!f){if(!d)return{isTailwindClass:!1,originalClassName:s};if(f=r(c),!f)return{isTailwindClass:!1,originalClassName:s};m=!1}var x=wC(l).join(":"),v=u?x+Mg:x;return{isTailwindClass:!0,modifierId:v,classGroupId:f,originalClassName:s,hasPostfixModifier:m}}).reverse().filter(function(s){if(!s.isTailwindClass)return!0;var a=s.modifierId,l=s.classGroupId,u=s.hasPostfixModifier,c=a+l;return i.has(c)?!1:(i.add(c),o(l,u).forEach(function(d){return i.add(a+d)}),!0)}).reverse().map(function(s){return s.originalClassName}).join(" ")}function EC(){for(var e=arguments.length,t=new Array(e),n=0;n{let n=!1;const r=e.map(o=>{const i=Rf(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o{const{children:i,...s}=r,a=T.Children.toArray(i),l=a.find($C);if(l){const u=l.props.children,c=a.map(d=>d===l?T.Children.count(u)>1?T.Children.only(null):T.isValidElement(u)?u.props.children:null:d);return p.jsx(t,{...s,ref:o,children:T.isValidElement(u)?T.cloneElement(u,void 0,c):null})}return p.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var zC=us("Slot");function BC(e){const t=T.forwardRef((n,r)=>{const{children:o,...i}=n;if(T.isValidElement(o)){const s=WC(o),a=HC(i,o.props);return o.type!==T.Fragment&&(a.ref=r?Og(r,s):s),T.cloneElement(o,a)}return T.Children.count(o)>1?T.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var UC=Symbol("radix.slottable");function $C(e){return T.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===UC}function HC(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function WC(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const Mf=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lf=bg,Vg=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Lf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=Mf(c)||Mf(d);return o[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...m}=c;return Object.entries(m).every(x=>{let[v,S]=x;return Array.isArray(S)?S.includes({...i,...a}[v]):{...i,...a}[v]===S})?[...u,d,f]:u},[]);return Lf(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)},GC=Vg("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Rt=W.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const s=r?zC:"button";return p.jsx(s,{className:De(GC({variant:t,size:n,className:e})),ref:i,...o})});Rt.displayName="Button";const KC=()=>{const[e,t]=T.useState(!1),n=[{name:"Inicio",href:"#inicio"},{name:"Productos",href:"#productos"},{name:"Eventos",href:"#eventos"},{name:"Galería",href:"#galeria"},{name:"Nosotros",href:"#nosotros"},{name:"Contacto",href:"#contacto"}],r=o=>{const i=document.querySelector(o);i&&i.scrollIntoView({behavior:"smooth"}),t(!1)};return p.jsx("nav",{className:"fixed top-0 w-full z-50 glass-effect",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs("div",{className:"flex justify-between items-center h-16",children:[p.jsxs(F.div,{className:"flex items-center space-x-2",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.5},children:[p.jsx(Eg,{className:"h-8 w-8 text-rose-600"}),p.jsx("span",{className:"font-display text-xl font-bold gradient-text",children:"Flores & Decoraciones"})]}),p.jsx("div",{className:"hidden md:block",children:p.jsx("div",{className:"ml-10 flex items-baseline space-x-4",children:n.map((o,i)=>p.jsx(F.button,{onClick:()=>r(o.href),className:"text-gray-700 hover:text-rose-600 px-3 py-2 rounded-md text-sm font-medium transition-colors duration-200",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5,delay:i*.1},whileHover:{scale:1.05},children:o.name},o.name))})}),p.jsx("div",{className:"md:hidden",children:p.jsx(Rt,{variant:"ghost",size:"icon",onClick:()=>t(!e),children:e?p.jsx(Ng,{className:"h-6 w-6"}):p.jsx(oC,{className:"h-6 w-6"})})})]}),e&&p.jsx(F.div,{className:"md:hidden",initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.3},children:p.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3 bg-white/90 backdrop-blur-md rounded-lg mt-2",children:n.map(o=>p.jsx("button",{onClick:()=>r(o.href),className:"text-gray-700 hover:text-rose-600 block px-3 py-2 rounded-md text-base font-medium w-full text-left transition-colors duration-200",children:o.name},o.name))})})]})})},YC=()=>{const e=()=>{const t=document.querySelector("#productos");t&&t.scrollIntoView({behavior:"smooth"})};return p.jsxs("section",{id:"inicio",className:"min-h-screen flex items-center justify-center relative overflow-hidden flower-pattern",children:[p.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[p.jsx(F.div,{className:"absolute -top-40 -right-40 w-80 h-80 bg-gradient-to-br from-rose-300/30 to-pink-300/30 rounded-full blur-3xl",animate:{scale:[1,1.2,1],rotate:[0,180,360]},transition:{duration:20,repeat:1/0,ease:"linear"}}),p.jsx(F.div,{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-gradient-to-br from-purple-300/30 to-rose-300/30 rounded-full blur-3xl",animate:{scale:[1.2,1,1.2],rotate:[360,180,0]},transition:{duration:25,repeat:1/0,ease:"linear"}})]}),p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center relative z-10",children:p.jsxs(F.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"space-y-8",children:[p.jsx(F.div,{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},className:"flex justify-center mb-6",children:p.jsxs("div",{className:"relative",children:[p.jsx(ls,{className:"h-16 w-16 text-rose-500 animate-pulse"}),p.jsx(F.div,{className:"absolute inset-0",animate:{rotate:360},transition:{duration:8,repeat:1/0,ease:"linear"},children:p.jsx(ls,{className:"h-16 w-16 text-pink-400 opacity-50"})})]})}),p.jsxs(F.h1,{className:"font-display text-5xl md:text-7xl font-bold gradient-text leading-tight",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,delay:.3},children:["Bienvenidos a",p.jsx("br",{}),p.jsx("span",{className:"text-6xl md:text-8xl",children:"Flores & Decoraciones"})]}),p.jsx(F.p,{className:"text-xl md:text-2xl text-gray-600 max-w-3xl mx-auto leading-relaxed",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.5},children:"Transformamos tus eventos más especiales con arreglos florales únicos y decoraciones que crean momentos inolvidables"}),p.jsxs(F.div,{className:"flex flex-col sm:flex-row gap-4 justify-center items-center pt-8",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},children:[p.jsxs(Rt,{size:"lg",onClick:e,className:"bg-gradient-to-r from-rose-500 to-pink-500 hover:from-rose-600 hover:to-pink-600 text-white px-8 py-4 text-lg font-semibold rounded-full shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:["Ver Productos",p.jsx(kf,{className:"ml-2 h-5 w-5"})]}),p.jsx(Rt,{variant:"outline",size:"lg",onClick:()=>document.querySelector("#contacto").scrollIntoView({behavior:"smooth"}),className:"border-2 border-rose-500 text-rose-600 hover:bg-rose-50 px-8 py-4 text-lg font-semibold rounded-full transition-all duration-300",children:"Contáctanos"})]})]})}),p.jsx(F.div,{className:"absolute bottom-8 left-1/2 transform -translate-x-1/2",animate:{y:[0,10,0]},transition:{duration:2,repeat:1/0},children:p.jsx(kf,{className:"h-6 w-6 text-rose-500"})})]})},Sr=W.forwardRef(({className:e,...t},n)=>p.jsx("div",{ref:n,className:De("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Sr.displayName="Card";const jo=W.forwardRef(({className:e,...t},n)=>p.jsx("div",{ref:n,className:De("flex flex-col space-y-1.5 p-6",e),...t}));jo.displayName="CardHeader";const bo=W.forwardRef(({className:e,...t},n)=>p.jsx("h3",{ref:n,className:De("text-2xl font-semibold leading-none tracking-tight",e),...t}));bo.displayName="CardTitle";const cs=W.forwardRef(({className:e,...t},n)=>p.jsx("p",{ref:n,className:De("text-sm text-muted-foreground",e),...t}));cs.displayName="CardDescription";const Tr=W.forwardRef(({className:e,...t},n)=>p.jsx("div",{ref:n,className:De("p-6 pt-0",e),...t}));Tr.displayName="CardContent";const QC=W.forwardRef(({className:e,...t},n)=>p.jsx("div",{ref:n,className:De("flex items-center p-6 pt-0",e),...t}));QC.displayName="CardFooter";const XC=1;let Ta=0;function qC(){return Ta=(Ta+1)%Number.MAX_VALUE,Ta.toString()}const be={state:{toasts:[]},listeners:[],getState:()=>be.state,setState:e=>{typeof e=="function"?be.state=e(be.state):be.state={...be.state,...e},be.listeners.forEach(t=>t(be.state))},subscribe:e=>(be.listeners.push(e),()=>{be.listeners=be.listeners.filter(t=>t!==e)})},Ao=({...e})=>{const t=qC(),n=o=>be.setState(i=>({...i,toasts:i.toasts.map(s=>s.id===t?{...s,...o}:s)})),r=()=>be.setState(o=>({...o,toasts:o.toasts.filter(i=>i.id!==t)}));return be.setState(o=>({...o,toasts:[{...e,id:t,dismiss:r},...o.toasts].slice(0,XC)})),{id:t,dismiss:r,update:n}};function ZC(){const[e,t]=T.useState(be.getState());return T.useEffect(()=>be.subscribe(r=>{t(r)}),[]),T.useEffect(()=>{const n=[];return e.toasts.forEach(r=>{if(r.duration===1/0)return;const o=setTimeout(()=>{r.dismiss()},r.duration||5e3);n.push(o)}),()=>{n.forEach(r=>clearTimeout(r))}},[e.toasts]),{toast:Ao,toasts:e.toasts}}const JC=()=>{const e=[{id:1,name:"Ramo Clásico de Rosas",price:"Consultar",description:"Elegante ramo con 12 rosas frescas de alta calidad, ideal para aniversarios y gestos románticos.",image:"Elegant bouquet of 12 fresh red roses with green foliage",category:"Ramos"},{id:2,name:"Centro de Mesa Encanto",price:"Consultar",description:"Arreglo floral con una selección de flores de temporada para realzar la decoración de tu mesa.",image:"Beautiful spring centerpiece with seasonal flowers and greenery",category:"Centros de Mesa"},{id:3,name:"Arreglo de Girasoles Sol",price:"Consultar",description:"Luminoso arreglo de girasoles para aportar calidez y alegría a cualquier ambiente.",image:"Vibrant sunflower arrangement in rustic vase",category:"Arreglos"},{id:4,name:"Ramo de Novia Ensueño",price:"Consultar",description:"Diseño exclusivo para novias con una cuidada selección de flores blancas y detalles refinados.",image:"Elegant white bridal bouquet with roses and eucalyptus",category:"Bodas"},{id:5,name:"Caja Floral Sorpresa",price:"Consultar",description:"Moderna caja con una composición de flores variadas, perfecta como regalo original.",image:"Modern surprise flower box with various colorful flowers",category:"Regalos"},{id:6,name:"Detalle Floral Corporativo",price:"Consultar",description:"Arreglo floral sobrio y elegante, ideal para recepciones de oficinas y eventos de empresa.",image:"Elegant and sober corporate floral arrangement for office reception",category:"Corporativo"}];return p.jsx("section",{id:"productos",className:"py-20 bg-gradient-to-br from-white via-rose-50/30 to-pink-50/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold gradient-text mb-4",children:"Nuestros Arreglos Florales"}),p.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Descubre nuestra selección de arreglos florales diseñados con esmero para cada ocasión."})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>p.jsx(F.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:n*.1},viewport:{once:!0},whileHover:{y:-10},className:"group",children:p.jsxs(Sr,{className:"glass-effect hover:shadow-2xl transition-all duration-300 overflow-hidden border-0 flex flex-col h-full",children:[p.jsxs("div",{className:"relative overflow-hidden",children:[p.jsx("img",{className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-500",alt:`${t.name} - ${t.description}`,src:"https://images.unsplash.com/photo-1635865165118-917ed9e20936"}),p.jsx("div",{className:"absolute top-4 right-4",children:p.jsx(F.button,{whileHover:{scale:1.1},whileTap:{scale:.9},className:"bg-white/80 backdrop-blur-sm p-2 rounded-full shadow-lg hover:bg-white transition-colors duration-200",onClick:()=>Ao({title:"🚧 Esta función no está implementada aún",description:"¡No te preocupes! Puedes solicitarla en tu próximo mensaje 🚀"}),children:p.jsx(No,{className:"h-5 w-5 text-rose-500"})})}),p.jsx("div",{className:"absolute top-4 left-4",children:p.jsx("span",{className:"bg-gradient-to-r from-rose-500 to-pink-500 text-white px-3 py-1 rounded-full text-sm font-semibold",children:t.category})})]}),p.jsxs(jo,{className:"pb-2 flex-grow",children:[p.jsxs("div",{className:"flex justify-between items-start",children:[p.jsx(bo,{className:"text-xl font-display text-gray-800 group-hover:text-rose-600 transition-colors duration-200",children:t.name}),p.jsx("div",{className:"flex items-center space-x-1",children:[...Array(5)].map((r,o)=>p.jsx(cC,{className:"h-4 w-4 fill-yellow-400 text-yellow-400"},o))})]}),p.jsx(cs,{className:"text-gray-600 leading-relaxed",children:t.description})]}),p.jsx(Tr,{className:"pt-0",children:p.jsxs("div",{className:"flex justify-between items-center",children:[p.jsx("span",{className:"text-2xl font-bold gradient-text",children:t.price}),p.jsxs(Rt,{onClick:()=>document.querySelector("#contacto").scrollIntoView({behavior:"smooth"}),className:"bg-gradient-to-r from-rose-500 to-pink-500 hover:from-rose-600 hover:to-pink-600 text-white rounded-full px-6 py-2 font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:[p.jsx(lC,{className:"h-4 w-4 mr-2"}),"Consultar"]})]})})]})},t.id))}),p.jsx(F.div,{className:"mt-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:p.jsxs(Sr,{className:"glass-effect border-0 shadow-lg",children:[p.jsxs(jo,{children:[p.jsx(bo,{className:"font-display text-2xl text-center gradient-text",children:"Métodos de Pago Aceptados"}),p.jsx(cs,{className:"text-center text-gray-600",children:"Te ofrecemos diversas opciones para tu comodidad."})]}),p.jsxs(Tr,{children:[p.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 text-center",children:[p.jsxs("div",{className:"flex flex-col items-center space-y-2",children:[p.jsx(Nf,{className:"h-10 w-10 text-rose-500"}),p.jsx("h3",{className:"font-semibold text-lg text-gray-800",children:"Transferencias"}),p.jsx("p",{className:"text-gray-600",children:"Aceptamos transferencias bancarias nacionales."})]}),p.jsxs("div",{className:"flex flex-col items-center space-y-2",children:[p.jsx(uC,{className:"h-10 w-10 text-pink-500"}),p.jsx("h3",{className:"font-semibold text-lg text-gray-800",children:"Pago Móvil"}),p.jsx("p",{className:"text-gray-600",children:"Realiza tu pago de forma rápida y segura."})]}),p.jsxs("div",{className:"flex flex-col items-center space-y-2",children:[p.jsx(Nf,{className:"h-10 w-10 text-purple-500"}),p.jsx("h3",{className:"font-semibold text-lg text-gray-800",children:"Divisas"}),p.jsx("p",{className:"text-gray-600",children:"Aceptamos pagos en divisas (consultar detalles)."})]})]}),p.jsx("p",{className:"text-center text-gray-600 mt-6 text-sm",children:"Para obtener los datos de pago, por favor contáctanos."})]})]})})]})})},eE=()=>{const e=[{title:"Bodas de Ensueño",icon:tC,description:"Servicio integral de decoración floral para bodas. Creamos ambientes románticos y elegantes que reflejan el estilo de los novios.",features:["Ramo de novia","Decoración de ceremonia","Centros de mesa para recepción","Detalles florales para el cortejo"],image:"Beautiful wedding decoration with elegant floral arrangements and white roses"},{title:"Celebraciones Especiales",icon:sC,description:"Decoración para cumpleaños, aniversarios y otras fiestas. Diseños personalizados para crear una atmósfera festiva e inolvidable.",features:["Decoración de mesa principal","Arcos de globos y flores","Centros de mesa temáticos","Arreglos para áreas de bienvenida"],image:"Festive birthday party decoration with colorful flowers and balloons"},{title:"Eventos Corporativos",icon:JT,description:"Soluciones florales para eventos empresariales, lanzamientos y conferencias. Aportamos un toque de distinción y profesionalismo.",features:["Arreglos para recepciones","Decoración de escenarios","Centros de mesa para reuniones","Detalles florales para invitados"],image:"Professional corporate event setup with stylish floral centerpieces"}];return p.jsx("section",{id:"eventos",className:"py-20 bg-gradient-to-br from-purple-50/30 via-pink-50/30 to-rose-50/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold gradient-text mb-4",children:"Decoración para Eventos"}),p.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Nos especializamos en crear la atmósfera perfecta para cada tipo de celebración."})]}),p.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 items-stretch",children:e.map((t,n)=>p.jsx(F.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:n*.1},viewport:{once:!0},className:"flex",children:p.jsxs(Sr,{className:"glass-effect hover:shadow-2xl transition-all duration-300 overflow-hidden border-0 w-full flex flex-col",children:[p.jsxs(jo,{className:"text-center",children:[p.jsx("div",{className:"mx-auto bg-gradient-to-br from-rose-500 to-pink-500 p-4 rounded-full shadow-lg inline-block mb-4",children:p.jsx(t.icon,{className:"h-8 w-8 text-white"})}),p.jsx(bo,{className:"font-display text-2xl text-gray-800",children:t.title}),p.jsx(cs,{className:"text-gray-600 leading-relaxed px-4",children:t.description})]}),p.jsxs(Tr,{className:"flex flex-col flex-grow justify-between",children:[p.jsx("ul",{className:"space-y-3 mb-8",children:t.features.map((r,o)=>p.jsxs("li",{className:"flex items-center text-gray-700",children:[p.jsx(eC,{className:"h-5 w-5 text-rose-500 mr-3 flex-shrink-0"}),p.jsx("span",{children:r})]},o))}),p.jsx(Rt,{onClick:()=>document.querySelector("#contacto").scrollIntoView({behavior:"smooth"}),className:"w-full mt-auto bg-gradient-to-r from-rose-500 to-pink-500 hover:from-rose-600 hover:to-pink-600 text-white rounded-lg py-3 font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:"Solicitar Cotización"})]})]})},n))})]})})},tE=()=>{const e=[{id:1,title:"Boda Elegante",description:"Decoración completa para ceremonia de boda",image:"Elegant wedding ceremony decoration with white roses and fairy lights"},{id:2,title:"Cumpleaños Infantil",description:"Decoración colorida para fiesta de niños",image:"Colorful children birthday party decoration with balloons and flowers"},{id:3,title:"Evento Corporativo",description:"Arreglos florales para eventos empresariales",image:"Professional corporate event floral arrangements"},{id:4,title:"Aniversario Romántico",description:"Decoración íntima para celebración de aniversario",image:"Romantic anniversary decoration with red roses and candles"},{id:5,title:"Graduación",description:"Arreglos especiales para ceremonia de graduación",image:"Graduation ceremony floral arrangements with congratulatory flowers"},{id:6,title:"Baby Shower",description:"Decoración tierna para celebración de bebé",image:"Sweet baby shower decoration with pastel flowers and balloons"}],t=n=>{Ao({title:"🚧 Esta función no está implementada aún",description:"¡No te preocupes! Puedes solicitarla en tu próximo mensaje 🚀"})};return p.jsx("section",{id:"galeria",className:"py-20 bg-gradient-to-br from-purple-50/30 via-pink-50/30 to-rose-50/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold gradient-text mb-4",children:"Galería de Eventos"}),p.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Explora algunos de nuestros trabajos más destacados y déjate inspirar para tu próximo evento"})]}),p.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map((n,r)=>p.jsx(F.div,{className:"group relative overflow-hidden rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-500",initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},transition:{duration:.6,delay:r*.1},viewport:{once:!0},whileHover:{y:-10},children:p.jsxs("div",{className:"relative overflow-hidden",children:[p.jsx("img",{className:"w-full h-80 object-cover group-hover:scale-110 transition-transform duration-700",alt:`${n.title} - ${n.description}`,src:"https://images.unsplash.com/photo-1595872018818-97555653a011"}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 via-transparent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:p.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 text-white",children:[p.jsx("h3",{className:"text-xl font-display font-semibold mb-2",children:n.title}),p.jsx("p",{className:"text-sm opacity-90 mb-4",children:n.description}),p.jsxs("div",{className:"flex space-x-3",children:[p.jsx(F.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>t(n.title),className:"bg-white/20 backdrop-blur-sm p-2 rounded-full hover:bg-white/30 transition-colors duration-200",children:p.jsx(rC,{className:"h-5 w-5"})}),p.jsx(F.button,{whileHover:{scale:1.1},whileTap:{scale:.9},onClick:()=>Ao({title:"🚧 Esta función no está implementada aún",description:"¡No te preocupes! Puedes solicitarla en tu próximo mensaje 🚀"}),className:"bg-white/20 backdrop-blur-sm p-2 rounded-full hover:bg-white/30 transition-colors duration-200",children:p.jsx(No,{className:"h-5 w-5"})})]})]})})]})},n.id))}),p.jsxs(F.div,{className:"text-center mt-12",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.3},viewport:{once:!0},children:[p.jsx("p",{className:"text-lg text-gray-600 mb-6",children:"¿Te gustó lo que viste? ¡Contáctanos para crear algo único para ti!"}),p.jsx(F.button,{onClick:()=>document.querySelector("#contacto").scrollIntoView({behavior:"smooth"}),className:"bg-gradient-to-r from-rose-500 to-pink-500 hover:from-rose-600 hover:to-pink-600 text-white px-8 py-3 rounded-full font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",whileHover:{scale:1.05},whileTap:{scale:.95},children:"Solicitar Cotización"})]})]})})},nE=()=>{const e=[{icon:No,title:"Pasión por las Flores",description:"Cada arreglo es creado con esmero y dedicación, seleccionando flores frescas de alta calidad."},{icon:ZT,title:"Calidad y Experiencia",description:"Con más de 10 años en el sector, ofrecemos composiciones florales de excelente nivel."},{icon:dC,title:"Atención Personalizada",description:"Colaboramos contigo para entender tus ideas y crear la decoración que deseas."},{icon:ls,title:"Creatividad y Diseño",description:"Nuestros diseños son únicos y se adaptan al estilo y la temática de cada ocasión especial."}];return p.jsx("section",{id:"nosotros",className:"py-20 bg-gradient-to-br from-white via-purple-50/20 to-rose-50/20",children:p.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[p.jsxs(F.div,{className:"relative",initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsxs("div",{className:"relative overflow-hidden rounded-3xl shadow-2xl",children:[p.jsx("img",{className:"w-full h-96 object-cover",alt:"Florista profesional creando hermosos arreglos florales en Valencia",src:"https://images.unsplash.com/photo-1531058240690-006c446962d8"}),p.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-rose-900/20 to-transparent"})]}),p.jsx(F.div,{className:"absolute -top-6 -right-6 bg-gradient-to-br from-rose-400 to-pink-500 p-4 rounded-2xl shadow-lg",animate:{y:[0,-10,0]},transition:{duration:3,repeat:1/0},children:p.jsx(No,{className:"h-8 w-8 text-white"})}),p.jsx(F.div,{className:"absolute -bottom-6 -left-6 bg-gradient-to-br from-purple-400 to-rose-500 p-4 rounded-2xl shadow-lg",animate:{y:[0,10,0]},transition:{duration:4,repeat:1/0},children:p.jsx(ls,{className:"h-8 w-8 text-white"})})]}),p.jsxs(F.div,{className:"space-y-8",initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsxs("div",{children:[p.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold gradient-text mb-6",children:"Sobre Nosotros"}),p.jsxs("p",{className:"text-lg text-gray-600 leading-relaxed mb-6",children:["Somos una empresa familiar en ",p.jsx("strong",{children:"Valencia, Carabobo"}),", dedicada al arte floral y la decoración de eventos. Con más de una década de trayectoria, hemos tenido el privilegio de embellecer los momentos más importantes de nuestros clientes."]}),p.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:"Nuestra misión es transformar cada celebración en una experiencia memorable, utilizando flores frescas y diseños creativos para construir ambientes que reflejen la esencia de cada ocasión."})]}),p.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:e.map((t,n)=>p.jsx(F.div,{className:"glass-effect p-6 rounded-2xl hover:shadow-lg transition-all duration-300",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:n*.1},viewport:{once:!0},whileHover:{y:-5},children:p.jsxs("div",{className:"flex items-start space-x-4",children:[p.jsx("div",{className:"bg-gradient-to-br from-rose-500 to-pink-500 p-3 rounded-xl shadow-lg",children:p.jsx(t.icon,{className:"h-6 w-6 text-white"})}),p.jsxs("div",{children:[p.jsx("h3",{className:"font-semibold text-gray-800 mb-2",children:t.title}),p.jsx("p",{className:"text-sm text-gray-600 leading-relaxed",children:t.description})]})]})},n))}),p.jsxs(F.div,{className:"grid grid-cols-3 gap-6 pt-8",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:[p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"text-3xl font-bold gradient-text",children:"500+"}),p.jsx("div",{className:"text-sm text-gray-600",children:"Eventos Realizados"})]}),p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"text-3xl font-bold gradient-text",children:"10+"}),p.jsx("div",{className:"text-sm text-gray-600",children:"Años de Trayectoria"})]}),p.jsxs("div",{className:"text-center",children:[p.jsx("div",{className:"text-3xl font-bold gradient-text",children:"98%"}),p.jsx("div",{className:"text-sm text-gray-600",children:"Clientes Satisfechos"})]})]})]})]})})})},ji=W.forwardRef(({className:e,type:t,...n},r)=>p.jsx("input",{type:t,className:De("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}));ji.displayName="Input";const Ig=W.forwardRef(({className:e,...t},n)=>p.jsx("textarea",{className:De("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Ig.displayName="Textarea";const rE=()=>{const[e,t]=T.useState({name:"",email:"",phone:"",message:""}),n=i=>{const{name:s,value:a}=i.target;t(l=>({...l,[s]:a}))},r=i=>{i.preventDefault(),Ao({title:"🚧 Esta función no está implementada aún",description:"¡No te preocupes! Puedes solicitarla en tu próximo mensaje 🚀"})},o=[{icon:Dl,title:"Teléfono",info:"0414-563-8574",description:"Llámanos para consultas directas."},{icon:Pg,title:"Email",info:"floresdecoraciones001@yahoo.com",description:"Envíanos tus requerimientos por correo."},{icon:kg,title:"Ubicación",info:"Valencia, Edo. Carabobo",description:"Ofrecemos nuestros servicios en la región."},{icon:nC,title:"Horarios",info:"Lun - Sáb: 8:00 AM - 6:00 PM",description:"Atendemos con cita previa."}];return p.jsx("section",{id:"contacto",className:"py-20 bg-gradient-to-br from-rose-50/30 via-pink-50/30 to-purple-50/30",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs(F.div,{className:"text-center mb-16",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold gradient-text mb-4",children:"Contáctanos"}),p.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"¿Tienes un evento en mente? Estamos aquí para ayudarte a materializar tus ideas."})]}),p.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[p.jsxs(F.div,{className:"space-y-8",initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsxs("div",{children:[p.jsx("h3",{className:"font-display text-2xl font-semibold text-gray-800 mb-6",children:"Información de Contacto"}),p.jsx("p",{className:"text-gray-600 mb-8 leading-relaxed",children:"Nos encantaría conocer los detalles de tu próximo evento. Contáctanos a través de cualquiera de estos medios y te responderemos a la brevedad."})]}),p.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:o.map((i,s)=>p.jsx(F.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:s*.1},viewport:{once:!0},whileHover:{y:-5},children:p.jsx(Sr,{className:"glass-effect hover:shadow-lg transition-all duration-300 border-0",children:p.jsx(Tr,{className:"p-6",children:p.jsxs("div",{className:"flex items-start space-x-4",children:[p.jsx("div",{className:"bg-gradient-to-br from-rose-500 to-pink-500 p-3 rounded-xl shadow-lg",children:p.jsx(i.icon,{className:"h-6 w-6 text-white"})}),p.jsxs("div",{className:"flex-1",children:[p.jsx("h4",{className:"font-semibold text-gray-800 mb-1",children:i.title}),p.jsx("p",{className:"text-rose-600 font-medium mb-1",children:i.info}),p.jsx("p",{className:"text-sm text-gray-600",children:i.description})]})]})})})},s))}),p.jsxs(F.div,{className:"space-y-4",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:[p.jsx("h4",{className:"font-display text-xl font-semibold text-gray-800 mb-4",children:"Contacto Rápido"}),p.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[p.jsxs(Rt,{onClick:()=>window.open("tel:0414-563-8574","_self"),className:"bg-gradient-to-r from-green-500 to-green-600 hover:from-green-600 hover:to-green-700 text-white rounded-full px-6 py-3 font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:[p.jsx(Dl,{className:"h-4 w-4 mr-2"}),"Llamar Ahora"]}),p.jsxs(Rt,{onClick:()=>window.open("https://wa.me/584145638574","_blank"),className:"bg-gradient-to-r from-green-400 to-green-500 hover:from-green-500 hover:to-green-600 text-white rounded-full px-6 py-3 font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:[p.jsx(iC,{className:"h-4 w-4 mr-2"}),"WhatsApp"]})]})]})]}),p.jsx(F.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},children:p.jsxs(Sr,{className:"glass-effect border-0 shadow-2xl",children:[p.jsx(jo,{children:p.jsx(bo,{className:"font-display text-2xl gradient-text",children:"Envíanos un Mensaje"})}),p.jsx(Tr,{children:p.jsxs("form",{onSubmit:r,className:"space-y-6",children:[p.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Nombre *"}),p.jsx(ji,{type:"text",name:"name",value:e.name,onChange:n,placeholder:"Tu nombre completo",required:!0,className:"rounded-lg border-gray-200 focus:border-rose-500 focus:ring-rose-500"})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Teléfono"}),p.jsx(ji,{type:"tel",name:"phone",value:e.phone,onChange:n,placeholder:"Tu número de teléfono",className:"rounded-lg border-gray-200 focus:border-rose-500 focus:ring-rose-500"})]})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Email *"}),p.jsx(ji,{type:"email",name:"email",value:e.email,onChange:n,placeholder:"tu@email.com",required:!0,className:"rounded-lg border-gray-200 focus:border-rose-500 focus:ring-rose-500"})]}),p.jsxs("div",{children:[p.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Mensaje *"}),p.jsx(Ig,{name:"message",value:e.message,onChange:n,placeholder:"Cuéntanos sobre tu evento y cómo podemos ayudarte...",rows:5,required:!0,className:"rounded-lg border-gray-200 focus:border-rose-500 focus:ring-rose-500"})]}),p.jsxs(Rt,{type:"submit",className:"w-full bg-gradient-to-r from-rose-500 to-pink-500 hover:from-rose-600 hover:to-pink-600 text-white rounded-lg py-3 font-semibold shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300",children:[p.jsx(aC,{className:"h-4 w-4 mr-2"}),"Enviar Mensaje"]})]})})]})})]})]})})},oE=()=>p.jsx("footer",{className:"bg-gradient-to-br from-gray-900 via-rose-900/20 to-purple-900/20 text-white py-16",children:p.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[p.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[p.jsxs(F.div,{className:"space-y-4",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8},viewport:{once:!0},children:[p.jsxs("div",{className:"flex items-center space-x-2",children:[p.jsx(Eg,{className:"h-8 w-8 text-rose-400"}),p.jsx("span",{className:"font-display text-xl font-bold bg-gradient-to-r from-rose-400 to-pink-400 bg-clip-text text-transparent",children:"Flores & Decoraciones"})]}),p.jsx("p",{className:"text-gray-300 leading-relaxed",children:"Transformamos tus momentos especiales con arreglos florales únicos y decoraciones que crean recuerdos inolvidables."}),p.jsxs("div",{className:"flex items-center space-x-2 text-rose-400",children:[p.jsx(No,{className:"h-4 w-4"}),p.jsx("span",{className:"text-sm",children:"Hecho con amor desde Valencia"})]})]}),p.jsxs(F.div,{className:"space-y-4",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.1},viewport:{once:!0},children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-white",children:"Nuestros Servicios"}),p.jsxs("ul",{className:"space-y-2 text-gray-300",children:[p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Arreglos Florales"}),p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Decoración de Bodas"}),p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Eventos Corporativos"}),p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Fiestas Infantiles"}),p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Centros de Mesa"}),p.jsx("li",{className:"hover:text-rose-400 transition-colors duration-200 cursor-pointer",children:"Ramos de Novia"})]})]}),p.jsxs(F.div,{className:"space-y-4",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.2},viewport:{once:!0},children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-white",children:"Enlaces Rápidos"}),p.jsxs("ul",{className:"space-y-2 text-gray-300",children:[p.jsx("li",{children:p.jsx("button",{onClick:()=>document.querySelector("#inicio").scrollIntoView({behavior:"smooth"}),className:"hover:text-rose-400 transition-colors duration-200",children:"Inicio"})}),p.jsx("li",{children:p.jsx("button",{onClick:()=>document.querySelector("#productos").scrollIntoView({behavior:"smooth"}),className:"hover:text-rose-400 transition-colors duration-200",children:"Productos"})}),p.jsx("li",{children:p.jsx("button",{onClick:()=>document.querySelector("#eventos").scrollIntoView({behavior:"smooth"}),className:"hover:text-rose-400 transition-colors duration-200",children:"Eventos"})}),p.jsx("li",{children:p.jsx("button",{onClick:()=>document.querySelector("#nosotros").scrollIntoView({behavior:"smooth"}),className:"hover:text-rose-400 transition-colors duration-200",children:"Nosotros"})}),p.jsx("li",{children:p.jsx("button",{onClick:()=>document.querySelector("#contacto").scrollIntoView({behavior:"smooth"}),className:"hover:text-rose-400 transition-colors duration-200",children:"Contacto"})})]})]}),p.jsxs(F.div,{className:"space-y-4",initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.3},viewport:{once:!0},children:[p.jsx("h3",{className:"font-display text-lg font-semibold text-white",children:"Contacto"}),p.jsxs("div",{className:"space-y-3",children:[p.jsxs("div",{className:"flex items-center space-x-3 text-gray-300",children:[p.jsx(Dl,{className:"h-4 w-4 text-rose-400"}),p.jsx("span",{children:"0414-563-8574"})]}),p.jsxs("div",{className:"flex items-center space-x-3 text-gray-300",children:[p.jsx(Pg,{className:"h-4 w-4 text-rose-400"}),p.jsx("span",{className:"text-sm",children:"floresdecoraciones001@yahoo.com"})]}),p.jsxs("div",{className:"flex items-center space-x-3 text-gray-300",children:[p.jsx(kg,{className:"h-4 w-4 text-rose-400"}),p.jsx("span",{children:"Valencia, Edo. Carabobo, Venezuela"})]})]})]})]}),p.jsxs(F.div,{className:"border-t border-gray-700 mt-12 pt-8 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.4},viewport:{once:!0},children:[p.jsx("p",{className:"text-gray-400 text-sm",children:"© 2024 Flores & Decoraciones. Todos los derechos reservados."}),p.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"Creando momentos mágicos con flores desde el corazón"})]})]})});function We(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function _g(e,t=[]){let n=[];function r(i,s){const a=T.createContext(s),l=n.length;n=[...n,s];const u=d=>{var y;const{scope:f,children:m,...x}=d,v=((y=f==null?void 0:f[e])==null?void 0:y[l])||a,S=T.useMemo(()=>x,Object.values(x));return p.jsx(v.Provider,{value:S,children:m})};u.displayName=i+"Provider";function c(d,f){var v;const m=((v=f==null?void 0:f[e])==null?void 0:v[l])||a,x=T.useContext(m);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>T.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return T.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,iE(o,...t)]}function iE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return T.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function sE(e){const t=e+"CollectionProvider",[n,r]=_g(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:S,children:y}=v,h=W.useRef(null),g=W.useRef(new Map).current;return p.jsx(o,{scope:S,itemMap:g,collectionRef:h,children:y})};s.displayName=t;const a=e+"CollectionSlot",l=us(a),u=W.forwardRef((v,S)=>{const{scope:y,children:h}=v,g=i(a,y),w=Ln(S,g.collectionRef);return p.jsx(l,{ref:w,children:h})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=us(c),m=W.forwardRef((v,S)=>{const{scope:y,children:h,...g}=v,w=W.useRef(null),C=Ln(S,w),P=i(c,y);return W.useEffect(()=>(P.itemMap.set(w,{ref:w,...g}),()=>void P.itemMap.delete(w))),p.jsx(f,{[d]:"",ref:C,children:h})});m.displayName=c;function x(v){const S=i(e+"CollectionConsumer",v);return W.useCallback(()=>{const h=S.collectionRef.current;if(!h)return[];const g=Array.from(h.querySelectorAll(`[${d}]`));return Array.from(S.itemMap.values()).sort((P,E)=>g.indexOf(P.ref.current)-g.indexOf(E.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:s,Slot:u,ItemSlot:m},x,r]}var aE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],St=aE.reduce((e,t)=>{const n=us(`Primitive.${t}`),r=T.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fg(e,t){e&&Ns.flushSync(()=>e.dispatchEvent(t))}function Dn(e){const t=T.useRef(e);return T.useEffect(()=>{t.current=e}),T.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function lE(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e);T.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var uE="DismissableLayer",Il="dismissableLayer.update",cE="dismissableLayer.pointerDownOutside",dE="dismissableLayer.focusOutside",Df,zg=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bg=T.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=T.useContext(zg),[c,d]=T.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,m]=T.useState({}),x=Ln(t,E=>d(E)),v=Array.from(u.layers),[S]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(S),h=c?v.indexOf(c):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,w=h>=y,C=pE(E=>{const k=E.target,M=[...u.branches].some(L=>L.contains(k));!w||M||(o==null||o(E),s==null||s(E),E.defaultPrevented||a==null||a())},f),P=hE(E=>{const k=E.target;[...u.branches].some(L=>L.contains(k))||(i==null||i(E),s==null||s(E),E.defaultPrevented||a==null||a())},f);return lE(E=>{h===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&a&&(E.preventDefault(),a()))},f),T.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Df=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Of(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Df)}},[c,f,n,u]),T.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Of())},[c,u]),T.useEffect(()=>{const E=()=>m({});return document.addEventListener(Il,E),()=>document.removeEventListener(Il,E)},[]),p.jsx(St.div,{...l,ref:x,style:{pointerEvents:g?w?"auto":"none":void 0,...e.style},onFocusCapture:We(e.onFocusCapture,P.onFocusCapture),onBlurCapture:We(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:We(e.onPointerDownCapture,C.onPointerDownCapture)})});Bg.displayName=uE;var fE="DismissableLayerBranch",Ug=T.forwardRef((e,t)=>{const n=T.useContext(zg),r=T.useRef(null),o=Ln(t,r);return T.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(St.div,{...e,ref:o})});Ug.displayName=fE;function pE(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),r=T.useRef(!1),o=T.useRef(()=>{});return T.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){$g(cE,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function hE(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),r=T.useRef(!1);return T.useEffect(()=>{const o=i=>{i.target&&!r.current&&$g(dE,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Of(){const e=new CustomEvent(Il);document.dispatchEvent(e)}function $g(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Fg(o,i):o.dispatchEvent(i)}var mE=Bg,gE=Ug,Ro=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},yE="Portal",Hg=T.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=T.useState(!1);Ro(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?H0.createPortal(p.jsx(St.div,{...r,ref:t}),s):null});Hg.displayName=yE;function vE(e,t){return T.useReducer((n,r)=>t[n][r]??n,e)}var Wg=e=>{const{present:t,children:n}=e,r=xE(t),o=typeof n=="function"?n({present:r.isPresent}):T.Children.only(n),i=Ln(r.ref,wE(o));return typeof n=="function"||r.isPresent?T.cloneElement(o,{ref:i}):null};Wg.displayName="Presence";function xE(e){const[t,n]=T.useState(),r=T.useRef(null),o=T.useRef(e),i=T.useRef("none"),s=e?"mounted":"unmounted",[a,l]=vE(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const u=di(r.current);i.current=a==="mounted"?u:"none"},[a]),Ro(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,m=di(u);e?l("MOUNT"):m==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ro(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=m=>{const v=di(r.current).includes(m.animationName);if(m.target===t&&v&&(l("ANIMATION_END"),!o.current)){const S=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=S)})}},f=m=>{m.target===t&&(i.current=di(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:T.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function di(e){return(e==null?void 0:e.animationName)||"none"}function wE(e){var r,o;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=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var SE=Ly[" useInsertionEffect ".trim().toString()]||Ro;function TE({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=CE({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=T.useRef(e!==void 0);T.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=T.useCallback(c=>{var d;if(a){const f=EE(c)?c(e):c;f!==e&&((d=s.current)==null||d.call(s,f))}else i(c)},[a,e,i,s]);return[l,u]}function CE({defaultProp:e,onChange:t}){const[n,r]=T.useState(e),o=T.useRef(n),i=T.useRef(t);return SE(()=>{i.current=t},[t]),T.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function EE(e){return typeof e=="function"}var PE=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"}),kE="VisuallyHidden",rc=T.forwardRef((e,t)=>p.jsx(St.span,{...e,ref:t,style:{...PE,...e.style}}));rc.displayName=kE;var oc="ToastProvider",[ic,NE,jE]=sE("Toast"),[Gg,ZE]=_g("Toast",[jE]),[bE,Os]=Gg(oc),Kg=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=T.useState(null),[u,c]=T.useState(0),d=T.useRef(!1),f=T.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${oc}\`. Expected non-empty \`string\`.`),p.jsx(ic.Provider,{scope:t,children:p.jsx(bE,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:T.useCallback(()=>c(m=>m+1),[]),onToastRemove:T.useCallback(()=>c(m=>m-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};Kg.displayName=oc;var Yg="ToastViewport",AE=["F8"],_l="toast.viewportPause",Fl="toast.viewportResume",Qg=T.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=AE,label:o="Notifications ({hotkey})",...i}=e,s=Os(Yg,n),a=NE(n),l=T.useRef(null),u=T.useRef(null),c=T.useRef(null),d=T.useRef(null),f=Ln(t,d,s.onViewportChange),m=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;T.useEffect(()=>{const S=y=>{var g;r.length!==0&&r.every(w=>y[w]||y.code===w)&&((g=d.current)==null||g.focus())};return document.addEventListener("keydown",S),()=>document.removeEventListener("keydown",S)},[r]),T.useEffect(()=>{const S=l.current,y=d.current;if(x&&S&&y){const h=()=>{if(!s.isClosePausedRef.current){const P=new CustomEvent(_l);y.dispatchEvent(P),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const P=new CustomEvent(Fl);y.dispatchEvent(P),s.isClosePausedRef.current=!1}},w=P=>{!S.contains(P.relatedTarget)&&g()},C=()=>{S.contains(document.activeElement)||g()};return S.addEventListener("focusin",h),S.addEventListener("focusout",w),S.addEventListener("pointermove",h),S.addEventListener("pointerleave",C),window.addEventListener("blur",h),window.addEventListener("focus",g),()=>{S.removeEventListener("focusin",h),S.removeEventListener("focusout",w),S.removeEventListener("pointermove",h),S.removeEventListener("pointerleave",C),window.removeEventListener("blur",h),window.removeEventListener("focus",g)}}},[x,s.isClosePausedRef]);const v=T.useCallback(({tabbingDirection:S})=>{const h=a().map(g=>{const w=g.ref.current,C=[w,...$E(w)];return S==="forwards"?C:C.reverse()});return(S==="forwards"?h.reverse():h).flat()},[a]);return T.useEffect(()=>{const S=d.current;if(S){const y=h=>{var C,P,E;const g=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!g){const k=document.activeElement,M=h.shiftKey;if(h.target===S&&M){(C=u.current)==null||C.focus();return}const O=v({tabbingDirection:M?"backwards":"forwards"}),oe=O.findIndex(A=>A===k);Ca(O.slice(oe+1))?h.preventDefault():M?(P=u.current)==null||P.focus():(E=c.current)==null||E.focus()}};return S.addEventListener("keydown",y),()=>S.removeEventListener("keydown",y)}},[a,v]),p.jsxs(gE,{ref:l,role:"region","aria-label":o.replace("{hotkey}",m),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&p.jsx(zl,{ref:u,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"forwards"});Ca(S)}}),p.jsx(ic.Slot,{scope:n,children:p.jsx(St.ol,{tabIndex:-1,...i,ref:f})}),x&&p.jsx(zl,{ref:c,onFocusFromOutsideViewport:()=>{const S=v({tabbingDirection:"backwards"});Ca(S)}})]})});Qg.displayName=Yg;var Xg="ToastFocusProxy",zl=T.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Os(Xg,n);return p.jsx(rc,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});zl.displayName=Xg;var Bo="Toast",RE="toast.swipeStart",ME="toast.swipeMove",LE="toast.swipeCancel",DE="toast.swipeEnd",qg=T.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=TE({prop:r,defaultProp:o??!0,onChange:i,caller:Bo});return p.jsx(Wg,{present:n||a,children:p.jsx(IE,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Dn(e.onPause),onResume:Dn(e.onResume),onSwipeStart:We(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:We(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:We(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:We(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)})})})});qg.displayName=Bo;var[OE,VE]=Gg(Bo,{onClose(){}}),IE=T.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:m,...x}=e,v=Os(Bo,n),[S,y]=T.useState(null),h=Ln(t,A=>y(A)),g=T.useRef(null),w=T.useRef(null),C=o||v.duration,P=T.useRef(0),E=T.useRef(C),k=T.useRef(0),{onToastAdd:M,onToastRemove:L}=v,G=Dn(()=>{var ee;(S==null?void 0:S.contains(document.activeElement))&&((ee=v.viewport)==null||ee.focus()),s()}),O=T.useCallback(A=>{!A||A===1/0||(window.clearTimeout(k.current),P.current=new Date().getTime(),k.current=window.setTimeout(G,A))},[G]);T.useEffect(()=>{const A=v.viewport;if(A){const ee=()=>{O(E.current),u==null||u()},U=()=>{const fe=new Date().getTime()-P.current;E.current=E.current-fe,window.clearTimeout(k.current),l==null||l()};return A.addEventListener(_l,U),A.addEventListener(Fl,ee),()=>{A.removeEventListener(_l,U),A.removeEventListener(Fl,ee)}}},[v.viewport,C,l,u,O]),T.useEffect(()=>{i&&!v.isClosePausedRef.current&&O(C)},[i,C,v.isClosePausedRef,O]),T.useEffect(()=>(M(),()=>L()),[M,L]);const oe=T.useMemo(()=>S?oy(S):null,[S]);return v.viewport?p.jsxs(p.Fragment,{children:[oe&&p.jsx(_E,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:oe}),p.jsx(OE,{scope:n,onClose:G,children:Ns.createPortal(p.jsx(ic.ItemSlot,{scope:n,children:p.jsx(mE,{asChild:!0,onEscapeKeyDown:We(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||G(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:p.jsx(St.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:We(e.onKeyDown,A=>{A.key==="Escape"&&(a==null||a(A.nativeEvent),A.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,G()))}),onPointerDown:We(e.onPointerDown,A=>{A.button===0&&(g.current={x:A.clientX,y:A.clientY})}),onPointerMove:We(e.onPointerMove,A=>{if(!g.current)return;const ee=A.clientX-g.current.x,U=A.clientY-g.current.y,fe=!!w.current,j=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,I=j?R(0,ee):0,D=j?0:R(0,U),$=A.pointerType==="touch"?10:2,Y={x:I,y:D},Ue={originalEvent:A,delta:Y};fe?(w.current=Y,fi(ME,d,Ue,{discrete:!1})):Vf(Y,v.swipeDirection,$)?(w.current=Y,fi(RE,c,Ue,{discrete:!1}),A.target.setPointerCapture(A.pointerId)):(Math.abs(ee)>$||Math.abs(U)>$)&&(g.current=null)}),onPointerUp:We(e.onPointerUp,A=>{const ee=w.current,U=A.target;if(U.hasPointerCapture(A.pointerId)&&U.releasePointerCapture(A.pointerId),w.current=null,g.current=null,ee){const fe=A.currentTarget,j={originalEvent:A,delta:ee};Vf(ee,v.swipeDirection,v.swipeThreshold)?fi(DE,m,j,{discrete:!0}):fi(LE,f,j,{discrete:!0}),fe.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),_E=e=>{const{__scopeToast:t,children:n,...r}=e,o=Os(Bo,t),[i,s]=T.useState(!1),[a,l]=T.useState(!1);return BE(()=>s(!0)),T.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:p.jsx(Hg,{asChild:!0,children:p.jsx(rc,{...r,children:i&&p.jsxs(p.Fragment,{children:[o.label," ",n]})})})},FE="ToastTitle",Zg=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(St.div,{...r,ref:t})});Zg.displayName=FE;var zE="ToastDescription",Jg=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return p.jsx(St.div,{...r,ref:t})});Jg.displayName=zE;var ey="ToastAction",ty=T.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?p.jsx(ry,{altText:n,asChild:!0,children:p.jsx(sc,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${ey}\`. Expected non-empty \`string\`.`),null)});ty.displayName=ey;var ny="ToastClose",sc=T.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=VE(ny,n);return p.jsx(ry,{asChild:!0,children:p.jsx(St.button,{type:"button",...r,ref:t,onClick:We(e.onClick,o.onClose)})})});sc.displayName=ny;var ry=T.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return p.jsx(St.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function oy(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),UE(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...oy(r))}}),t}function fi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Fg(o,i):o.dispatchEvent(i)}var Vf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function BE(e=()=>{}){const t=Dn(e);Ro(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function UE(e){return e.nodeType===e.ELEMENT_NODE}function $E(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ca(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var HE=Kg,iy=Qg,sy=qg,ay=Zg,ly=Jg,uy=ty,cy=sc;const WE=HE,dy=W.forwardRef(({className:e,...t},n)=>p.jsx(iy,{ref:n,className:De("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}));dy.displayName=iy.displayName;const GE=Vg("data-[swipe=move]:transition-none group relative pointer-events-auto 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=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background border",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),fy=W.forwardRef(({className:e,variant:t,...n},r)=>p.jsx(sy,{ref:r,className:De(GE({variant:t}),e),...n}));fy.displayName=sy.displayName;const KE=W.forwardRef(({className:e,...t},n)=>p.jsx(uy,{ref:n,className:De("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 hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-destructive/30 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));KE.displayName=uy.displayName;const py=W.forwardRef(({className:e,...t},n)=>p.jsx(cy,{ref:n,className:De("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:p.jsx(Ng,{className:"h-4 w-4"})}));py.displayName=cy.displayName;const hy=W.forwardRef(({className:e,...t},n)=>p.jsx(ay,{ref:n,className:De("text-sm font-semibold",e),...t}));hy.displayName=ay.displayName;const my=W.forwardRef(({className:e,...t},n)=>p.jsx(ly,{ref:n,className:De("text-sm opacity-90",e),...t}));my.displayName=ly.displayName;function YE(){const{toasts:e}=ZC();return p.jsxs(WE,{children:[e.map(({id:t,title:n,description:r,action:o,...i})=>p.jsxs(fy,{...i,children:[p.jsxs("div",{className:"grid gap-1",children:[n&&p.jsx(hy,{children:n}),r&&p.jsx(my,{children:r})]}),o,p.jsx(py,{})]},t)),p.jsx(dy,{})]})}function QE(){return p.jsxs("div",{className:"min-h-screen",children:[p.jsxs(wl,{children:[p.jsx("title",{children:"Flores & Decoraciones - Arreglos Florales en Valencia, Carabobo"}),p.jsx("meta",{name:"description",content:"Empresa especializada en arreglos florales y decoración de eventos en Valencia, Carabobo. Bodas, cumpleaños, eventos corporativos y más. Contacto: 0414-563-8574 | floresdecoraciones001@yahoo.com"}),p.jsx("meta",{name:"keywords",content:"flores, decoraciones, eventos, bodas, arreglos florales, Valencia, Carabobo, Venezuela, cumpleaños, centros de mesa"}),p.jsx("meta",{property:"og:title",content:"Flores & Decoraciones - Arreglos Florales y Decoración de Eventos en Valencia"}),p.jsx("meta",{property:"og:description",content:"Transformamos tus eventos más especiales con arreglos florales únicos y decoraciones que crean momentos inolvidables en Valencia, Carabobo."}),p.jsx("meta",{property:"og:type",content:"website"})]}),p.jsx(KC,{}),p.jsx(YC,{}),p.jsx(JC,{}),p.jsx(eE,{}),p.jsx(tE,{}),p.jsx(nE,{}),p.jsx(rE,{}),p.jsx(oE,{}),p.jsx(YE,{})]})}Ea.createRoot(document.getElementById("root")).render(p.jsx(W.StrictMode,{children:p.jsx(QE,{})}));