var qu=e=>{throw TypeError(e)};var Pi=(e,t,n)=>t.has(e)||qu("Cannot "+n);var E=(e,t,n)=>(Pi(e,t,"read from private field"),n?n.call(e):t.get(e)),Z=(e,t,n)=>t.has(e)?qu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),U=(e,t,n,r)=>(Pi(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Re=(e,t,n)=>(Pi(e,t,"access private method"),n);var Ls=(e,t,n,r)=>({set _(o){U(e,t,o,n)},get _(){return E(e,t,r)}});function cv(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 s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Yf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xf={exports:{}},Ka={},Zf={exports:{}},G={};/** * @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 ws=Symbol.for("react.element"),uv=Symbol.for("react.portal"),dv=Symbol.for("react.fragment"),fv=Symbol.for("react.strict_mode"),pv=Symbol.for("react.profiler"),mv=Symbol.for("react.provider"),hv=Symbol.for("react.context"),gv=Symbol.for("react.forward_ref"),vv=Symbol.for("react.suspense"),xv=Symbol.for("react.memo"),yv=Symbol.for("react.lazy"),Hu=Symbol.iterator;function wv(e){return e===null||typeof e!="object"?null:(e=Hu&&e[Hu]||e["@@iterator"],typeof e=="function"?e:null)}var Jf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ep=Object.assign,tp={};function mo(e,t,n){this.props=e,this.context=t,this.refs=tp,this.updater=n||Jf}mo.prototype.isReactComponent={};mo.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")};mo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function np(){}np.prototype=mo.prototype;function Sc(e,t,n){this.props=e,this.context=t,this.refs=tp,this.updater=n||Jf}var jc=Sc.prototype=new np;jc.constructor=Sc;ep(jc,mo.prototype);jc.isPureReactComponent=!0;var Qu=Array.isArray,rp=Object.prototype.hasOwnProperty,Nc={current:null},op={key:!0,ref:!0,__self:!0,__source:!0};function sp(e,t,n){var r,o={},s=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(s=""+t.key),t)rp.call(t,r)&&!op.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,z=k[V];if(0>>1;Vo(ge,M))Aeo(J,ge)?(k[V]=J,k[Ae]=M,V=Ae):(k[V]=ge,k[Y]=M,V=Y);else if(Aeo(J,M))k[V]=J,k[Ae]=M,V=Ae;else break e}}return P}function o(k,P){var M=k.sortIndex-P.sortIndex;return M!==0?M:k.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],d=1,f=null,h=3,p=!1,b=!1,x=!1,w=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(k){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=k)r(u),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(u)}}function S(k){if(x=!1,v(k),!b)if(n(c)!==null)b=!0,$(j);else{var P=n(u);P!==null&&W(S,P.startTime-k)}}function j(k,P){b=!1,x&&(x=!1,g(T),T=-1),p=!0;var M=h;try{for(v(P),f=n(c);f!==null&&(!(f.expirationTime>P)||k&&!F());){var V=f.callback;if(typeof V=="function"){f.callback=null,h=f.priorityLevel;var z=V(f.expirationTime<=P);P=e.unstable_now(),typeof z=="function"?f.callback=z:f===n(c)&&r(c),v(P)}else r(c);f=n(c)}if(f!==null)var Q=!0;else{var Y=n(u);Y!==null&&W(S,Y.startTime-P),Q=!1}return Q}finally{f=null,h=M,p=!1}}var N=!1,C=null,T=-1,O=5,_=-1;function F(){return!(e.unstable_now()-_k||125V?(k.sortIndex=M,t(u,k),n(c)===null&&k===n(u)&&(x?(g(T),T=-1):x=!0,W(S,M-V))):(k.sortIndex=z,t(c,k),b||p||(b=!0,$(j))),k},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(k){var P=h;return function(){var M=h;h=P;try{return k.apply(this,arguments)}finally{h=M}}}})(dp);up.exports=dp;var Rv=up.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 _v=y,nt=Rv;function A(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"),ul=Object.prototype.hasOwnProperty,Ov=/^[: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]*$/,Ku={},Yu={};function Lv(e){return ul.call(Yu,e)?!0:ul.call(Ku,e)?!1:Ov.test(e)?Yu[e]=!0:(Ku[e]=!0,!1)}function Mv(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 Dv(e,t,n,r){if(t===null||typeof t>"u"||Mv(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 We(e,t,n,r,o,s,a){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=s,this.removeEmptyString=a}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new We(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 We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new We(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 We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ec=/[\-:]([a-z])/g;function kc(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(Ec,kc);Te[t]=new We(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(Ec,kc);Te[t]=new We(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(Ec,kc);Te[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pc(e,t,n,r){var o=Te.hasOwnProperty(t)?Te[t]:null;(o!==null?o.type!==0:r||!(2l||o[a]!==s[l]){var c=` `+o[a].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Ri=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Oo(e):""}function Iv(e){switch(e.tag){case 5:return Oo(e.type);case 16:return Oo("Lazy");case 13:return Oo("Suspense");case 19:return Oo("SuspenseList");case 0:case 2:case 15:return e=_i(e.type,!1),e;case 11:return e=_i(e.type.render,!1),e;case 1:return e=_i(e.type,!0),e;default:return""}}function ml(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 Ar:return"Fragment";case Tr:return"Portal";case dl:return"Profiler";case Tc:return"StrictMode";case fl:return"Suspense";case pl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mp:return(e.displayName||"Context")+".Consumer";case pp:return(e._context.displayName||"Context")+".Provider";case Ac:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Rc:return t=e.displayName||null,t!==null?t:ml(e.type)||"Memo";case gn:t=e._payload,e=e._init;try{return ml(e(t))}catch{}}return null}function zv(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 ml(t);case 8:return t===Tc?"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 zn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Fv(e){var t=gp(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,s.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Is(e){e._valueTracker||(e._valueTracker=Fv(e))}function vp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xa(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 hl(e,t){var n=t.checked;return de({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=zn(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 xp(e,t){t=t.checked,t!=null&&Pc(e,"checked",t,!1)}function gl(e,t){xp(e,t);var n=zn(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")?vl(e,t.type,n):t.hasOwnProperty("defaultValue")&&vl(e,t.type,zn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ju(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 vl(e,t,n){(t!=="number"||xa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Lo=Array.isArray;function Br(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=zs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Go(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Io={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},$v=["Webkit","ms","Moz","O"];Object.keys(Io).forEach(function(e){$v.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Io[t]=Io[e]})});function Sp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Io.hasOwnProperty(e)&&Io[e]?(""+t).trim():t+"px"}function jp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Sp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Bv=de({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 wl(e,t){if(t){if(Bv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function bl(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 Sl=null;function _c(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jl=null,Ur=null,Wr=null;function nd(e){if(e=js(e)){if(typeof jl!="function")throw Error(A(280));var t=e.stateNode;t&&(t=ei(t),jl(e.stateNode,e.type,t))}}function Np(e){Ur?Wr?Wr.push(e):Wr=[e]:Ur=e}function Cp(){if(Ur){var e=Ur,t=Wr;if(Wr=Ur=null,nd(e),t)for(e=0;e>>=0,e===0?32:31-(Zv(e)/Jv|0)|0}var Fs=64,$s=4194304;function Mo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Sa(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,s=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=Mo(l):(s&=a,s!==0&&(r=Mo(s)))}else a=n&~o,a!==0?r=Mo(a):s!==0&&(r=Mo(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,s=t&-t,o>=s||o===16&&(s&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 bs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Nt(t),e[t]=n}function rx(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=Fo),dd=" ",fd=!1;function qp(e,t){switch(e){case"keyup":return Rx.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rr=!1;function Ox(e,t){switch(e){case"compositionend":return Hp(t);case"keypress":return t.which!==32?null:(fd=!0,dd);case"textInput":return e=t.data,e===dd&&fd?null:e;default:return null}}function Lx(e,t){if(Rr)return e==="compositionend"||!$c&&qp(e,t)?(e=Wp(),aa=Ic=En=null,Rr=!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=gd(n)}}function Yp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Yp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xp(){for(var e=window,t=xa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xa(e.document)}return t}function Bc(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 Wx(e){var t=Xp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Yp(n.ownerDocument.documentElement,n)){if(r!==null&&Bc(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,s=Math.min(r.start,o);r=r.end===void 0?s:Math.min(r.end,o),!e.extend&&s>r&&(o=r,r=s,s=o),o=vd(n,s);var a=vd(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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,_r=null,Tl=null,Bo=null,Al=!1;function xd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Al||_r==null||_r!==xa(r)||(r=_r,"selectionStart"in r&&Bc(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}),Bo&&es(Bo,r)||(Bo=r,r=Ca(Tl,"onSelect"),0Mr||(e.current=Dl[Mr],Dl[Mr]=null,Mr--)}function re(e,t){Mr++,Dl[Mr]=e.current,e.current=t}var Fn={},De=Hn(Fn),Qe=Hn(!1),dr=Fn;function so(e,t){var n=e.type.contextTypes;if(!n)return Fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ge(e){return e=e.childContextTypes,e!=null}function ka(){ae(Qe),ae(De)}function Cd(e,t,n){if(De.current!==Fn)throw Error(A(168));re(De,t),re(Qe,n)}function am(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(A(108,zv(e)||"Unknown",o));return de({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fn,dr=De.current,re(De,e),re(Qe,Qe.current),!0}function Ed(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=am(e,t,dr),r.__reactInternalMemoizedMergedChildContext=e,ae(Qe),ae(De),re(De,e)):ae(Qe),re(Qe,n)}var Qt=null,ti=!1,Hi=!1;function im(e){Qt===null?Qt=[e]:Qt.push(e)}function t0(e){ti=!0,im(e)}function Qn(){if(!Hi&&Qt!==null){Hi=!0;var e=0,t=te;try{var n=Qt;for(te=1;e>=a,o-=a,Kt=1<<32-Nt(t)+o|n<T?(O=C,C=null):O=C.sibling;var _=h(g,C,v[T],S);if(_===null){C===null&&(C=O);break}e&&C&&_.alternate===null&&t(g,C),m=s(_,m,T),N===null?j=_:N.sibling=_,N=_,C=O}if(T===v.length)return n(g,C),le&&Zn(g,T),j;if(C===null){for(;TT?(O=C,C=null):O=C.sibling;var F=h(g,C,_.value,S);if(F===null){C===null&&(C=O);break}e&&C&&F.alternate===null&&t(g,C),m=s(F,m,T),N===null?j=F:N.sibling=F,N=F,C=O}if(_.done)return n(g,C),le&&Zn(g,T),j;if(C===null){for(;!_.done;T++,_=v.next())_=f(g,_.value,S),_!==null&&(m=s(_,m,T),N===null?j=_:N.sibling=_,N=_);return le&&Zn(g,T),j}for(C=r(g,C);!_.done;T++,_=v.next())_=p(C,g,T,_.value,S),_!==null&&(e&&_.alternate!==null&&C.delete(_.key===null?T:_.key),m=s(_,m,T),N===null?j=_:N.sibling=_,N=_);return e&&C.forEach(function(I){return t(g,I)}),le&&Zn(g,T),j}function w(g,m,v,S){if(typeof v=="object"&&v!==null&&v.type===Ar&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Ds:e:{for(var j=v.key,N=m;N!==null;){if(N.key===j){if(j=v.type,j===Ar){if(N.tag===7){n(g,N.sibling),m=o(N,v.props.children),m.return=g,g=m;break e}}else if(N.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===gn&&Td(j)===N.type){n(g,N.sibling),m=o(N,v.props),m.ref=Po(g,N,v),m.return=g,g=m;break e}n(g,N);break}else t(g,N);N=N.sibling}v.type===Ar?(m=ur(v.props.children,g.mode,S,v.key),m.return=g,g=m):(S=ma(v.type,v.key,v.props,null,g.mode,S),S.ref=Po(g,m,v),S.return=g,g=S)}return a(g);case Tr:e:{for(N=v.key;m!==null;){if(m.key===N)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){n(g,m.sibling),m=o(m,v.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=el(v,g.mode,S),m.return=g,g=m}return a(g);case gn:return N=v._init,w(g,m,N(v._payload),S)}if(Lo(v))return b(g,m,v,S);if(jo(v))return x(g,m,v,S);Qs(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,v),m.return=g,g=m):(n(g,m),m=Ji(v,g.mode,S),m.return=g,g=m),a(g)):n(g,m)}return w}var io=dm(!0),fm=dm(!1),Ra=Hn(null),_a=null,zr=null,qc=null;function Hc(){qc=zr=_a=null}function Qc(e){var t=Ra.current;ae(Ra),e._currentValue=t}function Fl(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 qr(e,t){_a=e,qc=zr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(He=!0),e.firstContext=null)}function dt(e){var t=e._currentValue;if(qc!==e)if(e={context:e,memoizedValue:t,next:null},zr===null){if(_a===null)throw Error(A(308));zr=e,_a.dependencies={lanes:0,firstContext:e}}else zr=zr.next=e;return t}var tr=null;function Gc(e){tr===null?tr=[e]:tr.push(e)}function pm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Gc(t)):(n.next=o.next,o.next=n),t.interleaved=n,en(e,r)}function en(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 vn=!1;function Kc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mm(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 Xt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function On(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,en(e,n)}return o=r.interleaved,o===null?(t.next=t,Gc(r)):(t.next=o.next,o.next=t),r.interleaved=t,en(e,n)}function la(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,Lc(e,n)}}function Ad(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?o=s=a:s=s.next=a,n=n.next}while(n!==null);s===null?o=s=t:s=s.next=t}else o=s=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:s,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 Oa(e,t,n,r){var o=e.updateQueue;vn=!1;var s=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?s=u:a.next=u,a=c;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=c))}if(s!==null){var f=o.baseState;a=0,d=u=c=null,l=s;do{var h=l.lane,p=l.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,x=l;switch(h=t,p=n,x.tag){case 1:if(b=x.payload,typeof b=="function"){f=b.call(p,f,h);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=x.payload,h=typeof b=="function"?b.call(p,f,h):b,h==null)break e;f=de({},f,h);break e;case 2:vn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else p={eventTime:p,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=p,c=f):d=d.next=p,a|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);mr|=a,e.lanes=a,e.memoizedState=f}}function Rd(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gi.transition;Gi.transition={};try{e(!1),t()}finally{te=n,Gi.transition=r}}function Rm(){return ft().memoizedState}function s0(e,t,n){var r=Mn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},_m(e))Om(t,n);else if(n=pm(e,t,n,r),n!==null){var o=Be();Ct(n,e,r,o),Lm(n,t,r)}}function a0(e,t,n){var r=Mn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(_m(e))Om(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var a=t.lastRenderedState,l=s(a,n);if(o.hasEagerState=!0,o.eagerState=l,Et(l,a)){var c=t.interleaved;c===null?(o.next=o,Gc(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=pm(e,t,o,r),n!==null&&(o=Be(),Ct(n,e,r,o),Lm(n,t,r))}}function _m(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Om(e,t){Uo=Ma=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Lm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Lc(e,n)}}var Da={readContext:dt,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},i0={readContext:dt,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:Od,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ua(4194308,4,Em.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ua(4194308,4,e,t)},useInsertionEffect:function(e,t){return ua(4,2,e,t)},useMemo:function(e,t){var n=Rt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Rt();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=s0.bind(null,ue,e),[r.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:_d,useDebugValue:ru,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=_d(!1),t=e[0];return e=o0.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ue,o=Rt();if(le){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Ne===null)throw Error(A(349));pr&30||xm(r,t,n)}o.memoizedState=n;var s={value:n,getSnapshot:t};return o.queue=s,Od(wm.bind(null,r,s,e),[e]),r.flags|=2048,ls(9,ym.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Rt(),t=Ne.identifierPrefix;if(le){var n=Yt,r=Kt;n=(r&~(1<<32-Nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=as++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Mt]=t,e[rs]=r,Vm(e,t,!1,!1),t.stateNode=e;e:{switch(a=bl(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;ouo&&(t.flags|=128,r=!0,To(s,!1),t.lanes=4194304)}else{if(!r)if(e=La(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),To(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!le)return Oe(t),null}else 2*he()-s.renderingStartTime>uo&&n!==1073741824&&(t.flags|=128,r=!0,To(s,!1),t.lanes=4194304);s.isBackwards?(a.sibling=t.child,t.child=a):(n=s.last,n!==null?n.sibling=a:t.child=a,s.last=a)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=he(),t.sibling=null,n=ce.current,re(ce,r?n&1|2:n&1),t):(Oe(t),null);case 22:case 23:return cu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xe&1073741824&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function h0(e,t){switch(Wc(t),t.tag){case 1:return Ge(t.type)&&ka(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return lo(),ae(Qe),ae(De),Zc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xc(t),null;case 13:if(ae(ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));ao()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(ce),null;case 4:return lo(),null;case 10:return Qc(t.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var Ks=!1,Me=!1,g0=typeof WeakSet=="function"?WeakSet:Set,D=null;function Fr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){pe(e,t,r)}else n.current=null}function Gl(e,t,n){try{n()}catch(r){pe(e,t,r)}}var Vd=!1;function v0(e,t){if(Rl=ja,e=Xp(),Bc(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(l=a+o),f!==s||r!==0&&f.nodeType!==3||(c=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===o&&(l=a),h===s&&++d===r&&(c=a),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(_l={focusedElem:e,selectionRange:n},ja=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var x=b.memoizedProps,w=b.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?x:xt(t.type,x),w);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(S){pe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return b=Vd,Vd=!1,b}function Wo(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 s=o.destroy;o.destroy=void 0,s!==void 0&&Gl(t,n,s)}o=o.next}while(o!==r)}}function oi(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 Kl(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 Qm(e){var t=e.alternate;t!==null&&(e.alternate=null,Qm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Mt],delete t[rs],delete t[Ml],delete t[Jx],delete t[e0])),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 Gm(e){return e.tag===5||e.tag===3||e.tag===4}function qd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gm(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 Yl(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=Ea));else if(r!==4&&(e=e.child,e!==null))for(Yl(e,t,n),e=e.sibling;e!==null;)Yl(e,t,n),e=e.sibling}function Xl(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(Xl(e,t,n),e=e.sibling;e!==null;)Xl(e,t,n),e=e.sibling}var Ee=null,St=!1;function fn(e,t,n){for(n=n.child;n!==null;)Km(e,t,n),n=n.sibling}function Km(e,t,n){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(Ya,n)}catch{}switch(n.tag){case 5:Me||Fr(n,t);case 6:var r=Ee,o=St;Ee=null,fn(e,t,n),Ee=r,St=o,Ee!==null&&(St?(e=Ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ee.removeChild(n.stateNode));break;case 18:Ee!==null&&(St?(e=Ee,n=n.stateNode,e.nodeType===8?qi(e.parentNode,n):e.nodeType===1&&qi(e,n),Zo(e)):qi(Ee,n.stateNode));break;case 4:r=Ee,o=St,Ee=n.stateNode.containerInfo,St=!0,fn(e,t,n),Ee=r,St=o;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var s=o,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&Gl(n,t,a),o=o.next}while(o!==r)}fn(e,t,n);break;case 1:if(!Me&&(Fr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){pe(n,t,l)}fn(e,t,n);break;case 21:fn(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,fn(e,t,n),Me=r):fn(e,t,n);break;default:fn(e,t,n)}}function Hd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new g0),t.forEach(function(r){var o=E0.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function gt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~s}if(r=o,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*y0(r/1960))-r,10e?16:e,kn===null)var r=!1;else{if(e=kn,kn=null,Fa=0,X&6)throw Error(A(331));var o=X;for(X|=4,D=e.current;D!==null;){var s=D,a=s.child;if(D.flags&16){var l=s.deletions;if(l!==null){for(var c=0;che()-iu?cr(e,0):au|=n),Ke(e,t)}function rh(e,t){t===0&&(e.mode&1?(t=$s,$s<<=1,!($s&130023424)&&($s=4194304)):t=1);var n=Be();e=en(e,t),e!==null&&(bs(e,t,n),Ke(e,n))}function C0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rh(e,n)}function E0(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(A(314))}r!==null&&r.delete(t),rh(e,n)}var oh;oh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)He=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return He=!1,p0(e,t,n);He=!!(e.flags&131072)}else He=!1,le&&t.flags&1048576&&lm(t,Aa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;da(e,t),e=t.pendingProps;var o=so(t,De.current);qr(t,n),o=eu(null,t,r,e,o,n);var s=tu();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,Ge(r)?(s=!0,Pa(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Kc(t),o.updater=ri,t.stateNode=o,o._reactInternals=t,Bl(t,r,e,n),t=Vl(null,t,r,!0,s,n)):(t.tag=0,le&&s&&Uc(t),Fe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(da(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=P0(r),e=xt(r,e),o){case 0:t=Wl(null,t,r,e,n);break e;case 1:t=Bd(null,t,r,e,n);break e;case 11:t=Fd(null,t,r,e,n);break e;case 14:t=$d(null,t,r,xt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xt(r,o),Wl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xt(r,o),Bd(e,t,r,o,n);case 3:e:{if(Bm(t),e===null)throw Error(A(387));r=t.pendingProps,s=t.memoizedState,o=s.element,mm(e,t),Oa(t,r,null,n);var a=t.memoizedState;if(r=a.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=co(Error(A(423)),t),t=Ud(e,t,r,n,o);break e}else if(r!==o){o=co(Error(A(424)),t),t=Ud(e,t,r,n,o);break e}else for(Je=_n(t.stateNode.containerInfo.firstChild),et=t,le=!0,jt=null,n=fm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ao(),r===o){t=tn(e,t,n);break e}Fe(e,t,r,n)}t=t.child}return t;case 5:return hm(t),e===null&&zl(t),r=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,a=o.children,Ol(r,o)?a=null:s!==null&&Ol(r,s)&&(t.flags|=32),$m(e,t),Fe(e,t,a,n),t.child;case 6:return e===null&&zl(t),null;case 13:return Um(e,t,n);case 4:return Yc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=io(t,null,r,n):Fe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xt(r,o),Fd(e,t,r,o,n);case 7:return Fe(e,t,t.pendingProps,n),t.child;case 8:return Fe(e,t,t.pendingProps.children,n),t.child;case 12:return Fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,s=t.memoizedProps,a=o.value,re(Ra,r._currentValue),r._currentValue=a,s!==null)if(Et(s.value,a)){if(s.children===o.children&&!Qe.current){t=tn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(s.tag===1){c=Xt(-1,n&-n),c.tag=2;var u=s.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),Fl(s.return,n,t),l.lanes|=n;break}c=c.next}}else if(s.tag===10)a=s.type===t.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(A(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Fl(a,n,t),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===t){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}Fe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,qr(t,n),o=dt(o),r=r(o),t.flags|=1,Fe(e,t,r,n),t.child;case 14:return r=t.type,o=xt(r,t.pendingProps),o=xt(r.type,o),$d(e,t,r,o,n);case 15:return zm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xt(r,o),da(e,t),t.tag=1,Ge(r)?(e=!0,Pa(t)):e=!1,qr(t,n),Mm(t,r,o),Bl(t,r,o,n),Vl(null,t,r,!0,e,n);case 19:return Wm(e,t,n);case 22:return Fm(e,t,n)}throw Error(A(156,t.tag))};function sh(e,t){return _p(e,t)}function k0(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 ct(e,t,n,r){return new k0(e,t,n,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P0(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ac)return 11;if(e===Rc)return 14}return 2}function Dn(e,t){var n=e.alternate;return n===null?(n=ct(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 ma(e,t,n,r,o,s){var a=2;if(r=e,typeof e=="function")du(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Ar:return ur(n.children,o,s,t);case Tc:a=8,o|=8;break;case dl:return e=ct(12,n,t,o|2),e.elementType=dl,e.lanes=s,e;case fl:return e=ct(13,n,t,o),e.elementType=fl,e.lanes=s,e;case pl:return e=ct(19,n,t,o),e.elementType=pl,e.lanes=s,e;case hp:return ai(n,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pp:a=10;break e;case mp:a=9;break e;case Ac:a=11;break e;case Rc:a=14;break e;case gn:a=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=ct(a,n,t,o),t.elementType=e,t.type=r,t.lanes=s,t}function ur(e,t,n,r){return e=ct(7,e,r,t),e.lanes=n,e}function ai(e,t,n,r){return e=ct(22,e,r,t),e.elementType=hp,e.lanes=n,e.stateNode={isHidden:!1},e}function Ji(e,t,n){return e=ct(6,e,null,t),e.lanes=n,e}function el(e,t,n){return t=ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function T0(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=Li(0),this.expirationTimes=Li(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Li(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function fu(e,t,n,r,o,s,a,l,c){return e=new T0(e,t,n,l,c),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ct(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kc(s),e}function A0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ch)}catch(e){console.error(e)}}ch(),cp.exports=rt;var Cs=cp.exports;const uh=Yf(Cs);var dh,ef=Cs;dh=ef.createRoot,ef.hydrateRoot;const M0=1,D0=1e6;let tl=0;function I0(){return tl=(tl+1)%Number.MAX_SAFE_INTEGER,tl.toString()}const nl=new Map,tf=e=>{if(nl.has(e))return;const t=setTimeout(()=>{nl.delete(e),Ho({type:"REMOVE_TOAST",toastId:e})},D0);nl.set(e,t)},z0=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,M0)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?tf(n):e.toasts.forEach(r=>{tf(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ha=[];let ga={toasts:[]};function Ho(e){ga=z0(ga,e),ha.forEach(t=>{t(ga)})}function F0({...e}){const t=I0(),n=o=>Ho({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Ho({type:"DISMISS_TOAST",toastId:t});return Ho({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function $0(){const[e,t]=y.useState(ga);return y.useEffect(()=>(ha.push(t),()=>{const n=ha.indexOf(t);n>-1&&ha.splice(n,1)}),[e]),{...e,toast:F0,dismiss:n=>Ho({type:"DISMISS_TOAST",toastId: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 nf(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function fh(...e){return t=>{let n=!1;const r=e.map(o=>{const s=nf(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o{var g;const{scope:h,children:p,...b}=f,x=((g=h==null?void 0:h[e])==null?void 0:g[c])||l,w=y.useMemo(()=>b,Object.values(b));return i.jsx(x.Provider,{value:w,children:p})};u.displayName=s+"Provider";function d(f,h){var x;const p=((x=h==null?void 0:h[e])==null?void 0:x[c])||l,b=y.useContext(p);if(b)return b;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[u,d]}const o=()=>{const s=n.map(a=>y.createContext(a));return function(l){const c=(l==null?void 0:l[e])||s;return y.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,B0(o,...t)]}function B0(...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(s){const a=r.reduce((l,{useScope:c,scopeName:u})=>{const f=c(s)[`__scope${u}`];return{...l,...f}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function nc(e){const t=U0(e),n=y.forwardRef((r,o)=>{const{children:s,...a}=r,l=y.Children.toArray(s),c=l.find(V0);if(c){const u=c.props.children,d=l.map(f=>f===c?y.Children.count(u)>1?y.Children.only(null):y.isValidElement(u)?u.props.children:null:f);return i.jsx(t,{...a,ref:o,children:y.isValidElement(u)?y.cloneElement(u,void 0,d):null})}return i.jsx(t,{...a,ref:o,children:s})});return n.displayName=`${e}.Slot`,n}function U0(e){const t=y.forwardRef((n,r)=>{const{children:o,...s}=n;if(y.isValidElement(o)){const a=H0(o),l=q0(s,o.props);return o.type!==y.Fragment&&(l.ref=r?fh(r,a):a),y.cloneElement(o,l)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ph=Symbol("radix.slottable");function W0(e){const t=({children:n})=>i.jsx(i.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=ph,t}function V0(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ph}function q0(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...l)=>{const c=s(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function H0(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)}function Q0(e){const t=e+"CollectionProvider",[n,r]=di(t),[o,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=x=>{const{scope:w,children:g}=x,m=R.useRef(null),v=R.useRef(new Map).current;return i.jsx(o,{scope:w,itemMap:v,collectionRef:m,children:g})};a.displayName=t;const l=e+"CollectionSlot",c=nc(l),u=R.forwardRef((x,w)=>{const{scope:g,children:m}=x,v=s(l,g),S=kt(w,v.collectionRef);return i.jsx(c,{ref:S,children:m})});u.displayName=l;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=nc(d),p=R.forwardRef((x,w)=>{const{scope:g,children:m,...v}=x,S=R.useRef(null),j=kt(w,S),N=s(d,g);return R.useEffect(()=>(N.itemMap.set(S,{ref:S,...v}),()=>void N.itemMap.delete(S))),i.jsx(h,{[f]:"",ref:j,children:m})});p.displayName=d;function b(x){const w=s(e+"CollectionConsumer",x);return R.useCallback(()=>{const m=w.collectionRef.current;if(!m)return[];const v=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(w.itemMap.values()).sort((N,C)=>v.indexOf(N.ref.current)-v.indexOf(C.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:a,Slot:u,ItemSlot:p},b,r]}var G0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ye=G0.reduce((e,t)=>{const n=nc(`Primitive.${t}`),r=y.forwardRef((o,s)=>{const{asChild:a,...l}=o,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),i.jsx(c,{...l,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function mh(e,t){e&&Cs.flushSync(()=>e.dispatchEvent(t))}function $n(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function K0(e,t=globalThis==null?void 0:globalThis.document){const n=$n(e);y.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 Y0="DismissableLayer",rc="dismissableLayer.update",X0="dismissableLayer.pointerDownOutside",Z0="dismissableLayer.focusOutside",rf,hh=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),gu=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:l,...c}=e,u=y.useContext(hh),[d,f]=y.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=y.useState({}),b=kt(t,C=>f(C)),x=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=x.indexOf(w),m=d?x.indexOf(d):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=m>=g,j=ey(C=>{const T=C.target,O=[...u.branches].some(_=>_.contains(T));!S||O||(o==null||o(C),a==null||a(C),C.defaultPrevented||l==null||l())},h),N=ty(C=>{const T=C.target;[...u.branches].some(_=>_.contains(T))||(s==null||s(C),a==null||a(C),C.defaultPrevented||l==null||l())},h);return K0(C=>{m===u.layers.size-1&&(r==null||r(C),!C.defaultPrevented&&l&&(C.preventDefault(),l()))},h),y.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(rf=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),of(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=rf)}},[d,h,n,u]),y.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),of())},[d,u]),y.useEffect(()=>{const C=()=>p({});return document.addEventListener(rc,C),()=>document.removeEventListener(rc,C)},[]),i.jsx(Ye.div,{...c,ref:b,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,N.onFocusCapture),onBlurCapture:we(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,j.onPointerDownCapture)})});gu.displayName=Y0;var J0="DismissableLayerBranch",gh=y.forwardRef((e,t)=>{const n=y.useContext(hh),r=y.useRef(null),o=kt(t,r);return y.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),i.jsx(Ye.div,{...e,ref:o})});gh.displayName=J0;function ey(e,t=globalThis==null?void 0:globalThis.document){const n=$n(e),r=y.useRef(!1),o=y.useRef(()=>{});return y.useEffect(()=>{const s=l=>{if(l.target&&!r.current){let c=function(){vh(X0,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ty(e,t=globalThis==null?void 0:globalThis.document){const n=$n(e),r=y.useRef(!1);return y.useEffect(()=>{const o=s=>{s.target&&!r.current&&vh(Z0,n,{originalEvent:s},{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(rc);document.dispatchEvent(e)}function vh(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mh(o,s):o.dispatchEvent(s)}var ny=gu,ry=gh,Bn=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},oy="Portal",xh=y.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,s]=y.useState(!1);Bn(()=>s(!0),[]);const a=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?uh.createPortal(i.jsx(Ye.div,{...r,ref:t}),a):null});xh.displayName=oy;function sy(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var vu=e=>{const{present:t,children:n}=e,r=ay(t),o=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),s=kt(r.ref,iy(o));return typeof n=="function"||r.isPresent?y.cloneElement(o,{ref:s}):null};vu.displayName="Presence";function ay(e){const[t,n]=y.useState(),r=y.useRef(null),o=y.useRef(e),s=y.useRef("none"),a=e?"mounted":"unmounted",[l,c]=sy(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=Zs(r.current);s.current=l==="mounted"?u:"none"},[l]),Bn(()=>{const u=r.current,d=o.current;if(d!==e){const h=s.current,p=Zs(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Bn(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const x=Zs(r.current).includes(p.animationName);if(p.target===t&&x&&(c("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=p=>{p.target===t&&(s.current=Zs(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:y.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Zs(e){return(e==null?void 0:e.animationName)||"none"}function iy(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 ly=ip[" useInsertionEffect ".trim().toString()]||Bn;function cy({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,s,a]=uy({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const d=y.useRef(e!==void 0);y.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${l?"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.`),d.current=l},[l,r])}const u=y.useCallback(d=>{var f;if(l){const h=dy(d)?d(e):d;h!==e&&((f=a.current)==null||f.call(a,h))}else s(d)},[l,e,s,a]);return[c,u]}function uy({defaultProp:e,onChange:t}){const[n,r]=y.useState(e),o=y.useRef(n),s=y.useRef(t);return ly(()=>{s.current=t},[t]),y.useEffect(()=>{var a;o.current!==n&&((a=s.current)==null||a.call(s,n),o.current=n)},[n,o]),[n,r,s]}function dy(e){return typeof e=="function"}var fy=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"}),py="VisuallyHidden",fi=y.forwardRef((e,t)=>i.jsx(Ye.span,{...e,ref:t,style:{...fy,...e.style}}));fi.displayName=py;var my=fi,xu="ToastProvider",[yu,hy,gy]=Q0("Toast"),[yh,Cj]=di("Toast",[gy]),[vy,pi]=yh(xu),wh=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:s=50,children:a}=e,[l,c]=y.useState(null),[u,d]=y.useState(0),f=y.useRef(!1),h=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${xu}\`. Expected non-empty \`string\`.`),i.jsx(yu.Provider,{scope:t,children:i.jsx(vy,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:s,toastCount:u,viewport:l,onViewportChange:c,onToastAdd:y.useCallback(()=>d(p=>p+1),[]),onToastRemove:y.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:a})})};wh.displayName=xu;var bh="ToastViewport",xy=["F8"],oc="toast.viewportPause",sc="toast.viewportResume",Sh=y.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=xy,label:o="Notifications ({hotkey})",...s}=e,a=pi(bh,n),l=hy(n),c=y.useRef(null),u=y.useRef(null),d=y.useRef(null),f=y.useRef(null),h=kt(t,f,a.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),b=a.toastCount>0;y.useEffect(()=>{const w=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=f.current)==null||v.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),y.useEffect(()=>{const w=c.current,g=f.current;if(b&&w&&g){const m=()=>{if(!a.isClosePausedRef.current){const N=new CustomEvent(oc);g.dispatchEvent(N),a.isClosePausedRef.current=!0}},v=()=>{if(a.isClosePausedRef.current){const N=new CustomEvent(sc);g.dispatchEvent(N),a.isClosePausedRef.current=!1}},S=N=>{!w.contains(N.relatedTarget)&&v()},j=()=>{w.contains(document.activeElement)||v()};return w.addEventListener("focusin",m),w.addEventListener("focusout",S),w.addEventListener("pointermove",m),w.addEventListener("pointerleave",j),window.addEventListener("blur",m),window.addEventListener("focus",v),()=>{w.removeEventListener("focusin",m),w.removeEventListener("focusout",S),w.removeEventListener("pointermove",m),w.removeEventListener("pointerleave",j),window.removeEventListener("blur",m),window.removeEventListener("focus",v)}}},[b,a.isClosePausedRef]);const x=y.useCallback(({tabbingDirection:w})=>{const m=l().map(v=>{const S=v.ref.current,j=[S,...Ry(S)];return w==="forwards"?j:j.reverse()});return(w==="forwards"?m.reverse():m).flat()},[l]);return y.useEffect(()=>{const w=f.current;if(w){const g=m=>{var j,N,C;const v=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!v){const T=document.activeElement,O=m.shiftKey;if(m.target===w&&O){(j=u.current)==null||j.focus();return}const I=x({tabbingDirection:O?"backwards":"forwards"}),H=I.findIndex(L=>L===T);rl(I.slice(H+1))?m.preventDefault():O?(N=u.current)==null||N.focus():(C=d.current)==null||C.focus()}};return w.addEventListener("keydown",g),()=>w.removeEventListener("keydown",g)}},[l,x]),i.jsxs(ry,{ref:c,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:b?void 0:"none"},children:[b&&i.jsx(ac,{ref:u,onFocusFromOutsideViewport:()=>{const w=x({tabbingDirection:"forwards"});rl(w)}}),i.jsx(yu.Slot,{scope:n,children:i.jsx(Ye.ol,{tabIndex:-1,...s,ref:h})}),b&&i.jsx(ac,{ref:d,onFocusFromOutsideViewport:()=>{const w=x({tabbingDirection:"backwards"});rl(w)}})]})});Sh.displayName=bh;var jh="ToastFocusProxy",ac=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,s=pi(jh,n);return i.jsx(fi,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const l=a.relatedTarget;!((u=s.viewport)!=null&&u.contains(l))&&r()}})});ac.displayName=jh;var Es="Toast",yy="toast.swipeStart",wy="toast.swipeMove",by="toast.swipeCancel",Sy="toast.swipeEnd",Nh=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:s,...a}=e,[l,c]=cy({prop:r,defaultProp:o??!0,onChange:s,caller:Es});return i.jsx(vu,{present:n||l,children:i.jsx(Cy,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:$n(e.onPause),onResume:$n(e.onResume),onSwipeStart:we(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:we(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}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:d,y:f}=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",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});Nh.displayName=Es;var[jy,Ny]=yh(Es,{onClose(){}}),Cy=y.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:s,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...b}=e,x=pi(Es,n),[w,g]=y.useState(null),m=kt(t,L=>g(L)),v=y.useRef(null),S=y.useRef(null),j=o||x.duration,N=y.useRef(0),C=y.useRef(j),T=y.useRef(0),{onToastAdd:O,onToastRemove:_}=x,F=$n(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=x.viewport)==null||K.focus()),a()}),I=y.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),N.current=new Date().getTime(),T.current=window.setTimeout(F,L))},[F]);y.useEffect(()=>{const L=x.viewport;if(L){const K=()=>{I(C.current),u==null||u()},$=()=>{const W=new Date().getTime()-N.current;C.current=C.current-W,window.clearTimeout(T.current),c==null||c()};return L.addEventListener(oc,$),L.addEventListener(sc,K),()=>{L.removeEventListener(oc,$),L.removeEventListener(sc,K)}}},[x.viewport,j,c,u,I]),y.useEffect(()=>{s&&!x.isClosePausedRef.current&&I(j)},[s,j,x.isClosePausedRef,I]),y.useEffect(()=>(O(),()=>_()),[O,_]);const H=y.useMemo(()=>w?Rh(w):null,[w]);return x.viewport?i.jsxs(i.Fragment,{children:[H&&i.jsx(Ey,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),i.jsx(jy,{scope:n,onClose:F,children:Cs.createPortal(i.jsx(yu.ItemSlot,{scope:n,children:i.jsx(ny,{asChild:!0,onEscapeKeyDown:we(l,()=>{x.isFocusedToastEscapeKeyDownRef.current||F(),x.isFocusedToastEscapeKeyDownRef.current=!1}),children:i.jsx(Ye.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":x.swipeDirection,...b,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:we(e.onKeyDown,L=>{L.key==="Escape"&&(l==null||l(L.nativeEvent),L.nativeEvent.defaultPrevented||(x.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:we(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:we(e.onPointerMove,L=>{if(!v.current)return;const K=L.clientX-v.current.x,$=L.clientY-v.current.y,W=!!S.current,k=["left","right"].includes(x.swipeDirection),P=["left","up"].includes(x.swipeDirection)?Math.min:Math.max,M=k?P(0,K):0,V=k?0:P(0,$),z=L.pointerType==="touch"?10:2,Q={x:M,y:V},Y={originalEvent:L,delta:Q};W?(S.current=Q,Js(wy,f,Y,{discrete:!1})):sf(Q,x.swipeDirection,z)?(S.current=Q,Js(yy,d,Y,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(K)>z||Math.abs($)>z)&&(v.current=null)}),onPointerUp:we(e.onPointerUp,L=>{const K=S.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),S.current=null,v.current=null,K){const W=L.currentTarget,k={originalEvent:L,delta:K};sf(K,x.swipeDirection,x.swipeThreshold)?Js(Sy,p,k,{discrete:!0}):Js(by,h,k,{discrete:!0}),W.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),x.viewport)})]}):null}),Ey=e=>{const{__scopeToast:t,children:n,...r}=e,o=pi(Es,t),[s,a]=y.useState(!1),[l,c]=y.useState(!1);return Ty(()=>a(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:i.jsx(xh,{asChild:!0,children:i.jsx(fi,{...r,children:s&&i.jsxs(i.Fragment,{children:[o.label," ",n]})})})},ky="ToastTitle",Ch=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(Ye.div,{...r,ref:t})});Ch.displayName=ky;var Py="ToastDescription",Eh=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return i.jsx(Ye.div,{...r,ref:t})});Eh.displayName=Py;var kh="ToastAction",Ph=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?i.jsx(Ah,{altText:n,asChild:!0,children:i.jsx(wu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${kh}\`. Expected non-empty \`string\`.`),null)});Ph.displayName=kh;var Th="ToastClose",wu=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=Ny(Th,n);return i.jsx(Ah,{asChild:!0,children:i.jsx(Ye.button,{type:"button",...r,ref:t,onClick:we(e.onClick,o.onClose)})})});wu.displayName=Th;var Ah=y.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return i.jsx(Ye.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Rh(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Ay(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!o)if(s){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Rh(r))}}),t}function Js(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mh(o,s):o.dispatchEvent(s)}var sf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),s=r>o;return t==="left"||t==="right"?s&&r>n:!s&&o>n};function Ty(e=()=>{}){const t=$n(e);Bn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Ay(e){return e.nodeType===e.ELEMENT_NODE}function Ry(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 rl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var _y=wh,_h=Sh,Oh=Nh,Lh=Ch,Mh=Eh,Dh=Ph,Ih=wu;function zh(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;ttypeof e=="boolean"?`${e}`:e===0?"0":e,lf=Fh,Oy=(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:s}=t,a=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=s==null?void 0:s[u];if(d===null)return null;const h=af(d)||af(f);return o[u][h]}),l=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(b=>{let[x,w]=b;return Array.isArray(w)?w.includes({...s,...l}[x]):{...s,...l}[x]===w})?[...u,f,h]:u},[]);return lf(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ly=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$h=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var My={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"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Dy=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:s,iconNode:a,...l},c)=>y.createElement("svg",{ref:c,...My,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$h("lucide",o),...l},[...a.map(([u,d])=>y.createElement(u,d)),...Array.isArray(s)?s:[s]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const me=(e,t)=>{const n=y.forwardRef(({className:r,...o},s)=>y.createElement(Dy,{ref:s,iconNode:t,className:$h(`lucide-${Ly(e)}`,r),...o}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bh=me("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Iy=me("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const bu=me("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ic=me("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wn=me("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zy=me("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const us=me("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Su=me("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fy=me("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $y=me("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Uh=me("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"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const By=me("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"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ee=me("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Uy=me("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wh=me("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mi=me("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const lc=me("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vh=me("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wy=me("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qh=me("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"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ju=me("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ks=me("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Nu="-",Vy=e=>{const t=Hy(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Nu);return l[0]===""&&l.length!==1&&l.shift(),Hh(l,t)||qy(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},Hh=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Hh(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const s=e.join(Nu);return(a=t.validators.find(({validator:l})=>l(s)))==null?void 0:a.classGroupId},cf=/^\[(.+)\]$/,qy=e=>{if(cf.test(e)){const t=cf.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Hy=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Gy(Object.entries(e.classGroups),n).forEach(([s,a])=>{cc(a,r,s,t)}),r},cc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const s=o===""?t:uf(t,o);s.classGroupId=n;return}if(typeof o=="function"){if(Qy(o)){cc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([s,a])=>{cc(a,uf(t,s),n,r)})})},uf=(e,t)=>{let n=e;return t.split(Nu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Qy=e=>e.isThemeGetter,Gy=(e,t)=>t?e.map(([n,r])=>{const o=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,l])=>[t+a,l])):s);return[n,o]}):e,Ky=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(s,a)=>{n.set(s,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let a=n.get(s);if(a!==void 0)return a;if((a=r.get(s))!==void 0)return o(s,a),a},set(s,a){n.has(s)?n.set(s,a):o(s,a)}}},Qh="!",Yy=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],s=t.length,a=l=>{const c=[];let u=0,d=0,f;for(let w=0;wd?f-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:x}};return n?l=>n({className:l,parseClassName:a}):a},Xy=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Zy=e=>({cache:Ky(e.cacheSize),parseClassName:Yy(e),...Vy(e)}),Jy=/\s+/,e1=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,s=[],a=e.trim().split(Jy);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let b=!!p,x=r(b?h.substring(0,p):h);if(!x){if(!b){l=u+(l.length>0?" "+l:l);continue}if(x=r(h),!x){l=u+(l.length>0?" "+l:l);continue}b=!1}const w=Xy(d).join(":"),g=f?w+Qh:w,m=g+x;if(s.includes(m))continue;s.push(m);const v=o(x,b);for(let S=0;S0?" "+l:l)}return l};function t1(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rf(d),e());return n=Zy(u),r=n.cache.get,o=n.cache.set,s=l,l(c)}function l(c){const u=r(c);if(u)return u;const d=e1(c,n);return o(c,d),d}return function(){return s(t1.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Kh=/^\[(?:([a-z-]+):)?(.+)\]$/i,r1=/^\d+\/\d+$/,o1=new Set(["px","full","screen"]),s1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,a1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,i1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,l1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,c1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Wt=e=>Qr(e)||o1.has(e)||r1.test(e),pn=e=>vo(e,"length",v1),Qr=e=>!!e&&!Number.isNaN(Number(e)),ol=e=>vo(e,"number",Qr),Ro=e=>!!e&&Number.isInteger(Number(e)),u1=e=>e.endsWith("%")&&Qr(e.slice(0,-1)),q=e=>Kh.test(e),mn=e=>s1.test(e),d1=new Set(["length","size","percentage"]),f1=e=>vo(e,d1,Yh),p1=e=>vo(e,"position",Yh),m1=new Set(["image","url"]),h1=e=>vo(e,m1,y1),g1=e=>vo(e,"",x1),_o=()=>!0,vo=(e,t,n)=>{const r=Kh.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},v1=e=>a1.test(e)&&!i1.test(e),Yh=()=>!1,x1=e=>l1.test(e),y1=e=>c1.test(e),w1=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),s=oe("borderRadius"),a=oe("borderSpacing"),l=oe("borderWidth"),c=oe("contrast"),u=oe("grayscale"),d=oe("hueRotate"),f=oe("invert"),h=oe("gap"),p=oe("gradientColorStops"),b=oe("gradientColorStopPositions"),x=oe("inset"),w=oe("margin"),g=oe("opacity"),m=oe("padding"),v=oe("saturate"),S=oe("scale"),j=oe("sepia"),N=oe("skew"),C=oe("space"),T=oe("translate"),O=()=>["auto","contain","none"],_=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",q,t],I=()=>[q,t],H=()=>["",Wt,pn],L=()=>["auto",Qr,q],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],W=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",q],M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>[Qr,q];return{cacheSize:500,separator:":",theme:{colors:[_o],spacing:[Wt,pn],blur:["none","",mn,q],brightness:V(),borderColor:[e],borderRadius:["none","","full",mn,q],borderSpacing:I(),borderWidth:H(),contrast:V(),grayscale:P(),hueRotate:V(),invert:P(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[u1,pn],inset:F(),margin:F(),opacity:V(),padding:I(),saturate:V(),scale:V(),sepia:P(),skew:V(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",q]}],container:["container"],columns:[{columns:[mn]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),q]}],overflow:[{overflow:_()}],"overflow-x":[{"overflow-x":_()}],"overflow-y":[{"overflow-y":_()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ro,q]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",q]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Ro,q]}],"grid-cols":[{"grid-cols":[_o]}],"col-start-end":[{col:["auto",{span:["full",Ro,q]},q]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[_o]}],"row-start-end":[{row:["auto",{span:[Ro,q]},q]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",q]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[C]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[C]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",q,t]}],"min-w":[{"min-w":[q,t,"min","max","fit"]}],"max-w":[{"max-w":[q,t,"none","full","min","max","fit","prose",{screen:[mn]},mn]}],h:[{h:[q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",mn,pn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ol]}],"font-family":[{font:[_o]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",q]}],"line-clamp":[{"line-clamp":["none",Qr,ol]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Wt,q]}],"list-image":[{"list-image":["none",q]}],"list-style-type":[{list:["none","disc","decimal",q]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Wt,pn]}],"underline-offset":[{"underline-offset":["auto",Wt,q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),p1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",f1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},h1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Wt,q]}],"outline-w":[{outline:[Wt,pn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Wt,pn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",mn,g1]}],"shadow-color":[{shadow:[_o]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...W(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":W()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",mn,q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",q]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",q]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[Ro,q]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",q]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Wt,pn,ol]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},b1=n1(w1);function yr(...e){return b1(Fh(e))}const S1=_y,Xh=y.forwardRef(({className:e,...t},n)=>i.jsx(_h,{ref:n,className:yr("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}));Xh.displayName=_h.displayName;const j1=Oy("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Zh=y.forwardRef(({className:e,variant:t,...n},r)=>i.jsx(Oh,{ref:r,className:yr(j1({variant:t}),e),...n}));Zh.displayName=Oh.displayName;const N1=y.forwardRef(({className:e,...t},n)=>i.jsx(Dh,{ref:n,className:yr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));N1.displayName=Dh.displayName;const Jh=y.forwardRef(({className:e,...t},n)=>i.jsx(Ih,{ref:n,className:yr("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:i.jsx(ju,{className:"h-4 w-4"})}));Jh.displayName=Ih.displayName;const eg=y.forwardRef(({className:e,...t},n)=>i.jsx(Lh,{ref:n,className:yr("text-sm font-semibold",e),...t}));eg.displayName=Lh.displayName;const tg=y.forwardRef(({className:e,...t},n)=>i.jsx(Mh,{ref:n,className:yr("text-sm opacity-90",e),...t}));tg.displayName=Mh.displayName;function C1(){const{toasts:e}=$0();return i.jsxs(S1,{children:[e.map(function({id:t,title:n,description:r,action:o,...s}){return i.jsxs(Zh,{...s,children:[i.jsxs("div",{className:"grid gap-1",children:[n&&i.jsx(eg,{children:n}),r&&i.jsx(tg,{children:r})]}),o,i.jsx(Jh,{})]},t)}),i.jsx(Xh,{})]})}var df=["light","dark"],E1="(prefers-color-scheme: dark)",k1=y.createContext(void 0),P1={setTheme:e=>{},themes:[]},T1=()=>{var e;return(e=y.useContext(k1))!=null?e:P1};y.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:s,value:a,attrs:l,nonce:c})=>{let u=s==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(b=>`'${b}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?df.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(b,x=!1,w=!0)=>{let g=a?a[b]:b,m=x?b+"|| ''":`'${g}'`,v="";return o&&w&&!x&&df.includes(b)&&(v+=`d.style.colorScheme = '${b}';`),n==="class"?x||g?v+=`c.add(${m})`:v+="null":g&&(v+=`d[s](n,${m})`),v},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${E1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}${u?"":"else{"+h(s,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${h(a?"x[e]":"e",!0)}}else{${h(s,!1,!1)};}${f}}catch(t){}}();`;return y.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var A1=e=>{switch(e){case"success":return O1;case"info":return M1;case"warning":return L1;case"error":return D1;default:return null}},R1=Array(12).fill(0),_1=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},R1.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),O1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),L1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),M1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),D1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),I1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),z1=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},uc=1,F1=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:uc++,s=this.toasts.find(l=>l.id===o),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),s?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:a,title:n}):l):this.addToast({title:n,...r,dismissible:a,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,s,a=r.then(async c=>{if(s=["resolve",c],R.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(B1(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(s=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,u)=>a.then(()=>s[0]==="reject"?u(s[1]):c(s[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||uc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ve=new F1,$1=(e,t)=>{let n=(t==null?void 0:t.id)||uc++;return Ve.addToast({title:e,...t,id:n}),n},B1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",U1=$1,W1=()=>Ve.toasts,V1=()=>Ve.getActiveToasts();Object.assign(U1,{success:Ve.success,info:Ve.info,warning:Ve.warning,error:Ve.error,custom:Ve.custom,message:Ve.message,promise:Ve.promise,dismiss:Ve.dismiss,loading:Ve.loading},{getHistory:W1,getToasts:V1});function q1(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}q1(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} `);function ea(e){return e.label!==void 0}var H1=3,Q1="32px",G1="16px",ff=4e3,K1=356,Y1=14,X1=20,Z1=200;function vt(...e){return e.filter(Boolean).join(" ")}function J1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var ew=e=>{var t,n,r,o,s,a,l,c,u,d,f;let{invert:h,toast:p,unstyled:b,interacting:x,setHeights:w,visibleToasts:g,heights:m,index:v,toasts:S,expanded:j,removeToast:N,defaultRichColors:C,closeButton:T,style:O,cancelButtonStyle:_,actionButtonStyle:F,className:I="",descriptionClassName:H="",duration:L,position:K,gap:$,loadingIcon:W,expandByDefault:k,classNames:P,icons:M,closeButtonAriaLabel:V="Close toast",pauseWhenPageIsHidden:z}=e,[Q,Y]=R.useState(null),[ge,Ae]=R.useState(null),[J,Sr]=R.useState(!1),[sn,Kn]=R.useState(!1),[an,jr]=R.useState(!1),[ln,Rs]=R.useState(!1),[Ni,_s]=R.useState(!1),[Ci,bo]=R.useState(0),[Nr,Fu]=R.useState(0),So=R.useRef(p.duration||L||ff),$u=R.useRef(null),Yn=R.useRef(null),ev=v===0,tv=v+1<=g,st=p.type,Cr=p.dismissible!==!1,nv=p.className||"",rv=p.descriptionClassName||"",Os=R.useMemo(()=>m.findIndex(B=>B.toastId===p.id)||0,[m,p.id]),ov=R.useMemo(()=>{var B;return(B=p.closeButton)!=null?B:T},[p.closeButton,T]),Bu=R.useMemo(()=>p.duration||L||ff,[p.duration,L]),Ei=R.useRef(0),Er=R.useRef(0),Uu=R.useRef(0),kr=R.useRef(null),[sv,av]=K.split("-"),Wu=R.useMemo(()=>m.reduce((B,ne,ie)=>ie>=Os?B:B+ne.height,0),[m,Os]),Vu=z1(),iv=p.invert||h,ki=st==="loading";Er.current=R.useMemo(()=>Os*$+Wu,[Os,Wu]),R.useEffect(()=>{So.current=Bu},[Bu]),R.useEffect(()=>{Sr(!0)},[]),R.useEffect(()=>{let B=Yn.current;if(B){let ne=B.getBoundingClientRect().height;return Fu(ne),w(ie=>[{toastId:p.id,height:ne,position:p.position},...ie]),()=>w(ie=>ie.filter(pt=>pt.toastId!==p.id))}},[w,p.id]),R.useLayoutEffect(()=>{if(!J)return;let B=Yn.current,ne=B.style.height;B.style.height="auto";let ie=B.getBoundingClientRect().height;B.style.height=ne,Fu(ie),w(pt=>pt.find(mt=>mt.toastId===p.id)?pt.map(mt=>mt.toastId===p.id?{...mt,height:ie}:mt):[{toastId:p.id,height:ie,position:p.position},...pt])},[J,p.title,p.description,w,p.id]);let cn=R.useCallback(()=>{Kn(!0),bo(Er.current),w(B=>B.filter(ne=>ne.toastId!==p.id)),setTimeout(()=>{N(p)},Z1)},[p,N,w,Er]);R.useEffect(()=>{if(p.promise&&st==="loading"||p.duration===1/0||p.type==="loading")return;let B;return j||x||z&&Vu?(()=>{if(Uu.current{var ne;(ne=p.onAutoClose)==null||ne.call(p,p),cn()},So.current)),()=>clearTimeout(B)},[j,x,p,st,z,Vu,cn]),R.useEffect(()=>{p.delete&&cn()},[cn,p.delete]);function lv(){var B,ne,ie;return M!=null&&M.loading?R.createElement("div",{className:vt(P==null?void 0:P.loader,(B=p==null?void 0:p.classNames)==null?void 0:B.loader,"sonner-loader"),"data-visible":st==="loading"},M.loading):W?R.createElement("div",{className:vt(P==null?void 0:P.loader,(ne=p==null?void 0:p.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":st==="loading"},W):R.createElement(_1,{className:vt(P==null?void 0:P.loader,(ie=p==null?void 0:p.classNames)==null?void 0:ie.loader),visible:st==="loading"})}return R.createElement("li",{tabIndex:0,ref:Yn,className:vt(I,nv,P==null?void 0:P.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[st],(n=p==null?void 0:p.classNames)==null?void 0:n[st]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:C,"data-styled":!(p.jsx||p.unstyled||b),"data-mounted":J,"data-promise":!!p.promise,"data-swiped":Ni,"data-removed":sn,"data-visible":tv,"data-y-position":sv,"data-x-position":av,"data-index":v,"data-front":ev,"data-swiping":an,"data-dismissible":Cr,"data-type":st,"data-invert":iv,"data-swipe-out":ln,"data-swipe-direction":ge,"data-expanded":!!(j||k&&J),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${sn?Ci:Er.current}px`,"--initial-height":k?"auto":`${Nr}px`,...O,...p.style},onDragEnd:()=>{jr(!1),Y(null),kr.current=null},onPointerDown:B=>{ki||!Cr||($u.current=new Date,bo(Er.current),B.target.setPointerCapture(B.pointerId),B.target.tagName!=="BUTTON"&&(jr(!0),kr.current={x:B.clientX,y:B.clientY}))},onPointerUp:()=>{var B,ne,ie,pt;if(ln||!Cr)return;kr.current=null;let mt=Number(((B=Yn.current)==null?void 0:B.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),un=Number(((ne=Yn.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Xn=new Date().getTime()-((ie=$u.current)==null?void 0:ie.getTime()),ht=Q==="x"?mt:un,dn=Math.abs(ht)/Xn;if(Math.abs(ht)>=X1||dn>.11){bo(Er.current),(pt=p.onDismiss)==null||pt.call(p,p),Ae(Q==="x"?mt>0?"right":"left":un>0?"down":"up"),cn(),Rs(!0),_s(!1);return}jr(!1),Y(null)},onPointerMove:B=>{var ne,ie,pt,mt;if(!kr.current||!Cr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let un=B.clientY-kr.current.y,Xn=B.clientX-kr.current.x,ht=(ie=e.swipeDirections)!=null?ie:J1(K);!Q&&(Math.abs(Xn)>1||Math.abs(un)>1)&&Y(Math.abs(Xn)>Math.abs(un)?"x":"y");let dn={x:0,y:0};Q==="y"?(ht.includes("top")||ht.includes("bottom"))&&(ht.includes("top")&&un<0||ht.includes("bottom")&&un>0)&&(dn.y=un):Q==="x"&&(ht.includes("left")||ht.includes("right"))&&(ht.includes("left")&&Xn<0||ht.includes("right")&&Xn>0)&&(dn.x=Xn),(Math.abs(dn.x)>0||Math.abs(dn.y)>0)&&_s(!0),(pt=Yn.current)==null||pt.style.setProperty("--swipe-amount-x",`${dn.x}px`),(mt=Yn.current)==null||mt.style.setProperty("--swipe-amount-y",`${dn.y}px`)}},ov&&!p.jsx?R.createElement("button",{"aria-label":V,"data-disabled":ki,"data-close-button":!0,onClick:ki||!Cr?()=>{}:()=>{var B;cn(),(B=p.onDismiss)==null||B.call(p,p)},className:vt(P==null?void 0:P.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(s=M==null?void 0:M.close)!=null?s:I1):null,p.jsx||y.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:R.createElement(R.Fragment,null,st||p.icon||p.promise?R.createElement("div",{"data-icon":"",className:vt(P==null?void 0:P.icon,(a=p==null?void 0:p.classNames)==null?void 0:a.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||lv():null,p.type!=="loading"?p.icon||(M==null?void 0:M[st])||A1(st):null):null,R.createElement("div",{"data-content":"",className:vt(P==null?void 0:P.content,(l=p==null?void 0:p.classNames)==null?void 0:l.content)},R.createElement("div",{"data-title":"",className:vt(P==null?void 0:P.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?R.createElement("div",{"data-description":"",className:vt(H,rv,P==null?void 0:P.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),y.isValidElement(p.cancel)?p.cancel:p.cancel&&ea(p.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||_,onClick:B=>{var ne,ie;ea(p.cancel)&&Cr&&((ie=(ne=p.cancel).onClick)==null||ie.call(ne,B),cn())},className:vt(P==null?void 0:P.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,y.isValidElement(p.action)?p.action:p.action&&ea(p.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||F,onClick:B=>{var ne,ie;ea(p.action)&&((ie=(ne=p.action).onClick)==null||ie.call(ne,B),!B.defaultPrevented&&cn())},className:vt(P==null?void 0:P.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function pf(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function tw(e,t){let n={};return[e,t].forEach((r,o)=>{let s=o===1,a=s?"--mobile-offset":"--offset",l=s?G1:Q1;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=l:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}var nw=y.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:a,className:l,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:b=H1,toastOptions:x,dir:w=pf(),gap:g=Y1,loadingIcon:m,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:j}=e,[N,C]=R.useState([]),T=R.useMemo(()=>Array.from(new Set([r].concat(N.filter(z=>z.position).map(z=>z.position)))),[N,r]),[O,_]=R.useState([]),[F,I]=R.useState(!1),[H,L]=R.useState(!1),[K,$]=R.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),W=R.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=R.useRef(null),M=R.useRef(!1),V=R.useCallback(z=>{C(Q=>{var Y;return(Y=Q.find(ge=>ge.id===z.id))!=null&&Y.delete||Ve.dismiss(z.id),Q.filter(({id:ge})=>ge!==z.id)})},[]);return R.useEffect(()=>Ve.subscribe(z=>{if(z.dismiss){C(Q=>Q.map(Y=>Y.id===z.id?{...Y,delete:!0}:Y));return}setTimeout(()=>{uh.flushSync(()=>{C(Q=>{let Y=Q.findIndex(ge=>ge.id===z.id);return Y!==-1?[...Q.slice(0,Y),{...Q[Y],...z},...Q.slice(Y+1)]:[z,...Q]})})})}),[]),R.useEffect(()=>{if(d!=="system"){$(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{$(Q?"dark":"light")})}catch{z.addListener(({matches:Y})=>{try{$(Y?"dark":"light")}catch(ge){console.error(ge)}})}},[d]),R.useEffect(()=>{N.length<=1&&I(!1)},[N]),R.useEffect(()=>{let z=Q=>{var Y,ge;o.every(Ae=>Q[Ae]||Q.code===Ae)&&(I(!0),(Y=W.current)==null||Y.focus()),Q.code==="Escape"&&(document.activeElement===W.current||(ge=W.current)!=null&&ge.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),R.useEffect(()=>{if(W.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,M.current=!1)}},[W.current]),R.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((z,Q)=>{var Y;let[ge,Ae]=z.split("-");return N.length?R.createElement("ol",{key:z,dir:w==="auto"?pf():w,tabIndex:-1,ref:W,className:l,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":ge,"data-lifted":F&&N.length>1&&!s,"data-x-position":Ae,style:{"--front-toast-height":`${((Y=O[0])==null?void 0:Y.height)||0}px`,"--width":`${K1}px`,"--gap":`${g}px`,...p,...tw(c,u)},onBlur:J=>{M.current&&!J.currentTarget.contains(J.relatedTarget)&&(M.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||M.current||(M.current=!0,P.current=J.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{H||I(!1)},onDragEnd:()=>I(!1),onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},N.filter(J=>!J.position&&Q===0||J.position===z).map((J,Sr)=>{var sn,Kn;return R.createElement(ew,{key:J.id,icons:v,index:Sr,toast:J,defaultRichColors:f,duration:(sn=x==null?void 0:x.duration)!=null?sn:h,className:x==null?void 0:x.className,descriptionClassName:x==null?void 0:x.descriptionClassName,invert:n,visibleToasts:b,closeButton:(Kn=x==null?void 0:x.closeButton)!=null?Kn:a,interacting:H,position:z,style:x==null?void 0:x.style,unstyled:x==null?void 0:x.unstyled,classNames:x==null?void 0:x.classNames,cancelButtonStyle:x==null?void 0:x.cancelButtonStyle,actionButtonStyle:x==null?void 0:x.actionButtonStyle,removeToast:V,toasts:N.filter(an=>an.position==J.position),heights:O.filter(an=>an.position==J.position),setHeights:_,expandByDefault:s,gap:g,loadingIcon:m,expanded:F,pauseWhenPageIsHidden:j,swipeDirections:e.swipeDirections})})):null}))});const rw=({...e})=>{const{theme:t="system"}=T1();return i.jsx(nw,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},ow=["top","right","bottom","left"],Un=Math.min,Ze=Math.max,Ua=Math.round,ta=Math.floor,Ft=e=>({x:e,y:e}),sw={left:"right",right:"left",bottom:"top",top:"bottom"},aw={start:"end",end:"start"};function dc(e,t,n){return Ze(e,Un(t,n))}function nn(e,t){return typeof e=="function"?e(t):e}function rn(e){return e.split("-")[0]}function xo(e){return e.split("-")[1]}function Cu(e){return e==="x"?"y":"x"}function Eu(e){return e==="y"?"height":"width"}const iw=new Set(["top","bottom"]);function Dt(e){return iw.has(rn(e))?"y":"x"}function ku(e){return Cu(Dt(e))}function lw(e,t,n){n===void 0&&(n=!1);const r=xo(e),o=ku(e),s=Eu(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Wa(a)),[a,Wa(a)]}function cw(e){const t=Wa(e);return[fc(e),t,fc(t)]}function fc(e){return e.replace(/start|end/g,t=>aw[t])}const mf=["left","right"],hf=["right","left"],uw=["top","bottom"],dw=["bottom","top"];function fw(e,t,n){switch(e){case"top":case"bottom":return n?t?hf:mf:t?mf:hf;case"left":case"right":return t?uw:dw;default:return[]}}function pw(e,t,n,r){const o=xo(e);let s=fw(rn(e),n==="start",r);return o&&(s=s.map(a=>a+"-"+o),t&&(s=s.concat(s.map(fc)))),s}function Wa(e){return e.replace(/left|right|bottom|top/g,t=>sw[t])}function mw(e){return{top:0,right:0,bottom:0,left:0,...e}}function ng(e){return typeof e!="number"?mw(e):{top:e,right:e,bottom:e,left:e}}function Va(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function gf(e,t,n){let{reference:r,floating:o}=e;const s=Dt(t),a=ku(t),l=Eu(a),c=rn(t),u=s==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[l]/2-o[l]/2;let p;switch(c){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(xo(t)){case"start":p[a]-=h*(n&&u?-1:1);break;case"end":p[a]+=h*(n&&u?-1:1);break}return p}const hw=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:a}=n,l=s.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=gf(u,r,c),h=r,p={},b=0;for(let x=0;x({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:a,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=nn(e,t)||{};if(u==null)return{};const f=ng(d),h={x:n,y:r},p=ku(o),b=Eu(p),x=await a.getDimensions(u),w=p==="y",g=w?"top":"left",m=w?"bottom":"right",v=w?"clientHeight":"clientWidth",S=s.reference[b]+s.reference[p]-h[p]-s.floating[b],j=h[p]-s.reference[p],N=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=N?N[v]:0;(!C||!await(a.isElement==null?void 0:a.isElement(N)))&&(C=l.floating[v]||s.floating[b]);const T=S/2-j/2,O=C/2-x[b]/2-1,_=Un(f[g],O),F=Un(f[m],O),I=_,H=C-x[b]-F,L=C/2-x[b]/2+T,K=dc(I,L,H),$=!c.arrow&&xo(o)!=null&&L!==K&&s.reference[b]/2-(LL<=0)){var F,I;const L=(((F=s.flip)==null?void 0:F.index)||0)+1,K=C[L];if(K&&(!(f==="alignment"?m!==Dt(K):!1)||_.every(k=>k.overflows[0]>0&&Dt(k.placement)===m)))return{data:{index:L,overflows:_},reset:{placement:K}};let $=(I=_.filter(W=>W.overflows[0]<=0).sort((W,k)=>W.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!$)switch(p){case"bestFit":{var H;const W=(H=_.filter(k=>{if(N){const P=Dt(k.placement);return P===m||P==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(P=>P>0).reduce((P,M)=>P+M,0)]).sort((k,P)=>k[1]-P[1])[0])==null?void 0:H[0];W&&($=W);break}case"initialPlacement":$=l;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function vf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xf(e){return ow.some(t=>e[t]>=0)}const xw=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=nn(e,t);switch(r){case"referenceHidden":{const s=await ds(t,{...o,elementContext:"reference"}),a=vf(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:xf(a)}}}case"escaped":{const s=await ds(t,{...o,altBoundary:!0}),a=vf(s,n.floating);return{data:{escapedOffsets:a,escaped:xf(a)}}}default:return{}}}}},rg=new Set(["left","top"]);async function yw(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=rn(n),l=xo(n),c=Dt(n)==="y",u=rg.has(a)?-1:1,d=s&&c?-1:1,f=nn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof b=="number"&&(p=l==="end"?b*-1:b),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const ww=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:s,placement:a,middlewareData:l}=t,c=await yw(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:s+c.y,data:{...c,placement:a}}}}},bw=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:l={fn:w=>{let{x:g,y:m}=w;return{x:g,y:m}}},...c}=nn(e,t),u={x:n,y:r},d=await ds(t,c),f=Dt(rn(o)),h=Cu(f);let p=u[h],b=u[f];if(s){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+d[w],v=p-d[g];p=dc(m,p,v)}if(a){const w=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=b+d[w],v=b-d[g];b=dc(m,b,v)}const x=l.fn({...t,[h]:p,[f]:b});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:s,[f]:a}}}}}},Sw=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:s,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=nn(e,t),d={x:n,y:r},f=Dt(o),h=Cu(f);let p=d[h],b=d[f];const x=nn(l,t),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){const v=h==="y"?"height":"width",S=s.reference[h]-s.floating[v]+w.mainAxis,j=s.reference[h]+s.reference[v]-w.mainAxis;pj&&(p=j)}if(u){var g,m;const v=h==="y"?"width":"height",S=rg.has(rn(o)),j=s.reference[f]-s.floating[v]+(S&&((g=a.offset)==null?void 0:g[f])||0)+(S?0:w.crossAxis),N=s.reference[f]+s.reference[v]+(S?0:((m=a.offset)==null?void 0:m[f])||0)-(S?w.crossAxis:0);bN&&(b=N)}return{[h]:p,[f]:b}}}},jw=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:s,platform:a,elements:l}=t,{apply:c=()=>{},...u}=nn(e,t),d=await ds(t,u),f=rn(o),h=xo(o),p=Dt(o)==="y",{width:b,height:x}=s.floating;let w,g;f==="top"||f==="bottom"?(w=f,g=h===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(g=f,w=h==="end"?"top":"bottom");const m=x-d.top-d.bottom,v=b-d.left-d.right,S=Un(x-d[w],m),j=Un(b-d[g],v),N=!t.middlewareData.shift;let C=S,T=j;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=m),N&&!h){const _=Ze(d.left,0),F=Ze(d.right,0),I=Ze(d.top,0),H=Ze(d.bottom,0);p?T=b-2*(_!==0||F!==0?_+F:Ze(d.left,d.right)):C=x-2*(I!==0||H!==0?I+H:Ze(d.top,d.bottom))}await c({...t,availableWidth:T,availableHeight:C});const O=await a.getDimensions(l.floating);return b!==O.width||x!==O.height?{reset:{rects:!0}}:{}}}};function hi(){return typeof window<"u"}function yo(e){return og(e)?(e.nodeName||"").toLowerCase():"#document"}function tt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Bt(e){var t;return(t=(og(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function og(e){return hi()?e instanceof Node||e instanceof tt(e).Node:!1}function Pt(e){return hi()?e instanceof Element||e instanceof tt(e).Element:!1}function $t(e){return hi()?e instanceof HTMLElement||e instanceof tt(e).HTMLElement:!1}function yf(e){return!hi()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof tt(e).ShadowRoot}const Nw=new Set(["inline","contents"]);function Ps(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Nw.has(o)}const Cw=new Set(["table","td","th"]);function Ew(e){return Cw.has(yo(e))}const kw=[":popover-open",":modal"];function gi(e){return kw.some(t=>{try{return e.matches(t)}catch{return!1}})}const Pw=["transform","translate","scale","rotate","perspective"],Tw=["transform","translate","scale","rotate","perspective","filter"],Aw=["paint","layout","strict","content"];function Pu(e){const t=Tu(),n=Pt(e)?Tt(e):e;return Pw.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Tw.some(r=>(n.willChange||"").includes(r))||Aw.some(r=>(n.contain||"").includes(r))}function Rw(e){let t=Wn(e);for(;$t(t)&&!fo(t);){if(Pu(t))return t;if(gi(t))return null;t=Wn(t)}return null}function Tu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const _w=new Set(["html","body","#document"]);function fo(e){return _w.has(yo(e))}function Tt(e){return tt(e).getComputedStyle(e)}function vi(e){return Pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Wn(e){if(yo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yf(e)&&e.host||Bt(e);return yf(t)?t.host:t}function sg(e){const t=Wn(e);return fo(t)?e.ownerDocument?e.ownerDocument.body:e.body:$t(t)&&Ps(t)?t:sg(t)}function fs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=sg(e),s=o===((r=e.ownerDocument)==null?void 0:r.body),a=tt(o);if(s){const l=pc(a);return t.concat(a,a.visualViewport||[],Ps(o)?o:[],l&&n?fs(l):[])}return t.concat(o,fs(o,[],n))}function pc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ag(e){const t=Tt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=$t(e),s=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Ua(n)!==s||Ua(r)!==a;return l&&(n=s,r=a),{width:n,height:r,$:l}}function Au(e){return Pt(e)?e:e.contextElement}function Gr(e){const t=Au(e);if(!$t(t))return Ft(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:s}=ag(t);let a=(s?Ua(n.width):n.width)/r,l=(s?Ua(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Ow=Ft(0);function ig(e){const t=tt(e);return!Tu()||!t.visualViewport?Ow:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Lw(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==tt(e)?!1:t}function gr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=Au(e);let a=Ft(1);t&&(r?Pt(r)&&(a=Gr(r)):a=Gr(e));const l=Lw(s,n,r)?ig(s):Ft(0);let c=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,d=o.width/a.x,f=o.height/a.y;if(s){const h=tt(s),p=r&&Pt(r)?tt(r):r;let b=h,x=pc(b);for(;x&&r&&p!==b;){const w=Gr(x),g=x.getBoundingClientRect(),m=Tt(x),v=g.left+(x.clientLeft+parseFloat(m.paddingLeft))*w.x,S=g.top+(x.clientTop+parseFloat(m.paddingTop))*w.y;c*=w.x,u*=w.y,d*=w.x,f*=w.y,c+=v,u+=S,b=tt(x),x=pc(b)}}return Va({width:d,height:f,x:c,y:u})}function Ru(e,t){const n=vi(e).scrollLeft;return t?t.left+n:gr(Bt(e)).left+n}function lg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Ru(e,r)),s=r.top+t.scrollTop;return{x:o,y:s}}function Mw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const s=o==="fixed",a=Bt(r),l=t?gi(t.floating):!1;if(r===a||l&&s)return n;let c={scrollLeft:0,scrollTop:0},u=Ft(1);const d=Ft(0),f=$t(r);if((f||!f&&!s)&&((yo(r)!=="body"||Ps(a))&&(c=vi(r)),$t(r))){const p=gr(r);u=Gr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=a&&!f&&!s?lg(a,c,!0):Ft(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function Dw(e){return Array.from(e.getClientRects())}function Iw(e){const t=Bt(e),n=vi(e),r=e.ownerDocument.body,o=Ze(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Ze(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Ru(e);const l=-n.scrollTop;return Tt(r).direction==="rtl"&&(a+=Ze(t.clientWidth,r.clientWidth)-o),{width:o,height:s,x:a,y:l}}function zw(e,t){const n=tt(e),r=Bt(e),o=n.visualViewport;let s=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){s=o.width,a=o.height;const u=Tu();(!u||u&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:s,height:a,x:l,y:c}}const Fw=new Set(["absolute","fixed"]);function $w(e,t){const n=gr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,s=$t(e)?Gr(e):Ft(1),a=e.clientWidth*s.x,l=e.clientHeight*s.y,c=o*s.x,u=r*s.y;return{width:a,height:l,x:c,y:u}}function wf(e,t,n){let r;if(t==="viewport")r=zw(e,n);else if(t==="document")r=Iw(Bt(e));else if(Pt(t))r=$w(t,n);else{const o=ig(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Va(r)}function cg(e,t){const n=Wn(e);return n===t||!Pt(n)||fo(n)?!1:Tt(n).position==="fixed"||cg(n,t)}function Bw(e,t){const n=t.get(e);if(n)return n;let r=fs(e,[],!1).filter(l=>Pt(l)&&yo(l)!=="body"),o=null;const s=Tt(e).position==="fixed";let a=s?Wn(e):e;for(;Pt(a)&&!fo(a);){const l=Tt(a),c=Pu(a);!c&&l.position==="fixed"&&(o=null),(s?!c&&!o:!c&&l.position==="static"&&!!o&&Fw.has(o.position)||Ps(a)&&!c&&cg(e,a))?r=r.filter(d=>d!==a):o=l,a=Wn(a)}return t.set(e,r),r}function Uw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?gi(t)?[]:Bw(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,d)=>{const f=wf(t,d,o);return u.top=Ze(f.top,u.top),u.right=Un(f.right,u.right),u.bottom=Un(f.bottom,u.bottom),u.left=Ze(f.left,u.left),u},wf(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Ww(e){const{width:t,height:n}=ag(e);return{width:t,height:n}}function Vw(e,t,n){const r=$t(t),o=Bt(t),s=n==="fixed",a=gr(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const c=Ft(0);function u(){c.x=Ru(o)}if(r||!r&&!s)if((yo(t)!=="body"||Ps(o))&&(l=vi(t)),r){const p=gr(t,!0,s,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else o&&u();s&&!r&&o&&u();const d=o&&!r&&!s?lg(o,l):Ft(0),f=a.left+l.scrollLeft-c.x-d.x,h=a.top+l.scrollTop-c.y-d.y;return{x:f,y:h,width:a.width,height:a.height}}function sl(e){return Tt(e).position==="static"}function bf(e,t){if(!$t(e)||Tt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Bt(e)===n&&(n=n.ownerDocument.body),n}function ug(e,t){const n=tt(e);if(gi(e))return n;if(!$t(e)){let o=Wn(e);for(;o&&!fo(o);){if(Pt(o)&&!sl(o))return o;o=Wn(o)}return n}let r=bf(e,t);for(;r&&Ew(r)&&sl(r);)r=bf(r,t);return r&&fo(r)&&sl(r)&&!Pu(r)?n:r||Rw(e)||n}const qw=async function(e){const t=this.getOffsetParent||ug,n=this.getDimensions,r=await n(e.floating);return{reference:Vw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Hw(e){return Tt(e).direction==="rtl"}const Qw={convertOffsetParentRelativeRectToViewportRelativeRect:Mw,getDocumentElement:Bt,getClippingRect:Uw,getOffsetParent:ug,getElementRects:qw,getClientRects:Dw,getDimensions:Ww,getScale:Gr,isElement:Pt,isRTL:Hw};function dg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Gw(e,t){let n=null,r;const o=Bt(e);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(l||t(),!h||!p)return;const b=ta(f),x=ta(o.clientWidth-(d+h)),w=ta(o.clientHeight-(f+p)),g=ta(d),v={rootMargin:-b+"px "+-x+"px "+-w+"px "+-g+"px",threshold:Ze(0,Un(1,c))||1};let S=!0;function j(N){const C=N[0].intersectionRatio;if(C!==c){if(!S)return a();C?a(!1,C):r=setTimeout(()=>{a(!1,1e-7)},1e3)}C===1&&!dg(u,e.getBoundingClientRect())&&a(),S=!1}try{n=new IntersectionObserver(j,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(j,v)}n.observe(e)}return a(!0),s}function Kw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Au(e),d=o||s?[...u?fs(u):[],...fs(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});const f=u&&l?Gw(u,n):null;let h=-1,p=null;a&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let b,x=c?gr(e):null;c&&w();function w(){const g=gr(e);x&&!dg(x,g)&&n(),x=g,b=requestAnimationFrame(w)}return n(),()=>{var g;d.forEach(m=>{o&&m.removeEventListener("scroll",n),s&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(b)}}const Yw=ww,Xw=bw,Zw=vw,Jw=jw,eb=xw,Sf=gw,tb=Sw,nb=(e,t,n)=>{const r=new Map,o={platform:Qw,...n},s={...o.platform,_c:r};return hw(e,t,{...o,platform:s})};var rb=typeof document<"u",ob=function(){},va=rb?y.useLayoutEffect:ob;function qa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!qa(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const s=o[r];if(!(s==="_owner"&&e.$$typeof)&&!qa(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function fg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jf(e,t){const n=fg(e);return Math.round(t*n)/n}function al(e){const t=y.useRef(e);return va(()=>{t.current=e}),t}function sb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=y.useState(r);qa(h,r)||p(r);const[b,x]=y.useState(null),[w,g]=y.useState(null),m=y.useCallback(k=>{k!==N.current&&(N.current=k,x(k))},[]),v=y.useCallback(k=>{k!==C.current&&(C.current=k,g(k))},[]),S=s||b,j=a||w,N=y.useRef(null),C=y.useRef(null),T=y.useRef(d),O=c!=null,_=al(c),F=al(o),I=al(u),H=y.useCallback(()=>{if(!N.current||!C.current)return;const k={placement:t,strategy:n,middleware:h};F.current&&(k.platform=F.current),nb(N.current,C.current,k).then(P=>{const M={...P,isPositioned:I.current!==!1};L.current&&!qa(T.current,M)&&(T.current=M,Cs.flushSync(()=>{f(M)}))})},[h,t,n,F,I]);va(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(k=>({...k,isPositioned:!1})))},[u]);const L=y.useRef(!1);va(()=>(L.current=!0,()=>{L.current=!1}),[]),va(()=>{if(S&&(N.current=S),j&&(C.current=j),S&&j){if(_.current)return _.current(S,j,H);H()}},[S,j,H,_,O]);const K=y.useMemo(()=>({reference:N,floating:C,setReference:m,setFloating:v}),[m,v]),$=y.useMemo(()=>({reference:S,floating:j}),[S,j]),W=y.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const P=jf($.floating,d.x),M=jf($.floating,d.y);return l?{...k,transform:"translate("+P+"px, "+M+"px)",...fg($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:M}},[n,l,$.floating,d.x,d.y]);return y.useMemo(()=>({...d,update:H,refs:K,elements:$,floatingStyles:W}),[d,H,K,$,W])}const ab=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Sf({element:r.current,padding:o}).fn(n):{}:r?Sf({element:r,padding:o}).fn(n):{}}}},ib=(e,t)=>({...Yw(e),options:[e,t]}),lb=(e,t)=>({...Xw(e),options:[e,t]}),cb=(e,t)=>({...tb(e),options:[e,t]}),ub=(e,t)=>({...Zw(e),options:[e,t]}),db=(e,t)=>({...Jw(e),options:[e,t]}),fb=(e,t)=>({...eb(e),options:[e,t]}),pb=(e,t)=>({...ab(e),options:[e,t]});var mb="Arrow",pg=y.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return i.jsx(Ye.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:i.jsx("polygon",{points:"0,0 30,0 15,10"})})});pg.displayName=mb;var hb=pg;function gb(e){const[t,n]=y.useState(void 0);return Bn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,l;if("borderBoxSize"in s){const c=s.borderBoxSize,u=Array.isArray(c)?c[0]:c;a=u.inlineSize,l=u.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var mg="Popper",[hg,gg]=di(mg),[Ej,vg]=hg(mg),xg="PopperAnchor",yg=y.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=vg(xg,n),a=y.useRef(null),l=kt(t,a);return y.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:i.jsx(Ye.div,{...o,ref:l})});yg.displayName=xg;var _u="PopperContent",[vb,xb]=hg(_u),wg=y.forwardRef((e,t)=>{var J,Sr,sn,Kn,an,jr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:b,...x}=e,w=vg(_u,n),[g,m]=y.useState(null),v=kt(t,ln=>m(ln)),[S,j]=y.useState(null),N=gb(S),C=(N==null?void 0:N.width)??0,T=(N==null?void 0:N.height)??0,O=r+(s!=="center"?"-"+s:""),_=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(u)?u:[u],I=F.length>0,H={padding:_,boundary:F.filter(wb),altBoundary:I},{refs:L,floatingStyles:K,placement:$,isPositioned:W,middlewareData:k}=sb({strategy:"fixed",placement:O,whileElementsMounted:(...ln)=>Kw(...ln,{animationFrame:p==="always"}),elements:{reference:w.anchor},middleware:[ib({mainAxis:o+T,alignmentAxis:a}),c&&lb({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?cb():void 0,...H}),c&&ub({...H}),db({...H,apply:({elements:ln,rects:Rs,availableWidth:Ni,availableHeight:_s})=>{const{width:Ci,height:bo}=Rs.reference,Nr=ln.floating.style;Nr.setProperty("--radix-popper-available-width",`${Ni}px`),Nr.setProperty("--radix-popper-available-height",`${_s}px`),Nr.setProperty("--radix-popper-anchor-width",`${Ci}px`),Nr.setProperty("--radix-popper-anchor-height",`${bo}px`)}}),S&&pb({element:S,padding:l}),bb({arrowWidth:C,arrowHeight:T}),h&&fb({strategy:"referenceHidden",...H})]}),[P,M]=jg($),V=$n(b);Bn(()=>{W&&(V==null||V())},[W,V]);const z=(J=k.arrow)==null?void 0:J.x,Q=(Sr=k.arrow)==null?void 0:Sr.y,Y=((sn=k.arrow)==null?void 0:sn.centerOffset)!==0,[ge,Ae]=y.useState();return Bn(()=>{g&&Ae(window.getComputedStyle(g).zIndex)},[g]),i.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:W?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[(Kn=k.transformOrigin)==null?void 0:Kn.x,(an=k.transformOrigin)==null?void 0:an.y].join(" "),...((jr=k.hide)==null?void 0:jr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:i.jsx(vb,{scope:n,placedSide:P,onArrowChange:j,arrowX:z,arrowY:Q,shouldHideArrow:Y,children:i.jsx(Ye.div,{"data-side":P,"data-align":M,...x,ref:v,style:{...x.style,animation:W?void 0:"none"}})})})});wg.displayName=_u;var bg="PopperArrow",yb={top:"bottom",right:"left",bottom:"top",left:"right"},Sg=y.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=xb(bg,r),a=yb[s.placedSide];return i.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:i.jsx(hb,{...o,ref:n,style:{...o.style,display:"block"}})})});Sg.displayName=bg;function wb(e){return e!==null}var bb=e=>({name:"transformOrigin",options:e,fn(t){var w,g,m;const{placement:n,rects:r,middlewareData:o}=t,a=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[u,d]=jg(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=o.arrow)==null?void 0:g.x)??0)+l/2,p=(((m=o.arrow)==null?void 0:m.y)??0)+c/2;let b="",x="";return u==="bottom"?(b=a?f:`${h}px`,x=`${-c}px`):u==="top"?(b=a?f:`${h}px`,x=`${r.floating.height+c}px`):u==="right"?(b=`${-c}px`,x=a?f:`${p}px`):u==="left"&&(b=`${r.floating.width+c}px`,x=a?f:`${p}px`),{data:{x:b,y:x}}}});function jg(e){const[t,n="center"]=e.split("-");return[t,n]}var Sb=yg,jb=wg,Nb=Sg,[xi,kj]=di("Tooltip",[gg]),Ou=gg(),Ng="TooltipProvider",Cb=700,Nf="tooltip.open",[Eb,Cg]=xi(Ng),Eg=e=>{const{__scopeTooltip:t,delayDuration:n=Cb,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,a=y.useRef(!0),l=y.useRef(!1),c=y.useRef(0);return y.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),i.jsx(Eb,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:y.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:y.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:s})};Eg.displayName=Ng;var kg="Tooltip",[Pj,yi]=xi(kg),mc="TooltipTrigger",kb=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=yi(mc,n),s=Cg(mc,n),a=Ou(n),l=y.useRef(null),c=kt(t,l,o.onTriggerChange),u=y.useRef(!1),d=y.useRef(!1),f=y.useCallback(()=>u.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),i.jsx(Sb,{asChild:!0,...a,children:i.jsx(Ye.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:we(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:we(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:we(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:we(e.onBlur,o.onClose),onClick:we(e.onClick,o.onClose)})})});kb.displayName=mc;var Pb="TooltipPortal",[Tj,Tb]=xi(Pb,{forceMount:void 0}),po="TooltipContent",Pg=y.forwardRef((e,t)=>{const n=Tb(po,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,a=yi(po,e.__scopeTooltip);return i.jsx(vu,{present:r||a.open,children:a.disableHoverableContent?i.jsx(Tg,{side:o,...s,ref:t}):i.jsx(Ab,{side:o,...s,ref:t})})}),Ab=y.forwardRef((e,t)=>{const n=yi(po,e.__scopeTooltip),r=Cg(po,e.__scopeTooltip),o=y.useRef(null),s=kt(t,o),[a,l]=y.useState(null),{trigger:c,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,h=y.useCallback(()=>{l(null),f(!1)},[f]),p=y.useCallback((b,x)=>{const w=b.currentTarget,g={x:b.clientX,y:b.clientY},m=Mb(g,w.getBoundingClientRect()),v=Db(g,m),S=Ib(x.getBoundingClientRect()),j=Fb([...v,...S]);l(j),f(!0)},[f]);return y.useEffect(()=>()=>h(),[h]),y.useEffect(()=>{if(c&&d){const b=w=>p(w,d),x=w=>p(w,c);return c.addEventListener("pointerleave",b),d.addEventListener("pointerleave",x),()=>{c.removeEventListener("pointerleave",b),d.removeEventListener("pointerleave",x)}}},[c,d,p,h]),y.useEffect(()=>{if(a){const b=x=>{const w=x.target,g={x:x.clientX,y:x.clientY},m=(c==null?void 0:c.contains(w))||(d==null?void 0:d.contains(w)),v=!zb(g,a);m?h():v&&(h(),u())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[c,d,a,u,h]),i.jsx(Tg,{...e,ref:s})}),[Rb,_b]=xi(kg,{isInside:!1}),Ob=W0("TooltipContent"),Tg=y.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...l}=e,c=yi(po,n),u=Ou(n),{onClose:d}=c;return y.useEffect(()=>(document.addEventListener(Nf,d),()=>document.removeEventListener(Nf,d)),[d]),y.useEffect(()=>{if(c.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),i.jsx(gu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:i.jsxs(jb,{"data-state":c.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[i.jsx(Ob,{children:r}),i.jsx(Rb,{scope:n,isInside:!0,children:i.jsx(my,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Pg.displayName=po;var Ag="TooltipArrow",Lb=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Ou(n);return _b(Ag,n).isInside?null:i.jsx(Nb,{...o,...r,ref:t})});Lb.displayName=Ag;function Mb(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Db(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ib(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function zb(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,a=t.length-1;sr!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(o=!o)}return o}function Fb(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),$b(t)}function $b(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Bb=Eg,Rg=Pg;const Ub=Bb,Wb=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>i.jsx(Rg,{ref:r,sideOffset:t,className:yr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));Wb.displayName=Rg.displayName;var wi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},bi=typeof window>"u"||"Deno"in globalThis;function yt(){}function Vb(e,t){return typeof e=="function"?e(t):e}function qb(e){return typeof e=="number"&&e>=0&&e!==1/0}function Hb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function hc(e,t){return typeof e=="function"?e(t):e}function Qb(e,t){return typeof e=="function"?e(t):e}function Cf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:s,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==Lu(a,t.options))return!1}else if(!ms(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||s&&!s(t))}function Ef(e,t){const{exact:n,status:r,predicate:o,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(ps(t.options.mutationKey)!==ps(s))return!1}else if(!ms(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Lu(e,t){return((t==null?void 0:t.queryKeyHashFn)||ps)(e)}function ps(e){return JSON.stringify(e,(t,n)=>gc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function ms(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>ms(e[n],t[n])):!1}function _g(e,t){if(e===t)return e;const n=kf(e)&&kf(t);if(n||gc(e)&&gc(t)){const r=n?e:Object.keys(e),o=r.length,s=n?t:Object.keys(t),a=s.length,l=n?[]:{},c=new Set(r);let u=0;for(let d=0;d{setTimeout(t,e)})}function Kb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?_g(e,t):t}function Yb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Xb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Mu=Symbol();function Og(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Mu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var rr,bn,Yr,Uf,Zb=(Uf=class extends wi{constructor(){super();Z(this,rr);Z(this,bn);Z(this,Yr);U(this,Yr,t=>{if(!bi&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,bn)||this.setEventListener(E(this,Yr))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,bn))==null||t.call(this),U(this,bn,void 0))}setEventListener(t){var n;U(this,Yr,t),(n=E(this,bn))==null||n.call(this),U(this,bn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,rr)!==t&&(U(this,rr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,rr)=="boolean"?E(this,rr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},rr=new WeakMap,bn=new WeakMap,Yr=new WeakMap,Uf),Lg=new Zb,Xr,Sn,Zr,Wf,Jb=(Wf=class extends wi{constructor(){super();Z(this,Xr,!0);Z(this,Sn);Z(this,Zr);U(this,Zr,t=>{if(!bi&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){E(this,Sn)||this.setEventListener(E(this,Zr))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,Sn))==null||t.call(this),U(this,Sn,void 0))}setEventListener(t){var n;U(this,Zr,t),(n=E(this,Sn))==null||n.call(this),U(this,Sn,t(this.setOnline.bind(this)))}setOnline(t){E(this,Xr)!==t&&(U(this,Xr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return E(this,Xr)}},Xr=new WeakMap,Sn=new WeakMap,Zr=new WeakMap,Wf),Ha=new Jb;function e2(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function t2(e){return Math.min(1e3*2**e,3e4)}function Mg(e){return(e??"online")==="online"?Ha.isOnline():!0}var Dg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function il(e){return e instanceof Dg}function Ig(e){let t=!1,n=0,r=!1,o;const s=e2(),a=x=>{var w;r||(h(new Dg(x)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},c=()=>{t=!1},u=()=>Lg.isFocused()&&(e.networkMode==="always"||Ha.isOnline())&&e.canRun(),d=()=>Mg(e.networkMode)&&e.canRun(),f=x=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,x),o==null||o(),s.resolve(x))},h=x=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,x),o==null||o(),s.reject(x))},p=()=>new Promise(x=>{var w;o=g=>{(r||u())&&x(g)},(w=e.onPause)==null||w.call(e)}).then(()=>{var x;o=void 0,r||(x=e.onContinue)==null||x.call(e)}),b=()=>{if(r)return;let x;const w=n===0?e.initialPromise:void 0;try{x=w??e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(f).catch(g=>{var N;if(r)return;const m=e.retry??(bi?0:3),v=e.retryDelay??t2,S=typeof v=="function"?v(n,g):v,j=m===!0||typeof m=="number"&&nu()?void 0:p()).then(()=>{t?h(g):b()})})};return{promise:s,cancel:a,continue:()=>(o==null||o(),s),cancelRetry:l,continueRetry:c,canStart:d,start:()=>(d()?b():p().then(b),s)}}var n2=e=>setTimeout(e,0);function r2(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=n2;const s=l=>{t?e.push(l):o(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{s(()=>{l(...c)})},schedule:s,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var $e=r2(),or,Vf,zg=(Vf=class{constructor(){Z(this,or)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),qb(this.gcTime)&&U(this,or,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(bi?1/0:5*60*1e3))}clearGcTimeout(){E(this,or)&&(clearTimeout(E(this,or)),U(this,or,void 0))}},or=new WeakMap,Vf),Jr,sr,at,ar,Le,xs,ir,wt,qt,qf,o2=(qf=class extends zg{constructor(t){super();Z(this,wt);Z(this,Jr);Z(this,sr);Z(this,at);Z(this,ar);Z(this,Le);Z(this,xs);Z(this,ir);U(this,ir,!1),U(this,xs,t.defaultOptions),this.setOptions(t.options),this.observers=[],U(this,ar,t.client),U(this,at,E(this,ar).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,U(this,Jr,a2(this.options)),this.state=t.state??E(this,Jr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=E(this,Le))==null?void 0:t.promise}setOptions(t){this.options={...E(this,xs),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,at).remove(this)}setData(t,n){const r=Kb(this.state.data,t,this.options);return Re(this,wt,qt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Re(this,wt,qt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=E(this,Le))==null?void 0:r.promise;return(o=E(this,Le))==null||o.cancel(t),n?n.then(yt).catch(yt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(E(this,Jr))}isActive(){return this.observers.some(t=>Qb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Mu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>hc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Hb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Le))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Le))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,at).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,Le)&&(E(this,ir)?E(this,Le).cancel({revert:!0}):E(this,Le).cancelRetry()),this.scheduleGc()),E(this,at).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Re(this,wt,qt).call(this,{type:"invalidate"})}fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,Le))return E(this,Le).continueRetry(),E(this,Le).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(U(this,ir,!0),r.signal)})},s=()=>{const h=Og(this.options,n),b=(()=>{const x={client:E(this,ar),queryKey:this.queryKey,meta:this.meta};return o(x),x})();return U(this,ir,!1),this.options.persister?this.options.persister(h,b,this):h(b)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:E(this,ar),state:this.state,fetchFn:s};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(l,this),U(this,sr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=l.fetchOptions)==null?void 0:d.meta))&&Re(this,wt,qt).call(this,{type:"fetch",meta:(f=l.fetchOptions)==null?void 0:f.meta});const c=h=>{var p,b,x,w;il(h)&&h.silent||Re(this,wt,qt).call(this,{type:"error",error:h}),il(h)||((b=(p=E(this,at).config).onError)==null||b.call(p,h,this),(w=(x=E(this,at).config).onSettled)==null||w.call(x,this.state.data,h,this)),this.scheduleGc()};return U(this,Le,Ig({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,b,x,w;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){c(g);return}(b=(p=E(this,at).config).onSuccess)==null||b.call(p,h,this),(w=(x=E(this,at).config).onSettled)==null||w.call(x,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,p)=>{Re(this,wt,qt).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Re(this,wt,qt).call(this,{type:"pause"})},onContinue:()=>{Re(this,wt,qt).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),E(this,Le).start()}},Jr=new WeakMap,sr=new WeakMap,at=new WeakMap,ar=new WeakMap,Le=new WeakMap,xs=new WeakMap,ir=new WeakMap,wt=new WeakSet,qt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...s2(r.data,this.options),fetchMeta:t.meta??null};case"success":return U(this,sr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return il(o)&&o.revert&&E(this,sr)?{...E(this,sr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),$e.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,at).notify({query:this,type:"updated",action:t})})},qf);function s2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function a2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var _t,Hf,i2=(Hf=class extends wi{constructor(t={}){super();Z(this,_t);this.config=t,U(this,_t,new Map)}build(t,n,r){const o=n.queryKey,s=n.queryHash??Lu(o,n);let a=this.get(s);return a||(a=new o2({client:t,queryKey:o,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){E(this,_t).has(t.queryHash)||(E(this,_t).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,_t).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,_t).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){$e.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,_t).get(t)}getAll(){return[...E(this,_t).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Cf(t,r)):n}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){$e.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){$e.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},_t=new WeakMap,Hf),Ot,ze,lr,Lt,hn,Qf,l2=(Qf=class extends zg{constructor(t){super();Z(this,Lt);Z(this,Ot);Z(this,ze);Z(this,lr);this.mutationId=t.mutationId,U(this,ze,t.mutationCache),U(this,Ot,[]),this.state=t.state||c2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,Ot).includes(t)||(E(this,Ot).push(t),this.clearGcTimeout(),E(this,ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){U(this,Ot,E(this,Ot).filter(n=>n!==t)),this.scheduleGc(),E(this,ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,Ot).length||(this.state.status==="pending"?this.scheduleGc():E(this,ze).remove(this))}continue(){var t;return((t=E(this,lr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,a,l,c,u,d,f,h,p,b,x,w,g,m,v,S,j,N,C,T;const n=()=>{Re(this,Lt,hn).call(this,{type:"continue"})};U(this,lr,Ig({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(O,_)=>{Re(this,Lt,hn).call(this,{type:"failed",failureCount:O,error:_})},onPause:()=>{Re(this,Lt,hn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,ze).canRun(this)}));const r=this.state.status==="pending",o=!E(this,lr).canStart();try{if(r)n();else{Re(this,Lt,hn).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(s=E(this,ze).config).onMutate)==null?void 0:a.call(s,t,this));const _=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));_!==this.state.context&&Re(this,Lt,hn).call(this,{type:"pending",context:_,variables:t,isPaused:o})}const O=await E(this,lr).start();return await((d=(u=E(this,ze).config).onSuccess)==null?void 0:d.call(u,O,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,O,t,this.state.context)),await((b=(p=E(this,ze).config).onSettled)==null?void 0:b.call(p,O,null,this.state.variables,this.state.context,this)),await((w=(x=this.options).onSettled)==null?void 0:w.call(x,O,null,t,this.state.context)),Re(this,Lt,hn).call(this,{type:"success",data:O}),O}catch(O){try{throw await((m=(g=E(this,ze).config).onError)==null?void 0:m.call(g,O,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,O,t,this.state.context)),await((N=(j=E(this,ze).config).onSettled)==null?void 0:N.call(j,void 0,O,this.state.variables,this.state.context,this)),await((T=(C=this.options).onSettled)==null?void 0:T.call(C,void 0,O,t,this.state.context)),O}finally{Re(this,Lt,hn).call(this,{type:"error",error:O})}}finally{E(this,ze).runNext(this)}}},Ot=new WeakMap,ze=new WeakMap,lr=new WeakMap,Lt=new WeakSet,hn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),$e.batch(()=>{E(this,Ot).forEach(r=>{r.onMutationUpdate(t)}),E(this,ze).notify({mutation:this,type:"updated",action:t})})},Qf);function c2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Gt,bt,ys,Gf,u2=(Gf=class extends wi{constructor(t={}){super();Z(this,Gt);Z(this,bt);Z(this,ys);this.config=t,U(this,Gt,new Set),U(this,bt,new Map),U(this,ys,0)}build(t,n,r){const o=new l2({mutationCache:this,mutationId:++Ls(this,ys)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){E(this,Gt).add(t);const n=na(t);if(typeof n=="string"){const r=E(this,bt).get(n);r?r.push(t):E(this,bt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(E(this,Gt).delete(t)){const n=na(t);if(typeof n=="string"){const r=E(this,bt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&E(this,bt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=na(t);if(typeof n=="string"){const r=E(this,bt).get(n),o=r==null?void 0:r.find(s=>s.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=na(t);if(typeof n=="string"){const o=(r=E(this,bt).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){$e.batch(()=>{E(this,Gt).forEach(t=>{this.notify({type:"removed",mutation:t})}),E(this,Gt).clear(),E(this,bt).clear()})}getAll(){return Array.from(E(this,Gt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ef(n,r))}findAll(t={}){return this.getAll().filter(n=>Ef(t,n))}notify(t){$e.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return $e.batch(()=>Promise.all(t.map(n=>n.continue().catch(yt))))}},Gt=new WeakMap,bt=new WeakMap,ys=new WeakMap,Gf);function na(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Tf(e){return{onFetch:(t,n)=>{var d,f,h,p,b;const r=t.options,o=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],a=((b=t.state.data)==null?void 0:b.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const u=async()=>{let x=!1;const w=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?x=!0:t.signal.addEventListener("abort",()=>{x=!0}),t.signal)})},g=Og(t.options,t.fetchOptions),m=async(v,S,j)=>{if(x)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const C=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:S,direction:j?"backward":"forward",meta:t.options.meta};return w(F),F})(),T=await g(C),{maxPages:O}=t.options,_=j?Xb:Yb;return{pages:_(v.pages,T,O),pageParams:_(v.pageParams,S,O)}};if(o&&s.length){const v=o==="backward",S=v?d2:Af,j={pages:s,pageParams:a},N=S(r,j);l=await m(j,N,v)}else{const v=e??s.length;do{const S=c===0?a[0]??r.initialPageParam:Af(r,l);if(c>0&&S==null)break;l=await m(l,S),c++}while(c{var x,w;return(w=(x=t.options).persister)==null?void 0:w.call(x,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Af(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function d2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var fe,jn,Nn,eo,to,Cn,no,ro,Kf,f2=(Kf=class{constructor(e={}){Z(this,fe);Z(this,jn);Z(this,Nn);Z(this,eo);Z(this,to);Z(this,Cn);Z(this,no);Z(this,ro);U(this,fe,e.queryCache||new i2),U(this,jn,e.mutationCache||new u2),U(this,Nn,e.defaultOptions||{}),U(this,eo,new Map),U(this,to,new Map),U(this,Cn,0)}mount(){Ls(this,Cn)._++,E(this,Cn)===1&&(U(this,no,Lg.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,fe).onFocus())})),U(this,ro,Ha.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,fe).onOnline())})))}unmount(){var e,t;Ls(this,Cn)._--,E(this,Cn)===0&&((e=E(this,no))==null||e.call(this),U(this,no,void 0),(t=E(this,ro))==null||t.call(this),U(this,ro,void 0))}isFetching(e){return E(this,fe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,jn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,fe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=E(this,fe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(hc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return E(this,fe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=E(this,fe).get(r.queryHash),s=o==null?void 0:o.state.data,a=Vb(t,s);if(a!==void 0)return E(this,fe).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return $e.batch(()=>E(this,fe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,fe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,fe);$e.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,fe);return $e.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=$e.batch(()=>E(this,fe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(yt).catch(yt)}invalidateQueries(e,t={}){return $e.batch(()=>(E(this,fe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=$e.batch(()=>E(this,fe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let s=o.fetch(void 0,n);return n.throwOnError||(s=s.catch(yt)),o.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(yt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,fe).build(this,t);return n.isStaleByTime(hc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(yt).catch(yt)}fetchInfiniteQuery(e){return e.behavior=Tf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(yt).catch(yt)}ensureInfiniteQueryData(e){return e.behavior=Tf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ha.isOnline()?E(this,jn).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,fe)}getMutationCache(){return E(this,jn)}getDefaultOptions(){return E(this,Nn)}setDefaultOptions(e){U(this,Nn,e)}setQueryDefaults(e,t){E(this,eo).set(ps(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,eo).values()],n={};return t.forEach(r=>{ms(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){E(this,to).set(ps(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,to).values()],n={};return t.forEach(r=>{ms(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,Nn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Mu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,Nn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,fe).clear(),E(this,jn).clear()}},fe=new WeakMap,jn=new WeakMap,Nn=new WeakMap,eo=new WeakMap,to=new WeakMap,Cn=new WeakMap,no=new WeakMap,ro=new WeakMap,Kf),p2=y.createContext(void 0),m2=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),i.jsx(p2.Provider,{value:e,children:t}));/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function hs(){return hs=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Fg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function g2(){return Math.random().toString(36).substr(2,8)}function _f(e,t){return{usr:e.state,key:e.key,idx:t}}function vc(e,t,n,r){return n===void 0&&(n=null),hs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?wo(t):t,{state:n,key:t&&t.key||r||g2()})}function Qa(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function wo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function v2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:s=!1}=r,a=o.history,l=Pn.Pop,c=null,u=d();u==null&&(u=0,a.replaceState(hs({},a.state,{idx:u}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=Pn.Pop;let w=d(),g=w==null?null:w-u;u=w,c&&c({action:l,location:x.location,delta:g})}function h(w,g){l=Pn.Push;let m=vc(x.location,w,g);u=d()+1;let v=_f(m,u),S=x.createHref(m);try{a.pushState(v,"",S)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(S)}s&&c&&c({action:l,location:x.location,delta:1})}function p(w,g){l=Pn.Replace;let m=vc(x.location,w,g);u=d();let v=_f(m,u),S=x.createHref(m);a.replaceState(v,"",S),s&&c&&c({action:l,location:x.location,delta:0})}function b(w){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof w=="string"?w:Qa(w);return m=m.replace(/ $/,"%20"),xe(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let x={get action(){return l},get location(){return e(o,a)},listen(w){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Rf,f),c=w,()=>{o.removeEventListener(Rf,f),c=null}},createHref(w){return t(o,w)},createURL:b,encodeLocation(w){let g=b(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(w){return a.go(w)}};return x}var Of;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Of||(Of={}));function x2(e,t,n){return n===void 0&&(n="/"),y2(e,t,n,!1)}function y2(e,t,n,r){let o=typeof t=="string"?wo(t):t,s=Du(o.pathname||"/",n);if(s==null)return null;let a=$g(e);w2(a);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};c.relativePath.startsWith("/")&&(xe(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=In([r,c.relativePath]),d=n.concat(c);s.children&&s.children.length>0&&(xe(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),$g(s.children,t,d,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:k2(u,s.index),routesMeta:d})};return e.forEach((s,a)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))o(s,a);else for(let c of Bg(s.path))o(s,a,c)}),t}function Bg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return o?[s,""]:[s];let a=Bg(r.join("/")),l=[];return l.push(...a.map(c=>c===""?s:[s,c].join("/"))),o&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function w2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:P2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const b2=/^:[\w-]+$/,S2=3,j2=2,N2=1,C2=10,E2=-2,Lf=e=>e==="*";function k2(e,t){let n=e.split("/"),r=n.length;return n.some(Lf)&&(r+=E2),t&&(r+=j2),n.filter(o=>!Lf(o)).reduce((o,s)=>o+(b2.test(s)?S2:s===""?N2:C2),r)}function P2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function T2(e,t,n){let{routesMeta:r}=e,o={},s="/",a=[];for(let l=0;l{let{paramName:h,isOptional:p}=d;if(h==="*"){let x=l[f]||"";a=s.slice(0,s.length-x.length).replace(/(.)\/+$/,"$1")}const b=l[f];return p&&!b?u[h]=void 0:u[h]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:a,pattern:e}}function A2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Fg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function R2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Fg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Du(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function _2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?wo(e):e;return{pathname:n?n.startsWith("/")?n:O2(n,t):t,search:D2(r),hash:I2(o)}}function O2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ll(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function L2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ug(e,t){let n=L2(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Wg(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=wo(e):(o=hs({},e),xe(!o.pathname||!o.pathname.includes("?"),ll("?","pathname","search",o)),xe(!o.pathname||!o.pathname.includes("#"),ll("#","pathname","hash",o)),xe(!o.search||!o.search.includes("#"),ll("#","search","hash",o)));let s=e===""||o.pathname==="",a=s?"/":o.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let h=a.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}l=f>=0?t[f]:"/"}let c=_2(o,l),u=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const In=e=>e.join("/").replace(/\/\/+/g,"/"),M2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),D2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,I2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function z2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Vg=["post","put","patch","delete"];new Set(Vg);const F2=["get",...Vg];new Set(F2);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function gs(){return gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.current=!0}),y.useCallback(function(u,d){if(d===void 0&&(d={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let f=Wg(u,JSON.parse(a),s,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:In([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,a,s,e])}function Qg(){let{matches:e}=y.useContext(Gn),t=e[e.length-1];return t?t.params:{}}function Gg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(wr),{matches:o}=y.useContext(Gn),{pathname:s}=br(),a=JSON.stringify(Ug(o,r.v7_relativeSplatPath));return y.useMemo(()=>Wg(e,JSON.parse(a),s,n==="path"),[e,a,s,n])}function V2(e,t){return q2(e,t)}function q2(e,t,n,r){Ts()||xe(!1);let{navigator:o}=y.useContext(wr),{matches:s}=y.useContext(Gn),a=s[s.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let u=br(),d;if(t){var f;let w=typeof t=="string"?wo(t):t;c==="/"||(f=w.pathname)!=null&&f.startsWith(c)||xe(!1),d=w}else d=u;let h=d.pathname||"/",p=h;if(c!=="/"){let w=c.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let b=x2(e,{pathname:p}),x=Y2(b&&b.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:In([c,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?c:In([c,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),s,n,r);return t&&x?y.createElement(Si.Provider,{value:{location:gs({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Pn.Pop}},x):x}function H2(){let e=eS(),t=z2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,null)}const Q2=y.createElement(H2,null);class G2 extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?y.createElement(Gn.Provider,{value:this.props.routeContext},y.createElement(qg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function K2(e){let{routeContext:t,match:n,children:r}=e,o=y.useContext(Iu);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(Gn.Provider,{value:t},r)}function Y2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||xe(!1),a=a.slice(0,Math.min(a.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((d,f,h)=>{let p,b=!1,x=null,w=null;n&&(p=l&&f.route.id?l[f.route.id]:void 0,x=f.route.errorElement||Q2,c&&(u<0&&h===0?(b=!0,w=null):u===h&&(b=!0,w=f.route.hydrateFallbackElement||null)));let g=t.concat(a.slice(0,h+1)),m=()=>{let v;return p?v=x:b?v=w:f.route.Component?v=y.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,y.createElement(K2,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?y.createElement(G2,{location:n.location,revalidation:n.revalidation,component:x,error:p,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Kg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Kg||{}),Ga=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ga||{});function X2(e){let t=y.useContext(Iu);return t||xe(!1),t}function Z2(e){let t=y.useContext($2);return t||xe(!1),t}function J2(e){let t=y.useContext(Gn);return t||xe(!1),t}function Yg(e){let t=J2(),n=t.matches[t.matches.length-1];return n.route.id||xe(!1),n.route.id}function eS(){var e;let t=y.useContext(qg),n=Z2(Ga.UseRouteError),r=Yg(Ga.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function tS(){let{router:e}=X2(Kg.UseNavigateStable),t=Yg(Ga.UseNavigateStable),n=y.useRef(!1);return Hg(()=>{n.current=!0}),y.useCallback(function(o,s){s===void 0&&(s={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,gs({fromRouteId:t},s)))},[e,t])}function nS(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ce(e){xe(!1)}function rS(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Pn.Pop,navigator:s,static:a=!1,future:l}=e;Ts()&&xe(!1);let c=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:c,navigator:s,static:a,future:gs({v7_relativeSplatPath:!1},l)}),[c,l,s,a]);typeof r=="string"&&(r=wo(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:b="default"}=r,x=y.useMemo(()=>{let w=Du(d,c);return w==null?null:{location:{pathname:w,search:f,hash:h,state:p,key:b},navigationType:o}},[c,d,f,h,p,b,o]);return x==null?null:y.createElement(wr.Provider,{value:u},y.createElement(Si.Provider,{children:n,value:x}))}function oS(e){let{children:t,location:n}=e;return V2(xc(t),n)}new Promise(()=>{});function xc(e,t){t===void 0&&(t=[]);let n=[];return y.Children.forEach(e,(r,o)=>{if(!y.isValidElement(r))return;let s=[...t,o];if(r.type===y.Fragment){n.push.apply(n,xc(r.props.children,s));return}r.type!==Ce&&xe(!1),!r.props.index||!r.props.children||xe(!1);let a={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=xc(r.props.children,s)),n.push(a)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function yc(){return yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function aS(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function iS(e,t){return e.button===0&&(!t||t==="_self")&&!aS(e)}const lS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],cS="6";try{window.__reactRouterVersion=cS}catch{}const uS="startTransition",Df=ip[uS];function dS(e){let{basename:t,children:n,future:r,window:o}=e,s=y.useRef();s.current==null&&(s.current=h2({window:o,v5Compat:!0}));let a=s.current,[l,c]=y.useState({action:a.action,location:a.location}),{v7_startTransition:u}=r||{},d=y.useCallback(f=>{u&&Df?Df(()=>c(f)):c(f)},[c,u]);return y.useLayoutEffect(()=>a.listen(d),[a,d]),y.useEffect(()=>nS(r),[r]),y.createElement(rS,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const fS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,be=y.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:s,replace:a,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=sS(t,lS),{basename:p}=y.useContext(wr),b,x=!1;if(typeof u=="string"&&pS.test(u)&&(b=u,fS))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),j=Du(S.pathname,p);S.origin===v.origin&&j!=null?u=j+S.search+S.hash:x=!0}catch{}let w=B2(u,{relative:o}),g=mS(u,{replace:a,state:l,target:c,preventScrollReset:d,relative:o,viewTransition:f});function m(v){r&&r(v),v.defaultPrevented||g(v)}return y.createElement("a",yc({},h,{href:b||w,onClick:x||s?r:m,ref:n,target:c}))});var If;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(If||(If={}));var zf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(zf||(zf={}));function mS(e,t){let{target:n,replace:r,state:o,preventScrollReset:s,relative:a,viewTransition:l}=t===void 0?{}:t,c=U2(),u=br(),d=Gg(e,{relative:a});return y.useCallback(f=>{if(iS(f,n)){f.preventDefault();let h=r!==void 0?r:Qa(u)===Qa(d);c(e,{replace:h,state:o,preventScrollReset:s,relative:a,viewTransition:l})}},[u,c,d,r,o,n,e,s,a,l])}const Kr={source:"google",medium:"cpc",campaign:"lp_descomplicando"},hS="https://wa.me/5515996830286",gS="Olá, quero uma landing page para gerar clientes no meu negócio";function vS(e){const t=new URLSearchParams({text:gS,utm_source:Kr.source,utm_medium:Kr.medium,utm_campaign:Kr.campaign,utm_content:e});return`${hS}?${t.toString()}`}function ji(e){const t=window,n=`click_whatsapp_${e}`;t.gtag&&(t.gtag("event",n,{event_category:"engagement",event_label:e,utm_source:Kr.source,utm_medium:Kr.medium,utm_campaign:Kr.campaign,utm_content:e}),t.gtag("event","click_cta",{event_category:"engagement",event_label:e})),window.open(vS(e),"_blank","noopener,noreferrer"),window.location.href="/obrigado"}const zu="/assets/logo-BKtHn6gQ.png";function xS(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const n=()=>t(window.scrollY>20);return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),i.jsx("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-card/95 backdrop-blur-md shadow-md py-2":"bg-card/90 backdrop-blur-sm py-3"}`,children:i.jsxs("div",{className:"container-site flex items-center justify-between",children:[i.jsx(be,{to:"/",className:"flex items-center gap-2 flex-shrink-0",children:i.jsx("img",{src:zu,alt:"Descomplicando Seu Site",className:"h-14 md:h-16 w-auto",loading:"eager"})}),i.jsxs("button",{type:"button",onClick:()=>ji("header"),className:"flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-200 bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] shadow-md hover:shadow-lg",children:[i.jsx(ee,{className:"h-4 w-4"}),i.jsx("span",{className:"hidden sm:inline",children:"Falar no WhatsApp"}),i.jsx("span",{className:"sm:hidden",children:"WhatsApp"})]})]})})}const cl={source:"google",medium:"cpc",campaign:"lp_descomplicando"},yS="https://wa.me/5515996830286",wS="Olá, quero uma landing page para gerar clientes no meu negócio",bS="https://locomotivasestini.com.br";function Pe(e){const t=new URLSearchParams({text:wS,utm_source:cl.source,utm_medium:cl.medium,utm_campaign:cl.campaign,utm_content:e});return`${yS}?${t.toString()}`}function vs(e){const t=new URLSearchParams({utm_source:"descomplicandoseusite",utm_medium:"referral",utm_campaign:"parceria_dss",utm_content:e});return`${bS}?${t.toString()}`}function Xg(){const e=new Date().getFullYear();return i.jsx("footer",{className:"bg-foreground text-background/80 pt-16 pb-24 lg:pb-16",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-10 mb-12",children:[i.jsxs("div",{className:"lg:col-span-1",children:[i.jsx("img",{src:zu,alt:"Descomplicando Seu Site",className:"h-10 w-auto mb-4 brightness-0 invert"}),i.jsx("p",{className:"text-sm text-background/60 leading-relaxed mb-5",children:"Templates Elementor profissionais e sites prontos para advogados, empresas e prestadores de serviços."}),i.jsxs("a",{href:Pe("footer"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2.5 rounded-full bg-[hsl(142_70%_45%)] text-white text-sm font-semibold hover:bg-[hsl(142_70%_38%)] transition-colors",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-background font-semibold mb-4 text-sm uppercase tracking-wider",children:"Templates"}),i.jsx("ul",{className:"space-y-2.5 text-sm",children:[{label:"Templates Elementor",href:"/templates"},{label:"Templates para Advogados",href:"/templates-advogados"},{label:"Landing Pages",href:"/landing-pages"},{label:"Sites Institucionais",href:"/sites-institucionais"},{label:"Packs de Templates",href:"/packs-templates"}].map(t=>i.jsx("li",{children:i.jsx(be,{to:t.href,className:"text-background/60 hover:text-background transition-colors",children:t.label})},t.href))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-background font-semibold mb-4 text-sm uppercase tracking-wider",children:"Institucional"}),i.jsx("ul",{className:"space-y-2.5 text-sm",children:[{label:"Sobre Nós",href:"/sobre"},{label:"Blog",href:"/blog"},{label:"Contato",href:"/contato"},{label:"Suporte",href:"/suporte"},{label:"Política de Privacidade",href:"/politica-de-privacidade"},{label:"Termos de Uso",href:"/termos-de-uso"}].map(t=>i.jsx("li",{children:i.jsx(be,{to:t.href,className:"text-background/60 hover:text-background transition-colors",children:t.label})},t.href))})]}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-background font-semibold mb-4 text-sm uppercase tracking-wider",children:"Agência Parceira"}),i.jsx("p",{className:"text-sm text-background/60 mb-4 leading-relaxed",children:"Precisa de um site personalizado ou estratégia digital avançada?"}),i.jsxs("a",{href:vs("footer"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-primary hover:text-brand-orange transition-colors text-sm font-semibold",children:[i.jsx(Su,{className:"h-4 w-4"}),"Agência Locomotiva Sestini"]}),i.jsx("div",{className:"mt-5",children:i.jsxs("a",{href:"mailto:contato@descomplicandoseusite.com.br",className:"inline-flex items-center gap-2 text-background/60 hover:text-background text-sm transition-colors",children:[i.jsx(Uh,{className:"h-4 w-4"}),"contato@descomplicandoseusite.com.br"]})})]})]}),i.jsxs("div",{className:"border-t border-background/10 pt-6 flex flex-col sm:flex-row items-center justify-between gap-3 text-xs text-background/40",children:[i.jsxs("p",{children:["© ",e," Descomplicando Seu Site. Todos os direitos reservados."]}),i.jsxs("p",{children:["Desenvolvido com ❤️ em parceria com"," ",i.jsx("a",{href:vs("footer_bottom"),target:"_blank",rel:"noopener noreferrer",className:"text-background/60 hover:text-background",children:"Locomotiva Sestini"})]})]})]})})}function Zg(){return i.jsxs("button",{type:"button",onClick:()=>ji("botao_fixo"),"aria-label":"Fale comigo agora no WhatsApp",className:"flex fixed bottom-6 right-6 z-50 items-center gap-2.5 px-5 py-3.5 rounded-full text-white font-bold text-sm shadow-lp-cta transition-all duration-200 animate-pulse-whatsapp hover:scale-105 active:scale-95 bg-gradient-to-r from-lp-purple to-lp-orange",children:[i.jsx(ee,{className:"h-5 w-5 flex-shrink-0"}),i.jsx("span",{className:"hidden sm:inline",children:"Fale comigo agora"})]})}function Ut(){return i.jsx("section",{className:"py-12 px-4",children:i.jsx("div",{className:"container-site",children:i.jsxs("div",{className:"gradient-brand rounded-3xl p-8 md:p-12 text-white flex flex-col md:flex-row items-center justify-between gap-6",children:[i.jsxs("div",{className:"flex items-start gap-4",children:[i.jsx("div",{className:"p-3 bg-white/20 rounded-xl flex-shrink-0",children:i.jsx(ks,{className:"h-7 w-7"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white/80 text-sm font-medium mb-1",children:"Precisa de algo mais personalizado?"}),i.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-2",children:"Conheça a Agência Locomotiva Sestini"}),i.jsx("p",{className:"text-white/80 text-sm leading-relaxed max-w-md",children:"Para projetos que exigem estratégia avançada, desenvolvimento personalizado e resultados escaláveis, nossa agência parceira tem a solução ideal."})]})]}),i.jsxs("a",{href:vs("banner_locomotiva"),target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0 flex items-center gap-2 px-6 py-3.5 rounded-full bg-white text-primary font-bold text-sm hover:bg-white/90 transition-colors shadow-lg whitespace-nowrap",children:[i.jsx(Su,{className:"h-4 w-4"}),"Visitar a Agência"]})]})})})}const SS="/assets/advocacia-premium-CbldQpmW.jpg",jS="/assets/advogado-solo-Dv0qTqjg.jpg",NS="/assets/escritorio-juridico-rMwOOZqH.jpg",CS="/assets/empresa-institucional-3UWStFVy.jpg",ES="/assets/prestador-servicos-Dz-QqJJm.jpg",kS="/assets/landing-page-conversao-D86MLUIV.jpg",PS="/assets/clinica-saude-Bwgb2jiA.jpg",TS="/assets/pack-premium-advocacia-Celi3poi.jpg",AS="/assets/construtora-reformas-CtIU-Bhv.jpg",RS="/assets/pack-starter-DNgISJ0e.jpg",_S="/assets/site-contador-CMWK3Xvl.jpg",OS="/assets/landing-page-advocacia-CGZHbiPW.jpg",Vn=[{id:"1",title:"Advocacia Premium",description:"Template elegante para escritórios de advocacia. Design sóbrio e profissional com foco em conversão.",category:"Advocacia",badge:"Mais Vendido",price:"R$ 197",imageColor:"linear-gradient(135deg, hsl(222, 50%, 20%) 0%, hsl(262, 60%, 35%) 100%)",image:SS,rating:4.9,sales:312,slug:"advocacia-premium"},{id:"2",title:"Advogado Solo",description:"Ideal para advogados autônomos. Layout clean com destaque para autoridade e conversão via WhatsApp.",category:"Advocacia",price:"R$ 147",imageColor:"linear-gradient(135deg, hsl(220, 60%, 25%) 0%, hsl(222, 50%, 40%) 100%)",image:jS,rating:4.8,sales:218,slug:"advogado-solo"},{id:"3",title:"Escritório Jurídico",description:"Template completo para escritórios com múltiplos advogados. Seções para equipe e áreas de atuação.",category:"Advocacia",badge:"Novo",price:"R$ 247",imageColor:"linear-gradient(135deg, hsl(215, 55%, 22%) 0%, hsl(262, 72%, 38%) 100%)",image:NS,rating:4.7,sales:94,slug:"escritorio-juridico"},{id:"4",title:"Empresa Institucional",description:"Design corporativo moderno para empresas de médio e grande porte. Transmite credibilidade e profissionalismo.",category:"Empresas",badge:"Popular",price:"R$ 197",imageColor:"linear-gradient(135deg, hsl(262, 72%, 48%) 0%, hsl(185, 85%, 42%) 100%)",image:CS,rating:4.8,sales:445,slug:"empresa-institucional"},{id:"5",title:"Prestador de Serviços",description:"Template versátil para qualquer tipo de prestador de serviços. CTA para WhatsApp estrategicamente posicionado.",category:"Serviços",price:"R$ 147",imageColor:"linear-gradient(135deg, hsl(25, 95%, 50%) 0%, hsl(330, 80%, 55%) 100%)",image:ES,rating:4.9,sales:521,slug:"prestador-servicos"},{id:"6",title:"Landing Page Conversão",description:"Página de alta conversão para campanhas de Google Ads e Meta Ads. Taxa de conversão superior a 15%.",category:"Landing Page",badge:"Alta Conversão",price:"R$ 127",imageColor:"linear-gradient(135deg, hsl(330, 80%, 50%) 0%, hsl(25, 95%, 55%) 100%)",image:kS,rating:4.9,sales:687,slug:"landing-page-conversao"},{id:"7",title:"Clínica e Saúde",description:"Template clean e profissional para clínicas, consultórios e profissionais da saúde.",category:"Saúde",price:"R$ 197",imageColor:"linear-gradient(135deg, hsl(185, 85%, 35%) 0%, hsl(142, 60%, 38%) 100%)",image:PS,rating:4.7,sales:298,slug:"clinica-saude"},{id:"8",title:"Pack Premium Advocacia",description:"3 templates para advocacia: site completo, landing page e página de área de atuação. Melhor custo-benefício.",category:"Pack",badge:"Oferta",price:"R$ 397",imageColor:"linear-gradient(135deg, hsl(262, 72%, 35%) 0%, hsl(222, 50%, 20%) 50%, hsl(262, 72%, 48%) 100%)",image:TS,rating:5,sales:156,slug:"pack-premium-advocacia"},{id:"9",title:"Construtora e Reformas",description:"Template com galeria de projetos, depoimentos e formulário de orçamento. Perfeito para o setor da construção.",category:"Construção",price:"R$ 197",imageColor:"linear-gradient(135deg, hsl(30, 60%, 35%) 0%, hsl(25, 80%, 45%) 100%)",image:AS,rating:4.6,sales:189,slug:"construtora-reformas"},{id:"10",title:"Pack Starter 3 em 1",description:"Site institucional + landing page + blog. O pacote completo para quem quer começar com tudo.",category:"Pack",badge:"Mais Popular",price:"R$ 297",imageColor:"linear-gradient(135deg, hsl(262, 72%, 48%) 0%, hsl(330, 80%, 55%) 50%, hsl(25, 95%, 55%) 100%)",image:RS,rating:4.8,sales:334,slug:"pack-starter"},{id:"11",title:"Site para Contador",description:"Template profissional para contadores e escritórios de contabilidade com destaque para serviços.",category:"Serviços",price:"R$ 147",imageColor:"linear-gradient(135deg, hsl(200, 65%, 35%) 0%, hsl(185, 85%, 42%) 100%)",image:_S,rating:4.7,sales:167,slug:"site-contador"},{id:"12",title:"Landing Page Advocacia",description:"Landing page específica para advogados com foco em captação de clientes via WhatsApp e formulário.",category:"Landing Page",badge:"Novo",price:"R$ 97",imageColor:"linear-gradient(135deg, hsl(220, 55%, 28%) 0%, hsl(262, 60%, 45%) 100%)",image:OS,rating:4.8,sales:78,slug:"landing-page-advocacia"}],LS=["Todos","Advocacia","Empresas","Serviços","Landing Page","Pack","Saúde","Construção"];function MS(e){return e==="Todos"?Vn:Vn.filter(t=>t.category===e)}function DS(e){return Vn.find(t=>t.slug===e)}function IS(){return Vn.filter(e=>e.category==="Advocacia"||e.title.toLowerCase().includes("advocac")||e.slug.includes("advocac")||e.slug.includes("advogad")||e.slug.includes("juridic"))}const zS=[{emoji:"😩",title:"Sem clientes novos?",desc:"Quem não aparece no Google ou nas redes sociais simplesmente não existe para o cliente que está procurando."},{emoji:"📵",title:"Sem presença online?",desc:"Seus concorrentes estão captando os clientes que deveriam ser seus porque têm um site profissional."},{emoji:"💸",title:"Perdendo vendas todo dia?",desc:"Cada dia sem uma página profissional é dinheiro deixado na mesa. Isso tem solução rápida."}],FS=[{icon:Vh,title:"Gera leads no piloto automático",desc:"Sua página trabalha 24h por dia captando contatos e enviando para o seu WhatsApp."},{icon:bu,title:"Passa profissionalismo imediato",desc:"Clientes pagam mais e confiam mais em quem tem um site profissional e bem feito."},{icon:ks,title:"Aumenta suas vendas",desc:"Com botões de WhatsApp estratégicos, o caminho até o fechamento fica muito mais curto."}],Ff=[{num:"1",title:"Escolha um modelo",desc:"Navegue pelos templates e escolha o que mais combina com seu negócio."},{num:"2",title:"Envie suas informações",desc:"Nos envie textos, logo e informações do seu negócio pelo WhatsApp."},{num:"3",title:"Receba sua landing page",desc:"Em até 3 dias úteis sua página estará pronta para publicar e gerar leads."}],$S=[{icon:us,text:"Entrega em até 3 dias úteis"},{icon:Wh,text:"Design profissional e moderno"},{icon:Vh,text:"Otimizada para conversão"},{icon:ks,text:"Pronta para anúncios (Google/Meta)"},{icon:qh,text:"Botões WhatsApp estratégicos"},{icon:bu,text:"Suporte incluso no WhatsApp"}],BS=[{name:"Dr. Rodrigo M.",role:"Advogado, SP",text:"Em 2 dias meu site estava no ar e já recebi 3 clientes novos pelo WhatsApp. Vale muito o investimento!"},{name:"Ana Paula S.",role:"Contadora, MG",text:"Achei que seria complicado, mas foi simples demais. O resultado ficou muito profissional e meus clientes adoraram."},{name:"Carlos B.",role:"Prestador de serviços, PR",text:"Minha agenda lotou em 15 dias depois de colocar o site no ar. Recomendo demais para quem quer crescer."}],US=[{q:"Em quanto tempo minha landing page fica pronta?",a:"Em até 3 dias úteis após o envio das suas informações. Trabalhamos rápido para que você comece a gerar clientes o quanto antes."},{q:"Preciso ter conhecimento técnico?",a:"Não precisa saber nada de tecnologia. Nossa equipe faz tudo por você. Você só precisa fornecer as informações do seu negócio."},{q:"A landing page funciona para anúncios?",a:"Sim! As páginas são desenvolvidas especialmente para campanhas de Google Ads e Meta Ads, com foco em conversão."},{q:"O que está incluído no serviço?",a:"Design profissional, integração com WhatsApp, botões de CTA estratégicos, versão mobile otimizada e suporte no pós-entrega."},{q:"Como funciona o pagamento?",a:"Fale com a gente pelo WhatsApp para conhecer os planos disponíveis. Temos opções a partir de R$ 700 com pagamento facilitado."}],WS=Vn.filter(e=>["landing-page-conversao","landing-page-advocacia","prestador-servicos","empresa-institucional","clinica-saude","advocacia-premium"].includes(e.slug));function VS({q:e,a:t}){const[n,r]=y.useState(!1);return i.jsxs("div",{className:"border border-lp-border rounded-2xl overflow-hidden",children:[i.jsxs("button",{onClick:()=>r(!n),className:"w-full flex items-center justify-between gap-4 px-6 py-5 text-left font-semibold text-lp-text hover:bg-lp-card/60 transition-colors",children:[e,i.jsx(ic,{className:`h-5 w-5 text-lp-purple flex-shrink-0 transition-transform duration-200 ${n?"rotate-180":""}`})]}),n&&i.jsx("div",{className:"px-6 pb-5 text-lp-muted text-sm leading-relaxed",children:t})]})}function Vt({utmContent:e,children:t,className:n=""}){return i.jsx("button",{type:"button",onClick:()=>ji(e),className:`inline-flex items-center justify-center gap-2.5 px-8 py-4 rounded-full font-extrabold text-base shadow-lp-cta hover:scale-105 active:scale-95 transition-all duration-200 bg-gradient-to-r from-lp-purple to-lp-orange text-white ${n}`,children:t})}function qS(){return i.jsxs("div",{className:"flex flex-col min-h-screen",children:[i.jsx(xS,{}),i.jsxs("main",{className:"flex-1 pt-16",children:[i.jsxs("section",{className:"relative overflow-hidden bg-lp-dark py-20 md:py-28",children:[i.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[i.jsx("div",{className:"absolute -top-32 left-1/2 -translate-x-1/2 w-[600px] h-[600px] rounded-full bg-lp-purple/20 blur-3xl"}),i.jsx("div",{className:"absolute bottom-0 right-0 w-80 h-80 rounded-full bg-lp-orange/10 blur-3xl"})]}),i.jsxs("div",{className:"container-site relative z-10 text-center",children:[i.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-3 mb-8",children:[i.jsxs("span",{className:"inline-flex items-center gap-1.5 px-4 py-1.5 rounded-full text-xs font-semibold bg-lp-purple/20 text-lp-purple-light border border-lp-purple/30",children:[i.jsx(us,{className:"h-3.5 w-3.5"})," Entrega em até 3 dias"]}),i.jsxs("span",{className:"inline-flex items-center gap-1.5 px-4 py-1.5 rounded-full text-xs font-semibold bg-lp-orange/20 text-lp-orange border border-lp-orange/30",children:[i.jsx(ks,{className:"h-3.5 w-3.5"})," Atendimento imediato"]})]}),i.jsxs("h1",{className:"font-display font-extrabold text-white leading-[1.1] mb-6",children:[i.jsx("span",{className:"block text-3xl sm:text-4xl md:text-5xl lg:text-[3.4rem]",children:"Landing Page pronta em até 3 dias"}),i.jsx("span",{className:"block text-2xl sm:text-3xl md:text-4xl lg:text-5xl bg-gradient-to-r from-lp-purple-light via-lp-pink to-lp-orange bg-clip-text text-transparent mt-2",children:"para gerar clientes todos os dias"})]}),i.jsx("p",{className:"text-lg md:text-xl text-lp-muted max-w-2xl mx-auto mb-10 leading-relaxed",children:"Ideal para quem quer vender mais sem complicação."}),i.jsxs(Vt,{utmContent:"hero",className:"text-lg px-10 py-5",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero gerar clientes com minha landing page"]}),i.jsxs("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-6 text-lp-muted text-sm",children:[i.jsxs("span",{className:"flex items-center gap-2",children:[i.jsx(wn,{className:"h-4 w-4 text-green-400"})," +500 páginas entregues"]}),i.jsxs("span",{className:"flex items-center gap-2",children:[i.jsx(wn,{className:"h-4 w-4 text-green-400"})," Suporte via WhatsApp"]}),i.jsxs("span",{className:"flex items-center gap-2",children:[i.jsx(wn,{className:"h-4 w-4 text-green-400"})," A partir de R$ 700"]})]})]})]}),i.jsx("section",{className:"py-16 bg-lp-surface border-b border-lp-border",children:i.jsxs("div",{className:"container-site",children:[i.jsx("div",{className:"text-center mb-10",children:i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Para quem é essa landing page"})}),i.jsx("div",{className:"max-w-2xl mx-auto grid gap-4 mb-8",children:["Pequenos negócios que querem gerar clientes","Profissionais que já vendem ou querem começar","Empresas que querem anunciar no Google ou Instagram"].map(e=>i.jsxs("div",{className:"flex items-center gap-3 bg-lp-card rounded-xl px-5 py-4 border border-lp-border",children:[i.jsx(wn,{className:"h-5 w-5 text-green-400 flex-shrink-0"}),i.jsx("span",{className:"font-semibold text-white text-sm",children:e})]},e))}),i.jsxs("div",{className:"max-w-2xl mx-auto flex items-start gap-3 bg-lp-card/60 rounded-xl px-5 py-4 border border-red-500/20",children:[i.jsx(zy,{className:"h-5 w-5 text-red-400 flex-shrink-0 mt-0.5"}),i.jsx("p",{className:"text-red-300/80 text-sm font-medium",children:"Não é para quem busca site grátis ou não pretende investir no negócio."})]})]})}),i.jsx("section",{className:"py-20 bg-lp-dark",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Por que você ainda não tem clientes suficientes?"}),i.jsx("p",{className:"text-lp-muted max-w-xl mx-auto",children:"A resposta quase sempre é a mesma."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:zS.map(e=>i.jsxs("div",{className:"bg-lp-card rounded-2xl p-7 border border-lp-border text-center hover:border-lp-purple/40 transition-colors",children:[i.jsx("span",{className:"text-4xl mb-4 block",children:e.emoji}),i.jsx("h3",{className:"font-bold text-white mb-3 text-lg",children:e.title}),i.jsx("p",{className:"text-lp-muted text-sm leading-relaxed",children:e.desc})]},e.title))}),i.jsx("div",{className:"text-center mt-12",children:i.jsxs(Vt,{utmContent:"beneficios",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero resolver isso agora"]})})]})}),i.jsx("section",{className:"py-20 bg-lp-surface",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full text-xs font-semibold bg-lp-purple/20 text-lp-purple-light border border-lp-purple/30 mb-4",children:"✅ A solução"}),i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Uma landing page profissional resolve isso"})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:FS.map(e=>i.jsxs("div",{className:"bg-lp-card rounded-2xl p-7 border border-lp-border hover:border-lp-purple/40 transition-colors",children:[i.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-lp-purple to-lp-orange flex items-center justify-center mb-5",children:i.jsx(e.icon,{className:"h-5 w-5 text-white"})}),i.jsx("h3",{className:"font-bold text-white mb-2",children:e.title}),i.jsx("p",{className:"text-lp-muted text-sm leading-relaxed",children:e.desc})]},e.title))})]})}),i.jsx("section",{className:"py-20 bg-lp-dark",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Como funciona?"}),i.jsx("p",{className:"text-lp-muted max-w-lg mx-auto",children:"3 passos simples para ter sua landing page pronta."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 relative",children:Ff.map((e,t)=>i.jsxs("div",{className:"relative text-center flex flex-col items-center",children:[ti.jsxs("div",{className:"flex items-center gap-4 bg-lp-card rounded-xl px-5 py-4 border border-lp-border",children:[i.jsx("div",{className:"w-10 h-10 rounded-lg bg-gradient-to-br from-lp-purple/30 to-lp-orange/20 flex items-center justify-center flex-shrink-0",children:i.jsx(e.icon,{className:"h-5 w-5 text-lp-orange"})}),i.jsx("span",{className:"font-semibold text-white text-sm",children:e.text})]},e.text))}),i.jsx("div",{className:"text-center",children:i.jsxs(Vt,{utmContent:"beneficios",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero minha landing page agora"]})})]})}),i.jsx("section",{className:"py-16 bg-lp-dark border-y border-lp-border",children:i.jsx("div",{className:"container-site text-center",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsx("span",{className:"text-5xl mb-4 block",children:"🏆"}),i.jsxs("p",{className:"text-xl md:text-2xl font-display font-bold text-white leading-snug",children:['"Landing pages desenvolvidas com foco em'," ",i.jsx("span",{className:"bg-gradient-to-r from-lp-purple-light to-lp-orange bg-clip-text text-transparent",children:"conversão real e geração de clientes"}),'"']}),i.jsx("p",{className:"text-lp-muted mt-4 text-sm",children:"Cada botão, cada texto e cada seção tem um propósito: trazer clientes qualificados para o seu negócio."})]})})}),i.jsx("section",{className:"py-20 bg-lp-surface",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"text-center mb-12",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Veja alguns modelos"}),i.jsx("p",{className:"text-lp-muted max-w-xl mx-auto",children:"Cada modelo é adaptado para o seu negócio com suas cores, textos e informações."})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 mb-10",children:WS.map(e=>i.jsxs("article",{className:"group bg-lp-card rounded-2xl overflow-hidden border border-lp-border hover:border-lp-purple/50 transition-all duration-300 hover:shadow-lp-purple",children:[i.jsxs("div",{className:"relative h-44 overflow-hidden",children:[e.image?i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}):i.jsx("div",{className:"absolute inset-0 flex items-center justify-center",style:{background:e.imageColor},children:i.jsx("span",{className:"text-white/20 text-7xl font-bold font-display",children:e.title.charAt(0)})}),e.badge&&i.jsx("span",{className:"absolute top-3 left-3 px-3 py-1 rounded-full text-xs font-bold bg-lp-orange text-white shadow",children:e.badge})]}),i.jsxs("div",{className:"p-5",children:[i.jsx("span",{className:"text-xs font-medium text-lp-purple-light uppercase tracking-wider",children:e.category}),i.jsx("h3",{className:"mt-1 text-base font-bold text-white line-clamp-1",children:e.title}),i.jsx("p",{className:"mt-1 text-sm text-lp-muted line-clamp-2",children:e.description}),i.jsx("div",{className:"mt-4",children:i.jsxs("button",{type:"button",onClick:()=>ji("templates"),className:"w-full flex items-center justify-center gap-2 px-4 py-2.5 rounded-full text-sm font-bold bg-gradient-to-r from-lp-purple to-lp-orange text-white hover:opacity-90 transition-opacity shadow",children:[i.jsx(ee,{className:"h-4 w-4"}),"Quero esse modelo"]})})]})]},e.id))}),i.jsx("div",{className:"text-center",children:i.jsxs(Vt,{utmContent:"templates",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero minha landing page agora"]})})]})}),i.jsx("section",{className:"py-14 bg-lp-dark",children:i.jsx("div",{className:"container-site",children:i.jsxs("div",{className:"max-w-xl mx-auto text-center bg-gradient-to-br from-lp-purple/15 to-lp-orange/10 rounded-2xl p-8 border border-lp-purple/30",children:[i.jsx(Wy,{className:"h-8 w-8 text-lp-orange mx-auto mb-4"}),i.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-white mb-3",children:"Agenda limitada"}),i.jsxs("p",{className:"text-lp-muted text-sm leading-relaxed mb-6",children:["Devido à alta demanda, atendemos poucos projetos por semana.",i.jsx("br",{}),i.jsx("strong",{className:"text-white",children:"Garanta sua vaga agora."})]}),i.jsxs(Vt,{utmContent:"preco",children:[i.jsx(ee,{className:"h-5 w-5"}),"Garantir minha vaga"]})]})})}),i.jsx("section",{className:"py-20 bg-lp-surface",children:i.jsx("div",{className:"container-site",children:i.jsxs("div",{className:"max-w-xl mx-auto text-center",children:[i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Investimento acessível"}),i.jsx("p",{className:"text-lp-muted mb-10",children:"Sem mensalidade, sem contrato. Pague uma vez e tenha sua página para sempre."}),i.jsxs("div",{className:"bg-lp-card rounded-3xl p-8 border border-lp-border relative overflow-hidden",children:[i.jsx("div",{className:"absolute top-0 left-0 right-0 h-1 bg-gradient-to-r from-lp-purple to-lp-orange"}),i.jsx("p",{className:"text-lp-muted text-sm mb-2",children:"Landing page profissional a partir de"}),i.jsxs("div",{className:"text-6xl font-display font-extrabold text-white mb-1",children:["R$ ",i.jsx("span",{className:"bg-gradient-to-r from-lp-purple-light to-lp-orange bg-clip-text text-transparent",children:"700"})]}),i.jsx("p",{className:"text-lp-muted text-sm mb-8",children:"Pagamento facilitado · Sem mensalidade · Entrega em 3 dias"}),i.jsx("ul",{className:"space-y-3 text-left mb-8",children:["Design 100% profissional","Versão mobile otimizada","Botões WhatsApp estratégicos","Pronta para Google Ads e Meta Ads","Suporte pós-entrega"].map(e=>i.jsxs("li",{className:"flex items-center gap-3 text-sm text-white/80",children:[i.jsx(wn,{className:"h-4 w-4 text-green-400 flex-shrink-0"}),e]},e))}),i.jsxs(Vt,{utmContent:"preco",className:"w-full justify-center",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero começar agora"]})]})]})})}),i.jsx("section",{className:"py-20 bg-lp-dark",children:i.jsxs("div",{className:"container-site",children:[i.jsx("div",{className:"text-center mb-12",children:i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Quem já usou aprovou"})}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-14",children:BS.map(e=>i.jsxs("div",{className:"bg-lp-card p-7 rounded-2xl border border-lp-border",children:[i.jsx("div",{className:"flex gap-1 mb-4",children:Array.from({length:5}).map((t,n)=>i.jsx(mi,{className:"h-4 w-4 fill-lp-orange text-lp-orange"},n))}),i.jsxs("p",{className:"text-sm text-lp-muted leading-relaxed mb-5 italic",children:['"',e.text,'"']}),i.jsxs("div",{children:[i.jsx("p",{className:"font-bold text-white text-sm",children:e.name}),i.jsx("p",{className:"text-xs text-lp-muted",children:e.role})]})]},e.name))}),i.jsx("div",{className:"text-center",children:i.jsxs(Vt,{utmContent:"beneficios",children:[i.jsx(ee,{className:"h-5 w-5"}),"Quero minha landing page agora"]})})]})}),i.jsx(Ut,{}),i.jsx("section",{className:"py-20 bg-lp-dark",children:i.jsxs("div",{className:"container-site",children:[i.jsx("div",{className:"text-center mb-12",children:i.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold text-white mb-4",children:"Dúvidas frequentes"})}),i.jsx("div",{className:"max-w-2xl mx-auto space-y-3",children:US.map(e=>i.jsx(VS,{q:e.q,a:e.a},e.q))})]})}),i.jsxs("section",{className:"py-28 bg-lp-surface relative overflow-hidden",children:[i.jsx("div",{className:"absolute inset-0 pointer-events-none",children:i.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[400px] rounded-full bg-lp-purple/15 blur-3xl"})}),i.jsxs("div",{className:"container-site relative z-10 text-center",children:[i.jsxs("h2",{className:"text-3xl md:text-5xl font-display font-extrabold text-white mb-5 leading-tight",children:["Comece hoje e tenha sua",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-lp-purple-light via-lp-pink to-lp-orange bg-clip-text text-transparent",children:"landing page pronta para gerar clientes"})]}),i.jsx("p",{className:"text-lp-muted text-lg mb-10 max-w-xl mx-auto",children:"Não perca mais tempo e clientes. Fale agora e saia com sua página encaminhada ainda hoje."}),i.jsxs(Vt,{utmContent:"cta_final",className:"text-lg px-12 py-5",children:[i.jsx(ee,{className:"h-6 w-6"}),"Falar no WhatsApp agora"]}),i.jsx("p",{className:"mt-5 text-lp-muted/60 text-xs",children:"Resposta em minutos · Sem compromisso"})]})]})]}),i.jsx(Xg,{}),i.jsx(Zg,{})]})}const $f=[{label:"Home",href:"/"},{label:"Templates",href:"/templates",children:[{label:"Templates Elementor",href:"/templates"},{label:"Templates para Advogados",href:"/templates-advogados"},{label:"Landing Pages",href:"/landing-pages"},{label:"Sites Institucionais",href:"/sites-institucionais"},{label:"Packs de Templates",href:"/packs-templates"}]},{label:"Advogados",href:"/templates-advogados"},{label:"Blog",href:"/blog"},{label:"Contato",href:"/contato"}];function HS(){const[e,t]=y.useState(!1),[n,r]=y.useState(!1),[o,s]=y.useState(null),a=br();return y.useEffect(()=>{const l=()=>r(window.scrollY>20);return window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l)},[]),y.useEffect(()=>{t(!1),s(null)},[a]),i.jsxs(i.Fragment,{children:[i.jsxs("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-card/95 backdrop-blur-md shadow-md py-2":"bg-card/90 backdrop-blur-sm py-3"}`,children:[i.jsxs("div",{className:"container-site flex items-center justify-between",children:[i.jsx(be,{to:"/",className:"flex items-center gap-2 flex-shrink-0",children:i.jsx("img",{src:zu,alt:"Descomplicando Seu Site",className:"h-10 w-auto",loading:"eager"})}),i.jsx("nav",{className:"hidden lg:flex items-center gap-1",children:$f.map(l=>l.children?i.jsxs("div",{className:"relative group",onMouseEnter:()=>s(l.label),onMouseLeave:()=>s(null),children:[i.jsxs("button",{className:"flex items-center gap-1 px-4 py-2 text-sm font-medium text-foreground/80 hover:text-primary transition-colors rounded-lg hover:bg-primary/5",children:[l.label,i.jsx(ic,{className:"h-3.5 w-3.5 transition-transform group-hover:rotate-180"})]}),o===l.label&&i.jsx("div",{className:"absolute top-full left-0 pt-2 min-w-[220px]",children:i.jsx("div",{className:"bg-card rounded-xl shadow-lg border border-border overflow-hidden",children:l.children.map(c=>i.jsx(be,{to:c.href,className:"block px-4 py-2.5 text-sm text-foreground/80 hover:bg-primary/5 hover:text-primary transition-colors",children:c.label},c.href))})})]},l.label):i.jsx(be,{to:l.href,className:`px-4 py-2 text-sm font-medium rounded-lg transition-colors ${a.pathname===l.href?"text-primary bg-primary/8":"text-foreground/80 hover:text-primary hover:bg-primary/5"}`,children:l.label},l.href))}),i.jsx("div",{className:"hidden lg:flex items-center gap-3",children:i.jsxs("a",{href:Pe("header_desktop"),target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-semibold transition-all duration-200 bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] shadow-md hover:shadow-lg",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]})}),i.jsx("button",{onClick:()=>t(!e),className:"lg:hidden p-2 rounded-lg text-foreground/80 hover:bg-muted transition-colors","aria-label":"Menu",children:e?i.jsx(ju,{className:"h-6 w-6"}):i.jsx(By,{className:"h-6 w-6"})})]}),e&&i.jsx("div",{className:"lg:hidden bg-card border-t border-border shadow-xl",children:i.jsxs("nav",{className:"container-site py-4 flex flex-col gap-1",children:[$f.map(l=>i.jsx("div",{children:l.children?i.jsxs(i.Fragment,{children:[i.jsxs("button",{onClick:()=>s(o===l.label?null:l.label),className:"w-full flex items-center justify-between px-3 py-3 text-sm font-medium text-foreground/80 hover:text-primary rounded-lg hover:bg-primary/5",children:[l.label,i.jsx(ic,{className:`h-4 w-4 transition-transform ${o===l.label?"rotate-180":""}`})]}),o===l.label&&i.jsx("div",{className:"pl-4 flex flex-col gap-0.5",children:l.children.map(c=>i.jsx(be,{to:c.href,className:"block px-3 py-2.5 text-sm text-foreground/70 hover:text-primary rounded-lg hover:bg-primary/5",children:c.label},c.href))})]}):i.jsx(be,{to:l.href,className:"block px-3 py-3 text-sm font-medium text-foreground/80 hover:text-primary rounded-lg hover:bg-primary/5",children:l.label})},l.label)),i.jsxs("a",{href:Pe("header_mobile_menu"),target:"_blank",rel:"noopener noreferrer",className:"mt-2 flex items-center justify-center gap-2 px-5 py-3 rounded-full text-sm font-semibold bg-[hsl(142_70%_45%)] text-white shadow",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]})]})})]}),i.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-40 lg:hidden bg-[hsl(142_70%_45%)] py-3 shadow-lg",children:i.jsxs("a",{href:Pe("header_mobile_fixo"),target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 text-white font-bold text-sm",children:[i.jsx(ee,{className:"h-5 w-5"}),"Falar no WhatsApp agora"]})})]})}function Bf(e){typeof window<"u"&&window.gtag&&window.gtag("event",e,{event_category:"exit_intent"})}function QS(){const[e,t]=y.useState(!1),[n,r]=y.useState(!1),o=y.useCallback(()=>{n||(t(!0),Bf("exit_intent_shown"))},[n]);y.useEffect(()=>{if(sessionStorage.getItem("exitPopupDismissed"))return;const l=f=>{f.clientY<=5&&o()};let c;const u=()=>{clearTimeout(c),c=setTimeout(o,3e4)},d=["mousemove","keypress","scroll","touchstart","click"];return d.forEach(f=>window.addEventListener(f,u,{passive:!0})),c=setTimeout(o,3e4),document.addEventListener("mouseleave",l),()=>{document.removeEventListener("mouseleave",l),d.forEach(f=>window.removeEventListener(f,u)),clearTimeout(c)}},[o]);const s=()=>{t(!1),r(!0),sessionStorage.setItem("exitPopupDismissed","1")},a=()=>{Bf("exit_intent_click"),typeof window<"u"&&window.gtag&&window.gtag("event","conversion",{send_to:"AW-18030605379/13337305639"}),s(),window.open(Pe("exit_intent"),"_blank","noopener,noreferrer")};return e?i.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-black/75 backdrop-blur-sm animate-in fade-in duration-300",onClick:l=>l.target===l.currentTarget&&s(),"aria-modal":"true",role:"dialog","aria-label":"Oferta especial antes de você ir",children:i.jsxs("div",{className:"relative w-full max-w-md rounded-2xl overflow-hidden shadow-2xl border border-lp-purple/30 bg-lp-dark animate-in zoom-in-90 duration-300",children:[i.jsx("div",{className:"h-1.5 w-full bg-gradient-to-r from-lp-purple to-lp-orange"}),i.jsx("button",{onClick:s,className:"absolute top-4 right-4 p-1.5 rounded-full bg-white/10 hover:bg-white/20 transition-colors text-white/70 hover:text-white","aria-label":"Fechar",children:i.jsx(ju,{className:"h-4 w-4"})}),i.jsxs("div",{className:"px-7 pt-8 pb-8 flex flex-col items-center text-center gap-5",children:[i.jsxs("div",{className:"relative",children:[i.jsx("div",{className:"w-16 h-16 rounded-full bg-gradient-to-br from-lp-purple to-lp-orange flex items-center justify-center shadow-lp-cta",children:i.jsx($y,{className:"h-8 w-8 text-white"})}),i.jsx("span",{className:"absolute -top-1 -right-1 bg-lp-orange text-white text-[10px] font-black px-1.5 py-0.5 rounded-full uppercase tracking-wide",children:"Espere!"})]}),i.jsxs("div",{className:"space-y-1.5",children:[i.jsx("p",{className:"text-lp-orange font-bold text-sm uppercase tracking-widest",children:"Oferta exclusiva para você"}),i.jsxs("h2",{className:"text-2xl font-black text-white leading-tight",children:["Antes de ir… garanta",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-lp-purple to-lp-orange bg-clip-text text-transparent",children:"R$ 100 de desconto"})]}),i.jsxs("p",{className:"text-white/70 text-sm leading-relaxed",children:["Mencione ",i.jsx("strong",{className:"text-white",children:"SITE100"})," no WhatsApp e ganhe R$ 100 off na criação da sua landing page profissional."]})]}),i.jsx("ul",{className:"w-full space-y-2 text-left",children:["✅ Entrega em até 3 dias úteis","✅ Design focado em conversão","✅ Bônus: consultoria de 30 min grátis"].map(l=>i.jsx("li",{className:"text-white/80 text-sm",children:l},l))}),i.jsxs("div",{className:"flex items-center gap-2 bg-lp-orange/10 border border-lp-orange/30 rounded-lg px-4 py-2.5 w-full",children:[i.jsx(ks,{className:"h-4 w-4 text-lp-orange flex-shrink-0"}),i.jsx("span",{className:"text-lp-orange text-xs font-semibold",children:"Oferta válida apenas hoje — vagas limitadas"})]}),i.jsxs("button",{onClick:a,className:"w-full flex items-center justify-center gap-2.5 px-6 py-4 rounded-xl font-black text-base text-white bg-gradient-to-r from-lp-purple to-lp-orange shadow-lp-cta hover:scale-[1.02] active:scale-95 transition-transform",children:[i.jsx(ee,{className:"h-5 w-5 flex-shrink-0"}),"Quero meu desconto de R$ 100"]}),i.jsx("button",{onClick:s,className:"text-white/30 text-xs hover:text-white/60 transition-colors underline underline-offset-2",children:"Não, obrigado — prefiro pagar mais caro"})]})]})}):null}function Ie({children:e}){const{pathname:t}=br(),n=t!=="/obrigado";return i.jsxs("div",{className:"flex flex-col min-h-screen",children:[i.jsx(HS,{}),i.jsx("main",{className:"flex-1 pt-16",children:e}),i.jsx(Xg,{}),i.jsx(Zg,{}),n&&i.jsx(QS,{})]})}function GS(){return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Sobre Nós"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Conheça a história e a missão do Descomplicando Seu Site."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site max-w-3xl",children:[i.jsx("h2",{className:"text-2xl font-display font-bold mb-4",children:"Nossa Missão"}),i.jsxs("p",{className:"text-muted-foreground leading-relaxed mb-6",children:["O ",i.jsx("strong",{className:"text-foreground",children:"Descomplicando Seu Site"})," nasceu com uma missão clara: democratizar o acesso a sites profissionais de qualidade para pequenas empresas, advogados e prestadores de serviços brasileiros."]}),i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"Acreditamos que todo negócio merece uma presença digital profissional — sem precisar gastar uma fortuna ou esperar meses por uma agência."}),i.jsx("h2",{className:"text-2xl font-display font-bold mb-4 mt-10",children:"O que fazemos"}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-4 mb-10",children:["Templates Elementor prontos e otimizados","Sites para advogados e escritórios","Landing pages de alta conversão","Suporte via WhatsApp","Consultoria de presença digital"].map(e=>i.jsx("div",{className:"p-4 bg-card rounded-xl border border-border text-sm text-foreground",children:e},e))}),i.jsxs("a",{href:Pe("sobre_cta"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3.5 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white shadow",children:[i.jsx(ee,{className:"h-4 w-4"})," Falar no WhatsApp"]})]})}),i.jsx(Ut,{})]})}function KS(){const[e,t]=y.useState({nome:"",email:"",assunto:"",mensagem:""}),n=r=>{r.preventDefault();const o=`Olá! Vim pelo site. Nome: ${e.nome} E-mail: ${e.email} Assunto: ${e.assunto} Mensagem: ${e.mensagem}`;window.open(`${Pe("contato_form")}&text=${encodeURIComponent(o)}`,"_blank")};return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Fale Conosco"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Nossa equipe está pronta para ajudá-lo a escolher o template ideal."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site grid lg:grid-cols-2 gap-12",children:[i.jsxs("div",{children:[i.jsx("h2",{className:"text-2xl font-display font-bold mb-6",children:"Entre em contato"}),i.jsxs("form",{onSubmit:n,className:"space-y-5",children:[[{label:"Nome completo",id:"nome",type:"text",placeholder:"Seu nome"},{label:"E-mail",id:"email",type:"email",placeholder:"seu@email.com"},{label:"Assunto",id:"assunto",type:"text",placeholder:"Como podemos ajudar?"}].map(r=>i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-foreground mb-1.5",children:r.label}),i.jsx("input",{type:r.type,placeholder:r.placeholder,value:e[r.id],onChange:o=>t({...e,[r.id]:o.target.value}),className:"w-full px-4 py-3 rounded-xl border border-border bg-card text-foreground focus:outline-none focus:ring-2 focus:ring-primary/30"})]},r.id)),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-foreground mb-1.5",children:"Mensagem"}),i.jsx("textarea",{rows:4,placeholder:"Descreva sua necessidade...",value:e.mensagem,onChange:r=>t({...e,mensagem:r.target.value}),className:"w-full px-4 py-3 rounded-xl border border-border bg-card text-foreground focus:outline-none focus:ring-2 focus:ring-primary/30 resize-none"})]}),i.jsxs("button",{type:"submit",className:"w-full flex items-center justify-center gap-2 py-4 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] transition-colors shadow-lg",children:[i.jsx(ee,{className:"h-5 w-5"}),"Enviar via WhatsApp"]})]})]}),i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"p-6 bg-card rounded-2xl border border-border shadow-sm",children:[i.jsx("h3",{className:"font-bold text-foreground mb-4",children:"Canais de atendimento"}),i.jsx("div",{className:"space-y-4",children:[{icon:ee,label:"WhatsApp",value:"(15) 99683-0286",href:Pe("contato_info")},{icon:Uh,label:"E-mail",value:"contato@descomplicandoseusite.com.br",href:"mailto:contato@descomplicandoseusite.com.br"}].map(r=>i.jsxs("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 group",children:[i.jsx("div",{className:"w-10 h-10 rounded-xl gradient-purple flex items-center justify-center flex-shrink-0",children:i.jsx(r.icon,{className:"h-4 w-4 text-white"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-xs text-muted-foreground",children:r.label}),i.jsx("p",{className:"text-sm font-medium text-foreground group-hover:text-primary transition-colors",children:r.value})]})]},r.label))})]}),i.jsxs("div",{className:"p-6 gradient-brand rounded-2xl text-white",children:[i.jsx("h3",{className:"font-bold mb-2",children:"Horário de atendimento"}),i.jsx("p",{className:"text-white/80 text-sm",children:"Segunda a Sexta: 9h às 18h"}),i.jsx("p",{className:"text-white/80 text-sm",children:"Sábado: 9h às 13h"})]})]})]})}),i.jsx(Ut,{})]})}function YS(){return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Suporte"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Estamos aqui para ajudá-lo com qualquer dúvida."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site max-w-2xl text-center",children:[i.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:"Nossa equipe de suporte atende via WhatsApp de segunda a sexta das 9h às 18h e aos sábados das 9h às 13h. Fale conosco para tirar dúvidas sobre templates, instalação ou personalização."}),i.jsxs("a",{href:Pe("suporte_cta"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white shadow-lg",children:[i.jsx(ee,{className:"h-5 w-5"})," Falar no WhatsApp agora"]}),i.jsx("div",{className:"mt-12 grid gap-4",children:["Como instalo o template?","Posso personalizar as cores?","O template é compatível com minha versão do Elementor?","Preciso de hospedagem?"].map(e=>i.jsxs("div",{className:"p-5 bg-card rounded-2xl border border-border text-left",children:[i.jsx("h3",{className:"font-bold text-foreground text-sm mb-1",children:e}),i.jsx("p",{className:"text-xs text-muted-foreground",children:"Entre em contato via WhatsApp para suporte completo e personalizado."})]},e))})]})})]})}function As({template:e}){return i.jsxs("article",{className:"group bg-card rounded-2xl overflow-hidden border border-border hover:border-primary/30 shadow-sm hover:shadow-lg transition-all duration-300",children:[i.jsxs("div",{className:"relative h-48 overflow-hidden",style:{background:e.image?void 0:e.imageColor},children:[e.image?i.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}):i.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:i.jsx("span",{className:"text-white/30 text-6xl font-bold font-display",children:e.title.charAt(0)})}),e.badge&&i.jsx("span",{className:"absolute top-3 left-3 px-3 py-1 rounded-full text-xs font-bold bg-secondary text-secondary-foreground shadow",children:e.badge}),i.jsx("div",{className:"absolute inset-0 bg-foreground/0 group-hover:bg-foreground/10 transition-colors flex items-center justify-center opacity-0 group-hover:opacity-100",children:i.jsxs(be,{to:`/template/${e.slug}`,className:"flex items-center gap-2 px-4 py-2 rounded-full bg-card text-foreground text-xs font-semibold shadow-lg",children:[i.jsx(Fy,{className:"h-3.5 w-3.5"}),"Ver detalhes"]})})]}),i.jsxs("div",{className:"p-5",children:[i.jsx("span",{className:"text-xs font-medium text-primary uppercase tracking-wider",children:e.category}),i.jsx("h3",{className:"mt-1.5 text-base font-bold text-foreground line-clamp-1",children:e.title}),i.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e.description}),i.jsxs("div",{className:"mt-3 flex items-center gap-3 text-xs text-muted-foreground",children:[i.jsxs("span",{className:"flex items-center gap-1",children:[i.jsx(mi,{className:"h-3.5 w-3.5 fill-secondary text-secondary"}),e.rating.toFixed(1)]}),i.jsxs("span",{children:[e.sales," vendas"]})]}),i.jsxs("div",{className:"mt-4 flex items-center justify-between gap-3",children:[i.jsx("span",{className:"text-lg font-bold text-primary",children:e.price}),i.jsxs("a",{href:Pe(`template_card_${e.slug}`),target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1.5 px-4 py-2 rounded-full text-xs font-bold bg-primary text-primary-foreground hover:bg-primary/90 transition-colors shadow",children:[i.jsx(ee,{className:"h-3.5 w-3.5"}),"Quero esse template"]})]})]})]})}function XS(){const[e,t]=y.useState("Todos"),[n,r]=y.useState(""),o=MS(e).filter(s=>s.title.toLowerCase().includes(n.toLowerCase())||s.description.toLowerCase().includes(n.toLowerCase()));return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-center text-white",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Templates Elementor Profissionais"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Designs prontos para advogados, empresas e prestadores de serviços."})]})}),i.jsx("section",{className:"py-12 bg-background",children:i.jsxs("div",{className:"container-site",children:[i.jsxs("div",{className:"flex flex-col md:flex-row gap-4 mb-8",children:[i.jsxs("div",{className:"relative flex-1",children:[i.jsx(Uy,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),i.jsx("input",{type:"text",placeholder:"Buscar template...",value:n,onChange:s=>r(s.target.value),className:"w-full pl-10 pr-4 py-3 rounded-xl border border-border bg-card text-foreground focus:outline-none focus:ring-2 focus:ring-primary/30"})]}),i.jsx("div",{className:"flex flex-wrap gap-2",children:LS.map(s=>i.jsx("button",{onClick:()=>t(s),className:`px-4 py-2 rounded-full text-sm font-semibold transition-colors ${e===s?"gradient-purple text-primary-foreground shadow":"bg-muted text-muted-foreground hover:bg-muted/70"}`,children:s},s))})]}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:o.map(s=>i.jsx(As,{template:s},s.id))}),o.length===0&&i.jsx("p",{className:"text-center text-muted-foreground py-16",children:"Nenhum template encontrado para essa busca."})]})}),i.jsx(Ut,{})]})}function ZS(){const e=IS();return i.jsxs(Ie,{children:[i.jsx("section",{className:"bg-[hsl(222,50%,8%)] py-24 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full text-xs font-semibold bg-primary/20 text-primary border border-primary/30 mb-6",children:"⚖️ Especialidade: Advocacia"}),i.jsxs("h1",{className:"text-4xl md:text-6xl font-display font-extrabold mb-6 leading-tight",children:["Templates para Advogados",i.jsx("br",{}),i.jsx("span",{className:"text-gradient-brand",children:"e Escritórios de Advocacia"})]}),i.jsx("p",{className:"text-white/70 text-lg max-w-2xl mx-auto mb-10",children:"Sites profissionais dentro das normas OAB. Design sóbrio, autoridade e conversão de clientes via WhatsApp."}),i.jsxs("a",{href:Pe("advogados_hero"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white shadow-xl hover:bg-[hsl(142_70%_38%)] transition-colors",children:[i.jsx(ee,{className:"h-5 w-5"}),"Falar no WhatsApp"]})]})}),i.jsx("section",{className:"py-16 bg-muted/40",children:i.jsx("div",{className:"container-site grid grid-cols-2 md:grid-cols-4 gap-6 text-center",children:[{icon:Wh,label:"Dentro das normas OAB"},{icon:bu,label:"Design de autoridade"},{icon:qh,label:"Foco em captação"},{icon:wn,label:"SEO para advocacia"}].map(t=>i.jsxs("div",{className:"flex flex-col items-center gap-3 p-5 bg-card rounded-2xl border border-border shadow-sm",children:[i.jsx(t.icon,{className:"h-7 w-7 text-primary"}),i.jsx("span",{className:"text-sm font-semibold text-foreground",children:t.label})]},t.label))})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold text-center mb-10",children:"Templates para Advocacia"}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(t=>i.jsx(As,{template:t},t.id))})]})}),i.jsx("section",{className:"py-16 bg-muted/40",children:i.jsxs("div",{className:"container-site max-w-3xl text-center",children:[i.jsx("h2",{className:"text-2xl md:text-3xl font-display font-bold mb-5",children:"Tipos de sites para advogados"}),i.jsx("div",{className:"grid sm:grid-cols-2 gap-4 text-left mt-8",children:[{title:"Site para Advogado Autônomo",desc:"Apresentação profissional com áreas de atuação, biografia e formulário de contato."},{title:"Site para Escritório",desc:"Apresentação da equipe, áreas de atuação e cases, com visual corporativo."},{title:"Landing Page para Advogado",desc:"Página de alta conversão para campanhas de Google Ads e captação de clientes."},{title:"Site com Blog Jurídico",desc:"Site completo com blog para posicionamento de autoridade e SEO orgânico."}].map(t=>i.jsxs("div",{className:"p-5 bg-card rounded-2xl border border-border shadow-sm",children:[i.jsx("h3",{className:"font-bold text-foreground mb-2",children:t.title}),i.jsx("p",{className:"text-sm text-muted-foreground",children:t.desc})]},t.title))}),i.jsx("div",{className:"mt-10",children:i.jsxs("a",{href:Pe("advogados_cta_final"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-8 py-4 rounded-full font-bold gradient-brand text-white shadow-lg hover:opacity-90 transition-opacity",children:[i.jsx(ee,{className:"h-5 w-5"}),"Solicitar orçamento"]})})]})}),i.jsx(Ut,{})]})}function JS(){const e=Vn.filter(t=>t.category==="Landing Page");return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Landing Pages Elementor"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Páginas de alta conversão para campanhas de Google Ads, Meta Ads e WhatsApp."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsx("div",{className:"container-site",children:i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(t=>i.jsx(As,{template:t},t.id))})})}),i.jsx(Ut,{})]})}function ej(){const e=Vn.filter(t=>t.category==="Empresas"||t.category==="Serviços");return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Sites Institucionais"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Templates profissionais para empresas e prestadores de serviços."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsx("div",{className:"container-site",children:i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(t=>i.jsx(As,{template:t},t.id))})})}),i.jsx(Ut,{})]})}function tj(){const e=Vn.filter(t=>t.category==="Pack");return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Packs de Templates"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Conjuntos de templates com melhor custo-benefício. Tudo que você precisa em um só pacote."})]})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsx("div",{className:"container-site",children:i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(t=>i.jsx(As,{template:t},t.id))})})}),i.jsx(Ut,{})]})}function nj(){const{slug:e}=Qg(),t=e?DS(e):void 0;if(!t)return i.jsx(Ie,{children:i.jsxs("div",{className:"container-site py-32 text-center",children:[i.jsx("h1",{className:"text-3xl font-bold mb-4",children:"Template não encontrado"}),i.jsx(be,{to:"/templates",className:"text-primary hover:underline",children:"Ver todos os templates"})]})});const n=Pe(`template_${t.slug}`);return i.jsxs(Ie,{children:[i.jsx("div",{className:"h-72 md:h-96 overflow-hidden",children:t.image?i.jsx("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover"}):i.jsx("div",{className:"w-full h-full",style:{background:t.imageColor}})}),i.jsx("section",{className:"py-12 bg-background",children:i.jsxs("div",{className:"container-site max-w-4xl",children:[i.jsxs(be,{to:"/templates",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground mb-8 transition-colors",children:[i.jsx(Bh,{className:"h-4 w-4"})," Voltar aos templates"]}),i.jsxs("div",{className:"grid lg:grid-cols-3 gap-10",children:[i.jsxs("div",{className:"lg:col-span-2",children:[i.jsx("span",{className:"text-xs font-semibold text-primary uppercase tracking-wider",children:t.category}),i.jsx("h1",{className:"text-3xl md:text-4xl font-display font-extrabold mt-2 mb-4",children:t.title}),i.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[i.jsxs("span",{className:"flex items-center gap-1 text-sm",children:[i.jsx(mi,{className:"h-4 w-4 fill-secondary text-secondary"}),t.rating.toFixed(1)]}),i.jsxs("span",{className:"text-sm text-muted-foreground",children:[t.sales," vendas"]})]}),i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-8",children:t.description}),i.jsx("h2",{className:"font-bold text-foreground mb-4",children:"O que está incluído"}),i.jsx("ul",{className:"space-y-2",children:["Arquivo do template (.json) para importar no Elementor","Instruções de instalação passo a passo","Suporte via WhatsApp por 30 dias","Atualizações gratuitas","Licença para uso em 1 domínio"].map(r=>i.jsxs("li",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[i.jsx(wn,{className:"h-4 w-4 text-[hsl(142_70%_45%)] flex-shrink-0"}),r]},r))})]}),i.jsx("div",{className:"lg:col-span-1",children:i.jsxs("div",{className:"sticky top-24 p-6 bg-card rounded-2xl border border-border shadow-lg",children:[i.jsx("div",{className:"text-3xl font-extrabold text-primary mb-2",children:t.price}),i.jsx("p",{className:"text-xs text-muted-foreground mb-6",children:"Pagamento único · Acesso imediato"}),i.jsxs("a",{href:`${n}&text=${encodeURIComponent(`Olá! Quero o template: ${t.title}`)}`,target:"_blank",rel:"noopener noreferrer",className:"w-full flex items-center justify-center gap-2 py-4 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] transition-colors shadow mb-3",children:[i.jsx(ee,{className:"h-4 w-4"})," Quero esse template"]}),i.jsx("a",{href:Pe(`template_duvida_${t.slug}`),target:"_blank",rel:"noopener noreferrer",className:"w-full flex items-center justify-center gap-2 py-3 rounded-full font-semibold text-sm border border-border hover:bg-muted transition-colors",children:"Tirar dúvidas"})]})})]})]})}),i.jsx(Ut,{})]})}function wc({post:e,featured:t=!1}){return t?i.jsxs("article",{className:"group bg-card rounded-2xl overflow-hidden border border-border hover:border-primary/30 shadow-sm hover:shadow-lg transition-all duration-300 grid md:grid-cols-2",children:[i.jsx("div",{className:"h-56 md:h-full min-h-[200px] overflow-hidden",children:e.coverImage?i.jsx("img",{src:e.coverImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}):i.jsx("div",{className:"w-full h-full",style:{background:e.coverColor}})}),i.jsxs("div",{className:"p-6 flex flex-col justify-between",children:[i.jsxs("div",{children:[i.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-semibold bg-primary/10 text-primary mb-3",children:[i.jsx(lc,{className:"h-3 w-3"}),e.category]}),i.jsx("h2",{className:"text-xl font-bold text-foreground group-hover:text-primary transition-colors leading-snug mb-2",children:i.jsx(be,{to:`/blog/${e.slug}`,children:e.title})}),i.jsx("p",{className:"text-sm text-muted-foreground line-clamp-3",children:e.excerpt})]}),i.jsxs("div",{className:"mt-4 flex items-center justify-between",children:[i.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[i.jsx(us,{className:"h-3.5 w-3.5"}),e.readTime," min de leitura"]}),i.jsx(be,{to:`/blog/${e.slug}`,className:"text-xs font-semibold text-primary hover:underline",children:"Ler artigo →"})]})]})]}):i.jsxs("article",{className:"group bg-card rounded-2xl overflow-hidden border border-border hover:border-primary/30 shadow-sm hover:shadow-lg transition-all duration-300",children:[i.jsx("div",{className:"h-44 overflow-hidden",children:e.coverImage?i.jsx("img",{src:e.coverImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"}):i.jsx("div",{className:"w-full h-full",style:{background:e.coverColor}})}),i.jsxs("div",{className:"p-5",children:[i.jsxs("span",{className:"inline-flex items-center gap-1 px-2.5 py-1 rounded-full text-xs font-semibold bg-primary/10 text-primary mb-2",children:[i.jsx(lc,{className:"h-3 w-3"}),e.category]}),i.jsx("h3",{className:"text-base font-bold text-foreground group-hover:text-primary transition-colors leading-snug mb-2",children:i.jsx(be,{to:`/blog/${e.slug}`,children:e.title})}),i.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-4",children:e.excerpt}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[i.jsx(us,{className:"h-3.5 w-3.5"}),e.readTime," min"]}),i.jsx(be,{to:`/blog/${e.slug}`,className:"text-xs font-semibold text-primary hover:underline",children:"Ler mais →"})]})]})]})}const rj="/assets/como-criar-site-profissional-elementor-DZ_5U5Bb.jpg",oj="/assets/templates-elementor-vale-a-pena-Bf-YJhfN.jpg",sj="/assets/como-criar-site-advogado-captar-clientes-BAuZfQoX.jpg",aj="/assets/site-advogado-obrigatorio-D9_0ZBEa.jpg",ij="/assets/template-landing-page-elementor-CW5jzA5s.jpg",lj="/assets/como-vender-servicos-sites-prontos-C0LNExui.jpg",cj="/assets/seo-sites-wordpress-CDAjyx3F.jpg",uj="/assets/erros-comuns-criar-sites-BtxPfPlt.jpg",dj="/assets/como-escolher-template-profissional-DPiDVQVk.jpg",fj="/assets/como-criar-presenca-digital-COs2ii7B.jpg";Pe("blog_post");vs("blog_post");const bc=[{slug:"como-criar-site-profissional-elementor",title:"Como Criar um Site Profissional com Elementor em 2026",metaTitle:"Como Criar um Site Profissional com Elementor | Descomplicando Seu Site",metaDescription:"Aprenda passo a passo como criar um site profissional com Elementor. Templates prontos, dicas de design e SEO para o seu negócio.",excerpt:"Descubra como criar um site profissional com Elementor mesmo sem conhecimentos técnicos. Templates prontos aceleram o processo.",category:"Templates Elementor",readTime:8,publishedAt:"2026-03-01",coverColor:"linear-gradient(135deg, hsl(262, 72%, 48%) 0%, hsl(262, 72%, 35%) 100%)",coverImage:rj,relatedSlugs:["templates-elementor-vale-a-pena","como-escolher-template-profissional","erros-comuns-criar-sites"],content:`# Como Criar um Site Profissional com Elementor Criar um site profissional já foi sinônimo de gastos elevados e tempo perdido com agências. Hoje, com o **Elementor** e os templates certos, você pode ter um site no ar em questão de horas. ## O que é o Elementor? O **Elementor** é o construtor de sites mais popular do mundo para WordPress, com mais de 12 milhões de sites ativos. ## Por que usar Elementor? - Interface visual intuitiva - Compatível com milhares de templates - SEO otimizado - Responsivo para mobile ## Passo a Passo ### 1. Escolha hospedagem e instale WordPress ### 2. Instale o Elementor ### 3. Escolha um template profissional Templates prontos reduzem em até 80% o tempo de desenvolvimento. ### 4. Personalize com suas informações ### 5. Configure SEO básico ### 6. Teste em mobile e publique ## Quanto Custa? Hospedagem + domínio + template: R$ 287 a R$ 757. Compare com agências (R$ 2.000+) e veja por que templates são a escolha inteligente. --- 👉 **Fale com nossa equipe pelo WhatsApp e comece hoje mesmo!** 🚀 **Precisa de algo avançado? Conheça a Agência Locomotiva Sestini — especialistas em estratégia digital e desenvolvimento personalizado.**`},{slug:"templates-elementor-vale-a-pena",title:"Templates Elementor: Vale a Pena Usar? Análise Completa",metaTitle:"Templates Elementor: Vale a Pena? Análise Completa 2026",metaDescription:"Templates Elementor economizam tempo e dinheiro? Descubra as vantagens, desvantagens e quando usar templates prontos para seu site.",excerpt:"Análise honesta sobre templates Elementor: vale a pena investir? Descubra quando usar templates prontos e como escolher o melhor.",category:"Templates Elementor",readTime:7,publishedAt:"2026-03-05",coverColor:"linear-gradient(135deg, hsl(262, 72%, 55%) 0%, hsl(185, 85%, 42%) 100%)",coverImage:oj,relatedSlugs:["como-criar-site-profissional-elementor","como-escolher-template-profissional","erros-comuns-criar-sites"],content:`# Templates Elementor: Vale a Pena Usar? Sim, na maioria dos casos **vale muito a pena**. Mas vamos aprofundar. ## Vantagens ### Economia de Tempo Com um template profissional, você tem um site funcional em **1 a 3 dias**. ### Design Profissional Garantido Criados por designers experientes seguindo melhores práticas de UX/UI. ### Custo-Benefício | Opção | Custo | |-------|-------| | Agência | R$ 3.000 – R$ 20.000 | | Freelancer | R$ 800 – R$ 3.000 | | **Template** | **R$ 97 – R$ 297** | ## Desvantagens - Menos personalização total - Risco de sites parecidos (minimizado com personalização) - Dependência da plataforma ## Quando Templates São a Melhor Escolha? 1. Começando e precisando validar o negócio 2. Orçamento limitado 3. Prazo curto 4. Site relativamente padrão ## Quando Optar por Desenvolvimento Personalizado? Para projetos complexos, conheça a **Agência Locomotiva Sestini** — especialistas em soluções sob medida para escalar seu negócio digital. --- 👉 **Veja nossos templates e escolha o ideal para seu negócio!** 💬 **Dúvidas? Fale com a gente no WhatsApp agora mesmo.**`},{slug:"como-criar-site-advogado-captar-clientes",title:"Como Criar Site para Advogado e Captar Clientes em 2026",metaTitle:"Site para Advogado: Como Criar e Captar Clientes | Guia Completo",metaDescription:"Aprenda como criar um site profissional para advogado que realmente capta clientes. Templates prontos para advocacia com SEO e conversão.",excerpt:"Guia completo para advogados criarem sites profissionais que captam clientes. Templates específicos para advocacia com foco em conversão.",category:"Advocacia Digital",readTime:10,publishedAt:"2026-03-10",coverColor:"linear-gradient(135deg, hsl(222, 50%, 25%) 0%, hsl(262, 72%, 35%) 100%)",coverImage:sj,relatedSlugs:["site-advogado-obrigatorio","template-landing-page-elementor","como-criar-presenca-digital"],content:`# Como Criar Site para Advogado e Captar Clientes Advogados sem presença digital perdem clientes todos os dias para concorrentes que aparecem no Google. ## Por que Advogados Precisam de Site? - Mais de **80%** pesquisam online antes de contratar - Transmite autoridade e credibilidade - Captação de clientes 24/7 - Publicidade dentro das normas da OAB ## O que o Site Precisa Ter? ### Página Inicial Profissional - Área de atuação clara - CTA para contato ### Áreas de Atuação Crie páginas específicas para cada área. Isso melhora muito o SEO. ### Contato Facilitado - Formulário de contato - WhatsApp (botão fixo) - Telefone visível ### Blog Jurídico Artigos sobre temas jurídicos posicionam você como autoridade. ## Nossos Templates para Advocacia Desenvolvidos especificamente para o advogado brasileiro: - Design sóbrio e profissional - Botões de WhatsApp estratégicos - SEO otimizado - Dentro das normas OAB ## SEO para Advogados Foque em termos locais: "advogado trabalhista [cidade]", "advogado divórcio [bairro]". --- 👉 **Fale com a gente no WhatsApp e tenha seu site de advocacia pronto em até 3 dias!** 🚀 **Para estratégia digital avançada, conheça a Agência Locomotiva Sestini.**`},{slug:"site-advogado-obrigatorio",title:"Site para Advogado é Obrigatório? O que a OAB Diz Sobre Isso",metaTitle:"Site para Advogado é Obrigatório? Regras OAB 2026",metaDescription:"Descubra se advogados precisam ter site, o que a OAB permite na publicidade jurídica e como ter presença digital dentro das normas.",excerpt:"Site para advogado não é obrigatório, mas é essencial. Entenda as regras da OAB para publicidade jurídica e como se destacar online.",category:"Advocacia Digital",readTime:6,publishedAt:"2026-03-14",coverColor:"linear-gradient(135deg, hsl(222, 60%, 20%) 0%, hsl(222, 50%, 35%) 100%)",coverImage:aj,relatedSlugs:["como-criar-site-advogado-captar-clientes","template-landing-page-elementor","como-criar-presenca-digital"],content:`# Site para Advogado é Obrigatório? **Não** existe obrigatoriedade legal, mas é **praticamente indispensável** para quem quer crescer na advocacia moderna. ## O que a OAB Permite? ### Pode - Nome, endereço, telefone e e-mail - Áreas de atuação - Formação acadêmica e especializações - Artigos e conteúdos informativos - Foto profissional ### Não Pode - Mercantilizar a profissão (anunciar preços ou promoções) - Linguagem sensacionalista - Prometer resultados - Captar clientes de forma ativa ## Por que Ter um Site Mesmo Não Sendo Obrigatório? 1. **Visibilidade no Google** — Sem site você simplesmente não aparece 2. **Credibilidade Imediata** — Transmite que você é um profissional sério 3. **Central de Informações** — Seu site é seu, redes sociais mudam 4. **Consultas Fora do Horário** — Clientes entram em contato quando precisam ## Templates Dentro das Normas OAB Nossos templates respeitam todas as normas: - Sem linguagem comercial excessiva - Design sóbrio e elegante - CTAs discretos e éticos --- 👉 **Fale com a gente no WhatsApp e tire suas dúvidas sobre o site ideal para seu escritório!**`},{slug:"template-landing-page-elementor",title:"Landing Page Elementor: O que é, Como Criar e Quando Usar",metaTitle:"Landing Page Elementor: Guia Completo para Criar e Converter",metaDescription:"Aprenda o que é uma landing page Elementor, quando usar e como criar páginas de alta conversão com templates profissionais.",excerpt:"Landing pages convertem muito mais que sites comuns. Aprenda a criar páginas de alta conversão com Elementor e templates profissionais.",category:"Templates Elementor",readTime:8,publishedAt:"2026-03-18",coverColor:"linear-gradient(135deg, hsl(25, 95%, 50%) 0%, hsl(330, 80%, 58%) 100%)",coverImage:ij,relatedSlugs:["templates-elementor-vale-a-pena","como-criar-site-profissional-elementor","como-vender-servicos-sites-prontos"],content:`# Landing Page Elementor: O que é e Como Usar Se você quer converter visitantes em clientes de forma eficiente, a **landing page** é uma das ferramentas mais poderosas do marketing digital. ## O que é uma Landing Page? Uma página web criada com um objetivo específico: converter visitantes em leads ou clientes. | Característica | Site Completo | Landing Page | |----------------|---------------|-------------| | Páginas | Múltiplas | Uma única | | Objetivo | Informar | Converter | | Taxa de conversão | 2-5% | 10-30% | ## Quando Usar Landing Page? - Google Ads e Facebook Ads - Lançamentos de produtos - Eventos e inscrições - Serviços específicos ## Elementos Essenciais 1. **Headline Poderosa** — Comunicar o benefício principal 2. **Proposta de Valor** — Por que escolher você 3. **Prova Social** — Depoimentos, números 4. **CTA Irresistível** — Botão destacado com texto ativo 5. **Formulário Simples** — Nome e WhatsApp bastam ## Como Criar com Elementor 1. Ative o modo Landing Page no Elementor 2. Importe um template profissional 3. Personalize o conteúdo 4. Configure formulário integrado ao WhatsApp 5. Teste em mobile e publique --- 👉 **Quer uma landing page pronta para gerar clientes? Fale com a gente no WhatsApp!** 🚀 **Para estratégia avançada de tráfego pago, conheça a Agência Locomotiva Sestini.**`},{slug:"como-vender-servicos-sites-prontos",title:"Como Vender Serviços Usando Sites Prontos: Estratégia Completa",metaTitle:"Como Vender Serviços com Sites Prontos | Guia Prático 2026",metaDescription:"Descubra como usar sites prontos e templates profissionais para vender mais serviços. Estratégias práticas para prestadores de serviços.",excerpt:"Sites prontos são a forma mais rápida de entrar online e começar a vender. Veja estratégias práticas para prestadores de serviços.",category:"Sites Profissionais",readTime:9,publishedAt:"2026-03-21",coverColor:"linear-gradient(135deg, hsl(185, 85%, 35%) 0%, hsl(262, 72%, 48%) 100%)",coverImage:lj,relatedSlugs:["templates-elementor-vale-a-pena","como-criar-site-profissional-elementor","como-escolher-template-profissional"],content:`# Como Vender Serviços Usando Sites Prontos Para prestadores de serviços, ter um site profissional é a diferença entre depender de indicações e ter um canal constante de novos clientes. ## O Site como Vendedor 24/7 Um site profissional apresenta seus serviços, responde dúvidas frequentes e encaminha clientes interessados direto para o seu WhatsApp — mesmo enquanto você dorme. ## Estratégia em 6 Passos ### 1. Template do Seu Nicho Prefira templates desenvolvidos para o seu segmento. ### 2. Proposta de Valor Clara - **O que você faz** (serviço específico) - **Para quem** (público-alvo) - **Qual resultado** (benefício) ### 3. Prova Social - Depoimentos com foto e nome - Número de projetos realizados - Avaliações do Google ### 4. CTA Estratégico para WhatsApp Presente no topo, após apresentar serviços, após depoimentos e no rodapé. ### 5. Página de Serviços Detalhada Descreva cada serviço, para quem é indicado e como funciona. ### 6. SEO Local Aparece quando alguém da sua cidade pesquisa pelo seu serviço. ## Quanto Tempo para Começar a Vender? - **Semana 1:** Site no ar - **Mês 1:** Primeiros contatos orgânicos - **Mês 3:** Tráfego crescente - **Mês 6:** ROI positivo --- 👉 **Fale com a gente no WhatsApp e tenha seu site pronto em 3 dias!** 🚀 **Para escalar com marketing avançado, conheça a Agência Locomotiva Sestini.**`},{slug:"seo-sites-wordpress",title:"SEO para Sites em WordPress: Guia Completo para Ranquear no Google",metaTitle:"SEO para WordPress: Guia Completo 2026 | Descomplicando Seu Site",metaDescription:"Aprenda SEO para WordPress do zero ao avançado. Configure plugins, otimize conteúdo e ranqueie seu site no Google com este guia completo.",excerpt:"Guia completo de SEO para WordPress: plugins essenciais, configurações técnicas e estratégias de conteúdo para ranquear no Google.",category:"SEO",readTime:12,publishedAt:"2026-02-26",coverColor:"linear-gradient(135deg, hsl(142, 60%, 30%) 0%, hsl(185, 85%, 42%) 100%)",coverImage:cj,relatedSlugs:["erros-comuns-criar-sites","como-criar-site-profissional-elementor","como-escolher-template-profissional"],content:`# SEO para Sites em WordPress: Guia Completo O WordPress alimenta mais de 40% de todos os sites na internet. Com as configurações certas, seu site pode ranquear bem no Google. ## Por que SEO é Essencial? - **Gratuito** — Não exige investimento em anúncios - **Constante** — Continua gerando visitas enquanto o conteúdo está ranqueado - **Qualificado** — Pessoas que buscam ativamente o que você oferece ## SEO Técnico no WordPress ### 1. Plugin de SEO Instale **Yoast SEO** ou **RankMath** para: - Title e meta description - Schema markup - Sitemap XML automático ### 2. URLs Amigáveis Em Configurações > Links Permanentes, selecione **Nome do post**. ### 3. SSL (HTTPS) Seu site precisa de HTTPS — é fator de ranqueamento. ### 4. Velocidade - Tema leve (nossos templates são otimizados) - Plugin de cache (WP Rocket) - Compressão de imagens ## SEO On-Page ### Estrutura de Títulos - **H1:** Título principal (apenas um) - **H2:** Seções principais - **H3:** Subseções ### Palavras-chave de Cauda Longa - Evite: "advogado" (muito concorrido) - Use: "advogado trabalhista em Sorocaba" ## Estratégia de Conteúdo Blog ativo = mais portas de entrada. Estratégia de cluster: 1. **Página pilar** — Conteúdo abrangente 2. **Artigos satélite** — Específicos linkando para a pilar --- 👉 **Quer um site já otimizado para SEO? Fale com a gente no WhatsApp!** 🚀 **Para SEO avançado e estratégia completa, conheça a Agência Locomotiva Sestini.**`},{slug:"erros-comuns-criar-sites",title:"10 Erros Comuns ao Criar Sites Sozinho (e Como Evitar)",metaTitle:"10 Erros ao Criar Site Sozinho | Como Evitar | Descomplicando Seu Site",metaDescription:"Descubra os 10 erros mais comuns ao criar um site sozinho e como evitá-los. Dicas práticas para ter um site profissional que gera resultados.",excerpt:"Evite os erros mais comuns ao criar seu site. Da escolha do template ao SEO, veja o que não fazer para não desperdiçar tempo e dinheiro.",category:"Sites Profissionais",readTime:7,publishedAt:"2026-02-01",coverColor:"linear-gradient(135deg, hsl(0, 70%, 45%) 0%, hsl(25, 95%, 55%) 100%)",coverImage:uj,relatedSlugs:["como-criar-site-profissional-elementor","seo-sites-wordpress","como-escolher-template-profissional"],content:`# 10 Erros Comuns ao Criar Sites Sozinho Criar um site sozinho é possível, mas alguns erros comuns comprometem o resultado final. ## Erro 1: Template Genérico ou de Baixa Qualidade Templates gratuitos genéricos têm design ultrapassado e código pesado. **Solução:** Invista em template profissional do seu nicho. ## Erro 2: Focar no Design e Esquecer o SEO **Solução:** Configure Yoast SEO desde o início, URLs amigáveis, H1/H2/H3. ## Erro 3: Site Não Responsivo para Mobile **Solução:** Use templates mobile-first e sempre teste no celular. ## Erro 4: CTA Fraco ou Ausente **Solução:** CTAs claros no header, após serviços, após depoimentos e no rodapé. ## Erro 5: Tempo de Carregamento Alto **Solução:** Comprima imagens (WebP), instale plugin de cache, use boa hospedagem. ## Erro 6: Não Ter Prova Social **Solução:** Exiba depoimentos com foto, números de projetos e avaliações do Google. ## Erro 7: Textos Genéricos **Solução:** Seja específico. "200 escritórios atendidos em SP" > "empresa líder com qualidade". ## Erro 8: Formulário Complexo **Solução:** Peça apenas nome e WhatsApp no primeiro contato. ## Erro 9: Não Configurar Analytics **Solução:** Configure Google Analytics 4 e Search Console no primeiro dia. ## Erro 10: Não Atualizar o Site **Solução:** Mantenha WordPress, tema e plugins sempre atualizados. --- 👉 **Nossos templates já evitam todos esses erros. Fale com a gente no WhatsApp!** 🚀 **Garantia de resultado com a Agência Locomotiva Sestini.**`},{slug:"como-escolher-template-profissional",title:"Como Escolher um Template Profissional: 7 Critérios Essenciais",metaTitle:"Como Escolher Template Profissional: 7 Critérios | Descomplicando Seu Site",metaDescription:"Aprenda os 7 critérios essenciais para escolher o template profissional ideal para o seu negócio. Dicas práticas e exemplos reais.",excerpt:"Escolher o template certo pode ser a diferença entre um site que converte e um que não funciona. Conheça os 7 critérios essenciais.",category:"Templates Elementor",readTime:6,publishedAt:"2026-02-05",coverColor:"linear-gradient(135deg, hsl(262, 72%, 48%) 0%, hsl(25, 95%, 55%) 100%)",coverImage:dj,relatedSlugs:["templates-elementor-vale-a-pena","erros-comuns-criar-sites","como-criar-site-profissional-elementor"],content:`# Como Escolher um Template Profissional: 7 Critérios Com tantas opções disponíveis, os critérios certos simplificam muito a decisão. ## 1. Adequação ao Seu Nicho Templates específicos por nicho têm estrutura, tom e elementos visuais adequados ao seu público. ## 2. Design Moderno e Profissional Evite gradientes ultrapassados e tipografia datada. Busque layout limpo com hierarquia visual clara. ## 3. Velocidade e Performance Código limpo, imagens otimizadas e compatibilidade com plugins de cache. ## 4. Responsividade Mobile-First Menu mobile funcional, textos legíveis sem zoom, botões com tamanho adequado para toque. ## 5. Estrutura de Conversão - CTAs visíveis e estratégicos - Seção de depoimentos - Formulário de contato acessível - Integração fácil com WhatsApp ## 6. Suporte e Documentação Verifique se o vendedor oferece suporte técnico e documentação de instalação. ## 7. Compatibilidade com Plugins - Yoast SEO / RankMath - WooCommerce (se necessário) - Versão atual do Elementor ## Checklist Rápido - [ ] Template do meu nicho? - [ ] Design moderno? - [ ] Carrega rápido? - [ ] Responsivo no mobile? - [ ] CTAs estratégicos? - [ ] Suporte disponível? --- 👉 **Ajuda para escolher? Fale com a gente no WhatsApp!**`},{slug:"como-criar-presenca-digital",title:"Como Criar Presença Digital para Pequenas Empresas em 2026",metaTitle:"Presença Digital para Pequenas Empresas: Guia Completo 2026",metaDescription:"Guia completo para criar presença digital para pequenas empresas. Site, redes sociais, Google Meu Negócio e estratégias que funcionam.",excerpt:"Guia prático para pequenas empresas criarem presença digital profissional com site, Google Meu Negócio e estratégias de baixo custo.",category:"Marketing Digital",readTime:10,publishedAt:"2026-02-10",coverColor:"linear-gradient(135deg, hsl(185, 85%, 42%) 0%, hsl(262, 72%, 48%) 100%)",coverImage:fj,relatedSlugs:["como-vender-servicos-sites-prontos","seo-sites-wordpress","templates-elementor-vale-a-pena"],content:`# Como Criar Presença Digital para Pequenas Empresas Para pequenas empresas, a presença digital deixou de ser um diferencial e se tornou questão de sobrevivência. ## Por que é Urgente? - **87%** dos consumidores pesquisam online antes de comprar - **76%** visitam um negócio nas próximas 24h após pesquisa local - Empresas sem site perdem **70%** dos potenciais clientes ## Os 4 Pilares da Presença Digital ### Pilar 1: Site Profissional O único canal digital que você realmente controla. Use nossos templates para começar com baixo investimento. ### Pilar 2: Google Meu Negócio Gratuito e extremamente poderoso para negócios locais. Configure nome, endereço, horário, fotos e solicite avaliações. ### Pilar 3: Redes Sociais (com inteligência) Escolha 1-2 redes adequadas ao seu público, não tente estar em todos os lugares. | Negócio | Rede Recomendada | |---------|------------------| | B2C | Instagram, Facebook | | B2B | LinkedIn | | Advogados | LinkedIn, Instagram | ### Pilar 4: WhatsApp Business O canal de comunicação mais popular do Brasil. Configure catálogo, respostas automáticas e etiquetas. ## Plano de 30 Dias **Semana 1:** Domínio, hospedagem, WordPress, template **Semana 2:** Google Meu Negócio, Analytics, redes sociais **Semana 3:** Fotos, textos, primeiras postagens **Semana 4:** Publicação, divulgação, avaliações ## Custo Total Domínio + hospedagem + template: aproximadamente R$ 350-450 para começar. --- 👉 **Comece hoje! Fale com a gente no WhatsApp.** 🚀 **Para escalar com marketing avançado, conheça a Agência Locomotiva Sestini.**`}],pj=["Templates Elementor","Advocacia Digital","Sites Profissionais","SEO","Marketing Digital","WordPress"];function Jg(e){return bc.find(t=>t.slug===e)}function mj(e){return e.relatedSlugs.map(t=>Jg(t)).filter(Boolean)}function hj(){const[e,t]=y.useState("Todos"),n=e==="Todos"?bc:bc.filter(r=>r.category===e);return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-20 text-white text-center",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h1",{className:"text-4xl md:text-5xl font-display font-extrabold mb-4",children:"Blog"}),i.jsx("p",{className:"text-white/70 text-lg max-w-xl mx-auto",children:"Conteúdo sobre templates, SEO, WordPress e presença digital."})]})}),i.jsx("section",{className:"py-12 bg-background",children:i.jsxs("div",{className:"container-site",children:[i.jsx("div",{className:"flex flex-wrap gap-2 mb-8 justify-center",children:["Todos",...pj].map(r=>i.jsx("button",{onClick:()=>t(r),className:`px-4 py-2 rounded-full text-sm font-semibold transition-colors ${e===r?"gradient-purple text-primary-foreground shadow":"bg-muted text-muted-foreground hover:bg-muted/70"}`,children:r},r))}),n.length>0&&i.jsx("div",{className:"mb-6",children:i.jsx(wc,{post:n[0],featured:!0})}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:n.slice(1).map(r=>i.jsx(wc,{post:r},r.slug))})]})})]})}function gj({content:e}){const t=e.split(` `),n=[];let r=[];const o=a=>{r.length&&(n.push(i.jsx("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground text-base mb-4 pl-2",children:r.map((l,c)=>i.jsx("li",{children:l},c))},a)),r=[])},s=a=>a.split(/(\*\*[^*]+\*\*)/g).map((c,u)=>/^\*\*(.+)\*\*$/.test(c)?i.jsx("strong",{className:"text-foreground",children:c.slice(2,-2)},u):c);return t.forEach((a,l)=>{a.startsWith("# ")?(o(`l${l}`),n.push(i.jsx("h1",{className:"text-3xl font-display font-extrabold text-foreground mt-6 mb-3",children:a.slice(2)},l))):a.startsWith("## ")?(o(`l${l}`),n.push(i.jsx("h2",{className:"text-2xl font-display font-bold text-foreground mt-8 mb-3",children:a.slice(3)},l))):a.startsWith("### ")?(o(`l${l}`),n.push(i.jsx("h3",{className:"text-xl font-display font-bold text-foreground mt-6 mb-2",children:a.slice(4)},l))):/^[-*] /.test(a)?r.push(a.slice(2)):/^\d+\. /.test(a)?r.push(a.replace(/^\d+\. /,"")):a.startsWith("> ")?(o(`l${l}`),n.push(i.jsx("blockquote",{className:"border-l-4 border-primary pl-4 italic text-muted-foreground my-4",children:s(a.slice(2))},l))):a.startsWith("---")?(o(`l${l}`),n.push(i.jsx("hr",{className:"my-8 border-border"},l))):a.trim()===""?o(`l${l}`):a.startsWith("|")?o(`l${l}`):(o(`l${l}`),n.push(i.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:s(a)},l)))}),o("end"),i.jsx("div",{children:n})}function vj(){const{slug:e}=Qg(),t=e?Jg(e):void 0;if(!t)return i.jsx(Ie,{children:i.jsxs("div",{className:"container-site py-32 text-center",children:[i.jsx("h1",{className:"text-3xl font-bold mb-4",children:"Post não encontrado"}),i.jsx(be,{to:"/blog",className:"text-primary hover:underline",children:"Voltar ao blog"})]})});const n=mj(t),r=Pe(`blog_${t.slug}`),o=vs(`blog_${t.slug}`);return i.jsxs(Ie,{children:[i.jsx("div",{className:"h-64 md:h-80 overflow-hidden",children:t.coverImage?i.jsx("img",{src:t.coverImage,alt:t.title,className:"w-full h-full object-cover"}):i.jsx("div",{className:"w-full h-full",style:{background:t.coverColor}})}),i.jsxs("div",{className:"container-site max-w-3xl py-12",children:[i.jsxs(be,{to:"/blog",className:"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground mb-6 transition-colors",children:[i.jsx(Bh,{className:"h-4 w-4"}),"Voltar ao blog"]}),i.jsxs("div",{className:"flex flex-wrap gap-3 mb-4",children:[i.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs font-semibold bg-primary/10 text-primary",children:[i.jsx(lc,{className:"h-3 w-3"}),t.category]}),i.jsxs("span",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-xs text-muted-foreground bg-muted",children:[i.jsx(us,{className:"h-3 w-3"}),t.readTime," min de leitura"]})]}),i.jsx("h1",{className:"text-3xl md:text-4xl font-display font-extrabold text-foreground mb-6 leading-tight",children:t.title}),i.jsxs("div",{className:"my-8 p-5 rounded-2xl gradient-card border border-border flex flex-col sm:flex-row items-center justify-between gap-4",children:[i.jsx("p",{className:"text-sm font-semibold text-foreground",children:"Pronto para ter seu site profissional?"}),i.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0 flex items-center gap-2 px-5 py-2.5 rounded-full text-sm font-bold bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] transition-colors shadow",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]})]}),i.jsx("article",{children:i.jsx(gj,{content:t.content})}),i.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row gap-3",children:[i.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 px-6 py-3 rounded-full font-bold bg-[hsl(142_70%_45%)] text-white hover:bg-[hsl(142_70%_38%)] transition-colors shadow text-sm",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]}),i.jsxs("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center gap-2 px-6 py-3 rounded-full font-bold border border-primary text-primary hover:bg-primary/10 transition-colors text-sm",children:[i.jsx(Su,{className:"h-4 w-4"}),"Agência Locomotiva Sestini"]}),i.jsx(be,{to:"/templates",className:"flex items-center justify-center gap-2 px-6 py-3 rounded-full font-bold border border-border text-foreground hover:bg-muted transition-colors text-sm",children:"Ver Templates"})]}),i.jsxs("div",{className:"mt-12 p-8 rounded-3xl gradient-brand text-white text-center",children:[i.jsx("h3",{className:"text-xl font-bold mb-3",children:"Pronto para ter seu site profissional?"}),i.jsx("p",{className:"text-white/80 text-sm mb-5",children:"Fale com nossa equipe e tire todas as suas dúvidas."}),i.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-6 py-3 rounded-full font-bold bg-white text-primary text-sm shadow hover:bg-white/90 transition-colors",children:[i.jsx(ee,{className:"h-4 w-4"}),"Falar no WhatsApp"]})]})]}),n.length>0&&i.jsx("section",{className:"py-16 bg-muted/40",children:i.jsxs("div",{className:"container-site",children:[i.jsx("h2",{className:"text-2xl font-display font-bold mb-8",children:"Artigos relacionados"}),i.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:n.map(s=>i.jsx(wc,{post:s},s.slug))})]})}),i.jsx(Ut,{})]})}function xj(){return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-16 text-white text-center",children:i.jsx("div",{className:"container-site",children:i.jsx("h1",{className:"text-3xl md:text-4xl font-display font-extrabold",children:"Política de Privacidade"})})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site max-w-3xl prose prose-headings:font-display prose-headings:text-foreground prose-p:text-muted-foreground",children:[i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:"Última atualização: março de 2024"}),i.jsx("h2",{children:"1. Informações que Coletamos"}),i.jsx("p",{children:"Coletamos informações fornecidas voluntariamente pelo usuário ao preencher formulários de contato, como nome, e-mail e telefone."}),i.jsx("h2",{children:"2. Uso das Informações"}),i.jsx("p",{children:"As informações coletadas são utilizadas para responder às solicitações, enviar informações sobre produtos e prestar suporte."}),i.jsx("h2",{children:"3. Compartilhamento de Dados"}),i.jsx("p",{children:"Não compartilhamos seus dados pessoais com terceiros, exceto quando necessário para prestação dos serviços contratados."}),i.jsx("h2",{children:"4. Cookies"}),i.jsx("p",{children:"Utilizamos cookies para melhorar a experiência de navegação. Você pode desativá-los nas configurações do seu navegador."}),i.jsx("h2",{children:"5. Seus Direitos (LGPD)"}),i.jsx("p",{children:"Em conformidade com a Lei Geral de Proteção de Dados (Lei nº 13.709/2018), você tem o direito de acessar, corrigir ou solicitar a exclusão de seus dados pessoais."}),i.jsx("h2",{children:"6. Contato"}),i.jsx("p",{children:"Para dúvidas sobre esta política, entre em contato via WhatsApp: (15) 99683-0286."})]})})]})}function yj(){return i.jsxs(Ie,{children:[i.jsx("section",{className:"gradient-hero py-16 text-white text-center",children:i.jsx("div",{className:"container-site",children:i.jsx("h1",{className:"text-3xl md:text-4xl font-display font-extrabold",children:"Termos de Uso"})})}),i.jsx("section",{className:"py-16 bg-background",children:i.jsxs("div",{className:"container-site max-w-3xl prose prose-headings:font-display prose-headings:text-foreground prose-p:text-muted-foreground",children:[i.jsx("p",{className:"text-sm text-muted-foreground mb-8",children:"Última atualização: março de 2024"}),i.jsx("h2",{children:"1. Aceitação dos Termos"}),i.jsx("p",{children:"Ao utilizar os serviços do Descomplicando Seu Site, você concorda com estes Termos de Uso."}),i.jsx("h2",{children:"2. Produtos e Licença"}),i.jsx("p",{children:"Os templates adquiridos são licenciados para uso em um único domínio. É vedada a revenda, redistribuição ou compartilhamento dos arquivos."}),i.jsx("h2",{children:"3. Suporte"}),i.jsx("p",{children:"O suporte técnico está disponível pelo WhatsApp durante o período estipulado na compra do produto."}),i.jsx("h2",{children:"4. Limitação de Responsabilidade"}),i.jsx("p",{children:"O Descomplicando Seu Site não se responsabiliza por problemas decorrentes de configurações incorretas, conflitos com plugins de terceiros ou uso inadequado dos templates."}),i.jsx("h2",{children:"5. Reembolso"}),i.jsx("p",{children:"Devido à natureza digital dos produtos, não são realizados reembolsos após o envio dos arquivos, exceto em casos de defeito comprovado no produto."}),i.jsx("h2",{children:"6. Contato"}),i.jsx("p",{children:"Dúvidas sobre os termos: WhatsApp (15) 99683-0286."})]})})]})}const wj=()=>{const e=br();return y.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),i.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:i.jsxs("div",{className:"text-center",children:[i.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),i.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),i.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})};function bj(){return y.useEffect(()=>{const e=window;e.gtag&&e.gtag("event","conversion",{send_to:"AW-18030605379/13337305639",value:700,currency:"BRL",transaction_id:`thank_${Date.now()}`}),e.gtag&&e.gtag("event","purchase",{currency:"BRL",value:700,items:[{item_name:"Landing Page Profissional",price:700,quantity:1}]}),e.gtag&&e.gtag("event","generate_lead",{currency:"BRL",value:700,event_category:"whatsapp",event_label:"thank_you_page"})},[]),i.jsxs(Ie,{children:[i.jsx("div",{style:{display:"none"},dangerouslySetInnerHTML:{__html:''}}),i.jsxs("section",{className:"min-h-[80vh] flex flex-col items-center justify-center px-4 py-20 text-center bg-lp-dark",children:[i.jsxs("div",{className:"mb-8 relative",children:[i.jsx("div",{className:"w-24 h-24 rounded-full bg-gradient-to-br from-lp-purple to-lp-orange flex items-center justify-center shadow-lp-cta mx-auto animate-in zoom-in duration-500",children:i.jsx(wn,{className:"h-12 w-12 text-white"})}),["-top-3 -right-3","-bottom-2 -left-4","top-0 -left-6"].map((e,t)=>i.jsx(mi,{className:`absolute ${e} h-5 w-5 text-lp-orange opacity-70`,fill:"currentColor"},t))]}),i.jsxs("div",{className:"max-w-lg space-y-4 mb-10",children:[i.jsx("p",{className:"text-lp-orange font-bold text-sm uppercase tracking-widest",children:"Mensagem enviada com sucesso 🎉"}),i.jsxs("h1",{className:"text-4xl md:text-5xl font-black text-white leading-tight",children:["Obrigado pelo",i.jsx("br",{}),i.jsx("span",{className:"bg-gradient-to-r from-lp-purple to-lp-orange bg-clip-text text-transparent",children:"seu contato!"})]}),i.jsx("p",{className:"text-white/70 text-lg leading-relaxed",children:"Sua mensagem foi enviada para o WhatsApp. Em breve entraremos em contato para dar início à sua landing page profissional."})]}),i.jsxs("div",{className:"w-full max-w-md bg-white/5 border border-white/10 rounded-2xl p-6 mb-10 text-left space-y-4",children:[i.jsx("h2",{className:"text-white font-bold text-base mb-3",children:"📋 O que acontece agora:"}),[{step:"1",title:"Resposta em até 1h",desc:"Nossa equipe responderá seu WhatsApp com os próximos passos."},{step:"2",title:"Alinhamento do projeto",desc:"Vamos entender seu negócio e definir o modelo ideal para você."},{step:"3",title:"Sua LP pronta em 3 dias",desc:"Após aprovação, entregamos sua landing page em até 3 dias úteis."}].map(({step:e,title:t,desc:n})=>i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx("span",{className:"flex-shrink-0 w-7 h-7 rounded-full bg-gradient-to-br from-lp-purple to-lp-orange flex items-center justify-center text-white text-xs font-black",children:e}),i.jsxs("div",{children:[i.jsx("p",{className:"text-white font-semibold text-sm",children:t}),i.jsx("p",{className:"text-white/60 text-xs leading-relaxed",children:n})]})]},e))]}),i.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 w-full max-w-sm",children:[i.jsxs("a",{href:Pe("obrigado_followup"),target:"_blank",rel:"noopener noreferrer",className:"flex-1 flex items-center justify-center gap-2 px-6 py-4 rounded-xl font-black text-sm text-white bg-gradient-to-r from-lp-purple to-lp-orange shadow-lp-cta hover:scale-105 active:scale-95 transition-transform",children:[i.jsx(ee,{className:"h-4 w-4"}),"Abrir WhatsApp"]}),i.jsxs(be,{to:"/",className:"flex-1 flex items-center justify-center gap-2 px-6 py-4 rounded-xl font-bold text-sm text-white bg-white/10 border border-white/20 hover:bg-white/20 transition-colors",children:["Ver templates",i.jsx(Iy,{className:"h-4 w-4"})]})]}),i.jsx("p",{className:"mt-8 text-white/30 text-xs",children:"Mais de 50 profissionais já geraram clientes com nossas landing pages"})]})]})}const Sj=new f2,jj=()=>i.jsx(m2,{client:Sj,children:i.jsxs(Ub,{children:[i.jsx(C1,{}),i.jsx(rw,{}),i.jsx(dS,{children:i.jsxs(oS,{children:[i.jsx(Ce,{path:"/",element:i.jsx(qS,{})}),i.jsx(Ce,{path:"/sobre",element:i.jsx(GS,{})}),i.jsx(Ce,{path:"/contato",element:i.jsx(KS,{})}),i.jsx(Ce,{path:"/suporte",element:i.jsx(YS,{})}),i.jsx(Ce,{path:"/templates",element:i.jsx(XS,{})}),i.jsx(Ce,{path:"/templates-advogados",element:i.jsx(ZS,{})}),i.jsx(Ce,{path:"/landing-pages",element:i.jsx(JS,{})}),i.jsx(Ce,{path:"/sites-institucionais",element:i.jsx(ej,{})}),i.jsx(Ce,{path:"/packs-templates",element:i.jsx(tj,{})}),i.jsx(Ce,{path:"/template/:slug",element:i.jsx(nj,{})}),i.jsx(Ce,{path:"/blog",element:i.jsx(hj,{})}),i.jsx(Ce,{path:"/blog/:slug",element:i.jsx(vj,{})}),i.jsx(Ce,{path:"/politica-de-privacidade",element:i.jsx(xj,{})}),i.jsx(Ce,{path:"/termos-de-uso",element:i.jsx(yj,{})}),i.jsx(Ce,{path:"/obrigado",element:i.jsx(bj,{})}),i.jsx(Ce,{path:"*",element:i.jsx(wj,{})})]})})]})});dh(document.getElementById("root")).render(i.jsx(jj,{}));